katello 4.5.0.rc1 → 4.5.0.rc2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of katello might be problematic. Click here for more details.

Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/katello/hosts/activation_key_edit.js +9 -2
  3. data/app/controllers/katello/api/registry/registry_proxies_controller.rb +3 -0
  4. data/app/controllers/katello/api/v2/alternate_content_sources_bulk_actions_controller.rb +44 -0
  5. data/app/controllers/katello/api/v2/alternate_content_sources_controller.rb +29 -6
  6. data/app/controllers/katello/api/v2/content_view_components_controller.rb +1 -1
  7. data/app/controllers/katello/api/v2/content_view_repositories_controller.rb +1 -1
  8. data/app/controllers/katello/api/v2/repositories_controller.rb +2 -8
  9. data/app/lib/actions/katello/alternate_content_source/refresh.rb +27 -0
  10. data/app/lib/actions/katello/cdn_configuration/update.rb +1 -1
  11. data/app/lib/actions/katello/content_view/publish.rb +1 -1
  12. data/app/lib/actions/katello/organization/manifest_refresh.rb +1 -1
  13. data/app/lib/actions/pulp3/alternate_content_source/delete.rb +2 -2
  14. data/app/lib/actions/pulp3/alternate_content_source/delete_remote.rb +2 -2
  15. data/app/lib/actions/pulp3/alternate_content_source/refresh.rb +23 -0
  16. data/app/lib/actions/pulp3/alternate_content_source/update.rb +2 -2
  17. data/app/lib/actions/pulp3/alternate_content_source/update_remote.rb +2 -2
  18. data/app/lib/actions/pulp3/orchestration/alternate_content_source/create.rb +0 -2
  19. data/app/lib/actions/pulp3/orchestration/alternate_content_source/refresh.rb +15 -0
  20. data/app/lib/actions/pulp3/orchestration/alternate_content_source/update.rb +0 -2
  21. data/app/lib/actions/pulp3/repository/refresh_distribution.rb +1 -4
  22. data/app/lib/actions/pulp3/repository/save_artifact.rb +1 -1
  23. data/app/lib/actions/pulp3/repository/save_distribution_references.rb +0 -2
  24. data/app/models/katello/alternate_content_source.rb +5 -0
  25. data/app/services/katello/pulp3/alternate_content_source.rb +6 -0
  26. data/app/services/katello/pulp3/content_view_version/metadata_map.rb +1 -1
  27. data/app/services/katello/pulp3/repository.rb +29 -1
  28. data/app/views/katello/api/v2/alternate_content_sources/base.json.rabl +10 -1
  29. data/app/views/katello/api/v2/content_facet/show.json.rabl +12 -0
  30. data/app/views/katello/api/v2/repository_sets/show.json.rabl +4 -0
  31. data/config/routes/api/v2.rb +16 -4
  32. data/db/migrate/20220303160220_remove_duplicate_errata.rb +1 -1
  33. data/db/migrate/20220428203334_add_last_refreshed_to_katello_alternate_content_sources.rb +5 -0
  34. data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.controller.js +1 -1
  35. data/lib/katello/permission_creator.rb +4 -2
  36. data/lib/katello/tasks/refresh_alternate_content_sources.rake +10 -0
  37. data/lib/katello/version.rb +1 -1
  38. data/webpack/components/Bookmark/index.js +22 -14
  39. data/webpack/components/Search/Search.js +4 -0
  40. data/webpack/components/Table/MainTable.scss +5 -1
  41. data/webpack/components/Table/TableWrapper.js +5 -1
  42. data/webpack/components/TypeAhead/TypeAhead.js +4 -0
  43. data/webpack/components/TypeAhead/pf4Search/TypeAheadSearch.js +2 -0
  44. data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/ChangeHostCVModal.js +2 -8
  45. data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/ContentViewDetailsCard.js +41 -11
  46. data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsActions.js +2 -2
  47. data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/HostCollectionsCard.js +32 -13
  48. data/webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/__tests__/hostCollectionsCard.test.js +8 -0
  49. data/webpack/components/extensions/HostDetails/DetailsTabCards/RecentCommunicationCardExtensions.js +37 -0
  50. data/webpack/components/extensions/HostDetails/HostDetailsActions.js +11 -0
  51. data/webpack/components/extensions/HostDetails/Tabs/ContentTab/SecondaryTabsRoutes.js +4 -0
  52. data/webpack/components/extensions/HostDetails/Tabs/ContentTab/constants.js +2 -0
  53. data/webpack/components/extensions/HostDetails/Tabs/ContentTab/index.js +6 -1
  54. data/webpack/components/extensions/HostDetails/Tabs/ErrataTab/ErrataTab.js +120 -51
  55. data/webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsTab.js +71 -37
  56. data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackageInstallModal.js +4 -3
  57. data/webpack/components/extensions/HostDetails/Tabs/PackagesTab/PackagesTab.js +117 -40
  58. data/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js +25 -3
  59. data/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionHooks.js +85 -0
  60. data/webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.js +87 -33
  61. data/webpack/components/extensions/HostDetails/Tabs/TracesTab/EnableTracerModal.js +14 -7
  62. data/webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js +2 -1
  63. data/webpack/components/extensions/HostDetails/Tabs/TracesTab/TracesEnabler.js +104 -0
  64. data/webpack/components/extensions/HostDetails/Tabs/TracesTab/TracesTab.js +92 -51
  65. data/webpack/components/extensions/HostDetails/Tabs/__tests__/errataTab.test.js +13 -23
  66. data/webpack/components/extensions/HostDetails/Tabs/{ModuleStreamsTab/__tests__/modules.fixtures.json → __tests__/moduleStreams.fixtures.json} +0 -0
  67. data/webpack/components/extensions/HostDetails/Tabs/{ModuleStreamsTab/__tests__ → __tests__}/moduleStreamsTab.test.js +13 -6
  68. data/webpack/components/extensions/HostDetails/Tabs/__tests__/packageInstallModal.test.js +21 -15
  69. data/webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js +8 -0
  70. data/webpack/components/extensions/HostDetails/Tabs/__tests__/repositorySets.fixtures.json +4 -1
  71. data/webpack/components/extensions/HostDetails/Tabs/__tests__/repositorySetsTab.test.js +26 -0
  72. data/webpack/components/extensions/HostDetails/Tabs/__tests__/tracesTab.test.js +7 -4
  73. data/webpack/components/extensions/HostDetails/hostDetailsHelpers.js +18 -0
  74. data/webpack/global_index.js +2 -2
  75. data/webpack/redux/actions/RedHatRepositories/helpers.js +5 -1
  76. data/webpack/scenes/AlternateContentSources/ACSActions.js +13 -1
  77. data/webpack/scenes/AlternateContentSources/ACSConstants.js +14 -0
  78. data/webpack/scenes/AlternateContentSources/ACSSelectors.js +10 -1
  79. data/webpack/scenes/AlternateContentSources/Create/ACSCreateContext.js +4 -0
  80. data/webpack/scenes/AlternateContentSources/Create/ACSCreateWizard.js +160 -0
  81. data/webpack/scenes/AlternateContentSources/Create/Steps/ACSCreateFinish.js +79 -0
  82. data/webpack/scenes/AlternateContentSources/Create/Steps/ACSCredentials.js +199 -0
  83. data/webpack/scenes/AlternateContentSources/Create/Steps/ACSReview.js +104 -0
  84. data/webpack/scenes/AlternateContentSources/Create/Steps/ACSSmartProxies.js +41 -0
  85. data/webpack/scenes/AlternateContentSources/Create/Steps/AcsUrlPaths.js +71 -0
  86. data/webpack/scenes/AlternateContentSources/Create/Steps/NameACS.js +57 -0
  87. data/webpack/scenes/AlternateContentSources/Create/Steps/SelectSource.js +77 -0
  88. data/webpack/scenes/AlternateContentSources/Create/__tests__/acsCreate.test.js +149 -0
  89. data/webpack/scenes/AlternateContentSources/Create/__tests__/acsCreateData.fixtures.json +3 -0
  90. data/webpack/scenes/AlternateContentSources/Create/__tests__/contentCredentials.fixtures.json +69 -0
  91. data/webpack/scenes/AlternateContentSources/Create/__tests__/smartProxy.fixtures.json +65 -0
  92. data/webpack/scenes/AlternateContentSources/MainTable/ACSTable.js +33 -23
  93. data/webpack/scenes/ContentCredentials/ContentCredentialSelectors.js +4 -1
  94. data/webpack/scenes/ContentViews/Create/CreateContentViewForm.js +2 -2
  95. data/webpack/scenes/ContentViews/Create/__tests__/createContentView.test.js +1 -1
  96. data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentContentViewAddModal.js +1 -1
  97. data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentContentViewBulkAddModal.js +2 -2
  98. data/webpack/scenes/ContentViews/Details/ComponentContentViews/__tests__/contentViewComponents.test.js +4 -4
  99. data/webpack/scenes/ContentViews/Details/ContentViewInfo.js +1 -1
  100. data/webpack/scenes/ContentViews/__tests__/contentViewPage.test.js +4 -4
  101. data/webpack/scenes/ContentViews/components/ContentViewIcon.js +1 -1
  102. data/webpack/scenes/ContentViews/components/ContentViewsCounter.js +1 -1
  103. data/webpack/scenes/ContentViews/components/EnvironmentPaths/EnvironmentPaths.js +1 -1
  104. data/webpack/scenes/ContentViews/expansions/DetailsExpansion.js +2 -2
  105. data/webpack/scenes/ContentViews/expansions/RelatedContentViewComponentsModal.js +2 -2
  106. data/webpack/scenes/ContentViews/expansions/__tests__/contentViewComponentsModal.test.js +1 -1
  107. data/webpack/scenes/RedHatRepositories/components/Search.js +4 -4
  108. data/webpack/scenes/SmartProxy/SmartProxyContentActions.js +9 -2
  109. data/webpack/scenes/SmartProxy/SmartProxyContentConstants.js +1 -1
  110. data/webpack/scenes/SmartProxy/SmartProxyContentSelectors.js +10 -1
  111. data/webpack/scenes/Tasks/helpers.js +30 -3
  112. metadata +34 -14
  113. data/db/seeds.d/107-enable_dynflow.rb +0 -8
  114. data/webpack/components/extensions/HostDetails/Tabs/TracesTab/EnableTracerEmptyState.js +0 -42
