Project

General

Profile

Bug #31760

Katello 4.0 - decide the fate of un-versioned deprecations

Added by James Jeffers over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Katello has several methods and parameters that are marked as deprecated, but don't indicate a version.

These items should be investigated for possible removal in 4.0. If not they should be given a removal date and communicated in the API, etc.

Associated revisions

Revision b47484c4 (diff)
Added by Jeremy Lenz about 1 year ago

Fixes #31760 - Add Katello versions to unversioned warnings (#9190)

Fixes #31760 - Add Katello versions to unversioned warnings
remove config_template_ids param completely

History

#1 Updated by James Jeffers over 1 year ago

app/controllers/katello/api/v2/content_exports_controller.rb

a19435a3757 (Chris Roberts 2020-10-28 13:57:45 +0000 26)     api :GET, "/content_exports/api_status", N_("true if the export api is pulp3 ready and usable. This API is intended for use by hammer-cli only.")
a19435a3757 (Chris Roberts 2020-10-28 13:57:45 +0000 27)     def api_status
a19435a3757 (Chris Roberts 2020-10-28 13:57:45 +0000 28)       ::Foreman::Deprecation.api_deprecation_warning("/content_exports/api_status is being deprecated and will be removed in a future version of Katello.")
a19435a3757 (Chris Roberts 2020-10-28 13:57:45 +0000 29)       render json: { api_usable: SmartProxy.pulp_primary.pulp3_repository_type_support?(Katello::Repository::YUM_TYPE) }, status: :ok
a19435a3757 (Chris Roberts 2020-10-28 13:57:45 +0000 30)     end

#2 Updated by James Jeffers over 1 year ago

app/controllers/katello/api/v2/content_view_puppet_modules_controller.rb

c58e1825094 (John Mitsch     2019-05-28 11:14:21 -0400 12)     param :uuid, String, :desc => N_("uuid of the puppet module"), :deprecated => true
0d5a1ebe7d7 (Justin Sherrill 2019-01-07 15:54:40 -0500 25)     param :uuid, String, :desc => N_("the uuid of the puppet module to associate"), :deprecated => true
0d5a1ebe7d7 (Justin Sherrill 2019-01-07 15:54:40 -0500 44)     param :uuid, String, :desc => N_("the uuid of the puppet module to associate"), :deprecated => true

#3 Updated by James Jeffers over 1 year ago

app/controllers/katello/api/v2/errata_controller.rb

8956eec2b92 app/controllers/katello/api/v2/errata_controller.rb (Paul Donohue     2018-05-04 18:44:04 -0400  65)     api :GET, "/content_view_versions/:id/available_errata", N_("Return errata that can be added to the Content View Version via an Incremental Update"), :deprecated => true

#4 Updated by James Jeffers over 1 year ago

app/controllers/katello/api/v2/organizations_controller.rb

a08199b78ce app/controllers/katello/api/v2/organizations_controller.rb (Brad Buckingham 2015-08-31 14:48:46 -0400  25)         param :config_template_ids, Array, N_("Provisioning template IDs"), :required => false # FIXME: deprecated

#5 Updated by James Jeffers over 1 year ago

app/controllers/katello/api/v2/host_errata_controller.rb

4ff78aa3371 app/controllers/katello/api/v2/host_errata_controller.rb   (Partha Aji       2019-05-31 04:32:42 -0400  54)     param :errata_ids, Array, :desc => N_("List of Errata ids to install"), :required => false, :deprecated => true

#6 Updated by James Jeffers over 1 year ago

app/controllers/katello/api/v2/content_view_versions_controller.rb

a19435a3757 (Chris Roberts    2020-10-28 13:57:45 +0000  98)       ::Foreman::Deprecation.api_deprecation_warning("Export is being deprecated and will be removed in a future version of Katello. Use hammer content-view version export instead.")

#7 Updated by James Jeffers over 1 year ago

app/models/katello/host/info_provider.rb

eaf41f56824 (Shimon Shtein   2017-05-23 14:35:32 +0300  9)           'kt_env' => host.lifecycle_environment.try(:label), #deprecated
eaf41f56824 (Shimon Shtein   2017-05-23 14:35:32 +0300 10)           'kt_cv' => host.content_view.try(:label), #deprecated

#8 Updated by James Jeffers over 1 year ago

  • Assignee set to James Jeffers

#9 Updated by James Jeffers over 1 year ago

  • Triaged changed from No to Yes

#10 Updated by The Foreman Bot about 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9190 added

#11 Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases Katello 4.2.0 added

#12 Updated by Jeremy Lenz about 1 year ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF