foreman_rh_cloud 3.0.16 → 3.0.17

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 (69) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/concerns/insights_cloud/candlepin_cache.rb +28 -0
  3. data/app/controllers/concerns/insights_cloud/client_authentication.rb +23 -0
  4. data/app/controllers/foreman_inventory_upload/accounts_controller.rb +1 -1
  5. data/app/controllers/foreman_inventory_upload/uploads_controller.rb +1 -8
  6. data/app/controllers/insights_cloud/api/machine_telemetries_controller.rb +73 -0
  7. data/app/controllers/insights_cloud/hits_controller.rb +3 -3
  8. data/app/controllers/insights_cloud/tasks_controller.rb +6 -1
  9. data/app/models/insights_hit.rb +16 -1
  10. data/app/models/insights_resolution.rb +3 -0
  11. data/app/models/insights_rule.rb +3 -0
  12. data/app/models/setting/rh_cloud.rb +12 -2
  13. data/app/services/foreman_rh_cloud/branch_info.rb +57 -0
  14. data/app/services/foreman_rh_cloud/cloud_request_forwarder.rb +102 -0
  15. data/config/routes.rb +10 -0
  16. data/db/migrate/20210214000001_create_rules_and_resolutions.foreman_rh_cloud.rb +24 -0
  17. data/db/migrate/20210214000002_add_rule_id_to_hits.foreman_rh_cloud.rb +5 -0
  18. data/lib/foreman_inventory_upload/generators/slice.rb +3 -3
  19. data/lib/foreman_rh_cloud.rb +9 -0
  20. data/lib/foreman_rh_cloud/engine.rb +1 -0
  21. data/lib/foreman_rh_cloud/version.rb +1 -1
  22. data/lib/insights_cloud.rb +4 -0
  23. data/lib/insights_cloud/async/insights_full_sync.rb +29 -0
  24. data/lib/insights_cloud/async/insights_rules_sync.rb +80 -0
  25. data/lib/insights_cloud/async/rules_result.rb +13 -0
  26. data/package.json +1 -1
  27. data/test/controllers/insights_cloud/api/machine_telemetries_controller_test.rb +107 -0
  28. data/test/factories/insights_factories.rb +2 -1
  29. data/test/factories/inventory_upload_factories.rb +12 -0
  30. data/test/jobs/insights_full_sync_test.rb +17 -0
  31. data/test/jobs/insights_rules_sync_test.rb +198 -0
  32. data/test/unit/services/foreman_rh_cloud/branch_info_test.rb +60 -0
  33. data/test/unit/services/foreman_rh_cloud/cloud_request_forwarder_test.rb +106 -0
  34. data/test/unit/slice_generator_test.rb +29 -3
  35. data/webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js +1 -1
  36. data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap +1 -1
  37. data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap +1 -1
  38. data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListSelectors.test.js.snap +2 -2
  39. data/webpack/ForemanInventoryUpload/Components/Dashboard/DashboardActions.js +1 -1
  40. data/webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/DashboardActions.test.js +4 -4
  41. data/webpack/ForemanInventoryUpload/Components/PageHeader/PageHeader.js +2 -0
  42. data/webpack/ForemanInventoryUpload/Components/PageHeader/PageHeader.scss +12 -0
  43. data/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageHeader.test.js.snap +1 -0
  44. data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/SettingsWarning.js +64 -0
  45. data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/SettingsWarning.test.js +18 -0
  46. data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/__snapshots__/SettingsWarning.test.js.snap +30 -0
  47. data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/index.js +25 -0
  48. data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButton.js +2 -2
  49. data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButton.test.js +1 -1
  50. data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTable.js +9 -5
  51. data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableActions.js +55 -30
  52. data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js +10 -9
  53. data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableHelpers.js +14 -6
  54. data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableSelectors.js +4 -0
  55. data/webpack/InsightsCloudSync/Components/InsightsTable/SelectAllAlert.js +4 -10
  56. data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/InsightsTableActions.test.js +48 -0
  57. data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTable.test.js.snap +11 -24
  58. data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTableActions.test.js.snap +132 -0
  59. data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTableSelectors.test.js.snap +1 -0
  60. data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/fixtures.js +1 -1
  61. data/webpack/InsightsCloudSync/Components/InsightsTable/table.scss +10 -0
  62. data/webpack/InsightsCloudSync/InsightsCloudSync.js +18 -16
  63. data/webpack/InsightsCloudSync/InsightsCloudSyncActions.js +23 -20
  64. data/webpack/InsightsCloudSync/InsightsCloudSyncConstants.js +1 -1
  65. data/webpack/InsightsCloudSync/__snapshots__/InsightsCloudSync.test.js.snap +36 -36
  66. data/webpack/InsightsCloudSync/__tests__/InsightsCloudSyncActions.test.js +9 -0
  67. data/webpack/InsightsCloudSync/__tests__/__snapshots__/InsightsCloudSyncActions.test.js.snap +11 -0
  68. data/webpack/__mocks__/foremanReact/redux/API/index.js +1 -0
  69. metadata +29 -2
