qa_server 7.2.1 → 7.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +5 -5
  2. data/.rubocop_fixme.yml +3 -0
  3. data/.travis.yml +4 -5
  4. data/CHANGELOG.md +41 -0
  5. data/Rakefile +1 -1
  6. data/app/assets/stylesheets/qa_server/_check-status.scss +36 -0
  7. data/app/cache_processors/concerns/qa_server/cache_keys.rb +0 -5
  8. data/app/cache_processors/qa_server/cache_expiry_service.rb +13 -8
  9. data/app/cache_processors/qa_server/job_id_cache.rb +29 -0
  10. data/app/cache_processors/qa_server/performance_cache.rb +34 -34
  11. data/app/cache_processors/qa_server/performance_day_graph_cache.rb +27 -0
  12. data/app/cache_processors/qa_server/performance_month_graph_cache.rb +27 -0
  13. data/app/cache_processors/qa_server/performance_year_graph_cache.rb +27 -0
  14. data/app/cache_processors/qa_server/scenario_history_cache.rb +7 -7
  15. data/app/cache_processors/qa_server/scenario_history_graph_cache.rb +12 -17
  16. data/app/cache_processors/qa_server/scenario_run_cache.rb +8 -8
  17. data/app/cache_processors/qa_server/scenario_run_failures_cache.rb +7 -7
  18. data/app/cache_processors/qa_server/scenario_run_summary_cache.rb +7 -7
  19. data/app/controllers/concerns/qa_server/authority_validation_behavior.rb +49 -44
  20. data/app/controllers/qa_server/check_status_controller.rb +92 -22
  21. data/app/controllers/qa_server/fetch_controller.rb +36 -36
  22. data/app/controllers/qa_server/monitor_status_controller.rb +108 -108
  23. data/app/jobs/qa_server/history_graph_job.rb +28 -0
  24. data/app/jobs/qa_server/monitor_tests_job.rb +19 -39
  25. data/app/jobs/qa_server/performance_day_graph_job.rb +45 -0
  26. data/app/jobs/qa_server/performance_month_graph_job.rb +45 -0
  27. data/app/jobs/qa_server/performance_per_byte_job.rb +85 -0
  28. data/app/jobs/qa_server/performance_year_graph_job.rb +45 -0
  29. data/app/loggers/qa_server/scenario_logger.rb +74 -4
  30. data/app/models/concerns/qa_server/performance_history_data_keys.rb +8 -0
  31. data/app/models/qa_server/authority_scenario.rb +4 -4
  32. data/app/models/qa_server/authority_status.rb +2 -2
  33. data/app/models/qa_server/authority_status_failure.rb +1 -1
  34. data/app/models/qa_server/performance_history.rb +2 -2
  35. data/app/models/qa_server/scenario_run_history.rb +52 -52
  36. data/app/models/qa_server/scenario_run_registry.rb +2 -2
  37. data/app/models/qa_server/scenarios.rb +26 -26
  38. data/app/models/qa_server/search_scenario.rb +24 -13
  39. data/app/models/qa_server/term_scenario.rb +29 -29
  40. data/app/prepends/prepended_linked_data/find_term.rb +40 -40
  41. data/app/prepends/prepended_linked_data/search_query.rb +36 -36
  42. data/app/prepends/prepended_rdf/rdf_graph.rb +7 -7
  43. data/app/presenters/concerns/qa_server/monitor_status/performance_datatable_behavior.rb +32 -32
  44. data/app/presenters/concerns/qa_server/monitor_status/performance_graph_behavior.rb +64 -64
  45. data/app/presenters/qa_server/check_status_presenter.rb +63 -7
  46. data/app/presenters/qa_server/monitor_status/current_status_presenter.rb +9 -8
  47. data/app/services/concerns/qa_server/gruff_graph.rb +16 -16
  48. data/app/services/qa_server/authority_loader_service.rb +14 -14
  49. data/app/services/qa_server/authority_validator_service.rb +1 -0
  50. data/app/services/qa_server/database_migrator.rb +14 -14
  51. data/app/services/qa_server/history_graphing_service.rb +30 -30
  52. data/app/services/qa_server/performance_calculator_service.rb +80 -80
  53. data/app/services/qa_server/performance_datatable_service.rb +35 -35
  54. data/app/services/qa_server/performance_graph_data_service.rb +28 -28
  55. data/app/services/qa_server/performance_graphing_service.rb +58 -58
  56. data/app/services/qa_server/performance_per_byte_calculator_service.rb +88 -0
  57. data/app/services/qa_server/performance_per_byte_data_service.rb +41 -0
  58. data/app/services/qa_server/scenarios_loader_service.rb +1 -1
  59. data/app/services/qa_server/time_period_service.rb +21 -21
  60. data/app/validators/qa_server/scenario_validator.rb +99 -87
  61. data/app/validators/qa_server/search_scenario_validator.rb +67 -61
  62. data/app/validators/qa_server/term_scenario_validator.rb +20 -15
  63. data/app/views/qa_server/check_status/index.html.erb +120 -24
  64. data/app/views/qa_server/monitor_status/_test_summary.html.erb +1 -1
  65. data/config/i18n-tasks.yml +133 -0
  66. data/config/locales/qa_server.en.yml +16 -0
  67. data/lib/generators/qa_server/assets_generator.rb +4 -4
  68. data/lib/generators/qa_server/templates/config/authorities/linked_data/cerl_ld4l_cache.json +2 -2
  69. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_aat_ld4l_cache.json +62 -1
  70. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_tgn_ld4l_cache.json +45 -11
  71. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_ulan_ld4l_cache.json +104 -8
  72. data/lib/generators/qa_server/templates/config/authorities/linked_data/isni_ld4l_cache.json +90 -0
  73. data/lib/generators/qa_server/templates/config/authorities/linked_data/ligatus_ld4l_cache.json +133 -0
  74. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo2_ld4l_cache.json +248 -0
  75. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo3_ld4l_cache.json +248 -0
  76. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo_ld4l_cache.json +4 -4
  77. data/lib/generators/qa_server/templates/config/authorities/linked_data/locvocabs_ld4l_cache.json +117 -0
  78. data/lib/generators/qa_server/templates/config/authorities/linked_data/mesh_nlm_ld4l_cache.json +135 -3
  79. data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_direct.json +5 -0
  80. data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_ld4l_cache.json +2 -4
  81. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/agrovoc_direct_validation.yml +31 -0
  82. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/agrovoc_ld4l_cache_validation.yml +31 -0
  83. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/cerl_ld4l_cache_validation.yml +26 -14
  84. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/dbpedia_ld4l_cache_validation.yml +33 -0
  85. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_direct_validation.yml +35 -0
  86. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_ld4l_cache_validation.yml +55 -5
  87. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_aat_ld4l_cache_validation.yml +253 -0
  88. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_tgn_ld4l_cache_validation.yml +31 -1
  89. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_ulan_ld4l_cache_validation.yml +38 -1
  90. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/isni_ld4l_cache_validation.yml +10 -0
  91. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/ligatus_ld4l_cache_validation.yml +36 -0
  92. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locdemographics_ld4l_cache_validation.yml +69 -44
  93. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locgenres_ld4l_cache_validation.yml +22 -0
  94. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_ld4l_cache_validation.yml +65 -0
  95. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo2_ld4l_cache_validation.yml +78 -0
  96. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo3_ld4l_cache_validation.yml +73 -0
  97. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo_ld4l_cache_validation.yml +71 -3
  98. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locperformance_ld4l_cache_validation.yml +6 -0
  99. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locsubjects_ld4l_cache_validation.yml +30 -0
  100. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locvocabs_ld4l_cache_validation.yml +430 -0
  101. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/mesh_nlm_ld4l_cache_validation.yml +54 -1
  102. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/nalt_ld4l_cache_validation.yml +37 -0
  103. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclc_fast_validation.yml +71 -5
  104. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_direct_validation.yml +73 -2
  105. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_ld4l_cache_validation.yml +73 -0
  106. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/rda_registry_ld4l_cache_validation.yml +307 -0
  107. data/lib/qa_server/configuration.rb +28 -24
  108. data/lib/qa_server/version.rb +1 -1
  109. data/qa_server.gemspec +6 -5
  110. data/spec/feature/accuracy_spec.rb +32 -0
  111. data/spec/i18n_spec.rb +36 -0
  112. data/spec/spec_helper.rb +4 -0
  113. metadata +74 -20
  114. data/app/cache_processors/qa_server/performance_daily_graph_cache.rb +0 -60
  115. data/app/cache_processors/qa_server/performance_hourly_graph_cache.rb +0 -65
  116. data/app/cache_processors/qa_server/performance_monthly_graph_cache.rb +0 -60