@@ -1,6 +1,6 @@
1
1
  import { API_OPERATIONS, get } from 'foremanReact/redux/API';
2
- import api, { orgId } from '../../services/api';
3
- import SMART_PROXY_CONTENT_KEY from './SmartProxyContentConstants';
2
+ import api, { foremanApi, orgId } from '../../services/api';
3
+ import SMART_PROXY_CONTENT_KEY, { SMART_PROXY_KEY } from './SmartProxyContentConstants';
4
4
 
5
5
  const getSmartProxyContent = ({ smartProxyId }) => get({
6
6
  type: API_OPERATIONS.GET,
@@ -8,4 +8,11 @@ const getSmartProxyContent = ({ smartProxyId }) => get({
8
8
  url: api.getApiUrl(`/capsules/${smartProxyId}/content/sync?${orgId()}`),
9
9
  });
10
10
 
11
+ export const getSmartProxies = () => get({
12
+ type: API_OPERATIONS.GET,
13
+ key: SMART_PROXY_KEY,
14
+ url: foremanApi.getApiUrl('/smart_proxies'),
15
+ params: { organization_id: orgId() },
16
+ });
17
+
11
18
  export default getSmartProxyContent;
@@ -1,3 +1,3 @@
1
1
  const SMART_PROXY_CONTENT_KEY = 'SMART_PROXY_CONTENT';
2
-
2
+ export const SMART_PROXY_KEY = 'SMART_PROXY';
3
3
  export default SMART_PROXY_CONTENT_KEY;
@@ -4,7 +4,7 @@ import {
4
4
  selectAPIResponse,
5
5
  } from 'foremanReact/redux/API/APISelectors';
6
6
  import { STATUS } from 'foremanReact/constants';
7
- import SMART_PROXY_CONTENT_KEY from './SmartProxyContentConstants';
7
+ import SMART_PROXY_CONTENT_KEY, { SMART_PROXY_KEY } from './SmartProxyContentConstants';
8
8
 
9
9
  export const selectSmartProxyContent = state =>
10
10
  selectAPIResponse(state, SMART_PROXY_CONTENT_KEY) || {};
@@ -14,3 +14,12 @@ export const selectSmartProxyContentStatus = state =>
14
14
 
15
15
  export const selectSmartProxyContentError = state =>
16
16
  selectAPIError(state, SMART_PROXY_CONTENT_KEY);
17
+
18
+ export const selectSmartProxy = state =>
19
+ selectAPIResponse(state, SMART_PROXY_KEY) || {};
20
+
21
+ export const selectSmartProxyStatus = state =>
22
+ selectAPIStatus(state, SMART_PROXY_KEY) || STATUS.PENDING;
23
+
24
+ export const selectSmartProxyError = state =>
25
+ selectAPIError(state, SMART_PROXY_KEY);
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
2
  import { translate as __ } from 'foremanReact/common/I18n';
3
+ import store from 'foremanReact/redux';
3
4
  import { urlBuilder } from 'foremanReact/common/urlHelpers';
5
+ import { addToast } from 'foremanReact/components/ToastsList/slice.js';
4
6
  import { getResponseErrorMsgs } from '../../utils/helpers';
5
7
 
6
8
  export const bulkSearchKey = key => `${key}_TASK_SEARCH`;
@@ -44,14 +46,39 @@ export const renderTaskStartedToast = (task) => {
44
46
  });
45
47
  };
