katello 3.18.0.rc1 → 3.18.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_view_filters_controller.rb +17 -8
- data/app/controllers/katello/api/v2/content_view_versions_controller.rb +5 -2
- data/app/controllers/katello/api/v2/content_views_controller.rb +10 -1
- data/app/controllers/katello/api/v2/host_debs_controller.rb +1 -0
- data/app/controllers/katello/api/v2/host_errata_controller.rb +2 -2
- data/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb +18 -6
- data/app/controllers/katello/api/v2/products_bulk_actions_controller.rb +1 -1
- data/app/controllers/katello/api/v2/products_controller.rb +9 -9
- data/app/controllers/katello/api/v2/repository_sets_controller.rb +24 -14
- data/app/controllers/katello/concerns/api/v2/authorization.rb +10 -0
- data/app/controllers/katello/concerns/api/v2/bulk_hosts_extensions.rb +22 -18
- data/app/controllers/katello/concerns/registration_controller_extensions.rb +16 -0
- data/app/lib/actions/helpers/smart_proxy_sync_history_helper.rb +24 -0
- data/app/lib/actions/katello/capsule_content/sync_capsule.rb +16 -7
- data/app/lib/actions/katello/content_view/publish.rb +5 -4
- data/app/lib/actions/katello/content_view_version/import.rb +3 -10
- data/app/lib/actions/katello/host/upload_package_profile.rb +3 -1
- data/app/lib/actions/katello/host/upload_profiles.rb +8 -6
- data/app/lib/actions/katello/repository/import_upload.rb +2 -0
- data/app/lib/actions/katello/repository/remove_content.rb +1 -1
- data/app/lib/actions/katello/repository/sync.rb +3 -1
- data/app/lib/actions/katello/repository/update.rb +1 -0
- data/app/lib/actions/katello/repository/upload_files.rb +1 -0
- data/app/lib/actions/middleware/record_smart_proxy_sync_history.rb +15 -0
- data/app/lib/actions/pulp/consumer/sync_capsule.rb +4 -2
- data/app/lib/actions/pulp/repository/distributor_publish.rb +1 -1
- data/app/lib/actions/pulp3/abstract_async_task.rb +1 -0
- data/app/lib/actions/pulp3/capsule_content/sync.rb +1 -0
- data/app/lib/actions/pulp3/content_view_version/export.rb +5 -1
- data/app/lib/actions/pulp3/orchestration/content_view_version/export.rb +23 -6
- data/app/lib/actions/pulp3/orchestration/repository/generate_metadata.rb +4 -1
- data/app/models/katello/authorization/content_view_filter.rb +15 -0
- data/app/models/katello/concerns/smart_proxy_extensions.rb +2 -0
- data/app/models/katello/content_view.rb +25 -4
- data/app/models/katello/content_view_filter.rb +5 -0
- data/app/models/katello/content_view_puppet_module.rb +8 -0
- data/app/models/katello/content_view_repository.rb +13 -1
- data/app/models/katello/ping.rb +8 -3
- data/app/models/katello/repository.rb +26 -0
- data/app/models/katello/smart_proxy_sync_history.rb +8 -0
- data/app/services/katello/pulp3/content_view_version/export.rb +64 -6
- data/app/services/katello/pulp3/content_view_version/import.rb +2 -27
- data/app/services/katello/pulp3/content_view_version/import_export_common.rb +6 -0
- data/app/services/katello/pulp3/content_view_version/import_validator.rb +107 -0
- data/app/services/katello/pulp3/migration.rb +7 -1
- data/app/services/katello/pulp3/repository/yum.rb +1 -2
- data/app/services/katello/pulp3/task.rb +3 -3
- data/app/services/katello/pulp3/task_group.rb +6 -0
- data/app/services/katello/repository_type.rb +2 -1
- data/app/services/katello/smart_proxy_helper.rb +9 -0
- data/app/views/foreman/hosts/_registration.html.erb +12 -0
- data/app/views/katello/api/v2/content_views/base.json.rabl +1 -0
- data/db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb +13 -0
- data/db/migrate/20201021150008_add_import_only_to_katello_content_view.rb +5 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js +6 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-details.controller.js +12 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-details.html +7 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-info.html +7 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/new/content-view-new.controller.js +17 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/new/views/content-view-new.html +16 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/views/content-views.html +5 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repository-types.service.js +8 -1
- data/lib/katello/engine.rb +1 -0
- data/lib/katello/permission_creator.rb +11 -11
- data/lib/katello/plugin.rb +6 -1
- data/lib/katello/tasks/pulp3_migration_abort.rake +17 -0
- data/lib/katello/version.rb +1 -1
- data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js +13 -11
- data/webpack/test-utils/react-testing-lib-wrapper.js +3 -0
- metadata +12 -3
- data/webpack/__mocks__/foremanReact/components/common/Fill/GlobalFill.js +0 -3
@@ -5,6 +5,7 @@ import React from 'react';
|
|
5
5
|
import thunk from 'redux-thunk';
|
6
6
|
import Immutable from 'seamless-immutable';
|
7
7
|
import { APIMiddleware, reducers as apiReducer } from 'foremanReact/redux/API';
|
8
|
+
import { reducers as fillReducers } from 'foremanReact/components/common/Fill';
|
8
9
|
import { reducers as foremanModalReducer } from 'foremanReact/components/ForemanModal';
|
9
10
|
import { STATUS } from 'foremanReact/constants';
|
10
11
|
import { render, waitFor } from '@testing-library/react';
|
@@ -33,6 +34,7 @@ function renderWithRedux(
|
|
33
34
|
katello: allKatelloReducers,
|
34
35
|
...apiReducer,
|
35
36
|
...foremanModalReducer,
|
37
|
+
...fillReducers,
|
36
38
|
});
|
37
39
|
|
38
40
|
// Namespacing the initial state as well
|
@@ -45,6 +47,7 @@ function renderWithRedux(
|
|
45
47
|
settings: initialSettingsState,
|
46
48
|
},
|
47
49
|
},
|
50
|
+
extendable: {},
|
48
51
|
...initialState,
|
49
52
|
});
|
50
53
|
const middlewares = applyMiddleware(thunk, APIMiddleware);
|
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.18.0.
|
4
|
+
version: 3.18.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: 2020-11-
|
11
|
+
date: 2020-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -780,6 +780,7 @@ files:
|
|
780
780
|
- app/controllers/katello/concerns/filtered_auto_complete_search.rb
|
781
781
|
- app/controllers/katello/concerns/hosts_controller_extensions.rb
|
782
782
|
- app/controllers/katello/concerns/organizations_controller_extensions.rb
|
783
|
+
- app/controllers/katello/concerns/registration_controller_extensions.rb
|
783
784
|
- app/controllers/katello/concerns/smart_proxies_controller_extensions.rb
|
784
785
|
- app/controllers/katello/errata_controller.rb
|
785
786
|
- app/controllers/katello/http_errors.rb
|
@@ -842,6 +843,7 @@ files:
|
|
842
843
|
- app/lib/actions/helpers/notifications.rb
|
843
844
|
- app/lib/actions/helpers/output_propagator.rb
|
844
845
|
- app/lib/actions/helpers/presenter.rb
|
846
|
+
- app/lib/actions/helpers/smart_proxy_sync_history_helper.rb
|
845
847
|
- app/lib/actions/katello/activation_key/create.rb
|
846
848
|
- app/lib/actions/katello/activation_key/destroy.rb
|
847
849
|
- app/lib/actions/katello/activation_key/reassign.rb
|
@@ -995,6 +997,7 @@ files:
|
|
995
997
|
- app/lib/actions/middleware/pulp3_services_check.rb
|
996
998
|
- app/lib/actions/middleware/pulp_services_check.rb
|
997
999
|
- app/lib/actions/middleware/record_fixtures.rb
|
1000
|
+
- app/lib/actions/middleware/record_smart_proxy_sync_history.rb
|
998
1001
|
- app/lib/actions/middleware/remote_action.rb
|
999
1002
|
- app/lib/actions/middleware/skip_if_matching_content.rb
|
1000
1003
|
- app/lib/actions/pulp/abstract.rb
|
@@ -1221,6 +1224,7 @@ files:
|
|
1221
1224
|
- app/models/katello/authorization/content_view.rb
|
1222
1225
|
- app/models/katello/authorization/content_view_component.rb
|
1223
1226
|
- app/models/katello/authorization/content_view_environment.rb
|
1227
|
+
- app/models/katello/authorization/content_view_filter.rb
|
1224
1228
|
- app/models/katello/authorization/content_view_history.rb
|
1225
1229
|
- app/models/katello/authorization/content_view_version.rb
|
1226
1230
|
- app/models/katello/authorization/content_view_version_export_history.rb
|
@@ -1391,6 +1395,7 @@ files:
|
|
1391
1395
|
- app/models/katello/rhsm_fact_parser.rb
|
1392
1396
|
- app/models/katello/root_repository.rb
|
1393
1397
|
- app/models/katello/rpm.rb
|
1398
|
+
- app/models/katello/smart_proxy_sync_history.rb
|
1394
1399
|
- app/models/katello/srpm.rb
|
1395
1400
|
- app/models/katello/subscription.rb
|
1396
1401
|
- app/models/katello/subscription_facet_activation_key.rb
|
@@ -1486,6 +1491,7 @@ files:
|
|
1486
1491
|
- app/services/katello/pulp3/content_view_version/export.rb
|
1487
1492
|
- app/services/katello/pulp3/content_view_version/import.rb
|
1488
1493
|
- app/services/katello/pulp3/content_view_version/import_export_common.rb
|
1494
|
+
- app/services/katello/pulp3/content_view_version/import_validator.rb
|
1489
1495
|
- app/services/katello/pulp3/deb.rb
|
1490
1496
|
- app/services/katello/pulp3/distribution.rb
|
1491
1497
|
- app/services/katello/pulp3/docker_blob.rb
|
@@ -1544,6 +1550,7 @@ files:
|
|
1544
1550
|
- app/views/dashboard/_subscription_status_widget.html.erb
|
1545
1551
|
- app/views/dashboard/_subscription_widget.html.erb
|
1546
1552
|
- app/views/dashboard/_sync_widget.html.erb
|
1553
|
+
- app/views/foreman/hosts/_registration.html.erb
|
1547
1554
|
- app/views/foreman/job_templates/install_errata.erb
|
1548
1555
|
- app/views/foreman/job_templates/install_errata_-_katello_ansible_default.erb
|
1549
1556
|
- app/views/foreman/job_templates/install_group.erb
|
@@ -2119,9 +2126,11 @@ files:
|
|
2119
2126
|
- db/migrate/20200820145217_add_download_concurrency_to_katello_root_repositories.rb
|
2120
2127
|
- db/migrate/20200910140340_remove_distribution_uuid.rb
|
2121
2128
|
- db/migrate/20200914200906_remove_auto_enabled.rb
|
2129
|
+
- db/migrate/20200929200357_create_katello_smart_proxy_sync_history.rb
|
2122
2130
|
- db/migrate/20201008204114_add_os_versions_to_katello_root_repositories.rb
|
2123
2131
|
- db/migrate/20201012172713_remove_gpg_key_perms.rb
|
2124
2132
|
- db/migrate/20201012192035_add_metadata_to_katello_content_view_version_export_history.rb
|
2133
|
+
- db/migrate/20201021150008_add_import_only_to_katello_content_view.rb
|
2125
2134
|
- db/seeds.d/101-locations.rb
|
2126
2135
|
- db/seeds.d/102-organizations.rb
|
2127
2136
|
- db/seeds.d/104-proxy.rb
|
@@ -4475,6 +4484,7 @@ files:
|
|
4475
4484
|
- lib/katello/tasks/job_templates.rake
|
4476
4485
|
- lib/katello/tasks/pulp3_content_switchover.rake
|
4477
4486
|
- lib/katello/tasks/pulp3_migration.rake
|
4487
|
+
- lib/katello/tasks/pulp3_migration_abort.rake
|
4478
4488
|
- lib/katello/tasks/pulp3_migration_stats.rake
|
4479
4489
|
- lib/katello/tasks/pulp3_post_migration_check.rake
|
4480
4490
|
- lib/katello/tasks/receptor/extract_orgs.rake
|
@@ -4598,7 +4608,6 @@ files:
|
|
4598
4608
|
- webpack/__mocks__/foremanReact/components/BreadcrumbBar/index.js
|
4599
4609
|
- webpack/__mocks__/foremanReact/components/Pagination/PaginationWrapper.js
|
4600
4610
|
- webpack/__mocks__/foremanReact/components/common/EmptyState.js
|
4601
|
-
- webpack/__mocks__/foremanReact/components/common/Fill/GlobalFill.js
|
4602
4611
|
- webpack/__mocks__/foremanReact/redux.js
|
4603
4612
|
- webpack/__mocks__/foremanReact/redux/actions/toasts.js
|
4604
4613
|
- webpack/__mocks__/react-intl/index.js
|