@@ -1,9 +1,42 @@
1
+ # Supported subauthorities: # TODO: I don't think these subauths are correct. Probably copy-paste error.
2
+ # person
3
+ # organization
4
+ # place
5
+ # intangible
6
+ # geocoordinates
7
+ # work
1
8
  ---
2
9
  authority:
3
10
  service: ld4l_cache
4
11
  search:
12
+ #------------------
13
+ # Connection tests
14
+ #------------------
5
15
  -
6
16
  query: 'Barack Obama'
17
+ #------------------
18
+ # Accuracy tests
19
+ #------------------
20
+ -
21
+ query: Volleyball
22
+ position: 5
23
+ subject_uri: "http://dbpedia.org/resource/Volleyball"
24
+ replacements:
25
+ maxRecords: '10'
26
+ -
27
+ pending: true
28
+ query: Volleyb
29
+ position: 5
30
+ subject_uri: "http://dbpedia.org/resource/Volleyball"
31
+ replacements:
32
+ maxRecords: '10'
33
+ -
34
+ pending: true
35
+ query: volleyb
36
+ position: 5
37
+ subject_uri: "http://dbpedia.org/resource/Volleyball"
38
+ replacements:
39
+ maxRecords: '10'
7
40
  term:
8
41
  -
9
42
  identifier: 'http://dbpedia.org/resource/Barack_Obama'