46
48
 
47
- export const renderRexJobStartedToast = ({ id, description }) => {
49
+ export const renderRexJobStartedToast = ({ id, description, key }) => {
48
50
  if (!id) return;
51
+ const message = (__(`Job '${description}' has started.`));
49
52
 
50
- const message = (__(`Job ${description} has started.`));
53
+ store.dispatch(addToast({
54
+ message,
55
+ type: 'info',
56
+ link: rexJobLink(id),
57
+ sticky: true,
58
+ key,
59
+ }));
60
+ };
61
+
62
+ export const renderRexJobFailedToast = ({ id, description }) => {
63
+ if (!id) return;
64
+
65
+ const message = (__(`Remote execution job '${description}' failed.`));
51
66
 
52
67
  window.tfm.toastNotifications.notify({
53
68
  message,
54
- type: 'info',
69
+ type: 'danger',
70
+ link: rexJobLink(id),
71
+ });
72
+ };
73
+
74
+ export const renderRexJobSucceededToast = ({ id, description }) => {
75
+ if (!id) return;
76
+
77
+ const message = (__(`Job '${description}' completed`));
78
+
79
+ window.tfm.toastNotifications.notify({
80
+ message,
81
+ type: 'success',
55
82
  link: rexJobLink(id),
56
83
  });
57
84
  };
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: katello
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.5.0.rc1
4
+ version: 4.5.0.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - N/A
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-13 00:00:00.000000000 Z
11
+ date: 2022-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -288,20 +288,20 @@ dependencies:
288
288
  requirements:
289
289
  - - ">="
290
290
  - !ruby/object:Gem::Version
291
- version: 3.17.0
291
+ version: 3.18.0
292
292
  - - "<"
293
293
  - !ruby/object:Gem::Version
294
- version: 3.18.0
294
+ version: 3.19.0
295
295
  type: :runtime
296
296
  prerelease: false
297
297
  version_requirements: !ruby/object:Gem::Requirement
298
298
  requirements:
299
299
  - - ">="
300
300
  - !ruby/object:Gem::Version
301
- version: 3.17.0
301
+ version: 3.18.0
302
302
  - - "<"
303
303
  - !ruby/object:Gem::Version
304
- version: 3.18.0
304
+ version: 3.19.0
305
305
  - !ruby/object:Gem::Dependency
306
306
  name: pulp_file_client
307
307
  requirement: !ruby/object:Gem::Requirement
@@ -735,6 +735,7 @@ files:
735
735
  - app/controllers/katello/api/rhsm/candlepin_dynflow_proxy_controller.rb
736
736
  - app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb
737
737
  - app/controllers/katello/api/v2/activation_keys_controller.rb
738
+ - app/controllers/katello/api/v2/alternate_content_sources_bulk_actions_controller.rb
738
739
  - app/controllers/katello/api/v2/alternate_content_sources_controller.rb
739
740
  - app/controllers/katello/api/v2/ansible_collections_controller.rb
740
741
  - app/controllers/katello/api/v2/api_controller.rb
@@ -875,6 +876,7 @@ files:
875
876
  - app/lib/actions/katello/agent_action.rb
876
877
  - app/lib/actions/katello/alternate_content_source/create.rb
877
878
  - app/lib/actions/katello/alternate_content_source/destroy.rb
879
+ - app/lib/actions/katello/alternate_content_source/refresh.rb
878
880
  - app/lib/actions/katello/alternate_content_source/update.rb
879
881
  - app/lib/actions/katello/applicability/host/generate.rb
880
882
  - app/lib/actions/katello/applicability/hosts/bulk_generate.rb
@@ -1074,6 +1076,7 @@ files:
1074
1076
  - app/lib/actions/pulp3/alternate_content_source/create_remote.rb
1075
1077
  - app/lib/actions/pulp3/alternate_content_source/delete.rb
1076
1078
  - app/lib/actions/pulp3/alternate_content_source/delete_remote.rb
1079
+ - app/lib/actions/pulp3/alternate_content_source/refresh.rb
1077
1080
  - app/lib/actions/pulp3/alternate_content_source/update.rb
1078
1081
  - app/lib/actions/pulp3/alternate_content_source/update_remote.rb
1079
1082
  - app/lib/actions/pulp3/capsule_content/generate_metadata.rb
@@ -1094,6 +1097,7 @@ files:
1094
1097
  - app/lib/actions/pulp3/import_migration.rb
1095
1098
  - app/lib/actions/pulp3/orchestration/alternate_content_source/create.rb
1096
1099
  - app/lib/actions/pulp3/orchestration/alternate_content_source/delete.rb
1100
+ - app/lib/actions/pulp3/orchestration/alternate_content_source/refresh.rb
1097
1101
  - app/lib/actions/pulp3/orchestration/alternate_content_source/update.rb
1098
1102
  - app/lib/actions/pulp3/orchestration/content_view_version/copy_version_units_to_library.rb
1099
1103
  - app/lib/actions/pulp3/orchestration/content_view_version/export.rb
@@ -2215,11 +2219,11 @@ files:
2215
2219
  - db/migrate/20220404190836_delete_old_setting_data.rb
2216
2220
  - db/migrate/20220405220616_update_cdn_configuration_type.rb
2217
2221
  - db/migrate/20220419193414_content_settings_to_dsl_category.rb
2222
+ - db/migrate/20220428203334_add_last_refreshed_to_katello_alternate_content_sources.rb
2218
2223
  - db/seeds.d/101-locations.rb
2219
2224
  - db/seeds.d/102-organizations.rb
2220
2225
  - db/seeds.d/104-proxy.rb
2221
2226
  - db/seeds.d/106-mail_notifications.rb
2222
- - db/seeds.d/107-enable_dynflow.rb
2223
2227
  - db/seeds.d/108-subcription-bookmarks.rb
2224
2228
  - db/seeds.d/109-katello-notification-blueprints.rb
2225
2229
  - db/seeds.d/110-content-view-autopublish.rb
@@ -4540,6 +4544,7 @@ files:
4540
4544
  - lib/katello/tasks/job_templates.rake
4541
4545
  - lib/katello/tasks/pulp2to3_migrate_deb_attributes.rake
4542
4546
  - lib/katello/tasks/receptor/extract_orgs.rake
4547
+ - lib/katello/tasks/refresh_alternate_content_sources.rake
4543
4548
  - lib/katello/tasks/regenerate_ueber_certs.rake
4544
4549
  - lib/katello/tasks/reimport.rake
4545
4550
  - lib/katello/tasks/repository.rake
@@ -4815,6 +4820,7 @@ files:
4815
4820
  - webpack/components/extensions/HostDetails/Cards/HostCollectionsCard/__tests__/removableHostCollections.fixtures.json
4816
4821
  - webpack/components/extensions/HostDetails/Cards/__tests__/errataOverviewCard.test.js
4817
4822
  - webpack/components/extensions/HostDetails/DetailsTabCards/InstalledProductsCard.js
4823
+ - webpack/components/extensions/HostDetails/DetailsTabCards/RecentCommunicationCardExtensions.js
4818
4824
  - webpack/components/extensions/HostDetails/DetailsTabCards/RegistrationCard.js
4819
4825
  - webpack/components/extensions/HostDetails/DetailsTabCards/SystemPropertiesCardExtensions.js
4820
4826
  - webpack/components/extensions/HostDetails/HostDetailsActions.js
@@ -4836,8 +4842,6 @@ files:
4836
4842
  - webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsConstants.js
4837
4843
  - webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsSelectors.js
4838
4844
  - webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/ModuleStreamsTab.js
4839
- - webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/__tests__/moduleStreamsTab.test.js
4840
- - webpack/components/extensions/HostDetails/Tabs/ModuleStreamsTab/__tests__/modules.fixtures.json
4841
4845
  - webpack/components/extensions/HostDetails/Tabs/PackagesTab/HostPackagesActions.js
4842
4846
  - webpack/components/extensions/HostDetails/Tabs/PackagesTab/HostPackagesConstants.js
4843
4847
  - webpack/components/extensions/HostDetails/Tabs/PackagesTab/HostPackagesSelectors.js
@@ -4850,22 +4854,25 @@ files:
4850
4854
  - webpack/components/extensions/HostDetails/Tabs/PackagesTab/YumInstallablePackagesSelectors.js
4851
4855
  - webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js
4852
4856
  - webpack/components/extensions/HostDetails/Tabs/RemoteExecutionConstants.js
4857
+ - webpack/components/extensions/HostDetails/Tabs/RemoteExecutionHooks.js
4853
4858
  - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsActions.js
4854
4859
  - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsConstants.js
4855
4860
  - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsSelectors.js
4856
4861
  - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.js
4857
4862
  - webpack/components/extensions/HostDetails/Tabs/RepositorySetsTab/RepositorySetsTab.scss
4858
- - webpack/components/extensions/HostDetails/Tabs/TracesTab/EnableTracerEmptyState.js
4859
4863
  - webpack/components/extensions/HostDetails/Tabs/TracesTab/EnableTracerModal.js
4860
4864
  - webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesActions.js
4861
4865
  - webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesConstants.js
4862
4866
  - webpack/components/extensions/HostDetails/Tabs/TracesTab/HostTracesSelectors.js
4867
+ - webpack/components/extensions/HostDetails/Tabs/TracesTab/TracesEnabler.js
4863
4868
  - webpack/components/extensions/HostDetails/Tabs/TracesTab/TracesTab.js
4864
4869
  - webpack/components/extensions/HostDetails/Tabs/TracesTab/TracesTab.scss
4865
4870
  - webpack/components/extensions/HostDetails/Tabs/__tests__/bookmarks.fixtures.json
4866
4871
  - webpack/components/extensions/HostDetails/Tabs/__tests__/contentOverrides.fixtures.json
4867
4872
  - webpack/components/extensions/HostDetails/Tabs/__tests__/errata.fixtures.json
4868
4873
  - webpack/components/extensions/HostDetails/Tabs/__tests__/errataTab.test.js
4874
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/moduleStreams.fixtures.json
4875
+ - webpack/components/extensions/HostDetails/Tabs/__tests__/moduleStreamsTab.test.js
4869
4876
  - webpack/components/extensions/HostDetails/Tabs/__tests__/packageInstallModal.test.js
4870
4877
  - webpack/components/extensions/HostDetails/Tabs/__tests__/packages.fixtures.json
4871
4878
  - webpack/components/extensions/HostDetails/Tabs/__tests__/packagesTab.test.js
@@ -4985,6 +4992,19 @@ files:
4985
4992
  - webpack/scenes/AlternateContentSources/ACSConstants.js
4986
4993
  - webpack/scenes/AlternateContentSources/ACSIndexPage.js
4987
4994
  - webpack/scenes/AlternateContentSources/ACSSelectors.js
4995
+ - webpack/scenes/AlternateContentSources/Create/ACSCreateContext.js
4996
+ - webpack/scenes/AlternateContentSources/Create/ACSCreateWizard.js
4997
+ - webpack/scenes/AlternateContentSources/Create/Steps/ACSCreateFinish.js
4998
+ - webpack/scenes/AlternateContentSources/Create/Steps/ACSCredentials.js
4999
+ - webpack/scenes/AlternateContentSources/Create/Steps/ACSReview.js
5000
+ - webpack/scenes/AlternateContentSources/Create/Steps/ACSSmartProxies.js
5001
+ - webpack/scenes/AlternateContentSources/Create/Steps/AcsUrlPaths.js
5002
+ - webpack/scenes/AlternateContentSources/Create/Steps/NameACS.js
5003
+ - webpack/scenes/AlternateContentSources/Create/Steps/SelectSource.js
5004
+ - webpack/scenes/AlternateContentSources/Create/__tests__/acsCreate.test.js
5005
+ - webpack/scenes/AlternateContentSources/Create/__tests__/acsCreateData.fixtures.json
5006
+ - webpack/scenes/AlternateContentSources/Create/__tests__/contentCredentials.fixtures.json
5007
+ - webpack/scenes/AlternateContentSources/Create/__tests__/smartProxy.fixtures.json
4988
5008
  - webpack/scenes/AlternateContentSources/MainTable/ACSTable.js
4989
5009
  - webpack/scenes/AlternateContentSources/MainTable/__tests__/acsIndex.fixtures.json
4990
5010
  - webpack/scenes/AlternateContentSources/MainTable/__tests__/acsTable.test.js
@@ -5498,7 +5518,7 @@ homepage: http://www.katello.org
5498
5518
  licenses:
5499
5519
  - GPL-2.0
5500
5520
  metadata: {}
5501
- post_install_message:
5521
+ post_install_message:
5502
5522
  rdoc_options: []
5503
5523
  require_paths:
5504
5524
  - lib
@@ -5513,8 +5533,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
5513
5533
  - !ruby/object:Gem::Version
5514
5534
  version: 1.3.1
5515
5535
  requirements: []
5516
- rubygems_version: 3.2.33
5517
- signing_key:
5536
+ rubygems_version: 3.1.6
5537
+ signing_key:
5518
5538
  specification_version: 4
5519
5539
  summary: Content and Subscription Management plugin for Foreman
5520
5540
  test_files: []
@@ -1,8 +0,0 @@
1
- # This file should contain all the record creation needed to seed the database with its default values.
2
- # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
- #
4
- # !!! PLEASE KEEP THIS SCRIPT IDEMPOTENT !!!
5
- #
6
- User.as(::User.anonymous_api_admin.login) do
7
- Setting.find_by(:name => "dynflow_enable_console").update!(:value => true) if Rails.env.development?
8
- end
@@ -1,42 +0,0 @@
1
- import React, { useState } from 'react';
2
- import {
3
- EmptyState,
4
- EmptyStateIcon,
5
- EmptyStateBody,
6
- Title,
7
- EmptyStateVariant,
8
- Button,
9
- Flex,
10
- FlexItem,
11
- } from '@patternfly/react-core';
12
- import { WrenchIcon } from '@patternfly/react-icons';
13
- import { translate as __ } from 'foremanReact/common/I18n';
14
- import EnableTracerModal from './EnableTracerModal';
15
-
16
- const EnableTracerEmptyState = () => {
17
- const title = __('Traces are not enabled');
18
- const body = __('Traces help administrators identify applications that need to be restarted after a system is patched.');
19
- const [enableTracerModalOpen, setEnableTracerModalOpen] = useState(false);
20
-
21
- return (
22
- <EmptyState variant={EmptyStateVariant.small}>
23
- <EmptyStateIcon icon={WrenchIcon} />
24
- <Title headingLevel="h2" size="lg">
25
- {title}
26
- </Title>
27
- <EmptyStateBody>
28
- <Flex direction={{ default: 'column' }}>
29
- <FlexItem>{body}</FlexItem>
30
- <FlexItem>
31
- <Button onClick={() => setEnableTracerModalOpen(true)}>
32
- {__('Enable Traces')}
33
- </Button>
34
- </FlexItem>
35
- </Flex>
36
- </EmptyStateBody>
37
- <EnableTracerModal isOpen={enableTracerModalOpen} setIsOpen={setEnableTracerModalOpen} />
38
- </EmptyState>
39
- );
40
- };
41
-
42
- export default EnableTracerEmptyState;