foreman_rh_cloud 14.1.2 → 14.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/foreman_inventory_upload/generators/fact_helpers.rb +26 -4
- data/lib/foreman_inventory_upload.rb +8 -1
- data/lib/foreman_rh_cloud/version.rb +1 -1
- data/lib/foreman_rh_cloud.rb +36 -9
- data/lib/insights_cloud/async/insights_generate_notifications.rb +10 -1
- data/lib/inventory_sync/async/inventory_self_host_sync.rb +12 -2
- data/package.json +1 -1
- data/test/jobs/insights_generate_notifications_test.rb +26 -0
- data/test/jobs/inventory_self_host_sync_test.rb +9 -0
- data/test/unit/foreman_rh_cloud_self_host_test.rb +50 -2
- data/test/unit/metadata_generator_test.rb +24 -1
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyResults/__tests__/EmptyResults.test.js +10 -9
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/__tests__/EmptyState.test.js +13 -9
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/__tests__/ErrorState.test.js +20 -9
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/__tests__/ListItem.test.js +31 -8
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/__tests__/ListItemStatus.test.js +26 -10
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountList.test.js +33 -9
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListReducer.test.js +55 -35
- data/webpack/ForemanInventoryUpload/Components/FileDownload/__tests__/FileDownload.test.js +13 -9
- data/webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/InventoryFilter.test.js +12 -15
- data/webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/integration.test.js +32 -12
- data/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/PageTitle.test.js +14 -7
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/CloudConnectorButton.test.js +47 -18
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/SettingsWarning.test.js +58 -15
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButton.test.js +23 -9
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButtonSelectors.test.js +19 -17
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/integrations.test.js +25 -37
- data/webpack/ForemanInventoryUpload/Components/ScheduledRun/__tests__/ScheduledRun.test.js +28 -8
- data/webpack/ForemanInventoryUpload/Components/StatusChart/__tests__/StatusChart.test.js +25 -8
- data/webpack/ForemanInventoryUpload/Components/TabContainer/__tests__/TabContainer.test.js +11 -9
- data/webpack/ForemanInventoryUpload/Components/TabFooter/__tests__/TabFooter.test.js +11 -9
- data/webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/__tests__/InventoryAutoUpload.test.js +33 -12
- data/webpack/ForemanInventoryUpload/__tests__/ForemanInventoryHelpers.test.js +21 -8
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsActions.test.js +61 -47
- data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/InsightsTable.test.js +48 -4
- data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/InsightsTableActions.test.js +126 -35
- data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/InsightsTableSelectors.test.js +90 -24
- data/webpack/InsightsCloudSync/InsightsCloudSync.test.js +79 -21
- data/webpack/InsightsCloudSync/__tests__/InsightsCloudSyncActions.test.js +31 -6
- data/webpack/InsightsHostDetailsTab/__tests__/InsightsTab.test.js +42 -9
- data/webpack/__tests__/ForemanRhCloudHelpers.test.js +91 -53
- data/webpack/common/Switcher/__tests__/HelpLabel.test.js +25 -10
- data/webpack/common/Switcher/__tests__/SwitcherPF4.test.js +41 -10
- metadata +3 -67
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyResults/__tests__/__snapshots__/EmptyResults.test.js.snap +0 -18
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/__tests__/__snapshots__/EmptyState.test.js.snap +0 -25
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/__tests__/__snapshots__/ErrorState.test.js.snap +0 -20
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/__tests__/__snapshots__/ListItem.test.js.snap +0 -47
- data/webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/__tests__/__snapshots__/ListItemStatus.test.js.snap +0 -59
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListActions.test.js +0 -34
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListIntegration.test.js +0 -14
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListSelectors.test.js +0 -25
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountList.test.js.snap +0 -49
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap +0 -86
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap +0 -75
- data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListSelectors.test.js.snap +0 -46
- data/webpack/ForemanInventoryUpload/Components/FileDownload/__tests__/__snapshots__/FileDownload.test.js.snap +0 -26
- data/webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/InventoryFilterActions.test.js +0 -14
- data/webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/InventoryFilterReducer.test.js +0 -28
- data/webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/InventoryFilterSelectors.test.js +0 -21
- data/webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/__snapshots__/InventoryFilter.test.js.snap +0 -21
- data/webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/__snapshots__/InventoryFilterActions.test.js.snap +0 -17
- data/webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/__snapshots__/InventoryFilterReducer.test.js.snap +0 -19
- data/webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/__snapshots__/InventoryFilterSelectors.test.js.snap +0 -9
- data/webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/__snapshots__/integration.test.js.snap +0 -43
- data/webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/__tests__/AdvancedSettingActions.test.js +0 -9
- data/webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/__tests__/__snapshots__/AdvancedSettingActions.test.js.snap +0 -18
- data/webpack/ForemanInventoryUpload/Components/InventorySettings/__tests__/InventorySettingsActions.test.js +0 -14
- data/webpack/ForemanInventoryUpload/Components/InventorySettings/__tests__/__snapshots__/InventorySettingsActions.test.js.snap +0 -26
- data/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap +0 -68
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/CloudConnectorActions.test.js +0 -9
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/__snapshots__/CloudConnectorActions.test.js.snap +0 -11
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/__snapshots__/CloudConnectorButton.test.js.snap +0 -59
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/__snapshots__/SettingsWarning.test.js.snap +0 -32
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/SyncButton.test.js.snap +0 -15
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/SyncButtonSelectors.test.js.snap +0 -3
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/integrations.test.js.snap +0 -58
- data/webpack/ForemanInventoryUpload/Components/ScheduledRun/__tests__/__snapshots__/ScheduledRun.test.js.snap +0 -23
- data/webpack/ForemanInventoryUpload/Components/StatusChart/__tests__/__snapshots__/StatusChart.test.js.snap +0 -74
- data/webpack/ForemanInventoryUpload/Components/TabContainer/__tests__/__snapshots__/TabContainer.test.js.snap +0 -18
- data/webpack/ForemanInventoryUpload/Components/TabFooter/__tests__/__snapshots__/TabFooter.test.js.snap +0 -12
- data/webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/__tests__/__snapshots__/InventoryAutoUpload.test.js.snap +0 -96
- data/webpack/ForemanInventoryUpload/__tests__/ForemanInventoryUpload.test.js +0 -10
- data/webpack/ForemanInventoryUpload/__tests__/__snapshots__/ForemanInventoryHelpers.test.js.snap +0 -5
- data/webpack/ForemanInventoryUpload/__tests__/__snapshots__/ForemanInventoryUpload.test.js.snap +0 -14
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsReducer.test.js +0 -33
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js +0 -21
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsActions.test.js.snap +0 -65
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsReducer.test.js.snap +0 -19
- data/webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsSelectors.test.js.snap +0 -9
- data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTableActions.test.js.snap +0 -131
- data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTableSelectors.test.js.snap +0 -87
- data/webpack/InsightsCloudSync/__snapshots__/InsightsCloudSync.test.js.snap +0 -10
- data/webpack/InsightsCloudSync/__tests__/InsightsCloudSyncHelpers.test.js +0 -9
- data/webpack/InsightsCloudSync/__tests__/__snapshots__/InsightsCloudSyncActions.test.js.snap +0 -15
- data/webpack/InsightsCloudSync/__tests__/__snapshots__/InsightsCloudSyncHelpers.test.js.snap +0 -3
- data/webpack/InsightsHostDetailsTab/__tests__/InsightsTabActions.test.js +0 -19
- data/webpack/InsightsHostDetailsTab/__tests__/InsightsTabReducer.test.js +0 -26
- data/webpack/InsightsHostDetailsTab/__tests__/InsightsTabSelectors.test.js +0 -13
- data/webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTab.test.js.snap +0 -34
- data/webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap +0 -56
- data/webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabReducer.test.js.snap +0 -32
- data/webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabSelectors.test.js.snap +0 -18
- data/webpack/__tests__/ForemanRhCloudSelectors.test.js +0 -22
- data/webpack/__tests__/ForemanRhCloudTestHelpers.test.js +0 -20
- data/webpack/__tests__/__snapshots__/ForemanRhCloudHelpers.test.js.snap +0 -19
- data/webpack/__tests__/__snapshots__/ForemanRhCloudSelectors.test.js.snap +0 -25
- data/webpack/__tests__/__snapshots__/ForemanRhCloudTestHelpers.test.js.snap +0 -39
- data/webpack/common/Switcher/__tests__/__snapshots__/HelpLabel.test.js.snap +0 -16
- data/webpack/common/Switcher/__tests__/__snapshots__/SwitcherPF4.test.js.snap +0 -24
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_rh_cloud
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 14.1.
|
|
4
|
+
version: 14.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Foreman Red Hat Cloud team
|
|
@@ -240,6 +240,7 @@ files:
|
|
|
240
240
|
- test/jobs/host_inventory_report_job_test.rb
|
|
241
241
|
- test/jobs/insights_client_status_aging_test.rb
|
|
242
242
|
- test/jobs/insights_full_sync_test.rb
|
|
243
|
+
- test/jobs/insights_generate_notifications_test.rb
|
|
243
244
|
- test/jobs/insights_resolutions_sync_test.rb
|
|
244
245
|
- test/jobs/insights_rules_sync_test.rb
|
|
245
246
|
- test/jobs/inventory_full_sync_test.rb
|
|
@@ -297,45 +298,33 @@ files:
|
|
|
297
298
|
- webpack/ForemanInventoryUpload/Components/AccountList/AccountListSelectors.js
|
|
298
299
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyResults/EmptyResults.js
|
|
299
300
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyResults/__tests__/EmptyResults.test.js
|
|
300
|
-
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyResults/__tests__/__snapshots__/EmptyResults.test.js.snap
|
|
301
301
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyResults/emptyResults.scss
|
|
302
302
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyResults/index.js
|
|
303
303
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/EmptyState.fixtures.js
|
|
304
304
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/EmptyState.js
|
|
305
305
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/EmptyStateHelper.js
|
|
306
306
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/__tests__/EmptyState.test.js
|
|
307
|
-
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/__tests__/__snapshots__/EmptyState.test.js.snap
|
|
308
307
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/emptyState.scss
|
|
309
308
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/index.js
|
|
310
309
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/ErrorState.fixtures.js
|
|
311
310
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/ErrorState.js
|
|
312
311
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/ErrorStateHelper.js
|
|
313
312
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/__tests__/ErrorState.test.js
|
|
314
|
-
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/__tests__/__snapshots__/ErrorState.test.js.snap
|
|
315
313
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/errorState.scss
|
|
316
314
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/index.js
|
|
317
315
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/ListItem.fixtures.js
|
|
318
316
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/ListItem.js
|
|
319
317
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/ListItemHelper.js
|
|
320
318
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/__tests__/ListItem.test.js
|
|
321
|
-
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/__tests__/__snapshots__/ListItem.test.js.snap
|
|
322
319
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItem/index.js
|
|
323
320
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatus.fixtures.js
|
|
324
321
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatus.js
|
|
325
322
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatusHelper.js
|
|
326
323
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/__tests__/ListItemStatus.test.js
|
|
327
|
-
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/__tests__/__snapshots__/ListItemStatus.test.js.snap
|
|
328
324
|
- webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/index.js
|
|
329
325
|
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountList.test.js
|
|
330
|
-
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListActions.test.js
|
|
331
326
|
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListHelper.test.js
|
|
332
|
-
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListIntegration.test.js
|
|
333
327
|
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListReducer.test.js
|
|
334
|
-
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListSelectors.test.js
|
|
335
|
-
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountList.test.js.snap
|
|
336
|
-
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListActions.test.js.snap
|
|
337
|
-
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListReducer.test.js.snap
|
|
338
|
-
- webpack/ForemanInventoryUpload/Components/AccountList/__tests__/__snapshots__/AccountListSelectors.test.js.snap
|
|
339
328
|
- webpack/ForemanInventoryUpload/Components/AccountList/accountList.scss
|
|
340
329
|
- webpack/ForemanInventoryUpload/Components/AccountList/index.js
|
|
341
330
|
- webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.fixtures.js
|
|
@@ -349,7 +338,6 @@ files:
|
|
|
349
338
|
- webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js
|
|
350
339
|
- webpack/ForemanInventoryUpload/Components/FileDownload/FileDownloadHelper.js
|
|
351
340
|
- webpack/ForemanInventoryUpload/Components/FileDownload/__tests__/FileDownload.test.js
|
|
352
|
-
- webpack/ForemanInventoryUpload/Components/FileDownload/__tests__/__snapshots__/FileDownload.test.js.snap
|
|
353
341
|
- webpack/ForemanInventoryUpload/Components/FileDownload/fileDownload.scss
|
|
354
342
|
- webpack/ForemanInventoryUpload/Components/FileDownload/index.js
|
|
355
343
|
- webpack/ForemanInventoryUpload/Components/InventoryFilter/Components/ClearButton/ClearButton.js
|
|
@@ -361,21 +349,11 @@ files:
|
|
|
361
349
|
- webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterReducer.js
|
|
362
350
|
- webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterSelectors.js
|
|
363
351
|
- webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/InventoryFilter.test.js
|
|
364
|
-
- webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/InventoryFilterActions.test.js
|
|
365
|
-
- webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/InventoryFilterReducer.test.js
|
|
366
|
-
- webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/InventoryFilterSelectors.test.js
|
|
367
|
-
- webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/__snapshots__/InventoryFilter.test.js.snap
|
|
368
|
-
- webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/__snapshots__/InventoryFilterActions.test.js.snap
|
|
369
|
-
- webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/__snapshots__/InventoryFilterReducer.test.js.snap
|
|
370
|
-
- webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/__snapshots__/InventoryFilterSelectors.test.js.snap
|
|
371
|
-
- webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/__snapshots__/integration.test.js.snap
|
|
372
352
|
- webpack/ForemanInventoryUpload/Components/InventoryFilter/__tests__/integration.test.js
|
|
373
353
|
- webpack/ForemanInventoryUpload/Components/InventoryFilter/index.js
|
|
374
354
|
- webpack/ForemanInventoryUpload/Components/InventoryFilter/inventoryFilter.scss
|
|
375
355
|
- webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/AdvancedSettingActions.js
|
|
376
356
|
- webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/AdvancedSettingsConstants.js
|
|
377
|
-
- webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/__tests__/AdvancedSettingActions.test.js
|
|
378
|
-
- webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/__tests__/__snapshots__/AdvancedSettingActions.test.js.snap
|
|
379
357
|
- webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/index.js
|
|
380
358
|
- webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettings.js
|
|
381
359
|
- webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettings.scss
|
|
@@ -383,8 +361,6 @@ files:
|
|
|
383
361
|
- webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsConstants.js
|
|
384
362
|
- webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettingsSelectors.js
|
|
385
363
|
- webpack/ForemanInventoryUpload/Components/InventorySettings/MinimalInventoryDropdown.js
|
|
386
|
-
- webpack/ForemanInventoryUpload/Components/InventorySettings/__tests__/InventorySettingsActions.test.js
|
|
387
|
-
- webpack/ForemanInventoryUpload/Components/InventorySettings/__tests__/__snapshots__/InventorySettingsActions.test.js.snap
|
|
388
364
|
- webpack/ForemanInventoryUpload/Components/InventorySettings/index.js
|
|
389
365
|
- webpack/ForemanInventoryUpload/Components/NavContainer/NavContainer.fixtures.js
|
|
390
366
|
- webpack/ForemanInventoryUpload/Components/NavContainer/NavContainer.js
|
|
@@ -397,15 +373,11 @@ files:
|
|
|
397
373
|
- webpack/ForemanInventoryUpload/Components/PageHeader/PageTitle.js
|
|
398
374
|
- webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/PageHeader.test.js
|
|
399
375
|
- webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/PageTitle.test.js
|
|
400
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap
|
|
401
376
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorActions.js
|
|
402
377
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorButton.js
|
|
403
378
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorConstants.js
|
|
404
379
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorSelectors.js
|
|
405
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/CloudConnectorActions.test.js
|
|
406
380
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/CloudConnectorButton.test.js
|
|
407
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/__snapshots__/CloudConnectorActions.test.js.snap
|
|
408
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/__tests__/__snapshots__/CloudConnectorButton.test.js.snap
|
|
409
381
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js
|
|
410
382
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudPingModal/index.js
|
|
411
383
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/PageDescription.js
|
|
@@ -413,7 +385,6 @@ files:
|
|
|
413
385
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/index.js
|
|
414
386
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/SettingsWarning.js
|
|
415
387
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/SettingsWarning.test.js
|
|
416
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/__snapshots__/SettingsWarning.test.js.snap
|
|
417
388
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/index.js
|
|
418
389
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButton.js
|
|
419
390
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButtonActions.js
|
|
@@ -422,9 +393,6 @@ files:
|
|
|
422
393
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButton.test.js
|
|
423
394
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButtonFixtures.js
|
|
424
395
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/SyncButtonSelectors.test.js
|
|
425
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/SyncButton.test.js.snap
|
|
426
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/SyncButtonSelectors.test.js.snap
|
|
427
|
-
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/__snapshots__/integrations.test.js.snap
|
|
428
396
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/__tests__/integrations.test.js
|
|
429
397
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/components/Toast.js
|
|
430
398
|
- webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/components/__tests__/Toast.test.js
|
|
@@ -438,28 +406,24 @@ files:
|
|
|
438
406
|
- webpack/ForemanInventoryUpload/Components/ScheduledRun/ScheduledRun.js
|
|
439
407
|
- webpack/ForemanInventoryUpload/Components/ScheduledRun/ScheduledRunHelper.js
|
|
440
408
|
- webpack/ForemanInventoryUpload/Components/ScheduledRun/__tests__/ScheduledRun.test.js
|
|
441
|
-
- webpack/ForemanInventoryUpload/Components/ScheduledRun/__tests__/__snapshots__/ScheduledRun.test.js.snap
|
|
442
409
|
- webpack/ForemanInventoryUpload/Components/ScheduledRun/index.js
|
|
443
410
|
- webpack/ForemanInventoryUpload/Components/ScheduledRun/scheduledRun.scss
|
|
444
411
|
- webpack/ForemanInventoryUpload/Components/StatusChart/StatusChart.fixtures.js
|
|
445
412
|
- webpack/ForemanInventoryUpload/Components/StatusChart/StatusChart.js
|
|
446
413
|
- webpack/ForemanInventoryUpload/Components/StatusChart/StatusChartHelper.js
|
|
447
414
|
- webpack/ForemanInventoryUpload/Components/StatusChart/__tests__/StatusChart.test.js
|
|
448
|
-
- webpack/ForemanInventoryUpload/Components/StatusChart/__tests__/__snapshots__/StatusChart.test.js.snap
|
|
449
415
|
- webpack/ForemanInventoryUpload/Components/StatusChart/index.js
|
|
450
416
|
- webpack/ForemanInventoryUpload/Components/StatusChart/statusChart.scss
|
|
451
417
|
- webpack/ForemanInventoryUpload/Components/TabContainer/TabContainer.fixtures.js
|
|
452
418
|
- webpack/ForemanInventoryUpload/Components/TabContainer/TabContainer.js
|
|
453
419
|
- webpack/ForemanInventoryUpload/Components/TabContainer/TabContainerHelper.js
|
|
454
420
|
- webpack/ForemanInventoryUpload/Components/TabContainer/__tests__/TabContainer.test.js
|
|
455
|
-
- webpack/ForemanInventoryUpload/Components/TabContainer/__tests__/__snapshots__/TabContainer.test.js.snap
|
|
456
421
|
- webpack/ForemanInventoryUpload/Components/TabContainer/index.js
|
|
457
422
|
- webpack/ForemanInventoryUpload/Components/TabContainer/tabContainer.scss
|
|
458
423
|
- webpack/ForemanInventoryUpload/Components/TabFooter/TabFooter.fixtures.js
|
|
459
424
|
- webpack/ForemanInventoryUpload/Components/TabFooter/TabFooter.js
|
|
460
425
|
- webpack/ForemanInventoryUpload/Components/TabFooter/TabFooterHelper.js
|
|
461
426
|
- webpack/ForemanInventoryUpload/Components/TabFooter/__tests__/TabFooter.test.js
|
|
462
|
-
- webpack/ForemanInventoryUpload/Components/TabFooter/__tests__/__snapshots__/TabFooter.test.js.snap
|
|
463
427
|
- webpack/ForemanInventoryUpload/Components/TabFooter/index.js
|
|
464
428
|
- webpack/ForemanInventoryUpload/Components/TabFooter/tabFooter.scss
|
|
465
429
|
- webpack/ForemanInventoryUpload/Components/TabHeader/TabHeader.fixtures.js
|
|
@@ -480,12 +444,8 @@ files:
|
|
|
480
444
|
- webpack/ForemanInventoryUpload/ForemanInventoryUploadReducers.js
|
|
481
445
|
- webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/InventoryAutoUpload.js
|
|
482
446
|
- webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/__tests__/InventoryAutoUpload.test.js
|
|
483
|
-
- webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/__tests__/__snapshots__/InventoryAutoUpload.test.js.snap
|
|
484
447
|
- webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/index.js
|
|
485
448
|
- webpack/ForemanInventoryUpload/__tests__/ForemanInventoryHelpers.test.js
|
|
486
|
-
- webpack/ForemanInventoryUpload/__tests__/ForemanInventoryUpload.test.js
|
|
487
|
-
- webpack/ForemanInventoryUpload/__tests__/__snapshots__/ForemanInventoryHelpers.test.js.snap
|
|
488
|
-
- webpack/ForemanInventoryUpload/__tests__/__snapshots__/ForemanInventoryUpload.test.js.snap
|
|
489
449
|
- webpack/ForemanInventoryUpload/index.js
|
|
490
450
|
- webpack/ForemanRhCloudFills.js
|
|
491
451
|
- webpack/ForemanRhCloudHelpers.js
|
|
@@ -502,11 +462,6 @@ files:
|
|
|
502
462
|
- webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettingsReducer.js
|
|
503
463
|
- webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettingsSelectors.js
|
|
504
464
|
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsActions.test.js
|
|
505
|
-
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsReducer.test.js
|
|
506
|
-
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/InsightsSettingsSelectors.test.js
|
|
507
|
-
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsActions.test.js.snap
|
|
508
|
-
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsReducer.test.js.snap
|
|
509
|
-
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsSelectors.test.js.snap
|
|
510
465
|
- webpack/InsightsCloudSync/Components/InsightsSettings/index.js
|
|
511
466
|
- webpack/InsightsCloudSync/Components/InsightsSettings/insightsSettings.scss
|
|
512
467
|
- webpack/InsightsCloudSync/Components/InsightsTable/InsightsLabel.js
|
|
@@ -523,8 +478,6 @@ files:
|
|
|
523
478
|
- webpack/InsightsCloudSync/Components/InsightsTable/__tests__/InsightsTable.test.js
|
|
524
479
|
- webpack/InsightsCloudSync/Components/InsightsTable/__tests__/InsightsTableActions.test.js
|
|
525
480
|
- webpack/InsightsCloudSync/Components/InsightsTable/__tests__/InsightsTableSelectors.test.js
|
|
526
|
-
- webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTableActions.test.js.snap
|
|
527
|
-
- webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTableSelectors.test.js.snap
|
|
528
481
|
- webpack/InsightsCloudSync/Components/InsightsTable/__tests__/fixtures.js
|
|
529
482
|
- webpack/InsightsCloudSync/Components/InsightsTable/index.js
|
|
530
483
|
- webpack/InsightsCloudSync/Components/InsightsTable/table.scss
|
|
@@ -544,11 +497,7 @@ files:
|
|
|
544
497
|
- webpack/InsightsCloudSync/InsightsCloudSyncConstants.js
|
|
545
498
|
- webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js
|
|
546
499
|
- webpack/InsightsCloudSync/InsightsCloudSyncReducers.js
|
|
547
|
-
- webpack/InsightsCloudSync/__snapshots__/InsightsCloudSync.test.js.snap
|
|
548
500
|
- webpack/InsightsCloudSync/__tests__/InsightsCloudSyncActions.test.js
|
|
549
|
-
- webpack/InsightsCloudSync/__tests__/InsightsCloudSyncHelpers.test.js
|
|
550
|
-
- webpack/InsightsCloudSync/__tests__/__snapshots__/InsightsCloudSyncActions.test.js.snap
|
|
551
|
-
- webpack/InsightsCloudSync/__tests__/__snapshots__/InsightsCloudSyncHelpers.test.js.snap
|
|
552
501
|
- webpack/InsightsCloudSync/index.js
|
|
553
502
|
- webpack/InsightsHostDetailsTab/InsightsTab.js
|
|
554
503
|
- webpack/InsightsHostDetailsTab/InsightsTab.scss
|
|
@@ -561,16 +510,9 @@ files:
|
|
|
561
510
|
- webpack/InsightsHostDetailsTab/NewHostDetailsTab.js
|
|
562
511
|
- webpack/InsightsHostDetailsTab/__tests__/InsightsTab.fixtures.js
|
|
563
512
|
- webpack/InsightsHostDetailsTab/__tests__/InsightsTab.test.js
|
|
564
|
-
- webpack/InsightsHostDetailsTab/__tests__/InsightsTabActions.test.js
|
|
565
513
|
- webpack/InsightsHostDetailsTab/__tests__/InsightsTabIntegration.test.js
|
|
566
|
-
- webpack/InsightsHostDetailsTab/__tests__/InsightsTabReducer.test.js
|
|
567
|
-
- webpack/InsightsHostDetailsTab/__tests__/InsightsTabSelectors.test.js
|
|
568
514
|
- webpack/InsightsHostDetailsTab/__tests__/InsightsTotalRiskChart.test.js
|
|
569
515
|
- webpack/InsightsHostDetailsTab/__tests__/NewHostDetailsTab.test.js
|
|
570
|
-
- webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTab.test.js.snap
|
|
571
|
-
- webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabActions.test.js.snap
|
|
572
|
-
- webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabReducer.test.js.snap
|
|
573
|
-
- webpack/InsightsHostDetailsTab/__tests__/__snapshots__/InsightsTabSelectors.test.js.snap
|
|
574
516
|
- webpack/InsightsHostDetailsTab/components/ListItem/ListItem.js
|
|
575
517
|
- webpack/InsightsHostDetailsTab/components/ListItem/index.js
|
|
576
518
|
- webpack/InsightsHostDetailsTab/index.js
|
|
@@ -602,11 +544,6 @@ files:
|
|
|
602
544
|
- webpack/__mocks__/foremanReact/routes/RouterSelector.js
|
|
603
545
|
- webpack/__mocks__/foremanReact/routes/common/PageLayout/PageLayout.js
|
|
604
546
|
- webpack/__tests__/ForemanRhCloudHelpers.test.js
|
|
605
|
-
- webpack/__tests__/ForemanRhCloudSelectors.test.js
|
|
606
|
-
- webpack/__tests__/ForemanRhCloudTestHelpers.test.js
|
|
607
|
-
- webpack/__tests__/__snapshots__/ForemanRhCloudHelpers.test.js.snap
|
|
608
|
-
- webpack/__tests__/__snapshots__/ForemanRhCloudSelectors.test.js.snap
|
|
609
|
-
- webpack/__tests__/__snapshots__/ForemanRhCloudTestHelpers.test.js.snap
|
|
610
547
|
- webpack/common/DropdownToggle.js
|
|
611
548
|
- webpack/common/ForemanTasks/ForemanTasksActions.js
|
|
612
549
|
- webpack/common/ForemanTasks/ForemanTasksHelpers.js
|
|
@@ -620,8 +557,6 @@ files:
|
|
|
620
557
|
- webpack/common/Switcher/SwitcherPF4.scss
|
|
621
558
|
- webpack/common/Switcher/__tests__/HelpLabel.test.js
|
|
622
559
|
- webpack/common/Switcher/__tests__/SwitcherPF4.test.js
|
|
623
|
-
- webpack/common/Switcher/__tests__/__snapshots__/HelpLabel.test.js.snap
|
|
624
|
-
- webpack/common/Switcher/__tests__/__snapshots__/SwitcherPF4.test.js.snap
|
|
625
560
|
- webpack/common/Switcher/index.js
|
|
626
561
|
- webpack/common/styles.scss
|
|
627
562
|
- webpack/common/table/EmptyState.js
|
|
@@ -674,6 +609,7 @@ test_files:
|
|
|
674
609
|
- test/jobs/host_inventory_report_job_test.rb
|
|
675
610
|
- test/jobs/insights_client_status_aging_test.rb
|
|
676
611
|
- test/jobs/insights_full_sync_test.rb
|
|
612
|
+
- test/jobs/insights_generate_notifications_test.rb
|
|
677
613
|
- test/jobs/insights_resolutions_sync_test.rb
|
|
678
614
|
- test/jobs/insights_rules_sync_test.rb
|
|
679
615
|
- test/jobs/inventory_full_sync_test.rb
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`EmptyResults rendering render without Props 1`] = `
|
|
4
|
-
<EmptyState
|
|
5
|
-
className=""
|
|
6
|
-
>
|
|
7
|
-
<EmptyStateTitle
|
|
8
|
-
className=""
|
|
9
|
-
>
|
|
10
|
-
<Icon
|
|
11
|
-
className="no_results_icon"
|
|
12
|
-
name="meh-o"
|
|
13
|
-
type="fa"
|
|
14
|
-
/>
|
|
15
|
-
Oops! Couldn't find organization that matches your query
|
|
16
|
-
</EmptyStateTitle>
|
|
17
|
-
</EmptyState>
|
|
18
|
-
`;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`EmptyState rendering render without Props 1`] = `
|
|
4
|
-
<EmptyState
|
|
5
|
-
className=""
|
|
6
|
-
>
|
|
7
|
-
<Spinner
|
|
8
|
-
className=""
|
|
9
|
-
inline={true}
|
|
10
|
-
inverse={false}
|
|
11
|
-
loading={true}
|
|
12
|
-
size="lg"
|
|
13
|
-
/>
|
|
14
|
-
<EmptyStateTitle
|
|
15
|
-
className=""
|
|
16
|
-
>
|
|
17
|
-
Fetching data about your accounts
|
|
18
|
-
</EmptyStateTitle>
|
|
19
|
-
<EmptyStateInfo
|
|
20
|
-
className=""
|
|
21
|
-
>
|
|
22
|
-
Loading...
|
|
23
|
-
</EmptyStateInfo>
|
|
24
|
-
</EmptyState>
|
|
25
|
-
`;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`ErrorState rendering render without Props 1`] = `
|
|
4
|
-
<div
|
|
5
|
-
className="error_state"
|
|
6
|
-
>
|
|
7
|
-
<Icon
|
|
8
|
-
className="error_icon"
|
|
9
|
-
name="times"
|
|
10
|
-
size="2x"
|
|
11
|
-
type="fa"
|
|
12
|
-
/>
|
|
13
|
-
<p>
|
|
14
|
-
Encountered an error while trying to access the server:
|
|
15
|
-
</p>
|
|
16
|
-
<p
|
|
17
|
-
className="error_description"
|
|
18
|
-
/>
|
|
19
|
-
</div>
|
|
20
|
-
`;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`ListItem rendering render with Props 1`] = `
|
|
4
|
-
<AccordionItem>
|
|
5
|
-
<AccordionToggle
|
|
6
|
-
isExpanded={false}
|
|
7
|
-
onClick={[Function]}
|
|
8
|
-
>
|
|
9
|
-
<span>
|
|
10
|
-
<Label
|
|
11
|
-
className="account-icon"
|
|
12
|
-
color="blue"
|
|
13
|
-
icon={<UserIcon />}
|
|
14
|
-
variant="outline"
|
|
15
|
-
/>
|
|
16
|
-
test
|
|
17
|
-
</span>
|
|
18
|
-
<ListItemStatus
|
|
19
|
-
account={
|
|
20
|
-
Object {
|
|
21
|
-
"generated_status": "unknown",
|
|
22
|
-
"id": 1,
|
|
23
|
-
"report_file_paths": Array [],
|
|
24
|
-
"uploaded_status": "unknown",
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
key="test_status"
|
|
28
|
-
/>
|
|
29
|
-
</AccordionToggle>
|
|
30
|
-
<AccordionContent
|
|
31
|
-
isHidden={true}
|
|
32
|
-
>
|
|
33
|
-
<Dashboard
|
|
34
|
-
account={
|
|
35
|
-
Object {
|
|
36
|
-
"generated_status": "unknown",
|
|
37
|
-
"id": 1,
|
|
38
|
-
"report_file_paths": Array [],
|
|
39
|
-
"uploaded_status": "unknown",
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
accountID={1}
|
|
43
|
-
onTaskStart={null}
|
|
44
|
-
/>
|
|
45
|
-
</AccordionContent>
|
|
46
|
-
</AccordionItem>
|
|
47
|
-
`;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`ListItemStatus rendering render with Props 1`] = `
|
|
4
|
-
<Grid
|
|
5
|
-
className="status"
|
|
6
|
-
hasGutter={true}
|
|
7
|
-
>
|
|
8
|
-
<GridItem
|
|
9
|
-
className="item"
|
|
10
|
-
span={6}
|
|
11
|
-
>
|
|
12
|
-
<p>
|
|
13
|
-
Generated
|
|
14
|
-
</p>
|
|
15
|
-
<CheckIcon />
|
|
16
|
-
</GridItem>
|
|
17
|
-
<GridItem
|
|
18
|
-
className="item"
|
|
19
|
-
span={6}
|
|
20
|
-
>
|
|
21
|
-
<p>
|
|
22
|
-
Uploaded
|
|
23
|
-
</p>
|
|
24
|
-
<Spinner
|
|
25
|
-
size="sm"
|
|
26
|
-
/>
|
|
27
|
-
</GridItem>
|
|
28
|
-
</Grid>
|
|
29
|
-
`;
|
|
30
|
-
|
|
31
|
-
exports[`ListItemStatus rendering render without Props 1`] = `
|
|
32
|
-
<Grid
|
|
33
|
-
className="status"
|
|
34
|
-
hasGutter={true}
|
|
35
|
-
>
|
|
36
|
-
<GridItem
|
|
37
|
-
className="item"
|
|
38
|
-
span={6}
|
|
39
|
-
>
|
|
40
|
-
<p>
|
|
41
|
-
Generated
|
|
42
|
-
</p>
|
|
43
|
-
<span>
|
|
44
|
-
--
|
|
45
|
-
</span>
|
|
46
|
-
</GridItem>
|
|
47
|
-
<GridItem
|
|
48
|
-
className="item"
|
|
49
|
-
span={6}
|
|
50
|
-
>
|
|
51
|
-
<p>
|
|
52
|
-
Uploaded
|
|
53
|
-
</p>
|
|
54
|
-
<span>
|
|
55
|
-
--
|
|
56
|
-
</span>
|
|
57
|
-
</GridItem>
|
|
58
|
-
</Grid>
|
|
59
|
-
`;
|
data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListActions.test.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { testActionSnapshotWithFixtures } from '@theforeman/test';
|
|
2
|
-
import { API } from 'foremanReact/redux/API';
|
|
3
|
-
import {
|
|
4
|
-
fetchAccountsStatus,
|
|
5
|
-
startAccountStatusPolling,
|
|
6
|
-
stopAccountStatusPolling,
|
|
7
|
-
restartProcess,
|
|
8
|
-
} from '../AccountListActions';
|
|
9
|
-
import {
|
|
10
|
-
pollingProcessID,
|
|
11
|
-
fetchAccountsStatusResponse,
|
|
12
|
-
} from '../AccountList.fixtures';
|
|
13
|
-
import { accountID, activeTab } from '../../Dashboard/Dashboard.fixtures';
|
|
14
|
-
|
|
15
|
-
jest.mock('foremanReact/redux/API');
|
|
16
|
-
API.get.mockImplementation(async () => fetchAccountsStatusResponse);
|
|
17
|
-
|
|
18
|
-
const fixtures = {
|
|
19
|
-
'should fetchAccountsStatus': () => fetchAccountsStatus(),
|
|
20
|
-
'should startAccountStatusPolling': () =>
|
|
21
|
-
startAccountStatusPolling(pollingProcessID),
|
|
22
|
-
'should stopAccountStatusPolling': () =>
|
|
23
|
-
stopAccountStatusPolling(pollingProcessID),
|
|
24
|
-
'should restartProcess': () => restartProcess(accountID, activeTab),
|
|
25
|
-
'should invoke toast notification upon failure': () => {
|
|
26
|
-
API.post.mockImplementationOnce(() =>
|
|
27
|
-
Promise.reject(new Error('test error'))
|
|
28
|
-
);
|
|
29
|
-
|
|
30
|
-
return restartProcess(accountID, activeTab);
|
|
31
|
-
},
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
describe('AccountList actions', () => testActionSnapshotWithFixtures(fixtures));
|
data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListIntegration.test.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IntegrationTestHelper } from '@theforeman/test';
|
|
3
|
-
|
|
4
|
-
import AccountList from '../index';
|
|
5
|
-
import reducers from '../../../../ForemanRhCloudReducers';
|
|
6
|
-
|
|
7
|
-
describe('AccountList integration test', () => {
|
|
8
|
-
it('should flow', async () => {
|
|
9
|
-
const integrationTestHelper = new IntegrationTestHelper(reducers);
|
|
10
|
-
const component = integrationTestHelper.mount(<AccountList />);
|
|
11
|
-
component.update();
|
|
12
|
-
/** Create a Flow test */
|
|
13
|
-
});
|
|
14
|
-
});
|
data/webpack/ForemanInventoryUpload/Components/AccountList/__tests__/AccountListSelectors.test.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { testSelectorsSnapshotWithFixtures } from '@theforeman/test';
|
|
2
|
-
import {
|
|
3
|
-
selectAccountsList,
|
|
4
|
-
selectAccounts,
|
|
5
|
-
selectPollingProcessID,
|
|
6
|
-
} from '../AccountListSelectors';
|
|
7
|
-
import { pollingProcessID, accounts } from '../AccountList.fixtures';
|
|
8
|
-
import { rhCloudStateWrapper } from '../../../../ForemanRhCloudTestHelpers';
|
|
9
|
-
|
|
10
|
-
const state = rhCloudStateWrapper({
|
|
11
|
-
accountsList: {
|
|
12
|
-
accounts,
|
|
13
|
-
pollingProcessID,
|
|
14
|
-
},
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
const fixtures = {
|
|
18
|
-
'should return AccountsList': () => selectAccountsList(state),
|
|
19
|
-
'should return AccountList accounts': () => selectAccounts(state),
|
|
20
|
-
'should return AccountList pollingProcessID': () =>
|
|
21
|
-
selectPollingProcessID(state),
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
describe('AccountList selectors', () =>
|
|
25
|
-
testSelectorsSnapshotWithFixtures(fixtures));
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`AccountList rendering render with props 1`] = `
|
|
4
|
-
<Accordion
|
|
5
|
-
className="account-list"
|
|
6
|
-
>
|
|
7
|
-
<ListItem
|
|
8
|
-
account={
|
|
9
|
-
Object {
|
|
10
|
-
"generated_status": "running",
|
|
11
|
-
"id": 1,
|
|
12
|
-
"uploaded_status": "running",
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
defaultExpanded={true}
|
|
16
|
-
key="Account1"
|
|
17
|
-
label="Account1"
|
|
18
|
-
onTaskStart={[Function]}
|
|
19
|
-
/>
|
|
20
|
-
<ListItem
|
|
21
|
-
account={
|
|
22
|
-
Object {
|
|
23
|
-
"generated_status": "failure",
|
|
24
|
-
"id": 2,
|
|
25
|
-
"uploaded_status": "unknown",
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
defaultExpanded={false}
|
|
29
|
-
key="Account2"
|
|
30
|
-
label="Account2"
|
|
31
|
-
onTaskStart={[Function]}
|
|
32
|
-
/>
|
|
33
|
-
<ListItem
|
|
34
|
-
account={
|
|
35
|
-
Object {
|
|
36
|
-
"generated_status": "running",
|
|
37
|
-
"id": 3,
|
|
38
|
-
"uploaded_status": "success",
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
defaultExpanded={false}
|
|
42
|
-
key="Account3"
|
|
43
|
-
label="Account3"
|
|
44
|
-
onTaskStart={[Function]}
|
|
45
|
-
/>
|
|
46
|
-
</Accordion>
|
|
47
|
-
`;
|
|
48
|
-
|
|
49
|
-
exports[`AccountList rendering show empty results 1`] = `<inventoryEmptyResults />`;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`AccountList actions should fetchAccountsStatus 1`] = `
|
|
4
|
-
Array [
|
|
5
|
-
Array [
|
|
6
|
-
Object {
|
|
7
|
-
"payload": Object {
|
|
8
|
-
"CloudConnectorStatus": Object {
|
|
9
|
-
"id": 7,
|
|
10
|
-
"task": Object {
|
|
11
|
-
"id": 11,
|
|
12
|
-
},
|
|
13
|
-
},
|
|
14
|
-
"accounts": Object {
|
|
15
|
-
"Account1": Object {
|
|
16
|
-
"generated_status": "running",
|
|
17
|
-
"id": 1,
|
|
18
|
-
"uploaded_status": "running",
|
|
19
|
-
},
|
|
20
|
-
"Account2": Object {
|
|
21
|
-
"generated_status": "failure",
|
|
22
|
-
"id": 2,
|
|
23
|
-
"uploaded_status": "unknown",
|
|
24
|
-
},
|
|
25
|
-
"Account3": Object {
|
|
26
|
-
"generated_status": "running",
|
|
27
|
-
"id": 3,
|
|
28
|
-
"uploaded_status": "success",
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
"type": "INVENTORY_ACCOUNT_STATUS_POLLING",
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
]
|
|
36
|
-
`;
|
|
37
|
-
|
|
38
|
-
exports[`AccountList actions should invoke toast notification upon failure 1`] = `
|
|
39
|
-
Array [
|
|
40
|
-
Array [
|
|
41
|
-
Object {
|
|
42
|
-
"payload": Object {
|
|
43
|
-
"message": Object {
|
|
44
|
-
"message": "test error",
|
|
45
|
-
"sticky": true,
|
|
46
|
-
"type": "error",
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
"type": "TOASTS_ADD",
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
]
|
|
53
|
-
`;
|
|
54
|
-
|
|
55
|
-
exports[`AccountList actions should restartProcess 1`] = `
|
|
56
|
-
Array [
|
|
57
|
-
Array [
|
|
58
|
-
Object {
|
|
59
|
-
"payload": Object {
|
|
60
|
-
"accountID": "some-account-ID",
|
|
61
|
-
"processStatusName": "generated_status",
|
|
62
|
-
},
|
|
63
|
-
"type": "INVENTORY_PROCESS_RESTART",
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
]
|
|
67
|
-
`;
|
|
68
|
-
|
|
69
|
-
exports[`AccountList actions should startAccountStatusPolling 1`] = `
|
|
70
|
-
Object {
|
|
71
|
-
"payload": Object {
|
|
72
|
-
"pollingProcessID": 0,
|
|
73
|
-
},
|
|
74
|
-
"type": "INVENTORY_ACCOUNT_STATUS_POLLING_START",
|
|
75
|
-
}
|
|
76
|
-
`;
|
|
77
|
-
|
|
78
|
-
exports[`AccountList actions should stopAccountStatusPolling 1`] = `
|
|
79
|
-
Array [
|
|
80
|
-
Array [
|
|
81
|
-
Object {
|
|
82
|
-
"type": "INVENTORY_ACCOUNT_STATUS_POLLING_STOP",
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
]
|
|
86
|
-
`;
|