foreman_rh_cloud 0.9.9 → 0.9.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/foreman_inventory_upload/accounts_controller.rb +1 -0
- data/app/controllers/foreman_inventory_upload/tasks_controller.rb +25 -0
- data/app/controllers/insights_cloud/settings_controller.rb +24 -0
- data/app/controllers/insights_cloud/tasks_controller.rb +1 -2
- data/app/helpers/foreman_inventory_upload_host_helper.rb +10 -1
- data/app/models/insights_facet.rb +5 -1
- data/app/models/inventory_sync/inventory_status.rb +30 -0
- data/app/models/setting/rh_cloud.rb +1 -0
- data/app/views/foreman_rh_cloud/react/inventory_upload.html.erb +1 -1
- data/config/routes.rb +3 -0
- data/db/migrate/20200727111529_add_uuid_column_to_insights_facets.foreman_rh_cloud.rb +5 -0
- data/lib/foreman_inventory_upload.rb +4 -0
- data/lib/foreman_inventory_upload/generators/fact_helpers.rb +1 -1
- data/lib/foreman_inventory_upload/generators/slice.rb +25 -3
- data/lib/foreman_rh_cloud.rb +13 -0
- data/lib/foreman_rh_cloud/engine.rb +7 -1
- data/lib/foreman_rh_cloud/version.rb +1 -1
- data/lib/insights_cloud.rb +8 -8
- data/lib/insights_cloud/async/insights_full_sync.rb +17 -10
- data/lib/insights_cloud/async/insights_scheduled_sync.rb +23 -0
- data/lib/inventory_sync/async/host_result.rb +50 -0
- data/lib/inventory_sync/async/inventory_full_sync.rb +99 -0
- data/test/controllers/insights_sync/settings_controller_test.rb +30 -0
- data/test/factories/insights_factories.rb +31 -0
- data/test/jobs/insights_full_sync_test.rb +4 -2
- data/test/jobs/inventory_full_sync_test.rb +91 -0
- data/test/unit/insights_facet_test.rb +16 -0
- data/test/unit/slice_generator_test.rb +15 -7
- data/webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js +3 -1
- data/webpack/ForemanInventoryUpload/Components/AccountList/AccountListActions.js +2 -1
- data/webpack/ForemanInventoryUpload/Components/AccountList/AccountListReducer.js +2 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/AccountListSelectors.js +2 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListReducer.test.js +2 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap +1 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap +1 -0
- data/webpack/ForemanInventoryUpload/Components/FullScreenModal/FullScreenModal.js +5 -1
- data/webpack/ForemanInventoryUpload/Components/FullScreenModal/__tests__/__snapshots__/FullScreenModal.test.js.snap +1 -0
- data/webpack/ForemanInventoryUpload/Components/FullScreenModal/fullScreenModal.scss +15 -13
- data/webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/__snapshots__/integration.test.js.snap +6 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/PageHeader.js +1 -1
- data/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageHeader.test.js.snap +3 -3
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/DocsButton/DocsButton.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/DocsButton/__tests__/__snapshots__/DocsButton.test.js.snap +1 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/HistoryButton/HistoryButton.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/HistoryButton/__tests__/__snapshots__/HistoryButton.test.js.snap +1 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButton.js +52 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButtonActions.js +59 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButtonConstants.js +3 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButtonReducer.js +36 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButtonSelectors.js +13 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButton.test.js +13 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButtonActions.test.js +13 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButtonFixtures.js +9 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButtonReducer.test.js +33 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButtonSelectors.test.js +36 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/SyncButton.test.js.snap +26 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/SyncButtonActions.test.js.snap +36 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/SyncButtonReducer.test.js.snap +25 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/SyncButtonSelectors.test.js.snap +18 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/components/Modal.js +63 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/components/Toast.js +41 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/components/modal.scss +20 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js +22 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/ToolbarButtons/ToolbarButtons.js +2 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/ToolbarButtons/__tests__/__snapshots__/ToolbarButtons.test.js.snap +1 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/ToolbarButtons/toolbarButtons.scss +6 -1
- data/webpack/ForemanInventoryUpload/ForemanInventoryConstants.js +3 -1
- data/webpack/ForemanInventoryUpload/ForemanInventoryUploadReducers.js +2 -0
- data/webpack/ForemanRhCloudPages.js +7 -0
- data/webpack/ForemanRhCloudTestHelpers.js +12 -3
- data/webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettings.js +33 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettingsActions.js +60 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettingsConstants.js +10 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettingsReducer.js +28 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettingsSelectors.js +6 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettings.test.js +18 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsActions.test.js +46 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsReducer.test.js +56 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js +21 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettings.test.js.snap +15 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsActions.test.js.snap +31 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsReducer.test.js.snap +33 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsSelectors.test.js.snap +9 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/index.js +21 -0
- data/webpack/InsightsCloudSync/Components/InsightsSettings/insightsSettings.scss +16 -0
- data/webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/InsightsSyncSwitcher.fixtures.js +1 -0
- data/webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/InsightsSyncSwitcher.js +45 -0
- data/webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/__tests__/InsightsSyncSwitcher.test.js +17 -0
- data/webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/__tests__/__snapshots__/InsightsSyncSwitcher.test.js.snap +38 -0
- data/webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/index.js +1 -0
- data/webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/insightsSyncSwitcher.scss +3 -0
- data/webpack/InsightsCloudSync/InsightsCloudSync.js +32 -28
- data/webpack/InsightsCloudSync/InsightsCloudSyncReducers.js +7 -2
- data/webpack/InsightsCloudSync/__snapshots__/InsightsCloudSync.test.js.snap +49 -44
- data/webpack/InsightsCloudSync/index.js +2 -1
- data/webpack/__mocks__/foremanReact/constants.js +5 -0
- data/webpack/__mocks__/foremanReact/redux/actions/toasts.js +8 -0
- data/webpack/__tests__/ForemanRhCloudSelectors.test.js +4 -1
- data/webpack/__tests__/ForemanRhCloudTestHelpers.test.js +12 -2
- data/webpack/__tests__/__snapshots__/ForemanRhCloudSelectors.test.js.snap +9 -9
- data/webpack/__tests__/__snapshots__/ForemanRhCloudTestHelpers.test.js.snap +24 -2
- data/webpack/index.js +2 -12
- metadata +59 -2
@@ -1,3 +1,8 @@
|
|
1
|
-
|
1
|
+
import { combineReducers } from 'redux';
|
2
|
+
import { reducers as settingsReducers } from './Components/InsightsSettings';
|
2
3
|
|
3
|
-
export default
|
4
|
+
export default {
|
5
|
+
InsightsCloudSync: combineReducers({
|
6
|
+
...settingsReducers,
|
7
|
+
}),
|
8
|
+
};
|
@@ -10,50 +10,55 @@ exports[`InsightsCloudSync render 1`] = `
|
|
10
10
|
<h1>
|
11
11
|
Red Hat Insights Sync
|
12
12
|
</h1>
|
13
|
-
<
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
13
|
+
<div
|
14
|
+
className="insights-cloud-sync-body"
|
15
|
+
>
|
16
|
+
<Connect(InsightsSettings) />
|
17
|
+
<p>
|
18
|
+
Insights synchronization process is used to provide Insights
|
19
|
+
recommendations output for hosts managed here
|
20
|
+
</p>
|
21
|
+
<p>
|
22
|
+
1. Obtain an RHSM API token:
|
23
|
+
<a
|
24
|
+
href="https://access.redhat.com/management/api"
|
25
|
+
rel="noopener noreferrer"
|
26
|
+
target="_blank"
|
27
|
+
>
|
28
|
+
access.redhat.com
|
29
|
+
<Icon
|
30
|
+
name="external-link"
|
31
|
+
type="fa"
|
32
|
+
/>
|
33
|
+
</a>
|
34
|
+
<br />
|
35
|
+
2. Copy the token to 'Red Hat Cloud token' setting:
|
36
|
+
<a
|
37
|
+
href="www.example.com/settings"
|
38
|
+
rel="noopener noreferrer"
|
39
|
+
target="_blank"
|
40
|
+
>
|
41
|
+
Red Hat Cloud token
|
42
|
+
<Icon
|
43
|
+
name="external-link"
|
44
|
+
type="fa"
|
45
|
+
/>
|
46
|
+
</a>
|
47
|
+
<br />
|
48
|
+
3. Now you can synchronize recommendations manually using the "Sync now" button.
|
49
|
+
</p>
|
50
|
+
<div>
|
51
|
+
<Button
|
52
|
+
active={false}
|
53
|
+
block={false}
|
54
|
+
bsClass="btn"
|
55
|
+
bsStyle="primary"
|
56
|
+
disabled={false}
|
57
|
+
onClick={[Function]}
|
58
|
+
>
|
59
|
+
Sync now
|
60
|
+
</Button>
|
61
|
+
</div>
|
57
62
|
</div>
|
58
63
|
</div>
|
59
64
|
</IntlProvider>
|
@@ -3,6 +3,7 @@ import { connect } from 'react-redux';
|
|
3
3
|
|
4
4
|
import * as actions from './InsightsCloudSyncActions';
|
5
5
|
import InsightsCloudSync from './InsightsCloudSync';
|
6
|
+
import insightsCloudSyncReducers from './InsightsCloudSyncReducers';
|
6
7
|
|
7
8
|
// map state to props
|
8
9
|
const mapStateToProps = state => ({});
|
@@ -11,7 +12,7 @@ const mapStateToProps = state => ({});
|
|
11
12
|
const mapDispatchToProps = dispatch => bindActionCreators(actions, dispatch);
|
12
13
|
|
13
14
|
// export reducers
|
14
|
-
export const reducers =
|
15
|
+
export const reducers = insightsCloudSyncReducers;
|
15
16
|
|
16
17
|
// export connected component
|
17
18
|
export default connect(mapStateToProps, mapDispatchToProps)(InsightsCloudSync);
|
@@ -6,7 +6,10 @@ import {
|
|
6
6
|
selectInsightsCloudSync,
|
7
7
|
} from '../ForemanRhCloudSelectors';
|
8
8
|
|
9
|
-
const state = rhCloudStateWrapper(
|
9
|
+
const state = rhCloudStateWrapper(
|
10
|
+
{ inventoryChild: {} },
|
11
|
+
{ insightsChild: {} }
|
12
|
+
);
|
10
13
|
|
11
14
|
const fixtures = {
|
12
15
|
'should return ForemanRhCloud': () => selectForemanRhCloud(state),
|
@@ -1,9 +1,19 @@
|
|
1
1
|
import { testSelectorsSnapshotWithFixtures } from 'react-redux-test-utils';
|
2
|
-
import {
|
2
|
+
import {
|
3
|
+
rhCloudStateWrapper,
|
4
|
+
inventoryStateWrapper,
|
5
|
+
insightsStateWrapper,
|
6
|
+
} from '../ForemanRhCloudTestHelpers';
|
3
7
|
|
4
8
|
const fixtures = {
|
9
|
+
'should return rhCloud wrapper': () =>
|
10
|
+
rhCloudStateWrapper({ inventoryChild: {} }, { insightsChild: {} }),
|
11
|
+
|
5
12
|
'should return inventory wrapper': () =>
|
6
|
-
|
13
|
+
inventoryStateWrapper({ inventoryChild: {} }),
|
14
|
+
|
15
|
+
'should return insights wrapper': () =>
|
16
|
+
insightsStateWrapper({ insightsChild: {} }),
|
7
17
|
};
|
8
18
|
|
9
19
|
describe('ForemanRhCloud helpers', () =>
|
@@ -1,24 +1,24 @@
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
2
|
|
3
|
-
exports[`ForemanRhCloud selectors should return InsightsCloudSync 1`] = `
|
4
|
-
Object {
|
5
|
-
"inventoryReducersNamespaces": Object {},
|
6
|
-
}
|
7
|
-
`;
|
8
|
-
|
9
3
|
exports[`ForemanRhCloud selectors should return ForemanInventoryUpload 1`] = `
|
10
4
|
Object {
|
11
|
-
"
|
5
|
+
"inventoryChild": Object {},
|
12
6
|
}
|
13
7
|
`;
|
14
8
|
|
15
9
|
exports[`ForemanRhCloud selectors should return ForemanRhCloud 1`] = `
|
16
10
|
Object {
|
17
11
|
"InsightsCloudSync": Object {
|
18
|
-
"
|
12
|
+
"insightsChild": Object {},
|
19
13
|
},
|
20
14
|
"inventoryUpload": Object {
|
21
|
-
"
|
15
|
+
"inventoryChild": Object {},
|
22
16
|
},
|
23
17
|
}
|
24
18
|
`;
|
19
|
+
|
20
|
+
exports[`ForemanRhCloud selectors should return InsightsCloudSync 1`] = `
|
21
|
+
Object {
|
22
|
+
"insightsChild": Object {},
|
23
|
+
}
|
24
|
+
`;
|
@@ -1,13 +1,35 @@
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
2
|
|
3
|
+
exports[`ForemanRhCloud helpers should return insights wrapper 1`] = `
|
4
|
+
Object {
|
5
|
+
"ForemanRhCloud": Object {
|
6
|
+
"InsightsCloudSync": Object {
|
7
|
+
"insightsChild": Object {},
|
8
|
+
},
|
9
|
+
"inventoryUpload": Object {},
|
10
|
+
},
|
11
|
+
}
|
12
|
+
`;
|
13
|
+
|
3
14
|
exports[`ForemanRhCloud helpers should return inventory wrapper 1`] = `
|
15
|
+
Object {
|
16
|
+
"ForemanRhCloud": Object {
|
17
|
+
"InsightsCloudSync": Object {},
|
18
|
+
"inventoryUpload": Object {
|
19
|
+
"inventoryChild": Object {},
|
20
|
+
},
|
21
|
+
},
|
22
|
+
}
|
23
|
+
`;
|
24
|
+
|
25
|
+
exports[`ForemanRhCloud helpers should return rhCloud wrapper 1`] = `
|
4
26
|
Object {
|
5
27
|
"ForemanRhCloud": Object {
|
6
28
|
"InsightsCloudSync": Object {
|
7
|
-
"
|
29
|
+
"insightsChild": Object {},
|
8
30
|
},
|
9
31
|
"inventoryUpload": Object {
|
10
|
-
"
|
32
|
+
"inventoryChild": Object {},
|
11
33
|
},
|
12
34
|
},
|
13
35
|
}
|
data/webpack/index.js
CHANGED
@@ -4,8 +4,7 @@
|
|
4
4
|
import componentRegistry from 'foremanReact/components/componentRegistry';
|
5
5
|
import { registerReducer } from 'foremanReact/common/MountingService';
|
6
6
|
import reducers from './ForemanRhCloudReducers';
|
7
|
-
import
|
8
|
-
import InsightsCloudSync from './InsightsCloudSync';
|
7
|
+
import pages from './ForemanRhCloudPages';
|
9
8
|
|
10
9
|
// register reducers
|
11
10
|
Object.entries(reducers).forEach(([key, reducer]) =>
|
@@ -13,13 +12,4 @@ Object.entries(reducers).forEach(([key, reducer]) =>
|
|
13
12
|
);
|
14
13
|
|
15
14
|
// register components
|
16
|
-
componentRegistry.register(
|
17
|
-
name: 'ForemanInventoryUpload',
|
18
|
-
type: ForemanInventoryUpload,
|
19
|
-
});
|
20
|
-
|
21
|
-
// register components
|
22
|
-
componentRegistry.register({
|
23
|
-
name: 'InsightsCloudSync',
|
24
|
-
type: InsightsCloudSync,
|
25
|
-
});
|
15
|
+
pages.forEach(page => componentRegistry.register(page));
|
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: 0.9.
|
4
|
+
version: 0.9.10
|
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: 2020-
|
11
|
+
date: 2020-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katello
|
@@ -78,13 +78,16 @@ files:
|
|
78
78
|
- Rakefile
|
79
79
|
- app/controllers/foreman_inventory_upload/accounts_controller.rb
|
80
80
|
- app/controllers/foreman_inventory_upload/reports_controller.rb
|
81
|
+
- app/controllers/foreman_inventory_upload/tasks_controller.rb
|
81
82
|
- app/controllers/foreman_inventory_upload/uploads_controller.rb
|
82
83
|
- app/controllers/foreman_rh_cloud/react_controller.rb
|
84
|
+
- app/controllers/insights_cloud/settings_controller.rb
|
83
85
|
- app/controllers/insights_cloud/tasks_controller.rb
|
84
86
|
- app/helpers/foreman_inventory_upload_helper.rb
|
85
87
|
- app/helpers/foreman_inventory_upload_host_helper.rb
|
86
88
|
- app/models/insights_facet.rb
|
87
89
|
- app/models/insights_hit.rb
|
90
|
+
- app/models/inventory_sync/inventory_status.rb
|
88
91
|
- app/models/setting/rh_cloud.rb
|
89
92
|
- app/overrides/hosts_list.rb
|
90
93
|
- app/views/foreman_rh_cloud/react/insights_cloud.html.erb
|
@@ -93,6 +96,7 @@ files:
|
|
93
96
|
- config/routes.rb
|
94
97
|
- db/migrate/20191215104806_create_insights_hits.foreman_inventory_upload.rb
|
95
98
|
- db/migrate/20191216062008_create_insights_facets.foreman_inventory_upload.rb
|
99
|
+
- db/migrate/20200727111529_add_uuid_column_to_insights_facets.foreman_rh_cloud.rb
|
96
100
|
- lib/foreman_inventory_upload.rb
|
97
101
|
- lib/foreman_inventory_upload/async/async_helpers.rb
|
98
102
|
- lib/foreman_inventory_upload/async/generate_all_reports_job.rb
|
@@ -114,6 +118,9 @@ files:
|
|
114
118
|
- lib/foreman_rh_cloud/version.rb
|
115
119
|
- lib/insights_cloud.rb
|
116
120
|
- lib/insights_cloud/async/insights_full_sync.rb
|
121
|
+
- lib/insights_cloud/async/insights_scheduled_sync.rb
|
122
|
+
- lib/inventory_sync/async/host_result.rb
|
123
|
+
- lib/inventory_sync/async/inventory_full_sync.rb
|
117
124
|
- lib/tasks/foreman_rh_cloud_tasks.rake
|
118
125
|
- lib/tasks/generator.rake
|
119
126
|
- locale/Makefile
|
@@ -122,13 +129,17 @@ files:
|
|
122
129
|
- locale/gemspec.rb
|
123
130
|
- package.json
|
124
131
|
- test/controllers/accounts_controller_test.rb
|
132
|
+
- test/controllers/insights_sync/settings_controller_test.rb
|
125
133
|
- test/controllers/reports_controller_test.rb
|
126
134
|
- test/controllers/uploads_controller_test.rb
|
135
|
+
- test/factories/insights_factories.rb
|
127
136
|
- test/factories/inventory_upload_factories.rb
|
128
137
|
- test/jobs/insights_full_sync_test.rb
|
138
|
+
- test/jobs/inventory_full_sync_test.rb
|
129
139
|
- test/test_plugin_helper.rb
|
130
140
|
- test/unit/archived_report_generator_test.rb
|
131
141
|
- test/unit/fact_helpers_test.rb
|
142
|
+
- test/unit/insights_facet_test.rb
|
132
143
|
- test/unit/metadata_generator_test.rb
|
133
144
|
- test/unit/shell_process_job_test.rb
|
134
145
|
- test/unit/slice_generator_test.rb
|
@@ -285,6 +296,24 @@ files:
|
|
285
296
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/__tests__/PageDescription.test.js
|
286
297
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/__tests__/__snapshots__/PageDescription.test.js.snap
|
287
298
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/index.js
|
299
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButton.js
|
300
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButtonActions.js
|
301
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButtonConstants.js
|
302
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButtonReducer.js
|
303
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButtonSelectors.js
|
304
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButton.test.js
|
305
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButtonActions.test.js
|
306
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButtonFixtures.js
|
307
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButtonReducer.test.js
|
308
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButtonSelectors.test.js
|
309
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/SyncButton.test.js.snap
|
310
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/SyncButtonActions.test.js.snap
|
311
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/SyncButtonReducer.test.js.snap
|
312
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/SyncButtonSelectors.test.js.snap
|
313
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/components/Modal.js
|
314
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/components/Toast.js
|
315
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/components/modal.scss
|
316
|
+
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/index.js
|
288
317
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/ToolbarButtons/ToolbarButtons.js
|
289
318
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/ToolbarButtons/__tests__/ToolbarButtons.test.js
|
290
319
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/ToolbarButtons/__tests__/__snapshots__/ToolbarButtons.test.js.snap
|
@@ -366,9 +395,31 @@ files:
|
|
366
395
|
- webpack/ForemanInventoryUpload/__tests__/__snapshots__/ForemanInventoryUpload.test.js.snap
|
367
396
|
- webpack/ForemanInventoryUpload/index.js
|
368
397
|
- webpack/ForemanRhCloudHelpers.js
|
398
|
+
- webpack/ForemanRhCloudPages.js
|
369
399
|
- webpack/ForemanRhCloudReducers.js
|
370
400
|
- webpack/ForemanRhCloudSelectors.js
|
371
401
|
- webpack/ForemanRhCloudTestHelpers.js
|
402
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettings.js
|
403
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettingsActions.js
|
404
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettingsConstants.js
|
405
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettingsReducer.js
|
406
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettingsSelectors.js
|
407
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettings.test.js
|
408
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsActions.test.js
|
409
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsReducer.test.js
|
410
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
|
411
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettings.test.js.snap
|
412
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsActions.test.js.snap
|
413
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsReducer.test.js.snap
|
414
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsSelectors.test.js.snap
|
415
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/index.js
|
416
|
+
- webpack/InsightsCloudSync/Components/InsightsSettings/insightsSettings.scss
|
417
|
+
- webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/InsightsSyncSwitcher.fixtures.js
|
418
|
+
- webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/InsightsSyncSwitcher.js
|
419
|
+
- webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/__tests__/InsightsSyncSwitcher.test.js
|
420
|
+
- webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/__tests__/__snapshots__/InsightsSyncSwitcher.test.js.snap
|
421
|
+
- webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/index.js
|
422
|
+
- webpack/InsightsCloudSync/Components/InsightsSyncSwitcher/insightsSyncSwitcher.scss
|
372
423
|
- webpack/InsightsCloudSync/InsightsCloudSync.js
|
373
424
|
- webpack/InsightsCloudSync/InsightsCloudSync.test.js
|
374
425
|
- webpack/InsightsCloudSync/InsightsCloudSyncActions.js
|
@@ -383,6 +434,8 @@ files:
|
|
383
434
|
- webpack/__mocks__/foremanReact/common/I18n.js
|
384
435
|
- webpack/__mocks__/foremanReact/common/helpers.js
|
385
436
|
- webpack/__mocks__/foremanReact/components/Layout/LayoutConstants.js
|
437
|
+
- webpack/__mocks__/foremanReact/constants.js
|
438
|
+
- webpack/__mocks__/foremanReact/redux/actions/toasts.js
|
386
439
|
- webpack/__tests__/ForemanRhCloudHelpers.test.js
|
387
440
|
- webpack/__tests__/ForemanRhCloudSelectors.test.js
|
388
441
|
- webpack/__tests__/ForemanRhCloudTestHelpers.test.js
|
@@ -423,13 +476,17 @@ specification_version: 4
|
|
423
476
|
summary: Summary of ForemanRhCloud.
|
424
477
|
test_files:
|
425
478
|
- test/controllers/uploads_controller_test.rb
|
479
|
+
- test/controllers/insights_sync/settings_controller_test.rb
|
426
480
|
- test/controllers/accounts_controller_test.rb
|
427
481
|
- test/controllers/reports_controller_test.rb
|
428
482
|
- test/test_plugin_helper.rb
|
429
483
|
- test/jobs/insights_full_sync_test.rb
|
484
|
+
- test/jobs/inventory_full_sync_test.rb
|
430
485
|
- test/factories/inventory_upload_factories.rb
|
486
|
+
- test/factories/insights_factories.rb
|
431
487
|
- test/unit/shell_process_job_test.rb
|
432
488
|
- test/unit/metadata_generator_test.rb
|
489
|
+
- test/unit/insights_facet_test.rb
|
433
490
|
- test/unit/fact_helpers_test.rb
|
434
491
|
- test/unit/archived_report_generator_test.rb
|
435
492
|
- test/unit/slice_generator_test.rb
|