@@ -2,8 +2,43 @@
2
2
  authority:
3
3
  service: direct
4
4
  search:
5
+ #------------------
6
+ # Connection tests
7
+ #------------------
5
8
  -
6
9
  query: Ithaca
10
+ #------------------
11
+ # Accuracy tests
12
+ #------------------
13
+ -
14
+ pending: true
15
+ query: France
16
+ subject_uri: 'http://sws.geonames.org/261707/'
17
+ position: 10
18
+ replacements:
19
+ maxRecords: '15'
20
+ -
21
+ pending: true
22
+ query: New York
23
+ subject_uri: "http://sws.geonames.org/5128581/"
24
+ position: 3
25
+ replacements:
26
+ maxRecords: '8'
27
+ -
28
+ pending: true
29
+ query: Chicago
30
+ subject_uri: 'http://sws.geonames.org/4887398/'
31
+ position: 10
32
+ replacements:
33
+ maxRecords: '15'
34
+ -
35
+ pending: true
36
+ query: Ithaca Island
37
+ subauth: terrain
38
+ subject_uri: "http://sws.geonames.org/261707/"
39
+ position: 10
40
+ replacements:
41
+ maxRecords: '15'
7
42
  term:
8
43
  -
9
44
  identifier: 'https://sws.geonames.org/261707/'
@@ -1,15 +1,25 @@
1
+ # Supported subauthorities:
2
+ # area
3
+ # place
4
+ # area_and_place
5
+ # water
6
+ # park
7
+ # road
8
+ # spot
9
+ # terrain
10
+ # undersea
11
+ # vegetation
12
+ # all
1
13
  ---
2
14
  authority:
3
15
  service: ld4l_cache
4
16
  context: true
5
17
  search:
18
+ #------------------
19
+ # Connection tests
20
+ #------------------
6
21
  -
7
22
  query: Ithaca
8
- -
9
- query: France
10
- subauth: area
11
- expect: 'http://sws.geonames.org/261707/'
12
- postion: 10
13
23
  -
14
24
  query: Ithaca
15
25
  subauth: place
@@ -38,6 +48,46 @@ search:
38
48
  -
39
49
  query: Red
40
50
  subauth: vegetation
