Project

General

Profile

Actions

Bug #31760

closed

Katello 4.0 - decide the fate of un-versioned deprecations

Added by James Jeffers almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by James Jeffers almost 4 years 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

Actions #2

Updated by James Jeffers almost 4 years 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

Actions #3

Updated by James Jeffers almost 4 years 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

Actions #4

Updated by James Jeffers almost 4 years 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

Actions #5

Updated by James Jeffers almost 4 years 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

Actions #6

Updated by James Jeffers almost 4 years 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.")

Actions #7

Updated by James Jeffers almost 4 years 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

Actions #8

Updated by James Jeffers almost 4 years ago

  • Assignee set to James Jeffers
Actions #9

Updated by James Jeffers almost 4 years ago

  • Triaged changed from No to Yes
Actions #10

Updated by The Foreman Bot almost 4 years ago

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

Updated by The Foreman Bot almost 4 years ago

  • Fixed in Releases Katello 4.2.0 added
Actions #12

Updated by Jeremy Lenz almost 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF