katello 3.7.0.rc1 → 3.7.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.
- checksums.yaml +4 -4
- data/app/controllers/katello/api/v2/content_views_controller.rb +5 -2
- data/app/controllers/katello/api/v2/environments_controller.rb +8 -3
- data/app/controllers/katello/api/v2/host_tracer_controller.rb +1 -1
- data/app/controllers/katello/api/v2/upstream_subscriptions_controller.rb +4 -4
- data/app/helpers/katello/hosts_and_hostgroups_helper.rb +5 -22
- data/app/lib/actions/katello/host/update_content_overrides.rb +1 -0
- data/app/lib/actions/katello/product/content_create.rb +1 -0
- data/app/lib/actions/katello/product/repositories_certs_reset.rb +25 -0
- data/app/lib/actions/katello/product/update.rb +6 -0
- data/app/lib/katello/resources/candlepin/activation_key.rb +8 -4
- data/app/lib/katello/resources/candlepin/product.rb +2 -1
- data/app/lib/katello/util/cdn_var_substitutor.rb +5 -3
- data/app/lib/katello/util/package.rb +21 -13
- data/app/lib/katello/util/package_filter.rb +33 -31
- data/app/lib/katello/validators/prior_validator.rb +6 -10
- data/app/models/katello/concerns/host_managed_extensions.rb +2 -0
- data/app/models/katello/concerns/organization_extensions.rb +1 -0
- data/app/models/katello/concerns/subscription_facet_host_extensions.rb +10 -6
- data/app/models/katello/content.rb +23 -2
- data/app/models/katello/content_view_docker_filter.rb +1 -1
- data/app/models/katello/content_view_puppet_module.rb +3 -3
- data/app/models/katello/content_view_version.rb +4 -0
- data/app/models/katello/environment_prior.rb +7 -0
- data/app/models/katello/glue/candlepin/candlepin_object.rb +2 -2
- data/app/models/katello/glue/candlepin/pool.rb +10 -13
- data/app/models/katello/glue/candlepin/product.rb +19 -9
- data/app/models/katello/glue/candlepin/repository.rb +16 -0
- data/app/models/katello/glue/candlepin/subscription.rb +1 -1
- data/app/models/katello/glue/provider.rb +15 -81
- data/app/models/katello/host/subscription_facet.rb +1 -1
- data/app/models/katello/kt_environment.rb +39 -8
- data/app/models/katello/pool.rb +2 -1
- data/app/models/katello/rpm.rb +144 -2
- data/app/models/katello/upstream_pool.rb +7 -10
- data/app/services/katello/candlepin/pool_service.rb +18 -3
- data/app/services/katello/ui_notifications/pulp/proxy_disk_space.rb +13 -16
- data/app/views/dashboard/_content_views_widget.html.erb +3 -3
- data/app/views/dashboard/_errata_widget.html.erb +2 -2
- data/app/views/dashboard/_host_collection_widget.html.erb +3 -3
- data/app/views/dashboard/_subscription_status_widget.html.erb +2 -2
- data/app/views/dashboard/_subscription_widget.html.erb +1 -1
- data/app/views/dashboard/_sync_widget.html.erb +3 -3
- data/app/views/katello/api/v2/subscriptions/base.json.rabl +1 -1
- data/app/views/katello/api/v2/upstream_subscriptions/base.json.rabl +2 -6
- data/app/views/katello/layouts/react.html.erb +3 -3
- data/config/katello.yaml +89 -0
- data/config/routes.rb +3 -0
- data/db/migrate/20160302091113_change_environment_prior.rb +9 -0
- data/db/migrate/20180410140909_add_organization_id_to_pool.rb +2 -1
- data/db/migrate/20180612163403_add_foreign_key_to_hypervisor_id.rb +10 -0
- data/db/migrate/20180612164926_add_content_org_id.rb +39 -0
- data/db/migrate/20180612165011_remove_content_fields_from_host.rb +7 -0
- data/db/migrate/20180626160422_add_upstream_pool_id_to_katello_pool.rb +9 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-packages-modal.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/register.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/environment-content.controller.js +2 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment.html +4 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environments.controller.js +19 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/new-environment.controller.js +18 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/paths.service.js +51 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/views/new-environment.html +16 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/products-bulk-advanced-sync-modal.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions.routes.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js +1 -6
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/bastion_katello.scss +4 -0
- data/engines/bastion_katello/lib/bastion_katello/engine.rb +1 -1
- data/lib/katello/plugin.rb +2 -11
- data/lib/katello/scheduled_jobs.rb +2 -14
- data/lib/katello/tasks/clean_backend_objects.rake +2 -0
- data/lib/katello/tasks/repository.rake +11 -2
- data/lib/katello/tasks/upgrades/3.7/import_pools.rake +12 -0
- data/lib/katello/version.rb +1 -1
- data/package.json +4 -3
- data/webpack/components/PaginationRow/index.js +6 -2
- data/webpack/containers/Application/config.js +7 -2
- data/webpack/index.js +3 -5
- data/webpack/move_to_foreman/common/helpers.js +5 -24
- data/webpack/move_to_foreman/components/common/emptyState/index.js +12 -7
- data/webpack/move_to_foreman/components/common/table/components/CollapseSubscriptionGroupButton.js +31 -0
- data/webpack/move_to_foreman/components/common/table/components/CollapseSubscriptionGroupButton.test.js +16 -0
- data/webpack/move_to_foreman/components/common/table/components/Table.js +76 -0
- data/webpack/move_to_foreman/components/common/table/components/Table.test.js +31 -0
- data/webpack/move_to_foreman/components/common/table/components/TableBody.js +27 -0
- data/webpack/move_to_foreman/components/common/table/components/TableBody.test.js +18 -0
- data/webpack/move_to_foreman/components/common/table/components/TableBodyMessage.js +18 -0
- data/webpack/move_to_foreman/components/common/table/components/TableBodyMessage.test.js +12 -0
- data/webpack/move_to_foreman/components/common/table/components/TableFixtures.js +14 -0
- data/webpack/move_to_foreman/components/common/table/components/TableSelectionCell.js +39 -0
- data/webpack/move_to_foreman/components/common/table/components/TableSelectionCell.test.js +16 -0
- data/webpack/move_to_foreman/components/common/table/components/TableSelectionHeaderCell.js +34 -0
- data/webpack/move_to_foreman/components/common/table/components/TableSelectionHeaderCell.test.js +14 -0
- data/webpack/move_to_foreman/components/common/table/components/__snapshots__/CollapseSubscriptionGroupButton.test.js.snap +19 -0
- data/webpack/move_to_foreman/components/common/table/components/__snapshots__/Table.test.js.snap +167 -0
- data/webpack/move_to_foreman/components/common/table/components/__snapshots__/TableBody.test.js.snap +28 -0
- data/webpack/move_to_foreman/components/common/table/components/__snapshots__/TableBodyMessage.test.js.snap +13 -0
- data/webpack/move_to_foreman/components/common/table/components/__snapshots__/TableSelectionCell.test.js.snap +16 -0
- data/webpack/move_to_foreman/components/common/table/components/__snapshots__/TableSelectionHeaderCell.test.js.snap +15 -0
- data/webpack/move_to_foreman/components/common/table/components/index.js +6 -0
- data/webpack/move_to_foreman/components/common/table/formatters/cellFormatter.js +4 -0
- data/webpack/move_to_foreman/components/common/table/formatters/collapseableAndSelectionCellFormatter.js +18 -0
- data/webpack/move_to_foreman/components/common/table/formatters/ellipsisCellFormatter.js +5 -0
- data/webpack/move_to_foreman/components/common/table/formatters/headerFormatter.js +4 -0
- data/webpack/move_to_foreman/components/common/table/formatters/index.js +6 -0
- data/webpack/move_to_foreman/components/common/table/formatters/selectionCellFormatter.js +17 -0
- data/webpack/move_to_foreman/components/common/table/formatters/selectionHeaderCellFormatter.js +10 -0
- data/webpack/move_to_foreman/components/common/table/index.js +2 -88
- data/webpack/move_to_pf/LoadingState/LoadingState.js +35 -0
- data/webpack/move_to_pf/LoadingState/LoadingState.scss +12 -0
- data/webpack/move_to_pf/LoadingState/LoadingState.test.js +28 -0
- data/webpack/move_to_pf/LoadingState/__snapshots__/LoadingState.test.js.snap +20 -0
- data/webpack/move_to_pf/LoadingState/index.js +3 -0
- data/webpack/move_to_pf/test-utils/testHelpers.js +71 -0
- data/webpack/redux/actions/RedHatRepositories/enabled.js +1 -1
- data/webpack/redux/actions/RedHatRepositories/helpers.js +34 -9
- data/webpack/redux/actions/RedHatRepositories/sets.js +28 -6
- data/webpack/redux/consts.js +1 -0
- data/webpack/redux/reducers/RedHatRepositories/sets.fixtures.js +12 -2
- data/webpack/redux/reducers/RedHatRepositories/sets.js +34 -27
- data/webpack/redux/reducers/RedHatRepositories/sets.test.js +10 -2
- data/webpack/redux/reducers/index.js +2 -0
- data/webpack/scenes/Organizations/OrganizationActions.js +3 -3
- data/webpack/scenes/RedHatRepositories/components/RecommendedRepositorySetsToggler.js +44 -0
- data/webpack/scenes/RedHatRepositories/components/RecommendedRepositorySetsToggler.scss +16 -0
- data/webpack/scenes/RedHatRepositories/components/RepositorySet.js +8 -2
- data/webpack/scenes/RedHatRepositories/components/RepositorySetRepositories.js +5 -3
- data/webpack/scenes/RedHatRepositories/components/RepositorySetRepository.js +4 -2
- data/webpack/scenes/RedHatRepositories/components/Search.js +1 -1
- data/webpack/scenes/RedHatRepositories/components/SearchBar.js +1 -1
- data/webpack/scenes/RedHatRepositories/components/__tests__/RecommendedRepositorySetsToggler.test.js +17 -0
- data/webpack/scenes/RedHatRepositories/components/__tests__/__snapshots__/RecommendedRepositorySetsToggler.test.js.snap +37 -0
- data/webpack/scenes/RedHatRepositories/helpers.js +1 -1
- data/webpack/scenes/RedHatRepositories/index.js +17 -7
- data/webpack/scenes/RedHatRepositories/index.scss +16 -4
- data/webpack/scenes/Subscriptions/Details/SubscriptionAttributes.js +17 -0
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetailActions.js +28 -0
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetailAssociations.js +47 -0
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetailConstants.js +3 -0
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetailInfo.js +65 -0
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetailProducts.js +20 -0
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetailReducer.js +37 -0
- data/webpack/scenes/Subscriptions/Details/SubscriptionDetails.js +58 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailActions.test.js +47 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailAssociations.test.js +16 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailInfo.test.js +15 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailProducts.test.js +16 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailReducer.test.js +39 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetails.test.js +28 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailAssociations.test.js.snap +53 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailInfo.test.js.snap +185 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailProducts.test.js.snap +77 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetails.test.js.snap +432 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/subscriptionDetails.fixtures.js +167 -0
- data/webpack/scenes/Subscriptions/Details/index.js +19 -0
- data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js +58 -12
- data/webpack/scenes/Subscriptions/Manifest/Manifest.scss +6 -1
- data/webpack/scenes/Subscriptions/Manifest/ManifestActions.js +4 -4
- data/webpack/scenes/Subscriptions/Manifest/ManifestHistoryTableSchema.js +7 -7
- data/webpack/scenes/Subscriptions/Manifest/__tests__/__snapshots__/ManageManifestModal.test.js.snap +6 -9
- data/webpack/scenes/Subscriptions/Manifest/index.js +2 -2
- data/webpack/scenes/Subscriptions/SubscriptionActions.js +5 -6
- data/webpack/scenes/Subscriptions/SubscriptionReducer.js +2 -3
- data/webpack/scenes/Subscriptions/SubscriptionValidations.js +1 -1
- data/webpack/scenes/Subscriptions/SubscriptionsPage.js +46 -30
- data/webpack/scenes/Subscriptions/SubscriptionsPage.scss +38 -0
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsActions.js +3 -3
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsPage.js +7 -6
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsTableSchema.js +17 -14
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/__tests__/__snapshots__/UpstreamSubscriptionsPage.test.js.snap +12 -15
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/__tests__/upstreamSubscriptions.fixtures.js +4 -4
- data/webpack/scenes/Subscriptions/__tests__/SubscriptionValidations.test.js +5 -0
- data/webpack/scenes/Subscriptions/__tests__/subscriptions.fixtures.js +2 -2
- data/webpack/scenes/Subscriptions/{EntitlementsInlineEditFormatter.js → components/SubscriptionsTable/EntitlementsInlineEditFormatter.js} +7 -7
- data/webpack/scenes/Subscriptions/{SubscriptionsTable.js → components/SubscriptionsTable/SubscriptionsTable.js} +75 -47
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTableHelpers.js +60 -0
- data/webpack/scenes/Subscriptions/{SubscriptionsTableSchema.js → components/SubscriptionsTable/SubscriptionsTableSchema.js} +37 -26
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/SubscriptionsTable.test.js +56 -0
- data/webpack/scenes/Subscriptions/{__tests__ → components/SubscriptionsTable/__tests__}/__snapshots__/SubscriptionsTable.test.js.snap +16 -5
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/index.js +2 -0
- data/webpack/scenes/Subscriptions/index.js +2 -2
- data/webpack/scenes/Tasks/TaskActions.js +18 -11
- data/webpack/scenes/Tasks/__tests__/TaskActions.test.js +92 -9
- data/webpack/scenes/Tasks/__tests__/task.fixtures.js +19 -9
- data/webpack/services/api/index.js +2 -2
- data/webpack/test_setup.js +1 -0
- metadata +79 -10
- data/webpack/scenes/Subscriptions/Subscriptions.scss +0 -14
- data/webpack/scenes/Subscriptions/__tests__/SubscriptionsTable.test.js +0 -47
@@ -55,6 +55,11 @@ export const getTaskSuccessResponse = Immutable({
|
|
55
55
|
cli_example: null,
|
56
56
|
});
|
57
57
|
|
58
|
+
export const getTaskPendingResponse = {
|
59
|
+
...getTaskSuccessResponse,
|
60
|
+
pending: true,
|
61
|
+
};
|
62
|
+
|
58
63
|
export const bulkSearchSuccessResponse = Immutable([
|
59
64
|
{
|
60
65
|
search_params: {
|
@@ -92,32 +97,37 @@ export const bulkSearchSuccessActions = [
|
|
92
97
|
},
|
93
98
|
];
|
94
99
|
|
95
|
-
export const
|
100
|
+
export const buildBulkSearchFailureActions = (errorCode = 422) => ([
|
96
101
|
{
|
97
102
|
type: 'TASK_BULK_SEARCH_REQUEST',
|
98
103
|
},
|
99
104
|
{
|
100
|
-
result: new Error(
|
105
|
+
result: new Error(`Request failed with status code ${errorCode}`),
|
101
106
|
type: 'TASK_BULK_SEARCH_FAILURE',
|
102
107
|
},
|
103
|
-
];
|
108
|
+
]);
|
104
109
|
|
105
|
-
export const
|
110
|
+
export const buildTaskSuccessActions = response => ([
|
106
111
|
{
|
107
112
|
type: 'GET_TASK_REQUEST',
|
108
113
|
},
|
109
114
|
{
|
110
|
-
response
|
115
|
+
response,
|
111
116
|
type: 'GET_TASK_SUCCESS',
|
112
117
|
},
|
113
|
-
];
|
118
|
+
]);
|
114
119
|
|
115
|
-
export const
|
120
|
+
export const getTaskSuccessActions = buildTaskSuccessActions(getTaskSuccessResponse);
|
121
|
+
|
122
|
+
export const getTaskPendingActions = buildTaskSuccessActions(getTaskPendingResponse);
|
123
|
+
|
124
|
+
export const buildTaskFailureActions = (errorCode = 422) => ([
|
116
125
|
{
|
117
126
|
type: 'GET_TASK_REQUEST',
|
118
127
|
},
|
119
128
|
{
|
120
|
-
result: new Error(
|
129
|
+
result: new Error(`Request failed with status code ${errorCode}`),
|
121
130
|
type: 'GET_TASK_FAILURE',
|
122
131
|
},
|
123
|
-
];
|
132
|
+
]);
|
133
|
+
|
@@ -100,6 +100,6 @@ class ForemanTasksApi extends Api {
|
|
100
100
|
export const foremanTasksApi = new ForemanTasksApi();
|
101
101
|
|
102
102
|
// eslint-disable-next-line import/prefer-default-export
|
103
|
-
const orgNode = document.getElementById('organization-id');
|
103
|
+
const orgNode = () => document.getElementById('organization-id');
|
104
104
|
// This node does not exist while testing
|
105
|
-
export const orgId = orgNode ? orgNode.dataset.id : '1';
|
105
|
+
export const orgId = () => (orgNode() ? orgNode().dataset.id : '1');
|
data/webpack/test_setup.js
CHANGED
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: 3.7.0.
|
4
|
+
version: 3.7.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N/A
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0.
|
89
|
+
version: '0.13'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0.
|
96
|
+
version: '0.13'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: foreman_docker
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -661,6 +661,7 @@ files:
|
|
661
661
|
- app/lib/actions/katello/product/create.rb
|
662
662
|
- app/lib/actions/katello/product/destroy.rb
|
663
663
|
- app/lib/actions/katello/product/reindex_subscriptions.rb
|
664
|
+
- app/lib/actions/katello/product/repositories_certs_reset.rb
|
664
665
|
- app/lib/actions/katello/product/repositories_gpg_reset.rb
|
665
666
|
- app/lib/actions/katello/product/update.rb
|
666
667
|
- app/lib/actions/katello/provider/destroy.rb
|
@@ -946,6 +947,7 @@ files:
|
|
946
947
|
- app/models/katello/docker_manifest_list_manifest.rb
|
947
948
|
- app/models/katello/docker_meta_tag.rb
|
948
949
|
- app/models/katello/docker_tag.rb
|
950
|
+
- app/models/katello/environment_prior.rb
|
949
951
|
- app/models/katello/errata_status.rb
|
950
952
|
- app/models/katello/erratum.rb
|
951
953
|
- app/models/katello/erratum_bugzilla.rb
|
@@ -1338,6 +1340,7 @@ files:
|
|
1338
1340
|
- config/initializers/pagelets.rb
|
1339
1341
|
- config/initializers/rabl_init.rb
|
1340
1342
|
- config/initializers/runcible.rb
|
1343
|
+
- config/katello.yaml
|
1341
1344
|
- config/katello.yaml.example
|
1342
1345
|
- config/locales/README
|
1343
1346
|
- config/locales/bn.yml
|
@@ -1474,6 +1477,7 @@ files:
|
|
1474
1477
|
- db/migrate/20160222143432_move_system_description_to_host.rb
|
1475
1478
|
- db/migrate/20160224155909_add_registered_at_to_subscription_facet.rb
|
1476
1479
|
- db/migrate/20160301070319_add_version_ostree_branches.rb
|
1480
|
+
- db/migrate/20160302091113_change_environment_prior.rb
|
1477
1481
|
- db/migrate/20160317171813_change_activation_key_column_names.rb
|
1478
1482
|
- db/migrate/20160323065901_increase_cdn_length.rb
|
1479
1483
|
- db/migrate/20160404132250_remove_katello_from_notification_name.rb
|
@@ -1553,6 +1557,10 @@ files:
|
|
1553
1557
|
- db/migrate/20180413153126_content_facet_applicable_rpms_index.rb
|
1554
1558
|
- db/migrate/20180417031215_add_ignorable_content_to_repository.rb
|
1555
1559
|
- db/migrate/20180521200848_drop_repo_rpms_timestamp_not_null.rb
|
1560
|
+
- db/migrate/20180612163403_add_foreign_key_to_hypervisor_id.rb
|
1561
|
+
- db/migrate/20180612164926_add_content_org_id.rb
|
1562
|
+
- db/migrate/20180612165011_remove_content_fields_from_host.rb
|
1563
|
+
- db/migrate/20180626160422_add_upstream_pool_id_to_katello_pool.rb
|
1556
1564
|
- db/seeds.d/101-locations.rb
|
1557
1565
|
- db/seeds.d/102-organizations.rb
|
1558
1566
|
- db/seeds.d/104-proxy.rb
|
@@ -1836,6 +1844,7 @@ files:
|
|
1836
1844
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environments.module.js
|
1837
1845
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environments.routes.js
|
1838
1846
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/new-environment.controller.js
|
1847
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/paths.service.js
|
1839
1848
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/views/environments.html
|
1840
1849
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/views/new-environment.html
|
1841
1850
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/apply-errata.controller.js
|
@@ -2150,6 +2159,7 @@ files:
|
|
2150
2159
|
- lib/katello/tasks/upgrades/3.6/import_backend_consumer_attributes.rake
|
2151
2160
|
- lib/katello/tasks/upgrades/3.6/import_product_content.rake
|
2152
2161
|
- lib/katello/tasks/upgrades/3.6/republish_file_repos.rake
|
2162
|
+
- lib/katello/tasks/upgrades/3.7/import_pools.rake
|
2153
2163
|
- lib/katello/tasks/upgrades/3.7/make_all_ks_repos_bootable.rake
|
2154
2164
|
- lib/katello/tasks/virt_who_report.rake
|
2155
2165
|
- lib/katello/url_constrained_cookie_store.rb
|
@@ -2282,14 +2292,47 @@ files:
|
|
2282
2292
|
- webpack/move_to_foreman/components/common/ModalProgressBar/__tests__/__snapshots__/ModalProgressBar.test.js.snap
|
2283
2293
|
- webpack/move_to_foreman/components/common/ModalProgressBar/index.js
|
2284
2294
|
- webpack/move_to_foreman/components/common/emptyState/index.js
|
2295
|
+
- webpack/move_to_foreman/components/common/table/components/CollapseSubscriptionGroupButton.js
|
2296
|
+
- webpack/move_to_foreman/components/common/table/components/CollapseSubscriptionGroupButton.test.js
|
2297
|
+
- webpack/move_to_foreman/components/common/table/components/Table.js
|
2298
|
+
- webpack/move_to_foreman/components/common/table/components/Table.test.js
|
2299
|
+
- webpack/move_to_foreman/components/common/table/components/TableBody.js
|
2300
|
+
- webpack/move_to_foreman/components/common/table/components/TableBody.test.js
|
2301
|
+
- webpack/move_to_foreman/components/common/table/components/TableBodyMessage.js
|
2302
|
+
- webpack/move_to_foreman/components/common/table/components/TableBodyMessage.test.js
|
2303
|
+
- webpack/move_to_foreman/components/common/table/components/TableFixtures.js
|
2304
|
+
- webpack/move_to_foreman/components/common/table/components/TableSelectionCell.js
|
2305
|
+
- webpack/move_to_foreman/components/common/table/components/TableSelectionCell.test.js
|
2306
|
+
- webpack/move_to_foreman/components/common/table/components/TableSelectionHeaderCell.js
|
2307
|
+
- webpack/move_to_foreman/components/common/table/components/TableSelectionHeaderCell.test.js
|
2308
|
+
- webpack/move_to_foreman/components/common/table/components/__snapshots__/CollapseSubscriptionGroupButton.test.js.snap
|
2309
|
+
- webpack/move_to_foreman/components/common/table/components/__snapshots__/Table.test.js.snap
|
2310
|
+
- webpack/move_to_foreman/components/common/table/components/__snapshots__/TableBody.test.js.snap
|
2311
|
+
- webpack/move_to_foreman/components/common/table/components/__snapshots__/TableBodyMessage.test.js.snap
|
2312
|
+
- webpack/move_to_foreman/components/common/table/components/__snapshots__/TableSelectionCell.test.js.snap
|
2313
|
+
- webpack/move_to_foreman/components/common/table/components/__snapshots__/TableSelectionHeaderCell.test.js.snap
|
2314
|
+
- webpack/move_to_foreman/components/common/table/components/index.js
|
2315
|
+
- webpack/move_to_foreman/components/common/table/formatters/cellFormatter.js
|
2316
|
+
- webpack/move_to_foreman/components/common/table/formatters/collapseableAndSelectionCellFormatter.js
|
2317
|
+
- webpack/move_to_foreman/components/common/table/formatters/ellipsisCellFormatter.js
|
2318
|
+
- webpack/move_to_foreman/components/common/table/formatters/headerFormatter.js
|
2319
|
+
- webpack/move_to_foreman/components/common/table/formatters/index.js
|
2320
|
+
- webpack/move_to_foreman/components/common/table/formatters/selectionCellFormatter.js
|
2321
|
+
- webpack/move_to_foreman/components/common/table/formatters/selectionHeaderCellFormatter.js
|
2285
2322
|
- webpack/move_to_foreman/components/common/table/index.js
|
2286
2323
|
- webpack/move_to_foreman/foreman_toast_notifications.js
|
2324
|
+
- webpack/move_to_pf/LoadingState/LoadingState.js
|
2325
|
+
- webpack/move_to_pf/LoadingState/LoadingState.scss
|
2326
|
+
- webpack/move_to_pf/LoadingState/LoadingState.test.js
|
2327
|
+
- webpack/move_to_pf/LoadingState/__snapshots__/LoadingState.test.js.snap
|
2328
|
+
- webpack/move_to_pf/LoadingState/index.js
|
2287
2329
|
- webpack/move_to_pf/TypeAhead/TypeAhead.js
|
2288
2330
|
- webpack/move_to_pf/TypeAhead/TypeAhead.scss
|
2289
2331
|
- webpack/move_to_pf/TypeAhead/TypeAheadInput.js
|
2290
2332
|
- webpack/move_to_pf/TypeAhead/TypeAheadItems.js
|
2291
2333
|
- webpack/move_to_pf/TypeAhead/helpers.js
|
2292
2334
|
- webpack/move_to_pf/react-bootstrap-select/index.js
|
2335
|
+
- webpack/move_to_pf/test-utils/testHelpers.js
|
2293
2336
|
- webpack/redux/actions/RedHatRepositories/enabled.js
|
2294
2337
|
- webpack/redux/actions/RedHatRepositories/helpers.js
|
2295
2338
|
- webpack/redux/actions/RedHatRepositories/repositorySetRepositories.js
|
@@ -2316,18 +2359,41 @@ files:
|
|
2316
2359
|
- webpack/scenes/Organizations/__tests__/organizations.fixtures.js
|
2317
2360
|
- webpack/scenes/RedHatRepositories/components/EnabledRepository.js
|
2318
2361
|
- webpack/scenes/RedHatRepositories/components/EnabledRepository.stories.js
|
2362
|
+
- webpack/scenes/RedHatRepositories/components/RecommendedRepositorySetsToggler.js
|
2363
|
+
- webpack/scenes/RedHatRepositories/components/RecommendedRepositorySetsToggler.scss
|
2319
2364
|
- webpack/scenes/RedHatRepositories/components/RepositorySet.js
|
2320
2365
|
- webpack/scenes/RedHatRepositories/components/RepositorySetRepositories.js
|
2321
2366
|
- webpack/scenes/RedHatRepositories/components/RepositorySetRepository.js
|
2322
2367
|
- webpack/scenes/RedHatRepositories/components/RepositoryTypeIcon.js
|
2323
2368
|
- webpack/scenes/RedHatRepositories/components/Search.js
|
2324
2369
|
- webpack/scenes/RedHatRepositories/components/SearchBar.js
|
2370
|
+
- webpack/scenes/RedHatRepositories/components/__tests__/RecommendedRepositorySetsToggler.test.js
|
2325
2371
|
- webpack/scenes/RedHatRepositories/components/__tests__/RepositoryTypeIcon.test.js
|
2372
|
+
- webpack/scenes/RedHatRepositories/components/__tests__/__snapshots__/RecommendedRepositorySetsToggler.test.js.snap
|
2326
2373
|
- webpack/scenes/RedHatRepositories/components/__tests__/__snapshots__/RepositoryTypeIcon.test.js.snap
|
2327
2374
|
- webpack/scenes/RedHatRepositories/helpers.js
|
2328
2375
|
- webpack/scenes/RedHatRepositories/index.js
|
2329
2376
|
- webpack/scenes/RedHatRepositories/index.scss
|
2330
|
-
- webpack/scenes/Subscriptions/
|
2377
|
+
- webpack/scenes/Subscriptions/Details/SubscriptionAttributes.js
|
2378
|
+
- webpack/scenes/Subscriptions/Details/SubscriptionDetailActions.js
|
2379
|
+
- webpack/scenes/Subscriptions/Details/SubscriptionDetailAssociations.js
|
2380
|
+
- webpack/scenes/Subscriptions/Details/SubscriptionDetailConstants.js
|
2381
|
+
- webpack/scenes/Subscriptions/Details/SubscriptionDetailInfo.js
|
2382
|
+
- webpack/scenes/Subscriptions/Details/SubscriptionDetailProducts.js
|
2383
|
+
- webpack/scenes/Subscriptions/Details/SubscriptionDetailReducer.js
|
2384
|
+
- webpack/scenes/Subscriptions/Details/SubscriptionDetails.js
|
2385
|
+
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailActions.test.js
|
2386
|
+
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailAssociations.test.js
|
2387
|
+
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailInfo.test.js
|
2388
|
+
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailProducts.test.js
|
2389
|
+
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetailReducer.test.js
|
2390
|
+
- webpack/scenes/Subscriptions/Details/__tests__/SubscriptionDetails.test.js
|
2391
|
+
- webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailAssociations.test.js.snap
|
2392
|
+
- webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailInfo.test.js.snap
|
2393
|
+
- webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailProducts.test.js.snap
|
2394
|
+
- webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetails.test.js.snap
|
2395
|
+
- webpack/scenes/Subscriptions/Details/__tests__/subscriptionDetails.fixtures.js
|
2396
|
+
- webpack/scenes/Subscriptions/Details/index.js
|
2331
2397
|
- webpack/scenes/Subscriptions/Manifest/DeleteManifestModalText.js
|
2332
2398
|
- webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js
|
2333
2399
|
- webpack/scenes/Subscriptions/Manifest/Manifest.scss
|
@@ -2346,10 +2412,8 @@ files:
|
|
2346
2412
|
- webpack/scenes/Subscriptions/SubscriptionHelpers.js
|
2347
2413
|
- webpack/scenes/Subscriptions/SubscriptionReducer.js
|
2348
2414
|
- webpack/scenes/Subscriptions/SubscriptionValidations.js
|
2349
|
-
- webpack/scenes/Subscriptions/Subscriptions.scss
|
2350
2415
|
- webpack/scenes/Subscriptions/SubscriptionsPage.js
|
2351
|
-
- webpack/scenes/Subscriptions/
|
2352
|
-
- webpack/scenes/Subscriptions/SubscriptionsTableSchema.js
|
2416
|
+
- webpack/scenes/Subscriptions/SubscriptionsPage.scss
|
2353
2417
|
- webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsActions.js
|
2354
2418
|
- webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsContstants.js
|
2355
2419
|
- webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsPage.js
|
@@ -2365,10 +2429,15 @@ files:
|
|
2365
2429
|
- webpack/scenes/Subscriptions/__tests__/SubscriptionsActions.test.js
|
2366
2430
|
- webpack/scenes/Subscriptions/__tests__/SubscriptionsPage.test.js
|
2367
2431
|
- webpack/scenes/Subscriptions/__tests__/SubscriptionsReducer.test.js
|
2368
|
-
- webpack/scenes/Subscriptions/__tests__/SubscriptionsTable.test.js
|
2369
2432
|
- webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsPage.test.js.snap
|
2370
|
-
- webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsTable.test.js.snap
|
2371
2433
|
- webpack/scenes/Subscriptions/__tests__/subscriptions.fixtures.js
|
2434
|
+
- webpack/scenes/Subscriptions/components/SubscriptionsTable/EntitlementsInlineEditFormatter.js
|
2435
|
+
- webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTable.js
|
2436
|
+
- webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTableHelpers.js
|
2437
|
+
- webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTableSchema.js
|
2438
|
+
- webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/SubscriptionsTable.test.js
|
2439
|
+
- webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/__snapshots__/SubscriptionsTable.test.js.snap
|
2440
|
+
- webpack/scenes/Subscriptions/components/SubscriptionsTable/index.js
|
2372
2441
|
- webpack/scenes/Subscriptions/index.js
|
2373
2442
|
- webpack/scenes/Tasks/TaskActions.js
|
2374
2443
|
- webpack/scenes/Tasks/TaskConstants.js
|
@@ -1,47 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { render } from 'enzyme';
|
3
|
-
import toJson from 'enzyme-to-json';
|
4
|
-
import SubscriptionsTable from '../SubscriptionsTable';
|
5
|
-
import { successState, loadingState, emptyState } from './subscriptions.fixtures';
|
6
|
-
import { loadSubscriptions, updateQuantity } from '../SubscriptionActions';
|
7
|
-
|
8
|
-
describe('subscriptions table', () => {
|
9
|
-
it('should render a table', async () => {
|
10
|
-
const page = render(<SubscriptionsTable
|
11
|
-
subscriptions={successState}
|
12
|
-
loadSubscriptions={loadSubscriptions}
|
13
|
-
updateQuantity={updateQuantity}
|
14
|
-
subscriptionDeleteModalOpen={false}
|
15
|
-
onSubscriptionDeleteModalClose={() => { }}
|
16
|
-
onDeleteSubscriptions={() => {}}
|
17
|
-
toggleDeleteButton={() => {}}
|
18
|
-
/>);
|
19
|
-
expect(toJson(page)).toMatchSnapshot();
|
20
|
-
});
|
21
|
-
|
22
|
-
it('should render an empty state', async () => {
|
23
|
-
const page = render(<SubscriptionsTable
|
24
|
-
subscriptions={emptyState}
|
25
|
-
loadSubscriptions={loadSubscriptions}
|
26
|
-
updateQuantity={updateQuantity}
|
27
|
-
subscriptionDeleteModalOpen={false}
|
28
|
-
onSubscriptionDeleteModalClose={() => { }}
|
29
|
-
onDeleteSubscriptions={() => {}}
|
30
|
-
toggleDeleteButton={() => {}}
|
31
|
-
/>);
|
32
|
-
expect(toJson(page)).toMatchSnapshot();
|
33
|
-
});
|
34
|
-
|
35
|
-
it('should render a loading state', async () => {
|
36
|
-
const page = render(<SubscriptionsTable
|
37
|
-
subscriptions={loadingState}
|
38
|
-
loadSubscriptions={loadSubscriptions}
|
39
|
-
updateQuantity={updateQuantity}
|
40
|
-
subscriptionDeleteModalOpen={false}
|
41
|
-
onSubscriptionDeleteModalClose={() => { }}
|
42
|
-
onDeleteSubscriptions={() => {}}
|
43
|
-
toggleDeleteButton={() => {}}
|
44
|
-
/>);
|
45
|
-
expect(toJson(page)).toMatchSnapshot();
|
46
|
-
});
|
47
|
-
});
|