qa_server 7.5.1 → 7.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop_fixme.yml +0 -3
  3. data/.travis.yml +1 -1
  4. data/CHANGELOG.md +7 -0
  5. data/app/controllers/qa_server/monitor_status_controller.rb +3 -3
  6. data/app/models/qa_server/search_scenario.rb +6 -0
  7. data/app/presenters/qa_server/monitor_status/current_status_presenter.rb +9 -8
  8. data/app/views/qa_server/monitor_status/_test_summary.html.erb +1 -1
  9. data/config/locales/qa_server.en.yml +1 -0
  10. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_tgn_ld4l_cache.json +24 -14
  11. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_ulan_ld4l_cache.json +104 -8
  12. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo2_ld4l_cache.json +4 -4
  13. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo3_ld4l_cache.json +4 -4
  14. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo_ld4l_cache.json +4 -4
  15. data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_direct.json +4 -0
  16. data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_ld4l_cache.json +1 -0
  17. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/cerl_ld4l_cache_validation.yml +5 -5
  18. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_ld4l_cache_validation.yml +2 -5
  19. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_aat_ld4l_cache_validation.yml +0 -3
  20. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_tgn_ld4l_cache_validation.yml +3 -7
  21. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_ulan_ld4l_cache_validation.yml +5 -5
  22. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locdemographics_ld4l_cache_validation.yml +0 -4
  23. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locgenres_ld4l_cache_validation.yml +0 -9
  24. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_ld4l_cache_validation.yml +1 -7
  25. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo2_ld4l_cache_validation.yml +78 -0
  26. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo3_ld4l_cache_validation.yml +73 -0
  27. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo_ld4l_cache_validation.yml +11 -11
  28. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locsubjects_ld4l_cache_validation.yml +1 -3
  29. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locvocabs_ld4l_cache_validation.yml +246 -0
  30. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/mesh_nlm_ld4l_cache_validation.yml +8 -5
  31. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_direct_validation.yml +13 -7
  32. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_ld4l_cache_validation.yml +19 -3
  33. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/rda_registry_ld4l_cache_validation.yml +0 -3
  34. data/lib/qa_server/version.rb +1 -1
  35. data/qa_server.gemspec +5 -5
  36. data/spec/feature/accuracy_spec.rb +1 -1
  37. metadata +32 -12
@@ -70,8 +70,11 @@
70
70
  },