51
+ #------------------
52
+ # Accuracy tests
53
+ #------------------
54
+ # TBD - tests for subauths
55
+ # area_and_place
56
+ # water
57
+ # park
58
+ # road
59
+ # spot
60
+ # terrain
61
+ # undersea
62
+ # vegetation
63
+ # all
64
+ -
65
+ query: New York City
66
+ subject_uri: "http://sws.geonames.org/5128581/"
67
+ position: 3
68
+ replacements:
69
+ maxRecords: '8'
70
+ -
71
+ query: France
72
+ subauth: area
73
+ subject_uri: "http://sws.geonames.org/3017382/"
74
+ position: 10
75
+ replacements:
76
+ maxRecords: '15'
77
+ -
78
+ query: Chicago
79
+ subauth: place
80
+ subject_uri: "http://sws.geonames.org/4887398/"
81
+ position: 10
82
+ replacements:
83
+ maxRecords: '15'
84
+ -
85
+ query: Ithaca Island
86
+ subauth: terrain
87
+ subject_uri: "http://sws.geonames.org/261707/"
88
+ position: 10
89
+ replacements:
90
+ maxRecords: '15'
41
91
  term:
42
92
  -
43
93
  identifier: 'http://sws.geonames.org/261707/'
@@ -1,7 +1,41 @@
1
+ # Supported subauthorities:
2
+ # Activities
3
+ # Activities__Disciplines
4
+ # Activities__Events
5
+ # Activities__Functions
6
+ # Activities__Physical_and_Mental
7
+ # Activities__Processes_and_Techniques
8
+ # Agents
9
+ # Agents__Living_Organisms
10
+ # Agents__Organizations
11
+ # Agents__People
12
+ # Associated_Concepts
13
+ # Associated_Concepts__Associated_Concepts
14
+ # Brand_Names
15
+ # Brand_Names__Brand_Names
16
+ # Materials
17
+ # Materials__Materials
18
+ # Objects
19
+ # Objects__Built_Environment
20
+ # Objects__Components
21
+ # Objects__Furnishings_and_Equipment
22
+ # Objects__Object_Genres
23
+ # Objects__Object_Groupings and Systems
24
+ # Objects__Visual_and_Verbal_Communication
25
+ # Physical_Attributes
26
+ # Physical_Attributes__Attributes_and_Properties
27
+ # Physical_Attributes__Color
28
+ # Physical_Attributes__Conditions_and_Effects
29
+ # Physical_Attributes__Design_Elements
30
+ # Styles_and_Periods
31
+ # Styles_and_Periods__Styles_and_Periods
1
32
  ---
2
33
  authority:
3
34
  service: ld4l_cache
4
35
  search:
36
+ #------------------
37
+ # Connection tests
38
+ #------------------
5
39
  -
6
40
  query: amphora
7
41
  -
@@ -115,6 +149,225 @@ search:
115
149
  query: Contemporary
116
150
  subauth: Styles_and_Periods__Styles_and_Periods
117
151
  result_size: 190
