katello 3.9.1 → 3.10.0.rc1
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/assets/javascripts/katello/hosts/host_and_hostgroup_edit.js +28 -12
- data/app/controllers/katello/api/rhsm/candlepin_dynflow_proxy_controller.rb +12 -3
- data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +4 -13
- data/app/controllers/katello/api/v2/content_credentials_controller.rb +1 -1
- data/app/controllers/katello/api/v2/content_view_filter_rules_controller.rb +1 -1
- data/app/controllers/katello/api/v2/content_view_versions_controller.rb +6 -4
- data/app/controllers/katello/api/v2/content_views_controller.rb +8 -3
- data/app/controllers/katello/api/v2/gpg_keys_controller.rb +2 -1
- data/app/controllers/katello/api/v2/host_module_streams_controller.rb +39 -0
- data/app/controllers/katello/api/v2/hosts_bulk_actions_controller.rb +20 -11
- data/app/controllers/katello/api/v2/module_streams_controller.rb +2 -1
- data/app/controllers/katello/api/v2/repository_sets_controller.rb +17 -8
- data/app/controllers/katello/application_controller.rb +0 -2
- data/app/controllers/katello/concerns/hosts_controller_extensions.rb +5 -2
- data/app/lib/actions/candlepin/consumer/attach_subscription.rb +0 -2
- data/app/lib/actions/candlepin/consumer/remove_subscription.rb +0 -2
- data/app/lib/actions/katello/capsule_content/create_repos.rb +1 -25
- data/app/lib/actions/katello/capsule_content/sync.rb +1 -1
- data/app/lib/actions/katello/content_view/promote.rb +2 -5
- data/app/lib/actions/katello/content_view/promote_to_environment.rb +2 -5
- data/app/lib/actions/katello/content_view/publish.rb +1 -4
- data/app/lib/actions/katello/content_view_puppet_environment/create.rb +6 -10
- data/app/lib/actions/katello/content_view_version/export.rb +0 -2
- data/app/lib/actions/katello/content_view_version/incremental_update.rb +19 -1
- data/app/lib/actions/katello/environment/publish_repositories.rb +2 -1
- data/app/lib/actions/katello/gpg_key/update.rb +17 -0
- data/app/lib/actions/katello/host/attach_subscriptions.rb +0 -2
- data/app/lib/actions/katello/host/erratum/install.rb +6 -0
- data/app/lib/actions/katello/host/generate_applicability.rb +0 -2
- data/app/lib/actions/katello/host/hypervisors_update.rb +11 -6
- data/app/lib/actions/katello/host/package/install.rb +6 -0
- data/app/lib/actions/katello/host/package/remove.rb +6 -0
- data/app/lib/actions/katello/host/package/update.rb +7 -1
- data/app/lib/actions/katello/host/package_group/install.rb +6 -0
- data/app/lib/actions/katello/host/package_group/remove.rb +6 -0
- data/app/lib/actions/katello/host/recalculate_errata_status.rb +0 -2
- data/app/lib/actions/katello/host/remove_subscriptions.rb +0 -2
- data/app/lib/actions/katello/host/update.rb +1 -0
- data/app/lib/actions/katello/host/update_content_overrides.rb +0 -2
- data/app/lib/actions/katello/host/upload_package_profile.rb +13 -12
- data/app/lib/actions/katello/host/upload_profiles.rb +70 -0
- data/app/lib/actions/katello/product/reindex_subscriptions.rb +0 -2
- data/app/lib/actions/katello/product/repositories_certs_reset.rb +4 -4
- data/app/lib/actions/katello/product/repositories_gpg_reset.rb +2 -2
- data/app/lib/actions/katello/repository/check_matching_content.rb +18 -6
- data/app/lib/actions/katello/repository/clone_deb_content.rb +1 -1
- data/app/lib/actions/katello/repository/clone_to_environment.rb +3 -5
- data/app/lib/actions/katello/repository/clone_to_version.rb +2 -3
- data/app/lib/actions/katello/repository/clone_yum_content.rb +1 -2
- data/app/lib/actions/katello/repository/clone_yum_metadata.rb +2 -2
- data/app/lib/actions/katello/repository/create.rb +1 -31
- data/app/lib/actions/katello/repository/destroy.rb +1 -2
- data/app/lib/actions/katello/repository/export.rb +0 -2
- data/app/lib/actions/katello/repository/fetch_pxe_files.rb +0 -2
- data/app/lib/actions/katello/repository/filtered_index_content.rb +0 -2
- data/app/lib/actions/katello/repository/finish_upload.rb +0 -2
- data/app/lib/actions/katello/repository/import_upload.rb +0 -2
- data/app/lib/actions/katello/repository/index_content.rb +0 -1
- data/app/lib/actions/katello/repository/index_package_groups.rb +0 -2
- data/app/lib/actions/katello/repository/instance_update.rb +21 -0
- data/app/lib/actions/katello/repository/remove_content.rb +0 -2
- data/app/lib/actions/katello/repository/sync.rb +0 -1
- data/app/lib/actions/katello/repository/update.rb +0 -2
- data/app/lib/actions/katello/upstream_subscriptions/bind_entitlement.rb +0 -2
- data/app/lib/actions/katello/upstream_subscriptions/bind_entitlements.rb +0 -2
- data/app/lib/actions/katello/upstream_subscriptions/remove_entitlement.rb +0 -1
- data/app/lib/actions/katello/upstream_subscriptions/remove_entitlements.rb +0 -2
- data/app/lib/actions/katello/upstream_subscriptions/update_entitlement.rb +0 -1
- data/app/lib/actions/katello/upstream_subscriptions/update_entitlements.rb +0 -2
- data/app/lib/actions/pulp/abstract.rb +13 -14
- data/app/lib/actions/pulp/repository/create.rb +13 -211
- data/app/lib/actions/pulp/repository/create_in_plan.rb +4 -18
- data/app/lib/actions/pulp/repository/refresh.rb +7 -70
- data/app/lib/actions/pulp/repository/sync.rb +1 -2
- data/app/lib/katello/capsule_content.rb +3 -3
- data/app/lib/katello/resources/candlepin/consumer.rb +1 -1
- data/app/lib/katello/resources/candlepin/product.rb +1 -1
- data/app/lib/katello/validators/hostgroup_kickstart_repository_validator.rb +1 -1
- data/app/models/katello/available_module_stream.rb +11 -0
- data/app/models/katello/concerns/content_facet_host_extensions.rb +1 -0
- data/app/models/katello/concerns/host_managed_extensions.rb +56 -0
- data/app/models/katello/concerns/hostgroup_extensions.rb +17 -0
- data/app/models/katello/concerns/redhat_extensions.rb +20 -6
- data/app/models/katello/concerns/search_by_repository_name.rb +0 -1
- data/app/models/katello/concerns/smart_proxy_extensions.rb +26 -12
- data/app/models/katello/content_facet_applicable_module_stream.rb +7 -0
- data/app/models/katello/content_view_puppet_environment.rb +14 -35
- data/app/models/katello/erratum.rb +54 -24
- data/app/models/katello/erratum_package.rb +6 -0
- data/app/models/katello/glue/pulp/repo.rb +5 -228
- data/app/models/katello/gpg_key.rb +1 -0
- data/app/models/katello/host/content_facet.rb +38 -83
- data/app/models/katello/host_available_module_stream.rb +47 -0
- data/app/models/katello/module_stream.rb +18 -0
- data/app/models/katello/module_stream_erratum_package.rb +6 -0
- data/app/models/katello/product.rb +0 -2
- data/app/models/katello/product_content.rb +1 -0
- data/app/models/katello/repository.rb +15 -6
- data/app/models/katello/root_repository.rb +1 -1
- data/app/models/katello/rpm.rb +5 -17
- data/app/services/katello/applicable_content_helper.rb +111 -0
- data/app/services/katello/managed_content_medium_provider.rb +7 -0
- data/app/services/katello/pulp/consumer.rb +13 -7
- data/app/services/katello/pulp/repository.rb +157 -4
- data/app/services/katello/pulp/repository/deb.rb +47 -0
- data/app/services/katello/pulp/repository/docker.rb +43 -0
- data/app/services/katello/pulp/repository/file.rb +31 -0
- data/app/services/katello/pulp/repository/ostree.rb +40 -0
- data/app/services/katello/pulp/repository/puppet.rb +43 -0
- data/app/services/katello/pulp/repository/yum.rb +61 -0
- data/app/services/katello/repository_type.rb +1 -1
- data/app/views/katello/api/v2/content_facet/base.json.rabl +1 -0
- data/app/views/katello/api/v2/content_view_versions/base.json.rabl +0 -1
- data/app/views/katello/api/v2/errata/_counts.json.rabl +0 -1
- data/app/views/katello/api/v2/errata/show.json.rabl +9 -3
- data/app/views/katello/api/v2/host_collections/delta_activation_keys.rabl +0 -1
- data/app/views/katello/api/v2/host_module_streams/base.json.rabl +8 -0
- data/app/views/katello/api/v2/host_module_streams/index.json.rabl +7 -0
- data/app/views/katello/api/v2/packages/backend.json.rabl +0 -1
- data/app/views/katello/api/v2/repositories/show.json.rabl +6 -6
- data/app/views/katello/layouts/react.html.erb +2 -2
- data/app/views/overrides/activation_keys/_host_synced_content_select.html.erb +0 -1
- data/config/routes/api/rhsm.rb +1 -0
- data/config/routes/overrides.rb +4 -0
- data/db/migrate/20181008201422_add_modules_to_errata_packages.rb +29 -0
- data/db/migrate/20181017181806_available_module_streams.rb +34 -0
- data/db/migrate/20181027014323_add_applicable_modules.rb +24 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/common/module-stream-actions.service.js +2 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/details/views/content-credential-info.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-credentials/new/views/new-content-credential.html +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-host-bulk-module-streams-modal.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/content-hosts-bulk-errata-modal.html +37 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts.controller.js +4 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-module-streams.controller.js +27 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-module-streams.html +29 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/errata-details.html +15 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-promotion.controller.js +0 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-publish.controller.js +1 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-versions.controller.js +3 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/histories/content-view-history.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-promotion.html +0 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-publish.html +0 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/erratum.controller.js +19 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/erratum-info.html +0 -12
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/erratum-packages.html +36 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/erratum.html +7 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata.routes.js +9 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-module-streams.factory.js +18 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +4 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/new/views/new-repository.html +2 -2
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/bastion_katello.scss +13 -0
- data/lib/katello/permissions/host_permissions.rb +3 -0
- data/lib/katello/repository_types/deb.rb +3 -1
- data/lib/katello/repository_types/docker.rb +3 -1
- data/lib/katello/repository_types/file.rb +1 -0
- data/lib/katello/repository_types/ostree.rb +3 -1
- data/lib/katello/repository_types/puppet.rb +3 -1
- data/lib/katello/repository_types/yum.rb +3 -1
- data/lib/katello/tasks/delete_orphaned_content.rake +1 -1
- data/lib/katello/tasks/reset.rake +1 -0
- data/lib/katello/tasks/test.rake +14 -0
- data/lib/katello/tasks/unify_hosts.rake +2 -0
- data/lib/katello/tasks/virt_who_report.rake +2 -1
- data/lib/katello/version.rb +1 -1
- data/locale/Makefile +52 -17
- data/locale/update-i18n +22 -0
- data/package.json +11 -1
- data/webpack/__mocks__/foremanReact/components/common/EmptyState.js +8 -0
- data/webpack/move_to_foreman/components/common/table/components/Table.js +2 -1
- data/webpack/move_to_pf/react-bootstrap-select/index.js +4 -2
- data/webpack/move_to_pf/test-utils/testHelpers.js +9 -0
- data/webpack/redux/OrganizationProducts/OrganizationProductsActions.js +24 -0
- data/webpack/redux/OrganizationProducts/OrganizationProductsConstants.js +5 -0
- data/webpack/redux/OrganizationProducts/OrganizationProductsReducer.js +38 -0
- data/webpack/redux/OrganizationProducts/OrganizationProductsSelectors.js +7 -0
- data/webpack/redux/OrganizationProducts/__tests__/OrganizationProductsActions.test.js +47 -0
- data/webpack/redux/OrganizationProducts/__tests__/OrganizationProductsReducer.test.js +33 -0
- data/webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js +19 -0
- data/webpack/redux/OrganizationProducts/__tests__/__snapshots__/OrganizationProductsActions.test.js.snap +49 -0
- data/webpack/redux/OrganizationProducts/__tests__/__snapshots__/OrganizationProductsReducer.test.js.snap +36 -0
- data/webpack/redux/OrganizationProducts/__tests__/__snapshots__/OrganizationProductsSelectors.test.js.snap +9 -0
- data/webpack/redux/OrganizationProducts/index.js +13 -0
- data/webpack/redux/actions/RedHatRepositories/enabled.js +7 -1
- data/webpack/redux/actions/RedHatRepositories/helpers.js +4 -0
- data/webpack/redux/actions/RedHatRepositories/sets.js +2 -0
- data/webpack/redux/reducers/RedHatRepositories/enabled.fixtures.js +8 -2
- data/webpack/redux/reducers/RedHatRepositories/enabled.js +1 -1
- data/webpack/redux/reducers/RedHatRepositories/sets.fixtures.js +12 -3
- data/webpack/redux/reducers/index.js +2 -0
- data/webpack/scenes/RedHatRepositories/components/SearchBar.js +68 -33
- data/webpack/scenes/RedHatRepositories/index.js +13 -2
- data/webpack/scenes/RedHatRepositories/index.scss +26 -0
- data/webpack/scenes/Subscriptions/Manifest/ManageManifestModal.js +1 -1
- data/webpack/scenes/Subscriptions/Manifest/__tests__/__snapshots__/ManageManifestModal.test.js.snap +1 -1
- data/webpack/scenes/Subscriptions/SubscriptionActions.js +18 -2
- data/webpack/scenes/Subscriptions/SubscriptionConstants.js +8 -0
- data/webpack/scenes/Subscriptions/SubscriptionHelpers.js +15 -0
- data/webpack/scenes/Subscriptions/SubscriptionReducer.js +22 -14
- data/webpack/scenes/Subscriptions/SubscriptionsPage.js +39 -90
- data/webpack/scenes/Subscriptions/SubscriptionsSelectors.js +14 -0
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsPage.js +1 -3
- data/webpack/scenes/Subscriptions/UpstreamSubscriptions/__tests__/__snapshots__/UpstreamSubscriptionsPage.test.js.snap +0 -1
- data/webpack/scenes/Subscriptions/__tests__/SubscriptionHelpers.test.js +84 -0
- data/webpack/scenes/Subscriptions/__tests__/SubscriptionsActions.test.js +26 -1
- data/webpack/scenes/Subscriptions/__tests__/SubscriptionsPage.test.js +5 -0
- data/webpack/scenes/Subscriptions/__tests__/SubscriptionsReducer.test.js +177 -75
- data/webpack/scenes/Subscriptions/__tests__/SubscriptionsSelectors.test.js +29 -0
- data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionHelpers.test.js.snap +31 -0
- data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsActions.test.js.snap +32 -0
- data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsPage.test.js.snap +18 -96
- data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsReducer.test.js.snap +511 -0
- data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsSelectors.test.js.snap +26 -0
- data/webpack/scenes/Subscriptions/__tests__/subscriptions.fixtures.js +6 -1
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/__snapshots__/SubscriptionsTable.test.js.snap +3 -21
- data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/SubscriptionsToolbar.js +113 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/SubscriptionsToolbar.test.js +47 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/__snapshots__/SubscriptionsToolbar.test.js.snap +504 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/index.js +1 -0
- data/webpack/scenes/Subscriptions/index.js +15 -4
- metadata +59 -14
- data/app/lib/actions/pulp/repository/associate_distributor.rb +0 -20
- data/app/lib/actions/pulp/repository/associate_importer.rb +0 -23
- data/app/lib/actions/pulp/repository/delete_distributor.rb +0 -18
- data/app/lib/actions/pulp/repository/refresh_distributor.rb +0 -19
- data/app/lib/actions/pulp/repository/update_importer.rb +0 -33
- data/app/lib/katello/bulk_actions.rb +0 -63
- data/webpack/move_to_foreman/components/common/EmptyState/index.js +0 -68
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './SubscriptionsToolbar';
|
@@ -8,20 +8,31 @@ import * as settingActions from '../../move_to_foreman/Settings/SettingsActions'
|
|
8
8
|
import * as tableActions from '../Settings/Tables/TableActions';
|
9
9
|
import * as manifestActions from './Manifest/ManifestActions';
|
10
10
|
|
11
|
+
import {
|
12
|
+
selectSubscriptionsState,
|
13
|
+
selectSearchQuery,
|
14
|
+
selectManifestModalOpened,
|
15
|
+
selectDeleteModalOpened,
|
16
|
+
selectSubscriptionsTasks,
|
17
|
+
} from './SubscriptionsSelectors';
|
18
|
+
|
11
19
|
import reducer from './SubscriptionReducer';
|
12
20
|
import { SUBSCRIPTION_TABLE_NAME } from './SubscriptionConstants';
|
13
21
|
import SubscriptionsPage from './SubscriptionsPage';
|
14
22
|
|
15
23
|
// map state to props
|
16
|
-
|
17
24
|
const mapStateToProps = (state) => {
|
25
|
+
const subscriptions = selectSubscriptionsState(state);
|
18
26
|
const subscriptionTableSettings = state.katello.settings.tables[SUBSCRIPTION_TABLE_NAME] || {};
|
19
27
|
|
20
28
|
return {
|
21
|
-
|
22
|
-
subscriptions: state.katello.subscriptions,
|
23
|
-
tasks: state.katello.subscriptions.tasks,
|
29
|
+
subscriptions,
|
24
30
|
subscriptionTableSettings,
|
31
|
+
tasks: selectSubscriptionsTasks(state),
|
32
|
+
searchQuery: selectSearchQuery(state),
|
33
|
+
manifestModalOpened: selectManifestModalOpened(state),
|
34
|
+
deleteModalOpened: selectDeleteModalOpened(state),
|
35
|
+
organization: state.katello.organization,
|
25
36
|
taskDetails: state.katello.manifestHistory.taskDetails,
|
26
37
|
};
|
27
38
|
};
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: katello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.10.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N/A
|
@@ -87,6 +87,9 @@ dependencies:
|
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0.13'
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 0.14.1
|
90
93
|
type: :runtime
|
91
94
|
prerelease: false
|
92
95
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -94,6 +97,9 @@ dependencies:
|
|
94
97
|
- - "~>"
|
95
98
|
- !ruby/object:Gem::Version
|
96
99
|
version: '0.13'
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 0.14.1
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: foreman_docker
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,21 +148,21 @@ dependencies:
|
|
142
148
|
requirements:
|
143
149
|
- - ">="
|
144
150
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.5.
|
151
|
+
version: 0.5.14
|
146
152
|
type: :runtime
|
147
153
|
prerelease: false
|
148
154
|
version_requirements: !ruby/object:Gem::Requirement
|
149
155
|
requirements:
|
150
156
|
- - ">="
|
151
157
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.5.
|
158
|
+
version: 0.5.14
|
153
159
|
- !ruby/object:Gem::Dependency
|
154
160
|
name: runcible
|
155
161
|
requirement: !ruby/object:Gem::Requirement
|
156
162
|
requirements:
|
157
163
|
- - ">="
|
158
164
|
- !ruby/object:Gem::Version
|
159
|
-
version: 2.
|
165
|
+
version: 2.10.0
|
160
166
|
- - "<"
|
161
167
|
- !ruby/object:Gem::Version
|
162
168
|
version: 3.0.0
|
@@ -166,7 +172,7 @@ dependencies:
|
|
166
172
|
requirements:
|
167
173
|
- - ">="
|
168
174
|
- !ruby/object:Gem::Version
|
169
|
-
version: 2.
|
175
|
+
version: 2.10.0
|
170
176
|
- - "<"
|
171
177
|
- !ruby/object:Gem::Version
|
172
178
|
version: 3.0.0
|
@@ -487,6 +493,7 @@ files:
|
|
487
493
|
- app/controllers/katello/api/v2/host_collections_controller.rb
|
488
494
|
- app/controllers/katello/api/v2/host_contents_controller.rb
|
489
495
|
- app/controllers/katello/api/v2/host_errata_controller.rb
|
496
|
+
- app/controllers/katello/api/v2/host_module_streams_controller.rb
|
490
497
|
- app/controllers/katello/api/v2/host_packages_controller.rb
|
491
498
|
- app/controllers/katello/api/v2/host_subscriptions_controller.rb
|
492
499
|
- app/controllers/katello/api/v2/host_tracer_controller.rb
|
@@ -632,6 +639,7 @@ files:
|
|
632
639
|
- app/lib/actions/katello/event_queue/suspended_action.rb
|
633
640
|
- app/lib/actions/katello/foreman/abstract.rb
|
634
641
|
- app/lib/actions/katello/foreman/content_update.rb
|
642
|
+
- app/lib/actions/katello/gpg_key/update.rb
|
635
643
|
- app/lib/actions/katello/host/attach_subscriptions.rb
|
636
644
|
- app/lib/actions/katello/host/auto_attach_subscriptions.rb
|
637
645
|
- app/lib/actions/katello/host/destroy.rb
|
@@ -653,6 +661,7 @@ files:
|
|
653
661
|
- app/lib/actions/katello/host/update_content_view.rb
|
654
662
|
- app/lib/actions/katello/host/update_release_version.rb
|
655
663
|
- app/lib/actions/katello/host/upload_package_profile.rb
|
664
|
+
- app/lib/actions/katello/host/upload_profiles.rb
|
656
665
|
- app/lib/actions/katello/organization/auto_attach_subscriptions.rb
|
657
666
|
- app/lib/actions/katello/organization/create.rb
|
658
667
|
- app/lib/actions/katello/organization/destroy.rb
|
@@ -698,6 +707,7 @@ files:
|
|
698
707
|
- app/lib/actions/katello/repository/index_errata.rb
|
699
708
|
- app/lib/actions/katello/repository/index_module_streams.rb
|
700
709
|
- app/lib/actions/katello/repository/index_package_groups.rb
|
710
|
+
- app/lib/actions/katello/repository/instance_update.rb
|
701
711
|
- app/lib/actions/katello/repository/metadata_generate.rb
|
702
712
|
- app/lib/actions/katello/repository/refresh_repository.rb
|
703
713
|
- app/lib/actions/katello/repository/remove_content.rb
|
@@ -745,8 +755,6 @@ files:
|
|
745
755
|
- app/lib/actions/pulp/expect_one_task.rb
|
746
756
|
- app/lib/actions/pulp/repository/abstract_copy_content.rb
|
747
757
|
- app/lib/actions/pulp/repository/abstract_remove_content.rb
|
748
|
-
- app/lib/actions/pulp/repository/associate_distributor.rb
|
749
|
-
- app/lib/actions/pulp/repository/associate_importer.rb
|
750
758
|
- app/lib/actions/pulp/repository/copy_deb.rb
|
751
759
|
- app/lib/actions/pulp/repository/copy_deb_component.rb
|
752
760
|
- app/lib/actions/pulp/repository/copy_deb_release.rb
|
@@ -766,7 +774,6 @@ files:
|
|
766
774
|
- app/lib/actions/pulp/repository/create.rb
|
767
775
|
- app/lib/actions/pulp/repository/create_in_plan.rb
|
768
776
|
- app/lib/actions/pulp/repository/create_upload_request.rb
|
769
|
-
- app/lib/actions/pulp/repository/delete_distributor.rb
|
770
777
|
- app/lib/actions/pulp/repository/delete_upload_request.rb
|
771
778
|
- app/lib/actions/pulp/repository/destroy.rb
|
772
779
|
- app/lib/actions/pulp/repository/distributor_publish.rb
|
@@ -782,7 +789,6 @@ files:
|
|
782
789
|
- app/lib/actions/pulp/repository/purge_empty_errata.rb
|
783
790
|
- app/lib/actions/pulp/repository/purge_empty_package_groups.rb
|
784
791
|
- app/lib/actions/pulp/repository/refresh.rb
|
785
|
-
- app/lib/actions/pulp/repository/refresh_distributor.rb
|
786
792
|
- app/lib/actions/pulp/repository/regenerate_applicability.rb
|
787
793
|
- app/lib/actions/pulp/repository/remove_deb.rb
|
788
794
|
- app/lib/actions/pulp/repository/remove_distribution.rb
|
@@ -799,7 +805,6 @@ files:
|
|
799
805
|
- app/lib/actions/pulp/repository/remove_rpm.rb
|
800
806
|
- app/lib/actions/pulp/repository/remove_yum_metadata_file.rb
|
801
807
|
- app/lib/actions/pulp/repository/sync.rb
|
802
|
-
- app/lib/actions/pulp/repository/update_importer.rb
|
803
808
|
- app/lib/actions/pulp/repository/upload_file.rb
|
804
809
|
- app/lib/actions/pulp/repository_group/create.rb
|
805
810
|
- app/lib/actions/pulp/repository_group/delete.rb
|
@@ -810,7 +815,6 @@ files:
|
|
810
815
|
- app/lib/katello/api/v2/error_handling.rb
|
811
816
|
- app/lib/katello/api/v2/rendering.rb
|
812
817
|
- app/lib/katello/api/version2.rb
|
813
|
-
- app/lib/katello/bulk_actions.rb
|
814
818
|
- app/lib/katello/capsule_content.rb
|
815
819
|
- app/lib/katello/concerns/base_template_scope_extensions.rb
|
816
820
|
- app/lib/katello/concerns/renderer_extensions.rb
|
@@ -898,6 +902,7 @@ files:
|
|
898
902
|
- app/models/katello/authorization/repository.rb
|
899
903
|
- app/models/katello/authorization/subscription.rb
|
900
904
|
- app/models/katello/authorization/sync_plan.rb
|
905
|
+
- app/models/katello/available_module_stream.rb
|
901
906
|
- app/models/katello/candlepin/repository_mapper.rb
|
902
907
|
- app/models/katello/capsule_lifecycle_environment.rb
|
903
908
|
- app/models/katello/compliance_reason.rb
|
@@ -922,6 +927,7 @@ files:
|
|
922
927
|
- app/models/katello/concerns/subscription_facet_host_extensions.rb
|
923
928
|
- app/models/katello/concerns/user_extensions.rb
|
924
929
|
- app/models/katello/content.rb
|
930
|
+
- app/models/katello/content_facet_applicable_module_stream.rb
|
925
931
|
- app/models/katello/content_facet_applicable_rpm.rb
|
926
932
|
- app/models/katello/content_facet_erratum.rb
|
927
933
|
- app/models/katello/content_facet_repository.rb
|
@@ -983,6 +989,7 @@ files:
|
|
983
989
|
- app/models/katello/host/content_facet.rb
|
984
990
|
- app/models/katello/host/info_provider.rb
|
985
991
|
- app/models/katello/host/subscription_facet.rb
|
992
|
+
- app/models/katello/host_available_module_stream.rb
|
986
993
|
- app/models/katello/host_collection.rb
|
987
994
|
- app/models/katello/host_collection_hosts.rb
|
988
995
|
- app/models/katello/host_installed_package.rb
|
@@ -996,6 +1003,7 @@ files:
|
|
996
1003
|
- app/models/katello/module_profile_rpm.rb
|
997
1004
|
- app/models/katello/module_stream.rb
|
998
1005
|
- app/models/katello/module_stream_artifact.rb
|
1006
|
+
- app/models/katello/module_stream_erratum_package.rb
|
999
1007
|
- app/models/katello/ostree_branch.rb
|
1000
1008
|
- app/models/katello/package_group.rb
|
1001
1009
|
- app/models/katello/ping.rb
|
@@ -1059,6 +1067,7 @@ files:
|
|
1059
1067
|
- app/presenters/katello/sync_status_presenter.rb
|
1060
1068
|
- app/services/cert/certs.rb
|
1061
1069
|
- app/services/cert/rhsm_client.rb
|
1070
|
+
- app/services/katello/applicable_content_helper.rb
|
1062
1071
|
- app/services/katello/authentication/client_authentication.rb
|
1063
1072
|
- app/services/katello/candlepin/consumer.rb
|
1064
1073
|
- app/services/katello/candlepin/message_handler.rb
|
@@ -1083,6 +1092,12 @@ files:
|
|
1083
1092
|
- app/services/katello/pulp/pulp_content_unit.rb
|
1084
1093
|
- app/services/katello/pulp/puppet_module.rb
|
1085
1094
|
- app/services/katello/pulp/repository.rb
|
1095
|
+
- app/services/katello/pulp/repository/deb.rb
|
1096
|
+
- app/services/katello/pulp/repository/docker.rb
|
1097
|
+
- app/services/katello/pulp/repository/file.rb
|
1098
|
+
- app/services/katello/pulp/repository/ostree.rb
|
1099
|
+
- app/services/katello/pulp/repository/puppet.rb
|
1100
|
+
- app/services/katello/pulp/repository/yum.rb
|
1086
1101
|
- app/services/katello/pulp/rpm.rb
|
1087
1102
|
- app/services/katello/pulp/server.rb
|
1088
1103
|
- app/services/katello/pulp/simple_package.rb
|
@@ -1226,6 +1241,8 @@ files:
|
|
1226
1241
|
- app/views/katello/api/v2/host_errata/index.json.rabl
|
1227
1242
|
- app/views/katello/api/v2/host_errata/show.json.rabl
|
1228
1243
|
- app/views/katello/api/v2/host_errata/system_task.json.rabl
|
1244
|
+
- app/views/katello/api/v2/host_module_streams/base.json.rabl
|
1245
|
+
- app/views/katello/api/v2/host_module_streams/index.json.rabl
|
1229
1246
|
- app/views/katello/api/v2/host_packages/base.json.rabl
|
1230
1247
|
- app/views/katello/api/v2/host_packages/index.json.rabl
|
1231
1248
|
- app/views/katello/api/v2/host_subscriptions/available_release_versions.json.rabl
|
@@ -1606,6 +1623,9 @@ files:
|
|
1606
1623
|
- db/migrate/20180920123913_drop_repo_module_streams_timestamp_not_null.rb
|
1607
1624
|
- db/migrate/20180920171008_change_repository_password_to_text.rb
|
1608
1625
|
- db/migrate/20180920214134_create_repository_root.rb
|
1626
|
+
- db/migrate/20181008201422_add_modules_to_errata_packages.rb
|
1627
|
+
- db/migrate/20181017181806_available_module_streams.rb
|
1628
|
+
- db/migrate/20181027014323_add_applicable_modules.rb
|
1609
1629
|
- db/seeds.d/101-locations.rb
|
1610
1630
|
- db/seeds.d/102-organizations.rb
|
1611
1631
|
- db/seeds.d/104-proxy.rb
|
@@ -1908,6 +1928,7 @@ files:
|
|
1908
1928
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/erratum.controller.js
|
1909
1929
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/erratum-content-hosts.html
|
1910
1930
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/erratum-info.html
|
1931
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/erratum-packages.html
|
1911
1932
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/erratum-repositories.html
|
1912
1933
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/erratum.html
|
1913
1934
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata-counts.directive.js
|
@@ -1958,6 +1979,7 @@ files:
|
|
1958
1979
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/views/host-collections.html
|
1959
1980
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
|
1960
1981
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-erratum.factory.js
|
1982
|
+
- engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-module-streams.factory.js
|
1961
1983
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-package.factory.js
|
1962
1984
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-subscription.factory.js
|
1963
1985
|
- engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-traces.factory.js
|
@@ -2241,6 +2263,7 @@ files:
|
|
2241
2263
|
- locale/ru/katello.po
|
2242
2264
|
- locale/ta/katello.po
|
2243
2265
|
- locale/te/katello.po
|
2266
|
+
- locale/update-i18n
|
2244
2267
|
- locale/zanata.xml
|
2245
2268
|
- locale/zh_CN/katello.po
|
2246
2269
|
- locale/zh_TW/katello.po
|
@@ -2305,6 +2328,7 @@ files:
|
|
2305
2328
|
- webpack/__mocks__/foremanReact/common/I18n.js
|
2306
2329
|
- webpack/__mocks__/foremanReact/common/helpers.js
|
2307
2330
|
- webpack/__mocks__/foremanReact/components/BreadcrumbBar.js
|
2331
|
+
- webpack/__mocks__/foremanReact/components/common/EmptyState.js
|
2308
2332
|
- webpack/__mocks__/foremanReact/components/common/table.js
|
2309
2333
|
- webpack/__mocks__/foremanReact/redux.js
|
2310
2334
|
- webpack/__mocks__/foremanReact/redux/actions/toasts.js
|
@@ -2347,7 +2371,6 @@ files:
|
|
2347
2371
|
- webpack/move_to_foreman/components/common/Dialog/__tests__/Dialog.test.js
|
2348
2372
|
- webpack/move_to_foreman/components/common/Dialog/__tests__/__snapshots__/Dialog.test.js.snap
|
2349
2373
|
- webpack/move_to_foreman/components/common/Dialog/index.js
|
2350
|
-
- webpack/move_to_foreman/components/common/EmptyState/index.js
|
2351
2374
|
- webpack/move_to_foreman/components/common/ModalProgressBar/ModalProgressBar.js
|
2352
2375
|
- webpack/move_to_foreman/components/common/ModalProgressBar/ModalProgressBar.scss
|
2353
2376
|
- webpack/move_to_foreman/components/common/ModalProgressBar/__tests__/ModalProgressBar.test.js
|
@@ -2399,6 +2422,17 @@ files:
|
|
2399
2422
|
- webpack/move_to_pf/TypeAhead/helpers.js
|
2400
2423
|
- webpack/move_to_pf/react-bootstrap-select/index.js
|
2401
2424
|
- webpack/move_to_pf/test-utils/testHelpers.js
|
2425
|
+
- webpack/redux/OrganizationProducts/OrganizationProductsActions.js
|
2426
|
+
- webpack/redux/OrganizationProducts/OrganizationProductsConstants.js
|
2427
|
+
- webpack/redux/OrganizationProducts/OrganizationProductsReducer.js
|
2428
|
+
- webpack/redux/OrganizationProducts/OrganizationProductsSelectors.js
|
2429
|
+
- webpack/redux/OrganizationProducts/__tests__/OrganizationProductsActions.test.js
|
2430
|
+
- webpack/redux/OrganizationProducts/__tests__/OrganizationProductsReducer.test.js
|
2431
|
+
- webpack/redux/OrganizationProducts/__tests__/OrganizationProductsSelectors.test.js
|
2432
|
+
- webpack/redux/OrganizationProducts/__tests__/__snapshots__/OrganizationProductsActions.test.js.snap
|
2433
|
+
- webpack/redux/OrganizationProducts/__tests__/__snapshots__/OrganizationProductsReducer.test.js.snap
|
2434
|
+
- webpack/redux/OrganizationProducts/__tests__/__snapshots__/OrganizationProductsSelectors.test.js.snap
|
2435
|
+
- webpack/redux/OrganizationProducts/index.js
|
2402
2436
|
- webpack/redux/actions/RedHatRepositories/enabled.js
|
2403
2437
|
- webpack/redux/actions/RedHatRepositories/helpers.js
|
2404
2438
|
- webpack/redux/actions/RedHatRepositories/repositorySetRepositories.js
|
@@ -2555,6 +2589,7 @@ files:
|
|
2555
2589
|
- webpack/scenes/Subscriptions/SubscriptionValidations.js
|
2556
2590
|
- webpack/scenes/Subscriptions/SubscriptionsPage.js
|
2557
2591
|
- webpack/scenes/Subscriptions/SubscriptionsPage.scss
|
2592
|
+
- webpack/scenes/Subscriptions/SubscriptionsSelectors.js
|
2558
2593
|
- webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsActions.js
|
2559
2594
|
- webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsContstants.js
|
2560
2595
|
- webpack/scenes/Subscriptions/UpstreamSubscriptions/UpstreamSubscriptionsPage.js
|
@@ -2566,11 +2601,17 @@ files:
|
|
2566
2601
|
- webpack/scenes/Subscriptions/UpstreamSubscriptions/__tests__/__snapshots__/UpstreamSubscriptionsPage.test.js.snap
|
2567
2602
|
- webpack/scenes/Subscriptions/UpstreamSubscriptions/__tests__/upstreamSubscriptions.fixtures.js
|
2568
2603
|
- webpack/scenes/Subscriptions/UpstreamSubscriptions/index.js
|
2604
|
+
- webpack/scenes/Subscriptions/__tests__/SubscriptionHelpers.test.js
|
2569
2605
|
- webpack/scenes/Subscriptions/__tests__/SubscriptionValidations.test.js
|
2570
2606
|
- webpack/scenes/Subscriptions/__tests__/SubscriptionsActions.test.js
|
2571
2607
|
- webpack/scenes/Subscriptions/__tests__/SubscriptionsPage.test.js
|
2572
2608
|
- webpack/scenes/Subscriptions/__tests__/SubscriptionsReducer.test.js
|
2609
|
+
- webpack/scenes/Subscriptions/__tests__/SubscriptionsSelectors.test.js
|
2610
|
+
- webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionHelpers.test.js.snap
|
2611
|
+
- webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsActions.test.js.snap
|
2573
2612
|
- webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsPage.test.js.snap
|
2613
|
+
- webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsReducer.test.js.snap
|
2614
|
+
- webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsSelectors.test.js.snap
|
2574
2615
|
- webpack/scenes/Subscriptions/__tests__/subscriptions.fixtures.js
|
2575
2616
|
- webpack/scenes/Subscriptions/components/SubscriptionsTable/EntitlementsInlineEditFormatter.js
|
2576
2617
|
- webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionTypeFormatter.js
|
@@ -2584,6 +2625,10 @@ files:
|
|
2584
2625
|
- webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/__snapshots__/SubscriptionTypeFormatter.test.js.snap
|
2585
2626
|
- webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/__snapshots__/SubscriptionsTable.test.js.snap
|
2586
2627
|
- webpack/scenes/Subscriptions/components/SubscriptionsTable/index.js
|
2628
|
+
- webpack/scenes/Subscriptions/components/SubscriptionsToolbar/SubscriptionsToolbar.js
|
2629
|
+
- webpack/scenes/Subscriptions/components/SubscriptionsToolbar/SubscriptionsToolbar.test.js
|
2630
|
+
- webpack/scenes/Subscriptions/components/SubscriptionsToolbar/__snapshots__/SubscriptionsToolbar.test.js.snap
|
2631
|
+
- webpack/scenes/Subscriptions/components/SubscriptionsToolbar/index.js
|
2587
2632
|
- webpack/scenes/Subscriptions/index.js
|
2588
2633
|
- webpack/scenes/Tasks/TaskActions.js
|
2589
2634
|
- webpack/scenes/Tasks/TaskConstants.js
|
@@ -2610,9 +2655,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
2610
2655
|
version: '0'
|
2611
2656
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2612
2657
|
requirements:
|
2613
|
-
- - "
|
2658
|
+
- - ">"
|
2614
2659
|
- !ruby/object:Gem::Version
|
2615
|
-
version:
|
2660
|
+
version: 1.3.1
|
2616
2661
|
requirements: []
|
2617
2662
|
rubyforge_project:
|
2618
2663
|
rubygems_version: 2.6.14.1
|
@@ -1,20 +0,0 @@
|
|
1
|
-
module Actions
|
2
|
-
module Pulp
|
3
|
-
module Repository
|
4
|
-
class AssociateDistributor < Pulp::Abstract
|
5
|
-
input_format do
|
6
|
-
param :repo_id
|
7
|
-
param :type_id
|
8
|
-
param :config
|
9
|
-
param :hash
|
10
|
-
param :capsule_id
|
11
|
-
end
|
12
|
-
|
13
|
-
def run
|
14
|
-
output[:response] = pulp_resources.repository.
|
15
|
-
associate_distributor(*input.values_at(:repo_id, :type_id, :config, :hash))
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
@@ -1,23 +0,0 @@
|
|
1
|
-
module Actions
|
2
|
-
module Pulp
|
3
|
-
module Repository
|
4
|
-
class AssociateImporter < Pulp::AbstractAsyncTask
|
5
|
-
input_format do
|
6
|
-
param :repo_id
|
7
|
-
param :type_id
|
8
|
-
param :config
|
9
|
-
param :hash
|
10
|
-
param :capsule_id
|
11
|
-
end
|
12
|
-
|
13
|
-
def invoke_external_task
|
14
|
-
pulp_resources.repository.associate_importer(*input.values_at(:repo_id, :type_id, :config))
|
15
|
-
end
|
16
|
-
|
17
|
-
def run_progress_weight
|
18
|
-
0.01
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
@@ -1,18 +0,0 @@
|
|
1
|
-
module Actions
|
2
|
-
module Pulp
|
3
|
-
module Repository
|
4
|
-
class DeleteDistributor < Pulp::Abstract
|
5
|
-
input_format do
|
6
|
-
param :repo_id
|
7
|
-
param :distributor_id
|
8
|
-
param :capsule_id
|
9
|
-
end
|
10
|
-
|
11
|
-
def run
|
12
|
-
output[:response] = pulp_resources.repository.
|
13
|
-
delete_distributor(*input.values_at(:repo_id, :distributor_id))
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
module Actions
|
2
|
-
module Pulp
|
3
|
-
module Repository
|
4
|
-
class RefreshDistributor < Pulp::Abstract
|
5
|
-
input_format do
|
6
|
-
param :repo_id
|
7
|
-
param :id
|
8
|
-
param :config
|
9
|
-
param :capsule_id
|
10
|
-
end
|
11
|
-
|
12
|
-
def run
|
13
|
-
output[:response] = pulp_resources.repository.
|
14
|
-
update_distributor(*input.values_at(:repo_id, :id, :config))
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
@@ -1,33 +0,0 @@
|
|
1
|
-
module Actions
|
2
|
-
module Pulp
|
3
|
-
module Repository
|
4
|
-
class UpdateImporter < Pulp::AbstractAsyncTask
|
5
|
-
input_format do
|
6
|
-
param :repo_id
|
7
|
-
param :id
|
8
|
-
param :config
|
9
|
-
param :capsule_id
|
10
|
-
end
|
11
|
-
|
12
|
-
def invoke_external_task
|
13
|
-
# Update ssl options by themselves workaround for https://pulp.plan.io/issues/2727
|
14
|
-
ssl_ca_cert = input[:config].delete('ssl_ca_cert')
|
15
|
-
ssl_client_cert = input[:config].delete('ssl_client_cert')
|
16
|
-
ssl_client_key = input[:config].delete('ssl_client_key')
|
17
|
-
|
18
|
-
# map both "" and nil to nil. Pulp does not treat "" as None.
|
19
|
-
input[:config]['basic_auth_username'] = nil if input[:config]['basic_auth_username'].blank?
|
20
|
-
input[:config]['basic_auth_password'] = nil if input[:config]['basic_auth_password'].blank?
|
21
|
-
|
22
|
-
pulp_resources.repository.update_importer(input[:repo_id], input[:id], :ssl_client_cert => ssl_client_cert,
|
23
|
-
:ssl_client_key => ssl_client_key, :ssl_ca_cert => ssl_ca_cert)
|
24
|
-
pulp_resources.repository.update_importer(*input.values_at(:repo_id, :id, :config))
|
25
|
-
end
|
26
|
-
|
27
|
-
def run_progress_weight
|
28
|
-
0.01
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|