@@ -0,0 +1,132 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`insights table actions should clearAllSelection 1`] = `
4
+ Array [
5
+ Array [
6
+ Object {
7
+ "payload": Object {
8
+ "selectedIds": Object {},
9
+ },
10
+ "type": "INSIGHTS_SET_SELECTED_IDS",
11
+ },
12
+ ],
13
+ Array [
14
+ Object {
15
+ "payload": Object {
16
+ "showSelectAllAlert": false,
17
+ },
18
+ "type": "INSIGHTS_SET_SELECT_ALL_ALERT",
19
+ },
20
+ ],
21
+ Array [
22
+ [Function],
23
+ ],
24
+ ]
25
+ `;
26
+
27
+ exports[`insights table actions should fetchInsights 1`] = `
28
+ Array [
29
+ Array [
30
+ Object {
31
+ "payload": Object {
32
+ "selectedIds": Object {
33
+ "16": true,
34
+ "17": true,
35
+ },
36
+ },
37
+ "type": "INSIGHTS_SET_SELECTED_IDS",
38
+ },
39
+ ],
40
+ Array [
41
+ Object {
42
+ "payload": Object {
43
+ "showSelectAllAlert": true,
44
+ },
45
+ "type": "INSIGHTS_SET_SELECT_ALL_ALERT",
46
+ },
47
+ ],
48
+ Array [
49
+ [Function],
50
+ ],
51
+ Array [
52
+ Object {
53
+ "key": "INSIGHTS_HITS",
54
+ "params": Object {
55
+ "order": " ",
56
+ "page": 2,
57
+ "per_page": 7,
58
+ "search": "",
59
+ },
60
+ "type": "get",
61
+ "url": "/insights_cloud/hits",
62
+ },
63
+ ],
64
+ Array [
65
+ Object {
66
+ "payload": Object {
67
+ "args": Array [
68
+ Object {
69
+ "pathname": "/foreman_rh_cloud/insights_cloud",
70
+ "search": "?page=2&per_page=7&search=&sort_by=&sort_order=&select_all=true",
71
+ },
72
+ ],
73
+ "method": "push",
74
+ },
75
+ "type": "@@router/CALL_HISTORY_METHOD",
76
+ },
77
+ ],
78
+ ]
79
+ `;
80
+
81
+ exports[`insights table actions should selectAll 1`] = `
82
+ Array [
83
+ Array [
84
+ [Function],
85
+ ],
86
+ Array [
87
+ Object {
88
+ "payload": Object {
89
+ "isAllSelected": true,
90
+ },
91
+ "type": "INSIGHTS_SET_SELECT_ALL",
92
+ },
93
+ ],
94
+ ]
95
+ `;
96
+
97
+ exports[`insights table actions should selectByIds 1`] = `
98
+ Object {
99
+ "payload": Object {
100
+ "selectedIds": Object {
101
+ "1": true,
102
+ "5": true,
103
+ },
104
+ },
105
+ "type": "INSIGHTS_SET_SELECTED_IDS",
106
+ }
107
+ `;
108
+
109
+ exports[`insights table actions should setSelectAll false 1`] = `
110
+ Array [
111
+ Array [
112
+ [Function],
113
+ ],
114
+ Array [
115
+ Object {
116
+ "payload": Object {
117
+ "isAllSelected": false,
118
+ },
119
+ "type": "INSIGHTS_SET_SELECT_ALL",
120
+ },
121
+ ],
122
+ ]
123
+ `;
124
+
125
+ exports[`insights table actions should setSelectAllAlert true 1`] = `
126
+ Object {
127
+ "payload": Object {
128
+ "showSelectAllAlert": true,
129
+ },
130
+ "type": "INSIGHTS_SET_SELECT_ALL_ALERT",
131
+ }
132
+ `;
@@ -59,6 +59,7 @@ Object {
59
59
 
60
60
  exports[`InsightsTable selectors should return queryParams 1`] = `
61
61
  Object {
62
+ "isSelectAll": false,
62
63
  "page": 1,
63
64
  "perPage": 7,
64
65
  "query": "total_risk < 3",
@@ -1,7 +1,7 @@
1
1
  import Immutable from 'seamless-immutable';
2
2
  import { noop } from 'patternfly-react';
3
3
 
4
- const hits = Immutable([
4
+ export const hits = Immutable([
5
5
  {
6
6
  id: 16,
7
7
  host_id: 1,
@@ -1 +1,11 @@
1
1
  @import '~@redhat-cloud-services/frontend-components/index.css';
2
+
3
+ .rh-cloud-insights {
4
+ .recommendations-table {
5
+ .pf-c-table__check {
6
+ input:disabled {
7
+ display: none;
8
+ }
9
+ }
10
+ }
11
+ }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Button } from 'patternfly-react';
2
+ import { Button } from '@patternfly/react-core';
3
3
  import PropTypes from 'prop-types';
4
4
  import { translate as __ } from 'foremanReact/common/I18n';
5
5
  import PageLayout from 'foremanReact/routes/common/PageLayout/PageLayout';
@@ -25,21 +25,23 @@ const InsightsCloudSync = ({
25
25
  );
26
26
  }
27
27
  return (
28
- <PageLayout
29
- searchable
30
- searchProps={INSIGHTS_SEARCH_PROPS}
31
- onSearch={nextQuery => fetchInsights({ query: nextQuery, page: 1 })}
32
- header={INSIGHTS_SYNC_PAGE_TITLE}
33
- toolbarButtons={
34
- <Button bsStyle="primary" onClick={syncInsights}>
35
- {__('Sync now')}
36
- </Button>
37
- }
38
- searchQuery={query}
39
- beforeToolbarComponent={<InsightsHeader />}
40
- >
41
- <InsightsTable />
42
- </PageLayout>
28
+ <div className="rh-cloud-insights">
29
+ <PageLayout
30
+ searchable
31
+ searchProps={INSIGHTS_SEARCH_PROPS}
32
+ onSearch={nextQuery => fetchInsights({ query: nextQuery, page: 1 })}
33
+ header={INSIGHTS_SYNC_PAGE_TITLE}
34
+ toolbarButtons={
35
+ <Button variant="primary" onClick={syncInsights}>
36
+ {__('Start recommendations sync')}
37
+ </Button>
38
+ }
39
+ searchQuery={query}
40
+ beforeToolbarComponent={<InsightsHeader />}
41
+ >
42
+ <InsightsTable />
43
+ </PageLayout>
44
+ </div>
43
45
  );
44
46
  };
45
47
 
@@ -1,22 +1,25 @@
1
- import { API } from 'foremanReact/redux/API';
2
- import { addToast } from 'foremanReact/redux/actions/toasts';
1
+ import React from 'react';
2
+ import { post } from 'foremanReact/redux/API';
3
+ import { translate as __ } from 'foremanReact/common/I18n';
3
4
  import { insightsCloudUrl } from './InsightsCloudSyncHelpers';
4
- import { INSIGHTS_CLOUD_SYNC_SUCCESS } from './InsightsCloudSyncConstants';
5
+ import { INSIGHTS_CLOUD_SYNC } from './InsightsCloudSyncConstants';
6
+ import { foremanUrl } from '../ForemanRhCloudHelpers';
5
7
 
6
- export const syncInsights = () => async dispatch => {
7
- try {
8
- await API.post(insightsCloudUrl('tasks'));
9
- dispatch({
10
- type: INSIGHTS_CLOUD_SYNC_SUCCESS,
11
- payload: {},
12
- });
13
- } catch ({ message }) {
14
- dispatch(
15
- addToast({
16
- sticky: true,
17
- type: 'error',
18
- message,
19
- })
20
- );
21
- }
22
- };
8
+ export const syncInsights = () =>
9
+ post({
10
+ key: INSIGHTS_CLOUD_SYNC,
11
+ url: insightsCloudUrl('tasks'),
12
+ successToast: response => (
13
+ <span>
14
+ {__('Recommendation sync has started: ')}
15
+ <a
16
+ target="_blank"
17
+ rel="noopener noreferrer"
18
+ href={foremanUrl(`/foreman_tasks/tasks/${response.data?.task?.id}`)}
19
+ >
20
+ {__('view the task in progress')}
21
+ </a>
22
+ </span>
23
+ ),
24
+ errorToast: error => `${__('Recommendation sync has failed: ')} ${error}`,
25
+ });
@@ -2,7 +2,7 @@ import { translate as __ } from 'foremanReact/common/I18n';
2
2
  import { getControllerSearchProps } from 'foremanReact/constants';
3
3
  import { foremanUrl } from '../ForemanRhCloudHelpers';
4
4
 
5
- export const INSIGHTS_CLOUD_SYNC_SUCCESS = 'INSIGHTS_CLOUD_SYNC_SUCCESS';
5
+ export const INSIGHTS_CLOUD_SYNC = 'INSIGHTS_CLOUD_SYNC';
6
6
 
7
7
  export const INSIGHTS_SYNC_PAGE_TITLE = __('Red Hat Insights');
8
8
 
@@ -1,43 +1,43 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`InsightsCloudSync render 1`] = `
4
- <PageLayout
5
- beforeToolbarComponent={<InsightsHeader />}
6
- header="Red Hat Insights"
7
- onSearch={[Function]}
8
- searchProps={
9
- Object {
10
- "autocomplete": Object {
11
- "id": "searchBar",
12
- "searchQuery": "",
13
- "url": "/insights_cloud/hits/auto_complete_search",
14
- "useKeyShortcuts": true,
15
- },
16
- "bookmarks": Object {
17
- "canCreateBookmarks": true,
18
- "documentationUrl": "4.1.5Searching",
19
- "url": "/api/bookmarks",
20
- },
21
- "controller": "insights_hits",
22
- }
23
- }
24
- searchQuery=""
25
- searchable={true}
26
- toolbarButtons={
27
- <Button
28
- active={false}
29
- block={false}
30
- bsClass="btn"
31
- bsStyle="primary"
32
- disabled={false}
33
- onClick={[Function]}
34
- >
35
- Sync now
36
- </Button>
37
- }
4
+ <div
5
+ className="rh-cloud-insights"
38
6
  >
39
- <Connect(InsightsTable) />
40
- </PageLayout>
7
+ <PageLayout
8
+ beforeToolbarComponent={<InsightsHeader />}
9
+ header="Red Hat Insights"
10
+ onSearch={[Function]}
11
+ searchProps={
12
+ Object {
13
+ "autocomplete": Object {
14
+ "id": "searchBar",
15
+ "searchQuery": "",
16
+ "url": "/insights_cloud/hits/auto_complete_search",
17
+ "useKeyShortcuts": true,
18
+ },
19
+ "bookmarks": Object {
20
+ "canCreateBookmarks": true,
21
+ "documentationUrl": "4.1.5Searching",
22
+ "url": "/api/bookmarks",
23
+ },
24
+ "controller": "insights_hits",
25
+ }
26
+ }
27
+ searchQuery=""
28
+ searchable={true}
29
+ toolbarButtons={
30
+ <Button
31
+ onClick={[Function]}
32
+ variant="primary"
33
+ >
34
+ Start recommendations sync
35
+ </Button>
36
+ }
37
+ >
38
+ <Connect(InsightsTable) />
39
+ </PageLayout>
40
+ </div>
41
41
  `;
42
42
 
43
43
  exports[`InsightsCloudSync render no token 1`] = `
@@ -0,0 +1,9 @@
1
+ import { testActionSnapshotWithFixtures } from '@theforeman/test';
2
+ import { syncInsights } from '../InsightsCloudSyncActions';
3
+
4
+ const fixtures = {
5
+ 'should syncInsights': () => syncInsights(),
6
+ };
7
+
8
+ describe('Insights cloud sync actions', () =>
9
+ testActionSnapshotWithFixtures(fixtures));
@@ -0,0 +1,11 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`Insights cloud sync actions should syncInsights 1`] = `
4
+ Object {
5
+ "errorToast": [Function],
6
+ "key": "INSIGHTS_CLOUD_SYNC",
7
+ "successToast": [Function],
8
+ "type": "post-some-type",
9
+ "url": "/insights_cloud/tasks",
10
+ }
11
+ `;
@@ -2,6 +2,7 @@ export const get = data => ({ type: 'get-some-type', ...data });
2
2
  export const put = data => ({ type: 'put-some-type', ...data });
