qa_server 7.4.0 → 7.5.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 (103) hide show
  1. checksums.yaml +5 -5
  2. data/.rubocop_fixme.yml +6 -0
  3. data/.travis.yml +4 -5
  4. data/CHANGELOG.md +20 -0
  5. data/Rakefile +1 -1
  6. data/app/assets/stylesheets/qa_server/_check-status.scss +36 -0
  7. data/app/cache_processors/qa_server/cache_expiry_service.rb +8 -8
  8. data/app/cache_processors/qa_server/job_id_cache.rb +4 -4
  9. data/app/cache_processors/qa_server/performance_cache.rb +34 -34
  10. data/app/cache_processors/qa_server/performance_day_graph_cache.rb +7 -7
  11. data/app/cache_processors/qa_server/performance_month_graph_cache.rb +7 -7
  12. data/app/cache_processors/qa_server/performance_year_graph_cache.rb +7 -7
  13. data/app/cache_processors/qa_server/scenario_history_cache.rb +7 -7
  14. data/app/cache_processors/qa_server/scenario_history_graph_cache.rb +7 -7
  15. data/app/cache_processors/qa_server/scenario_run_cache.rb +7 -7
  16. data/app/cache_processors/qa_server/scenario_run_failures_cache.rb +7 -7
  17. data/app/cache_processors/qa_server/scenario_run_summary_cache.rb +7 -7
  18. data/app/controllers/concerns/qa_server/authority_validation_behavior.rb +49 -44
  19. data/app/controllers/qa_server/check_status_controller.rb +92 -22
  20. data/app/controllers/qa_server/fetch_controller.rb +36 -36
  21. data/app/controllers/qa_server/monitor_status_controller.rb +105 -105
  22. data/app/jobs/qa_server/history_graph_job.rb +10 -10
  23. data/app/jobs/qa_server/monitor_tests_job.rb +17 -17
  24. data/app/jobs/qa_server/performance_day_graph_job.rb +21 -21
  25. data/app/jobs/qa_server/performance_month_graph_job.rb +21 -21
  26. data/app/jobs/qa_server/performance_per_byte_job.rb +56 -56
  27. data/app/jobs/qa_server/performance_year_graph_job.rb +21 -21
  28. data/app/loggers/qa_server/scenario_logger.rb +74 -4
  29. data/app/models/qa_server/authority_scenario.rb +4 -4
  30. data/app/models/qa_server/authority_status.rb +2 -2
  31. data/app/models/qa_server/authority_status_failure.rb +1 -1
  32. data/app/models/qa_server/performance_history.rb +2 -2
  33. data/app/models/qa_server/scenario_run_history.rb +52 -52
  34. data/app/models/qa_server/scenario_run_registry.rb +2 -2
  35. data/app/models/qa_server/scenarios.rb +26 -26
  36. data/app/models/qa_server/search_scenario.rb +18 -13
  37. data/app/models/qa_server/term_scenario.rb +29 -29
  38. data/app/prepends/prepended_linked_data/find_term.rb +40 -40
  39. data/app/prepends/prepended_linked_data/search_query.rb +36 -36
  40. data/app/prepends/prepended_rdf/rdf_graph.rb +7 -7
  41. data/app/presenters/concerns/qa_server/monitor_status/performance_datatable_behavior.rb +32 -32
  42. data/app/presenters/concerns/qa_server/monitor_status/performance_graph_behavior.rb +64 -64
  43. data/app/presenters/qa_server/check_status_presenter.rb +63 -7
  44. data/app/services/concerns/qa_server/gruff_graph.rb +16 -16
  45. data/app/services/qa_server/authority_loader_service.rb +14 -14
  46. data/app/services/qa_server/authority_validator_service.rb +1 -0
  47. data/app/services/qa_server/database_migrator.rb +14 -14
  48. data/app/services/qa_server/history_graphing_service.rb +30 -30
  49. data/app/services/qa_server/performance_calculator_service.rb +80 -80
  50. data/app/services/qa_server/performance_datatable_service.rb +35 -35
  51. data/app/services/qa_server/performance_graph_data_service.rb +27 -27
  52. data/app/services/qa_server/performance_graphing_service.rb +55 -55
  53. data/app/services/qa_server/performance_per_byte_calculator_service.rb +38 -38
  54. data/app/services/qa_server/performance_per_byte_data_service.rb +7 -7
  55. data/app/services/qa_server/scenarios_loader_service.rb +1 -1
  56. data/app/services/qa_server/time_period_service.rb +21 -21
  57. data/app/validators/qa_server/scenario_validator.rb +99 -87
  58. data/app/validators/qa_server/search_scenario_validator.rb +67 -61
  59. data/app/validators/qa_server/term_scenario_validator.rb +20 -15
  60. data/app/views/qa_server/check_status/index.html.erb +120 -24
  61. data/config/locales/qa_server.en.yml +1 -0
  62. data/lib/generators/qa_server/assets_generator.rb +4 -4
  63. data/lib/generators/qa_server/templates/config/authorities/linked_data/cerl_ld4l_cache.json +2 -2
  64. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_aat_ld4l_cache.json +62 -1
  65. data/lib/generators/qa_server/templates/config/authorities/linked_data/getty_tgn_ld4l_cache.json +28 -4
  66. data/lib/generators/qa_server/templates/config/authorities/linked_data/isni_ld4l_cache.json +90 -0
  67. data/lib/generators/qa_server/templates/config/authorities/linked_data/ligatus_ld4l_cache.json +133 -0
  68. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo2_ld4l_cache.json +248 -0
  69. data/lib/generators/qa_server/templates/config/authorities/linked_data/locnames_rwo3_ld4l_cache.json +248 -0
  70. data/lib/generators/qa_server/templates/config/authorities/linked_data/locvocabs_ld4l_cache.json +117 -0
  71. data/lib/generators/qa_server/templates/config/authorities/linked_data/mesh_nlm_ld4l_cache.json +135 -3
  72. data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_direct.json +1 -0
  73. data/lib/generators/qa_server/templates/config/authorities/linked_data/oclcfast_ld4l_cache.json +1 -4
  74. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/agrovoc_direct_validation.yml +31 -0
  75. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/agrovoc_ld4l_cache_validation.yml +31 -0
  76. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/cerl_ld4l_cache_validation.yml +23 -11
  77. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/dbpedia_ld4l_cache_validation.yml +33 -0
  78. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_direct_validation.yml +35 -0
  79. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/geonames_ld4l_cache_validation.yml +58 -5
  80. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_aat_ld4l_cache_validation.yml +256 -0
  81. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_tgn_ld4l_cache_validation.yml +35 -1
  82. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/getty_ulan_ld4l_cache_validation.yml +37 -0
  83. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/isni_ld4l_cache_validation.yml +10 -0
  84. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/ligatus_ld4l_cache_validation.yml +36 -0
  85. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locdemographics_ld4l_cache_validation.yml +73 -44
  86. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locgenres_ld4l_cache_validation.yml +31 -0
  87. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_ld4l_cache_validation.yml +71 -0
  88. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locnames_rwo_ld4l_cache_validation.yml +70 -2
  89. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locperformance_ld4l_cache_validation.yml +6 -0
  90. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locsubjects_ld4l_cache_validation.yml +32 -0
  91. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/locvocabs_ld4l_cache_validation.yml +184 -0
  92. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/mesh_nlm_ld4l_cache_validation.yml +51 -1
  93. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/nalt_ld4l_cache_validation.yml +37 -0
  94. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclc_fast_validation.yml +71 -5
  95. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_direct_validation.yml +66 -1
  96. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/oclcfast_ld4l_cache_validation.yml +57 -0
  97. data/lib/generators/qa_server/templates/config/authorities/linked_data/scenarios/rda_registry_ld4l_cache_validation.yml +310 -0
  98. data/lib/qa_server/configuration.rb +28 -24
  99. data/lib/qa_server/version.rb +1 -1
  100. data/qa_server.gemspec +1 -1
  101. data/spec/feature/accuracy_spec.rb +32 -0
  102. data/spec/spec_helper.rb +4 -0
  103. metadata +18 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 98cc1d63f4dab80fb1135ddbbef562943e596cae
