katello 3.2.1.1 → 3.3.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/common/katello.global.js +1 -1
- data/app/assets/javascripts/katello/common/vendor.js +0 -1
- data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +20 -12
- data/app/controllers/katello/api/v2/activation_keys_controller.rb +2 -2
- data/app/controllers/katello/api/v2/api_controller.rb +4 -2
- data/app/controllers/katello/api/v2/capsule_content_controller.rb +14 -14
- data/app/controllers/katello/api/v2/capsules_controller.rb +3 -3
- data/app/controllers/katello/api/v2/content_view_components_controller.rb +100 -0
- data/app/controllers/katello/api/v2/content_view_filter_rules_controller.rb +3 -2
- data/app/controllers/katello/api/v2/content_view_puppet_modules_controller.rb +1 -1
- data/app/controllers/katello/api/v2/content_view_versions_controller.rb +19 -6
- data/app/controllers/katello/api/v2/content_views_controller.rb +3 -4
- data/app/controllers/katello/api/v2/environments_controller.rb +1 -1
- data/app/controllers/katello/api/v2/gpg_keys_controller.rb +1 -1
- data/app/controllers/katello/api/v2/host_collections_controller.rb +2 -2
- data/app/controllers/katello/api/v2/host_tracer_controller.rb +31 -0
- data/app/controllers/katello/api/v2/packages_controller.rb +53 -1
- data/app/controllers/katello/api/v2/products_controller.rb +1 -1
- data/app/controllers/katello/api/v2/puppet_modules_controller.rb +8 -0
- data/app/controllers/katello/api/v2/repositories_controller.rb +9 -4
- data/app/controllers/katello/api/v2/subscriptions_controller.rb +3 -6
- data/app/controllers/katello/api/v2/sync_plans_controller.rb +1 -1
- data/app/controllers/katello/application_controller.rb +0 -4
- data/app/controllers/katello/concerns/api/v2/repository_content_controller.rb +11 -3
- data/app/controllers/katello/concerns/api/v2/smart_proxies_controller_extensions.rb +35 -0
- data/app/controllers/katello/providers_controller.rb +2 -2
- data/app/controllers/katello/remote_execution_controller.rb +2 -0
- data/app/helpers/katello/concerns/foreman_docker/container_steps_helper_extensions.rb +2 -2
- data/app/helpers/katello/concerns/smart_proxy_helper_extensions.rb +23 -0
- data/app/lib/actions/candlepin/candlepin_listening_service.rb +8 -2
- data/app/lib/actions/candlepin/owner/destroy_imports.rb +17 -0
- data/app/lib/actions/candlepin/owner/import.rb +19 -0
- data/app/lib/actions/candlepin/owner/import_products.rb +16 -0
- data/app/lib/actions/candlepin/owner/upstream_export.rb +18 -0
- data/app/lib/actions/candlepin/owner/upstream_update.rb +17 -0
- data/app/lib/actions/katello/activation_key/update.rb +4 -0
- data/app/lib/actions/katello/capsule_content/configure_capsule.rb +2 -2
- data/app/lib/actions/katello/capsule_content/create_repos.rb +17 -6
- data/app/lib/actions/katello/capsule_content/sync.rb +12 -8
- data/app/lib/actions/katello/content_view/capsule_generate_and_sync.rb +1 -1
- data/app/lib/actions/katello/content_view/promote.rb +5 -62
- data/app/lib/actions/katello/content_view/promote_to_environment.rb +75 -0
- data/app/lib/actions/katello/content_view/publish.rb +11 -6
- data/app/lib/actions/katello/content_view/remove.rb +2 -0
- data/app/lib/actions/katello/content_view/remove_from_environment.rb +1 -0
- data/app/lib/actions/katello/content_view/remove_version.rb +1 -0
- data/app/lib/actions/katello/content_view_version/export.rb +1 -0
- data/app/lib/actions/katello/content_view_version/incremental_update.rb +82 -22
- data/app/lib/actions/katello/event_queue/monitor.rb +1 -1
- data/app/lib/actions/katello/host/attach_subscriptions.rb +2 -2
- data/app/lib/actions/katello/host/generate_applicability.rb +1 -1
- data/app/lib/actions/katello/host/package/install.rb +4 -0
- data/app/lib/actions/katello/host/package/remove.rb +4 -0
- data/app/lib/actions/katello/host/package/update.rb +4 -0
- data/app/lib/actions/katello/host/package_group/install.rb +4 -0
- data/app/lib/actions/katello/host/package_group/remove.rb +4 -0
- data/app/lib/actions/katello/host/recalculate_errata_status.rb +20 -0
- data/app/lib/actions/katello/host/remove_subscriptions.rb +5 -3
- data/app/lib/actions/katello/organization/create.rb +5 -1
- data/app/lib/actions/katello/organization/destroy.rb +1 -1
- data/app/lib/actions/katello/organization/manifest_delete.rb +27 -0
- data/app/lib/actions/katello/organization/manifest_import.rb +32 -0
- data/app/lib/actions/katello/organization/manifest_refresh.rb +41 -0
- data/app/lib/actions/katello/product/content_create.rb +15 -10
- data/app/lib/actions/katello/repository/capsule_generate_and_sync.rb +1 -1
- data/app/lib/actions/katello/repository/clone_to_environment.rb +1 -1
- data/app/lib/actions/katello/repository/clone_to_version.rb +17 -13
- data/app/lib/actions/katello/repository/create.rb +3 -1
- data/app/lib/actions/katello/repository/filtered_index_content.rb +4 -4
- data/app/lib/actions/katello/repository/import_applicability.rb +1 -1
- data/app/lib/actions/katello/repository/index_errata.rb +1 -1
- data/app/lib/actions/katello/repository/index_package_groups.rb +1 -1
- data/app/lib/actions/katello/repository/refresh_repository.rb +2 -1
- data/app/lib/actions/katello/sync_plan/add_products.rb +4 -0
- data/app/lib/actions/pulp/consumer.rb +19 -1
- data/app/lib/actions/pulp/repository/create.rb +10 -0
- data/app/lib/actions/pulp/repository/destroy.rb +3 -0
- data/app/lib/actions/pulp/repository/refresh.rb +1 -1
- data/app/lib/katello/http_resource.rb +6 -1
- data/app/lib/katello/resources/candlepin.rb +17 -5
- data/app/lib/katello/util/cdn_var_substitutor.rb +3 -3
- data/app/lib/katello/validators/content_view_erratum_filter_rule_validator.rb +2 -2
- data/app/models/katello/concerns/content_facet_host_extensions.rb +27 -3
- data/app/models/katello/concerns/environment_extensions.rb +1 -1
- data/app/models/katello/concerns/host_managed_extensions.rb +11 -14
- data/app/models/katello/concerns/location_extensions.rb +5 -0
- data/app/models/katello/concerns/pulp_database_unit.rb +31 -7
- data/app/models/katello/concerns/redhat_extensions.rb +1 -1
- data/app/models/katello/concerns/setting_extensions.rb +6 -0
- data/app/models/katello/concerns/smart_proxy_extensions.rb +18 -0
- data/app/models/katello/concerns/subscription_facet_host_extensions.rb +0 -2
- data/app/models/katello/content_facet_applicable_rpm.rb +8 -0
- data/app/models/katello/content_view.rb +103 -30
- data/app/models/katello/content_view_component.rb +64 -7
- data/app/models/katello/content_view_erratum_filter_rule.rb +8 -0
- data/app/models/katello/content_view_history.rb +14 -5
- data/app/models/katello/content_view_package_filter.rb +4 -0
- data/app/models/katello/content_view_version.rb +15 -3
- data/app/models/katello/docker_manifest.rb +1 -1
- data/app/models/katello/docker_tag.rb +16 -10
- data/app/models/katello/errata_status.rb +9 -3
- data/app/models/katello/erratum.rb +2 -1
- data/app/models/katello/events/{import_host_errata.rb → import_host_applicability.rb} +2 -2
- data/app/models/katello/glue.rb +0 -169
- data/app/models/katello/glue/candlepin/content.rb +2 -0
- data/app/models/katello/glue/candlepin/pool.rb +8 -5
- data/app/models/katello/glue/candlepin/product.rb +14 -3
- data/app/models/katello/glue/provider.rb +1 -170
- data/app/models/katello/glue/pulp/repo.rb +41 -233
- data/app/models/katello/glue/pulp/repos.rb +0 -21
- data/app/models/katello/host/content_facet.rb +96 -27
- data/app/models/katello/host/subscription_facet.rb +9 -6
- data/app/models/katello/host_tracer.rb +14 -0
- data/app/models/katello/input_template_renderer.rb +7 -0
- data/app/models/katello/kt_environment.rb +0 -16
- data/app/models/katello/ping.rb +62 -51
- data/app/models/katello/pool.rb +1 -1
- data/app/models/katello/repository.rb +12 -6
- data/app/models/katello/rhsm_fact_name.rb +4 -0
- data/app/models/katello/rpm.rb +41 -4
- data/app/models/setting/content.rb +12 -4
- data/app/overrides/add_smart_proxy_form.rb +5 -0
- data/app/services/katello/pulp/consumer.rb +6 -0
- data/app/services/katello/pulp/docker_tag.rb +7 -0
- data/app/services/katello/pulp/pulp_content_unit.rb +35 -8
- data/app/services/katello/pulp/server.rb +4 -0
- data/app/views/dashboard/_subscription_widget.html.erb +7 -6
- data/app/views/foreman/job_templates/restart_services.erb +17 -0
- data/app/views/foreman_docker/containers/steps/_katello_container.html.erb +2 -2
- data/app/views/katello/api/v2/content_facet/base.json.rabl +8 -0
- data/app/views/katello/api/v2/content_view_components/index.json.rabl +7 -0
- data/app/views/katello/api/v2/content_view_components/show.json.rabl +29 -0
- data/app/views/katello/api/v2/content_view_filter_rules/show.json.rabl +1 -0
- data/app/views/katello/api/v2/content_view_histories/show.json.rabl +1 -5
- data/app/views/katello/api/v2/content_views/base.json.rabl +12 -2
- data/app/views/katello/api/v2/docker_manifests/show.json.rabl +3 -5
- data/app/views/katello/api/v2/docker_tags/_base.json.rabl +2 -2
- data/app/views/katello/api/v2/host_tracer/base.json.rabl +6 -0
- data/app/views/katello/api/v2/host_tracer/index.json.rabl +7 -0
- data/app/views/katello/api/v2/packages/base.json.rabl +3 -0
- data/app/views/katello/api/v2/products/show.json.rabl +2 -6
- data/app/views/katello/api/v2/repositories/show.json.rabl +1 -0
- data/app/views/overrides/smart_proxies/_download_policy.erb +3 -0
- data/app/views/overrides/smart_proxies/_environment_tab_pane.html.erb +1 -1
- data/config/locales/compare_upstream.sh +0 -0
- data/config/locales/update.sh +0 -0
- data/config/routes.rb +1 -33
- data/config/routes/api/rhsm.rb +1 -1
- data/config/routes/api/v2.rb +13 -61
- data/config/routes/overrides.rb +3 -0
- data/db/migrate/20160520175340_add_host_applicable_package.rb +11 -0
- data/db/migrate/20160728005028_add_latest_version_to_content_view_component.rb +9 -0
- data/db/migrate/20160907231049_add_username_password_to_repository.rb +6 -0
- data/db/migrate/20160908234510_add_rpm_nvra.rb +10 -0
- data/db/migrate/20160923143611_add_action_to_content_view_histories.rb +34 -0
- data/db/migrate/20160930121245_content_view_force_puppet_env.rb +5 -0
- data/db/migrate/20160930150810_add_smart_proxy_download_policy.rb +14 -0
- data/db/migrate/20161003130853_add_architecture_to_katello_content_view_package_filter_rule.rb +5 -0
- data/db/migrate/20161014133811_move_content_view_version_description_to_histories.rb +41 -0
- data/db/migrate/20161031204903_add_tracer_support.rb +13 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js +1 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.module.js +0 -108
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.routes.js +127 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-add-host-collections.controller.js +7 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-add-subscriptions.controller.js +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-associations.controller.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-copy.controller.js +30 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-details.controller.js +1 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-host-collections.controller.js +7 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-product-details.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-subscriptions.controller.js +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-add-subscriptions.html +11 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-associations-content-hosts.html +5 -10
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-copy.html +17 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-details.html +77 -107
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-host-collections-table.html +30 -48
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-host-collections.html +4 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-info.html +96 -107
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-products.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-subscriptions-list.html +17 -32
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-subscriptions.html +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/new/new-activation-key.controller.js +2 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/new/views/activation-key-new.html +65 -82
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/views/activation-keys.html +34 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/bastion_katello.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.controller.js +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/sync-state.service.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-action-errata.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/bulk-actions-errata.html +5 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/bulk-actions-host-collections.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/bulk-actions-packages.html +16 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/bulk-actions-subscriptions.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-register.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts.module.js +37 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-errata.controller.js +2 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-actions.controller.js +14 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-applicable.controller.js +51 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages-installed.controller.js +37 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages.controller.js +18 -44
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-traces.controller.js +69 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-errata.html +14 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-packages-actions.html +67 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-packages-applicable.html +65 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-packages-installed.html +52 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-packages.html +9 -119
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-traces.html +76 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-add-host-collections.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-host-collections.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-add-subscriptions.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-details.html +32 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-products.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-subscriptions-list.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/host-collections-table.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts-table-full.html +15 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html +4 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-view.factory.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js +0 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.routes.js +11 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-deletion.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-activation-keys.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-content-hosts.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-environments.controller.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/views/version-deletion-activation-keys.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/components/content-view-component.factory.js +32 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/{content-view-composite-available-content-views.controller.js → components/content-view-composite-available-content-views.controller.js} +21 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/components/content-view-composite-content-views-list.controller.js +66 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/{views → components/views}/content-view-composite-available-content-views.html +18 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/components/views/content-view-composite-content-views-list.html +86 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/{views → components/views}/content-view-composite.html +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-details.controller.js +30 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-promotion.controller.js +7 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-repositories.service.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-repositories.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/package-filter.controller.js +12 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/date-type-errata-filter.html +1 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/date-type-errata.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/errata-filter-details.html +6 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/filter-repositories.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/filters.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/new-filter.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/package-filter-details.html +16 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/histories/content-view-history.controller.js +2 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/histories/views/content-view-history.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/views/content-view-puppet-module-names.html +2 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/views/content-view-puppet-modules.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-details.html +5 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-docker-repositories.html +7 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-file-repositories.html +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-info.html +14 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-ostree-repositories.html +5 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-promotion.html +11 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-publish.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-repositories.html +8 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-versions.html +3 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/new/content-view-new.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/new/views/content-view-new.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/views/content-views.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/{docker-tags-details.controller.js → docker-tag-details.controller.js} +5 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/views/docker-tag-details.html +32 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/views/docker-tag-environments.html +50 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/views/docker-tag-info.html +42 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js +33 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/views/docker-tags.html +31 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/environment.controller.js +12 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-content-views.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-docker.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-errata.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-ostree.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-packages.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-puppet-modules.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-repositories.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment.html +53 -49
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/views/new-environment.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/apply-errata.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-content-hosts.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details-repositories.controller.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/errata-details-content-hosts.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/errata-details-repositories.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html +6 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/apply-errata.html +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/errata.html +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/gpg-key-details.controller.js +1 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/gpg-key-products.controller.js +35 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/gpg-key-repositories.controller.js +35 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/views/gpg-key-details.html +40 -48
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/views/gpg-key-info.html +34 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/views/gpg-key-products.html +30 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/views/gpg-key-repositories.html +30 -34
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/gpg-key.factory.js +21 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/gpg-keys.controller.js +0 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/gpg-keys.module.js +0 -76
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/gpg-keys.routes.js +76 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/new/new-gpg-key.controller.js +10 -11
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/new/views/new-gpg-key.html +44 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/views/gpg-keys.html +36 -10
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-add-hosts.controller.js +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-copy.controller.js +30 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-details.controller.js +10 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-hosts.controller.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-add-hosts.html +7 -9
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-copy.html +17 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-details.html +55 -94
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-hosts-list.html +8 -10
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-hosts.html +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-info.html +91 -58
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/host-collections.controller.js +4 -12
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/host-collections.module.js +0 -85
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/host-collections.routes.js +80 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/host-collection-form.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/new-host-collection.controller.js +22 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/views/new-host-collection.html +53 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/views/host-collections.html +36 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-package.factory.js +2 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-traces.factory.js +18 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/katello-features.run.js +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/fenced-pages.service.js +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/views/organization-selector.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/ostree-branches-details-repositories.controller.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/details/views/ostree-branches-details-repositories.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/{package-details-repositories.controller.js → package-repositories.controller.js} +10 -10
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/{package-details.controller.js → package.controller.js} +9 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/{packages-details-dependencies.html → package-dependencies.html} +0 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/package-files.html +11 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/package-info.html +81 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/{packages-details-repositories.html → package-repositories.html} +10 -12
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/package.html +44 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/package.factory.js +6 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/packages.controller.js +18 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/packages.routes.js +37 -35
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/views/packages.html +53 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/partials/sync-status.html +17 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-details-info.controller.js +3 -12
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-details.controller.js +14 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-repositories.controller.js +30 -24
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/{repositories → products/details/repositories}/details/repository-details-info.controller.js +4 -82
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/{repositories → products/details/repositories}/details/repository-details-manage-content.controller.js +17 -9
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/repository-details.controller.js +98 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-details.html +78 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +299 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-docker-manifests.html +71 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-ostree-branches.html +46 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-package-groups.html +18 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-packages.html +60 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-manage-puppet-modules.html +68 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-tasks.html +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/{repositories → products/details/repositories}/download-policy.service.js +0 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/{repositories → products/details/repositories}/new/new-repository.controller.js +27 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/{repositories/new/views/repository-new.html → products/details/repositories/new/views/new-repository.html} +31 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/{repositories → products/details/repositories}/repositories.module.js +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/repositories.routes.js +138 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/{repositories → products/details/repositories}/repository.factory.js +0 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/views/product-repositories.html +182 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-details.html +71 -57
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-info.html +66 -85
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-new-sync-plan.html +2 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-tasks.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery-form.controller.js +3 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery.controller.js +5 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/views/discovery-base.html +8 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/views/discovery-create.html +135 -144
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/views/discovery.html +19 -20
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/product-form.controller.js +3 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/views/product-new-form.html +4 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/views/product-new.html +5 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/product-bulk-action.factory.js +19 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/product.factory.js +1 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products-bulk-action.controller.js +93 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.controller.js +8 -12
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.module.js +4 -240
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.routes.js +132 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/products.html +97 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/views/puppet-modules-details-repositories.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/views/puppet-modules.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/{subscription-associations-activation-keys.controller.js → subscription-activation-keys.controller.js} +5 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/{subscription-associations-content-hosts.controller.js → subscription-content-hosts.controller.js} +5 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/{subscription-associations-activation-keys.html → subscription-activation-keys.html} +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/{subscription-associations-content-hosts.html → subscription-content-hosts.html} +0 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/subscription-details.html +40 -52
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/subscription-info.html +72 -98
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/subscription-products.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/manifest-details.controller.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/views/manifest-import.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/views/manifest.html +26 -41
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions.controller.js +7 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions.module.js +0 -107
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions.routes.js +110 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/views/subscriptions.html +49 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-add-products.controller.js +15 -11
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-details-info.controller.js +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-details.controller.js +32 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-products.controller.js +17 -12
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/views/sync-plan-details.html +61 -54
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/views/sync-plan-info.html +62 -65
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/views/sync-plan-products.html +63 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/new/new-sync-plan.controller.js +3 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/new/views/new-sync-plan-form.html +19 -10
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/new/views/new-sync-plan.html +7 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plan.factory.js +1 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plans.controller.js +4 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plans.module.js +2 -91
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plans.routes.js +84 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/views/sync-plans.html +40 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-reduce.filter.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task.factory.js +9 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks-nutupane.factory.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks-table.directive.js +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/views/task-details.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/views/tasks-table.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/views/user-tasks-table.html +1 -1
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/bastion_katello.scss +3 -2
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/errata.scss +1 -1
- data/engines/bastion_katello/bastion_katello.gemspec +1 -1
- data/engines/bastion_katello/lib/bastion_katello/engine.rb +4 -1
- data/lib/katello/engine.rb +4 -13
- data/lib/katello/permissions/activation_key_permissions.rb +3 -2
- data/lib/katello/permissions/capsule_content_permissions.rb +2 -1
- data/lib/katello/permissions/content_view_permissions.rb +8 -6
- data/lib/katello/permissions/gpg_key_permissions.rb +1 -2
- data/lib/katello/permissions/host_collections_permissions.rb +2 -3
- data/lib/katello/permissions/host_permissions.rb +9 -2
- data/lib/katello/permissions/lifecycle_environment_permissions.rb +2 -3
- data/lib/katello/permissions/product_permissions.rb +10 -7
- data/lib/katello/permissions/roles_permissions.rb +5 -0
- data/lib/katello/permissions/sync_plan_permissions.rb +1 -2
- data/lib/katello/plugin.rb +28 -3
- data/lib/katello/tasks/import_applicability.rake +12 -0
- data/lib/katello/tasks/reimport.rake +7 -9
- data/lib/katello/tasks/repository.rake +105 -0
- data/lib/katello/tasks/unify_hosts.rake +73 -25
- data/lib/katello/version.rb +1 -1
- metadata +119 -81
- data/app/controllers/katello/api/v2/uebercerts_controller.rb +0 -17
- data/app/controllers/katello/organizations_controller.rb +0 -32
- data/app/lib/actions/katello/provider/manifest_delete.rb +0 -29
- data/app/lib/actions/katello/provider/manifest_import.rb +0 -34
- data/app/lib/actions/katello/provider/manifest_refresh.rb +0 -30
- data/app/lib/katello/glue/queue.rb +0 -69
- data/app/lib/katello/glue/task.rb +0 -44
- data/db/seeds.d/108-ensure_sync_notification.rb +0 -11
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/views/activation-keys-table-collapsed.html +0 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/views/activation-keys-table-full.html +0 -24
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-composite-content-views-list.controller.js +0 -63
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-composite-content-views-list.html +0 -80
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/views/docker-tags-details.html +0 -72
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/views/docker-tags-table-collapsed.html +0 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/views/docker-tags-table-full.html +0 -25
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/new/views/gpg-key-new.html +0 -72
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/views/gpg-keys-table-collapsed.html +0 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/views/gpg-keys-table-full.html +0 -24
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-actions.html +0 -36
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/views/host-collection-new-form.html +0 -45
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/views/host-collection-new.html +0 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/views/host-collections-table-collapsed.html +0 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/views/host-collections-table-full.html +0 -28
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details-files.html +0 -11
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details-info.html +0 -85
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details.html +0 -59
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/views/packages-table-collapsed.html +0 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/views/packages-table-full.html +0 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/products-bulk-action-sync-plan.controller.js +0 -53
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/products-bulk-action-sync.controller.js +0 -26
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/products-bulk-action.controller.js +0 -64
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/views/bulk-actions-sync-plan.html +0 -65
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/views/bulk-actions-sync.html +0 -38
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/views/bulk-actions.html +0 -78
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-repositories.html +0 -190
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/products-table-collapsed.html +0 -20
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/products-table-full.html +0 -34
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-info.html +0 -390
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-docker-manifests.html +0 -77
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-ostree-branches.html +0 -60
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-package-groups.html +0 -25
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-packages.html +0 -72
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-puppet-modules.html +0 -82
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/views/subscriptions-table-collapsed.html +0 -26
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/views/subscriptions-table-full.html +0 -34
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/views/sync-plan-products-table.html +0 -80
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/views/sync-plans-table-collapsed.html +0 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/views/sync-plans-table-full.html +0 -36
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/gpg-keys.scss +0 -34
- data/lib/katello/tasks/regenerate_repo_metadata.rake +0 -18
@@ -14,8 +14,6 @@ module Katello
|
|
14
14
|
|
15
15
|
accepts_nested_attributes_for :subscription_facet, :update_only => true, :reject_if => lambda { |attrs| attrs.values.compact.empty? }
|
16
16
|
|
17
|
-
has_one :subscription_facet, :class_name => '::Katello::Host::SubscriptionFacet', :foreign_key => :host_id, :inverse_of => :host, :dependent => :destroy
|
18
|
-
|
19
17
|
has_many :activation_keys, :through => :subscription_facet
|
20
18
|
has_one :subscription_status_object, :class_name => 'Katello::SubscriptionStatus', :foreign_key => 'host_id'
|
21
19
|
scoped_search :on => :status, :in => :subscription_status_object, :rename => :subscription_status,
|
@@ -0,0 +1,8 @@
|
|
1
|
+
module Katello
|
2
|
+
class ContentFacetApplicableRpm < Katello::Model
|
3
|
+
self.include_root_in_json = false
|
4
|
+
|
5
|
+
belongs_to :content_facet, :inverse_of => :content_facet_applicable_rpms, :class_name => 'Katello::Host::ContentFacet'
|
6
|
+
belongs_to :rpm, :inverse_of => :content_facet_applicable_rpms, :class_name => 'Katello::Rpm'
|
7
|
+
end
|
8
|
+
end
|
@@ -1,4 +1,5 @@
|
|
1
1
|
module Katello
|
2
|
+
# rubocop:disable Metrics/ClassLength
|
2
3
|
class ContentView < Katello::Model
|
3
4
|
self.include_root_in_json = false
|
4
5
|
|
@@ -16,14 +17,17 @@ module Katello
|
|
16
17
|
has_many :content_view_versions, :class_name => "Katello::ContentViewVersion", :dependent => :destroy
|
17
18
|
alias_method :versions, :content_view_versions
|
18
19
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
20
|
+
# Note the difference between content_view_components and component_composites both refer to
|
21
|
+
# ContentViewComponent but mean different things.
|
22
|
+
# content_view_components -> Topdown, given I am a composite CV get the associated components belonging to me
|
23
|
+
#
|
24
|
+
# component_composites -> Bottom Up, given I am a component CV get the associated composites that I belong to
|
25
|
+
#
|
26
|
+
has_many :content_view_components, :class_name => "Katello::ContentViewComponent", :dependent => :destroy,
|
27
|
+
:inverse_of => :composite_content_view, :foreign_key => :composite_content_view_id
|
28
|
+
|
29
|
+
has_many :component_composites, :class_name => "Katello::ContentViewComponent",
|
30
|
+
:dependent => :destroy, :inverse_of => :content_view, :foreign_key => :content_view_id
|
27
31
|
|
28
32
|
has_many :content_view_repositories, :dependent => :destroy, :inverse_of => :content_view
|
29
33
|
has_many :repositories, :through => :content_view_repositories, :class_name => "Katello::Repository",
|
@@ -50,7 +54,6 @@ module Katello
|
|
50
54
|
validates :name, :presence => true, :uniqueness => {:scope => :organization_id}
|
51
55
|
validates :organization_id, :presence => true
|
52
56
|
validate :check_non_composite_components
|
53
|
-
validate :check_repo_conflicts
|
54
57
|
validate :check_puppet_conflicts
|
55
58
|
validates :composite, :inclusion => [true, false]
|
56
59
|
|
@@ -79,18 +82,45 @@ module Katello
|
|
79
82
|
hosts.count
|
80
83
|
end
|
81
84
|
|
82
|
-
def
|
83
|
-
|
84
|
-
|
85
|
-
new_view.attributes = self.attributes.slice("description", "organization_id", "default", "composite")
|
86
|
-
new_view.save!
|
87
|
-
new_view.repositories = self.repositories
|
88
|
-
new_view.components = self.components
|
85
|
+
def components
|
86
|
+
content_view_components.map(&:latest_version).compact.freeze
|
87
|
+
end
|
89
88
|
|
90
|
-
|
91
|
-
|
89
|
+
# Adds content view components based on the input
|
90
|
+
# [{:content_view_version_id=>1, :latest=> false}, {:content_view_id=>1, :latest=> true} ..]
|
91
|
+
def add_components(components_to_add)
|
92
|
+
components_to_add.each do |cvc|
|
93
|
+
content_view_components.build(cvc)
|
92
94
|
end
|
95
|
+
end
|
96
|
+
|
97
|
+
# Removes selected content view components
|
98
|
+
# [1,2,34] => content view component ids/
|
99
|
+
def remove_components(components_to_remove)
|
100
|
+
content_view_components.where(:id => components_to_remove).destroy_all
|
101
|
+
end
|
102
|
+
|
103
|
+
# Warning this call wipes out existing associations
|
104
|
+
# And replaces them with the component version ids passed in.
|
105
|
+
def component_ids=(component_version_ids_to_set)
|
106
|
+
content_view_components.destroy_all
|
107
|
+
component_version_ids_to_set.each do |content_view_version_id|
|
108
|
+
cvv = ContentViewVersion.find(content_view_version_id)
|
109
|
+
content_view_components.build(:content_view_version => cvv,
|
110
|
+
:latest => false,
|
111
|
+
:composite_content_view => self)
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
def copy_components(new_view)
|
116
|
+
self.content_view_components.each do |cvc|
|
117
|
+
component = cvc.dup
|
118
|
+
component.composite_content_view = new_view
|
119
|
+
new_view.content_view_components << component
|
120
|
+
end
|
121
|
+
end
|
93
122
|
|
123
|
+
def copy_filters(new_view)
|
94
124
|
self.filters.each do |filter|
|
95
125
|
new_filter = filter.dup
|
96
126
|
new_filter.repositories = filter.repositories
|
@@ -111,10 +141,29 @@ module Katello
|
|
111
141
|
end
|
112
142
|
end
|
113
143
|
end
|
144
|
+
end
|
145
|
+
|
146
|
+
def copy(new_name)
|
147
|
+
new_view = ContentView.new
|
148
|
+
new_view.name = new_name
|
149
|
+
new_view.attributes = self.attributes.slice("description", "organization_id", "default", "composite")
|
150
|
+
new_view.save!
|
151
|
+
new_view.repositories = self.repositories
|
152
|
+
|
153
|
+
copy_components(new_view)
|
154
|
+
|
155
|
+
self.content_view_puppet_modules.each do |puppet_module|
|
156
|
+
new_view.content_view_puppet_modules << puppet_module.dup
|
157
|
+
end
|
158
|
+
copy_filters(new_view)
|
114
159
|
new_view.save!
|
115
160
|
new_view
|
116
161
|
end
|
117
162
|
|
163
|
+
def publish_puppet_environment?
|
164
|
+
force_puppet_environment? || puppet_modules.any? || component_modules_to_publish.present?
|
165
|
+
end
|
166
|
+
|
118
167
|
def promoted?
|
119
168
|
# if the view exists in more than 1 environment, it has been promoted
|
120
169
|
self.environments.length > 1 ? true : false
|
@@ -159,6 +208,14 @@ module Katello
|
|
159
208
|
self.versions.in_environment(env).order("#{Katello::ContentViewVersion.table_name}.id ASC").readonly(false).last
|
160
209
|
end
|
161
210
|
|
211
|
+
def latest_version
|
212
|
+
latest_version_object.try(:version)
|
213
|
+
end
|
214
|
+
|
215
|
+
def latest_version_object
|
216
|
+
self.versions.order('major DESC').order('minor DESC').first
|
217
|
+
end
|
218
|
+
|
162
219
|
def history
|
163
220
|
Katello::ContentViewHistory.joins(:content_view_version).where(
|
164
221
|
"#{Katello::ContentViewVersion.table_name}.content_view_id" => self.id)
|
@@ -223,6 +280,28 @@ module Katello
|
|
223
280
|
composite? ? repositories_to_publish.pluck(&:id) : repository_ids
|
224
281
|
end
|
225
282
|
|
283
|
+
def repositories_to_publish_by_library_instance
|
284
|
+
# retrieve the list of repositories in a hash, where the key
|
285
|
+
# is the library instance id, and the value is an array
|
286
|
+
# of the repositories for that instance.
|
287
|
+
repositories_to_publish.inject({}) do |result, repo|
|
288
|
+
result[repo.library_instance_id] ||= []
|
289
|
+
result[repo.library_instance_id] << repo
|
290
|
+
result
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
def publish_repositories
|
295
|
+
repositories = composite? ? repositories_to_publish_by_library_instance.values : repositories_to_publish
|
296
|
+
repositories.each do |repos|
|
297
|
+
if repos.is_a? Array
|
298
|
+
yield repos
|
299
|
+
else
|
300
|
+
yield [repos]
|
301
|
+
end
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
226
305
|
# Returns actual puppet modules associated with all components
|
227
306
|
def component_modules_to_publish
|
228
307
|
composite? ? components.flat_map { |version| version.puppet_modules } : nil
|
@@ -322,14 +401,6 @@ module Katello
|
|
322
401
|
end
|
323
402
|
end
|
324
403
|
|
325
|
-
def check_repo_conflicts
|
326
|
-
duplicate_repositories.each do |repo|
|
327
|
-
versions = components.with_library_repo(repo).uniq.map(&:name).join(", ")
|
328
|
-
msg = _("Repository conflict: '%{repo}' is in %{versions}.") % {repo: repo.name, versions: versions}
|
329
|
-
errors.add(:base, msg)
|
330
|
-
end
|
331
|
-
end
|
332
|
-
|
333
404
|
def check_puppet_conflicts
|
334
405
|
duplicate_puppet_modules.each do |name|
|
335
406
|
versions = components.select { |v| v.puppet_modules.map(&:name).include?(name) }
|
@@ -384,11 +455,10 @@ module Katello
|
|
384
455
|
ContentViewEnvironment.where(:content_view_id => self, :environment_id => env).first.try(:cp_id)
|
385
456
|
end
|
386
457
|
|
387
|
-
def create_new_version(
|
458
|
+
def create_new_version(major = next_version, minor = 0, components = self.components)
|
388
459
|
version = ContentViewVersion.create!(:major => major,
|
389
460
|
:minor => minor,
|
390
461
|
:content_view => self,
|
391
|
-
:description => description,
|
392
462
|
:components => components
|
393
463
|
)
|
394
464
|
|
@@ -520,6 +590,10 @@ module Katello
|
|
520
590
|
_("Content Views")
|
521
591
|
end
|
522
592
|
|
593
|
+
def version_count
|
594
|
+
content_view_versions.count
|
595
|
+
end
|
596
|
+
|
523
597
|
protected
|
524
598
|
|
525
599
|
def remove_repository(repository)
|
@@ -576,8 +650,7 @@ module Katello
|
|
576
650
|
# Intended Behaviour
|
577
651
|
# Includes are cumulative -> If you say include errata and include packages, its the sum
|
578
652
|
# Excludes are processed after includes
|
579
|
-
# Excludes dont handle dependency. So if you say Include errata with pkgs P1, P2
|
580
|
-
# and exclude P1 and P1 has a dependency P1d1, what gets copied over is P1d1, P2
|
653
|
+
# Excludes dont handle dependency. So if you say Include errata with pkgs P1, P2ve# and exclude P1 and P1 has a dependency P1d1, what gets copied over is P1d1, P2
|
581
654
|
|
582
655
|
# Another important aspect. PackageGroups & Errata are merely convinient ways to say "copy packages"
|
583
656
|
# Its all about the packages
|
@@ -2,24 +2,81 @@ module Katello
|
|
2
2
|
class ContentViewComponent < Katello::Model
|
3
3
|
self.include_root_in_json = false
|
4
4
|
|
5
|
-
belongs_to :
|
5
|
+
belongs_to :composite_content_view, :class_name => "Katello::ContentView",
|
6
6
|
:inverse_of => :content_view_components
|
7
7
|
belongs_to :content_view_version, :class_name => "Katello::ContentViewVersion",
|
8
|
-
|
8
|
+
:inverse_of => :content_view_components
|
9
|
+
belongs_to :content_view, :class_name => "Katello::ContentView",
|
10
|
+
:inverse_of => :component_composites
|
9
11
|
|
10
12
|
validates_lengths_from_database
|
11
|
-
|
12
|
-
|
13
|
+
|
14
|
+
validates :composite_content_view, :presence => true
|
15
|
+
validate :ensure_valid_attributes
|
16
|
+
validate :ensure_valid_content_view
|
17
|
+
|
18
|
+
before_validation :update_content_view, :on => :create
|
19
|
+
|
20
|
+
def latest_version
|
21
|
+
if latest?
|
22
|
+
self.content_view.latest_version_object
|
23
|
+
else
|
24
|
+
self.content_view_version
|
25
|
+
end
|
26
|
+
end
|
13
27
|
|
14
28
|
private
|
15
29
|
|
16
|
-
def
|
17
|
-
|
30
|
+
def ensure_valid_content_view
|
31
|
+
view = content_view || content_view_version.try(:content_view)
|
32
|
+
return unless view
|
33
|
+
|
34
|
+
if content_view_version.present? && view.id != content_view_version.content_view_id
|
35
|
+
errors.add(:base, _("Invalid association of the content view id. Content View must match the content view version being saved"))
|
36
|
+
end
|
37
|
+
|
38
|
+
if view.composite?
|
18
39
|
errors.add(:base, _("Cannot add composite versions to a composite content view"))
|
19
40
|
end
|
20
|
-
|
41
|
+
|
42
|
+
if view.default?
|
21
43
|
errors.add(:base, _("Cannot add default content view to composite content view"))
|
22
44
|
end
|
45
|
+
|
46
|
+
if attached_content_view_ids.include?(view.id)
|
47
|
+
errors.add(:base, _("Duplicate Content View. Another component already includes this view"))
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
def ensure_valid_attributes
|
52
|
+
if !(content_view.present? || content_view_version.present?)
|
53
|
+
errors.add(:base, _("Either set the content view with the latest flag or set the content view version"))
|
54
|
+
elsif !composite_content_view.composite?
|
55
|
+
errors.add(:base, _("Cannot associate a component to a non composite content view"))
|
56
|
+
elsif latest?
|
57
|
+
if content_view_version.present?
|
58
|
+
errors.add(:base, _("Either set the latest content view or the content view version. Cannot set both"))
|
59
|
+
end
|
60
|
+
elsif content_view_version.nil?
|
61
|
+
errors.add(:base, _("Content View Version not set"))
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
def attached_content_view_ids
|
66
|
+
composite_content_view.content_view_components.map do |cvc|
|
67
|
+
next if cvc.id == self.id
|
68
|
+
if cvc.content_view_version
|
69
|
+
cvc.content_view_version.content_view_id
|
70
|
+
else
|
71
|
+
cvc.content_view_id
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
def update_content_view
|
77
|
+
if content_view_version.present? && !content_view.present?
|
78
|
+
self.content_view = content_view_version.content_view
|
79
|
+
end
|
23
80
|
end
|
24
81
|
end
|
25
82
|
end
|
@@ -2,6 +2,8 @@ module Katello
|
|
2
2
|
class ContentViewErratumFilterRule < Katello::Model
|
3
3
|
self.include_root_in_json = false
|
4
4
|
|
5
|
+
before_create :default_types
|
6
|
+
|
5
7
|
ISSUED = "issued".freeze
|
6
8
|
UPDATED = "updated".freeze
|
7
9
|
DATE_TYPES = [ISSUED, UPDATED].freeze
|
@@ -32,5 +34,11 @@ module Katello
|
|
32
34
|
def pulp_date_type
|
33
35
|
self.date_type == ISSUED ? "issued" : "updated"
|
34
36
|
end
|
37
|
+
|
38
|
+
def default_types
|
39
|
+
if errata_id.nil? && types.blank?
|
40
|
+
self.types = ContentViewErratumFilter::ERRATA_TYPES.keys
|
41
|
+
end
|
42
|
+
end
|
35
43
|
end
|
36
44
|
end
|
@@ -15,12 +15,22 @@ module Katello
|
|
15
15
|
validates_lengths_from_database
|
16
16
|
validates :status, :inclusion => {:in => STATUSES,
|
17
17
|
:allow_blank => false}
|
18
|
+
validates :action, presence: true
|
18
19
|
|
19
20
|
scope :active, -> { where(:status => IN_PROGRESS) }
|
21
|
+
scope :successful, -> { where(:status => SUCCESSFUL) }
|
20
22
|
alias_method :version, :content_view_version
|
23
|
+
alias_attribute :description, :notes
|
21
24
|
|
22
25
|
scoped_search :on => :name, :in => :environment, :rename => :environment, :complete_value => true
|
23
26
|
|
27
|
+
enum action: {
|
28
|
+
publish: 1,
|
29
|
+
promotion: 2,
|
30
|
+
removal: 3,
|
31
|
+
export: 4
|
32
|
+
}
|
33
|
+
|
24
34
|
def content_view
|
25
35
|
self.content_view_version.try(:content_view)
|
26
36
|
end
|
@@ -42,14 +52,13 @@ module Katello
|
|
42
52
|
end
|
43
53
|
|
44
54
|
def humanized_action
|
45
|
-
|
46
|
-
when "Actions::Katello::ContentViewVersion::Export"
|
55
|
+
if export?
|
47
56
|
_("Exported version")
|
48
|
-
|
57
|
+
elsif publish?
|
49
58
|
_("Published new version")
|
50
|
-
|
59
|
+
elsif promotion?
|
51
60
|
_("Promoted to %{environment}") % { :environment => self.environment.try(:name) || _('Unknown') }
|
52
|
-
|
61
|
+
elsif removal?
|
53
62
|
_("Deleted from %{environment}") % { :environment => self.environment.try(:name) || _('Unknown')}
|
54
63
|
else
|
55
64
|
_("Unknown Action")
|
@@ -33,6 +33,10 @@ module Katello
|
|
33
33
|
def query_rpms(repo, rule)
|
34
34
|
query_name = rule.name.tr("*", "%")
|
35
35
|
query = Rpm.in_repositories(repo).where("#{Rpm.table_name}.name ilike ?", query_name)
|
36
|
+
if rule.architecture
|
37
|
+
query_arch = rule.architecture.tr("*", "%")
|
38
|
+
query = query.where("#{Rpm.table_name}.arch ilike ?", query_arch)
|
39
|
+
end
|
36
40
|
if !rule.version.blank?
|
37
41
|
query = query.search_version_equal(rule.version)
|
38
42
|
elsif !rule.min_version.blank? || !rule.max_version.blank?
|
@@ -23,7 +23,7 @@ module Katello
|
|
23
23
|
has_one :task_status, :class_name => "Katello::TaskStatus", :as => :task_owner, :dependent => :destroy
|
24
24
|
|
25
25
|
has_many :content_view_components, :inverse_of => :content_view_version, :dependent => :destroy
|
26
|
-
has_many :composite_content_views, :through => :content_view_components, :source => :
|
26
|
+
has_many :composite_content_views, :through => :content_view_components, :source => :composite_content_view
|
27
27
|
|
28
28
|
has_many :content_view_version_components, :inverse_of => :composite_version, :dependent => :destroy, :foreign_key => :composite_version_id,
|
29
29
|
:class_name => "Katello::ContentViewVersionComponent"
|
@@ -105,6 +105,10 @@ module Katello
|
|
105
105
|
"#{content_view} #{version}"
|
106
106
|
end
|
107
107
|
|
108
|
+
def description
|
109
|
+
history.publish.successful.first.try(:notes)
|
110
|
+
end
|
111
|
+
|
108
112
|
def default_content_view?
|
109
113
|
default?
|
110
114
|
end
|
@@ -137,6 +141,10 @@ module Katello
|
|
137
141
|
self.content_view_puppet_environments.in_environment(env).first
|
138
142
|
end
|
139
143
|
|
144
|
+
def promote_puppet_environment?
|
145
|
+
puppet_module_count > 0 || self.content_view.force_puppet_environment?
|
146
|
+
end
|
147
|
+
|
140
148
|
def archived_repos
|
141
149
|
self.default? ? self.repositories : self.repos(nil)
|
142
150
|
end
|
@@ -184,8 +192,12 @@ module Katello
|
|
184
192
|
self.content_view.versions.in_environment(from_env).count > 1
|
185
193
|
end
|
186
194
|
|
187
|
-
def promotable?(
|
188
|
-
|
195
|
+
def promotable?(target_envs)
|
196
|
+
target_envs = Array.wrap(target_envs)
|
197
|
+
all_environments = target_envs + environments
|
198
|
+
target_envs.all? do |environment|
|
199
|
+
all_environments.include?(environment.prior) || environments.empty? && environment == organization.library
|
200
|
+
end
|
189
201
|
end
|
190
202
|
|
191
203
|
def archive_puppet_environment
|
@@ -2,7 +2,7 @@ module Katello
|
|
2
2
|
class DockerManifest < Katello::Model
|
3
3
|
include Concerns::PulpDatabaseUnit
|
4
4
|
|
5
|
-
|
5
|
+
has_many :docker_tags, :dependent => :destroy, :class_name => "Katello::DockerTag"
|
6
6
|
has_many :repository_docker_manifests, :dependent => :destroy
|
7
7
|
has_many :repositories, :through => :repository_docker_manifests, :inverse_of => :docker_manifests
|
8
8
|
|