katello 2.2.2 → 2.4.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.
- data/app/assets/javascripts/katello/common/env_select.js +0 -12
- data/app/assets/javascripts/katello/common/experimental/katello-globals.module.js +0 -13
- data/app/assets/javascripts/katello/common/index.js +0 -17
- data/app/assets/javascripts/katello/common/jquery.jeditable.custominputs.js +0 -44
- data/app/assets/javascripts/katello/common/katello.common.js +0 -13
- data/app/assets/javascripts/katello/common/katello.global.js +0 -13
- data/app/assets/javascripts/katello/common/katello.js +2 -70
- data/app/assets/javascripts/katello/common/katello_object.js +0 -13
- data/app/assets/javascripts/katello/common/menu.js +0 -13
- data/app/assets/javascripts/katello/common/vendor.js +0 -13
- data/app/assets/javascripts/katello/containers/container.js +0 -13
- data/app/assets/javascripts/katello/hosts/activation_key_edit.js +3 -3
- data/app/assets/javascripts/katello/hosts/host_and_hostgroup_edit.js +18 -4
- data/app/assets/javascripts/katello/html5/index.js +0 -12
- data/app/assets/javascripts/katello/organizations/download_certificate.js +0 -13
- data/app/assets/javascripts/katello/providers/provider_redhat.js +2 -14
- data/app/assets/javascripts/katello/providers/redhat/index.js +0 -13
- data/app/assets/javascripts/katello/sync_management/index.js +0 -13
- data/app/assets/javascripts/katello/sync_management/sync_management.js +2 -17
- data/app/assets/javascripts/katello/widgets/auto_complete.js +0 -12
- data/app/assets/javascripts/katello/widgets/env_content_view_selector.js +0 -13
- data/app/assets/javascripts/katello/widgets/filtertable/filtertable.js +0 -12
- data/app/assets/javascripts/katello/widgets/jquery.jeditable.helpers.js +0 -38
- data/app/assets/javascripts/katello/widgets/one_panel.js +0 -13
- data/app/assets/javascripts/katello/widgets/path_selector.js +0 -14
- data/app/assets/javascripts/katello/widgets/subpanel_new.js +0 -12
- data/app/assets/javascripts/katello/widgets/tabs.js +0 -13
- data/app/assets/stylesheets/katello/_katello_colors.scss +0 -2
- data/app/assets/stylesheets/katello/_katello_mixins.scss +0 -13
- data/app/assets/stylesheets/katello/_overrides.scss +0 -12
- data/app/assets/stylesheets/katello/contents.scss +0 -1
- data/app/assets/stylesheets/katello/katello.scss +0 -71
- data/app/controllers/katello/api/api_controller.rb +0 -12
- data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +29 -21
- data/app/controllers/katello/api/v2/activation_keys_controller.rb +14 -37
- data/app/controllers/katello/api/v2/api_controller.rb +12 -14
- data/app/controllers/katello/api/v2/capsule_content_controller.rb +0 -12
- data/app/controllers/katello/api/v2/capsules_controller.rb +0 -12
- data/app/controllers/katello/api/v2/content_uploads_controller.rb +0 -12
- data/app/controllers/katello/api/v2/content_view_filter_rules_controller.rb +0 -12
- data/app/controllers/katello/api/v2/content_view_filters_controller.rb +28 -76
- data/app/controllers/katello/api/v2/content_view_puppet_modules_controller.rb +23 -25
- data/app/controllers/katello/api/v2/content_view_versions_controller.rb +19 -25
- data/app/controllers/katello/api/v2/content_views_controller.rb +30 -52
- data/app/controllers/katello/api/v2/docker_images_controller.rb +0 -13
- data/app/controllers/katello/api/v2/docker_tags_controller.rb +0 -13
- data/app/controllers/katello/api/v2/environments_controller.rb +0 -21
- data/app/controllers/katello/api/v2/errata_controller.rb +18 -15
- data/app/controllers/katello/api/v2/gpg_keys_controller.rb +1 -13
- data/app/controllers/katello/api/v2/host_collections_controller.rb +14 -55
- data/app/controllers/katello/api/v2/organizations_controller.rb +26 -22
- data/app/controllers/katello/api/v2/package_groups_controller.rb +21 -13
- data/app/controllers/katello/api/v2/packages_controller.rb +19 -15
- data/app/controllers/katello/api/v2/ping_controller.rb +0 -12
- data/app/controllers/katello/api/v2/products_bulk_actions_controller.rb +0 -12
- data/app/controllers/katello/api/v2/products_controller.rb +42 -44
- data/app/controllers/katello/api/v2/puppet_modules_controller.rb +0 -19
- data/app/controllers/katello/api/v2/repositories_bulk_actions_controller.rb +0 -12
- data/app/controllers/katello/api/v2/repositories_controller.rb +73 -48
- data/app/controllers/katello/api/v2/repository_sets_controller.rb +7 -17
- data/app/controllers/katello/api/v2/root_controller.rb +0 -12
- data/app/controllers/katello/api/v2/subscriptions_controller.rb +71 -99
- data/app/controllers/katello/api/v2/sync_controller.rb +0 -12
- data/app/controllers/katello/api/v2/sync_plans_controller.rb +2 -32
- data/app/controllers/katello/api/v2/system_errata_controller.rb +38 -13
- data/app/controllers/katello/api/v2/system_packages_controller.rb +1 -13
- data/app/controllers/katello/api/v2/systems_bulk_actions_controller.rb +9 -20
- data/app/controllers/katello/api/v2/systems_controller.rb +63 -54
- data/app/controllers/katello/api/v2/uebercerts_controller.rb +0 -12
- data/app/controllers/katello/application_controller.rb +2 -42
- data/app/controllers/katello/auto_complete_search_controller.rb +0 -12
- data/app/controllers/katello/concerns/api/api_controller.rb +0 -12
- data/app/controllers/katello/concerns/api/v2/bulk_systems_extensions.rb +10 -16
- data/app/controllers/katello/concerns/api/v2/hostgroups_controller_extensions.rb +0 -12
- data/app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb +0 -12
- data/app/controllers/katello/concerns/api/v2/repository_content_controller.rb +100 -72
- data/app/controllers/katello/concerns/authorization/api/v2/content_views_controller.rb +0 -12
- data/app/controllers/katello/concerns/containers/steps_controller_extensions.rb +0 -12
- data/app/controllers/katello/concerns/filtered_auto_complete_search.rb +4 -14
- data/app/controllers/katello/concerns/hosts_controller_extensions.rb +0 -12
- data/app/controllers/katello/concerns/operatingsystems_controller_extensions.rb +0 -12
- data/app/controllers/katello/concerns/organizations_controller_extensions.rb +0 -12
- data/app/controllers/katello/errata_controller.rb +0 -12
- data/app/controllers/katello/errors_controller.rb +0 -12
- data/app/controllers/katello/failed_authentication_controller.rb +0 -14
- data/app/controllers/katello/http_errors.rb +0 -12
- data/app/controllers/katello/organizations_controller.rb +0 -13
- data/app/controllers/katello/products_controller.rb +37 -43
- data/app/controllers/katello/providers_controller.rb +1 -14
- data/app/controllers/katello/sort_column_list.rb +0 -12
- data/app/controllers/katello/sync_management_controller.rb +1 -74
- data/app/helpers/katello/activation_keys_helper.rb +0 -12
- data/app/helpers/katello/application_helper.rb +1 -34
- data/app/helpers/katello/concerns/foreman_docker/container_steps_helper_extensions.rb +0 -12
- data/app/helpers/katello/errata_mailer_helper.rb +6 -12
- data/app/helpers/katello/host_collection_events_helper.rb +0 -12
- data/app/helpers/katello/hosts_and_hostgroups_helper.rb +0 -12
- data/app/helpers/katello/katello_form_builder.rb +0 -12
- data/app/helpers/katello/katello_url_helper.rb +0 -12
- data/app/helpers/katello/katello_urls_helper.rb +1 -13
- data/app/helpers/katello/layout_helper.rb +6 -12
- data/app/helpers/katello/organizations_helper.rb +0 -12
- data/app/helpers/katello/packages_helper.rb +0 -12
- data/app/helpers/katello/products_helper.rb +0 -12
- data/app/helpers/katello/providers_helper.rb +2 -14
- data/app/helpers/katello/repositories_helper.rb +0 -12
- data/app/helpers/katello/subscriptions_helper.rb +0 -12
- data/app/helpers/katello/sync_management_helper.rb +0 -12
- data/app/helpers/katello/system_events_helper.rb +0 -12
- data/app/helpers/katello/system_packages_helper.rb +0 -12
- data/app/helpers/katello/taxonomy_helper.rb +0 -12
- data/app/helpers/katello/translation_helper.rb +0 -12
- data/app/lib/actions/abstract_async_task.rb +0 -12
- data/app/lib/actions/candlepin/abstract.rb +2 -13
- data/app/lib/actions/candlepin/abstract_async_task.rb +15 -12
- data/app/lib/actions/candlepin/activation_key/create.rb +0 -12
- data/app/lib/actions/candlepin/activation_key/destroy.rb +0 -12
- data/app/lib/actions/candlepin/activation_key/update.rb +0 -12
- data/app/lib/actions/candlepin/candlepin_listening_service.rb +12 -24
- data/app/lib/actions/candlepin/consumer/auto_attach_subscriptions.rb +0 -12
- data/app/lib/actions/candlepin/consumer/create.rb +3 -13
- data/app/lib/actions/candlepin/consumer/destroy.rb +0 -12
- data/app/lib/actions/candlepin/consumer/update.rb +0 -12
- data/app/lib/actions/candlepin/environment/create.rb +0 -12
- data/app/lib/actions/candlepin/environment/destroy.rb +0 -12
- data/app/lib/actions/candlepin/environment/set_content.rb +27 -29
- data/app/lib/actions/candlepin/import_pool_handler.rb +82 -0
- data/app/lib/actions/candlepin/listen_on_candlepin_events.rb +43 -33
- data/app/lib/actions/candlepin/owner/auto_attach.rb +0 -12
- data/app/lib/actions/candlepin/owner/create.rb +0 -12
- data/app/lib/actions/candlepin/owner/destroy.rb +0 -12
- data/app/lib/actions/candlepin/product/content_add.rb +0 -12
- data/app/lib/actions/candlepin/product/content_create.rb +0 -12
- data/app/lib/actions/candlepin/product/content_destroy.rb +0 -12
- data/app/lib/actions/candlepin/product/content_remove.rb +0 -12
- data/app/lib/actions/candlepin/product/content_update.rb +0 -12
- data/app/lib/actions/candlepin/product/create.rb +0 -12
- data/app/lib/actions/candlepin/product/create_unlimited_subscription.rb +0 -12
- data/app/lib/actions/candlepin/product/delete_pools.rb +0 -12
- data/app/lib/actions/candlepin/product/delete_subscriptions.rb +0 -12
- data/app/lib/actions/candlepin/product/destroy.rb +0 -12
- data/app/lib/actions/candlepin/product/update.rb +0 -13
- data/app/lib/actions/elastic_search/abstract.rb +1 -12
- data/app/lib/actions/elastic_search/provider/reindex_subscriptions.rb +0 -12
- data/app/lib/actions/elastic_search/reindex.rb +0 -12
- data/app/lib/actions/elastic_search/reindex_on_association_change.rb +0 -12
- data/app/lib/actions/elastic_search/repository/filtered_index_content.rb +2 -14
- data/app/lib/actions/elastic_search/repository/index_content.rb +0 -12
- data/app/lib/actions/elastic_search/repository/remove_packages.rb +0 -12
- data/app/lib/actions/foreman/environment/destroy.rb +0 -12
- data/app/lib/actions/helpers/presenter.rb +0 -12
- data/app/lib/actions/katello/activation_key/create.rb +1 -16
- data/app/lib/actions/katello/activation_key/destroy.rb +0 -13
- data/app/lib/actions/katello/activation_key/reassign.rb +0 -13
- data/app/lib/actions/katello/activation_key/update.rb +0 -13
- data/app/lib/actions/katello/capsule_content/configure_capsule.rb +0 -12
- data/app/lib/actions/katello/capsule_content/manage_bound_repositories.rb +0 -12
- data/app/lib/actions/katello/capsule_content/sync.rb +0 -12
- data/app/lib/actions/katello/capsule_content/update_without_content.rb +0 -12
- data/app/lib/actions/katello/content_view/add_to_environment.rb +0 -12
- data/app/lib/actions/katello/content_view/capsule_generate_and_sync.rb +0 -12
- data/app/lib/actions/katello/content_view/create.rb +0 -14
- data/app/lib/actions/katello/content_view/destroy.rb +0 -13
- data/app/lib/actions/katello/content_view/environment_create.rb +1 -13
- data/app/lib/actions/katello/content_view/errata_mail.rb +6 -12
- data/app/lib/actions/katello/content_view/incremental_updates.rb +0 -12
- data/app/lib/actions/katello/content_view/node_metadata_generate.rb +0 -12
- data/app/lib/actions/katello/content_view/presenters/incremental_updates_presenter.rb +2 -14
- data/app/lib/actions/katello/content_view/promote.rb +0 -12
- data/app/lib/actions/katello/content_view/publish.rb +3 -13
- data/app/lib/actions/katello/content_view/remove.rb +3 -17
- data/app/lib/actions/katello/content_view/remove_from_environment.rb +0 -12
- data/app/lib/actions/katello/content_view/remove_version.rb +1 -14
- data/app/lib/actions/katello/content_view/update.rb +0 -32
- data/app/lib/actions/katello/content_view/update_environment.rb +0 -12
- data/app/lib/actions/katello/content_view_environment/destroy.rb +0 -12
- data/app/lib/actions/katello/content_view_environment/reassign_objects.rb +0 -12
- data/app/lib/actions/katello/content_view_puppet_environment/clear.rb +0 -12
- data/app/lib/actions/katello/content_view_puppet_environment/clone.rb +2 -13
- data/app/lib/actions/katello/content_view_puppet_environment/clone_content.rb +9 -17
- data/app/lib/actions/katello/content_view_puppet_environment/create.rb +0 -14
- data/app/lib/actions/katello/content_view_puppet_environment/create_for_version.rb +0 -12
- data/app/lib/actions/katello/content_view_puppet_environment/destroy.rb +0 -13
- data/app/lib/actions/katello/content_view_puppet_module/destroy.rb +0 -12
- data/app/lib/actions/katello/content_view_version/destroy.rb +7 -15
- data/app/lib/actions/katello/content_view_version/incremental_update.rb +3 -15
- data/app/lib/actions/katello/environment/destroy.rb +0 -12
- data/app/lib/actions/katello/environment/library_create.rb +0 -12
- data/app/lib/actions/katello/foreman/abstract.rb +0 -12
- data/app/lib/actions/katello/foreman/content_update.rb +10 -21
- data/app/lib/actions/katello/organization/auto_attach_subscriptions.rb +0 -12
- data/app/lib/actions/katello/organization/create.rb +1 -13
- data/app/lib/actions/katello/organization/destroy.rb +1 -14
- data/app/lib/actions/katello/product/content_create.rb +0 -12
- data/app/lib/actions/katello/product/content_destroy.rb +0 -12
- data/app/lib/actions/katello/product/create.rb +0 -14
- data/app/lib/actions/katello/product/destroy.rb +5 -23
- data/app/lib/actions/katello/product/repositories_gpg_reset.rb +0 -12
- data/app/lib/actions/katello/product/update.rb +2 -16
- data/app/lib/actions/katello/provider/destroy.rb +0 -13
- data/app/lib/actions/katello/provider/manifest_delete.rb +0 -12
- data/app/lib/actions/katello/provider/manifest_import.rb +0 -12
- data/app/lib/actions/katello/provider/manifest_refresh.rb +0 -12
- data/app/lib/actions/katello/provider/update.rb +38 -0
- data/app/lib/actions/katello/repository/capsule_generate_and_sync.rb +0 -12
- data/app/lib/actions/katello/repository/clear.rb +0 -12
- data/app/lib/actions/katello/repository/clone_docker_content.rb +0 -12
- data/app/lib/actions/katello/repository/clone_to_environment.rb +0 -12
- data/app/lib/actions/katello/repository/clone_to_version.rb +0 -12
- data/app/lib/actions/katello/repository/clone_yum_content.rb +1 -12
- data/app/lib/actions/katello/repository/correct_checksum.rb +0 -12
- data/app/lib/actions/katello/repository/create.rb +0 -14
- data/app/lib/actions/katello/repository/destroy.rb +9 -14
- data/app/lib/actions/katello/repository/destroy_medium.rb +12 -0
- data/app/lib/actions/katello/repository/discover.rb +25 -24
- data/app/lib/actions/katello/repository/errata_mail.rb +6 -12
- data/app/lib/actions/katello/repository/finish_upload.rb +0 -12
- data/app/lib/actions/katello/repository/import_upload.rb +0 -12
- data/app/lib/actions/katello/repository/index_errata.rb +0 -12
- data/app/lib/actions/katello/repository/index_package_groups.rb +18 -0
- data/app/lib/actions/katello/repository/metadata_generate.rb +0 -12
- data/app/lib/actions/katello/repository/node_metadata_generate.rb +0 -12
- data/app/lib/actions/katello/repository/remove_content.rb +14 -25
- data/app/lib/actions/katello/repository/sync.rb +6 -17
- data/app/lib/actions/katello/repository/update.rb +3 -18
- data/app/lib/actions/katello/repository/update_media.rb +0 -12
- data/app/lib/actions/katello/repository/upload_files.rb +0 -12
- data/app/lib/actions/katello/repository_set/disable_repository.rb +16 -19
- data/app/lib/actions/katello/repository_set/enable_repository.rb +14 -20
- data/app/lib/actions/katello/repository_set/scan_cdn.rb +43 -20
- data/app/lib/actions/katello/sync_plan/add_products.rb +0 -12
- data/app/lib/actions/katello/sync_plan/destroy.rb +0 -12
- data/app/lib/actions/katello/sync_plan/remove_products.rb +0 -12
- data/app/lib/actions/katello/sync_plan/update.rb +0 -12
- data/app/lib/actions/katello/system/activation_keys.rb +0 -12
- data/app/lib/actions/katello/system/auto_attach_subscriptions.rb +2 -14
- data/app/lib/actions/katello/system/create.rb +2 -13
- data/app/lib/actions/katello/system/destroy.rb +0 -12
- data/app/lib/actions/katello/system/erratum/applicable_errata_install.rb +0 -12
- data/app/lib/actions/katello/system/erratum/install.rb +0 -12
- data/app/lib/actions/katello/system/generate_applicability.rb +1 -13
- data/app/lib/actions/katello/system/host_destroy.rb +0 -12
- data/app/lib/actions/katello/system/package/install.rb +0 -12
- data/app/lib/actions/katello/system/package/remove.rb +0 -12
- data/app/lib/actions/katello/system/package/update.rb +0 -12
- data/app/lib/actions/katello/system/package_group/install.rb +0 -12
- data/app/lib/actions/katello/system/package_group/remove.rb +0 -12
- data/app/lib/actions/katello/system/reassign.rb +0 -12
- data/app/lib/actions/katello/system/update.rb +4 -16
- data/app/lib/actions/middleware/backend_services_check.rb +40 -0
- data/app/lib/actions/middleware/candlepin_services_check.rb +9 -0
- data/app/lib/actions/middleware/elasticsearch_services_check.rb +9 -0
- data/app/lib/actions/middleware/keep_locale.rb +0 -12
- data/app/lib/actions/middleware/propagate_candlepin_errors.rb +0 -12
- data/app/lib/actions/middleware/pulp_services_check.rb +9 -0
- data/app/lib/actions/middleware/record_fixtures.rb +0 -12
- data/app/lib/actions/middleware/remote_action.rb +3 -15
- data/app/lib/actions/pulp/abstract.rb +1 -12
- data/app/lib/actions/pulp/abstract_async_task.rb +19 -12
- data/app/lib/actions/pulp/consumer.rb +0 -12
- data/app/lib/actions/pulp/consumer/abstract_content_action.rb +0 -12
- data/app/lib/actions/pulp/consumer/abstract_node_distributor_task.rb +0 -12
- data/app/lib/actions/pulp/consumer/abstract_sync_node_task.rb +0 -12
- data/app/lib/actions/pulp/consumer/activate_node.rb +0 -12
- data/app/lib/actions/pulp/consumer/bind_node_distributor.rb +0 -12
- data/app/lib/actions/pulp/consumer/content_install.rb +0 -12
- data/app/lib/actions/pulp/consumer/content_uninstall.rb +0 -12
- data/app/lib/actions/pulp/consumer/content_update.rb +0 -12
- data/app/lib/actions/pulp/consumer/create.rb +0 -12
- data/app/lib/actions/pulp/consumer/deactivate_node.rb +0 -12
- data/app/lib/actions/pulp/consumer/destroy.rb +0 -12
- data/app/lib/actions/pulp/consumer/generate_applicability.rb +0 -12
- data/app/lib/actions/pulp/consumer/sync_node.rb +0 -12
- data/app/lib/actions/pulp/consumer/unbind_node_distributor.rb +0 -12
- data/app/lib/actions/pulp/consumer/update.rb +0 -12
- data/app/lib/actions/pulp/content_view_puppet_environment/index_content.rb +17 -0
- data/app/lib/actions/pulp/expect_one_task.rb +0 -12
- data/app/lib/actions/pulp/repos/update.rb +0 -13
- data/app/lib/actions/pulp/repository/abstract_copy_content.rb +0 -12
- data/app/lib/actions/pulp/repository/abstract_remove_content.rb +0 -12
- data/app/lib/actions/pulp/repository/associate_distributor.rb +0 -12
- data/app/lib/actions/pulp/repository/copy_distribution.rb +0 -12
- data/app/lib/actions/pulp/repository/copy_docker_image.rb +0 -12
- data/app/lib/actions/pulp/repository/copy_docker_tag.rb +0 -13
- data/app/lib/actions/pulp/repository/copy_errata.rb +0 -12
- data/app/lib/actions/pulp/repository/copy_package_group.rb +0 -12
- data/app/lib/actions/pulp/repository/copy_puppet_module.rb +0 -12
- data/app/lib/actions/pulp/repository/copy_rpm.rb +1 -13
- data/app/lib/actions/pulp/repository/copy_yum_metadata_file.rb +0 -12
- data/app/lib/actions/pulp/repository/create.rb +0 -12
- data/app/lib/actions/pulp/repository/create_in_plan.rb +0 -12
- data/app/lib/actions/pulp/repository/create_upload_request.rb +0 -12
- data/app/lib/actions/pulp/repository/delete_upload_request.rb +0 -12
- data/app/lib/actions/pulp/repository/destroy.rb +0 -12
- data/app/lib/actions/pulp/repository/distributor_publish.rb +0 -12
- data/app/lib/actions/pulp/repository/import_upload.rb +0 -12
- data/app/lib/actions/pulp/repository/presenters/abstract_sync_presenter.rb +0 -12
- data/app/lib/actions/pulp/repository/presenters/docker_presenter.rb +1 -13
- data/app/lib/actions/pulp/repository/presenters/iso_presenter.rb +0 -12
- data/app/lib/actions/pulp/repository/presenters/puppet_presenter.rb +6 -15
- data/app/lib/actions/pulp/repository/presenters/yum_presenter.rb +1 -13
- data/app/lib/actions/pulp/repository/purge_empty_errata.rb +0 -12
- data/app/lib/actions/pulp/repository/purge_empty_package_groups.rb +3 -16
- data/app/lib/actions/pulp/repository/refresh.rb +0 -12
- data/app/lib/actions/pulp/repository/refresh_distributor.rb +0 -12
- data/app/lib/actions/pulp/repository/regenerate_applicability.rb +0 -12
- data/app/lib/actions/pulp/repository/remove_distribution.rb +0 -12
- data/app/lib/actions/pulp/repository/remove_docker_image.rb +0 -12
- data/app/lib/actions/pulp/repository/remove_errata.rb +0 -12
- data/app/lib/actions/pulp/repository/remove_package_group.rb +0 -12
- data/app/lib/actions/pulp/repository/remove_puppet_module.rb +0 -12
- data/app/lib/actions/pulp/repository/remove_rpm.rb +1 -13
- data/app/lib/actions/pulp/repository/remove_schedule.rb +0 -11
- data/app/lib/actions/pulp/repository/sync.rb +5 -17
- data/app/lib/actions/pulp/repository/update_importer.rb +0 -12
- data/app/lib/actions/pulp/repository/update_schedule.rb +0 -11
- data/app/lib/actions/pulp/repository/upload_file.rb +1 -13
- data/app/lib/katello/api/constraints/activation_key_constraint.rb +0 -12
- data/app/lib/katello/api/v2/error_handling.rb +5 -12
- data/app/lib/katello/bulk_actions.rb +2 -16
- data/app/lib/katello/concerns/renderer_extensions.rb +21 -0
- data/app/lib/katello/errors.rb +5 -13
- data/app/lib/katello/foreman.rb +0 -12
- data/app/lib/katello/glue/queue.rb +0 -12
- data/app/lib/katello/glue/task.rb +0 -12
- data/app/lib/katello/http_resource.rb +2 -14
- data/app/lib/katello/lazy_accessor.rb +2 -14
- data/app/lib/katello/mapping.rb +0 -12
- data/app/lib/katello/repo_discovery.rb +27 -40
- data/app/lib/katello/resources/candlepin.rb +23 -34
- data/app/lib/katello/resources/cdn.rb +42 -18
- data/app/lib/katello/util/cdn_var_substitutor.rb +21 -16
- data/app/lib/katello/util/data.rb +0 -12
- data/app/lib/katello/util/errata.rb +0 -12
- data/app/lib/katello/util/filter_clause_generator.rb +0 -12
- data/app/lib/katello/util/model.rb +0 -12
- data/app/lib/katello/util/package.rb +21 -51
- data/app/lib/katello/util/package_clause_generator.rb +1 -13
- data/app/lib/katello/util/package_filter.rb +16 -62
- data/app/lib/katello/util/report_table.rb +0 -12
- data/app/lib/katello/util/search.rb +0 -23
- data/app/lib/katello/util/support.rb +13 -12
- data/app/lib/katello/util/task_status.rb +0 -12
- data/app/lib/katello/util/thread_session.rb +10 -22
- data/app/lib/katello/util/url_matcher.rb +0 -12
- data/app/lib/katello/validators/content_validator.rb +0 -12
- data/app/lib/katello/validators/content_view_environment_validator.rb +0 -12
- data/app/lib/katello/validators/content_view_erratum_filter_rule_validator.rb +0 -12
- data/app/lib/katello/validators/content_view_filter_version_validator.rb +0 -12
- data/app/lib/katello/validators/content_view_puppet_module_validator.rb +4 -15
- data/app/lib/katello/validators/gpg_key_content_validator.rb +0 -11
- data/app/lib/katello/validators/katello_label_format_validator.rb +0 -12
- data/app/lib/katello/validators/katello_name_format_validator.rb +0 -11
- data/app/lib/katello/validators/katello_url_format_validator.rb +0 -12
- data/app/lib/katello/validators/library_presence_validator.rb +0 -12
- data/app/lib/katello/validators/no_trailing_space_validator.rb +0 -12
- data/app/lib/katello/validators/non_library_environment_validator.rb +0 -12
- data/app/lib/katello/validators/not_in_library_validator.rb +0 -12
- data/app/lib/katello/validators/path_descendents_validator.rb +0 -12
- data/app/lib/katello/validators/prior_validator.rb +0 -12
- data/app/lib/katello/validators/product_unique_attribute_validator.rb +1 -15
- data/app/lib/katello/validators/repo_disablement_validator.rb +0 -12
- data/app/lib/katello/validators/repository_unique_attribute_validator.rb +0 -12
- data/app/lib/katello/validators/self_reference_environment_validator.rb +0 -12
- data/app/lib/katello/validators/unique_field_in_org.rb +0 -12
- data/app/mailers/katello/errata_mailer.rb +0 -12
- data/app/models/katello/activation_key.rb +23 -46
- data/app/models/katello/authorization/activation_key.rb +0 -13
- data/app/models/katello/authorization/content_view.rb +0 -13
- data/app/models/katello/authorization/content_view_environment.rb +0 -12
- data/app/models/katello/authorization/content_view_history.rb +14 -0
- data/app/models/katello/authorization/content_view_version.rb +0 -12
- data/app/models/katello/authorization/gpg_key.rb +0 -13
- data/app/models/katello/authorization/host_collection.rb +0 -13
- data/app/models/katello/authorization/lifecycle_environment.rb +0 -13
- data/app/models/katello/authorization/organization.rb +0 -13
- data/app/models/katello/authorization/pool.rb +13 -0
- data/app/models/katello/authorization/product.rb +0 -13
- data/app/models/katello/authorization/repository.rb +8 -16
- data/app/models/katello/authorization/subscription.rb +17 -0
- data/app/models/katello/authorization/sync_plan.rb +0 -13
- data/app/models/katello/authorization/system.rb +0 -13
- data/app/models/katello/candlepin/content.rb +28 -46
- data/app/models/katello/candlepin/product_content.rb +5 -12
- data/app/models/katello/capsule_lifecycle_environment.rb +0 -12
- data/app/models/katello/concerns/container_extensions.rb +0 -12
- data/app/models/katello/concerns/docker_container_wizard_state_extensions.rb +0 -12
- data/app/models/katello/concerns/environment_extensions.rb +7 -13
- data/app/models/katello/concerns/host_managed_extensions.rb +17 -11
- data/app/models/katello/concerns/hostgroup_extensions.rb +0 -11
- data/app/models/katello/concerns/location_extensions.rb +1 -13
- data/app/models/katello/concerns/medium_extensions.rb +14 -15
- data/app/models/katello/concerns/operatingsystem_extensions.rb +29 -0
- data/app/models/katello/concerns/organization_extensions.rb +21 -53
- data/app/models/katello/{glue/pulp/pulp_content_unit.rb → concerns/pulp_database_unit.rb} +23 -42
- data/app/models/katello/concerns/redhat_extensions.rb +13 -54
- data/app/models/katello/concerns/smart_proxy_extensions.rb +1 -13
- data/app/models/katello/concerns/user_extensions.rb +2 -190
- data/app/models/katello/content_view.rb +51 -81
- data/app/models/katello/content_view_component.rb +0 -12
- data/app/models/katello/content_view_environment.rb +4 -20
- data/app/models/katello/content_view_erratum_filter.rb +0 -14
- data/app/models/katello/content_view_erratum_filter_rule.rb +1 -13
- data/app/models/katello/content_view_filter.rb +20 -27
- data/app/models/katello/content_view_history.rb +42 -14
- data/app/models/katello/content_view_package_filter.rb +11 -23
- data/app/models/katello/content_view_package_filter_rule.rb +1 -13
- data/app/models/katello/content_view_package_group_filter.rb +3 -19
- data/app/models/katello/content_view_package_group_filter_rule.rb +1 -13
- data/app/models/katello/content_view_puppet_environment.rb +19 -18
- data/app/models/katello/content_view_puppet_environment_puppet_module.rb +13 -0
- data/app/models/katello/content_view_puppet_module.rb +18 -36
- data/app/models/katello/content_view_repository.rb +0 -12
- data/app/models/katello/content_view_version.rb +59 -26
- data/app/models/katello/content_view_version_component.rb +0 -12
- data/app/models/katello/cp_consumer_user.rb +0 -12
- data/app/models/katello/docker_image.rb +2 -14
- data/app/models/katello/docker_tag.rb +5 -13
- data/app/models/katello/erratum.rb +54 -34
- data/app/models/katello/erratum_bugzilla.rb +0 -13
- data/app/models/katello/erratum_cve.rb +0 -13
- data/app/models/katello/erratum_package.rb +0 -13
- data/app/models/katello/ext/indexed_model.rb +1 -13
- data/app/models/katello/ext/label_from_name.rb +0 -12
- data/app/models/katello/glue.rb +1 -13
- data/app/models/katello/glue/candlepin/activation_key.rb +20 -18
- data/app/models/katello/glue/candlepin/candlepin_object.rb +52 -0
- data/app/models/katello/glue/candlepin/consumer.rb +23 -56
- data/app/models/katello/glue/candlepin/content.rb +1 -13
- data/app/models/katello/glue/candlepin/environment.rb +0 -12
- data/app/models/katello/glue/candlepin/owner.rb +3 -23
- data/app/models/katello/glue/candlepin/owner_info.rb +0 -12
- data/app/models/katello/glue/candlepin/pool.rb +84 -155
- data/app/models/katello/glue/candlepin/product.rb +0 -27
- data/app/models/katello/glue/candlepin/subscription.rb +58 -0
- data/app/models/katello/glue/elastic_search/backend_indexed_model.rb +2 -13
- data/app/models/katello/glue/elastic_search/content_view_erratum_filter_rule.rb +0 -12
- data/app/models/katello/glue/elastic_search/content_view_history.rb +1 -13
- data/app/models/katello/glue/elastic_search/content_view_package_filter_rule.rb +0 -12
- data/app/models/katello/glue/elastic_search/content_view_package_group_filter_rule.rb +0 -12
- data/app/models/katello/glue/elastic_search/facet_item.rb +0 -12
- data/app/models/katello/glue/elastic_search/host_collection.rb +0 -33
- data/app/models/katello/glue/elastic_search/items.rb +1 -13
- data/app/models/katello/glue/elastic_search/job.rb +0 -12
- data/app/models/katello/glue/elastic_search/system.rb +0 -25
- data/app/models/katello/glue/elastic_search/task_status.rb +0 -12
- data/app/models/katello/glue/provider.rb +31 -122
- data/app/models/katello/glue/pulp/consumer.rb +2 -26
- data/app/models/katello/glue/pulp/consumer_group.rb +0 -12
- data/app/models/katello/glue/pulp/pulp_errors.rb +0 -12
- data/app/models/katello/glue/pulp/repo.rb +116 -173
- data/app/models/katello/glue/pulp/repos.rb +40 -89
- data/app/models/katello/glue/pulp/simple_package.rb +0 -12
- data/app/models/katello/gpg_key.rb +1 -13
- data/app/models/katello/hash_util.rb +0 -12
- data/app/models/katello/host_collection.rb +17 -15
- data/app/models/katello/hypervisor.rb +1 -13
- data/app/models/katello/job.rb +1 -13
- data/app/models/katello/job_task.rb +0 -12
- data/app/models/katello/key_host_collection.rb +0 -13
- data/app/models/katello/kt_environment.rb +9 -35
- data/app/models/katello/model.rb +0 -12
- data/app/models/katello/package_group.rb +41 -15
- data/app/models/katello/ping.rb +66 -52
- data/app/models/katello/pool.rb +44 -31
- data/app/models/katello/pool_activation_key.rb +6 -0
- data/app/models/katello/product.rb +37 -35
- data/app/models/katello/provider.rb +9 -28
- data/app/models/katello/proxy_association_owner.rb +0 -12
- data/app/models/katello/pulp_sync_status.rb +1 -13
- data/app/models/katello/pulp_task_status.rb +1 -13
- data/app/models/katello/puppet_module.rb +56 -16
- data/app/models/katello/repository.rb +129 -64
- data/app/models/katello/repository_docker_image.rb +0 -13
- data/app/models/katello/repository_erratum.rb +0 -13
- data/app/models/katello/repository_package_group.rb +8 -0
- data/app/models/katello/repository_puppet_module.rb +9 -0
- data/app/models/katello/repository_rpm.rb +9 -0
- data/app/models/katello/rpm.rb +62 -0
- data/app/models/katello/subscription.rb +17 -0
- data/app/models/katello/subscription_product.rb +7 -0
- data/app/models/katello/sync_plan.rb +0 -12
- data/app/models/katello/system.rb +55 -36
- data/app/models/katello/system_activation_key.rb +0 -12
- data/app/models/katello/system_erratum.rb +0 -13
- data/app/models/katello/system_host_collection.rb +0 -13
- data/app/models/katello/system_repository.rb +0 -13
- data/app/models/katello/task_status.rb +1 -13
- data/app/models/setting/katello.rb +2 -1
- data/app/overrides/add_activation_keys_input.rb +4 -4
- data/app/overrides/add_organization_attributes.rb +4 -4
- data/app/overrides/add_smart_proxy_form.rb +1 -1
- data/app/overrides/foreman/activation_keys/_host_environment_select.html.erb +2 -2
- data/app/overrides/foreman/organizations/_edit_override.html.erb +1 -1
- data/app/overrides/override_taxonomy_actions.rb +1 -1
- data/app/presenters/katello/content_view_version_compare_presenter.rb +0 -12
- data/app/presenters/katello/relation_presenter.rb +0 -12
- data/app/presenters/katello/repository_presenter.rb +0 -12
- data/app/presenters/katello/sync_status_presenter.rb +71 -0
- data/app/services/client/cert.rb +0 -12
- data/app/services/katello/authentication/client_authentication.rb +1 -13
- data/app/services/katello/pulp/docker_image.rb +7 -0
- data/app/services/katello/pulp/erratum.rb +11 -0
- data/app/services/katello/pulp/package_group.rb +14 -0
- data/app/services/katello/pulp/pulp_content_unit.rb +57 -0
- data/app/services/katello/pulp/puppet_module.rb +16 -0
- data/app/services/katello/pulp/rpm.rb +41 -0
- data/app/services/katello/puppet_class_importer_extensions.rb +0 -11
- data/app/views/dashboard/_content_views_widget.html.erb +34 -0
- data/app/views/dashboard/_errata_widget.html.erb +35 -0
- data/app/views/dashboard/_host_collection_widget.html.erb +38 -0
- data/app/views/dashboard/_subscription_status_widget.html.erb +32 -0
- data/app/views/dashboard/_subscription_widget.html.erb +37 -0
- data/app/views/dashboard/_sync_widget.html.erb +32 -0
- data/app/views/foreman/unattended/kickstart-katello.erb +1 -1
- data/app/views/foreman/unattended/snippets/_subscription_manager_registration.erb +0 -5
- data/app/views/katello/api/v2/activation_keys/product_content.json.rabl +12 -2
- data/app/views/katello/api/v2/content_view_filters/show.json.rabl +1 -1
- data/app/views/katello/api/v2/content_view_histories/show.json.rabl +4 -0
- data/app/views/katello/api/v2/content_view_puppet_modules/create.json.rabl +3 -0
- data/app/views/katello/api/v2/content_view_puppet_modules/index.json.rabl +5 -1
- data/app/views/katello/api/v2/content_view_puppet_modules/show.json.rabl +0 -4
- data/app/views/katello/api/v2/content_view_versions/base.json.rabl +4 -0
- data/app/views/katello/api/v2/content_view_versions/index.json.rabl +5 -2
- data/app/views/katello/api/v2/content_views/_content_view.json.rabl +5 -1
- data/app/views/katello/api/v2/content_views/puppet_modules.json.rabl +1 -1
- data/app/views/katello/api/v2/environments/show.json.rabl +2 -2
- data/app/views/katello/api/v2/layouts/collection.json.erb +1 -0
- data/app/views/katello/api/v2/layouts/resource.json.erb +5 -0
- data/app/views/katello/api/v2/organizations/show.json.rabl +2 -3
- data/app/views/katello/api/v2/package_groups/backend.json.rabl +4 -0
- data/app/views/katello/api/v2/package_groups/base.json.rabl +19 -0
- data/app/views/katello/api/v2/package_groups/index.json.rabl +1 -1
- data/app/views/katello/api/v2/package_groups/show.json.rabl +2 -22
- data/app/views/katello/api/v2/packages/backend.json.rabl +8 -0
- data/app/views/katello/api/v2/packages/base.json.rabl +5 -0
- data/app/views/katello/api/v2/packages/index.json.rabl +5 -1
- data/app/views/katello/api/v2/packages/show.json.rabl +2 -5
- data/app/views/katello/api/v2/products/base.json.rabl +1 -1
- data/app/views/katello/api/v2/puppet_modules/backend.json.rabl +7 -0
- data/app/views/katello/api/v2/puppet_modules/base.json.rabl +8 -0
- data/app/views/katello/api/v2/puppet_modules/index.json.rabl +5 -1
- data/app/views/katello/api/v2/puppet_modules/name.json.rabl +1 -2
- data/app/views/katello/api/v2/puppet_modules/show.json.rabl +2 -17
- data/app/views/katello/api/v2/repositories/base.json.rabl +34 -0
- data/app/views/katello/api/v2/repositories/index.json.rabl +5 -1
- data/app/views/katello/api/v2/repositories/show.json.rabl +10 -30
- data/app/views/katello/api/v2/subscriptions/base.json.rabl +15 -0
- data/app/views/katello/api/v2/subscriptions/index.json.rabl +6 -1
- data/app/views/katello/api/v2/subscriptions/show.json.rabl +11 -23
- data/app/views/katello/api/v2/{systems/errata.json.rabl → system_errata/index.json.rabl} +1 -1
- data/app/views/katello/api/v2/systems/_content.json.rabl +17 -0
- data/app/views/katello/api/v2/systems/content_override.json.rabl +3 -0
- data/app/views/katello/api/v2/systems/product_content.json.rabl +3 -0
- data/app/views/katello/api/v2/systems/show.json.rabl +0 -4
- data/app/views/katello/errata_mailer/_erratum.html.erb +10 -0
- data/app/views/katello/errata_mailer/sync_errata.html.erb +3 -3
- data/app/views/katello/layouts/katello.html.erb +23 -0
- data/app/views/katello/providers/redhat/_enable_errors.html.erb +12 -0
- data/app/views/katello/providers/redhat/_errors.html.erb +19 -0
- data/app/views/katello/providers/redhat/_repo_sets.html.erb +56 -0
- data/app/views/katello/providers/redhat/_repos.html.erb +56 -0
- data/app/views/katello/providers/redhat/_tab.html.erb +9 -0
- data/app/views/katello/providers/redhat/show.html.erb +35 -0
- data/app/views/katello/sync_management/_children.html.erb +14 -0
- data/app/views/katello/sync_management/_controls.html.erb +30 -0
- data/app/views/katello/sync_management/_product.html.erb +27 -0
- data/app/views/katello/sync_management/_products.html.erb +40 -0
- data/app/views/katello/sync_management/_repo.html.erb +43 -0
- data/app/views/katello/sync_management/_sync_plans.html.erb +23 -0
- data/app/views/katello/sync_management/index.html.erb +26 -0
- data/config/initializers/inflections.rb +0 -1
- data/config/initializers/runcible.rb +1 -1
- data/config/katello.yaml.example +91 -0
- data/config/katello.yml +223 -16
- data/config/katello_defaults.yml +0 -236
- data/config/routes.rb +1 -129
- data/config/routes/api/v2.rb +45 -29
- data/config/routes/overrides.rb +1 -13
- data/db/migrate/20140626204657_add_unlimited_to_activation_keys.rb +14 -10
- data/db/migrate/20140626204902_add_unlimited_to_host_collection.rb +14 -10
- data/db/migrate/20141003210742_add_docker_container_registry_url_to_providers.rb +0 -2
- data/db/migrate/20141209103005_disown_foreman_templates.rb +5 -1
- data/db/migrate/20150224083608_remove_docker_registry_url.rb +9 -0
- data/db/migrate/20150423134004_add_content_host_id_to_smart_proxy.rb +0 -15
- data/db/migrate/20150505180030_change_errata_timestamps_to_dates.rb +15 -0
- data/db/migrate/20150507131145_update_composite_default_for_content_view.rb +14 -0
- data/db/migrate/20150602153753_remove_help_tips.rb +16 -0
- data/db/migrate/20150602153754_remove_search_histories.rb +17 -0
- data/db/migrate/20150602153755_remove_search_favorites.rb +17 -0
- data/db/migrate/20150602153756_remove_user_notices.rb +16 -0
- data/db/migrate/20150602153757_remove_notices.rb +20 -0
- data/db/migrate/20150603045418_remove_user_fields.rb +18 -0
- data/db/migrate/20150606021722_create_puppet_modules.rb +58 -0
- data/db/migrate/20150611140455_remove_default_and_custom_info.rb +5 -0
- data/db/migrate/20150613134559_add_rpm.rb +38 -0
- data/db/migrate/20150623135424_create_package_groups.rb +29 -0
- data/db/migrate/20150715142649_assign_content_host_to_smart_proxies.rb +21 -0
- data/db/migrate/20150717142559_add_distributions_to_repository.rb +10 -0
- data/db/migrate/20150813185339_create_subscriptions.rb +82 -0
- data/db/migrate/20150901213759_remove_distributors.rb +25 -0
- data/db/migrate/20150902164543_remove_apply_info_task_id_from_taxonomies.rb +5 -0
- data/db/migrate/20150908222711_drop_marketing_engineering_products.rb +21 -0
- data/db/seeds.rb +3 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-key.factory.js +3 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.controller.js +5 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activation-keys.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/activationKeyConsumed.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-add-host-collections.controller.js +10 -23
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-add-subscriptions.controller.js +16 -28
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-associations.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-details-info.controller.js +12 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-details.controller.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-host-collections.controller.js +10 -23
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-product-details.controller.js +14 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-products.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/activation-key-subscriptions.controller.js +16 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-add-subscriptions.html +59 -86
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-associations-content-hosts.html +6 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-host-collections-table.html +29 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-info.html +7 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/details/views/activation-key-subscriptions-list.html +55 -79
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/new/new-activation-key.controller.js +13 -26
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/activation-keys/views/activation-keys-table-full.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/bastion-katello-bootstrap.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/bastion_katello.js +0 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsules/capsule.factory.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/capsules/capsules.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-action-environment.controller.js +9 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-action-errata.controller.js +14 -28
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-action-host-collections.controller.js +11 -24
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-action-packages.controller.js +20 -33
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-action-subscriptions.controller.js +16 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/content-hosts-bulk-action.controller.js +12 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/bulk-actions-environment.html +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/bulk-actions-errata.html +7 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/bulk/views/bulk-actions-host-collections.html +4 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-erratum.factory.js +1 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-events.controller.js +0 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-package.factory.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-register.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host-status.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-host.factory.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts-helper.service.js +37 -50
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts.controller.js +7 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content-hosts.module.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-errata.controller.js +24 -27
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-packages.controller.js +4 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-errata.html +15 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/views/content-host-packages.html +49 -47
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-add-host-collections.controller.js +8 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-add-subscriptions.controller.js +22 -26
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-base-subscriptions.controller.js +11 -34
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-details-info.controller.js +40 -104
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-details.controller.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-host-collections.controller.js +8 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-product-details.controller.js +14 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-products.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/content-host-subscriptions.controller.js +20 -62
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-add-subscriptions.html +61 -96
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-details.html +8 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-events.html +21 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-info.html +3 -33
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/content-host-subscriptions-list.html +59 -91
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/details/views/host-collections-table.html +44 -42
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts-table-full.html +0 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/content-hosts.html +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/views/register.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-view.factory.js +3 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.controller.js +4 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/content-views.routes.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-deletion.controller.js +12 -25
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-activation-keys.controller.js +7 -20
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-confirm.controller.js +18 -30
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-content-hosts.controller.js +8 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion-environments.controller.js +5 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/deletion/content-view-version-deletion.controller.js +9 -25
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-docker-repositories.controller.js +4 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-puppet-modules.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-available-repositories.controller.js +4 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-composite-available-content-views.controller.js +9 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-composite-content-views-list.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-details-history.controller.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-details.controller.js +77 -88
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-docker-repositories-list.controller.js +3 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-promotion.controller.js +60 -32
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-publish.controller.js +9 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-repositories-list.controller.js +3 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-repositories.service.js +14 -27
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/content-view-versions.controller.js +34 -48
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/available-errata-filter.controller.js +24 -35
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/available-package-group-filter.controller.js +29 -35
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/date-type-errata-filter.controller.js +9 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/edit-filter.controller.js +3 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/errata-filter-list.controller.js +34 -47
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/errata-filter.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-content-type.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-details.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-helper.service.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-repositories.controller.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter-type.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filter.factory.js +3 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/filters.controller.js +16 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/new-filter.controller.js +33 -46
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/package-filter.controller.js +61 -74
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/package-group-filter.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/package-group-list-filter.controller.js +25 -36
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/rule.factory.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/edit-filter.html +18 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/filter-repositories.html +0 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/filters.html +6 -7
- 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 +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/filters/views/package-filter.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/content-view-puppet-module-names.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/content-view-puppet-module-versions.controller.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/content-view-puppet-module.factory.js +3 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/content-view-puppet-modules.controller.js +3 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/views/content-view-puppet-module-names.html +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/puppet-modules/views/content-view-puppet-modules.html +3 -12
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-composite-content-views-list.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-details-history.html +2 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-details.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-docker-repositories.html +46 -50
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-promotion.html +12 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-repositories.html +51 -55
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/details/views/content-view-versions.html +38 -38
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/new/content-view-new.controller.js +15 -28
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version-content.controller.js +9 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js +1 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-versions.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-details.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-package-groups.html +8 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/views/content-view-version-packages.html +8 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/views/content-views-table-full.html +1 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/views/content-views.html +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-images/docker-image.factory.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-images/docker-images.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/details/docker-tags-details.controller.js +7 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.controller.js +4 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/views/docker-tags.html +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/content.service.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/environment-content.controller.js +8 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/environment.controller.js +2 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-content-views.html +3 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-docker.html +4 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-errata.html +4 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-packages.html +4 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-puppet-modules.html +4 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/details/views/environment-repositories.html +4 -5
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environment.factory.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environments.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environments.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/environments.routes.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/environments/new-environment.controller.js +12 -25
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/apply-errata.controller.js +17 -28
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-content-hosts.controller.js +5 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details-repositories.controller.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/errata-details.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/errata-details-content-hosts.html +7 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/errata-details-info.html +3 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/errata-details-repositories.html +7 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata-counts.directive.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata-severity.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata-type.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata.controller.js +20 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/errata.routes.js +3 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/erratum.factory.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/apply-errata-confirm.html +8 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/views/errata.html +13 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/gpg-key-details-info.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/details/gpg-key-details.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/gpg-key.factory.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/gpg-keys.controller.js +5 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/gpg-keys.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/gpg-keys/new/new-gpg-key.controller.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-add-content-hosts.controller.js +11 -24
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-content-hosts.controller.js +5 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/host-collection-details.controller.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-add-content-hosts.html +39 -37
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/details/views/host-collection-content-hosts-list.html +34 -32
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/host-collection.factory.js +2 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/host-collections.controller.js +5 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/host-collections.module.js +0 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/host-collection-form.controller.js +8 -21
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/host-collections/new/new-host-collection.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/README +12 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +4484 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/de.po +5324 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/es.po +5290 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/fr.po +5363 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/it.po +5349 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ja.po +5281 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ko.po +5191 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/pt_BR.po +5321 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/ru.po +5171 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_CN.po +5103 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/locale/zh_TW.po +5106 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/translations.js +14 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/check-current-organization.run.js +0 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/organization-selector.controller.js +0 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/organization.factory.js +5 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/organizations.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/organizations/organizations.routes.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/package-groups/package-group.factory.js +4 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/package-groups/package-groups.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-details-repositories.controller.js +59 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/package-details.controller.js +23 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details-dependencies.html +19 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details-files.html +11 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details-info.html +75 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details-repositories.html +83 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/packages-details.html +57 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/package.factory.js +2 -17
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/packages.controller.js +65 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/packages.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/packages.routes.js +66 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/views/packages-table-collapsed.html +19 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/views/packages-table-full.html +22 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/views/packages.html +19 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/products-bulk-action-sync-plan.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/products-bulk-action-sync.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/products-bulk-action.controller.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/bulk/views/bulk-actions.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-details-info.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-details.controller.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/product-repositories.controller.js +16 -41
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-details.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/views/product-repositories.html +114 -115
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery-form.controller.js +76 -94
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/discovery.controller.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/discovery/views/discovery.html +7 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/new-product.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/product-form.controller.js +7 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/new/views/product-new.html +2 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/product.factory.js +3 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.controller.js +11 -22
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/products.module.js +9 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/partials/product-table-sync-status.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/views/products-table-full.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/puppet-modules-details-content-views.controller.js +43 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/puppet-modules-details-repositories.controller.js +35 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/puppet-modules-details.controller.js +28 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/views/puppet-modules-details-content-views.html +37 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/views/puppet-modules-details-info.html +31 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/views/puppet-modules-details-repositories.html +52 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/details/views/puppet-modules-details.html +45 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/puppet-module.factory.js +5 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/puppet-modules.controller.js +35 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/puppet-modules.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/puppet-modules.routes.js +69 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/views/puppet-modules-table-collapsed.html +20 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/views/puppet-modules-table-full.html +29 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/puppet-modules/views/puppet-modules.html +16 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/repository-details-info.controller.js +10 -20
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/repository-details-manage-content.controller.js +26 -37
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-info.html +59 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-docker-images.html +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-package-groups.html +25 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-packages.html +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/details/views/repository-manage-puppet-modules.html +1 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/new/new-repository.controller.js +20 -32
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/repositories.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/repositories/repository.factory.js +2 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/subscription-associations-activation-keys.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/subscription-associations-content-hosts.controller.js +1 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/subscription-details.controller.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/subscription-product-details.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/subscription-products.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/subscription-associations-activation-keys.html +8 -8
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/subscription-associations-content-hosts.html +7 -7
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/subscription-details.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/details/views/subscription-info.html +3 -3
- 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 +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/manifest-history.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/manifest-import.controller.js +34 -47
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/manifest.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/manifest/views/manifest-import.html +0 -10
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscription-type.directive.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptionAttachAmountFilter.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptionConsumed.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions-helper.service.js +3 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions.controller.js +18 -29
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions.factory.js +3 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/subscriptions.module.js +3 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/subscriptions/views/subscriptions-table-full.html +1 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-add-products.controller.js +5 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-details-info.controller.js +14 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-details.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/sync-plan-products.controller.js +5 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/views/sync-plan-info.html +14 -1
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/details/views/sync-plan-products-table.html +37 -35
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/new/new-sync-plan.controller.js +2 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plan.factory.js +2 -18
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plans.controller.js +7 -19
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/sync-plans.module.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/sync-plans/views/sync-plans.html +4 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/aggregate-task.factory.js +17 -30
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-details.controller.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-compile.filter.js +6 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-part.directive.js +3 -16
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-reduce.filter.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task-input-short.filter.js +0 -13
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/task.factory.js +36 -43
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks-nutupane.factory.js +3 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks-table.directive.js +2 -15
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js +0 -14
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/views/tasks-table.html +30 -28
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/bastion_katello.less +6 -0
- data/engines/bastion_katello/app/assets/stylesheets/bastion_katello/systems.less +0 -24
- data/engines/bastion_katello/bastion_katello.gemspec +1 -1
- data/engines/bastion_katello/lib/bastion_katello/engine.rb +6 -1
- data/lib/katello.rb +2 -8
- data/lib/katello/apipie/validators.rb +1 -1
- data/lib/katello/engine.rb +54 -15
- data/lib/katello/permissions/content_host_permissions.rb +4 -5
- data/lib/katello/permissions/content_view_permissions.rb +2 -4
- data/lib/katello/permissions/host_collections_permissions.rb +0 -1
- data/lib/katello/permissions/product_permissions.rb +1 -2
- data/lib/katello/permissions/subscription_permissions.rb +1 -2
- data/lib/katello/permissions/sync_plan_permissions.rb +2 -1
- data/lib/katello/plugin.rb +36 -37
- data/lib/katello/tasks/reindex.rake +125 -18
- data/lib/katello/tasks/setup.rake +0 -3
- data/lib/katello/tasks/test.rake +92 -8
- data/lib/katello/tasks/upgrades/2.4/import_distributions.rake +12 -0
- data/lib/katello/tasks/upgrades/2.4/import_package_groups.rake +12 -0
- data/lib/katello/tasks/upgrades/2.4/import_puppet_modules.rake +12 -0
- data/lib/katello/tasks/upgrades/2.4/import_rpms.rake +12 -0
- data/lib/katello/tasks/upgrades/2.4/import_subscriptions.rake +13 -0
- data/lib/katello/tire_bridge.rb +20 -0
- data/lib/katello/url_constrained_cookie_store.rb +0 -12
- data/lib/katello/version.rb +1 -1
- data/lib/monkeys/passenger_tee_input.rb +0 -12
- data/locale/action_names.rb +47 -0
- data/locale/bn/katello.po +2728 -5025
- data/locale/cs/katello.po +1939 -2918
- data/locale/de/katello.po +3515 -5733
- data/locale/en/katello.po +1570 -1537
- data/locale/es/katello.po +3457 -5721
- data/locale/fr/katello.po +3604 -5753
- data/locale/gu/katello.po +2740 -5029
- data/locale/hi/katello.po +2731 -5032
- data/locale/it/katello.po +3502 -5769
- data/locale/ja/katello.po +3481 -5888
- data/locale/katello.pot +1277 -1472
- data/locale/kn/katello.po +2754 -5089
- data/locale/ko/katello.po +3327 -5775
- data/locale/mr/katello.po +2701 -5097
- data/locale/or/katello.po +2741 -5093
- data/locale/pa/katello.po +2601 -4937
- data/locale/pt/katello.po +1810 -1947
- data/locale/pt_BR/katello.po +3468 -5893
- data/locale/ru/katello.po +3352 -5856
- data/locale/ta/katello.po +2751 -5040
- data/locale/te/katello.po +2734 -5091
- data/locale/zh_CN/katello.po +3230 -5800
- data/locale/zh_TW/katello.po +3540 -5962
- metadata +1451 -1575
- checksums.yaml +0 -15
- data/app/assets/javascripts/katello/common/bastion-routes.js +0 -2870
- data/app/assets/javascripts/katello/common/notices.js +0 -176
- data/app/assets/javascripts/katello/common/panel.js +0 -1078
- data/app/assets/javascripts/katello/common/routes.js +0 -2878
- data/app/assets/javascripts/katello/common/search.js +0 -376
- data/app/assets/javascripts/katello/content_search/content_search.js +0 -854
- data/app/assets/javascripts/katello/content_search/index.js +0 -20
- data/app/assets/javascripts/katello/dashboard/dashboard.js +0 -210
- data/app/assets/javascripts/katello/dashboard/index.js +0 -14
- data/app/assets/javascripts/katello/notices/index.js +0 -14
- data/app/assets/javascripts/katello/notices/notices_list.js +0 -49
- data/app/assets/javascripts/katello/providers/index.js +0 -16
- data/app/assets/javascripts/katello/providers/products_repos.js +0 -46
- data/app/assets/javascripts/katello/providers/provider.js +0 -68
- data/app/assets/javascripts/katello/providers/provider_create.js +0 -21
- data/app/assets/javascripts/katello/providers/repo.js +0 -27
- data/app/assets/javascripts/katello/providers/repo_discovery.js +0 -376
- data/app/assets/javascripts/katello/providers/repo_discovery_create.js +0 -17
- data/app/assets/javascripts/katello/widgets/comparison_grid.js +0 -1033
- data/app/assets/javascripts/katello/widgets/slidingtree.js +0 -645
- data/app/assets/javascripts/katello/widgets/tipsy.custom.js +0 -197
- data/app/assets/stylesheets/katello/content_search.scss +0 -650
- data/app/assets/stylesheets/katello/custom_info.scss +0 -32
- data/app/assets/stylesheets/katello/dashboard.scss +0 -570
- data/app/assets/stylesheets/katello/widgets/tipsy_custom.scss +0 -81
- data/app/controllers/katello/api/v2/distributions_controller.rb +0 -50
- data/app/controllers/katello/api/v2/users_controller.rb +0 -16
- data/app/controllers/katello/concerns/api/v2/repository_db_content_controller.rb +0 -109
- data/app/controllers/katello/consumers_controller_logic.rb +0 -55
- data/app/controllers/katello/content_search_controller.rb +0 -676
- data/app/controllers/katello/content_views_controller.rb +0 -35
- data/app/controllers/katello/dashboard_controller.rb +0 -106
- data/app/controllers/katello/distributor_events_controller.rb +0 -114
- data/app/controllers/katello/distributors_controller.rb +0 -501
- data/app/controllers/katello/notices_controller.rb +0 -101
- data/app/controllers/katello/packages_controller.rb +0 -45
- data/app/controllers/katello/puppet_modules_controller.rb +0 -27
- data/app/controllers/katello/repositories_controller.rb +0 -39
- data/app/controllers/katello/search_controller.rb +0 -92
- data/app/helpers/katello/content_search_helper.rb +0 -62
- data/app/helpers/katello/dashboard_helper.rb +0 -204
- data/app/helpers/katello/distributors_helper.rb +0 -69
- data/app/helpers/katello/notices_helper.rb +0 -21
- data/app/helpers/katello/search_helper.rb +0 -35
- data/app/helpers/katello/users_helper.rb +0 -44
- data/app/lib/actions/candlepin/reindex_pool_subscription_handler.rb +0 -91
- data/app/lib/actions/elastic_search/content_view_puppet_environment/index_content.rb +0 -28
- data/app/lib/actions/elastic_search/repository/destroy.rb +0 -35
- data/app/lib/actions/elastic_search/repository/remove_puppet_modules.rb +0 -28
- data/app/lib/actions/katello/organization/index_subscriptions.rb +0 -61
- data/app/lib/actions/katello/repository/remove_docker_images.rb +0 -35
- data/app/lib/actions/katello/user/create.rb +0 -27
- data/app/lib/actions/katello/user/destroy.rb +0 -28
- data/app/lib/actions/pulp/superuser/abstract.rb +0 -35
- data/app/lib/actions/pulp/superuser/add.rb +0 -23
- data/app/lib/actions/pulp/superuser/remove.rb +0 -23
- data/app/lib/actions/pulp/user/create.rb +0 -35
- data/app/lib/actions/pulp/user/destroy.rb +0 -27
- data/app/lib/katello/content_search/cell.rb +0 -29
- data/app/lib/katello/content_search/column.rb +0 -18
- data/app/lib/katello/content_search/container_search.rb +0 -55
- data/app/lib/katello/content_search/content_view_comparison.rb +0 -200
- data/app/lib/katello/content_search/content_view_search.rb +0 -69
- data/app/lib/katello/content_search/element.rb +0 -57
- data/app/lib/katello/content_search/metadata_row.rb +0 -35
- data/app/lib/katello/content_search/product_row.rb +0 -35
- data/app/lib/katello/content_search/product_search.rb +0 -60
- data/app/lib/katello/content_search/repo_row.rb +0 -33
- data/app/lib/katello/content_search/repo_search.rb +0 -68
- data/app/lib/katello/content_search/row.rb +0 -25
- data/app/lib/katello/content_search/search.rb +0 -45
- data/app/lib/katello/content_search/search_utils.rb +0 -33
- data/app/lib/katello/content_search/span.rb +0 -21
- data/app/lib/katello/content_search/unit_row.rb +0 -55
- data/app/lib/katello/dashboard/content_views_widget.rb +0 -30
- data/app/lib/katello/dashboard/errata_widget.rb +0 -30
- data/app/lib/katello/dashboard/host_collections_widget.rb +0 -30
- data/app/lib/katello/dashboard/layout.rb +0 -73
- data/app/lib/katello/dashboard/notices_widget.rb +0 -23
- data/app/lib/katello/dashboard/subscriptions_totals_widget.rb +0 -29
- data/app/lib/katello/dashboard/subscriptions_widget.rb +0 -25
- data/app/lib/katello/dashboard/sync_widget.rb +0 -30
- data/app/lib/katello/dashboard/widget.rb +0 -45
- data/app/lib/katello/notifications.rb +0 -17
- data/app/lib/katello/notifications/controller_helper.rb +0 -43
- data/app/lib/katello/notifications/notifier.rb +0 -190
- data/app/lib/katello/notify.rb +0 -16
- data/app/lib/katello/validators/default_info_validator.rb +0 -40
- data/app/models/katello/authorization.rb +0 -25
- data/app/models/katello/authorization/distributor.rb +0 -58
- data/app/models/katello/custom_info.rb +0 -64
- data/app/models/katello/distribution.rb +0 -32
- data/app/models/katello/distributor.rb +0 -136
- data/app/models/katello/glue/elastic_search/activation_key.rb +0 -37
- data/app/models/katello/glue/elastic_search/content_view.rb +0 -58
- data/app/models/katello/glue/elastic_search/content_view_filter.rb +0 -39
- data/app/models/katello/glue/elastic_search/content_view_puppet_environment.rb +0 -72
- data/app/models/katello/glue/elastic_search/content_view_puppet_module.rb +0 -41
- data/app/models/katello/glue/elastic_search/distribution.rb +0 -72
- data/app/models/katello/glue/elastic_search/distributor.rb +0 -63
- data/app/models/katello/glue/elastic_search/marketing_product.rb +0 -21
- data/app/models/katello/glue/elastic_search/notice.rb +0 -36
- data/app/models/katello/glue/elastic_search/package.rb +0 -233
- data/app/models/katello/glue/elastic_search/package_group.rb +0 -136
- data/app/models/katello/glue/elastic_search/pool.rb +0 -185
- data/app/models/katello/glue/elastic_search/product.rb +0 -59
- data/app/models/katello/glue/elastic_search/provider.rb +0 -41
- data/app/models/katello/glue/elastic_search/puppet_module.rb +0 -251
- data/app/models/katello/glue/elastic_search/repository.rb +0 -133
- data/app/models/katello/glue/pulp/distribution.rb +0 -50
- data/app/models/katello/glue/pulp/package.rb +0 -76
- data/app/models/katello/glue/pulp/package_group.rb +0 -60
- data/app/models/katello/glue/pulp/puppet_module.rb +0 -76
- data/app/models/katello/glue/pulp/user.rb +0 -59
- data/app/models/katello/help_tip.rb +0 -20
- data/app/models/katello/marketing_engineering_product.rb +0 -21
- data/app/models/katello/marketing_product.rb +0 -21
- data/app/models/katello/notice.rb +0 -77
- data/app/models/katello/package.rb +0 -19
- data/app/models/katello/search_favorite.rb +0 -38
- data/app/models/katello/search_history.rb +0 -22
- data/app/models/katello/user_notice.rb +0 -27
- data/app/models/repository_docker_image.rb +0 -18
- data/app/views/katello/api/v2/custom_info/show.json.rabl +0 -5
- data/app/views/katello/api/v2/distributions/index.json.rabl +0 -3
- data/app/views/katello/api/v2/distributions/show.json.rabl +0 -9
- data/app/views/katello/api/v2/distributors/index.json.rabl +0 -9
- data/app/views/katello/api/v2/distributors/pools.json.rabl +0 -3
- data/app/views/katello/api/v2/distributors/show.json.rabl +0 -3
- data/app/views/katello/api/v2/distributors/task.json.rabl +0 -3
- data/app/views/katello/api/v2/distributors/tasks.json.rabl +0 -3
- data/app/views/katello/api/v2/layouts/collection.json.haml +0 -3
- data/app/views/katello/api/v2/layouts/resource.json.haml +0 -5
- data/app/views/katello/api/v2/organization_default_info/apply_to_all.json.rabl +0 -3
- data/app/views/katello/api/v2/organization_default_info/create.json.rabl +0 -5
- data/app/views/katello/api/v2/users/list_owners.json.rabl +0 -4
- data/app/views/katello/api/v2/users/show.json.rabl +0 -12
- data/app/views/katello/common/400.html.haml +0 -5
- data/app/views/katello/common/403.html.haml +0 -10
- data/app/views/katello/common/404.html.haml +0 -7
- data/app/views/katello/common/500.html.haml +0 -15
- data/app/views/katello/common/_ajax_notices.haml +0 -5
- data/app/views/katello/common/_common_i18n.html.haml +0 -45
- data/app/views/katello/common/_common_product_repo_selector.html.haml +0 -65
- data/app/views/katello/common/_common_products.html.haml +0 -24
- data/app/views/katello/common/_config.html.haml +0 -8
- data/app/views/katello/common/_edit_i18n.html.haml +0 -12
- data/app/views/katello/common/_env_select.html.haml +0 -40
- data/app/views/katello/common/_filter_table.html.haml +0 -5
- data/app/views/katello/common/_footer.haml +0 -5
- data/app/views/katello/common/_helptip.html.haml +0 -3
- data/app/views/katello/common/_helptip_button.html.haml +0 -2
- data/app/views/katello/common/_list_item.html.haml +0 -6
- data/app/views/katello/common/_list_items.html.haml +0 -2
- data/app/views/katello/common/_list_remove.js.haml +0 -3
- data/app/views/katello/common/_list_update.html.haml +0 -4
- data/app/views/katello/common/_notification.haml +0 -29
- data/app/views/katello/common/_one_panel.html.haml +0 -15
- data/app/views/katello/common/_one_panel_list_item.haml +0 -5
- data/app/views/katello/common/_package_actions_i18n.html.haml +0 -7
- data/app/views/katello/common/_panel.html.haml +0 -75
- data/app/views/katello/common/_post_action_close_subpanel.js.haml +0 -2
- data/app/views/katello/common/_post_delete_close_subpanel.js.haml +0 -2
- data/app/views/katello/common/_repo_selector.html.haml +0 -27
- data/app/views/katello/common/_search.html.haml +0 -17
- data/app/views/katello/common/_stats_line.html.haml +0 -3
- data/app/views/katello/common/_tupane.html.haml +0 -10
- data/app/views/katello/content_search/_browser_box.html.haml +0 -132
- data/app/views/katello/content_search/_container_hover.html.haml +0 -26
- data/app/views/katello/content_search/_grid.html.haml +0 -60
- data/app/views/katello/content_search/_repo_hover.html.haml +0 -18
- data/app/views/katello/content_search/index.html.haml +0 -32
- data/app/views/katello/custom_info/_edit.html.haml +0 -32
- data/app/views/katello/dashboard/_ajax_entry.html.haml +0 -11
- data/app/views/katello/dashboard/_content_views.haml +0 -22
- data/app/views/katello/dashboard/_entry.html.haml +0 -9
- data/app/views/katello/dashboard/_errata.haml +0 -21
- data/app/views/katello/dashboard/_host_collection_item.html.haml +0 -19
- data/app/views/katello/dashboard/_host_collections.html.haml +0 -31
- data/app/views/katello/dashboard/_notices.html.haml +0 -11
- data/app/views/katello/dashboard/_subscriptions.haml +0 -47
- data/app/views/katello/dashboard/_subscriptions_totals.haml +0 -19
- data/app/views/katello/dashboard/_sync.haml +0 -37
- data/app/views/katello/dashboard/_systems.html.haml +0 -22
- data/app/views/katello/dashboard/index.html.haml +0 -25
- data/app/views/katello/distributor_events/_details.html.haml +0 -32
- data/app/views/katello/distributor_events/_event_items.html.haml +0 -27
- data/app/views/katello/distributor_events/_events.html.haml +0 -36
- data/app/views/katello/distributor_events/_more_events.html.haml +0 -3
- data/app/views/katello/distributors/_actions.html.haml +0 -23
- data/app/views/katello/distributors/_distributor_tupane_header_nav.html.haml +0 -10
- data/app/views/katello/distributors/_edit.html.haml +0 -73
- data/app/views/katello/distributors/_edit_custom_info.html.haml +0 -10
- data/app/views/katello/distributors/_list_distributor.html.haml +0 -2
- data/app/views/katello/distributors/_list_distributor_show.html.haml +0 -18
- data/app/views/katello/distributors/_list_distributors.html.haml +0 -1
- data/app/views/katello/distributors/_more_products.html.haml +0 -5
- data/app/views/katello/distributors/_new.html.haml +0 -43
- data/app/views/katello/distributors/_products.html.haml +0 -23
- data/app/views/katello/distributors/_subs.html.haml +0 -149
- data/app/views/katello/distributors/_subs_update.js.haml +0 -1
- data/app/views/katello/distributors/_subscription_details.html.haml +0 -23
- data/app/views/katello/distributors/_subscriptions.html.haml +0 -22
- data/app/views/katello/distributors/index.html.haml +0 -10
- data/app/views/katello/errata/_short_details.html.haml +0 -44
- data/app/views/katello/layouts/katello.haml +0 -32
- data/app/views/katello/layouts/tupane_layout.html.haml +0 -45
- data/app/views/katello/nodes/_list.html.haml +0 -5
- data/app/views/katello/nodes/index.html.haml +0 -1
- data/app/views/katello/nodes/show.html.haml +0 -7
- data/app/views/katello/notices/_delete_all.js.haml +0 -1
- data/app/views/katello/notices/show.html.haml +0 -46
- data/app/views/katello/packages/_changelog.html.haml +0 -15
- data/app/views/katello/packages/_dependencies.html.haml +0 -27
- data/app/views/katello/packages/_details.html.haml +0 -100
- data/app/views/katello/packages/_filelist.html.haml +0 -15
- data/app/views/katello/packages/_show.html.haml +0 -90
- data/app/views/katello/providers/index.html.haml +0 -17
- data/app/views/katello/providers/redhat/_enable_errors.haml +0 -9
- data/app/views/katello/providers/redhat/_errors.html.haml +0 -13
- data/app/views/katello/providers/redhat/_repo_sets.haml +0 -31
- data/app/views/katello/providers/redhat/_repos.html.haml +0 -23
- data/app/views/katello/providers/redhat/_tab.html.haml +0 -8
- data/app/views/katello/providers/redhat/show.html.haml +0 -23
- data/app/views/katello/puppet_modules/_show.html.haml +0 -88
- data/app/views/katello/sync_management/_children.html.haml +0 -13
- data/app/views/katello/sync_management/_controls.html.haml +0 -13
- data/app/views/katello/sync_management/_product.html.haml +0 -21
- data/app/views/katello/sync_management/_products.html.haml +0 -20
- data/app/views/katello/sync_management/_repo.html.haml +0 -27
- data/app/views/katello/sync_management/_sync_plans.html.haml +0 -16
- data/app/views/katello/sync_management/index.html.haml +0 -22
- data/app/views/katello/sync_management/manage.html.haml +0 -25
- data/app/views/katello/user_mailer/logins.text.haml +0 -3
- data/app/views/katello/welcome/show.html.haml +0 -15
- data/config/initializers/tire.rb +0 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/custom-info/custom-info.factory.js +0 -34
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/custom-info/custom-info.module.js +0 -24
- data/lib/headpin/headpin.rb +0 -6
- data/lib/katello/app_config.rb +0 -22
- data/lib/katello/configuration.rb +0 -70
- data/lib/katello/configuration/loader.rb +0 -128
- data/lib/katello/configuration/node.rb +0 -145
- data/lib/katello/configuration/validator.rb +0 -85
- data/lib/katello/load_configuration.rb +0 -95
- data/lib/katello/logging.rb +0 -245
- data/lib/katello/middleware/log_request_uuid.rb +0 -28
- data/lib/katello/middleware/silenced_logger.rb +0 -35
- data/lib/katello/permissions/dashboard_permissions.rb +0 -6
- data/lib/monkeys/string_to_bool.rb +0 -19
- data/lib/monkeys/yard_svg_fix.rb +0 -26
- data/lib/util/password.rb +0 -137
- data/vendor/assets/javascripts/katello/jquery.tipsy.js +0 -358
- data/vendor/assets/stylesheets/katello/jquery.timepickr.css +0 -40
- data/vendor/assets/stylesheets/katello/jquery.tipsy.css +0 -25
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
module Glue::Candlepin::Product
|
15
3
|
def self.included(base)
|
@@ -59,21 +47,6 @@ module Katello
|
|
59
47
|
raise e
|
60
48
|
end
|
61
49
|
|
62
|
-
def self.import_marketing_from_cp(attrs, engineering_product_ids, &block)
|
63
|
-
attrs = attrs.merge('name' => validate_name(attrs['name']), 'label' => Util::Model.labelize(attrs['name']))
|
64
|
-
|
65
|
-
product = MarketingProduct.new(attrs, &block)
|
66
|
-
product.orchestration_for = :import_from_cp_ar_setup
|
67
|
-
product.save!
|
68
|
-
engineering_product_ids.each do |engineering_product_id|
|
69
|
-
product.marketing_engineering_products.create(:engineering_product_id => engineering_product_id)
|
70
|
-
end
|
71
|
-
product
|
72
|
-
rescue => e
|
73
|
-
Rails.logger.error "Failed to create product #{attrs['name']}: #{e}, #{e.backtrace.join("\n")}"
|
74
|
-
raise e
|
75
|
-
end
|
76
|
-
|
77
50
|
module InstanceMethods
|
78
51
|
def initialize(attribs = nil, options = {})
|
79
52
|
unless attribs.nil?
|
@@ -0,0 +1,58 @@
|
|
1
|
+
module Katello
|
2
|
+
module Glue::Candlepin::Subscription
|
3
|
+
def self.included(base)
|
4
|
+
base.send :include, InstanceMethods
|
5
|
+
base.send :extend, ClassMethods
|
6
|
+
end
|
7
|
+
|
8
|
+
module ClassMethods
|
9
|
+
def candlepin_data(cp_id)
|
10
|
+
Katello::Resources::Candlepin::Subscription.get(cp_id)
|
11
|
+
end
|
12
|
+
|
13
|
+
def get_for_owner(organization = self.organization.label)
|
14
|
+
Katello::Resources::Candlepin::Subscription.get_for_owner(organization)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
module InstanceMethods
|
19
|
+
def backend_data
|
20
|
+
self.class.candlepin_data(self.cp_id)
|
21
|
+
end
|
22
|
+
|
23
|
+
def query_products
|
24
|
+
self.backend_data["providedProducts"]
|
25
|
+
end
|
26
|
+
|
27
|
+
def import_data
|
28
|
+
subscription_attributes = {}
|
29
|
+
subscription_json = self.backend_data
|
30
|
+
|
31
|
+
subscription_json["product"]["attributes"].map { |attr| subscription_attributes[attr["name"].to_sym] = attr["value"] }
|
32
|
+
|
33
|
+
subscription_attributes[:name] = subscription_json["product"]["name"]
|
34
|
+
subscription_attributes[:product_id] = subscription_json["product"]["id"]
|
35
|
+
subscription_attributes[:instance_multiplier] = subscription_json["product"]["multiplier"]
|
36
|
+
subscription_attributes[:stacking_id] = subscription_json["stackId"]
|
37
|
+
organization = Organization.find_by_label(subscription_json["owner"]["key"]) if subscription_json["owner"]
|
38
|
+
subscription_attributes[:organization_id] = organization.id if organization
|
39
|
+
|
40
|
+
exceptions = subscription_attributes.keys.map(&:to_sym) - self.attribute_names.map(&:to_sym)
|
41
|
+
self.update_attributes!(subscription_attributes.except!(*exceptions))
|
42
|
+
self.create_product_associations
|
43
|
+
end
|
44
|
+
|
45
|
+
def create_product_associations
|
46
|
+
products = self.query_products
|
47
|
+
cp_product_ids = products.map { |product| product["id"] }
|
48
|
+
cp_product_ids << self.product_id if self.product_id
|
49
|
+
cp_product_ids.each do |cp_id|
|
50
|
+
product = ::Katello::Product.where(:cp_id => cp_id)
|
51
|
+
if product.any?
|
52
|
+
::Katello::SubscriptionProduct.find_or_create_by_subscription_id_and_product_id(self.id, product.first.id)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -1,14 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
1
|
module Katello
|
13
2
|
module Glue::ElasticSearch::BackendIndexedModel
|
14
3
|
UPDATE_BATCH_SIZE = 200
|
@@ -27,14 +16,14 @@ module Katello
|
|
27
16
|
self.create_index
|
28
17
|
|
29
18
|
total = 0
|
30
|
-
pkgs = fetch_all(total,
|
19
|
+
pkgs = fetch_all(total, SETTINGS[:katello][:pulp][:bulk_load_size])
|
31
20
|
until pkgs.empty? #we can't know how many there are, so we have to keep looping until we get nothing
|
32
21
|
Tire.index(self.index) do
|
33
22
|
import pkgs
|
34
23
|
end
|
35
24
|
|
36
25
|
total += pkgs.length
|
37
|
-
pkgs = fetch_all(total,
|
26
|
+
pkgs = fetch_all(total, SETTINGS[:katello][:pulp][:bulk_load_size])
|
38
27
|
end
|
39
28
|
total
|
40
29
|
end
|
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
module Glue::ElasticSearch::ContentViewErratumFilterRule
|
15
3
|
extend ActiveSupport::Concern
|
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
module Glue::ElasticSearch::ContentViewHistory
|
15
3
|
extend ActiveSupport::Concern
|
@@ -25,7 +13,7 @@ module Katello
|
|
25
13
|
indexes :created_at, :type => 'date'
|
26
14
|
indexes :environment, :type => 'string'
|
27
15
|
indexes :content_view_id, :type => 'integer'
|
28
|
-
indexes :version, :type => '
|
16
|
+
indexes :version, :type => 'float'
|
29
17
|
indexes :user, :type => 'string'
|
30
18
|
end
|
31
19
|
end
|
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
module Glue::ElasticSearch::ContentViewPackageFilterRule
|
15
3
|
extend ActiveSupport::Concern
|
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
module Glue::ElasticSearch::ContentViewPackageGroupFilterRule
|
15
3
|
extend ActiveSupport::Concern
|
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
class Glue::ElasticSearch::FacetItem
|
15
3
|
attr_accessor :term, :count
|
@@ -1,43 +1,10 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
module Glue::ElasticSearch::HostCollection
|
15
3
|
def self.included(base)
|
16
|
-
base.send :include, Ext::IndexedModel
|
17
|
-
|
18
4
|
base.class_eval do
|
19
|
-
update_related_indexes :systems, :name
|
20
|
-
|
21
5
|
add_system_hook lambda { |system| system.update_host_collections }
|
22
6
|
remove_system_hook lambda { |system| system.update_host_collections }
|
23
|
-
|
24
|
-
index_options :extended_json => :extended_index_attrs,
|
25
|
-
:json => {:only => [:id, :organization_id, :name, :description, :max_content_hosts]},
|
26
|
-
:display_attrs => [:name, :description, :system]
|
27
|
-
|
28
|
-
mapping do
|
29
|
-
indexes :name, :type => 'string', :analyzer => :kt_name_analyzer
|
30
|
-
indexes :description, :type => 'string', :analyzer => :kt_name_analyzer
|
31
|
-
indexes :name_sort, :type => 'string', :index => :not_analyzed
|
32
|
-
indexes :name_autocomplete, :type => 'string', :analyzer => 'autcomplete_name_analyzer'
|
33
|
-
end
|
34
7
|
end
|
35
8
|
end
|
36
|
-
|
37
|
-
def extended_index_attrs
|
38
|
-
{:name_sort => name.downcase, :name_autocomplete => self.name,
|
39
|
-
:system => self.systems.collect { |s| s.name }
|
40
|
-
}
|
41
|
-
end
|
42
9
|
end
|
43
10
|
end
|
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
module Glue
|
15
3
|
module ElasticSearch
|
@@ -69,7 +57,7 @@ module Katello
|
|
69
57
|
|
70
58
|
if query_string.blank?
|
71
59
|
all_rows = true
|
72
|
-
elsif search_options[:simple_query] && !
|
60
|
+
elsif search_options[:simple_query] && !SETTINGS[:katello][:simple_search_tokens].any? { |s| search.downcase.match(s) }
|
73
61
|
query_string = search_options[:simple_query]
|
74
62
|
end
|
75
63
|
|
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
module Glue::ElasticSearch::Job
|
15
3
|
def self.included(base)
|
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
# Comments below are meant to describe in detail how to use elasticsearch (ES) properly. Systems
|
14
2
|
# are most commonly used as a reference for adding other model/view/controllers to katello.
|
15
3
|
|
@@ -51,7 +39,6 @@ module Katello
|
|
51
39
|
:host_collection,
|
52
40
|
:activation_key,
|
53
41
|
:installed_products,
|
54
|
-
"custom_info.KEYNAME",
|
55
42
|
:content_view,
|
56
43
|
:memory,
|
57
44
|
:sockets,
|
@@ -69,15 +56,6 @@ module Katello
|
|
69
56
|
:analyzer => "kt_name_analyzer"
|
70
57
|
}
|
71
58
|
}
|
72
|
-
},
|
73
|
-
{
|
74
|
-
"custom_info_string" => {
|
75
|
-
:path_match => "custom_info.*",
|
76
|
-
:mapping => {
|
77
|
-
:type => "string",
|
78
|
-
:analyzer => "kt_name_analyzer"
|
79
|
-
}
|
80
|
-
}
|
81
59
|
}
|
82
60
|
]
|
83
61
|
|
@@ -105,8 +83,6 @@ module Katello
|
|
105
83
|
indexes :uuid, :type => 'string', :analyzer => :kt_name_analyzer
|
106
84
|
indexes :facts, :path => "just_name" do
|
107
85
|
end
|
108
|
-
indexes :custom_info, :path => "just_name" do
|
109
|
-
end
|
110
86
|
indexes :status, :type => 'string'
|
111
87
|
|
112
88
|
# Sortable attributes
|
@@ -135,7 +111,6 @@ module Katello
|
|
135
111
|
:activation_key_ids => self.activation_key_ids,
|
136
112
|
:installed_products => collect_installed_product_names,
|
137
113
|
:sockets => self.sockets,
|
138
|
-
:custom_info => collect_custom_info,
|
139
114
|
:content_view => self.content_view.try(:name),
|
140
115
|
:environment => self.environment.try(:name),
|
141
116
|
:status => self.compliance_color,
|
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
module Katello
|
14
2
|
module Glue::ElasticSearch::TaskStatus
|
15
3
|
def self.included(base)
|
@@ -1,15 +1,3 @@
|
|
1
|
-
#
|
2
|
-
# Copyright 2014 Red Hat, Inc.
|
3
|
-
#
|
4
|
-
# This software is licensed to you under the GNU General Public
|
5
|
-
# License as published by the Free Software Foundation; either version
|
6
|
-
# 2 of the License (GPLv2) or (at your option) any later version.
|
7
|
-
# There is NO WARRANTY for this software, express or implied,
|
8
|
-
# including the implied warranties of MERCHANTABILITY,
|
9
|
-
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
|
10
|
-
# have received a copy of GPLv2 along with this software; if not, see
|
11
|
-
# http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
|
12
|
-
|
13
1
|
# rubocop:disable SymbolName
|
14
2
|
module Katello
|
15
3
|
module Glue::Provider
|
@@ -28,9 +16,8 @@ module Katello
|
|
28
16
|
queue_import_manifest options
|
29
17
|
end
|
30
18
|
|
31
|
-
def delete_manifest
|
32
|
-
|
33
|
-
queue_delete_manifest(options)
|
19
|
+
def delete_manifest
|
20
|
+
queue_delete_manifest
|
34
21
|
end
|
35
22
|
|
36
23
|
def refresh_manifest(upstream, options = {})
|
@@ -65,28 +52,20 @@ module Katello
|
|
65
52
|
statuses = self.products.reject { |r| r.empty? }.map { |r| r.sync_status }
|
66
53
|
return PulpSyncStatus.new(:state => PulpSyncStatus::Status::NOT_SYNCED) if statuses.empty?
|
67
54
|
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
#else if any of repos sync cancelled -> provider sync cancelled
|
77
|
-
idx = statuses.index { |r| r.state.to_s == PulpSyncStatus::Status::CANCELED.to_s }
|
78
|
-
return statuses[idx] unless idx.nil?
|
79
|
-
|
80
|
-
#else if any of repos sync finished with error -> provider sync finished with error
|
81
|
-
idx = statuses.index { |r| r.state.to_s == PulpSyncStatus::Status::ERROR.to_s }
|
82
|
-
return statuses[idx] unless idx.nil?
|
55
|
+
[PulpSyncStatus::Status::RUNNING,
|
56
|
+
PulpSyncStatus::Status::NOT_SYNCED,
|
57
|
+
PulpSyncStatus::Status::CANCELED,
|
58
|
+
PulpSyncStatus::Status::ERROR].each do |interesting_status|
|
59
|
+
relevant_status = statuses.find { |s| s[:state].to_s == interesting_status.to_s }
|
60
|
+
return relevant_status if relevant_status
|
61
|
+
end
|
83
62
|
|
84
63
|
#else -> all finished
|
85
64
|
return statuses[0]
|
86
65
|
end
|
87
66
|
|
88
67
|
def sync_state
|
89
|
-
self.sync_status
|
68
|
+
self.sync_status[:state]
|
90
69
|
end
|
91
70
|
|
92
71
|
def sync_start
|
@@ -124,13 +103,6 @@ module Katello
|
|
124
103
|
sync_times.last
|
125
104
|
end
|
126
105
|
|
127
|
-
def cancel_sync
|
128
|
-
Rails.logger.debug "Cancelling synchronization of provider #{name}"
|
129
|
-
self.products.each do |p|
|
130
|
-
p.cancel_sync
|
131
|
-
end
|
132
|
-
end
|
133
|
-
|
134
106
|
def url_to_host_and_path(url = "")
|
135
107
|
parsed = URI.parse(url)
|
136
108
|
["#{parsed.scheme}://#{parsed.host}#{ parsed.port ? ':' + parsed.port.to_s : '' }", parsed.path]
|
@@ -138,11 +110,7 @@ module Katello
|
|
138
110
|
|
139
111
|
def del_products
|
140
112
|
Rails.logger.debug "Deleting all products for provider: #{name}"
|
141
|
-
|
142
|
-
# and they take care of deleting product <-> content association in CP
|
143
|
-
# for themselves.
|
144
|
-
self.products.where("type = 'MarketingProduct'").uniq.each(&:destroy)
|
145
|
-
self.products.where("type <> 'MarketingProduct'").uniq.each(&:destroy)
|
113
|
+
self.products.uniq.each(&:destroy)
|
146
114
|
true
|
147
115
|
rescue => e
|
148
116
|
Rails.logger.error "Failed to delete all products for provider #{name}: #{e}, #{e.backtrace.join("\n")}"
|
@@ -217,6 +185,10 @@ module Katello
|
|
217
185
|
Resources::Candlepin::Owner.imports self.organization.label
|
218
186
|
end
|
219
187
|
|
188
|
+
def import_logger
|
189
|
+
::Foreman::Logging.logger('katello/manifest_import_logger')
|
190
|
+
end
|
191
|
+
|
220
192
|
# TODO: break up method
|
221
193
|
def queue_import_manifest(options) # rubocop:disable MethodLength
|
222
194
|
options = options.with_indifferent_access
|
@@ -227,13 +199,7 @@ module Katello
|
|
227
199
|
#are we refreshing from upstream?
|
228
200
|
manifest_refresh = options['zip_file_path'].nil?
|
229
201
|
|
230
|
-
|
231
|
-
import_logger = ::Logging.logger['manifest_import_logger']
|
232
|
-
import_logger.additive = false
|
233
|
-
import_logger.add_appenders(output)
|
234
|
-
|
235
|
-
options.merge!(:import_logger => import_logger)
|
236
|
-
[Rails.logger, import_logger].each { |l| l.debug "Importing manifest for provider #{self.name}" }
|
202
|
+
import_logger.debug "Importing manifest for provider #{self.name}"
|
237
203
|
|
238
204
|
begin
|
239
205
|
if manifest_refresh
|
@@ -253,13 +219,13 @@ module Katello
|
|
253
219
|
:priority => 4, :action => [self, :owner_import, zip_file_path, options],
|
254
220
|
:action_rollback => [self, :del_owner_import])
|
255
221
|
pre_queue.create(:name => "import of products in manifest #{zip_file_path}",
|
256
|
-
:priority => 5, :action => [self, :import_products_from_cp
|
222
|
+
:priority => 5, :action => [self, :import_products_from_cp])
|
257
223
|
pre_queue.create(:name => "refresh product repos",
|
258
|
-
:priority => 6, :action => [self, :refresh_existing_products]) if manifest_update &&
|
224
|
+
:priority => 6, :action => [self, :refresh_existing_products]) if manifest_update && SETTINGS[:katello][:use_pulp]
|
259
225
|
|
260
226
|
self.save!
|
261
227
|
rescue => error
|
262
|
-
display_manifest_message(manifest_refresh ? 'refresh' : 'import', error
|
228
|
+
display_manifest_message(manifest_refresh ? 'refresh' : 'import', error)
|
263
229
|
raise error
|
264
230
|
end
|
265
231
|
end
|
@@ -269,8 +235,7 @@ module Katello
|
|
269
235
|
end
|
270
236
|
|
271
237
|
# TODO: break up method
|
272
|
-
def import_products_from_cp
|
273
|
-
import_logger = options[:import_logger]
|
238
|
+
def import_products_from_cp # rubocop:disable MethodLength
|
274
239
|
product_in_katello_ids = self.organization.providers.redhat.first.products.pluck("cp_id")
|
275
240
|
products_in_candlepin_ids = []
|
276
241
|
|
@@ -284,32 +249,23 @@ module Katello
|
|
284
249
|
adjusted_eng_products = []
|
285
250
|
added_eng_products.each do |product_attrs|
|
286
251
|
begin
|
287
|
-
product_attrs.merge!(:import_logger => import_logger)
|
288
|
-
|
289
252
|
Glue::Candlepin::Product.import_from_cp(product_attrs) do |p|
|
290
253
|
p.provider = self
|
291
254
|
p.organization_id = self.organization.id
|
292
255
|
end
|
293
256
|
adjusted_eng_products << product_attrs
|
294
|
-
|
295
|
-
import_logger.info "import of product '#{product_attrs["name"]}' from Candlepin OK"
|
296
|
-
end
|
257
|
+
import_logger.info "import of product '#{product_attrs["name"]}' from Candlepin OK"
|
297
258
|
rescue Errors::SecurityViolation => e
|
298
259
|
# Do not add non-accessible products
|
299
|
-
|
300
|
-
|
301
|
-
logger.info "import of product '#{product_attrs["name"]}' from Candlepin failed"
|
302
|
-
import_logger.info e
|
303
|
-
end
|
260
|
+
logger.info "import of product '#{product_attrs["name"]}' from Candlepin failed"
|
261
|
+
import_logger.info e
|
304
262
|
end
|
305
263
|
end
|
306
264
|
|
307
265
|
product_in_katello_ids.concat(adjusted_eng_products.map { |p| p["id"] })
|
308
266
|
|
309
267
|
unless product_in_katello_ids.include?(marketing_product_id)
|
310
|
-
|
311
|
-
where(:cp_id => engineering_product_ids).pluck("#{Katello::Product.table_name}.id")
|
312
|
-
Glue::Candlepin::Product.import_marketing_from_cp(Resources::Candlepin::Product.get(marketing_product_id)[0], engineering_product_in_katello_ids) do |p|
|
268
|
+
Glue::Candlepin::Product.import_from_cp(Resources::Candlepin::Product.get(marketing_product_id)[0]) do |p|
|
313
269
|
p.provider = self
|
314
270
|
p.organization_id = self.organization.id
|
315
271
|
end
|
@@ -353,45 +309,28 @@ module Katello
|
|
353
309
|
end
|
354
310
|
|
355
311
|
def index_subscriptions
|
356
|
-
|
357
|
-
|
358
|
-
subscriptions = cp_pools.collect { |cp_pool| Katello::Pool.find_pool(cp_pool['id'], cp_pool) }
|
359
|
-
else
|
360
|
-
subscriptions = []
|
361
|
-
end
|
362
|
-
|
363
|
-
Katello::Pool.index_pools(subscriptions, [{:term => {:org => self.organization.label}}])
|
364
|
-
subscriptions
|
312
|
+
Katello::Subscription.import_all
|
313
|
+
Katello::Pool.import_all
|
365
314
|
end
|
366
315
|
|
367
316
|
def rollback_delete_manifest
|
368
317
|
# Nothing to be done until implemented in katello where possible pulp recovery actions should be done(?)
|
369
318
|
end
|
370
319
|
|
371
|
-
def queue_delete_manifest
|
372
|
-
|
373
|
-
import_logger = Logger.new(output)
|
374
|
-
options.merge!(:import_logger => import_logger)
|
375
|
-
[Rails.logger, import_logger].each { |l| l.debug "Deleting manifest for provider #{self.name}" }
|
320
|
+
def queue_delete_manifest
|
321
|
+
import_logger.debug "Deleting manifest for provider #{self.name}"
|
376
322
|
|
377
323
|
begin
|
378
324
|
pre_queue.create(:name => "delete manifest for owner: #{self.organization.name}",
|
379
325
|
:priority => 3, :action => [self, :exec_delete_manifest],
|
380
326
|
:action_rollback => [self, :rollback_delete_manifest])
|
381
|
-
if
|
327
|
+
if SETTINGS[:katello][:use_pulp]
|
382
328
|
pre_queue.create(:name => "refresh product repos for deletion",
|
383
329
|
:priority => 6, :action => [self, :refresh_existing_products])
|
384
330
|
end
|
385
331
|
self.save!
|
386
|
-
|
387
|
-
if options[:notify]
|
388
|
-
message = _("Subscription manifest deleted successfully for provider '%s'.")
|
389
|
-
Notify.success message % self.name,
|
390
|
-
:request_type => 'providers__update_redhat_provider',
|
391
|
-
:organization => self.organization
|
392
|
-
end
|
393
332
|
rescue => error
|
394
|
-
display_manifest_message('delete', error
|
333
|
+
display_manifest_message('delete', error)
|
395
334
|
raise error
|
396
335
|
end
|
397
336
|
end
|
@@ -409,7 +348,7 @@ module Katello
|
|
409
348
|
# Display appropriate messages when manifest import or delete fails
|
410
349
|
# TODO: break up this method
|
411
350
|
# rubocop:disable MethodLength
|
412
|
-
def display_manifest_message(type, error
|
351
|
+
def display_manifest_message(type, error)
|
413
352
|
# Clean up response from candlepin
|
414
353
|
types = {'import' => _('import'), 'delete' => _('delete'), 'refresh' => _('refresh')} # For i18n
|
415
354
|
begin
|
@@ -425,38 +364,8 @@ module Katello
|
|
425
364
|
end
|
426
365
|
|
427
366
|
Rails.logger.error "Error during manifest #{type}: #{results}"
|
428
|
-
|
429
|
-
if options[:notify]
|
430
|
-
|
431
|
-
# For MANIFEST_SAME simply inform that no action was taken
|
432
|
-
if !results['conflicts'].nil? && results['conflicts'].include?('MANIFEST_SAME')
|
433
|
-
error_texts = [
|
434
|
-
_("Subscription manifest import for provider '%s' skipped") % self.name,
|
435
|
-
_("Reason: %s") % _("Manifest subscriptions unchanged from previous")
|
436
|
-
]
|
437
|
-
error_texts.join('<br />')
|
438
|
-
Notify.message(error_texts, :request_type => 'providers__update_redhat_provider',
|
439
|
-
:organization => self.organization)
|
440
|
-
else
|
441
|
-
error_texts = []
|
442
|
-
|
443
|
-
error_texts << _("Subscription manifest %{action} for provider '%{name}' failed") % {:action => types[type], :name => self.name}
|
444
|
-
error_texts << (_("Reason: %s") % results['displayMessage']) unless results['displayMessage'].blank?
|
445
|
-
error_texts.join('<br />')
|
446
|
-
|
447
|
-
Notify.error(error_texts, :request_type => 'providers__update_redhat_provider',
|
448
|
-
:organization => self.organization)
|
449
|
-
end
|
450
|
-
end
|
451
367
|
end
|
452
368
|
|
453
|
-
# There are two types of products in Candlepin: marketing and engineering.
|
454
|
-
# When promoting, we care only about the engineering products. These are
|
455
|
-
# the products that content/repos are assigned to. The marketing product is
|
456
|
-
# that one that subscriptions are assigned to. Between marketing and
|
457
|
-
# engineering products is M:N relation (see MarketingEngineeringProduct
|
458
|
-
# model)
|
459
|
-
#
|
460
369
|
# When a subscription is defined as a virtual data center subscription,
|
461
370
|
# its pools will have a seperate 'derived' marketing product and a seperate set
|
462
371
|
# of 'derived' engineering products. These products become the marketing and
|