4
- data.tar.gz: 0e90cb6702c55c536e8d16d9e9d157127f695446
2
+ SHA256:
3
+ metadata.gz: 9b6bf0cabbc1c7f810733789f43c7f0b253f71b0d887fd5be6638aacd3a7e6be
4
+ data.tar.gz: '0988c35dcea9f1dd1dc565db686835bd63a5812c5ed198f0d39f3e83a055e684'
5
5
  SHA512:
6
- metadata.gz: 650b0109a2a047900a74272b1e1662a4ce90df5ce830bc47c3def63f115019c72c0ec2c757b25064de73de1694914781ea4a5c6fa0088f36da2a1bdaaceaed5d
7
- data.tar.gz: 476c4f9489b0a0ea99df541ef1d7067c90b5b9555d24f26a122783947c6e9888a419a0a59161fbbdbd97a07210580e0ace2f6b98bfe63b95bec64316ffa58cb8
6
+ metadata.gz: ee5d4b62a4176cdc00a31446541a9e421506cc1ceca98066ff684a51346c976ced23a6778931365f5023ede8ec4d52784326b0af52865599c078401363e34444
7
+ data.tar.gz: 545ee665c7eceb70ed8459033d86247eeb4a414010b95a41f2cfe4393983e809e9b7756027c6da115df3ea6452f2f97643ba53e2976614f151a2b9578ec59a68
@@ -12,3 +12,9 @@ Lint/UnusedMethodArgument:
12
12
  Style/SpecialGlobalVars:
