qa_server 2.2.0 → 2.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/app/models/qa_server/performance_history.rb +164 -60
- data/app/models/qa_server/term_scenario.rb +1 -1
- data/app/prepends/prepended_linked_data/find_term.rb +2 -1
- data/app/prepends/prepended_linked_data/search_query.rb +1 -0
- data/app/presenters/concerns/qa_server/monitor_status/gruff_graph.rb +21 -0
- data/app/presenters/qa_server/monitor_status/current_status_presenter.rb +76 -0
- data/app/presenters/qa_server/monitor_status/history_presenter.rb +138 -0
- data/app/presenters/qa_server/monitor_status/performance_presenter.rb +253 -0
- data/app/presenters/qa_server/monitor_status_presenter.rb +23 -310
- data/app/views/qa_server/monitor_status/index.html.erb +38 -1
- data/config/locales/qa_server.en.yml +8 -1
- data/lib/generators/qa_server/templates/config/initializers/qa_server.rb +8 -0
- data/lib/qa_server/configuration.rb +20 -0
- data/lib/qa_server/version.rb +1 -1
- metadata +6 -2
@@ -1,18 +1,38 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
module QaServer
|
3
3
|
class Configuration
|
4
|
+
# Displays a graph of historical test data when true
|
5
|
+
# @param [Boolean] display history graph when true
|
4
6
|
attr_writer :display_historical_graph
|
5
7
|
def display_historical_graph?
|
6
8
|
return @display_historical_graph unless @display_historical_graph.nil?
|
7
9
|
@display_historical_graph = false
|
8
10
|
end
|
9
11
|
|
12
|
+
# Displays a datatable of historical test data when true
|
13
|
+
# @param [Boolean] display history datatable when true
|
10
14
|
attr_writer :display_historical_datatable
|
11
15
|
def display_historical_datatable?
|
12
16
|
return @display_historical_datatable unless @display_historical_datatable.nil?
|
13
17
|
@display_historical_datatable = true
|
14
18
|
end
|
15
19
|
|
20
|
+
# Displays a graph of performance test data when true
|
21
|
+
# @param [Boolean] display performance graph when true
|
22
|
+
attr_writer :display_performance_graph
|
23
|
+
def display_performance_graph?
|
24
|
+
return @display_performance_graph unless @display_performance_graph.nil?
|
25
|
+
@display_performance_graph = false
|
26
|
+
end
|
27
|
+
|
28
|
+
# Displays a datatable of performance test data when true
|
29
|
+
# @param [Boolean] display performance datatable when true
|
30
|
+
attr_writer :display_performance_datatable
|
31
|
+
def display_performance_datatable?
|
32
|
+
return @display_performance_datatable unless @display_performance_datatable.nil?
|
33
|
+
@display_performance_datatable = true
|
34
|
+
end
|
35
|
+
|
16
36
|
# Additional menu items to add to the main navigation menu's set of left justified menu items
|
17
37
|
# @param [Array<Hash<String,String>>] array of menu items to append with hash key = menu item label to display and hash value = URL for the menu item link
|
18
38
|
# @example
|
data/lib/qa_server/version.rb
CHANGED
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.2.
|
4
|
+
version: 2.2.1
|
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-
|
11
|
+
date: 2019-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -217,9 +217,13 @@ files:
|
|
217
217
|
- app/models/qa_server/term_scenario.rb
|
218
218
|
- app/prepends/prepended_linked_data/find_term.rb
|
219
219
|
- app/prepends/prepended_linked_data/search_query.rb
|
220
|
+
- app/presenters/concerns/qa_server/monitor_status/gruff_graph.rb
|
220
221
|
- app/presenters/qa_server/authority_list_presenter.rb
|
221
222
|
- app/presenters/qa_server/check_status_presenter.rb
|
222
223
|
- app/presenters/qa_server/fetch_presenter.rb
|
224
|
+
- app/presenters/qa_server/monitor_status/current_status_presenter.rb
|
225
|
+
- app/presenters/qa_server/monitor_status/history_presenter.rb
|
226
|
+
- app/presenters/qa_server/monitor_status/performance_presenter.rb
|
223
227
|
- app/presenters/qa_server/monitor_status_presenter.rb
|
224
228
|
- app/presenters/qa_server/navmenu_presenter.rb
|
225
229
|
- app/services/qa_server/authority_lister_service.rb
|