foreman_rh_cloud 3.0.14 → 3.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +13 -0
- data/app/controllers/foreman_inventory_upload/uploads_controller.rb +11 -0
- data/app/controllers/insights_cloud/hits_controller.rb +24 -0
- data/app/controllers/insights_cloud/settings_controller.rb +8 -0
- data/app/models/insights_hit.rb +5 -1
- data/app/models/setting/rh_cloud.rb +8 -6
- data/app/overrides/layouts/base/styles.html.erb.deface +2 -0
- data/app/services/foreman_rh_cloud/cloud_connector.rb +59 -0
- data/app/views/layouts/foreman_rh_cloud/application.html.erb +0 -4
- data/config/Gemfile.lock.gh_test +830 -0
- data/config/database.yml.example +17 -0
- data/config/package-lock.json.gh_test +35653 -0
- data/config/routes.rb +12 -3
- data/lib/foreman_inventory_upload.rb +1 -1
- data/lib/foreman_inventory_upload/generators/archived_report.rb +1 -1
- data/lib/foreman_rh_cloud/engine.rb +15 -5
- data/lib/foreman_rh_cloud/version.rb +1 -1
- data/lib/tasks/rh_cloud_inventory.rake +23 -0
- data/package.json +18 -17
- data/webpack/ForemanInventoryUpload/Components/AccountList/AccountList.js +3 -2
- data/webpack/ForemanInventoryUpload/Components/AccountList/AccountListActions.js +1 -1
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/ListItem.js +33 -15
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/__tests__/__snapshots__/ListItem.test.js.snap +43 -43
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatus.js +6 -7
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatusHelper.js +5 -4
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/__tests__/__snapshots__/ListItemStatus.test.js.snap +19 -34
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListActions.test.js +2 -2
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountList.test.js.snap +3 -3
- data/webpack/ForemanInventoryUpload/Components/AccountList/accountList.scss +28 -5
- data/webpack/ForemanInventoryUpload/Components/AutoUploadSwitcher/AutoUploadSwitcher.js +6 -9
- data/webpack/ForemanInventoryUpload/Components/AutoUploadSwitcher/AutoUploadSwitcherActions.js +1 -1
- data/webpack/ForemanInventoryUpload/Components/AutoUploadSwitcher/__tests__/AutoUploadSwitcherActions.test.js +2 -2
- data/webpack/ForemanInventoryUpload/Components/AutoUploadSwitcher/__tests__/__snapshots__/AutoUploadSwitcher.test.js.snap +5 -28
- data/webpack/ForemanInventoryUpload/Components/Dashboard/DashboardActions.js +1 -1
- data/webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/DashboardActions.test.js +2 -2
- data/webpack/ForemanInventoryUpload/Components/ExcludePackagesSwitcher/ExcludePackagesSwitcher.js +6 -9
- data/webpack/ForemanInventoryUpload/Components/ExcludePackagesSwitcher/ExcludePackagesSwitcherActions.js +1 -1
- data/webpack/ForemanInventoryUpload/Components/ExcludePackagesSwitcher/__tests__/ExcludePackagesSwitcherActions.test.js +2 -2
- data/webpack/ForemanInventoryUpload/Components/ExcludePackagesSwitcher/__tests__/__snapshots__/ExcludePackagesSwitcher.test.js.snap +5 -28
- data/webpack/ForemanInventoryUpload/Components/ExcludePackagesSwitcher/__tests__/__snapshots__/integration.test.js.snap +5 -0
- data/webpack/ForemanInventoryUpload/Components/ExcludePackagesSwitcher/__tests__/integration.test.js +2 -2
- data/webpack/ForemanInventoryUpload/Components/HostObfuscationSwitcher/HostObfuscationSwitcher.js +6 -9
- data/webpack/ForemanInventoryUpload/Components/HostObfuscationSwitcher/HostObfuscationSwitcherActions.js +1 -1
- data/webpack/ForemanInventoryUpload/Components/HostObfuscationSwitcher/__tests__/HostObfuscationSwitcherActions.test.js +2 -2
- data/webpack/ForemanInventoryUpload/Components/HostObfuscationSwitcher/__tests__/__snapshots__/HostObfuscationSwitcher.test.js.snap +5 -28
- data/webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterReducer.js +6 -3
- data/webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/__snapshots__/integration.test.js.snap +5 -0
- data/webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettings.js +2 -2
- data/webpack/ForemanInventoryUpload/Components/InventorySettings/{inventorySettings.scss → InventorySettings.scss} +2 -5
- data/webpack/ForemanInventoryUpload/Components/InventorySettings/__tests__/__snapshots__/InventorySettings.test.js.snap +1 -1
- data/webpack/ForemanInventoryUpload/Components/IpsObfuscationSwitcher/IpsObfuscationSwitcher.js +6 -8
- data/webpack/ForemanInventoryUpload/Components/IpsObfuscationSwitcher/IpsObfuscationSwitcherActions.js +1 -1
- data/webpack/ForemanInventoryUpload/Components/IpsObfuscationSwitcher/__tests__/IpsObfuscationSwitcherActions.test.js +2 -2
- data/webpack/ForemanInventoryUpload/Components/IpsObfuscationSwitcher/__tests__/__snapshots__/IpsObfuscationSwitcher.test.js.snap +5 -28
- data/webpack/ForemanInventoryUpload/Components/PageHeader/PageHeader.js +10 -18
- data/webpack/ForemanInventoryUpload/Components/PageHeader/PageHeader.scss +19 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/PageTitle.js +53 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/{components/DocsButton/__tests__/DocsButton.test.js → __tests__/PageTitle.test.js} +3 -3
- data/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageHeader.test.js.snap +12 -38
- data/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap +43 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorActions.js +27 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorButton.js +51 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorConstants.js +6 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorSelectors.js +14 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/CloudConnectorActions.test.js +9 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/CloudConnectorButton.test.js +22 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/__snapshots__/CloudConnectorActions.test.js.snap +11 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/__snapshots__/CloudConnectorButton.test.js.snap +48 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js +27 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButton.js +7 -9
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButtonActions.js +1 -1
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButtonActions.test.js +2 -2
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/SyncButton.test.js.snap +7 -9
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/ToolbarButtons/ToolbarButtons.js +2 -4
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/ToolbarButtons/__tests__/__snapshots__/ToolbarButtons.test.js.snap +1 -2
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/ToolbarButtons/toolbarButtons.scss +1 -2
- data/webpack/ForemanInventoryUpload/Components/Terminal/terminal.scss +1 -0
- data/webpack/ForemanInventoryUpload/ForemanInventoryConstants.js +2 -2
- data/webpack/ForemanInventoryUpload/ForemanInventoryUpload.js +8 -14
- data/webpack/ForemanInventoryUpload/__tests__/__snapshots__/ForemanInventoryUpload.test.js.snap +7 -10
- data/webpack/ForemanRhCloudPages.js +19 -0
- data/webpack/InsightsCloudSync/Components/InsightsHeader/InsightsHeader.scss +4 -0
- data/webpack/InsightsCloudSync/Components/InsightsHeader/index.js +16 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettingsActions.js +1 -1
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsActions.test.js +2 -2
- data/webpack/InsightsCloudSync/Components/InsightsSettings/insightsSettings.scss +1 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTable.js +121 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableActions.js +129 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js +55 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableHelpers.js +31 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableReducer.js +28 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableSelectors.js +74 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/SelectAllAlert.js +65 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/InsightsTable.test.js +13 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/InsightsTableSelectors.test.js +58 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTable.test.js.snap +168 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTableSelectors.test.js.snap +88 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/fixtures.js +104 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/components/EmptyState.js +53 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/index.js +45 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/table.scss +1 -0
- data/webpack/InsightsCloudSync/Components/NoTokenEmptyState.js +79 -0
- data/webpack/InsightsCloudSync/Components/__tests__/InsightsHeader.test.js +10 -0
- data/webpack/InsightsCloudSync/Components/__tests__/NoTokenEmptyState.test.js +19 -0
- data/webpack/InsightsCloudSync/Components/__tests__/__snapshots__/InsightsHeader.test.js.snap +13 -0
- data/webpack/InsightsCloudSync/Components/__tests__/__snapshots__/NoTokenEmptyState.test.js.snap +214 -0
- data/webpack/InsightsCloudSync/InsightsCloudSync.js +45 -44
- data/webpack/InsightsCloudSync/InsightsCloudSync.test.js +10 -2
- data/webpack/InsightsCloudSync/InsightsCloudSyncActions.js +1 -1
- data/webpack/InsightsCloudSync/InsightsCloudSyncConstants.js +15 -1
- data/webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js +7 -0
- data/webpack/InsightsCloudSync/InsightsCloudSyncReducers.js +2 -0
- data/webpack/InsightsCloudSync/__snapshots__/InsightsCloudSync.test.js.snap +45 -62
- data/webpack/InsightsCloudSync/index.js +11 -3
- data/webpack/InsightsHostDetailsTab/InsightsTabActions.js +1 -1
- data/webpack/InsightsHostDetailsTab/__tests__/InsightsTabActions.test.js +2 -2
- data/webpack/__mocks__/foremanReact/Root/Context/ForemanContext.js +1 -0
- data/webpack/__mocks__/foremanReact/constants.js +19 -0
- data/webpack/__mocks__/foremanReact/redux/API/APISelectors.js +24 -0
- data/webpack/__mocks__/foremanReact/redux/API/index.js +11 -0
- data/webpack/__mocks__/foremanReact/routes/RouterSelector.js +2 -0
- data/webpack/__mocks__/foremanReact/routes/common/PageLayout/PageLayout.js +10 -0
- data/webpack/common/Switcher/HelpLabel.js +30 -0
- data/webpack/common/Switcher/SwitcherPF4.js +36 -0
- data/webpack/common/Switcher/SwitcherPF4.scss +10 -0
- data/webpack/common/Switcher/__tests__/HelpLabel.test.js +13 -0
- data/webpack/common/Switcher/__tests__/SwitcherPF4.test.js +14 -0
- data/webpack/common/Switcher/__tests__/__snapshots__/HelpLabel.test.js.snap +20 -0
- data/webpack/common/Switcher/__tests__/__snapshots__/SwitcherPF4.test.js.snap +22 -0
- data/webpack/global_index.js +2 -0
- metadata +96 -34
- data/app/controllers/foreman_rh_cloud/react_controller.rb +0 -11
- data/app/views/foreman_rh_cloud/react/insights_cloud.html.erb +0 -1
- data/app/views/foreman_rh_cloud/react/inventory_upload.html.erb +0 -1
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/listItem.scss +0 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/listItemStatus.scss +0 -16
- data/webpack/ForemanInventoryUpload/Components/AutoUploadSwitcher/autoUploadSwitcher.scss +0 -3
- data/webpack/ForemanInventoryUpload/Components/ExcludePackagesSwitcher/excludePackagesSwitcher.scss +0 -3
- data/webpack/ForemanInventoryUpload/Components/HostObfuscationSwitcher/HostObfuscationSwitcher.scss +0 -3
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/DocsButton/DocsButton.js +0 -18
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/DocsButton/__tests__/__snapshots__/DocsButton.test.js.snap +0 -21
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/DocsButton/index.js +0 -1
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/HistoryButton/HistoryButton.js +0 -19
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/HistoryButton/__tests__/HistoryButton.test.js +0 -12
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/HistoryButton/__tests__/__snapshots__/HistoryButton.test.js.snap +0 -22
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/HistoryButton/index.js +0 -1
- data/webpack/ForemanInventoryUpload/Components/PageHeader/pageHeader.scss +0 -3
- data/webpack/__mocks__/foremanReact/API.js +0 -7
@@ -0,0 +1,22 @@
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
+
|
3
|
+
exports[`InsightsCloudSync helpers should return insights cloud Url 1`] = `
|
4
|
+
<Switch
|
5
|
+
aria-label=""
|
6
|
+
className="foreman-switcher"
|
7
|
+
id="rh-cloud-switcher-some-id"
|
8
|
+
isChecked={true}
|
9
|
+
isDisabled={false}
|
10
|
+
label={
|
11
|
+
<div>
|
12
|
+
some-label
|
13
|
+
<HelpLabel
|
14
|
+
className="switcher-help-label"
|
15
|
+
id="some-id"
|
16
|
+
text="some-text"
|
17
|
+
/>
|
18
|
+
</div>
|
19
|
+
}
|
20
|
+
onChange={[MockFunction]}
|
21
|
+
/>
|
22
|
+
`;
|
data/webpack/global_index.js
CHANGED
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.
|
4
|
+
version: 3.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman Red Hat Cloud team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katello
|
@@ -38,6 +38,34 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: foreman_ansible
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: foreman_ansible_core
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: rdoc
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,7 +136,6 @@ files:
|
|
108
136
|
- app/controllers/foreman_inventory_upload/reports_controller.rb
|
109
137
|
- app/controllers/foreman_inventory_upload/tasks_controller.rb
|
110
138
|
- app/controllers/foreman_inventory_upload/uploads_controller.rb
|
111
|
-
- app/controllers/foreman_rh_cloud/react_controller.rb
|
112
139
|
- app/controllers/insights_cloud/hits_controller.rb
|
113
140
|
- app/controllers/insights_cloud/settings_controller.rb
|
114
141
|
- app/controllers/insights_cloud/tasks_controller.rb
|
@@ -120,11 +147,14 @@ files:
|
|
120
147
|
- app/models/inventory_sync/inventory_status.rb
|
121
148
|
- app/models/setting/rh_cloud.rb
|
122
149
|
- app/overrides/hosts_list.rb
|
150
|
+
- app/overrides/layouts/base/styles.html.erb.deface
|
123
151
|
- app/services/foreman_rh_cloud/cloud_auth.rb
|
124
|
-
- app/
|
125
|
-
- app/views/foreman_rh_cloud/react/inventory_upload.html.erb
|
152
|
+
- app/services/foreman_rh_cloud/cloud_connector.rb
|
126
153
|
- app/views/hosts/_insights_tab.html.erb
|
127
154
|
- app/views/layouts/foreman_rh_cloud/application.html.erb
|
155
|
+
- config/Gemfile.lock.gh_test
|
156
|
+
- config/database.yml.example
|
157
|
+
- config/package-lock.json.gh_test
|
128
158
|
- config/routes.rb
|
129
159
|
- db/migrate/20191215104806_create_insights_hits.foreman_inventory_upload.rb
|
130
160
|
- db/migrate/20191216062008_create_insights_facets.foreman_inventory_upload.rb
|
@@ -213,14 +243,12 @@ files:
|
|
213
243
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/__tests__/ListItem.test.js
|
214
244
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/__tests__/__snapshots__/ListItem.test.js.snap
|
215
245
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/index.js
|
216
|
-
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/listItem.scss
|
217
246
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatus.fixtures.js
|
218
247
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatus.js
|
219
248
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatusHelper.js
|
220
249
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/__tests__/ListItemStatus.test.js
|
221
250
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/__tests__/__snapshots__/ListItemStatus.test.js.snap
|
222
251
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/index.js
|
223
|
-
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/listItemStatus.scss
|
224
252
|
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountList.test.js
|
225
253
|
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListActions.test.js
|
226
254
|
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListHelper.test.js
|
@@ -241,7 +269,6 @@ files:
|
|
241
269
|
- webpack/ForemanInventoryUpload/Components/AutoUploadSwitcher/__tests__/AutoUploadSwitcherActions.test.js
|
242
270
|
- webpack/ForemanInventoryUpload/Components/AutoUploadSwitcher/__tests__/__snapshots__/AutoUploadSwitcher.test.js.snap
|
243
271
|
- webpack/ForemanInventoryUpload/Components/AutoUploadSwitcher/__tests__/__snapshots__/AutoUploadSwitcherActions.test.js.snap
|
244
|
-
- webpack/ForemanInventoryUpload/Components/AutoUploadSwitcher/autoUploadSwitcher.scss
|
245
272
|
- webpack/ForemanInventoryUpload/Components/AutoUploadSwitcher/index.js
|
246
273
|
- webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
|
247
274
|
- webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.js
|
@@ -272,7 +299,6 @@ files:
|
|
272
299
|
- webpack/ForemanInventoryUpload/Components/ExcludePackagesSwitcher/__tests__/__snapshots__/ExcludePackagesSwitcherActions.test.js.snap
|
273
300
|
- webpack/ForemanInventoryUpload/Components/ExcludePackagesSwitcher/__tests__/__snapshots__/integration.test.js.snap
|
274
301
|
- webpack/ForemanInventoryUpload/Components/ExcludePackagesSwitcher/__tests__/integration.test.js
|
275
|
-
- webpack/ForemanInventoryUpload/Components/ExcludePackagesSwitcher/excludePackagesSwitcher.scss
|
276
302
|
- webpack/ForemanInventoryUpload/Components/ExcludePackagesSwitcher/index.js
|
277
303
|
- webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.fixtures.js
|
278
304
|
- webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
|
@@ -290,7 +316,6 @@ files:
|
|
290
316
|
- webpack/ForemanInventoryUpload/Components/FullScreenModal/index.js
|
291
317
|
- webpack/ForemanInventoryUpload/Components/HostObfuscationSwitcher/HostObfuscationSwitcher.fixtures.js
|
292
318
|
- webpack/ForemanInventoryUpload/Components/HostObfuscationSwitcher/HostObfuscationSwitcher.js
|
293
|
-
- webpack/ForemanInventoryUpload/Components/HostObfuscationSwitcher/HostObfuscationSwitcher.scss
|
294
319
|
- webpack/ForemanInventoryUpload/Components/HostObfuscationSwitcher/HostObfuscationSwitcherActions.js
|
295
320
|
- webpack/ForemanInventoryUpload/Components/HostObfuscationSwitcher/HostObfuscationSwitcherConstants.js
|
296
321
|
- webpack/ForemanInventoryUpload/Components/HostObfuscationSwitcher/__tests__/HostObfuscationSwitcher.test.js
|
@@ -319,10 +344,10 @@ files:
|
|
319
344
|
- webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
|
320
345
|
- webpack/ForemanInventoryUpload/Components/InventoryFilter/inventoryFilter.scss
|
321
346
|
- webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettings.js
|
347
|
+
- webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettings.scss
|
322
348
|
- webpack/ForemanInventoryUpload/Components/InventorySettings/__tests__/InventorySettings.test.js
|
323
349
|
- webpack/ForemanInventoryUpload/Components/InventorySettings/__tests__/__snapshots__/InventorySettings.test.js.snap
|
324
350
|
- webpack/ForemanInventoryUpload/Components/InventorySettings/index.js
|
325
|
-
- webpack/ForemanInventoryUpload/Components/InventorySettings/inventorySettings.scss
|
326
351
|
- webpack/ForemanInventoryUpload/Components/IpsObfuscationSwitcher/IpsObfuscationSwitcher.fixtures.js
|
327
352
|
- webpack/ForemanInventoryUpload/Components/IpsObfuscationSwitcher/IpsObfuscationSwitcher.js
|
328
353
|
- webpack/ForemanInventoryUpload/Components/IpsObfuscationSwitcher/IpsObfuscationSwitcherActions.js
|
@@ -340,16 +365,21 @@ files:
|
|
340
365
|
- webpack/ForemanInventoryUpload/Components/NavContainer/index.js
|
341
366
|
- webpack/ForemanInventoryUpload/Components/NavContainer/navContainer.scss
|
342
367
|
- webpack/ForemanInventoryUpload/Components/PageHeader/PageHeader.js
|
368
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/PageHeader.scss
|
369
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/PageTitle.js
|
343
370
|
- webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/PageHeader.test.js
|
371
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/PageTitle.test.js
|
344
372
|
- webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageHeader.test.js.snap
|
345
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/
|
346
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/components/
|
347
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/components/
|
348
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/components/
|
349
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/components/
|
350
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/components/
|
351
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/components/
|
352
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/components/
|
373
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap
|
374
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorActions.js
|
375
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorButton.js
|
376
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorConstants.js
|
377
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorSelectors.js
|
378
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/CloudConnectorActions.test.js
|
379
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/CloudConnectorButton.test.js
|
380
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/__snapshots__/CloudConnectorActions.test.js.snap
|
381
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/__snapshots__/CloudConnectorButton.test.js.snap
|
382
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
|
353
383
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/PageDescription.js
|
354
384
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/__tests__/PageDescription.test.js
|
355
385
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/__tests__/__snapshots__/PageDescription.test.js.snap
|
@@ -378,7 +408,6 @@ files:
|
|
378
408
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/ToolbarButtons/index.js
|
379
409
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/ToolbarButtons/toolbarButtons.scss
|
380
410
|
- webpack/ForemanInventoryUpload/Components/PageHeader/index.js
|
381
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/pageHeader.scss
|
382
411
|
- webpack/ForemanInventoryUpload/Components/ReportGenerate/ReportGenerate.fixtures.js
|
383
412
|
- webpack/ForemanInventoryUpload/Components/ReportGenerate/ReportGenerate.js
|
384
413
|
- webpack/ForemanInventoryUpload/Components/ReportGenerate/ReportGenerateHelper.js
|
@@ -463,6 +492,8 @@ files:
|
|
463
492
|
- webpack/ForemanRhCloudReducers.js
|
464
493
|
- webpack/ForemanRhCloudSelectors.js
|
465
494
|
- webpack/ForemanRhCloudTestHelpers.js
|
495
|
+
- webpack/InsightsCloudSync/Components/InsightsHeader/InsightsHeader.scss
|
496
|
+
- webpack/InsightsCloudSync/Components/InsightsHeader/index.js
|
466
497
|
- webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettings.js
|
467
498
|
- webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettingsActions.js
|
468
499
|
- webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettingsConstants.js
|
@@ -484,6 +515,26 @@ files:
|
|
484
515
|
- webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/__tests__/__snapshots__/InsightsSyncSwitcher.test.js.snap
|
485
516
|
- webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/index.js
|
486
517
|
- webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/insightsSyncSwitcher.scss
|
518
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/InsightsTable.js
|
519
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableActions.js
|
520
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js
|
521
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableHelpers.js
|
522
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableReducer.js
|
523
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableSelectors.js
|
524
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/SelectAllAlert.js
|
525
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/__tests__/InsightsTable.test.js
|
526
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/__tests__/InsightsTableSelectors.test.js
|
527
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTable.test.js.snap
|
528
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTableSelectors.test.js.snap
|
529
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/__tests__/fixtures.js
|
530
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/components/EmptyState.js
|
531
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/index.js
|
532
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/table.scss
|
533
|
+
- webpack/InsightsCloudSync/Components/NoTokenEmptyState.js
|
534
|
+
- webpack/InsightsCloudSync/Components/__tests__/InsightsHeader.test.js
|
535
|
+
- webpack/InsightsCloudSync/Components/__tests__/NoTokenEmptyState.test.js
|
536
|
+
- webpack/InsightsCloudSync/Components/__tests__/__snapshots__/InsightsHeader.test.js.snap
|
537
|
+
- webpack/InsightsCloudSync/Components/__tests__/__snapshots__/NoTokenEmptyState.test.js.snap
|
487
538
|
- webpack/InsightsCloudSync/InsightsCloudSync.js
|
488
539
|
- webpack/InsightsCloudSync/InsightsCloudSync.test.js
|
489
540
|
- webpack/InsightsCloudSync/InsightsCloudSyncActions.js
|
@@ -513,19 +564,30 @@ files:
|
|
513
564
|
- webpack/InsightsHostDetailsTab/components/ListItem/ListItem.js
|
514
565
|
- webpack/InsightsHostDetailsTab/components/ListItem/index.js
|
515
566
|
- webpack/InsightsHostDetailsTab/index.js
|
516
|
-
- webpack/__mocks__/foremanReact/
|
567
|
+
- webpack/__mocks__/foremanReact/Root/Context/ForemanContext.js
|
517
568
|
- webpack/__mocks__/foremanReact/common/I18n.js
|
518
569
|
- webpack/__mocks__/foremanReact/common/MountingService.js
|
519
570
|
- webpack/__mocks__/foremanReact/common/helpers.js
|
520
571
|
- webpack/__mocks__/foremanReact/components/Layout/LayoutConstants.js
|
521
572
|
- webpack/__mocks__/foremanReact/constants.js
|
573
|
+
- webpack/__mocks__/foremanReact/redux/API/APISelectors.js
|
574
|
+
- webpack/__mocks__/foremanReact/redux/API/index.js
|
522
575
|
- webpack/__mocks__/foremanReact/redux/actions/toasts.js
|
576
|
+
- webpack/__mocks__/foremanReact/routes/RouterSelector.js
|
577
|
+
- webpack/__mocks__/foremanReact/routes/common/PageLayout/PageLayout.js
|
523
578
|
- webpack/__tests__/ForemanRhCloudHelpers.test.js
|
524
579
|
- webpack/__tests__/ForemanRhCloudSelectors.test.js
|
525
580
|
- webpack/__tests__/ForemanRhCloudTestHelpers.test.js
|
526
581
|
- webpack/__tests__/__snapshots__/ForemanRhCloudHelpers.test.js.snap
|
527
582
|
- webpack/__tests__/__snapshots__/ForemanRhCloudSelectors.test.js.snap
|
528
583
|
- webpack/__tests__/__snapshots__/ForemanRhCloudTestHelpers.test.js.snap
|
584
|
+
- webpack/common/Switcher/HelpLabel.js
|
585
|
+
- webpack/common/Switcher/SwitcherPF4.js
|
586
|
+
- webpack/common/Switcher/SwitcherPF4.scss
|
587
|
+
- webpack/common/Switcher/__tests__/HelpLabel.test.js
|
588
|
+
- webpack/common/Switcher/__tests__/SwitcherPF4.test.js
|
589
|
+
- webpack/common/Switcher/__tests__/__snapshots__/HelpLabel.test.js.snap
|
590
|
+
- webpack/common/Switcher/__tests__/__snapshots__/SwitcherPF4.test.js.snap
|
529
591
|
- webpack/common/Switcher/index.js
|
530
592
|
- webpack/global_index.js
|
531
593
|
- webpack/index.js
|
@@ -533,7 +595,7 @@ homepage: https://github.com/theforeman/foreman_rh_cloud
|
|
533
595
|
licenses:
|
534
596
|
- GPL-3.0
|
535
597
|
metadata: {}
|
536
|
-
post_install_message:
|
598
|
+
post_install_message:
|
537
599
|
rdoc_options: []
|
538
600
|
require_paths:
|
539
601
|
- lib
|
@@ -548,25 +610,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
548
610
|
- !ruby/object:Gem::Version
|
549
611
|
version: '0'
|
550
612
|
requirements: []
|
551
|
-
rubygems_version: 3.
|
552
|
-
signing_key:
|
613
|
+
rubygems_version: 3.0.6
|
614
|
+
signing_key:
|
553
615
|
specification_version: 4
|
554
616
|
summary: Summary of ForemanRhCloud.
|
555
617
|
test_files:
|
556
|
-
- test/controllers/
|
618
|
+
- test/controllers/uploads_controller_test.rb
|
557
619
|
- test/controllers/insights_sync/settings_controller_test.rb
|
620
|
+
- test/controllers/accounts_controller_test.rb
|
558
621
|
- test/controllers/reports_controller_test.rb
|
559
|
-
- test/
|
560
|
-
- test/
|
561
|
-
- test/factories/inventory_upload_factories.rb
|
622
|
+
- test/test_plugin_helper.rb
|
623
|
+
- test/jobs/upload_report_job_test.rb
|
562
624
|
- test/jobs/insights_full_sync_test.rb
|
563
625
|
- test/jobs/inventory_full_sync_test.rb
|
564
|
-
- test/
|
565
|
-
- test/
|
566
|
-
- test/unit/archived_report_generator_test.rb
|
567
|
-
- test/unit/metadata_generator_test.rb
|
626
|
+
- test/factories/inventory_upload_factories.rb
|
627
|
+
- test/factories/insights_factories.rb
|
568
628
|
- test/unit/shell_process_job_test.rb
|
569
|
-
- test/unit/
|
629
|
+
- test/unit/metadata_generator_test.rb
|
570
630
|
- test/unit/insights_facet_test.rb
|
571
631
|
- test/unit/rh_cloud_http_proxy_test.rb
|
632
|
+
- test/unit/fact_helpers_test.rb
|
633
|
+
- test/unit/archived_report_generator_test.rb
|
572
634
|
- test/unit/slice_generator_test.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= react_component('InsightsCloudSync', { settingsUrl: settings_url(search: 'name = rh_cloud_token') }) %>
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= react_component('ForemanInventoryUpload') %>
|
data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/listItem.scss
DELETED
File without changes
|
data/webpack/ForemanInventoryUpload/Components/PageHeader/components/DocsButton/DocsButton.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { Button, Icon } from 'patternfly-react';
|
3
|
-
import { DOCS_BUTTON_TEXT } from '../../../../ForemanInventoryConstants';
|
4
|
-
import { getInventoryDocsUrl } from '../../../../ForemanInventoryHelpers';
|
5
|
-
|
6
|
-
const DocsButton = () => (
|
7
|
-
<Button
|
8
|
-
href={getInventoryDocsUrl()}
|
9
|
-
target="_blank"
|
10
|
-
rel="noopener noreferrer"
|
11
|
-
bsSize="lg"
|
12
|
-
>
|
13
|
-
<Icon type="pf" name="help" />
|
14
|
-
{DOCS_BUTTON_TEXT}
|
15
|
-
</Button>
|
16
|
-
);
|
17
|
-
|
18
|
-
export default DocsButton;
|
@@ -1,21 +0,0 @@
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
-
|
3
|
-
exports[`DocsButton rendering render without Props 1`] = `
|
4
|
-
<Button
|
5
|
-
active={false}
|
6
|
-
block={false}
|
7
|
-
bsClass="btn"
|
8
|
-
bsSize="lg"
|
9
|
-
bsStyle="default"
|
10
|
-
disabled={false}
|
11
|
-
href="/links/manual/+?root_url=https%3A%2F%2Faccess.redhat.com%2Fproducts%2Fsubscription-central"
|
12
|
-
rel="noopener noreferrer"
|
13
|
-
target="_blank"
|
14
|
-
>
|
15
|
-
<Icon
|
16
|
-
name="help"
|
17
|
-
type="pf"
|
18
|
-
/>
|
19
|
-
Documentation
|
20
|
-
</Button>
|
21
|
-
`;
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from './DocsButton';
|
data/webpack/ForemanInventoryUpload/Components/PageHeader/components/HistoryButton/HistoryButton.js
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { Button, Icon } from 'patternfly-react';
|
3
|
-
import { ACTIONS_HISTORY_BUTTON_TEXT } from '../../../../ForemanInventoryConstants';
|
4
|
-
import { getActionsHistoryUrl } from '../../../../ForemanInventoryHelpers';
|
5
|
-
|
6
|
-
const HistoryButton = () => (
|
7
|
-
<Button
|
8
|
-
className="tasks_history_button"
|
9
|
-
href={getActionsHistoryUrl()}
|
10
|
-
target="_blank"
|
11
|
-
rel="noopener noreferrer"
|
12
|
-
bsSize="lg"
|
13
|
-
>
|
14
|
-
<Icon name="history" />
|
15
|
-
{ACTIONS_HISTORY_BUTTON_TEXT}
|
16
|
-
</Button>
|
17
|
-
);
|
18
|
-
|
19
|
-
export default HistoryButton;
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { testComponentSnapshotsWithFixtures } from '@theforeman/test';
|
2
|
-
|
3
|
-
import HistoryButton from '../HistoryButton';
|
4
|
-
|
5
|
-
const fixtures = {
|
6
|
-
'render without Props': {},
|
7
|
-
};
|
8
|
-
|
9
|
-
describe('HistoryButton', () => {
|
10
|
-
describe('rendering', () =>
|
11
|
-
testComponentSnapshotsWithFixtures(HistoryButton, fixtures));
|
12
|
-
});
|
@@ -1,22 +0,0 @@
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
-
|
3
|
-
exports[`HistoryButton rendering render without Props 1`] = `
|
4
|
-
<Button
|
5
|
-
active={false}
|
6
|
-
block={false}
|
7
|
-
bsClass="btn"
|
8
|
-
bsSize="lg"
|
9
|
-
bsStyle="default"
|
10
|
-
className="tasks_history_button"
|
11
|
-
disabled={false}
|
12
|
-
href="/foreman_tasks/tasks?search=action++%3D++ForemanInventoryUpload%3A%3AAsync%3A%3AGenerateReportJob+or+action++%3D++ForemanInventoryUpload%3A%3AAsync%3A%3AGenerateAllReportsJob&page=1"
|
13
|
-
rel="noopener noreferrer"
|
14
|
-
target="_blank"
|
15
|
-
>
|
16
|
-
<Icon
|
17
|
-
name="history"
|
18
|
-
type="fa"
|
19
|
-
/>
|
20
|
-
Actions history
|
21
|
-
</Button>
|
22
|
-
`;
|