13
13
  Exclude:
14
14
  - 'tasks/qa_server_dev.rake'
15
+
16
+ Layout/AccessModifierIndentation:
17
+ EnforcedStyle: outdent
18
+
19
+ #Layout/IndentationWidth:
20
+ # Enabled: false
@@ -13,9 +13,9 @@ before_install:
13
13
  - google-chrome-stable --headless --disable-gpu --no-sandbox --remote-debugging-port=9222 http://localhost &
14
14
 
15
15
  rvm:
16
- - 2.4.6
17
- - 2.5.5
18
- - 2.6.3
16
+ - 2.5.8
17
+ - 2.6.6
18
+ - 2.7.1
19
19
 
20
20
  env:
21
21
  global:
@@ -26,8 +26,7 @@ env:
26
26
  # It should be sufficient to test only the latest of the patch versions for a minor version, they
27
27
  # should be compatible across patch versions (only bug fixes are released in patch versions).
28
28
  matrix:
29
- - "RAILS_VERSION=5.1.7"
30
- - "RAILS_VERSION=5.2.3"
29
+ - "RAILS_VERSION=5.2.4"
31
30
 
32
31
  services:
33
32
  - redis-server
@@ -1,3 +1,23 @@
1
+ ### 7.5.0 (2020-12-07)
2
+
3
+ * UI improvements of check_status page
4
+ * pre-populate selection fields with most recently submitted authorities
5
+ * add ability to compare two authorities' accuracy tests in UI
6
+ * update check_status UI to require GO button click to start processing
7
+ * fix javascript to avoid referencing missing elements
8
+ * accuracy test updates
9
+ * accuracy tests default to `context=false` since it is not required for testing
10
+ * allow accuracy tests through rspec to be marked pending (allows for better regression testing)
11
+ * add pending to failing validation tests such that accuracy_spec passes
12
+ * sync tests with production accuracy tests
13
+ * fix typo in `position` and a few syntax errors
14
+ * adjust result_size for validations where passing tests return less than 200 chars
15
+ * split locnames_rwo_ld4l_cache into 3 sets of tests of about 9 each to avoid time out
16
+ * add extended context for getty_aat_ld4l_cache and getty_tgn_ld4l_cache
17
+ * add authority locvocabs_ld4l_cache
18
+ * add request_data to status_logger (e.g. query for search, identifier for term)
19
+ * update to latest bixby v3.0
20
+
1
21
  ### 7.4.0 (2020-04-13)
2
22
 
3
23
  * add size and complexity performance statistics (not auto-generated)
data/Rakefile CHANGED
@@ -9,7 +9,7 @@ end
9
9
  Bundler::GemHelper.install_tasks
10
10
 
11
11
  # Set up the test application prior to running jasmine tasks.
12
- task :setup_test_server do
12
+ task setup_test_server: :environment do
13
13
  require 'engine_cart'