152
+ #------------------
153
+ # Accuracy tests
154
+ #------------------
155
+ -
156
+ query: precious
157
+ position: 5
158
+ subject_uri: "http://vocab.getty.edu/aat/300011054"
159
+ replacements:
160
+ maxRecords: '10'
161
+ -
162
+ query: demonstrations
163
+ subauth: Activities
164
+ position: 5
165
+ subject_uri: "http://vocab.getty.edu/aat/300262795"
166
+ replacements:
167
+ maxRecords: '10'
168
+ -
169
+ query: demonstrations
170
+ subauth: Activities__Events
171
+ position: 5
172
+ subject_uri: "http://vocab.getty.edu/aat/300262795"
173
+ replacements:
174
+ maxRecords: '10'
175
+ -
176
+ query: ontology
177
+ subauth: Activities__Disciplines
178
+ position: 5
179
+ subject_uri: "http://vocab.getty.edu/aat/300054295"
180
+ replacements:
181
+ maxRecords: '10'
182
+ -
183
+ query: lobbying
184
+ subauth: Activities__Functions
185
+ position: 5
186
+ subject_uri: "http://vocab.getty.edu/aat/300077524"
187
+ replacements:
188
+ maxRecords: '10'
189
+ -
190
+ query: bhāvanā
191
+ subauth: Activities__Physical_and_Mental
192
+ position: 5
193
+ subject_uri: "http://vocab.getty.edu/aat/300264364"
194
+ replacements:
195
+ maxRecords: '10'
196
+ -
197
+ query: gestabiliseerd
198
+ subauth: Activities__Processes_and_Techniques
199
+ position: 5
200
+ subject_uri: "http://vocab.getty.edu/aat/300163757"
201
+ replacements:
202
+ maxRecords: '10'
203
+ -
204
+ query: disidente
205
+ subauth: Agents
206
+ position: 5
207
+ subject_uri: "http://vocab.getty.edu/aat/300136713"
208
+ replacements:
209
+ maxRecords: '10'
210
+ -
211
+ query: RNA
212
+ subauth: Agents__Living_Organisms
213
+ position: 5
214
+ subject_uri: "http://vocab.getty.edu/aat/300410331"
215
+ replacements:
216
+ maxRecords: '10'
217
+ -
218
+ query: printmaking studios
219
+ subauth: Agents__Organizations
220
+ position: 5
221
+ subject_uri: "http://vocab.getty.edu/aat/300312299"
222
+ replacements:
223
+ maxRecords: '10'
224
+ -
225
+ query: alter egos
226
+ subauth: Agents__People
227
+ position: 5
228
+ subject_uri: "http://vocab.getty.edu/aat/300435335"
229
+ replacements:
230
+ maxRecords: '10'
231
+ -
232
+ query: credit
233
+ subauth: Associated_Concepts
234
+ position: 5
235
+ subject_uri: "http://vocab.getty.edu/aat/300055706"
236
+ replacements:
237
+ maxRecords: '10'
238
+ -
239
+ query: palindrome
240
+ subauth: Associated_Concepts__Associated_Concepts
241
+ position: 5
242
+ subject_uri: "http://vocab.getty.edu/aat/300417834"
243
+ replacements:
244
+ maxRecords: '10'
245
+ -
246
+ query: Crayola Cutter (TM)
247
+ subauth: Brand_Names
248
+ position: 5
249
+ subject_uri: "http://vocab.getty.edu/aat/300391344"
250
+ replacements:
251
+ maxRecords: '10'
252
+ -
253
+ query: Masonite
254
+ subauth: Brand_Names__Brand_Names
255
+ position: 5
256
+ subject_uri: "http://vocab.getty.edu/aat/300014205"
257
+ replacements:
258
+ maxRecords: '10'
259
+ -
260
+ query: mesh
261
+ subauth: Materials
262
+ position: 5
263
+ subject_uri: "http://vocab.getty.edu/aat/300014654"
264
+ replacements:
265
+ maxRecords: '10'
266
+ -
267
+ query: residuos tóxicos
268
+ subauth: Materials__Materials
269
+ position: 5
270
+ subject_uri: "http://vocab.getty.edu/aat/300253882"
271
+ replacements:
272
+ maxRecords: '10'
273
+ -
274
+ query: lloy lloy
275
+ subauth: Objects
276
+ position: 5
277
+ subject_uri: "http://vocab.getty.edu/aat/300410934"
278
+ replacements:
279
+ maxRecords: '10'
280
+ -
281
+ query: areas, protected
282
+ subauth: Objects__Built_Environment
283
+ position: 5
284
+ subject_uri: "http://vocab.getty.edu/aat/300386975"
285
+ replacements:
286
+ maxRecords: '10'
287
+ -
288
+ query: gewelfschotels
289
+ subauth: Objects__Components
290
+ position: 5
291
+ subject_uri: "http://vocab.getty.edu/aat/300391167"
292
+ replacements:
293
+ maxRecords: '10'
294
+ -
295
+ query: dung-chen
296
+ subauth: Objects__Furnishings_and_Equipment
297
+ position: 5
298
+ subject_uri: "http://vocab.getty.edu/aat/300222195"
299
+ replacements:
300
+ maxRecords: '10'
301
+ -
302
+ query: oggetti (realia)
303
+ subauth: Objects__Object_Genres
304
+ position: 5
305
+ subject_uri: "http://vocab.getty.edu/aat/300265419"
306
+ replacements:
307
+ maxRecords: '10'
308
+ -
309
+ query: VistaVision (TM)
310
+ subauth: Objects__Object_Groupings and Systems
311
+ position: 5
312
+ subject_uri: "http://vocab.getty.edu/aat/300264671"
313
+ replacements:
314
+ maxRecords: '10'
315
+ -
316
+ query: hours
317
+ subauth: Objects__Visual_and_Verbal_Communication
318
+ position: 5
319
+ subject_uri: "http://vocab.getty.edu/aat/300404017"
320
+ replacements:
321
+ maxRecords: '10'
322
+ -
323
+ query: serpentiformes
324
+ subauth: Physical_Attributes
325
+ position: 5
326
+ subject_uri: "http://vocab.getty.edu/aat/300311305"
327
+ replacements:
328
+ maxRecords: '10'
329
+ -
330
+ query: 不穩定性
331
+ subauth: Physical_Attributes__Attributes_and_Properties
332
+ position: 5
333
+ subject_uri: "http://vocab.getty.edu/aat/300221189"
334
+ replacements:
335
+ maxRecords: '10'
336
+ -
337
+ query: eggplant
338
+ subauth: Physical_Attributes__Color
339
+ position: 5
340
+ subject_uri: "http://vocab.getty.edu/aat/300311492"
341
+ replacements:
342
+ maxRecords: '10'
343
+ -
344
+ query: microwear
345
+ subauth: Physical_Attributes__Conditions_and_Effects
346
+ position: 5
347
+ subject_uri: "http://vocab.getty.edu/aat/300249983"
348
+ replacements:
349
+ maxRecords: '10'
350
+ -
351
+ query: filigrana
352
+ subauth: Physical_Attributes__Design_Elements
353
+ position: 5
354
+ subject_uri: "http://vocab.getty.edu/aat/300220293"
355
+ replacements:
356
+ maxRecords: '10'
357
+ -
358
+ query: Ontarian
359
+ subauth: Styles_and_Periods
360
+ position: 5
361
+ subject_uri: "http://vocab.getty.edu/aat/300386484"
362
+ replacements:
363
+ maxRecords: '10'
364
+ -
365
+ query: old-fashioned
366
+ subauth: Styles_and_Periods__Styles_and_Periods
367
+ position: 5
368
+ subject_uri: "http://vocab.getty.edu/aat/300312275"
369
+ replacements:
370
+ maxRecords: '10'
118
371
  term:
