foreman_rh_cloud 6.0.43 → 7.0.45
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/insights_cloud/api/machine_telemetries_controller.rb +11 -5
- data/app/helpers/foreman_inventory_upload_host_helper.rb +1 -3
- data/app/models/concerns/rh_cloud_host.rb +10 -0
- data/config/package-lock.json.plugin +9880 -6929
- data/db/migrate/20221102110254_fix_rh_cloud_settings_category_to_dsl.rb +7 -0
- data/lib/foreman_inventory_upload/async/delayed_start.rb +51 -0
- data/lib/foreman_inventory_upload/async/generate_all_reports_job.rb +12 -9
- data/lib/foreman_inventory_upload/async/shell_process.rb +9 -1
- data/lib/foreman_inventory_upload/async/upload_report_job.rb +3 -1
- data/lib/foreman_rh_cloud/async/exponential_backoff.rb +55 -0
- data/lib/foreman_rh_cloud/engine.rb +8 -1
- data/lib/foreman_rh_cloud/version.rb +1 -1
- data/lib/foreman_rh_cloud.rb +4 -0
- data/lib/insights_cloud/async/insights_full_sync.rb +3 -1
- data/lib/insights_cloud/async/insights_resolutions_sync.rb +3 -1
- data/lib/insights_cloud/async/insights_rules_sync.rb +3 -1
- data/lib/insights_cloud/async/insights_scheduled_sync.rb +4 -1
- data/lib/inventory_sync/async/host_result.rb +1 -1
- data/lib/inventory_sync/async/inventory_scheduled_sync.rb +5 -2
- data/lib/inventory_sync/async/query_inventory_job.rb +4 -1
- data/package.json +6 -6
- data/test/controllers/insights_cloud/api/machine_telemetries_controller_test.rb +11 -0
- data/test/jobs/exponential_backoff_test.rb +45 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButton.js +1 -2
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/SyncButton.test.js.snap +0 -5
- data/webpack/ForemanRhCloudFills.js +1 -1
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTable.js +4 -1
- data/webpack/InsightsHostDetailsTab/InsightsTotalRiskChart.js +4 -1
- data/webpack/InsightsHostDetailsTab/NewHostDetailsTab.js +4 -3
- metadata +8 -4
- data/app/overrides/hosts_list.rb +0 -13
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_rh_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.0.45
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman Red Hat Cloud team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katello
|
@@ -160,7 +160,6 @@ files:
|
|
160
160
|
- app/models/inventory_sync/inventory_status.rb
|
161
161
|
- app/models/task_output_line.rb
|
162
162
|
- app/models/task_output_status.rb
|
163
|
-
- app/overrides/hosts_list.rb
|
164
163
|
- app/overrides/layouts/base/styles.html.erb.deface
|
165
164
|
- app/services/foreman_rh_cloud/branch_info.rb
|
166
165
|
- app/services/foreman_rh_cloud/cert_auth.rb
|
@@ -197,10 +196,12 @@ files:
|
|
197
196
|
- db/migrate/20210720000001_remove_old_insights_statuses.foreman_rh_cloud.rb
|
198
197
|
- db/migrate/20211027000001_create_task_output.foreman_rh_cloud.rb
|
199
198
|
- db/migrate/20220321000001_add_unique_to_insights_rules.foreman_rh_cloud.rb
|
199
|
+
- db/migrate/20221102110254_fix_rh_cloud_settings_category_to_dsl.rb
|
200
200
|
- db/seeds.d/179_ui_notifications.rb
|
201
201
|
- db/seeds.d/50_job_templates.rb
|
202
202
|
- lib/foreman_inventory_upload.rb
|
203
203
|
- lib/foreman_inventory_upload/async/async_helpers.rb
|
204
|
+
- lib/foreman_inventory_upload/async/delayed_start.rb
|
204
205
|
- lib/foreman_inventory_upload/async/generate_all_reports_job.rb
|
205
206
|
- lib/foreman_inventory_upload/async/generate_report_job.rb
|
206
207
|
- lib/foreman_inventory_upload/async/progress_output.rb
|
@@ -217,6 +218,7 @@ files:
|
|
217
218
|
- lib/foreman_inventory_upload/notifications/manifest_import_success_notification_override.rb
|
218
219
|
- lib/foreman_inventory_upload/scripts/uploader.sh.erb
|
219
220
|
- lib/foreman_rh_cloud.rb
|
221
|
+
- lib/foreman_rh_cloud/async/exponential_backoff.rb
|
220
222
|
- lib/foreman_rh_cloud/engine.rb
|
221
223
|
- lib/foreman_rh_cloud/settings.rb
|
222
224
|
- lib/foreman_rh_cloud/version.rb
|
@@ -258,6 +260,7 @@ files:
|
|
258
260
|
- test/factories/inventory_upload_factories.rb
|
259
261
|
- test/jobs/cloud_connector_announce_task_test.rb
|
260
262
|
- test/jobs/connector_playbook_execution_reporter_task_test.rb
|
263
|
+
- test/jobs/exponential_backoff_test.rb
|
261
264
|
- test/jobs/insights_client_status_aging_test.rb
|
262
265
|
- test/jobs/insights_full_sync_test.rb
|
263
266
|
- test/jobs/insights_resolutions_sync_test.rb
|
@@ -675,7 +678,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
675
678
|
- !ruby/object:Gem::Version
|
676
679
|
version: '0'
|
677
680
|
requirements: []
|
678
|
-
rubygems_version: 3.3.
|
681
|
+
rubygems_version: 3.3.26
|
679
682
|
signing_key:
|
680
683
|
specification_version: 4
|
681
684
|
summary: Summary of ForemanRhCloud.
|
@@ -693,6 +696,7 @@ test_files:
|
|
693
696
|
- test/factories/inventory_upload_factories.rb
|
694
697
|
- test/jobs/cloud_connector_announce_task_test.rb
|
695
698
|
- test/jobs/connector_playbook_execution_reporter_task_test.rb
|
699
|
+
- test/jobs/exponential_backoff_test.rb
|
696
700
|
- test/jobs/insights_client_status_aging_test.rb
|
697
701
|
- test/jobs/insights_full_sync_test.rb
|
698
702
|
- test/jobs/insights_resolutions_sync_test.rb
|
data/app/overrides/hosts_list.rb
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
Deface::Override.new(
|
2
|
-
virtual_path: 'hosts/_list',
|
3
|
-
name: 'insights_hits_header',
|
4
|
-
insert_before: 'thead tr th.hidden-xs:first-of-type',
|
5
|
-
text: '<th class="hidden-xs ellipsis" width="12%"><%= sort :insights_recommendations_count, :as => _("Recommendations")%></th>'
|
6
|
-
)
|
7
|
-
|
8
|
-
Deface::Override.new(
|
9
|
-
virtual_path: 'hosts/_list',
|
10
|
-
name: 'insights_hits_cells',
|
11
|
-
insert_before: 'tbody tr td.hidden-xs:first-of-type',
|
12
|
-
text: '<%= hits_counts_cell(host) %>'
|
13
|
-
)
|