14
14
  EngineCart.load_application!
15
15
  end
@@ -25,6 +25,23 @@ div#example-url-warning {
25
25
  color: #4d0000;
26
26
  }
27
27
 
28
+ div#authority-selector {
29
+ margin-top: 20px;
30
+ margin-bottom: 0px;
31
+ margin-left: 20px;
32
+ margin-right: 20px;
33
+ width: 40%;
34
+ }
35
+
36
+ div#comparison-authority-selector {
37
+ display: none;
38
+ margin-top: 20px;
39
+ margin-bottom: 0px;
40
+ margin-left: 20px;
41
+ margin-right: 20px;
42
+ width: 40%;
43
+ }
44
+
28
45
  div.status-section {
29
46
  margin-top: 50px;
30
47
  }
@@ -43,6 +60,20 @@ table, th, td {
43
60
  padding: 5px;
44
61
  }
45
62
 
63
+ th.comparison-header {
64
+ background-color: #2e2c2c;
65
+ }
66
+
67
+ th.comparison-before {
68
+ text-align: center;
69
+ color: #f4f360;
70
+ }
71
+
72
+ th.comparison-after {
73
+ text-align: center;
74
+ color: #7df34c;
75
+ }
76
+
46
77
  th {
47
78
  background-color: #a1b1c4;
48
79
  color: black;
@@ -52,6 +83,11 @@ td.position {
52
83
  text-align: center;
53
84
  }
54
85
 
86
+ th.bold-left-border,
87
+ td.bold-left-border {
88
+ border-left: 2px solid black;
89
+ }
90
+
55
91
  .status-good {
56
92
  text-align: center;
57
93
  background-color: #ccffcc;
@@ -24,15 +24,15 @@ module QaServer
24
24
  force
25
25
  end
26
26
 
27
- private
27
+ private
28
28
 
29
- # @return [ActiveSupport::TimeWithZone] DateTime at which cache should expire
30
- def cache_expires_at
31
- offset = QaServer.config.hour_offset_to_expire_cache
32
- offset_time = QaServer::TimeService.current_time
33
- offset_time = offset_time.tomorrow unless (offset_time + 5.minutes).hour < offset
34
- offset_time.beginning_of_day + offset.hours - 5.minutes
35
- end
29
+ # @return [ActiveSupport::TimeWithZone] DateTime at which cache should expire
30
+ def cache_expires_at
31
+ offset = QaServer.config.hour_offset_to_expire_cache
32
+ offset_time = QaServer::TimeService.current_time
33
+ offset_time = offset_time.tomorrow unless (offset_time + 5.minutes).hour < offset
34
+ offset_time.beginning_of_day + offset.hours - 5.minutes
35
+ end
36
36
  end
37
37
  end
38
38
  end
@@ -19,11 +19,11 @@ module QaServer
19
19
  Rails.cache.delete(cache_key(job_key))
20
20
  end
21
21
 
22
- private
22
+ private
23
23
 
24
- def cache_key(job_key)
25
- "#{job_key}-job_id"
26
- end
24
+ def cache_key(job_key)
25
+ "#{job_key}-job_id"
26
+ end
27
27
  end
28
28
  end
29
29
  end
@@ -49,45 +49,45 @@ module QaServer
49
49
  cache_to_write = nil # free cache for garbage collection
50
50
  end
51
51
 
52
- private
52
+ private
53
53
 
54
- def swap_cache_hash
55
- cache_to_write = @cache
56
- @cache = {} # reset main cache so new items after write begins are cached in the main cache
57
- QaServer.config.performance_cache_logger.debug("#{self.class}##{__method__} - cache memory BEFORE write: #{ObjectSpace.memsize_of(cache_to_write)}")
58
- cache_to_write
59
- end
54
+ def swap_cache_hash
55
+ cache_to_write = @cache
56
+ @cache = {} # reset main cache so new items after write begins are cached in the main cache
57
+ QaServer.config.performance_cache_logger.debug("#{self.class}##{__method__} - cache memory BEFORE write: #{ObjectSpace.memsize_of(cache_to_write)}")
58
+ cache_to_write
59
+ end
60
60
 
61
- def log(id:)
62
- return if QaServer.config.suppress_logging_performance_datails?
63
- Rails.logger.debug("*** performance data for id: #{id} ***")
64
- Rails.logger.debug(@cache[id].to_yaml)
65
- end
61
+ def log(id:)
62
+ return if QaServer.config.suppress_logging_performance_datails?
63
+ Rails.logger.debug("*** performance data for id: #{id} ***")
64
+ Rails.logger.debug(@cache[id].to_yaml)
65
+ end
66
66
 
67
- def incomplete?(entry)
68
- required_keys.each { |k| return true unless entry.key? k }
69
- false
70
- end
67
+ def incomplete?(entry)
68
+ required_keys.each { |k| return true unless entry.key? k }
69
+ false
70
+ end
71
71
 
72
- def required_keys
73
- [:dt_stamp,
74
- :authority,
75
- :action,
76
- :action_time_ms,
77
- :size_bytes,
78
- :retrieve_time_ms,
79
- :graph_load_time_ms,
80
- :normalization_time_ms]
81
- end
72
+ def required_keys
73
+ [:dt_stamp,
74
+ :authority,
75
+ :action,
76
+ :action_time_ms,
77
+ :size_bytes,
78
+ :retrieve_time_ms,
79
+ :graph_load_time_ms,
80
+ :normalization_time_ms]
81
+ end
82
82
 
83
- def log_write_all(prefix, size_before, cache_size)
84
- if size_before.positive?
85
- QaServer.config.performance_cache_logger.debug("#{prefix} 0 of #{size_before} performance data records were saved") if size_before == cache_size
86
- QaServer.config.performance_cache_logger.debug("#{prefix} #{size_before - cache_size} of #{size_before} performance data records were saved") if size_before > cache_size
87
- else
88
- QaServer.config.performance_cache_logger.debug("#{prefix} 0 of 0 performance data records were saved")
89
- end
90
- QaServer.config.performance_cache_logger.debug("#{prefix} - cache memory AFTER write: #{ObjectSpace.memsize_of @cache}")
83
+ def log_write_all(prefix, size_before, cache_size)
84
+ if size_before.positive?
85
+ QaServer.config.performance_cache_logger.debug("#{prefix} 0 of #{size_before} performance data records were saved") if size_before == cache_size
86
+ QaServer.config.performance_cache_logger.debug("#{prefix} #{size_before - cache_size} of #{size_before} performance data records were saved") if size_before > cache_size
87
+ else
88
+ QaServer.config.performance_cache_logger.debug("#{prefix} 0 of 0 performance data records were saved")
91
89
  end
90
+ QaServer.config.performance_cache_logger.debug("#{prefix} - cache memory AFTER write: #{ObjectSpace.memsize_of @cache}")
91
+ end
92
92
  end
93
93
  end
@@ -13,15 +13,15 @@ module QaServer
13
13
  end
14
14
  end
15
15
 
16
- private
16
+ private
17
17
 
18
- def cache_key
19
- "QaServer::PerformanceDayGraphCache.generate_graphs--latest_generation_initiated"
20
- end
18
+ def cache_key
19
+ "QaServer::PerformanceDayGraphCache.generate_graphs--latest_generation_initiated"
20
+ end
21
21
 
22
- def next_expiry
23
- QaServer::CacheExpiryService.end_of_hour_expiry
24
- end
22
+ def next_expiry
23
+ QaServer::CacheExpiryService.end_of_hour_expiry
24
+ end
25
25
  end
26
26
  end
27
27
  end
@@ -13,15 +13,15 @@ module QaServer
13
13
  end
14
14
  end
15
15
 
16
- private
16
+ private
17
17
 
18
- def cache_key
19
- "QaServer::PerformanceMonthGraphCache.generate_graphs--latest_generation_initiated"
20
- end
18
+ def cache_key
19
+ "QaServer::PerformanceMonthGraphCache.generate_graphs--latest_generation_initiated"
20
+ end
21
21
 
22
- def next_expiry
23
- QaServer::CacheExpiryService.cache_expiry
24
- end
22
+ def next_expiry
23
+ QaServer::CacheExpiryService.cache_expiry
24
+ end
25
25
  end
26
26
  end
27
27
  end
@@ -13,15 +13,15 @@ module QaServer
13
13
  end
14
14
  end
15
15
 
16
- private
16
+ private
17
17
 
18
- def cache_key
19
- "QaServer::PerformanceYearGraphCache.generate_graphs--latest_generation_initiated"
20
- end
18
+ def cache_key
19
+ "QaServer::PerformanceYearGraphCache.generate_graphs--latest_generation_initiated"
20
+ end
21
21
 
22
- def next_expiry
23
- QaServer::CacheExpiryService.cache_expiry
24
- end
22
+ def next_expiry
23
+ QaServer::CacheExpiryService.cache_expiry
24
+ end
25
25
  end
26
26
  end
27
27
  end
@@ -21,15 +21,15 @@ module QaServer
21
21
  end
22
22
  end
23
23
 
24
- private
24
+ private
25
25
 
26
- def cache_key_for_historical_data
27
- SCENARIO_RUN_HISTORY_DATA_CACHE_KEY
28
- end
26
+ def cache_key_for_historical_data
27
+ SCENARIO_RUN_HISTORY_DATA_CACHE_KEY
28
+ end
29
29
 
30
- def next_expiry
31
- QaServer::CacheExpiryService.cache_expiry
32
- end
30
+ def next_expiry
31
+ QaServer::CacheExpiryService.cache_expiry
32
+ end
33
33
  end
34
34
  end
35
35
  end
@@ -13,15 +13,15 @@ module QaServer
13
13
  end
14
14
  end
15
15
 
16
- private
16
+ private
17
17
 
18
- def cache_key
19
- "QaServer::ScenarioHistoryGraphCache.generate_graph--latest_generation_initiated"
20
- end
18
+ def cache_key
19
+ "QaServer::ScenarioHistoryGraphCache.generate_graph--latest_generation_initiated"
20
+ end
21
21
 
22
- def next_expiry
23
- QaServer::CacheExpiryService.cache_expiry
24
- end
22
+ def next_expiry
23
+ QaServer::CacheExpiryService.cache_expiry
24
+ end
25
25
  end
26
26
  end
27
27
  end
@@ -14,15 +14,15 @@ module QaServer
14
14
  end
15
15
  end
16
16
 
17
- private
17
+ private
18
18
 
19
- def cache_key
20
- "QaServer::ScenarioRunCache.run_tests--latest_run_initiated"
21
- end
19
+ def cache_key
20
+ "QaServer::ScenarioRunCache.run_tests--latest_run_initiated"
21
+ end
22
22
 
23
- def next_expiry
24
- QaServer::CacheExpiryService.cache_expiry
25
- end
23
+ def next_expiry
24
+ QaServer::CacheExpiryService.cache_expiry
25
+ end
26
26
  end
27
27
  end
28
28
  end
@@ -37,15 +37,15 @@ module QaServer
37
37
  end
38
38
  end
39
39
 
40
- private
40
+ private
41
41
 
42
- def cache_key_for_run_failures(id)
43
- "#{SCENARIO_RUN_FAILURE_DATA_CACHE_KEY}--#{id}{"
44
- end
42
+ def cache_key_for_run_failures(id)
43
+ "#{SCENARIO_RUN_FAILURE_DATA_CACHE_KEY}--#{id}{"
44
+ end
45
45
 
46
- def next_expiry
47
- QaServer::CacheExpiryService.cache_expiry
48
- end
46
+ def next_expiry
47
+ QaServer::CacheExpiryService.cache_expiry
48
+ end
49
49
  end
50
50
  end
51
51
  end
@@ -26,15 +26,15 @@ module QaServer
26
26
  end
27
27
  end
28
28
 
29
- private
29
+ private
30
30
 
31
- def cache_key_for_run_summary(id)
32
- "#{SCENARIO_RUN_SUMMARY_DATA_CACHE_KEY}--#{id}"
33
- end
31
+ def cache_key_for_run_summary(id)
32
+ "#{SCENARIO_RUN_SUMMARY_DATA_CACHE_KEY}--#{id}"
33
+ end
34
34
 
35
- def next_expiry
36
- QaServer::CacheExpiryService.cache_expiry
37
- end
35
+ def next_expiry
36
+ QaServer::CacheExpiryService.cache_expiry
37
+ end
38
38
  end
39
39
  end
40
40
  end