qa_server 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +6 -0
  4. data/app/assets/stylesheets/qa_server/_fetch.scss +16 -0
  5. data/app/assets/stylesheets/qa_server/_monitor-status.scss +34 -0
  6. data/app/assets/stylesheets/qa_server/_qa_server.scss +1 -1
  7. data/app/assets/stylesheets/qa_server/_styles.scss +4 -0
  8. data/app/controllers/qa_server/fetch_controller.rb +60 -0
  9. data/app/controllers/qa_server/monitor_status_controller.rb +4 -2
  10. data/app/models/qa_server/performance_history.rb +151 -0
  11. data/app/prepends/prepended_linked_data/find_term.rb +16 -0
  12. data/app/prepends/prepended_linked_data/search_query.rb +16 -0
  13. data/app/presenters/qa_server/fetch_presenter.rb +65 -0
  14. data/app/presenters/qa_server/monitor_status_presenter.rb +114 -8
  15. data/app/presenters/qa_server/navmenu_presenter.rb +1 -0
  16. data/app/services/qa_server/authority_loader_service.rb +35 -29
  17. data/app/views/layouts/qa_server.html.erb +3 -1
  18. data/app/views/qa_server/fetch/index.html.erb +62 -0
  19. data/app/views/qa_server/monitor_status/index.html.erb +62 -2
  20. data/config/locales/qa_server.en.yml +24 -0
  21. data/config/routes.rb +1 -0
  22. data/lib/generators/qa_server/config_generator.rb +9 -0
  23. data/lib/generators/qa_server/templates/config/authorities/linked_data/DISABLED/scenarios/mesh_bioportal_ld4l_cache_validation.yml +2 -0
  24. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_aat_ld4l_cache.json +1 -1
  25. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_tgn_ld4l_cache.json +1 -1
  26. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_ulan_ld4l_cache.json +1 -1
  27. data/lib/generators/qa_server/templates/config/authorities/linked_data/locdemographics_ld4l_cache.json +110 -3
  28. data/lib/generators/qa_server/templates/config/authorities/linked_data/locgenres_ld4l_cache.json +71 -25
  29. data/lib/generators/qa_server/templates/config/authorities/linked_data/locsubjects_ld4l_cache.json +76 -12
  30. data/lib/generators/qa_server/templates/config/authorities/linked_data/nalt_ld4l_cache.json +2 -4
  31. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/loc_direct_validation.yml +3 -0
  32. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/loc_validation.yml +6 -0
  33. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locdemographics_ld4l_cache_validation.yml +1 -0
  34. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locgenres_ld4l_cache_validation.yml +13 -14
  35. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locsubjects_ld4l_cache_validation.yml +1 -18
  36. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_direct_validation.yml +10 -10
  37. data/lib/generators/qa_server/templates/db/migrate/20190813045549_create_performance_history.rb.erb +12 -0
  38. data/lib/qa_server/version.rb +1 -1
  39. metadata +10 -2
@@ -0,0 +1,12 @@
1
+ class CreatePerformanceHistory < ActiveRecord::Migration<%= migration_version %>
2
+ def change
3
+ create_table :performance_history do |t|
4
+ t.datetime :dt_stamp
5
+ t.string :authority
6
+ t.string :action
7
+ t.integer :size_bytes
8
+ t.float :load_time_ms
9
+ t.float :normalization_time_ms
10
+ end
11
+ end
12
+ end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module QaServer
3
- VERSION = '2.1.0'
3
+ VERSION = '2.2.0'
4
4
  end
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: 2.1.0
4
+ version: 2.2.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: 2019-06-11 00:00:00.000000000 Z
11
+ date: 2019-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -189,6 +189,7 @@ files:
189
189
  - app/assets/javascripts/qa_server.js
190
190
  - app/assets/stylesheets/qa_server/_authorities.scss
191
191
  - app/assets/stylesheets/qa_server/_check-status.scss
192
+ - app/assets/stylesheets/qa_server/_fetch.scss
192
193
  - app/assets/stylesheets/qa_server/_footer.scss
193
194
  - app/assets/stylesheets/qa_server/_header.scss
194
195
  - app/assets/stylesheets/qa_server/_home-page.scss
@@ -199,6 +200,7 @@ files:
199
200
  - app/controllers/qa_server/authority_list_controller.rb
200
201
  - app/controllers/qa_server/authority_validation_controller.rb
201
202
  - app/controllers/qa_server/check_status_controller.rb
203
+ - app/controllers/qa_server/fetch_controller.rb
202
204
  - app/controllers/qa_server/homepage_controller.rb
203
205
  - app/controllers/qa_server/monitor_status_controller.rb
204
206
  - app/controllers/qa_server/usage_controller.rb
@@ -206,14 +208,18 @@ files:
206
208
  - app/models/qa_server/authority_scenario.rb
207
209
  - app/models/qa_server/authority_status.rb
208
210
  - app/models/qa_server/authority_status_failure.rb
211
+ - app/models/qa_server/performance_history.rb
209
212
  - app/models/qa_server/scenario_run_history.rb
210
213
  - app/models/qa_server/scenario_run_registry.rb
211
214
  - app/models/qa_server/scenario_run_summary.rb
212
215
  - app/models/qa_server/scenarios.rb
213
216
  - app/models/qa_server/search_scenario.rb
214
217
  - app/models/qa_server/term_scenario.rb
218
+ - app/prepends/prepended_linked_data/find_term.rb
219
+ - app/prepends/prepended_linked_data/search_query.rb
215
220
  - app/presenters/qa_server/authority_list_presenter.rb
216
221
  - app/presenters/qa_server/check_status_presenter.rb
222
+ - app/presenters/qa_server/fetch_presenter.rb
217
223
  - app/presenters/qa_server/monitor_status_presenter.rb
218
224
  - app/presenters/qa_server/navmenu_presenter.rb
219
225
  - app/services/qa_server/authority_lister_service.rb
@@ -227,6 +233,7 @@ files:
227
233
  - app/views/layouts/qa_server.html.erb
228
234
  - app/views/qa_server/authority_list/index.html.erb
229
235
  - app/views/qa_server/check_status/index.html.erb
236
+ - app/views/qa_server/fetch/index.html.erb
230
237
  - app/views/qa_server/homepage/index.html.erb
231
238
  - app/views/qa_server/monitor_status/index.html.erb
232
239
  - app/views/qa_server/usage/index.html.erb
@@ -291,6 +298,7 @@ files:
291
298
  - lib/generators/qa_server/templates/db/migrate/20180807045552_create_scenario_run_history.rb.erb
292
299
  - lib/generators/qa_server/templates/db/migrate/20180807045554_drop_unused_tables.rb.erb
293
300
  - lib/generators/qa_server/templates/db/migrate/20180809045552_add_indices_to_scenario_run_history.rb.erb
301
+ - lib/generators/qa_server/templates/db/migrate/20190813045549_create_performance_history.rb.erb
294
302
  - lib/generators/qa_server/templates/qa_server.scss
295
303
  - lib/qa_server.rb
296
304
  - lib/qa_server/configuration.rb