Project

General

Profile

Refactor #26878

Deprecated behavior still tested and not removed

Added by Anonymous over 1 year ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Branch:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

katello at 0be0af457324e66c92563b247dd91fbaa932c0a3

2019-05-25T01:20:30 [E|app|] ActiveSupport::DeprecationException: DEPRECATION WARNING: Your API call uses deprecated behavior, The parameter content_label will be removed in Katello 3.5. Please update to use the content_overrides parameter. (called from content_override at /home/jenkins/workspace/katello-pr-test/app/controllers/katello/api/v2/host_subscriptions_controller.rb:162)
2019-05-25T01:20:31 [E|app|] ActiveSupport::DeprecationException: DEPRECATION WARNING: Your API call uses deprecated behavior, The parameter content_label will be removed in Katello 3.5. Please update to use the content_overrides parameter. (called from content_override at /home/jenkins/workspace/katello-pr-test/app/controllers/katello/api/v2/host_subscriptions_controller.rb:162)
2019-05-25T01:20:32 [E|app|] ActiveSupport::DeprecationException: DEPRECATION WARNING: Your API call uses deprecated behavior, The parameter content_label will be removed in Katello 3.5. Please update to use the content_overrides parameter. (called from content_override at /home/jenkins/workspace/katello-pr-test/app/controllers/katello/api/v2/host_subscriptions_controller.rb:162)
2019-05-25T01:22:26 [E|app|] ActiveSupport::DeprecationException: DEPRECATION WARNING: Your API call uses deprecated behavior, Export is being deprecated and will be removed in a future version of Katello. Use hammer content-view version export instead. (called from export at /home/jenkins/workspace/katello-pr-test/app/controllers/katello/api/v2/content_view_versions_controller.rb:91)
2019-05-25T01:22:28 [E|app|] ActiveSupport::DeprecationException: DEPRECATION WARNING: Your API call uses deprecated behavior, Export is being deprecated and will be removed in a future version of Katello. Use hammer content-view version export instead. (called from export at /home/jenkins/workspace/katello-pr-test/app/controllers/katello/api/v2/content_view_versions_controller.rb:91)
2019-05-25T01:22:29 [E|app|] ActiveSupport::DeprecationException: DEPRECATION WARNING: Your API call uses deprecated behavior, Export is being deprecated and will be removed in a future version of Katello. Use hammer content-view version export instead. (called from export at /home/jenkins/workspace/katello-pr-test/app/controllers/katello/api/v2/content_view_versions_controller.rb:91)
2019-05-25T01:22:31 [E|app|] ActiveSupport::DeprecationException: DEPRECATION WARNING: Your API call uses deprecated behavior, Export is being deprecated and will be removed in a future version of Katello. Use hammer content-view version export instead. (called from export at /home/jenkins/workspace/katello-pr-test/app/controllers/katello/api/v2/content_view_versions_controller.rb:91)
2019-05-25T01:22:32 [E|app|] ActiveSupport::DeprecationException: DEPRECATION WARNING: Your API call uses deprecated behavior, The parameter environment_id will be removed in Katello 3.4. Please update to use the environment_ids parameter. (called from find_environments at /home/jenkins/workspace/katello-pr-test/app/controllers/katello/api/v2/content_view_versions_controller.rb:290)
2019-05-25T01:22:33 [E|app|] ActiveSupport::DeprecationException: DEPRECATION WARNING: Your API call uses deprecated behavior, The parameter environment_id will be removed in Katello 3.4. Please update to use the environment_ids parameter. (called from find_environments at /home/jenkins/workspace/katello-pr-test/app/controllers/katello/api/v2/content_view_versions_controller.rb:290)
2019-05-25T01:24:30 [E|app|] ActiveSupport::DeprecationException: DEPRECATION WARNING: Your API call uses deprecated behavior, The parameter upload_ids will be removed in Katello 3.3. Please update to use the uploads parameter. (called from import_uploads at /home/jenkins/workspace/katello-pr-test/app/controllers/katello/api/v2/repositories_controller.rb:392)
2019-05-25T01:24:38 [E|app|] ActiveSupport::DeprecationException: DEPRECATION WARNING: Your API call uses deprecated behavior, The parameter upload_ids will be removed in Katello 3.3. Please update to use the uploads parameter. (called from import_uploads at /home/jenkins/workspace/katello-pr-test/app/controllers/katello/api/v2/repositories_controller.rb:392)
2019-05-25T01:24:52 [E|app|] ActiveSupport::DeprecationException: DEPRECATION WARNING: Your API call uses deprecated behavior, The parameter content_override will be removed in Katello 3.5. Please update to use the content_overrides parameter. (called from content_override at /home/jenkins/workspace/katello-pr-test/app/controllers/katello/api/v2/activation_keys_controller.rb:222)
2019-05-25T01:24:55 [E|app|] ActiveSupport::DeprecationException: DEPRECATION WARNING: Your API call uses deprecated behavior, The parameter content_override will be removed in Katello 3.5. Please update to use the content_overrides parameter. (called from content_override at /home/jenkins/workspace/katello-pr-test/app/controllers/katello/api/v2/activation_keys_controller.rb:222)

Associated revisions

Revision df2aa53a (diff)
Added by Jeremy Lenz 8 months ago

Fixes #26878 - commit deprecations (#8595)

  • Refs #26878 - remove content_label param
  • Refs #26878 - remove singular environment_id
    from content_view_versions#promote
  • Refs #26878 - remove upload_ids param from
    repositories_controller#import_uploads
  • Refs #26878 - remove 'add subscription to an
    activation key' POST endpoint
  • Refs #26878 - fix content_label in tests

Revision 1fd537a8 (diff)
Added by Jonathon Turel 8 months ago

Refs #26878 - send environment_ids parameter on CV promotion

History

#1 Updated by Andrew Kofink over 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.13.0

We need to discuss how and when to deal with deprecations in general. We're clearly not removing deprecated params when we say we are going to, so we need to set up a process around this.

#2 Updated by John Mitsch over 1 year ago

  • Target version changed from Katello 3.13.0 to Katello Backlog
  • Category set to API

#3 Updated by Brad Buckingham 10 months ago

  • Target version changed from Katello Backlog to Katello 3.15.0

#4 Updated by The Foreman Bot 9 months ago

  • Assignee set to John Mitsch
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/8554 added

#5 Updated by Jonathon Turel 9 months ago

  • Target version changed from Katello 3.15.0 to Katello 3.16.0

#6 Updated by The Foreman Bot 8 months ago

  • Pull request https://github.com/Katello/katello/pull/8595 added

#7 Updated by Jeremy Lenz 8 months ago

  • Status changed from Ready For Testing to Closed

#8 Updated by The Foreman Bot 8 months ago

  • Pull request https://github.com/Katello/katello/pull/8608 added

Also available in: Atom PDF