119
372
  -
120
373
  identifier: 'http://vocab.getty.edu/aat/300265730'
@@ -3,8 +3,38 @@ authority:
3
3
  service: ld4l_cache
4
4
  context: true
5
5
  search:
6
+ #------------------
7
+ # Connection tests
8
+ #------------------
6
9
  -
7
10
  query: memphis
11
+ #------------------
12
+ # Accuracy tests
13
+ #------------------
14
+ -
15
+ query: Gouverneur
16
+ position: 3
17
+ subject_uri: "http://vocab.getty.edu/tgn/2069433-place"
18
+ replacements:
19
+ maxRecords: '10'
20
+ -
21
+ query: Boulder, CO
22
+ position: 3
23
+ subject_uri: "http://vocab.getty.edu/tgn/2000198-place"
24
+ replacements:
25
+ maxRecords: '10'
26
+ -
27
+ query: Paris, France
28
+ position: 10
29
+ subject_uri: "http://vocab.getty.edu/tgn/7008038-place"
30
+ replacements:
31
+ maxRecords: '20'
32
+ -
33
+ query: Nile River
34
+ position: 3
35
+ subject_uri: "http://vocab.getty.edu/tgn/1127805-place"
36
+ replacements:
37
+ maxRecords: '10'
8
38
  term:
9
39
  -
10
- identifier: 'http://vocab.getty.edu/tgn/7017750'
40
+ identifier: 'http://vocab.getty.edu/tgn/7017750-place'