3
3
  export const post = data => ({ type: 'post-some-type', ...data });
4
4
  export const patch = data => ({ type: 'patch-some-type', ...data });
5
+
5
6
  export const API = {
6
7
  get: jest.fn(),
7
8
  put: jest.fn(),
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: 3.0.16
4
+ version: 3.0.17
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: 2021-02-09 00:00:00.000000000 Z
11
+ date: 2021-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: katello
@@ -132,10 +132,13 @@ files:
132
132
  - LICENSE
133
133
  - README.md
134
134
  - Rakefile
135
+ - app/controllers/concerns/insights_cloud/candlepin_cache.rb
136
+ - app/controllers/concerns/insights_cloud/client_authentication.rb
135
137
  - app/controllers/foreman_inventory_upload/accounts_controller.rb
136
138
  - app/controllers/foreman_inventory_upload/reports_controller.rb
137
139
  - app/controllers/foreman_inventory_upload/tasks_controller.rb
138
140
  - app/controllers/foreman_inventory_upload/uploads_controller.rb
141
+ - app/controllers/insights_cloud/api/machine_telemetries_controller.rb
139
142
  - app/controllers/insights_cloud/hits_controller.rb
140
143
  - app/controllers/insights_cloud/settings_controller.rb
141
144
  - app/controllers/insights_cloud/tasks_controller.rb
@@ -144,12 +147,16 @@ files:
144
147
  - app/models/concerns/rh_cloud_host.rb
145
148
  - app/models/insights_facet.rb
146
149
  - app/models/insights_hit.rb
150
+ - app/models/insights_resolution.rb
151
+ - app/models/insights_rule.rb
147
152
  - app/models/inventory_sync/inventory_status.rb
148
153
  - app/models/setting/rh_cloud.rb
149
154
  - app/overrides/hosts_list.rb
150
155
  - app/overrides/layouts/base/styles.html.erb.deface
156
+ - app/services/foreman_rh_cloud/branch_info.rb
151
157
  - app/services/foreman_rh_cloud/cloud_auth.rb
152
158
  - app/services/foreman_rh_cloud/cloud_connector.rb
159
+ - app/services/foreman_rh_cloud/cloud_request_forwarder.rb
153
160
  - app/views/hosts/_insights_tab.html.erb
154
161
  - app/views/layouts/foreman_rh_cloud/application.html.erb
155
162
  - config/Gemfile.lock.gh_test
@@ -161,6 +168,8 @@ files:
161
168
  - db/migrate/20200727111529_add_uuid_column_to_insights_facets.foreman_rh_cloud.rb
162
169
  - db/migrate/20201007115752_add_hits_count_to_insights_facets_table.foreman_rh_cloud.rb
163
170
  - db/migrate/20201007121540_setup_hits_count_cache.foreman_rh_cloud.rb
171
+ - db/migrate/20210214000001_create_rules_and_resolutions.foreman_rh_cloud.rb
172
+ - db/migrate/20210214000002_add_rule_id_to_hits.foreman_rh_cloud.rb
164
173
  - lib/foreman_inventory_upload.rb
165
174
  - lib/foreman_inventory_upload/async/async_helpers.rb
166
175
  - lib/foreman_inventory_upload/async/generate_all_reports_job.rb
@@ -182,7 +191,9 @@ files:
182
191
  - lib/foreman_rh_cloud/version.rb
183
192
  - lib/insights_cloud.rb
184
193
  - lib/insights_cloud/async/insights_full_sync.rb
194
+ - lib/insights_cloud/async/insights_rules_sync.rb
185
195
  - lib/insights_cloud/async/insights_scheduled_sync.rb
196
+ - lib/insights_cloud/async/rules_result.rb
186
197
  - lib/inventory_sync/async/host_result.rb
187
198
  - lib/inventory_sync/async/inventory_full_sync.rb
188
199
  - lib/tasks/foreman_rh_cloud_tasks.rake
@@ -194,12 +205,14 @@ files:
194
205
  - locale/gemspec.rb
195
206
  - package.json
196
207
  - test/controllers/accounts_controller_test.rb
208
+ - test/controllers/insights_cloud/api/machine_telemetries_controller_test.rb
197
209
  - test/controllers/insights_sync/settings_controller_test.rb
198
210
  - test/controllers/reports_controller_test.rb
199
211
  - test/controllers/uploads_controller_test.rb
200
212
  - test/factories/insights_factories.rb
201
213
  - test/factories/inventory_upload_factories.rb
202
214
  - test/jobs/insights_full_sync_test.rb
215
+ - test/jobs/insights_rules_sync_test.rb
203
216
  - test/jobs/inventory_full_sync_test.rb
204
217
  - test/jobs/upload_report_job_test.rb
205
218
  - test/test_plugin_helper.rb
@@ -208,6 +221,8 @@ files:
208
221
  - test/unit/insights_facet_test.rb
209
222
  - test/unit/metadata_generator_test.rb
210
223
  - test/unit/rh_cloud_http_proxy_test.rb
224
+ - test/unit/services/foreman_rh_cloud/branch_info_test.rb
225
+ - test/unit/services/foreman_rh_cloud/cloud_request_forwarder_test.rb
211
226
  - test/unit/shell_process_job_test.rb
212
227
  - test/unit/slice_generator_test.rb
213
228
  - webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
@@ -384,6 +399,10 @@ files:
384
399
  - webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/__tests__/PageDescription.test.js
385
400
  - webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/__tests__/__snapshots__/PageDescription.test.js.snap
386
401
  - webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/index.js
402
+ - webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/SettingsWarning.js
403
+ - webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/SettingsWarning.test.js
404
+ - webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/__snapshots__/SettingsWarning.test.js.snap
405
+ - webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/index.js
387
406
  - webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButton.js
388
407
  - webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButtonActions.js
389
408
  - webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButtonConstants.js
@@ -523,8 +542,10 @@ files:
523
542
  - webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableSelectors.js
524
543
  - webpack/InsightsCloudSync/Components/InsightsTable/SelectAllAlert.js
525
544
  - webpack/InsightsCloudSync/Components/InsightsTable/__tests__/InsightsTable.test.js
545
+ - webpack/InsightsCloudSync/Components/InsightsTable/__tests__/InsightsTableActions.test.js
526
546
  - webpack/InsightsCloudSync/Components/InsightsTable/__tests__/InsightsTableSelectors.test.js
527
547
  - webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTable.test.js.snap
548
+ - webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTableActions.test.js.snap
528
549
  - webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTableSelectors.test.js.snap
529
550
  - webpack/InsightsCloudSync/Components/InsightsTable/__tests__/fixtures.js
530
551
  - webpack/InsightsCloudSync/Components/InsightsTable/components/EmptyState.js
@@ -542,7 +563,9 @@ files:
542
563
  - webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
543
564
  - webpack/InsightsCloudSync/InsightsCloudSyncReducers.js
544
565
  - webpack/InsightsCloudSync/__snapshots__/InsightsCloudSync.test.js.snap
566
+ - webpack/InsightsCloudSync/__tests__/InsightsCloudSyncActions.test.js
545
567
  - webpack/InsightsCloudSync/__tests__/InsightsCloudSyncHelpers.test.js
568
+ - webpack/InsightsCloudSync/__tests__/__snapshots__/InsightsCloudSyncActions.test.js.snap
546
569
  - webpack/InsightsCloudSync/__tests__/__snapshots__/InsightsCloudSyncHelpers.test.js.snap
547
570
  - webpack/InsightsCloudSync/index.js
548
571
  - webpack/InsightsHostDetailsTab/InsightsTab.js
@@ -618,16 +641,20 @@ test_files:
618
641
  - test/controllers/uploads_controller_test.rb
619
642
  - test/controllers/insights_sync/settings_controller_test.rb
620
643
  - test/controllers/accounts_controller_test.rb
644
+ - test/controllers/insights_cloud/api/machine_telemetries_controller_test.rb
621
645
  - test/controllers/reports_controller_test.rb
622
646
  - test/test_plugin_helper.rb
623
647
  - test/jobs/upload_report_job_test.rb
624
648
  - test/jobs/insights_full_sync_test.rb
649
+ - test/jobs/insights_rules_sync_test.rb
625
650
  - test/jobs/inventory_full_sync_test.rb
626
651
  - test/factories/inventory_upload_factories.rb
627
652
  - test/factories/insights_factories.rb
628
653
  - test/unit/shell_process_job_test.rb
629
654
  - test/unit/metadata_generator_test.rb
630
655
  - test/unit/insights_facet_test.rb
656
+ - test/unit/services/foreman_rh_cloud/cloud_request_forwarder_test.rb
657
+ - test/unit/services/foreman_rh_cloud/branch_info_test.rb
631
658
  - test/unit/rh_cloud_http_proxy_test.rb
632
659
  - test/unit/fact_helpers_test.rb
633
660
  - test/unit/archived_report_generator_test.rb