katello 4.13.1 → 4.14.0.rc1.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of katello might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/assets/javascripts/katello/hosts/host_and_hostgroup_edit.js +12 -8
- data/app/assets/javascripts/katello/locale/bn/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/bn_IN/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/ca/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/cs/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/cs_CZ/katello.js +275 -23
- data/app/assets/javascripts/katello/locale/de/katello.js +280 -28
- data/app/assets/javascripts/katello/locale/de_AT/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/de_DE/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/el/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/en/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/en_GB/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/en_US/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/es/katello.js +276 -24
- data/app/assets/javascripts/katello/locale/et_EE/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/fr/katello.js +283 -31
- data/app/assets/javascripts/katello/locale/gl/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/gu/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/he_IL/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/hi/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/id/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/it/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/ja/katello.js +283 -31
- data/app/assets/javascripts/katello/locale/ka/katello.js +280 -28
- data/app/assets/javascripts/katello/locale/kn/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/ko/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/ml_IN/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/mr/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/nl_NL/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/or/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/pa/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/pl/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/pl_PL/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/pt/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/pt_BR/katello.js +276 -24
- data/app/assets/javascripts/katello/locale/ro/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/ro_RO/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/ru/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/sl/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/sv_SE/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/ta/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/ta_IN/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/te/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/tr/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/vi/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/vi_VN/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/zh/katello.js +274 -22
- data/app/assets/javascripts/katello/locale/zh_CN/katello.js +283 -31
- data/app/assets/javascripts/katello/locale/zh_TW/katello.js +274 -22
- data/app/controllers/katello/api/registry/registry_proxies_controller.rb +118 -74
- data/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb +15 -10
- data/app/controllers/katello/api/v2/activation_keys_controller.rb +1 -1
- data/app/controllers/katello/api/v2/api_controller.rb +7 -0
- data/app/controllers/katello/api/v2/content_view_versions_controller.rb +4 -4
- data/app/controllers/katello/api/v2/debs_controller.rb +3 -2
- data/app/controllers/katello/api/v2/environments_controller.rb +2 -4
- data/app/controllers/katello/api/v2/host_contents_controller.rb +8 -3
- data/app/controllers/katello/api/v2/host_errata_controller.rb +4 -4
- data/app/controllers/katello/api/v2/host_packages_controller.rb +2 -2
- data/app/controllers/katello/api/v2/organizations_controller.rb +1 -1
- data/app/controllers/katello/api/v2/packages_controller.rb +13 -3
- data/app/controllers/katello/api/v2/repositories_bulk_actions_controller.rb +6 -2
- data/app/controllers/katello/api/v2/repositories_controller.rb +3 -4
- data/app/controllers/katello/api/v2/repository_sets_controller.rb +13 -14
- data/app/controllers/katello/api/v2/subscriptions_controller.rb +15 -9
- data/app/controllers/katello/api/v2/sync_controller.rb +2 -2
- data/app/controllers/katello/application_controller.rb +1 -1
- data/app/controllers/katello/concerns/api/v2/authorization.rb +3 -2
- data/app/controllers/katello/concerns/api/v2/hosts_controller_extensions.rb +28 -0
- data/app/controllers/katello/concerns/api/v2/registration_commands_controller_extensions.rb +1 -1
- data/app/controllers/katello/concerns/api/v2/registration_controller_extensions.rb +4 -0
- data/app/controllers/katello/concerns/api/v2/repository_content_controller.rb +4 -3
- data/app/controllers/katello/concerns/hosts_controller_extensions.rb +2 -4
- data/app/controllers/katello/remote_execution_controller.rb +53 -58
- data/app/helpers/katello/hosts_and_hostgroups_helper.rb +19 -2
- data/app/helpers/katello/katello_urls_helper.rb +1 -1
- data/app/lib/actions/katello/alternate_content_source/alternate_content_source_common.rb +1 -1
- data/app/lib/actions/katello/alternate_content_source/update.rb +2 -1
- data/app/lib/actions/katello/capsule_content/verify_checksum.rb +1 -2
- data/app/lib/actions/katello/content_view/publish.rb +1 -0
- data/app/lib/actions/katello/content_view_version/create_repos.rb +1 -0
- data/app/lib/actions/katello/content_view_version/incremental_update.rb +3 -2
- data/app/lib/actions/katello/environment/{publish_repositories.rb → publish_container_repositories.rb} +10 -8
- data/app/lib/actions/katello/foreman/content_update.rb +4 -6
- data/app/lib/actions/katello/host/hypervisors_update.rb +6 -4
- data/app/lib/actions/katello/repository/create.rb +4 -4
- data/app/lib/actions/katello/repository/import_upload.rb +4 -6
- data/app/lib/actions/katello/repository/metadata_generate.rb +1 -0
- data/app/lib/actions/katello/repository/update.rb +3 -3
- data/app/lib/actions/katello/repository_set/enable_repository.rb +5 -6
- data/app/lib/actions/middleware/backend_services_check.rb +3 -2
- data/app/lib/actions/pulp3/abstract_async_task.rb +2 -4
- data/app/lib/actions/pulp3/capsule_content/verify_checksum.rb +1 -2
- data/app/lib/actions/pulp3/orchestration/repository/copy_all_units.rb +5 -1
- data/app/lib/actions/pulp3/orchestration/repository/delete.rb +5 -2
- data/app/lib/actions/pulp3/repository/save_version.rb +3 -5
- data/app/lib/katello/concerns/base_template_scope_extensions.rb +5 -9
- data/app/lib/katello/errors.rb +1 -0
- data/app/lib/katello/http_resource.rb +1 -0
- data/app/lib/katello/lazy_accessor.rb +1 -1
- data/app/lib/katello/resources/candlepin/candlepin_ping.rb +0 -5
- data/app/lib/katello/resources/candlepin/owner.rb +1 -1
- data/app/lib/katello/resources/candlepin/pool.rb +1 -2
- data/app/lib/katello/resources/candlepin/upstream_job.rb +1 -1
- data/app/lib/katello/resources/cdn.rb +3 -2
- data/app/lib/katello/resources/discovery/yum.rb +3 -3
- data/app/lib/katello/util/cdn_var_substitutor.rb +5 -3
- data/app/lib/katello/util/data.rb +3 -2
- data/app/lib/katello/util/errata.rb +4 -3
- data/app/lib/katello/util/package.rb +3 -3
- data/app/lib/katello/util/path_with_substitutions.rb +1 -1
- data/app/lib/katello/util/report_table.rb +3 -2
- data/app/lib/katello/util/url_matcher.rb +1 -1
- data/app/lib/katello/validators/alternate_content_source_path_validator.rb +4 -3
- data/app/lib/katello/validators/alternate_content_source_products_validator.rb +5 -7
- data/app/lib/katello/validators/container_image_name_validator.rb +1 -1
- data/app/lib/katello/validators/katello_name_format_validator.rb +2 -2
- data/app/lib/katello/validators/no_trailing_space_validator.rb +2 -2
- data/app/lib/katello/validators/prior_validator.rb +2 -2
- data/app/lib/katello/validators/product_unique_attribute_validator.rb +2 -4
- data/app/models/katello/activation_key.rb +4 -6
- data/app/models/katello/alternate_content_source.rb +1 -1
- data/app/models/katello/authorization/host_tracer.rb +1 -2
- data/app/models/katello/authorization/product.rb +1 -1
- data/app/models/katello/candlepin/repository_mapper.rb +2 -2
- data/app/models/katello/concerns/host_managed_extensions.rb +41 -10
- data/app/models/katello/concerns/hostgroup_extensions.rb +2 -4
- data/app/models/katello/concerns/location_extensions.rb +2 -4
- data/app/models/katello/concerns/operatingsystem_extensions.rb +84 -16
- data/app/models/katello/concerns/smart_proxy_extensions.rb +4 -4
- data/app/models/katello/concerns/subscription_facet_host_extensions.rb +2 -0
- data/app/models/katello/content_view.rb +5 -1
- data/app/models/katello/content_view_environment.rb +19 -4
- data/app/models/katello/content_view_environment_content_facet.rb +11 -0
- data/app/models/katello/erratum.rb +1 -1
- data/app/models/katello/event.rb +1 -1
- data/app/models/katello/glue/provider.rb +1 -2
- data/app/models/katello/hash_util.rb +1 -1
- data/app/models/katello/host/content_facet.rb +16 -3
- data/app/models/katello/host/subscription_facet.rb +27 -4
- data/app/models/katello/host_collection.rb +12 -8
- data/app/models/katello/pool.rb +5 -1
- data/app/models/katello/product.rb +7 -4
- data/app/models/katello/provider.rb +1 -2
- data/app/models/katello/repository.rb +18 -4
- data/app/models/katello/root_repository.rb +19 -0
- data/app/models/katello/rpm.rb +2 -2
- data/app/models/katello/subscription_facet_pool.rb +1 -1
- data/app/models/katello/sync_plan.rb +5 -4
- data/app/models/katello/task_status.rb +18 -18
- data/app/presenters/katello/product_host_count_presenter.rb +10 -0
- data/app/services/katello/candlepin/consumer.rb +11 -11
- data/app/services/katello/candlepin/message_handler.rb +3 -2
- data/app/services/katello/content_unit_indexer.rb +6 -0
- data/app/services/katello/pulp3/alternate_content_source.rb +1 -3
- data/app/services/katello/pulp3/api/core.rb +1 -1
- data/app/services/katello/pulp3/api/docker.rb +10 -0
- data/app/services/katello/pulp3/content_view_version/export.rb +1 -0
- data/app/services/katello/pulp3/content_view_version/import.rb +6 -4
- data/app/services/katello/pulp3/content_view_version/importable_products.rb +1 -3
- data/app/services/katello/pulp3/repository/apt.rb +4 -16
- data/app/services/katello/pulp3/repository/yum.rb +9 -5
- data/app/services/katello/pulp3/repository.rb +2 -2
- data/app/services/katello/pulp3/repository_mirror.rb +2 -9
- data/app/services/katello/pulp3/task.rb +4 -2
- data/app/services/katello/registration_manager.rb +13 -3
- data/app/services/katello/smart_proxy_helper.rb +1 -0
- data/app/views/dashboard/_host_collection_widget.html.erb +5 -4
- data/app/views/foreman/job_templates/install_errata.erb +2 -0
- data/app/views/foreman/job_templates/install_errata_-_katello_ansible_default.erb +2 -0
- data/app/views/foreman/job_templates/install_errata_by_search_query.erb +2 -0
- data/app/views/foreman/job_templates/install_errata_by_search_query_-_katello_ansible_default.erb +3 -1
- data/app/views/foreman/job_templates/install_packages_by_search_query_-_katello_ansible_default.erb +1 -1
- data/app/views/foreman/job_templates/remove_packages_by_search_query_-_katello_ansible_default.erb +2 -2
- data/app/views/foreman/job_templates/resolve_traces.erb +5 -1
- data/app/views/foreman/job_templates/update_packages_by_search_query_-_katello_ansible_default.erb +1 -1
- data/app/views/foreman/job_templates/upload_profile.erb +2 -0
- data/app/views/foreman/smart_proxies/_reclaim_space.html.erb +7 -5
- data/app/views/katello/api/v2/content_facet/base.json.rabl +18 -2
- data/app/views/katello/api/v2/packages/thindex.json.rabl +6 -0
- data/app/views/katello/api/v2/repositories/show.json.rabl +8 -8
- data/app/views/katello/api/v2/repository_sets/show.json.rabl +1 -1
- data/app/views/katello/api/v2/subscription_facet/base.json.rabl +1 -1
- data/app/views/katello/api/v2/subscriptions/index.json.rabl +1 -0
- data/app/views/katello/api/v2/subscriptions/show.json.rabl +1 -0
- data/app/views/overrides/activation_keys/_host_environment_select.html.erb +14 -11
- data/app/views/overrides/activation_keys/_host_synced_content_select.html.erb +4 -4
- data/config/routes/api/v2.rb +3 -1
- data/config/routes.rb +1 -3
- data/db/migrate/20160114200145_add_mirror_on_sync_to_repositories.rb +1 -0
- data/db/migrate/20160131182301_add_download_policy_to_katello_repositories.rb +1 -0
- data/db/migrate/20210119162528_delete_puppet_and_ostree_repos.rb +3 -0
- data/db/migrate/20240522165308_add_priority_to_content_view_environment_content_facet.rb +5 -0
- data/db/migrate/20240621121212_katello_repository_debs_id_bigint.rb +6 -0
- data/db/migrate/20240729192228_add_convert2rhel_to_host_facets.rb +9 -0
- data/db/seeds.d/102-organizations.rb +5 -7
- data/db/seeds.d/150-module_job_templates.rb +7 -9
- data/db/seeds.d/75-job_templates.rb +9 -16
- data/engines/bastion_katello/README.md +3 -0
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/content-hosts/content/content-host-errata.controller.js +3 -3
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/debs/details/views/deb-info.html +6 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/errata/details/views/erratum-content-hosts.html +2 -2
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/i18n/bastion_katello.pot +4 -4
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/packages/details/views/package-info.html +6 -6
- data/engines/bastion_katello/app/assets/javascripts/bastion_katello/products/details/repositories/details/views/repository-info.html +28 -27
- data/engines/bastion_katello/lib/bastion_katello/engine.rb +2 -2
- data/lib/katello/engine.rb +1 -8
- data/lib/katello/permission_creator.rb +3 -2
- data/lib/katello/plugin.rb +31 -27
- data/lib/katello/tasks/clean_old_file_repos.rake +2 -4
- data/lib/katello/tasks/reset.rake +3 -4
- data/lib/katello/version.rb +1 -1
- data/lib/katello.rb +0 -2
- data/lib/monkeys/ar_postgres_evr_t.rb +2 -0
- data/locale/action_names.rb +1 -1
- data/locale/bn/katello.po +274 -22
- data/locale/bn_IN/katello.po +274 -22
- data/locale/ca/katello.po +274 -22
- data/locale/cs/katello.po +274 -22
- data/locale/cs_CZ/katello.po +275 -23
- data/locale/de/katello.po +280 -28
- data/locale/de_AT/katello.po +274 -22
- data/locale/de_DE/katello.po +274 -22
- data/locale/el/katello.po +274 -22
- data/locale/en/katello.po +274 -22
- data/locale/en_GB/katello.po +274 -22
- data/locale/en_US/katello.po +274 -22
- data/locale/es/katello.po +276 -24
- data/locale/et_EE/katello.po +274 -22
- data/locale/fr/katello.po +283 -31
- data/locale/gl/katello.po +274 -22
- data/locale/gu/katello.po +274 -22
- data/locale/he_IL/katello.po +274 -22
- data/locale/hi/katello.po +274 -22
- data/locale/id/katello.po +274 -22
- data/locale/it/katello.po +274 -22
- data/locale/ja/katello.po +283 -31
- data/locale/ka/katello.po +280 -28
- data/locale/katello.pot +1001 -527
- data/locale/kn/katello.po +274 -22
- data/locale/ko/katello.po +274 -22
- data/locale/ml_IN/katello.po +274 -22
- data/locale/mr/katello.po +274 -22
- data/locale/nl_NL/katello.po +274 -22
- data/locale/or/katello.po +274 -22
- data/locale/pa/katello.po +274 -22
- data/locale/pl/katello.po +274 -22
- data/locale/pl_PL/katello.po +274 -22
- data/locale/pt/katello.po +274 -22
- data/locale/pt_BR/katello.po +276 -24
- data/locale/ro/katello.po +274 -22
- data/locale/ro_RO/katello.po +274 -22
- data/locale/ru/katello.po +274 -22
- data/locale/sl/katello.po +274 -22
- data/locale/sv_SE/katello.po +274 -22
- data/locale/ta/katello.po +274 -22
- data/locale/ta_IN/katello.po +274 -22
- data/locale/te/katello.po +274 -22
- data/locale/tr/katello.po +274 -22
- data/locale/vi/katello.po +274 -22
- data/locale/vi_VN/katello.po +274 -22
- data/locale/zh/katello.po +274 -22
- data/locale/zh_CN/katello.po +283 -31
- data/locale/zh_TW/katello.po +274 -22
- data/webpack/ForemanColumnExtensions/index.js +44 -1
- data/webpack/components/Table/TableWrapper.js +6 -0
- data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/ChangeHostCVModal.js +24 -3
- data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/ContentViewDetailsCard.js +124 -56
- data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/HostContentViewActions.js +2 -3
- data/webpack/components/extensions/HostDetails/Cards/ContentViewDetailsCard/__tests__/contentViewDetailsCard.test.js +44 -10
- data/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionActions.js +83 -31
- data/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionConstants.js +1 -0
- data/webpack/components/extensions/HostDetails/Tabs/RemoteExecutionHooks.js +1 -1
- data/webpack/components/extensions/HostDetails/Tabs/__tests__/remoteExecutionActions.test.js +44 -0
- data/webpack/components/extensions/HostDetails/Tabs/customizedRexUrlHelpers.js +22 -7
- data/webpack/components/extensions/Hosts/ActionsBar/ActionsBar.scss +14 -0
- data/webpack/components/extensions/Hosts/ActionsBar/index.js +82 -23
- data/webpack/components/extensions/Hosts/BulkActions/BulkChangeHostCVModal/index.js +5 -2
- data/webpack/components/extensions/Hosts/BulkActions/BulkErrataWizard/02_BulkErrataTable.js +171 -0
- data/webpack/components/extensions/Hosts/BulkActions/BulkErrataWizard/04_Review.js +160 -0
- data/webpack/components/extensions/Hosts/BulkActions/BulkErrataWizard/04_ReviewFooter.js +99 -0
- data/webpack/components/extensions/Hosts/BulkActions/BulkErrataWizard/BulkErrataWizard.js +157 -0
- data/webpack/components/extensions/Hosts/BulkActions/BulkErrataWizard/index.js +24 -0
- data/webpack/components/extensions/Hosts/BulkActions/BulkPackagesWizard/02_BulkPackagesTable.js +157 -0
- data/webpack/components/extensions/Hosts/BulkActions/BulkPackagesWizard/04_Review.js +168 -0
- data/webpack/components/extensions/Hosts/BulkActions/BulkPackagesWizard/04_ReviewFooter.js +141 -0
- data/webpack/components/extensions/Hosts/BulkActions/BulkPackagesWizard/BulkPackagesWizard.js +252 -0
- data/webpack/components/extensions/Hosts/BulkActions/BulkPackagesWizard/index.js +24 -0
- data/webpack/components/extensions/Hosts/BulkActions/HostReview.js +176 -0
- data/webpack/components/extensions/Hosts/TableRowActions/index.js +17 -0
- data/webpack/global_index.js +11 -3
- data/webpack/redux/actions/RedHatRepositories/repositorySetRepositories.js +5 -6
- data/webpack/redux/reducers/RedHatRepositories/__tests__/repositorySetRepositories.test.js +1 -1
- data/webpack/redux/reducers/RedHatRepositories/repositorySetRepositories.js +1 -1
- data/webpack/scenes/ContentViews/Copy/CopyContentViewModal.js +2 -1
- data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentContentViewAddModal.js +2 -1
- data/webpack/scenes/ContentViews/Details/ComponentContentViews/ComponentContentViewBulkAddModal.js +2 -1
- data/webpack/scenes/ContentViews/Details/ComponentContentViews/ContentViewComponents.js +2 -1
- data/webpack/scenes/ContentViews/Details/ContentViewDetails.js +2 -1
- data/webpack/scenes/ContentViews/Details/Repositories/ContentViewRepositories.js +2 -2
- data/webpack/scenes/ContentViews/Publish/CVPublishForm.js +2 -1
- data/webpack/scenes/ContentViews/Publish/CVPublishReview.js +3 -2
- data/webpack/scenes/ContentViews/Publish/PublishContentViewWizard.js +2 -1
- data/webpack/scenes/ContentViews/Table/ContentViewsTable.js +2 -1
- data/webpack/scenes/ContentViews/components/CVBreadCrumb.js +2 -1
- data/webpack/scenes/ContentViews/components/ContentViewSelect/ContentViewSelectOption.js +2 -2
- data/webpack/scenes/Subscriptions/Details/SubscriptionAttributes.js +1 -0
- data/webpack/scenes/Subscriptions/Details/__tests__/__snapshots__/SubscriptionDetailInfo.test.js.snap +10 -0
- data/webpack/scenes/Subscriptions/SubscriptionConstants.js +6 -0
- data/webpack/scenes/Subscriptions/__tests__/__snapshots__/SubscriptionsPage.test.js.snap +2 -0
- data/webpack/scenes/Subscriptions/__tests__/subscriptions.fixtures.js +14 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTableHelpers.js +1 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/SubscriptionsTableSchema.js +10 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsTable/__tests__/SubscriptionsTable.fixtures.js +1 -0
- data/webpack/scenes/Subscriptions/components/SubscriptionsToolbar/__snapshots__/SubscriptionsToolbar.test.js.snap +10 -0
- data/webpack/scenes/Tasks/helpers.js +1 -1
- metadata +25 -111
- data/app/assets/javascripts/katello/containers/container.js +0 -304
- data/app/lib/katello/util/http_helper.rb +0 -15
- data/app/models/732bd3db9f64c621c64d2be4f2a838727aac0845.patch +0 -61
- data/app/models/katello/repository.rb.bak +0 -978
- data/app/services/katello/pulp3/content_view_version/import_validator.rb.bak +0 -166
- data/app/services/katello/pulp3/content_view_version/importable_repositories.rb.bak +0 -164
- data/lib/katello/tasks/update_repository_expiry.rake +0 -114
- data/locale/bn/LC_MESSAGES/katello.mo +0 -0
- data/locale/bn/katello.po.time_stamp +0 -0
- data/locale/bn_IN/LC_MESSAGES/katello.mo +0 -0
- data/locale/bn_IN/katello.po.time_stamp +0 -0
- data/locale/ca/LC_MESSAGES/katello.mo +0 -0
- data/locale/ca/katello.po.time_stamp +0 -0
- data/locale/cs/LC_MESSAGES/katello.mo +0 -0
- data/locale/cs/katello.po.time_stamp +0 -0
- data/locale/cs_CZ/LC_MESSAGES/katello.mo +0 -0
- data/locale/cs_CZ/katello.po.time_stamp +0 -0
- data/locale/de/LC_MESSAGES/katello.mo +0 -0
- data/locale/de/katello.po.time_stamp +0 -0
- data/locale/de_AT/LC_MESSAGES/katello.mo +0 -0
- data/locale/de_AT/katello.po.time_stamp +0 -0
- data/locale/de_DE/LC_MESSAGES/katello.mo +0 -0
- data/locale/de_DE/katello.po.time_stamp +0 -0
- data/locale/el/LC_MESSAGES/katello.mo +0 -0
- data/locale/el/katello.po.time_stamp +0 -0
- data/locale/en/LC_MESSAGES/katello.mo +0 -0
- data/locale/en/katello.po.time_stamp +0 -0
- data/locale/en_GB/LC_MESSAGES/katello.mo +0 -0
- data/locale/en_GB/katello.po.time_stamp +0 -0
- data/locale/en_US/LC_MESSAGES/katello.mo +0 -0
- data/locale/en_US/katello.po.time_stamp +0 -0
- data/locale/es/LC_MESSAGES/katello.mo +0 -0
- data/locale/es/katello.po.time_stamp +0 -0
- data/locale/et_EE/LC_MESSAGES/katello.mo +0 -0
- data/locale/et_EE/katello.po.time_stamp +0 -0
- data/locale/fr/LC_MESSAGES/katello.mo +0 -0
- data/locale/fr/katello.po.time_stamp +0 -0
- data/locale/gl/LC_MESSAGES/katello.mo +0 -0
- data/locale/gl/katello.po.time_stamp +0 -0
- data/locale/gu/LC_MESSAGES/katello.mo +0 -0
- data/locale/gu/katello.po.time_stamp +0 -0
- data/locale/he_IL/LC_MESSAGES/katello.mo +0 -0
- data/locale/he_IL/katello.po.time_stamp +0 -0
- data/locale/hi/LC_MESSAGES/katello.mo +0 -0
- data/locale/hi/katello.po.time_stamp +0 -0
- data/locale/id/LC_MESSAGES/katello.mo +0 -0
- data/locale/id/katello.po.time_stamp +0 -0
- data/locale/it/LC_MESSAGES/katello.mo +0 -0
- data/locale/it/katello.po.time_stamp +0 -0
- data/locale/ja/LC_MESSAGES/katello.mo +0 -0
- data/locale/ja/katello.po.time_stamp +0 -0
- data/locale/ka/LC_MESSAGES/katello.mo +0 -0
- data/locale/ka/katello.po.time_stamp +0 -0
- data/locale/kn/LC_MESSAGES/katello.mo +0 -0
- data/locale/kn/katello.po.time_stamp +0 -0
- data/locale/ko/LC_MESSAGES/katello.mo +0 -0
- data/locale/ko/katello.po.time_stamp +0 -0
- data/locale/ml_IN/LC_MESSAGES/katello.mo +0 -0
- data/locale/ml_IN/katello.po.time_stamp +0 -0
- data/locale/mr/LC_MESSAGES/katello.mo +0 -0
- data/locale/mr/katello.po.time_stamp +0 -0
- data/locale/nl_NL/LC_MESSAGES/katello.mo +0 -0
- data/locale/nl_NL/katello.po.time_stamp +0 -0
- data/locale/or/LC_MESSAGES/katello.mo +0 -0
- data/locale/or/katello.po.time_stamp +0 -0
- data/locale/pa/LC_MESSAGES/katello.mo +0 -0
- data/locale/pa/katello.po.time_stamp +0 -0
- data/locale/pl/LC_MESSAGES/katello.mo +0 -0
- data/locale/pl/katello.po.time_stamp +0 -0
- data/locale/pl_PL/LC_MESSAGES/katello.mo +0 -0
- data/locale/pl_PL/katello.po.time_stamp +0 -0
- data/locale/pt/LC_MESSAGES/katello.mo +0 -0
- data/locale/pt/katello.po.time_stamp +0 -0
- data/locale/pt_BR/LC_MESSAGES/katello.mo +0 -0
- data/locale/pt_BR/katello.po.time_stamp +0 -0
- data/locale/ro/LC_MESSAGES/katello.mo +0 -0
- data/locale/ro/katello.po.time_stamp +0 -0
- data/locale/ro_RO/LC_MESSAGES/katello.mo +0 -0
- data/locale/ro_RO/katello.po.time_stamp +0 -0
- data/locale/ru/LC_MESSAGES/katello.mo +0 -0
- data/locale/ru/katello.po.time_stamp +0 -0
- data/locale/sl/LC_MESSAGES/katello.mo +0 -0
- data/locale/sl/katello.po.time_stamp +0 -0
- data/locale/sv_SE/LC_MESSAGES/katello.mo +0 -0
- data/locale/sv_SE/katello.po.time_stamp +0 -0
- data/locale/ta/LC_MESSAGES/katello.mo +0 -0
- data/locale/ta/katello.po.time_stamp +0 -0
- data/locale/ta_IN/LC_MESSAGES/katello.mo +0 -0
- data/locale/ta_IN/katello.po.time_stamp +0 -0
- data/locale/te/LC_MESSAGES/katello.mo +0 -0
- data/locale/te/katello.po.time_stamp +0 -0
- data/locale/tr/LC_MESSAGES/katello.mo +0 -0
- data/locale/tr/katello.po.time_stamp +0 -0
- data/locale/vi/LC_MESSAGES/katello.mo +0 -0
- data/locale/vi/katello.po.time_stamp +0 -0
- data/locale/vi_VN/LC_MESSAGES/katello.mo +0 -0
- data/locale/vi_VN/katello.po.time_stamp +0 -0
- data/locale/zh/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh/katello.po.time_stamp +0 -0
- data/locale/zh_CN/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh_CN/katello.po.time_stamp +0 -0
- data/locale/zh_TW/LC_MESSAGES/katello.mo +0 -0
- data/locale/zh_TW/katello.po.time_stamp +0 -0
- data/webpack/global_test_setup.js.bak +0 -59
- data/webpack/utils/useKatelloDocUrl.js +0 -18
@@ -1,304 +0,0 @@
|
|
1
|
-
var KT = KT ? KT : {};
|
2
|
-
|
3
|
-
KT.container = (function(){
|
4
|
-
var pre_selection = {};
|
5
|
-
var setup = function() {
|
6
|
-
var orgDropdown = $('#organization_id'),
|
7
|
-
envDropdown = $('#kt_environment_id'),
|
8
|
-
contentViewDropdown = $('#content_view_id'),
|
9
|
-
reposDropdown = $("#repository_id"),
|
10
|
-
tagsDropdown = $("#tag_id"),
|
11
|
-
capsuleDropdown = $("#capsule_id");
|
12
|
-
envDropdown.change(populateContentViews);
|
13
|
-
contentViewDropdown.change(populateRepositories);
|
14
|
-
reposDropdown.change(populateTags);
|
15
|
-
tagsDropdown.change(checkNextButton);
|
16
|
-
capsuleDropdown.change(checkNextButton);
|
17
|
-
resetContentViews();
|
18
|
-
|
19
|
-
orgDropdown.change(function() {
|
20
|
-
populateEnvironments();
|
21
|
-
populateCapsules();
|
22
|
-
});
|
23
|
-
|
24
|
-
if(orgDropdown.val() === "") {
|
25
|
-
resetOrgs();
|
26
|
-
}
|
27
|
-
|
28
|
-
$('#hub_tab').click(function() {
|
29
|
-
enableNext(true);
|
30
|
-
});
|
31
|
-
|
32
|
-
$('#registry_tab').click(function() {
|
33
|
-
enableNext(true);
|
34
|
-
});
|
35
|
-
|
36
|
-
$('#katello_tab').click(function() {
|
37
|
-
enableNext(false);
|
38
|
-
});
|
39
|
-
},
|
40
|
-
getCapsule = function() {
|
41
|
-
return $('#capsule_id').val();
|
42
|
-
},
|
43
|
-
getOrg = function() {
|
44
|
-
return $('#organization_id').val();
|
45
|
-
},
|
46
|
-
getEnvironment = function() {
|
47
|
-
return $('#kt_environment_id').val();
|
48
|
-
},
|
49
|
-
getContentView = function() {
|
50
|
-
return $('#content_view_id').val();
|
51
|
-
},
|
52
|
-
getRepo = function() {
|
53
|
-
return $('#repository_id').val();
|
54
|
-
},
|
55
|
-
getTag = function() {
|
56
|
-
return $('#tag_id').val();
|
57
|
-
},
|
58
|
-
populateCapsules = function() {
|
59
|
-
var capsuleDropdown = $('#capsule_id'),
|
60
|
-
noCapsules = $("#no_capsules"),
|
61
|
-
org = getOrg(),
|
62
|
-
spinner = $("#load_capsules"),
|
63
|
-
url = tfm.tools.foremanUrl("/api/smart_proxies"),
|
64
|
-
params = {
|
65
|
-
organization_id: getOrg(),
|
66
|
-
search: "feature = \"Pulp Node\" or feature = \"Pulp\"",
|
67
|
-
per_page: 9999999,
|
68
|
-
};
|
69
|
-
|
70
|
-
resetCapsules();
|
71
|
-
if (org !== "") {
|
72
|
-
showSpinner(spinner, true);
|
73
|
-
$.getJSON(url, params)
|
74
|
-
.done(function(data) {
|
75
|
-
if(data.length > 0) {
|
76
|
-
$.each(data, function(index, capsule) {
|
77
|
-
capsuleDropdown.append(
|
78
|
-
$('<option></option>').val(capsule["id"]).html(capsule["name"]));
|
79
|
-
});
|
80
|
-
enableCapsules(true);
|
81
|
-
} else {
|
82
|
-
noCapsules.removeClass("hide");
|
83
|
-
}
|
84
|
-
})
|
85
|
-
.fail(function(resp) {
|
86
|
-
$("#error_capsules").removeClass("hide")
|
87
|
-
})
|
88
|
-
.always(function() {
|
89
|
-
showSpinner(spinner, false);
|
90
|
-
});
|
91
|
-
}
|
92
|
-
checkNextButton();
|
93
|
-
},
|
94
|
-
populateEnvironments = function() {
|
95
|
-
var environmentDropdown = $('#kt_environment_id'),
|
96
|
-
org = getOrg(),
|
97
|
-
spinner = $("#load_environments"),
|
98
|
-
url = tfm.tools.foremanUrl("/katello/api/organizations/" + org + "/environments");
|
99
|
-
|
100
|
-
resetEnvironments();
|
101
|
-
if (org !== "") {
|
102
|
-
showSpinner(spinner, true);
|
103
|
-
$.getJSON(url, {})
|
104
|
-
.done(function(data) {
|
105
|
-
$.each(data["results"], function(index, env) {
|
106
|
-
environmentDropdown.append(
|
107
|
-
$('<option></option>').val(env["id"]).html(env["name"]));
|
108
|
-
});
|
109
|
-
enableEnvironments(true);
|
110
|
-
})
|
111
|
-
.fail(function(resp) {
|
112
|
-
$("#error_environments").removeClass("hide")
|
113
|
-
})
|
114
|
-
.always(function() {
|
115
|
-
showSpinner(spinner, false);
|
116
|
-
});
|
117
|
-
}
|
118
|
-
},
|
119
|
-
populateContentViews = function() {
|
120
|
-
var contentViewDropdown = $('#content_view_id'),
|
121
|
-
noCV = $("#no_content_views"),
|
122
|
-
env = getEnvironment(),
|
123
|
-
spinner = $("#load_content_views"),
|
124
|
-
url = tfm.tools.foremanUrl("/katello/api/organizations/" + getOrg() + "/content_views");
|
125
|
-
params = {
|
126
|
-
environment_id : env
|
127
|
-
};
|
128
|
-
|
129
|
-
resetContentViews();
|
130
|
-
if (env !== "") {
|
131
|
-
showSpinner(spinner, true);
|
132
|
-
$.getJSON(url, params)
|
133
|
-
.done(function(data) {
|
134
|
-
if (data["results"].length > 0) {
|
135
|
-
$.each(data["results"], function(index, cv) {
|
136
|
-
contentViewDropdown.append(
|
137
|
-
$('<option></option>').val(cv["id"]).html(cv["name"]));
|
138
|
-
});
|
139
|
-
enableContentViews(true);
|
140
|
-
contentViewDropdown.val(pre_selection.content_view_id).trigger('change')
|
141
|
-
} else {
|
142
|
-
noCV.removeClass("hide");
|
143
|
-
}
|
144
|
-
|
145
|
-
})
|
146
|
-
.fail(function(resp) {
|
147
|
-
$("#error_content_views").removeClass("hide")
|
148
|
-
})
|
149
|
-
.always(function() {
|
150
|
-
showSpinner(spinner, false);
|
151
|
-
});
|
152
|
-
}
|
153
|
-
},
|
154
|
-
populateRepositories = function() {
|
155
|
-
var reposDropdown = $("#repository_id"),
|
156
|
-
noRepos = $("#no_repositories"),
|
157
|
-
cv = getContentView(),
|
158
|
-
spinner = $("#load_repositories"),
|
159
|
-
url = tfm.tools.foremanUrl("/katello/api/repositories/"),
|
160
|
-
params = {
|
161
|
-
organization_id: getOrg(),
|
162
|
-
content_view_id: cv,
|
163
|
-
environment_id: getEnvironment(),
|
164
|
-
content_type: "docker"
|
165
|
-
};
|
166
|
-
|
167
|
-
resetRepositories();
|
168
|
-
if (cv !== "") {
|
169
|
-
showSpinner(spinner, true);
|
170
|
-
$.getJSON(url, params)
|
171
|
-
.done(function(data) {
|
172
|
-
if(data["results"].length > 0) {
|
173
|
-
$.each(data["results"], function(index, repo) {
|
174
|
-
reposDropdown.append(
|
175
|
-
$('<option></option>').val(repo["id"]).html(repo["name"]));
|
176
|
-
});
|
177
|
-
enableRepositories(true);
|
178
|
-
reposDropdown.val(pre_selection.repository_id).trigger('change');
|
179
|
-
} else {
|
180
|
-
noRepos.removeClass("hide");
|
181
|
-
}
|
182
|
-
})
|
183
|
-
.fail(function(resp) {
|
184
|
-
$("#error_repositories").removeClass("hide")
|
185
|
-
})
|
186
|
-
.always(function() {
|
187
|
-
showSpinner(spinner, false);
|
188
|
-
});
|
189
|
-
|
190
|
-
}
|
191
|
-
checkNextButton();
|
192
|
-
},
|
193
|
-
populateTags = function() {
|
194
|
-
var repo = getRepo(),
|
195
|
-
tagsDropdown = $("#tag_id"),
|
196
|
-
spinner = $("#load_tags"),
|
197
|
-
url = tfm.tools.foremanUrl("/katello/api/repositories/" + repo + "/docker_tags"),
|
198
|
-
params = {};
|
199
|
-
|
200
|
-
resetTags();
|
201
|
-
if (repo !== "") {
|
202
|
-
showSpinner(spinner, true);
|
203
|
-
$.getJSON(url, params)
|
204
|
-
.done(function(data) {
|
205
|
-
$.each(data["results"], function(index, tag) {
|
206
|
-
tagsDropdown.append(
|
207
|
-
$('<option></option>').val(tag["id"]).html(tag["name"]));
|
208
|
-
});
|
209
|
-
enableTags(true);
|
210
|
-
tagsDropdown.val(pre_selection.tag_id).trigger('change')
|
211
|
-
})
|
212
|
-
.fail(function(resp) {
|
213
|
-
$("#error_tags").removeClass("hide")
|
214
|
-
})
|
215
|
-
.always(function() {
|
216
|
-
showSpinner(spinner, false);
|
217
|
-
});
|
218
|
-
}
|
219
|
-
},
|
220
|
-
checkNextButton = function() {
|
221
|
-
enableNext(getRepo() !== "" && getTag() !== "" && getCapsule() !== "")
|
222
|
-
},
|
223
|
-
resetOrgs = function () {
|
224
|
-
resetEnvironments();
|
225
|
-
resetCapsules();
|
226
|
-
},
|
227
|
-
resetEnvironments = function() {
|
228
|
-
$("#error_environments").addClass("hide");
|
229
|
-
resetContentViews();
|
230
|
-
$('#kt_environment_id option[value!=""]').remove();
|
231
|
-
enableEnvironments(false);
|
232
|
-
},
|
233
|
-
resetCapsules = function() {
|
234
|
-
$("#error_capsules").addClass("hide");
|
235
|
-
$("#no_capsules").addClass("hide");
|
236
|
-
$('#capsule_id option[value!=""]').remove();
|
237
|
-
enableCapsules(false);
|
238
|
-
enableNext(false);
|
239
|
-
},
|
240
|
-
resetContentViews = function() {
|
241
|
-
$("#no_content_views").addClass("hide");
|
242
|
-
$("#error_content_views").addClass("hide");
|
243
|
-
resetRepositories();
|
244
|
-
$('#content_view_id option[value!=""]').remove();
|
245
|
-
enableContentViews(false);
|
246
|
-
},
|
247
|
-
resetRepositories = function() {
|
248
|
-
$("#no_repositories").addClass("hide");
|
249
|
-
$("#error_repositories").addClass("hide");
|
250
|
-
resetTags();
|
251
|
-
$('#repository_id option[value!=""]').remove();
|
252
|
-
enableRepositories(false);
|
253
|
-
},
|
254
|
-
resetTags = function() {
|
255
|
-
$("#error_tags").addClass("hide");
|
256
|
-
$('#tag_id option[value!=""]').remove();
|
257
|
-
enableTags(false);
|
258
|
-
enableNext(false);
|
259
|
-
},
|
260
|
-
enableEnvironments = function(enable) {
|
261
|
-
$('#kt_environment_id').prop("disabled", !enable);
|
262
|
-
},
|
263
|
-
enableCapsules = function(enable) {
|
264
|
-
$('#capsule_id').prop("disabled", !enable);
|
265
|
-
},
|
266
|
-
enableContentViews = function(enable) {
|
267
|
-
$('#content_view_id').prop("disabled", !enable);
|
268
|
-
},
|
269
|
-
enableRepositories = function(enable) {
|
270
|
-
$('#repository_id').prop("disabled", !enable);
|
271
|
-
},
|
272
|
-
enableTags = function(enable) {
|
273
|
-
$('#tag_id').prop("disabled", !enable);
|
274
|
-
},
|
275
|
-
enableNext = function(enable) {
|
276
|
-
$('#next_katello').prop("disabled", !enable);
|
277
|
-
},
|
278
|
-
showSpinner = function(spinner, show) {
|
279
|
-
if (show) {
|
280
|
-
spinner.removeClass("hide");
|
281
|
-
} else {
|
282
|
-
spinner.addClass("hide")
|
283
|
-
}
|
284
|
-
};
|
285
|
-
setSelection = function(selection) {
|
286
|
-
pre_selection = selection;
|
287
|
-
$('#kt_environment_id').val(selection.environment_id)
|
288
|
-
.trigger('change')
|
289
|
-
}
|
290
|
-
return {
|
291
|
-
setup: setup,
|
292
|
-
setSelection: setSelection,
|
293
|
-
enableNext: enableNext
|
294
|
-
};
|
295
|
-
})();
|
296
|
-
|
297
|
-
|
298
|
-
$(document).ready(function() {
|
299
|
-
KT.container.setup();
|
300
|
-
});
|
301
|
-
|
302
|
-
$(window).load(function() {
|
303
|
-
KT.container.enableNext(false);
|
304
|
-
});
|
@@ -1,15 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Commons used helper methods pertaining to HTTP/Rest client etc
|
3
|
-
#
|
4
|
-
module Katello
|
5
|
-
module Util
|
6
|
-
module HttpHelper
|
7
|
-
def ignore_404_exception(*)
|
8
|
-
yield
|
9
|
-
rescue api.api_exception_class => e
|
10
|
-
raise e unless e.code == 404
|
11
|
-
nil
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
15
|
-
end
|
@@ -1,61 +0,0 @@
|
|
1
|
-
From 732bd3db9f64c621c64d2be4f2a838727aac0845 Mon Sep 17 00:00:00 2001
|
2
|
-
From: Quinn James <qjames@redhat.com>
|
3
|
-
Date: Fri, 23 Jun 2023 19:06:34 +0000
|
4
|
-
Subject: [PATCH] Fixes #36530 - Fixed up
|
5
|
-
/katello/api/sync_plans/:sync_plan_id/products and
|
6
|
-
/katello/api/repositories/:repository_id/sync API endpoints.
|
7
|
-
|
8
|
-
---
|
9
|
-
app/controllers/katello/api/v2/sync_controller.rb | 1 -
|
10
|
-
app/models/katello/repository.rb | 4 ++++
|
11
|
-
app/views/katello/api/v2/sync/index.json.rabl | 1 -
|
12
|
-
config/routes/api/v2.rb | 1 +
|
13
|
-
4 files changed, 5 insertions(+), 2 deletions(-)
|
14
|
-
delete mode 100644 app/views/katello/api/v2/sync/index.json.rabl
|
15
|
-
|
16
|
-
diff --git a/app/controllers/katello/api/v2/sync_controller.rb b/app/controllers/katello/api/v2/sync_controller.rb
|
17
|
-
index b43d502264f..cf324a004f6 100644
|
18
|
-
--- a/app/controllers/katello/api/v2/sync_controller.rb
|
19
|
-
+++ b/app/controllers/katello/api/v2/sync_controller.rb
|
20
|
-
@@ -4,7 +4,6 @@ class Api::V2::SyncController < Api::V2::ApiController
|
21
|
-
before_action :find_object, :only => [:index]
|
22
|
-
before_action :ensure_library, :only => [:index]
|
23
|
-
|
24
|
-
- api :GET, "/organizations/:organization_id/products/:product_id/sync", N_("Get status of repo synchronisation for given product")
|
25
|
-
api :GET, "/repositories/:repository_id/sync", N_("Get status of synchronisation for given repository")
|
26
|
-
def index
|
27
|
-
respond_for_async(:resource => @obj.sync_status)
|
28
|
-
diff --git a/app/models/katello/repository.rb b/app/models/katello/repository.rb
|
29
|
-
index 1fbf499ec44..ccd76734ba6 100644
|
30
|
-
--- a/app/models/katello/repository.rb
|
31
|
-
+++ b/app/models/katello/repository.rb
|
32
|
-
@@ -947,6 +947,10 @@ def in_content_view?(content_view)
|
33
|
-
content_view.repositories.include? self
|
34
|
-
end
|
35
|
-
|
36
|
-
+ def sync_status
|
37
|
-
+ return latest_dynflow_sync
|
38
|
-
+ end
|
39
|
-
+
|
40
|
-
protected
|
41
|
-
|
42
|
-
def unit_type_for_removal(type_class = nil)
|
43
|
-
diff --git a/app/views/katello/api/v2/sync/index.json.rabl b/app/views/katello/api/v2/sync/index.json.rabl
|
44
|
-
deleted file mode 100644
|
45
|
-
index 4296aca962b..00000000000
|
46
|
-
--- a/app/views/katello/api/v2/sync/index.json.rabl
|
47
|
-
+++ /dev/null
|
48
|
-
@@ -1 +0,0 @@
|
49
|
-
-extends 'katello/api/v2/common/async'
|
50
|
-
diff --git a/config/routes/api/v2.rb b/config/routes/api/v2.rb
|
51
|
-
index 67ad91dbc2c..9ec5312b4e0 100644
|
52
|
-
--- a/config/routes/api/v2.rb
|
53
|
-
+++ b/config/routes/api/v2.rb
|
54
|
-
@@ -484,6 +484,7 @@ class ActionDispatch::Routing::Mapper
|
55
|
-
end
|
56
|
-
|
57
|
-
api_resources :sync_plans, :only => [:index, :show, :update, :destroy] do
|
58
|
-
+ api_resources :products, :only => [:index]
|
59
|
-
get :auto_complete_search, :on => :collection
|
60
|
-
put :sync
|
61
|
-
end
|