foreman_rh_cloud 2.0.16 → 3.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -13
- data/app/helpers/foreman_inventory_upload_host_helper.rb +1 -8
- data/app/models/setting/rh_cloud.rb +5 -5
- 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 +4 -2
- data/lib/foreman_rh_cloud/version.rb +1 -1
- data/lib/tasks/rh_cloud_inventory.rake +0 -23
- data/package.json +1 -1
- data/webpack/ForemanInventoryUpload/Components/AutoUploadSwitcher/AutoUploadSwitcher.js +1 -1
- data/webpack/ForemanInventoryUpload/Components/AutoUploadSwitcher/__tests__/__snapshots__/AutoUploadSwitcher.test.js.snap +1 -1
- data/webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/InventoryAutoUpload.js +92 -0
- data/webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/__tests__/InventoryAutoUpload.test.js +17 -0
- data/webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/__tests__/__snapshots__/InventoryAutoUpload.test.js.snap +106 -0
- data/webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/AdvancedSettings.js +60 -0
- data/webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js +28 -0
- data/webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js +22 -0
- data/webpack/ForemanRhCloudFills.js +23 -0
- data/webpack/ForemanRhCloudPages.js +6 -1
- data/webpack/ForemanRhCloudReducers.js +10 -1
- data/webpack/InsightsHostDetailsTab/InsightsTab.js +5 -7
- data/webpack/InsightsHostDetailsTab/__tests__/InsightsTab.fixtures.js +12 -14
- data/webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap +10 -12
- data/webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabReducer.test.js.snap +10 -12
- data/webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabSelectors.test.js.snap +10 -12
- data/webpack/__mocks__/foremanReact/common/MountingService.js +1 -0
- data/webpack/common/Switcher/index.js +79 -0
- data/webpack/global_index.js +5 -0
- data/webpack/index.js +4 -14
- metadata +25 -20
- data/config/Gemfile.lock.gh_test +0 -815
- data/config/database.yml.example +0 -17
- data/config/package-lock.json.gh_test +0 -36317
- data/webpack/ForemanInventoryUpload/SubscriptionsPageExtension/SubscriptionsPageExtensionActions.js +0 -34
- data/webpack/subscriptions_extension_index.js +0 -8
@@ -0,0 +1,28 @@
|
|
1
|
+
import { bindActionCreators } from 'redux';
|
2
|
+
import { connect } from 'react-redux';
|
3
|
+
import { handleToggle as hostObfuscationToggle } from '../../../../Components/HostObfuscationSwitcher/HostObfuscationSwitcherActions';
|
4
|
+
import { handleToggle as ipsObfuscationToggle } from '../../../../Components/IpsObfuscationSwitcher/IpsObfuscationSwitcherActions';
|
5
|
+
import { handleToggle as excludePackagesToggle } from '../../../../Components/ExcludePackagesSwitcher/ExcludePackagesSwitcherActions';
|
6
|
+
import AdvancedSettings from './AdvancedSettings';
|
7
|
+
import {
|
8
|
+
selectExcludePackages,
|
9
|
+
selectHostObfuscationEnabled,
|
10
|
+
selectIpsObfuscationEnabled,
|
11
|
+
} from '../../../../Components/AccountList/AccountListSelectors';
|
12
|
+
|
13
|
+
// map state to props
|
14
|
+
const mapStateToProps = state => ({
|
15
|
+
hostObfuscationEnabled: selectHostObfuscationEnabled(state),
|
16
|
+
ipsObfuscationEnabled: selectIpsObfuscationEnabled(state),
|
17
|
+
excludePackagesEnabled: selectExcludePackages(state),
|
18
|
+
});
|
19
|
+
|
20
|
+
// map action dispatchers to props
|
21
|
+
const mapDispatchToProps = dispatch =>
|
22
|
+
bindActionCreators(
|
23
|
+
{ hostObfuscationToggle, ipsObfuscationToggle, excludePackagesToggle },
|
24
|
+
dispatch
|
25
|
+
);
|
26
|
+
|
27
|
+
// export connected component
|
28
|
+
export default connect(mapStateToProps, mapDispatchToProps)(AdvancedSettings);
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { bindActionCreators } from 'redux';
|
2
|
+
import { connect } from 'react-redux';
|
3
|
+
|
4
|
+
import * as actions from '../../Components/AutoUploadSwitcher/AutoUploadSwitcherActions';
|
5
|
+
import InventoryAutoUpload from './InventoryAutoUpload';
|
6
|
+
import { selectAutoUploadEnabled } from '../../Components/AccountList/AccountListSelectors';
|
7
|
+
import { fetchAccountsStatus as fetchSettings } from '../../Components/AccountList/AccountListActions';
|
8
|
+
|
9
|
+
// map state to props
|
10
|
+
const mapStateToProps = state => ({
|
11
|
+
autoUploadEnabled: selectAutoUploadEnabled(state),
|
12
|
+
});
|
13
|
+
|
14
|
+
// map action dispatchers to props
|
15
|
+
const mapDispatchToProps = dispatch =>
|
16
|
+
bindActionCreators({ ...actions, fetchSettings }, dispatch);
|
17
|
+
|
18
|
+
// export connected component
|
19
|
+
export default connect(
|
20
|
+
mapStateToProps,
|
21
|
+
mapDispatchToProps
|
22
|
+
)(InventoryAutoUpload);
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { addGlobalFill } from 'foremanReact/components/common/Fill/GlobalFill';
|
3
|
+
import InventoryAutoUploadSwitcher from './ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload';
|
4
|
+
|
5
|
+
const fills = [
|
6
|
+
{
|
7
|
+
slot: 'katello-manage-manifest-form',
|
8
|
+
name: 'InventoryAutoUpload',
|
9
|
+
component: () => <InventoryAutoUploadSwitcher />,
|
10
|
+
weight: 50,
|
11
|
+
},
|
12
|
+
];
|
13
|
+
|
14
|
+
export const registerFills = () => {
|
15
|
+
fills.forEach(({ slot, name, component: Component, weight }, index) =>
|
16
|
+
addGlobalFill(
|
17
|
+
slot,
|
18
|
+
name,
|
19
|
+
<Component key={`rh-cloud-fill-${index}`} />,
|
20
|
+
weight
|
21
|
+
)
|
22
|
+
);
|
23
|
+
};
|
@@ -1,9 +1,14 @@
|
|
1
|
+
import componentRegistry from 'foremanReact/components/componentRegistry';
|
1
2
|
import ForemanInventoryUpload from './ForemanInventoryUpload';
|
2
3
|
import InsightsCloudSync from './InsightsCloudSync';
|
3
4
|
import InsightsHostDetailsTab from './InsightsHostDetailsTab';
|
4
5
|
|
5
|
-
|
6
|
+
const pages = [
|
6
7
|
{ name: 'ForemanInventoryUpload', type: ForemanInventoryUpload },
|
7
8
|
{ name: 'InsightsCloudSync', type: InsightsCloudSync },
|
8
9
|
{ name: 'InsightsHostDetailsTab', type: InsightsHostDetailsTab },
|
9
10
|
];
|
11
|
+
|
12
|
+
export const registerPages = () => {
|
13
|
+
pages.forEach(page => componentRegistry.register(page));
|
14
|
+
};
|
@@ -1,12 +1,21 @@
|
|
1
1
|
import { combineReducers } from 'redux';
|
2
|
+
import { registerReducer } from 'foremanReact/common/MountingService';
|
2
3
|
import inventoryUploadReducers from './ForemanInventoryUpload/ForemanInventoryUploadReducers';
|
3
4
|
import insightsReducers from './InsightsCloudSync/InsightsCloudSyncReducers';
|
4
5
|
import { hostInsightsReducers } from './InsightsHostDetailsTab';
|
5
6
|
|
6
|
-
|
7
|
+
const reducers = {
|
7
8
|
ForemanRhCloud: combineReducers({
|
8
9
|
...inventoryUploadReducers,
|
9
10
|
...insightsReducers,
|
10
11
|
...hostInsightsReducers,
|
11
12
|
}),
|
12
13
|
};
|
14
|
+
|
15
|
+
export default reducers;
|
16
|
+
|
17
|
+
export const registerReducers = () => {
|
18
|
+
Object.entries(reducers).forEach(([key, reducer]) =>
|
19
|
+
registerReducer(key, reducer)
|
20
|
+
);
|
21
|
+
};
|
@@ -17,16 +17,14 @@ class InsightsHostDetailsTab extends React.Component {
|
|
17
17
|
if (!hits.length) {
|
18
18
|
return <h2>No recommendations were found for this host!</h2>;
|
19
19
|
}
|
20
|
-
const hitsSorted = orderBy(hits, ['
|
20
|
+
const hitsSorted = orderBy(hits, ['total_risk'], ['desc']);
|
21
21
|
const items = hitsSorted.map(
|
22
22
|
(
|
23
23
|
{
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
solution_url: solutionUrl,
|
29
|
-
},
|
24
|
+
title,
|
25
|
+
total_risk: totalRisk,
|
26
|
+
results_url: resultsUrl,
|
27
|
+
solution_url: solutionUrl,
|
30
28
|
},
|
31
29
|
index
|
32
30
|
) => (
|
@@ -2,20 +2,18 @@ export const hostID = 1234;
|
|
2
2
|
|
3
3
|
export const hits = [
|
4
4
|
{
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
'https://cloud.redhat.com/insights/advisor/recommendations/ansible_deprecated_repo%7CANSIBLE_DEPRECATED_REPO/4739b323-a343-4e89-b71b-81991b8dc656/',
|
18
|
-
},
|
5
|
+
hostname: 'my-host.example.com',
|
6
|
+
rhel_version: '7.8',
|
7
|
+
uuid: '4739b323-a343-4e89-b71b-81991b8dc656',
|
8
|
+
last_seen: '2020-08-19T04:43:09.068706Z',
|
9
|
+
title:
|
10
|
+
'New Ansible Engine packages are inaccessible when dedicated Ansible repo is not enabled',
|
11
|
+
solution_url: 'https://access.redhat.com/node/3359651',
|
12
|
+
total_risk: 2,
|
13
|
+
likelihood: 2,
|
14
|
+
publish_date: '2018-04-16T10:03:16Z',
|
15
|
+
results_url:
|
16
|
+
'https://cloud.redhat.com/insights/advisor/recommendations/ansible_deprecated_repo%7CANSIBLE_DEPRECATED_REPO/4739b323-a343-4e89-b71b-81991b8dc656/',
|
19
17
|
},
|
20
18
|
];
|
21
19
|
|
@@ -13,18 +13,16 @@ Array [
|
|
13
13
|
"payload": Object {
|
14
14
|
"hits": Array [
|
15
15
|
Object {
|
16
|
-
"
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
"uuid": "4739b323-a343-4e89-b71b-81991b8dc656",
|
27
|
-
},
|
16
|
+
"hostname": "my-host.example.com",
|
17
|
+
"last_seen": "2020-08-19T04:43:09.068706Z",
|
18
|
+
"likelihood": 2,
|
19
|
+
"publish_date": "2018-04-16T10:03:16Z",
|
20
|
+
"results_url": "https://cloud.redhat.com/insights/advisor/recommendations/ansible_deprecated_repo%7CANSIBLE_DEPRECATED_REPO/4739b323-a343-4e89-b71b-81991b8dc656/",
|
21
|
+
"rhel_version": "7.8",
|
22
|
+
"solution_url": "https://access.redhat.com/node/3359651",
|
23
|
+
"title": "New Ansible Engine packages are inaccessible when dedicated Ansible repo is not enabled",
|
24
|
+
"total_risk": 2,
|
25
|
+
"uuid": "4739b323-a343-4e89-b71b-81991b8dc656",
|
28
26
|
},
|
29
27
|
],
|
30
28
|
},
|
@@ -10,18 +10,16 @@ exports[`AccountList reducer should handle INSIGHTS_HITS_SUCCESS 1`] = `
|
|
10
10
|
Object {
|
11
11
|
"hits": Array [
|
12
12
|
Object {
|
13
|
-
"
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
"uuid": "4739b323-a343-4e89-b71b-81991b8dc656",
|
24
|
-
},
|
13
|
+
"hostname": "my-host.example.com",
|
14
|
+
"last_seen": "2020-08-19T04:43:09.068706Z",
|
15
|
+
"likelihood": 2,
|
16
|
+
"publish_date": "2018-04-16T10:03:16Z",
|
17
|
+
"results_url": "https://cloud.redhat.com/insights/advisor/recommendations/ansible_deprecated_repo%7CANSIBLE_DEPRECATED_REPO/4739b323-a343-4e89-b71b-81991b8dc656/",
|
18
|
+
"rhel_version": "7.8",
|
19
|
+
"solution_url": "https://access.redhat.com/node/3359651",
|
20
|
+
"title": "New Ansible Engine packages are inaccessible when dedicated Ansible repo is not enabled",
|
21
|
+
"total_risk": 2,
|
22
|
+
"uuid": "4739b323-a343-4e89-b71b-81991b8dc656",
|
25
23
|
},
|
26
24
|
],
|
27
25
|
}
|
data/webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabSelectors.test.js.snap
CHANGED
@@ -3,18 +3,16 @@
|
|
3
3
|
exports[`InsightsTab selectors should return hits 1`] = `
|
4
4
|
Array [
|
5
5
|
Object {
|
6
|
-
"
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
"uuid": "4739b323-a343-4e89-b71b-81991b8dc656",
|
17
|
-
},
|
6
|
+
"hostname": "my-host.example.com",
|
7
|
+
"last_seen": "2020-08-19T04:43:09.068706Z",
|
8
|
+
"likelihood": 2,
|
9
|
+
"publish_date": "2018-04-16T10:03:16Z",
|
10
|
+
"results_url": "https://cloud.redhat.com/insights/advisor/recommendations/ansible_deprecated_repo%7CANSIBLE_DEPRECATED_REPO/4739b323-a343-4e89-b71b-81991b8dc656/",
|
11
|
+
"rhel_version": "7.8",
|
12
|
+
"solution_url": "https://access.redhat.com/node/3359651",
|
13
|
+
"title": "New Ansible Engine packages are inaccessible when dedicated Ansible repo is not enabled",
|
14
|
+
"total_risk": 2,
|
15
|
+
"uuid": "4739b323-a343-4e89-b71b-81991b8dc656",
|
18
16
|
},
|
19
17
|
]
|
20
18
|
`;
|
@@ -0,0 +1 @@
|
|
1
|
+
export const registerReducer = jest.fn;
|
@@ -0,0 +1,79 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import PropTypes from 'prop-types';
|
3
|
+
import { Switch, Level, LevelItem } from '@patternfly/react-core';
|
4
|
+
import {
|
5
|
+
OverlayTrigger,
|
6
|
+
Tooltip,
|
7
|
+
Icon,
|
8
|
+
Grid,
|
9
|
+
ControlLabel,
|
10
|
+
noop,
|
11
|
+
} from 'patternfly-react';
|
12
|
+
|
13
|
+
const Switcher = ({
|
14
|
+
id,
|
15
|
+
label,
|
16
|
+
tooltip,
|
17
|
+
isChecked,
|
18
|
+
onChange,
|
19
|
+
labelCol = 5,
|
20
|
+
SwitchCol = 2,
|
21
|
+
}) => (
|
22
|
+
<React.Fragment>
|
23
|
+
<Grid.Col sm={labelCol}>
|
24
|
+
<ControlLabel className="control-label" style={{ paddingTop: '0' }}>
|
25
|
+
<Level>
|
26
|
+
<LevelItem>
|
27
|
+
<span className={`rh-cloud-switcher-${id}-label`}>{label}</span>
|
28
|
+
</LevelItem>
|
29
|
+
<LevelItem>
|
30
|
+
<OverlayTrigger
|
31
|
+
overlay={
|
32
|
+
<Tooltip
|
33
|
+
id={`rh-cloud-switcher-${id}-tooltip`}
|
34
|
+
style={{ zIndex: 10000 }}
|
35
|
+
>
|
36
|
+
{tooltip}
|
37
|
+
</Tooltip>
|
38
|
+
}
|
39
|
+
placement="bottom"
|
40
|
+
trigger={['hover', 'focus']}
|
41
|
+
rootClose={false}
|
42
|
+
>
|
43
|
+
<Icon type="pf" name="info" />
|
44
|
+
</OverlayTrigger>
|
45
|
+
</LevelItem>
|
46
|
+
</Level>
|
47
|
+
</ControlLabel>
|
48
|
+
</Grid.Col>
|
49
|
+
<Grid.Col sm={SwitchCol} style={{ marginBottom: '5px' }}>
|
50
|
+
<Switch
|
51
|
+
id={`rh-cloud-switcher-${id}`}
|
52
|
+
isChecked={isChecked}
|
53
|
+
onChange={onChange}
|
54
|
+
label=" "
|
55
|
+
/>
|
56
|
+
</Grid.Col>
|
57
|
+
</React.Fragment>
|
58
|
+
);
|
59
|
+
|
60
|
+
Switcher.propTypes = {
|
61
|
+
id: PropTypes.string.isRequired,
|
62
|
+
label: PropTypes.string,
|
63
|
+
tooltip: PropTypes.string,
|
64
|
+
isChecked: PropTypes.bool,
|
65
|
+
onChange: PropTypes.func,
|
66
|
+
labelCol: PropTypes.number,
|
67
|
+
SwitchCol: PropTypes.number,
|
68
|
+
};
|
69
|
+
|
70
|
+
Switcher.defaultProps = {
|
71
|
+
label: null,
|
72
|
+
tooltip: null,
|
73
|
+
isChecked: true,
|
74
|
+
onChange: noop,
|
75
|
+
labelCol: 5,
|
76
|
+
SwitchCol: 2,
|
77
|
+
};
|
78
|
+
|
79
|
+
export default Switcher;
|
data/webpack/index.js
CHANGED
@@ -1,15 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
/* eslint-disable import/extensions */
|
4
|
-
import componentRegistry from 'foremanReact/components/componentRegistry';
|
5
|
-
import { registerReducer } from 'foremanReact/common/MountingService';
|
6
|
-
import reducers from './ForemanRhCloudReducers';
|
7
|
-
import pages from './ForemanRhCloudPages';
|
1
|
+
import { registerReducers } from './ForemanRhCloudReducers';
|
2
|
+
import { registerPages } from './ForemanRhCloudPages';
|
8
3
|
|
9
|
-
|
10
|
-
|
11
|
-
registerReducer(key, reducer)
|
12
|
-
);
|
13
|
-
|
14
|
-
// register components
|
15
|
-
pages.forEach(page => componentRegistry.register(page));
|
4
|
+
registerReducers();
|
5
|
+
registerPages();
|
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: 3.0.14
|
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: 2020-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katello
|
@@ -125,9 +125,6 @@ files:
|
|
125
125
|
- app/views/foreman_rh_cloud/react/inventory_upload.html.erb
|
126
126
|
- app/views/hosts/_insights_tab.html.erb
|
127
127
|
- app/views/layouts/foreman_rh_cloud/application.html.erb
|
128
|
-
- config/Gemfile.lock.gh_test
|
129
|
-
- config/database.yml.example
|
130
|
-
- config/package-lock.json.gh_test
|
131
128
|
- config/routes.rb
|
132
129
|
- db/migrate/20191215104806_create_insights_hits.foreman_inventory_upload.rb
|
133
130
|
- db/migrate/20191216062008_create_insights_facets.foreman_inventory_upload.rb
|
@@ -449,12 +446,18 @@ files:
|
|
449
446
|
- webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js
|
450
447
|
- webpack/ForemanInventoryUpload/ForemanInventoryUpload.js
|
451
448
|
- webpack/ForemanInventoryUpload/ForemanInventoryUploadReducers.js
|
452
|
-
- webpack/ForemanInventoryUpload/SubscriptionsPageExtension/
|
449
|
+
- webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/InventoryAutoUpload.js
|
450
|
+
- webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/__tests__/InventoryAutoUpload.test.js
|
451
|
+
- webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/__tests__/__snapshots__/InventoryAutoUpload.test.js.snap
|
452
|
+
- webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/AdvancedSettings.js
|
453
|
+
- webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/index.js
|
454
|
+
- webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
|
453
455
|
- webpack/ForemanInventoryUpload/__tests__/ForemanInventoryHelpers.test.js
|
454
456
|
- webpack/ForemanInventoryUpload/__tests__/ForemanInventoryUpload.test.js
|
455
457
|
- webpack/ForemanInventoryUpload/__tests__/__snapshots__/ForemanInventoryHelpers.test.js.snap
|
456
458
|
- webpack/ForemanInventoryUpload/__tests__/__snapshots__/ForemanInventoryUpload.test.js.snap
|
457
459
|
- webpack/ForemanInventoryUpload/index.js
|
460
|
+
- webpack/ForemanRhCloudFills.js
|
458
461
|
- webpack/ForemanRhCloudHelpers.js
|
459
462
|
- webpack/ForemanRhCloudPages.js
|
460
463
|
- webpack/ForemanRhCloudReducers.js
|
@@ -512,6 +515,7 @@ files:
|
|
512
515
|
- webpack/InsightsHostDetailsTab/index.js
|
513
516
|
- webpack/__mocks__/foremanReact/API.js
|
514
517
|
- webpack/__mocks__/foremanReact/common/I18n.js
|
518
|
+
- webpack/__mocks__/foremanReact/common/MountingService.js
|
515
519
|
- webpack/__mocks__/foremanReact/common/helpers.js
|
516
520
|
- webpack/__mocks__/foremanReact/components/Layout/LayoutConstants.js
|
517
521
|
- webpack/__mocks__/foremanReact/constants.js
|
@@ -522,13 +526,14 @@ files:
|
|
522
526
|
- webpack/__tests__/__snapshots__/ForemanRhCloudHelpers.test.js.snap
|
523
527
|
- webpack/__tests__/__snapshots__/ForemanRhCloudSelectors.test.js.snap
|
524
528
|
- webpack/__tests__/__snapshots__/ForemanRhCloudTestHelpers.test.js.snap
|
529
|
+
- webpack/common/Switcher/index.js
|
530
|
+
- webpack/global_index.js
|
525
531
|
- webpack/index.js
|
526
|
-
- webpack/subscriptions_extension_index.js
|
527
532
|
homepage: https://github.com/theforeman/foreman_rh_cloud
|
528
533
|
licenses:
|
529
534
|
- GPL-3.0
|
530
535
|
metadata: {}
|
531
|
-
post_install_message:
|
536
|
+
post_install_message:
|
532
537
|
rdoc_options: []
|
533
538
|
require_paths:
|
534
539
|
- lib
|
@@ -543,25 +548,25 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
543
548
|
- !ruby/object:Gem::Version
|
544
549
|
version: '0'
|
545
550
|
requirements: []
|
546
|
-
rubygems_version: 3.
|
547
|
-
signing_key:
|
551
|
+
rubygems_version: 3.1.4
|
552
|
+
signing_key:
|
548
553
|
specification_version: 4
|
549
554
|
summary: Summary of ForemanRhCloud.
|
550
555
|
test_files:
|
551
|
-
- test/controllers/uploads_controller_test.rb
|
552
|
-
- test/controllers/insights_sync/settings_controller_test.rb
|
553
556
|
- test/controllers/accounts_controller_test.rb
|
557
|
+
- test/controllers/insights_sync/settings_controller_test.rb
|
554
558
|
- test/controllers/reports_controller_test.rb
|
555
|
-
- test/
|
556
|
-
- test/
|
559
|
+
- test/controllers/uploads_controller_test.rb
|
560
|
+
- test/factories/insights_factories.rb
|
561
|
+
- test/factories/inventory_upload_factories.rb
|
557
562
|
- test/jobs/insights_full_sync_test.rb
|
558
563
|
- test/jobs/inventory_full_sync_test.rb
|
559
|
-
- test/
|
560
|
-
- test/
|
561
|
-
- test/unit/
|
564
|
+
- test/jobs/upload_report_job_test.rb
|
565
|
+
- test/test_plugin_helper.rb
|
566
|
+
- test/unit/archived_report_generator_test.rb
|
562
567
|
- test/unit/metadata_generator_test.rb
|
568
|
+
- test/unit/shell_process_job_test.rb
|
569
|
+
- test/unit/fact_helpers_test.rb
|
563
570
|
- test/unit/insights_facet_test.rb
|
564
571
|
- test/unit/rh_cloud_http_proxy_test.rb
|
565
|
-
- test/unit/fact_helpers_test.rb
|
566
|
-
- test/unit/archived_report_generator_test.rb
|
567
572
|
- test/unit/slice_generator_test.rb
|