71
71
  "subauthorities": {
72
72
  "topic": "oclc.topic",
73
+ "concept": "oclc.topic",
73
74
  "geocoordinates": "oclc.geographic",
74
75
  "geographic": "oclc.geographic",
76
+ "place": "oclc.geographic",
77
+ "event": "oclc.eventName",
75
78
  "event_name": "oclc.eventName",
76
79
  "meeting": "oclc.meeting",
77
80
  "person": "oclc.personalName",
@@ -79,6 +82,7 @@
79
82
  "organization": "oclc.corporateName",
80
83
  "corporate_name": "oclc.corporateName",
81
84
  "uniform_title": "oclc.uniformTitle",
85
+ "work": "oclc.uniformTitle",
82
86
  "period": "oclc.period",
83
87
  "form": "oclc.form",
84
88
  "alt_lc": "oclc.altlc"
@@ -91,6 +91,7 @@
91
91
  "subauthorities": {
92
92
  "concept": "Concept",
93
93
  "event": "Event",
94
+ "meeting": "Meeting",
94
95
  "person": "Person",
95
96
  "organization": "Organization",
96
97
  "place": "Place",
@@ -25,6 +25,7 @@ search:
25
25
  # Accuracy tests
26
26
  #------------------
27
27
  -
28
+ pending: true
28
29
  query: Johannes Philippus de Lignamine
29
30
  subauth: person
30
31
  position: 4
@@ -32,6 +33,7 @@ search:
32
33
  replacements:
33
34
  maxRecords: '8'
34
35
  -
36
+ pending: true
35
37
  query: Johannes Philippus de Lignamine
36
38
  subauth: person
37
39
  position: 4
@@ -39,10 +41,9 @@ search:
39
41
  replacements:
40
42
  maxRecords: '8'
41
43
  -
42
- pending: true
43
44
  query: Jacob Winter
44
45
  subauth: person
45
- position: 2
46
+ position: 3
46
47
  subject_uri: "http://thesaurus.cerl.org/record/cnp02081773"
47
48
  replacements:
48
49
  maxRecords: '8'
@@ -61,13 +62,12 @@ search:
61
62
  replacements:
62
63
  maxRecords: '8'
63
64
  -
64
- pending: true
65
65
  query: Plantin
66
66
  subauth: imprint
67
- position: 1
67
+ position: 18
68
68
  subject_uri: "http://thesaurus.cerl.org/record/cni00007649"
69
69
  replacements:
70
- maxRecords: '8'
70
+ maxRecords: '30'
71
71
  term:
72
72
  -
73
73
  identifier: "http://thesaurus.cerl.org/record/cnp00895966"
@@ -62,22 +62,19 @@ search:
62
62
  # vegetation
63
63
  # all
64
64
  -
65
- pending: true
66
- query: New York
65
+ query: New York City
67
66
  subject_uri: "http://sws.geonames.org/5128581/"
68
67
  position: 3
69
68
  replacements:
70
69
  maxRecords: '8'
71
70
  -
72
- pending: true
73
71
  query: France
74
72
  subauth: area
75
- subject_uri: "http://sws.geonames.org/3017382"
73
+ subject_uri: "http://sws.geonames.org/3017382/"
76
74
  position: 10
77
75
  replacements:
78
76
  maxRecords: '15'
79
77
  -
80
- pending: true
81
78
  query: Chicago
82
79
  subauth: place
83
80
  subject_uri: "http://sws.geonames.org/4887398/"
@@ -222,7 +222,6 @@ search:
222
222
  replacements:
223
223
  maxRecords: '10'
224
224
  -
225
- pending: true
226
225
  query: alter egos
227
226
  subauth: Agents__People
228
227
  position: 5
@@ -237,7 +236,6 @@ search:
237
236
  replacements:
238
237
  maxRecords: '10'
239
238
  -
240
- pending: true
241
239
  query: palindrome
242
240
  subauth: Associated_Concepts__Associated_Concepts
243
241
  position: 5
@@ -273,7 +271,6 @@ search:
273
271
  replacements:
274
272
  maxRecords: '10'
275
273
  -
276
- pending: true
277
274
  query: lloy lloy
278
275
  subauth: Objects
279
276
  position: 5
@@ -12,28 +12,24 @@ search:
12
12
  # Accuracy tests
13
13
  #------------------
14
14
  -
15
- pending: true
16
15
  query: Gouverneur
17
16
  position: 3
18
17
  subject_uri: "http://vocab.getty.edu/tgn/2069433-place"
19
18
  replacements:
20
19
  maxRecords: '10'
21
20
  -
22
- pending: true
23
21
  query: Boulder, CO
24
- position: 9
22
+ position: 3
25
23
  subject_uri: "http://vocab.getty.edu/tgn/2000198-place"
26
24
  replacements:
27
25
  maxRecords: '10'
28
26
  -
29
- pending: true
30
27
  query: Paris, France
31
- position: 30
28
+ position: 10
32
29
  subject_uri: "http://vocab.getty.edu/tgn/7008038-place"
33
30
  replacements:
34
- maxRecords: '100'
31
+ maxRecords: '20'
35
32
  -
36
- pending: true
37
33
  query: Nile River
38
34
  position: 3
39
35
  subject_uri: "http://vocab.getty.edu/tgn/1127805-place"
@@ -21,21 +21,21 @@ search:
21
21
  #------------------
22
22
  -
23
23
  query: Gonzalez-Torres, Felix
24
- subject_uri: "http://vocab.getty.edu/ulan/500114715"
24
+ subject_uri: "http://vocab.getty.edu/ulan/500114715-agent"
25
25
  position: 5
26
26
  replacements:
27
27
  maxRecords: '10'
28
28
  -
29
29
  query: Gouverneur
30
30
  subauth: person
31
- subject_uri: "http://vocab.getty.edu/ulan/500225342"
31
+ subject_uri: "http://vocab.getty.edu/ulan/500225342-agent"
32
32
  position: 5
33
33
  replacements:
34
34
  maxRecords: '10'
35
35
  -
36
36
  query: Octavio Medellin
37
37
  subauth: person
38
- subject_uri: "http://vocab.getty.edu/ulan/500333005"
38
+ subject_uri: "http://vocab.getty.edu/ulan/500333005-agent"
39
39
  position: 3
40
40
  replacements:
41
41
  maxRecords: '8'
@@ -43,10 +43,10 @@ search:
43
43
  query: University of Chicago Library
44
44
  subauth: organization
45
45
  result_size: 100
46
- subject_uri: "http://vocab.getty.edu/ulan/500304715"
46
+ subject_uri: "http://vocab.getty.edu/ulan/500304715-agent"
47
47
  position: 5
48
48
  replacements:
49
49
  maxRecords: '10'
50
50
  term:
51
51
  -
52
- identifier: 'http://vocab.getty.edu/ulan/500020427'
52
+ identifier: 'http://vocab.getty.edu/ulan/500020427-agent'
@@ -19,21 +19,18 @@ search:
19
19
  replacements:
20
20
  maxRecords: '5'
21
21
  -
22
- pending: true
23
22
  query: Biologist
24
23
  position: 3
25
24
  subject_uri: "http://id.loc.gov/authorities/demographicTerms/dg2015060613"
26
25
  replacements:
27
26
  maxRecords: '5'
28
27
  -
29
- pending: true
30
28
  query: social worker
31
29
  position: 1
32
30
  subject_uri: "http://id.loc.gov/authorities/demographicTerms/dg2015060087"
33
31
  replacements:
34
32
  maxRecords: '10'
35
33
  -
36
- pending: true
37
34
  query: Social Worker
38
35
  position: 1
39
36
  subject_uri: "http://id.loc.gov/authorities/demographicTerms/dg2015060087"
@@ -58,7 +55,6 @@ search:
58
55
  replacements:
59
56
  maxRecords: '15'
60
57
  -
61
- pending: true
62
58
  query: African Americans
63
59
  position: 5
64
60
  subject_uri: "http://id.loc.gov/authorities/demographicTerms/dg2015060859"
@@ -30,7 +30,6 @@ search:
30
30
  replacements:
31
31
  maxRecords: '20'
32
32
  -
33
- pending: true
34
33
  query: maps
35
34
  position: 3
36
35
  subject_uri: "http://id.loc.gov/authorities/genreForms/gf2011026387"
@@ -115,14 +114,6 @@ search:
115
114
  subject_uri: "http://id.loc.gov/authorities/genreForms/gf2011026080"
116
115
  replacements:
117
116
  maxRecords: '20'
118
- -
119
- pending: true
120
- query: Cookery
121
- subauth: deprecated
122
- position: 5
123
- subject_uri: "http://id.loc.gov/authorities/genreForms/gf2011026169"
124
- replacements:
125
- maxRecords: '10'
126
117
  term:
127
118
  -
128
119
  identifier: "http://id.loc.gov/authorities/genreForms/gf2011026141"
@@ -21,14 +21,12 @@ search:
21
21
  # Accuracy tests
22
22
  #------------------
23
23
  -
24
- pending: true
25
24
  query: Boston Mass
26
25
  position: 3
27
26
  subject_uri: "http://id.loc.gov/authorities/names/n79045553"
28
27
  replacements:
29
28
  maxRecords: '10'
30
29
  -
31
- pending: true
32
30
  query: Boston Mass
33
31
  position: 5
34
32
  subauth: geographic
@@ -40,11 +38,10 @@ search:
40
38
  query: Camden NJ
41
39
  position: 8
42
40
  subauth: geographic
43
- subject_uri: "http://id.loc.gov/authorities/names/n81139356"
41
+ subject_uri: "http://id.loc.gov/authorities/names/n80010449"
44
42
  replacements:
45
43
  maxRecords: '20'
46
44
  -
47
- pending: true
48
45
  query: Madrid, Spain
49
46
  position: 5
50
47
  subauth: geographic
@@ -52,7 +49,6 @@ search:
52
49
  replacements:
53
50
  maxRecords: '15'
54
51
  -
55
- pending: true
56
52
  query: Chicago, Ill
57
53
  position: 5
58
54
  subauth: geographic
@@ -60,7 +56,6 @@ search:
60
56
  replacements:
61
57
  maxRecords: '15'
62
58
  -
63
- pending: true
64
59
  query: seattle
65
60
  position: 5
66
61
  subauth: geographic
@@ -68,7 +63,6 @@ search:
68
63
  replacements:
69
64
  maxRecords: '15'
70
65
  -
71
- pending: true
72
66
  query: seattle (wash.)
73
67
  position: 5
74
68
  subauth: geographic
@@ -0,0 +1,78 @@
1
+ # Supported subauthorities:
2
+ # person
3
+ # organization
4
+ # family
5
+ ---
6
+ authority:
7
+ service: ld4l_cache
8
+ context: true
9
+ search:
10
+ #------------------
11
+ # Accuracy tests - part 2 (10-18)
12
+ #------------------
13
+ -
14
+ query: Tolstoy, Leo
15
+ subauth: person
16
+ position: 5
17
+ subject_uri: "http://id.loc.gov/rwo/agents/n79068416"
18
+ replacements:
19
+ maxRecords: '20'
20
+ -
21
+ query: tolstoi, lev
22
+ subauth: person
23
+ position: 5
24
+ subject_uri: "http://id.loc.gov/rwo/agents/n79068416"
25
+ replacements:
26
+ maxRecords: '20'
27
+ -
28
+ query: Tolstoĭ, Lev
29
+ subauth: person
30
+ position: 5
31
+ subject_uri: "http://id.loc.gov/rwo/agents/n79068416"
32
+ replacements:
33
+ maxRecords: '20'
34
+ -
35
+ query: Толстой, Лев
36
+ subauth: person
37
+ position: 5
38
+ subject_uri: "http://id.loc.gov/rwo/agents/n79068416"
39
+ replacements:
40
+ maxRecords: '20'
41
+ -
42
+ query: Толстой, Лев, граф, 1828-1910
43
+ subauth: person
44
+ position: 5
45
+ subject_uri: "http://id.loc.gov/rwo/agents/n79068416"
46
+ replacements:
47
+ maxRecords: '20'
48
+ -
49
+ query: טאלסטאי, ליעװ
50
+ subauth: person
51
+ position: 5
52
+ subject_uri: "http://id.loc.gov/rwo/agents/n79068416"
53
+ replacements:
54
+ maxRecords: '20'
55
+ -
56
+ query: レオ.トルストイ
57
+ subauth: person
58
+ position: 5
59
+ subject_uri: "http://id.loc.gov/rwo/agents/n79068416"
60
+ replacements:
61
+ maxRecords: '20'
62
+ -
63
+ query: لئون تولستوى
64
+ subauth: person
65
+ position: 5
66
+ subject_uri: "http://id.loc.gov/rwo/agents/n79068416"
67
+ replacements:
68
+ maxRecords: '20'
69
+ -
70
+ query: 托爾斯泰, 列夫
71
+ subauth: person
72
+ position: 5
73
+ subject_uri: "http://id.loc.gov/rwo/agents/n79068416"
74
+ replacements:
75
+ maxRecords: '20'
76
+ term:
77
+ -
78
+ identifier: 'http://id.loc.gov/rwo/agents/n79021164'
@@ -0,0 +1,73 @@
1
+ # Supported subauthorities:
2
+ # person
3
+ # organization
4
+ # family
5
+ ---
6
+ authority:
7
+ service: ld4l_cache
8
+ context: true
9
+ search:
10
+ #------------------
11
+ # Accuracy tests - part 3 (19-26)
12
+ #------------------
13
+ -
14
+ pending: true
15
+ query: ACLU
16
+ subauth: organization
17
+ position: 20
18
+ subject_uri: "http://id.loc.gov/rwo/agents/n79079580"
19
+ replacements:
20
+ maxRecords: '30'
21
+ -
22
+ query: University of Pennsylvania
23
+ subauth: organization
24
+ position: 5
25
+ subject_uri: "http://id.loc.gov/rwo/agents/n79065482"
26
+ replacements:
27
+ maxRecords: '20'
28
+ -
29
+ query: university of pennsylvania
30
+ subauth: organization
31
+ position: 5
32
+ subject_uri: "http://id.loc.gov/rwo/agents/n79065482"
33
+ replacements:
34
+ maxRecords: '20'
35
+ -
36
+ query: Planned Parenthood Federation of America
37
+ subauth: organization
38
+ position: 10
39
+ subject_uri: "http://id.loc.gov/rwo/agents/n50075375"
40
+ replacements:
41
+ maxRecords: '20'
42
+ -
43
+ query: Genkai Shosetsu Kenkyukai
44
+ subauth: organization
45
+ position: 5
46
+ subject_uri: "http://id.loc.gov/rwo/agents/n2013003006"
47
+ replacements:
48
+ maxRecords: '20'
49
+ -
50
+ query: Genkai Shōsetsu Kenkyūkai
51
+ subauth: organization
52
+ position: 5
53
+ subject_uri: "http://id.loc.gov/rwo/agents/n2013003006"
54
+ replacements:
55
+ maxRecords: '20'
56
+ -
57
+ query: 限界小說研究会
58
+ subauth: organization
59
+ position: 5
60
+ subject_uri: "http://id.loc.gov/rwo/agents/n2013003006"
61
+ replacements:
62
+ maxRecords: '20'
63
+ -
64
+ query: Waterman Family
65
+ subauth: family
66
+ result_size: 110
67
+ position: 5
68
+ subject_uri: "http://id.loc.gov/rwo/agents/n2012043300"
69
+ replacements:
70
+ maxRecords: '10'
71
+ term:
72
+ -
73
+ identifier: 'http://id.loc.gov/rwo/agents/n79021164'