foreman_rh_cloud 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +619 -0
- data/README.md +38 -0
- data/Rakefile +47 -0
- data/app/controllers/foreman_inventory_upload/accounts_controller.rb +39 -0
- data/app/controllers/foreman_inventory_upload/react_controller.rb +7 -0
- data/app/controllers/foreman_inventory_upload/reports_controller.rb +30 -0
- data/app/controllers/foreman_inventory_upload/uploads_controller.rb +31 -0
- data/app/helpers/foreman_inventory_upload_helper.rb +13 -0
- data/app/views/foreman_inventory_upload/layouts/react.html.erb +16 -0
- data/config/routes.rb +10 -0
- data/lib/foreman_inventory_upload.rb +51 -0
- data/lib/foreman_inventory_upload/async/generate_all_reports_job.rb +19 -0
- data/lib/foreman_inventory_upload/async/generate_report_job.rb +37 -0
- data/lib/foreman_inventory_upload/async/progress_output.rb +61 -0
- data/lib/foreman_inventory_upload/async/queue_for_upload_job.rb +47 -0
- data/lib/foreman_inventory_upload/async/shell_process.rb +36 -0
- data/lib/foreman_inventory_upload/async/upload_report_job.rb +58 -0
- data/lib/foreman_inventory_upload/generators/archived_report.rb +53 -0
- data/lib/foreman_inventory_upload/generators/fact_helpers.rb +18 -0
- data/lib/foreman_inventory_upload/generators/json_stream.rb +55 -0
- data/lib/foreman_inventory_upload/generators/metadata.rb +36 -0
- data/lib/foreman_inventory_upload/generators/queries.rb +61 -0
- data/lib/foreman_inventory_upload/generators/slice.rb +147 -0
- data/lib/foreman_inventory_upload/scripts/uploader.sh.erb +44 -0
- data/lib/foreman_rh_cloud.rb +4 -0
- data/lib/foreman_rh_cloud/engine.rb +62 -0
- data/lib/foreman_rh_cloud/version.rb +3 -0
- data/lib/tasks/foreman_rh_cloud_tasks.rake +37 -0
- data/lib/tasks/generator.rake +29 -0
- data/locale/Makefile +60 -0
- data/locale/en/foreman_rh_cloud.po +19 -0
- data/locale/foreman_rh_cloud.pot +19 -0
- data/locale/gemspec.rb +2 -0
- data/package.json +125 -0
- data/test/controllers/accounts_controller_test.rb +25 -0
- data/test/controllers/reports_controller_test.rb +21 -0
- data/test/controllers/uploads_controller_test.rb +21 -0
- data/test/factories/inventory_upload_factories.rb +88 -0
- data/test/test_plugin_helper.rb +26 -0
- data/test/unit/archived_report_generator_test.rb +61 -0
- data/test/unit/metadata_generator_test.rb +40 -0
- data/test/unit/shell_process_job_test.rb +27 -0
- data/test/unit/slice_generator_test.rb +177 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js +37 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/AccountList.js +74 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/AccountList.stories.js +18 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/AccountListActions.js +65 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/AccountListConstants.js +9 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/AccountListHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/AccountListReducer.js +55 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/AccountListSelectors.js +8 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/EmptyState.fixtures.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/EmptyState.js +16 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/EmptyStateHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/__tests__/EmptyState.test.js +13 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/__tests__/__snapshots__/EmptyState.test.js.snap +26 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/emptyState.scss +7 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/ErrorState.fixtures.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/ErrorState.js +23 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/ErrorStateHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/__tests__/ErrorState.test.js +13 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/__tests__/__snapshots__/ErrorState.test.js.snap +20 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/errorState.scss +18 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/ListItem.fixtures.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/ListItem.js +41 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/ListItemHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/__tests__/ListItem.test.js +13 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/__tests__/__snapshots__/ListItem.test.js.snap +50 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/listItem.scss +0 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatus.fixtures.js +7 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatus.js +43 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatusHelper.js +29 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/__tests__/ListItemStatus.test.js +14 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/__tests__/__snapshots__/ListItemStatus.test.js.snap +78 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/listItemStatus.scss +16 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountList.test.js +13 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListActions.test.js +20 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListIntegration.test.js +14 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListReducer.test.js +60 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListSelectors.test.js +26 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountList.test.js.snap +44 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap +47 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap +69 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListSelectors.test.js.snap +46 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/accountList.scss +9 -0
- data/webpack/ForemanInventoryUpload/Components/AccountList/index.js +27 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js +50 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.js +145 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.stories.js +19 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/DashboardActions.js +87 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/DashboardConstants.js +9 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/DashboardHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/DashboardReducer.js +68 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/DashboardSelectors.js +17 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/Dashboard.test.js +25 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/DashboardActions.test.js +39 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/DashboardIntegration.test.js +16 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/DashboardReducer.test.js +64 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/DashboardSelectors.test.js +45 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/__snapshots__/Dashboard.test.js.snap +35 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/__snapshots__/DashboardActions.test.js.snap +76 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/__snapshots__/DashboardReducer.test.js.snap +44 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/__snapshots__/DashboardSelectors.test.js.snap +42 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/dashboard.scss +0 -0
- data/webpack/ForemanInventoryUpload/Components/Dashboard/index.js +34 -0
- data/webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.fixtures.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js +22 -0
- data/webpack/ForemanInventoryUpload/Components/FileDownload/FileDownloadHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/FileDownload/__tests__/FileDownload.test.js +13 -0
- data/webpack/ForemanInventoryUpload/Components/FileDownload/__tests__/__snapshots__/FileDownload.test.js.snap +25 -0
- data/webpack/ForemanInventoryUpload/Components/FileDownload/fileDownload.scss +3 -0
- data/webpack/ForemanInventoryUpload/Components/FileDownload/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/FullScreenModal/FullScreenModal.fixtures.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/FullScreenModal/FullScreenModal.js +50 -0
- data/webpack/ForemanInventoryUpload/Components/FullScreenModal/FullScreenModalHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/FullScreenModal/__tests__/FullScreenModal.test.js +13 -0
- data/webpack/ForemanInventoryUpload/Components/FullScreenModal/__tests__/__snapshots__/FullScreenModal.test.js.snap +64 -0
- data/webpack/ForemanInventoryUpload/Components/FullScreenModal/fullScreenModal.scss +18 -0
- data/webpack/ForemanInventoryUpload/Components/FullScreenModal/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/NavContainer/NavContainer.fixtures.js +10 -0
- data/webpack/ForemanInventoryUpload/Components/NavContainer/NavContainer.js +83 -0
- data/webpack/ForemanInventoryUpload/Components/NavContainer/NavContainerHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/NavContainer/__tests__/NavContainer.test.js +26 -0
- data/webpack/ForemanInventoryUpload/Components/NavContainer/__tests__/__snapshots__/NavContainer.test.js.snap +89 -0
- data/webpack/ForemanInventoryUpload/Components/NavContainer/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/NavContainer/navContainer.scss +7 -0
- data/webpack/ForemanInventoryUpload/Components/ReportGenerate/ReportGenerate.fixtures.js +16 -0
- data/webpack/ForemanInventoryUpload/Components/ReportGenerate/ReportGenerate.js +57 -0
- data/webpack/ForemanInventoryUpload/Components/ReportGenerate/ReportGenerateHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/ReportGenerate/__tests__/ReportGenerate.test.js +14 -0
- data/webpack/ForemanInventoryUpload/Components/ReportGenerate/__tests__/__snapshots__/ReportGenerate.test.js.snap +45 -0
- data/webpack/ForemanInventoryUpload/Components/ReportGenerate/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/ReportGenerate/reportGenerate.scss +0 -0
- data/webpack/ForemanInventoryUpload/Components/ReportUpload/ReportUpload.fixtures.js +18 -0
- data/webpack/ForemanInventoryUpload/Components/ReportUpload/ReportUpload.js +53 -0
- data/webpack/ForemanInventoryUpload/Components/ReportUpload/ReportUploadHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/ReportUpload/__tests__/ReportUpload.test.js +14 -0
- data/webpack/ForemanInventoryUpload/Components/ReportUpload/__tests__/__snapshots__/ReportUpload.test.js.snap +45 -0
- data/webpack/ForemanInventoryUpload/Components/ReportUpload/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/ReportUpload/reportUpload.scss +0 -0
- data/webpack/ForemanInventoryUpload/Components/ScheduledRun/ScheduledRun.fixtures.js +3 -0
- data/webpack/ForemanInventoryUpload/Components/ScheduledRun/ScheduledRun.js +27 -0
- data/webpack/ForemanInventoryUpload/Components/ScheduledRun/ScheduledRunHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/ScheduledRun/__tests__/ScheduledRun.test.js +14 -0
- data/webpack/ForemanInventoryUpload/Components/ScheduledRun/__tests__/__snapshots__/ScheduledRun.test.js.snap +25 -0
- data/webpack/ForemanInventoryUpload/Components/ScheduledRun/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/ScheduledRun/scheduledRun.scss +11 -0
- data/webpack/ForemanInventoryUpload/Components/StatusChart/StatusChart.fixtures.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/StatusChart/StatusChart.js +56 -0
- data/webpack/ForemanInventoryUpload/Components/StatusChart/StatusChartHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/StatusChart/__tests__/StatusChart.test.js +13 -0
- data/webpack/ForemanInventoryUpload/Components/StatusChart/__tests__/__snapshots__/StatusChart.test.js.snap +74 -0
- data/webpack/ForemanInventoryUpload/Components/StatusChart/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/StatusChart/statusChart.scss +8 -0
- data/webpack/ForemanInventoryUpload/Components/TabBody/TabBody.fixtures.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/TabBody/TabBody.js +31 -0
- data/webpack/ForemanInventoryUpload/Components/TabBody/TabBodyHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/TabBody/__tests__/TabBody.test.js +13 -0
- data/webpack/ForemanInventoryUpload/Components/TabBody/__tests__/__snapshots__/TabBody.test.js.snap +19 -0
- data/webpack/ForemanInventoryUpload/Components/TabBody/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/TabBody/tabBody.scss +3 -0
- data/webpack/ForemanInventoryUpload/Components/TabContainer/TabContainer.fixtures.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/TabContainer/TabContainer.js +24 -0
- data/webpack/ForemanInventoryUpload/Components/TabContainer/TabContainerHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/TabContainer/__tests__/TabContainer.test.js +13 -0
- data/webpack/ForemanInventoryUpload/Components/TabContainer/__tests__/__snapshots__/TabContainer.test.js.snap +18 -0
- data/webpack/ForemanInventoryUpload/Components/TabContainer/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/TabContainer/tabContainer.scss +8 -0
- data/webpack/ForemanInventoryUpload/Components/TabFooter/TabFooter.fixtures.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/TabFooter/TabFooter.js +19 -0
- data/webpack/ForemanInventoryUpload/Components/TabFooter/TabFooterHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/TabFooter/__tests__/TabFooter.test.js +13 -0
- data/webpack/ForemanInventoryUpload/Components/TabFooter/__tests__/__snapshots__/TabFooter.test.js.snap +12 -0
- data/webpack/ForemanInventoryUpload/Components/TabFooter/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/TabFooter/tabFooter.scss +0 -0
- data/webpack/ForemanInventoryUpload/Components/TabHeader/TabHeader.fixtures.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/TabHeader/TabHeader.js +47 -0
- data/webpack/ForemanInventoryUpload/Components/TabHeader/TabHeaderHelper.js +0 -0
- data/webpack/ForemanInventoryUpload/Components/TabHeader/__tests__/TabHeader.test.js +13 -0
- data/webpack/ForemanInventoryUpload/Components/TabHeader/__tests__/__snapshots__/TabHeader.test.js.snap +43 -0
- data/webpack/ForemanInventoryUpload/Components/TabHeader/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/TabHeader/tabHeader.scss +21 -0
- data/webpack/ForemanInventoryUpload/Components/Terminal/Terminal.fixtures.js +10 -0
- data/webpack/ForemanInventoryUpload/Components/Terminal/Terminal.js +112 -0
- data/webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js +6 -0
- data/webpack/ForemanInventoryUpload/Components/Terminal/__tests__/Terminal.test.js +35 -0
- data/webpack/ForemanInventoryUpload/Components/Terminal/__tests__/__snapshots__/Terminal.test.js.snap +98 -0
- data/webpack/ForemanInventoryUpload/Components/Terminal/index.js +1 -0
- data/webpack/ForemanInventoryUpload/Components/Terminal/terminal.scss +31 -0
- data/webpack/ForemanInventoryUpload/ForemanInventoryUpload.js +15 -0
- data/webpack/ForemanInventoryUpload/ForemanInventoryUpload.test.js +10 -0
- data/webpack/ForemanInventoryUpload/ForemanInventoryUploadReducers.js +12 -0
- data/webpack/ForemanInventoryUpload/ForemanInventoryUploadSelectors.js +4 -0
- data/webpack/ForemanInventoryUpload/__snapshots__/ForemanInventoryUpload.test.js.snap +16 -0
- data/webpack/ForemanInventoryUpload/index.js +1 -0
- data/webpack/__mocks__/foremanReact/API.js +7 -0
- data/webpack/__mocks__/foremanReact/common/I18n.js +5 -0
- data/webpack/__mocks__/foremanReact/common/helpers.js +3 -0
- data/webpack/index.js +18 -0
- data/webpack/stories/ForemanInventoryUploadReducers.js +3 -0
- data/webpack/stories/configureStore.js +15 -0
- data/webpack/stories/decorators/index.js +1 -0
- data/webpack/stories/decorators/withCardsDecorator.js +14 -0
- data/webpack/stories/index.js +10 -0
- data/webpack/stories/index.scss +7 -0
- data/webpack/test_setup.js +6 -0
- metadata +318 -0
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { IntlProvider } from 'react-intl';
|
3
|
+
import { translate as __ } from 'foremanReact/common/I18n';
|
4
|
+
import AccountList from './Components/AccountList';
|
5
|
+
|
6
|
+
const ForemanInventoryUpload = () => (
|
7
|
+
<IntlProvider locale={navigator.language}>
|
8
|
+
<div className="inventory-upload">
|
9
|
+
<h1>{__('Red Hat Inventory Uploads')}</h1>
|
10
|
+
<AccountList />
|
11
|
+
</div>
|
12
|
+
</IntlProvider>
|
13
|
+
);
|
14
|
+
|
15
|
+
export default ForemanInventoryUpload;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { testComponentSnapshotsWithFixtures } from 'react-redux-test-utils';
|
2
|
+
|
3
|
+
import ForemanInventoryUpload from './ForemanInventoryUpload';
|
4
|
+
|
5
|
+
const fixtures = {
|
6
|
+
'render without Props': {},
|
7
|
+
};
|
8
|
+
|
9
|
+
describe('ForemanInventoryUpload', () =>
|
10
|
+
testComponentSnapshotsWithFixtures(ForemanInventoryUpload, fixtures));
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { combineReducers } from 'redux';
|
2
|
+
import { reducers as accountListReducers } from './Components/AccountList';
|
3
|
+
import { reducers as dashboardReducers } from './Components/Dashboard';
|
4
|
+
|
5
|
+
const reducers = {
|
6
|
+
ForemanInventoryUpload: combineReducers({
|
7
|
+
...accountListReducers,
|
8
|
+
...dashboardReducers,
|
9
|
+
}),
|
10
|
+
};
|
11
|
+
|
12
|
+
export default reducers;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
+
|
3
|
+
exports[`ForemanInventoryUpload render without Props 1`] = `
|
4
|
+
<IntlProvider
|
5
|
+
locale="en-US"
|
6
|
+
>
|
7
|
+
<div
|
8
|
+
className="inventory-upload"
|
9
|
+
>
|
10
|
+
<h1>
|
11
|
+
Red Hat Inventory Uploads
|
12
|
+
</h1>
|
13
|
+
<Connect(AccountList) />
|
14
|
+
</div>
|
15
|
+
</IntlProvider>
|
16
|
+
`;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './ForemanInventoryUpload';
|
data/webpack/index.js
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
/* eslint import/no-unresolved: [2, { ignore: [foremanReact/*] }] */
|
2
|
+
/* eslint-disable import/no-extraneous-dependencies */
|
3
|
+
/* eslint-disable import/extensions */
|
4
|
+
import componentRegistry from 'foremanReact/components/componentRegistry';
|
5
|
+
import { registerReducer } from 'foremanReact/common/MountingService';
|
6
|
+
import reducers from './ForemanInventoryUpload/ForemanInventoryUploadReducers';
|
7
|
+
import ForemanInventoryUpload from './ForemanInventoryUpload';
|
8
|
+
|
9
|
+
// register reducers
|
10
|
+
Object.entries(reducers).forEach(([key, reducer]) =>
|
11
|
+
registerReducer(key, reducer)
|
12
|
+
);
|
13
|
+
|
14
|
+
// register components
|
15
|
+
componentRegistry.register({
|
16
|
+
name: 'ForemanInventoryUpload',
|
17
|
+
type: ForemanInventoryUpload,
|
18
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { applyMiddleware, compose, createStore } from 'redux';
|
2
|
+
import thunkMiddleware from 'redux-thunk';
|
3
|
+
import rootReducer from './ForemanInventoryUploadReducers';
|
4
|
+
|
5
|
+
export default function configureStore(preloadedState) {
|
6
|
+
const middlewares = [thunkMiddleware];
|
7
|
+
const middlewareEnhancer = applyMiddleware(...middlewares);
|
8
|
+
|
9
|
+
const enhancers = [middlewareEnhancer];
|
10
|
+
const composedEnhancers = compose(...enhancers);
|
11
|
+
|
12
|
+
const store = createStore(rootReducer, preloadedState, composedEnhancers);
|
13
|
+
|
14
|
+
return store;
|
15
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './withCardsDecorator';
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
|
3
|
+
export const withCardsDecorator = storyFn => (
|
4
|
+
<div
|
5
|
+
style={{
|
6
|
+
width: '100%',
|
7
|
+
height: '100vh',
|
8
|
+
backgroundColor: '#F5F5F5',
|
9
|
+
padding: '50px',
|
10
|
+
}}
|
11
|
+
>
|
12
|
+
<div style={{ width: '300px', margin: 'auto' }}>{storyFn()}</div>
|
13
|
+
</div>
|
14
|
+
);
|
@@ -0,0 +1,7 @@
|
|
1
|
+
$img-path: '~patternfly/dist/img/';
|
2
|
+
$font-path: '~patternfly/dist/fonts/';
|
3
|
+
$icon-font-path: '~patternfly/dist/fonts/';
|
4
|
+
|
5
|
+
@import '~patternfly/dist/sass/patternfly';
|
6
|
+
@import '~patternfly-react/dist/sass/patternfly-react';
|
7
|
+
@import '~font-awesome-sass/assets/stylesheets/_font-awesome';
|
metadata
ADDED
@@ -0,0 +1,318 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: foreman_rh_cloud
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Foreman Red Hat Cloud team
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-03-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: katello
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: redhat_access
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rdoc
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
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: rubocop
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.54.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.54.0
|
69
|
+
description: Foreman plugin that process & upload data to Red Hat Cloud
|
70
|
+
email:
|
71
|
+
- rlavi@redhat.com, sshtein@redhat.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- LICENSE
|
77
|
+
- README.md
|
78
|
+
- Rakefile
|
79
|
+
- app/controllers/foreman_inventory_upload/accounts_controller.rb
|
80
|
+
- app/controllers/foreman_inventory_upload/react_controller.rb
|
81
|
+
- app/controllers/foreman_inventory_upload/reports_controller.rb
|
82
|
+
- app/controllers/foreman_inventory_upload/uploads_controller.rb
|
83
|
+
- app/helpers/foreman_inventory_upload_helper.rb
|
84
|
+
- app/views/foreman_inventory_upload/layouts/react.html.erb
|
85
|
+
- config/routes.rb
|
86
|
+
- lib/foreman_inventory_upload.rb
|
87
|
+
- lib/foreman_inventory_upload/async/generate_all_reports_job.rb
|
88
|
+
- lib/foreman_inventory_upload/async/generate_report_job.rb
|
89
|
+
- lib/foreman_inventory_upload/async/progress_output.rb
|
90
|
+
- lib/foreman_inventory_upload/async/queue_for_upload_job.rb
|
91
|
+
- lib/foreman_inventory_upload/async/shell_process.rb
|
92
|
+
- lib/foreman_inventory_upload/async/upload_report_job.rb
|
93
|
+
- lib/foreman_inventory_upload/generators/archived_report.rb
|
94
|
+
- lib/foreman_inventory_upload/generators/fact_helpers.rb
|
95
|
+
- lib/foreman_inventory_upload/generators/json_stream.rb
|
96
|
+
- lib/foreman_inventory_upload/generators/metadata.rb
|
97
|
+
- lib/foreman_inventory_upload/generators/queries.rb
|
98
|
+
- lib/foreman_inventory_upload/generators/slice.rb
|
99
|
+
- lib/foreman_inventory_upload/scripts/uploader.sh.erb
|
100
|
+
- lib/foreman_rh_cloud.rb
|
101
|
+
- lib/foreman_rh_cloud/engine.rb
|
102
|
+
- lib/foreman_rh_cloud/version.rb
|
103
|
+
- lib/tasks/foreman_rh_cloud_tasks.rake
|
104
|
+
- lib/tasks/generator.rake
|
105
|
+
- locale/Makefile
|
106
|
+
- locale/en/foreman_rh_cloud.po
|
107
|
+
- locale/foreman_rh_cloud.pot
|
108
|
+
- locale/gemspec.rb
|
109
|
+
- package.json
|
110
|
+
- test/controllers/accounts_controller_test.rb
|
111
|
+
- test/controllers/reports_controller_test.rb
|
112
|
+
- test/controllers/uploads_controller_test.rb
|
113
|
+
- test/factories/inventory_upload_factories.rb
|
114
|
+
- test/test_plugin_helper.rb
|
115
|
+
- test/unit/archived_report_generator_test.rb
|
116
|
+
- test/unit/metadata_generator_test.rb
|
117
|
+
- test/unit/shell_process_job_test.rb
|
118
|
+
- test/unit/slice_generator_test.rb
|
119
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
|
120
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/AccountList.js
|
121
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/AccountList.stories.js
|
122
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/AccountListActions.js
|
123
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/AccountListConstants.js
|
124
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/AccountListHelper.js
|
125
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/AccountListReducer.js
|
126
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/AccountListSelectors.js
|
127
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/EmptyState.fixtures.js
|
128
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/EmptyState.js
|
129
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/EmptyStateHelper.js
|
130
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/__tests__/EmptyState.test.js
|
131
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/__tests__/__snapshots__/EmptyState.test.js.snap
|
132
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/emptyState.scss
|
133
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/index.js
|
134
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/ErrorState.fixtures.js
|
135
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/ErrorState.js
|
136
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/ErrorStateHelper.js
|
137
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/__tests__/ErrorState.test.js
|
138
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/__tests__/__snapshots__/ErrorState.test.js.snap
|
139
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/errorState.scss
|
140
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/index.js
|
141
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/ListItem.fixtures.js
|
142
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/ListItem.js
|
143
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/ListItemHelper.js
|
144
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/__tests__/ListItem.test.js
|
145
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/__tests__/__snapshots__/ListItem.test.js.snap
|
146
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/index.js
|
147
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/listItem.scss
|
148
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatus.fixtures.js
|
149
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatus.js
|
150
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatusHelper.js
|
151
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/__tests__/ListItemStatus.test.js
|
152
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/__tests__/__snapshots__/ListItemStatus.test.js.snap
|
153
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/index.js
|
154
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/listItemStatus.scss
|
155
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountList.test.js
|
156
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListActions.test.js
|
157
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListIntegration.test.js
|
158
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListReducer.test.js
|
159
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListSelectors.test.js
|
160
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountList.test.js.snap
|
161
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
|
162
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
|
163
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListSelectors.test.js.snap
|
164
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/accountList.scss
|
165
|
+
- webpack/ForemanInventoryUpload/Components/AccountList/index.js
|
166
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
|
167
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.js
|
168
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.stories.js
|
169
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/DashboardActions.js
|
170
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/DashboardConstants.js
|
171
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/DashboardHelper.js
|
172
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/DashboardReducer.js
|
173
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/DashboardSelectors.js
|
174
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/Dashboard.test.js
|
175
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/DashboardActions.test.js
|
176
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/DashboardIntegration.test.js
|
177
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/DashboardReducer.test.js
|
178
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/DashboardSelectors.test.js
|
179
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/__snapshots__/Dashboard.test.js.snap
|
180
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/__snapshots__/DashboardActions.test.js.snap
|
181
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/__snapshots__/DashboardReducer.test.js.snap
|
182
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/__tests__/__snapshots__/DashboardSelectors.test.js.snap
|
183
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/dashboard.scss
|
184
|
+
- webpack/ForemanInventoryUpload/Components/Dashboard/index.js
|
185
|
+
- webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.fixtures.js
|
186
|
+
- webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
|
187
|
+
- webpack/ForemanInventoryUpload/Components/FileDownload/FileDownloadHelper.js
|
188
|
+
- webpack/ForemanInventoryUpload/Components/FileDownload/__tests__/FileDownload.test.js
|
189
|
+
- webpack/ForemanInventoryUpload/Components/FileDownload/__tests__/__snapshots__/FileDownload.test.js.snap
|
190
|
+
- webpack/ForemanInventoryUpload/Components/FileDownload/fileDownload.scss
|
191
|
+
- webpack/ForemanInventoryUpload/Components/FileDownload/index.js
|
192
|
+
- webpack/ForemanInventoryUpload/Components/FullScreenModal/FullScreenModal.fixtures.js
|
193
|
+
- webpack/ForemanInventoryUpload/Components/FullScreenModal/FullScreenModal.js
|
194
|
+
- webpack/ForemanInventoryUpload/Components/FullScreenModal/FullScreenModalHelper.js
|
195
|
+
- webpack/ForemanInventoryUpload/Components/FullScreenModal/__tests__/FullScreenModal.test.js
|
196
|
+
- webpack/ForemanInventoryUpload/Components/FullScreenModal/__tests__/__snapshots__/FullScreenModal.test.js.snap
|
197
|
+
- webpack/ForemanInventoryUpload/Components/FullScreenModal/fullScreenModal.scss
|
198
|
+
- webpack/ForemanInventoryUpload/Components/FullScreenModal/index.js
|
199
|
+
- webpack/ForemanInventoryUpload/Components/NavContainer/NavContainer.fixtures.js
|
200
|
+
- webpack/ForemanInventoryUpload/Components/NavContainer/NavContainer.js
|
201
|
+
- webpack/ForemanInventoryUpload/Components/NavContainer/NavContainerHelper.js
|
202
|
+
- webpack/ForemanInventoryUpload/Components/NavContainer/__tests__/NavContainer.test.js
|
203
|
+
- webpack/ForemanInventoryUpload/Components/NavContainer/__tests__/__snapshots__/NavContainer.test.js.snap
|
204
|
+
- webpack/ForemanInventoryUpload/Components/NavContainer/index.js
|
205
|
+
- webpack/ForemanInventoryUpload/Components/NavContainer/navContainer.scss
|
206
|
+
- webpack/ForemanInventoryUpload/Components/ReportGenerate/ReportGenerate.fixtures.js
|
207
|
+
- webpack/ForemanInventoryUpload/Components/ReportGenerate/ReportGenerate.js
|
208
|
+
- webpack/ForemanInventoryUpload/Components/ReportGenerate/ReportGenerateHelper.js
|
209
|
+
- webpack/ForemanInventoryUpload/Components/ReportGenerate/__tests__/ReportGenerate.test.js
|
210
|
+
- webpack/ForemanInventoryUpload/Components/ReportGenerate/__tests__/__snapshots__/ReportGenerate.test.js.snap
|
211
|
+
- webpack/ForemanInventoryUpload/Components/ReportGenerate/index.js
|
212
|
+
- webpack/ForemanInventoryUpload/Components/ReportGenerate/reportGenerate.scss
|
213
|
+
- webpack/ForemanInventoryUpload/Components/ReportUpload/ReportUpload.fixtures.js
|
214
|
+
- webpack/ForemanInventoryUpload/Components/ReportUpload/ReportUpload.js
|
215
|
+
- webpack/ForemanInventoryUpload/Components/ReportUpload/ReportUploadHelper.js
|
216
|
+
- webpack/ForemanInventoryUpload/Components/ReportUpload/__tests__/ReportUpload.test.js
|
217
|
+
- webpack/ForemanInventoryUpload/Components/ReportUpload/__tests__/__snapshots__/ReportUpload.test.js.snap
|
218
|
+
- webpack/ForemanInventoryUpload/Components/ReportUpload/index.js
|
219
|
+
- webpack/ForemanInventoryUpload/Components/ReportUpload/reportUpload.scss
|
220
|
+
- webpack/ForemanInventoryUpload/Components/ScheduledRun/ScheduledRun.fixtures.js
|
221
|
+
- webpack/ForemanInventoryUpload/Components/ScheduledRun/ScheduledRun.js
|
222
|
+
- webpack/ForemanInventoryUpload/Components/ScheduledRun/ScheduledRunHelper.js
|
223
|
+
- webpack/ForemanInventoryUpload/Components/ScheduledRun/__tests__/ScheduledRun.test.js
|
224
|
+
- webpack/ForemanInventoryUpload/Components/ScheduledRun/__tests__/__snapshots__/ScheduledRun.test.js.snap
|
225
|
+
- webpack/ForemanInventoryUpload/Components/ScheduledRun/index.js
|
226
|
+
- webpack/ForemanInventoryUpload/Components/ScheduledRun/scheduledRun.scss
|
227
|
+
- webpack/ForemanInventoryUpload/Components/StatusChart/StatusChart.fixtures.js
|
228
|
+
- webpack/ForemanInventoryUpload/Components/StatusChart/StatusChart.js
|
229
|
+
- webpack/ForemanInventoryUpload/Components/StatusChart/StatusChartHelper.js
|
230
|
+
- webpack/ForemanInventoryUpload/Components/StatusChart/__tests__/StatusChart.test.js
|
231
|
+
- webpack/ForemanInventoryUpload/Components/StatusChart/__tests__/__snapshots__/StatusChart.test.js.snap
|
232
|
+
- webpack/ForemanInventoryUpload/Components/StatusChart/index.js
|
233
|
+
- webpack/ForemanInventoryUpload/Components/StatusChart/statusChart.scss
|
234
|
+
- webpack/ForemanInventoryUpload/Components/TabBody/TabBody.fixtures.js
|
235
|
+
- webpack/ForemanInventoryUpload/Components/TabBody/TabBody.js
|
236
|
+
- webpack/ForemanInventoryUpload/Components/TabBody/TabBodyHelper.js
|
237
|
+
- webpack/ForemanInventoryUpload/Components/TabBody/__tests__/TabBody.test.js
|
238
|
+
- webpack/ForemanInventoryUpload/Components/TabBody/__tests__/__snapshots__/TabBody.test.js.snap
|
239
|
+
- webpack/ForemanInventoryUpload/Components/TabBody/index.js
|
240
|
+
- webpack/ForemanInventoryUpload/Components/TabBody/tabBody.scss
|
241
|
+
- webpack/ForemanInventoryUpload/Components/TabContainer/TabContainer.fixtures.js
|
242
|
+
- webpack/ForemanInventoryUpload/Components/TabContainer/TabContainer.js
|
243
|
+
- webpack/ForemanInventoryUpload/Components/TabContainer/TabContainerHelper.js
|
244
|
+
- webpack/ForemanInventoryUpload/Components/TabContainer/__tests__/TabContainer.test.js
|
245
|
+
- webpack/ForemanInventoryUpload/Components/TabContainer/__tests__/__snapshots__/TabContainer.test.js.snap
|
246
|
+
- webpack/ForemanInventoryUpload/Components/TabContainer/index.js
|
247
|
+
- webpack/ForemanInventoryUpload/Components/TabContainer/tabContainer.scss
|
248
|
+
- webpack/ForemanInventoryUpload/Components/TabFooter/TabFooter.fixtures.js
|
249
|
+
- webpack/ForemanInventoryUpload/Components/TabFooter/TabFooter.js
|
250
|
+
- webpack/ForemanInventoryUpload/Components/TabFooter/TabFooterHelper.js
|
251
|
+
- webpack/ForemanInventoryUpload/Components/TabFooter/__tests__/TabFooter.test.js
|
252
|
+
- webpack/ForemanInventoryUpload/Components/TabFooter/__tests__/__snapshots__/TabFooter.test.js.snap
|
253
|
+
- webpack/ForemanInventoryUpload/Components/TabFooter/index.js
|
254
|
+
- webpack/ForemanInventoryUpload/Components/TabFooter/tabFooter.scss
|
255
|
+
- webpack/ForemanInventoryUpload/Components/TabHeader/TabHeader.fixtures.js
|
256
|
+
- webpack/ForemanInventoryUpload/Components/TabHeader/TabHeader.js
|
257
|
+
- webpack/ForemanInventoryUpload/Components/TabHeader/TabHeaderHelper.js
|
258
|
+
- webpack/ForemanInventoryUpload/Components/TabHeader/__tests__/TabHeader.test.js
|
259
|
+
- webpack/ForemanInventoryUpload/Components/TabHeader/__tests__/__snapshots__/TabHeader.test.js.snap
|
260
|
+
- webpack/ForemanInventoryUpload/Components/TabHeader/index.js
|
261
|
+
- webpack/ForemanInventoryUpload/Components/TabHeader/tabHeader.scss
|
262
|
+
- webpack/ForemanInventoryUpload/Components/Terminal/Terminal.fixtures.js
|
263
|
+
- webpack/ForemanInventoryUpload/Components/Terminal/Terminal.js
|
264
|
+
- webpack/ForemanInventoryUpload/Components/Terminal/TerminalHelper.js
|
265
|
+
- webpack/ForemanInventoryUpload/Components/Terminal/__tests__/Terminal.test.js
|
266
|
+
- webpack/ForemanInventoryUpload/Components/Terminal/__tests__/__snapshots__/Terminal.test.js.snap
|
267
|
+
- webpack/ForemanInventoryUpload/Components/Terminal/index.js
|
268
|
+
- webpack/ForemanInventoryUpload/Components/Terminal/terminal.scss
|
269
|
+
- webpack/ForemanInventoryUpload/ForemanInventoryUpload.js
|
270
|
+
- webpack/ForemanInventoryUpload/ForemanInventoryUpload.test.js
|
271
|
+
- webpack/ForemanInventoryUpload/ForemanInventoryUploadReducers.js
|
272
|
+
- webpack/ForemanInventoryUpload/ForemanInventoryUploadSelectors.js
|
273
|
+
- webpack/ForemanInventoryUpload/__snapshots__/ForemanInventoryUpload.test.js.snap
|
274
|
+
- webpack/ForemanInventoryUpload/index.js
|
275
|
+
- webpack/__mocks__/foremanReact/API.js
|
276
|
+
- webpack/__mocks__/foremanReact/common/I18n.js
|
277
|
+
- webpack/__mocks__/foremanReact/common/helpers.js
|
278
|
+
- webpack/index.js
|
279
|
+
- webpack/stories/ForemanInventoryUploadReducers.js
|
280
|
+
- webpack/stories/configureStore.js
|
281
|
+
- webpack/stories/decorators/index.js
|
282
|
+
- webpack/stories/decorators/withCardsDecorator.js
|
283
|
+
- webpack/stories/index.js
|
284
|
+
- webpack/stories/index.scss
|
285
|
+
- webpack/test_setup.js
|
286
|
+
homepage: https://github.com/theforeman/foreman_rh_cloud
|
287
|
+
licenses:
|
288
|
+
- GPL-3.0
|
289
|
+
metadata: {}
|
290
|
+
post_install_message:
|
291
|
+
rdoc_options: []
|
292
|
+
require_paths:
|
293
|
+
- lib
|
294
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
295
|
+
requirements:
|
296
|
+
- - ">="
|
297
|
+
- !ruby/object:Gem::Version
|
298
|
+
version: '0'
|
299
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
300
|
+
requirements:
|
301
|
+
- - ">="
|
302
|
+
- !ruby/object:Gem::Version
|
303
|
+
version: '0'
|
304
|
+
requirements: []
|
305
|
+
rubygems_version: 3.0.6
|
306
|
+
signing_key:
|
307
|
+
specification_version: 4
|
308
|
+
summary: Summary of ForemanRhCloud.
|
309
|
+
test_files:
|
310
|
+
- test/controllers/uploads_controller_test.rb
|
311
|
+
- test/controllers/accounts_controller_test.rb
|
312
|
+
- test/controllers/reports_controller_test.rb
|
313
|
+
- test/test_plugin_helper.rb
|
314
|
+
- test/factories/inventory_upload_factories.rb
|
315
|
+
- test/unit/shell_process_job_test.rb
|
316
|
+
- test/unit/metadata_generator_test.rb
|
317
|
+
- test/unit/archived_report_generator_test.rb
|
318
|
+
- test/unit/slice_generator_test.rb
|