qa_server 7.5.1 → 7.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_fixme.yml +3 -2
- data/.travis.yml +1 -1
- data/CHANGELOG.md +28 -0
- data/app/assets/stylesheets/qa_server/_check-status.scss +4 -0
- data/app/assets/stylesheets/qa_server/_monitor-status.scss +45 -0
- data/app/cache_processors/concerns/qa_server/cache_keys.rb +1 -0
- data/app/cache_processors/qa_server/scenario_history_cache.rb +19 -1
- data/app/controllers/qa_server/monitor_status_controller.rb +39 -9
- data/app/models/qa_server/scenario_run_history.rb +12 -3
- data/app/models/qa_server/search_scenario.rb +6 -0
- data/app/presenters/qa_server/check_status_presenter.rb +1 -1
- data/app/presenters/qa_server/monitor_status/current_status_presenter.rb +9 -8
- data/app/presenters/qa_server/monitor_status/history_presenter.rb +55 -4
- data/app/presenters/qa_server/monitor_status/history_up_down_presenter.rb +58 -0
- data/app/presenters/qa_server/monitor_status_presenter.rb +7 -2
- data/app/services/qa_server/history_up_down_service.rb +103 -0
- data/app/services/qa_server/time_service.rb +6 -0
- data/app/views/qa_server/check_status/index.html.erb +7 -6
- data/app/views/qa_server/monitor_status/_test_summary.html.erb +1 -1
- data/app/views/qa_server/monitor_status/_test_up_down_connection_history.html.erb +30 -0
- data/app/views/qa_server/monitor_status/index.html.erb +2 -1
- data/config/locales/qa_server.en.yml +8 -7
- data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_tgn_ld4l_cache.json +24 -14
- data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_ulan_ld4l_cache.json +104 -8
- data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo2_ld4l_cache.json +4 -4
- data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo3_ld4l_cache.json +4 -4
- data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo_ld4l_cache.json +4 -4
- data/lib/generators/qa_server/templates/config/authorities/linked_data/locvocabs_ld4l_cache.json +1 -1
- data/lib/generators/qa_server/templates/config/authorities/linked_data/mesh_nlm_ld4l_cache.json +1 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_direct.json +4 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_ld4l_cache.json +1 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/cerl_ld4l_cache_validation.yml +3 -3
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_ld4l_cache_validation.yml +2 -5
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_aat_ld4l_cache_validation.yml +0 -3
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_tgn_ld4l_cache_validation.yml +3 -7
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_ulan_ld4l_cache_validation.yml +5 -5
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locdemographics_ld4l_cache_validation.yml +0 -4
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locgenres_ld4l_cache_validation.yml +0 -9
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_ld4l_cache_validation.yml +1 -7
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo2_ld4l_cache_validation.yml +78 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo3_ld4l_cache_validation.yml +73 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo_ld4l_cache_validation.yml +11 -11
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locsubjects_ld4l_cache_validation.yml +1 -3
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locvocabs_ld4l_cache_validation.yml +246 -0
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/mesh_nlm_ld4l_cache_validation.yml +8 -5
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_direct_validation.yml +13 -7
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_ld4l_cache_validation.yml +19 -3
- data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/rda_registry_ld4l_cache_validation.yml +0 -3
- data/lib/generators/qa_server/templates/config/initializers/qa_server.rb +8 -0
- data/lib/qa_server/configuration.rb +14 -0
- data/lib/qa_server/version.rb +1 -1
- data/qa_server.gemspec +5 -5
- data/spec/feature/accuracy_spec.rb +1 -1
- data/spec/i18n_spec.rb +0 -1
- data/spec/lib/configuration_spec.rb +22 -0
- data/spec/presenters/qa_server/monitor_status/history_presenter_spec.rb +81 -0
- data/spec/services/qa_server/history_up_down_service_spec.rb +86 -0
- metadata +39 -12
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qa_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- E. Lynette Rayle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,20 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '5.
|
19
|
+
version: '5.2'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 5.2.5
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '5.
|
29
|
+
version: '5.2'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 5.2.5
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: useragent
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +50,20 @@ dependencies:
|
|
44
50
|
requirements:
|
45
51
|
- - "~>"
|
46
52
|
- !ruby/object:Gem::Version
|
47
|
-
version: '5.
|
53
|
+
version: '5.5'
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 5.5.1
|
48
57
|
type: :development
|
49
58
|
prerelease: false
|
50
59
|
version_requirements: !ruby/object:Gem::Requirement
|
51
60
|
requirements:
|
52
61
|
- - "~>"
|
53
62
|
- !ruby/object:Gem::Version
|
54
|
-
version: '5.
|
63
|
+
version: '5.5'
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 5.5.1
|
55
67
|
- !ruby/object:Gem::Dependency
|
56
68
|
name: linkeddata
|
57
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,14 +126,20 @@ dependencies:
|
|
114
126
|
requirements:
|
115
127
|
- - "~>"
|
116
128
|
- !ruby/object:Gem::Version
|
117
|
-
version: 3.0
|
129
|
+
version: '3.0'
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 3.0.2
|
118
133
|
type: :development
|
119
134
|
prerelease: false
|
120
135
|
version_requirements: !ruby/object:Gem::Requirement
|
121
136
|
requirements:
|
122
137
|
- - "~>"
|
123
138
|
- !ruby/object:Gem::Version
|
124
|
-
version: 3.0
|
139
|
+
version: '3.0'
|
140
|
+
- - ">="
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: 3.0.2
|
125
143
|
- !ruby/object:Gem::Dependency
|
126
144
|
name: deprecation
|
127
145
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,14 +160,14 @@ dependencies:
|
|
142
160
|
requirements:
|
143
161
|
- - "~>"
|
144
162
|
- !ruby/object:Gem::Version
|
145
|
-
version: '2.
|
163
|
+
version: '2.2'
|
146
164
|
type: :development
|
147
165
|
prerelease: false
|
148
166
|
version_requirements: !ruby/object:Gem::Requirement
|
149
167
|
requirements:
|
150
168
|
- - "~>"
|
151
169
|
- !ruby/object:Gem::Version
|
152
|
-
version: '2.
|
170
|
+
version: '2.2'
|
153
171
|
- !ruby/object:Gem::Dependency
|
154
172
|
name: factory_bot
|
155
173
|
requirement: !ruby/object:Gem::Requirement
|
@@ -282,14 +300,14 @@ dependencies:
|
|
282
300
|
requirements:
|
283
301
|
- - "~>"
|
284
302
|
- !ruby/object:Gem::Version
|
285
|
-
version: '
|
303
|
+
version: '4.4'
|
286
304
|
type: :development
|
287
305
|
prerelease: false
|
288
306
|
version_requirements: !ruby/object:Gem::Requirement
|
289
307
|
requirements:
|
290
308
|
- - "~>"
|
291
309
|
- !ruby/object:Gem::Version
|
292
|
-
version: '
|
310
|
+
version: '4.4'
|
293
311
|
- !ruby/object:Gem::Dependency
|
294
312
|
name: webmock
|
295
313
|
requirement: !ruby/object:Gem::Requirement
|
@@ -400,6 +418,7 @@ files:
|
|
400
418
|
- app/presenters/qa_server/fetch_presenter.rb
|
401
419
|
- app/presenters/qa_server/monitor_status/current_status_presenter.rb
|
402
420
|
- app/presenters/qa_server/monitor_status/history_presenter.rb
|
421
|
+
- app/presenters/qa_server/monitor_status/history_up_down_presenter.rb
|
403
422
|
- app/presenters/qa_server/monitor_status/performance_presenter.rb
|
404
423
|
- app/presenters/qa_server/monitor_status_presenter.rb
|
405
424
|
- app/presenters/qa_server/navmenu_presenter.rb
|
@@ -409,6 +428,7 @@ files:
|
|
409
428
|
- app/services/qa_server/authority_validator_service.rb
|
410
429
|
- app/services/qa_server/database_migrator.rb
|
411
430
|
- app/services/qa_server/history_graphing_service.rb
|
431
|
+
- app/services/qa_server/history_up_down_service.rb
|
412
432
|
- app/services/qa_server/performance_calculator_service.rb
|
413
433
|
- app/services/qa_server/performance_datatable_service.rb
|
414
434
|
- app/services/qa_server/performance_graph_data_service.rb
|
@@ -429,6 +449,7 @@ files:
|
|
429
449
|
- app/views/qa_server/monitor_status/_performance.html.erb
|
430
450
|
- app/views/qa_server/monitor_status/_test_history.html.erb
|
431
451
|
- app/views/qa_server/monitor_status/_test_summary.html.erb
|
452
|
+
- app/views/qa_server/monitor_status/_test_up_down_connection_history.html.erb
|
432
453
|
- app/views/qa_server/monitor_status/index.html.erb
|
433
454
|
- app/views/qa_server/usage/index.html.erb
|
434
455
|
- app/views/shared/_footer.html.erb
|
@@ -487,6 +508,8 @@ files:
|
|
487
508
|
- lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locdemographics_ld4l_cache_validation.yml
|
488
509
|
- lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locgenres_ld4l_cache_validation.yml
|
489
510
|
- lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_ld4l_cache_validation.yml
|
511
|
+
- lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo2_ld4l_cache_validation.yml
|
512
|
+
- lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo3_ld4l_cache_validation.yml
|
490
513
|
- lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo_ld4l_cache_validation.yml
|
491
514
|
- lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locperformance_ld4l_cache_validation.yml
|
492
515
|
- lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locsubjects_ld4l_cache_validation.yml
|
@@ -526,7 +549,9 @@ files:
|
|
526
549
|
- spec/i18n_spec.rb
|
527
550
|
- spec/lib/configuration_spec.rb
|
528
551
|
- spec/lib/qa_server_spec.rb
|
552
|
+
- spec/presenters/qa_server/monitor_status/history_presenter_spec.rb
|
529
553
|
- spec/rails_helper.rb
|
554
|
+
- spec/services/qa_server/history_up_down_service_spec.rb
|
530
555
|
- spec/services/qa_server/time_period_service_spec.rb
|
531
556
|
- spec/services/qa_server/time_service_spec.rb
|
532
557
|
- spec/spec_helper.rb
|
@@ -564,7 +589,9 @@ test_files:
|
|
564
589
|
- spec/i18n_spec.rb
|
565
590
|
- spec/lib/configuration_spec.rb
|
566
591
|
- spec/lib/qa_server_spec.rb
|
592
|
+
- spec/presenters/qa_server/monitor_status/history_presenter_spec.rb
|
567
593
|
- spec/rails_helper.rb
|
594
|
+
- spec/services/qa_server/history_up_down_service_spec.rb
|
568
595
|
- spec/services/qa_server/time_period_service_spec.rb
|
569
596
|
- spec/services/qa_server/time_service_spec.rb
|
570
597
|
- spec/spec_helper.rb
|