Project

General

Profile

Actions

Refactor #6287

closed

Convert remaining v2 API controllers to use Api::V2::ApiController

Added by Walden Raines about 10 years ago. Updated about 6 years ago.

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

Description

These controllers still need to be converted to v2 proper.

[walden@wraines-sandbox katello (master)]$ grep -rl "Api::V1" app/controllers/katello/api/v2 | sort
app/controllers/katello/api/v2/about_controller.rb
app/controllers/katello/api/v2/custom_info_controller.rb
app/controllers/katello/api/v2/distributors_controller.rb
app/controllers/katello/api/v2/host_collection_errata_controller.rb
app/controllers/katello/api/v2/host_collection_packages_controller.rb
app/controllers/katello/api/v2/organization_default_info_controller.rb
app/controllers/katello/api/v2/permissions_controller.rb
app/controllers/katello/api/v2/role_ldap_groups_controller.rb
app/controllers/katello/api/v2/roles_controller.rb
app/controllers/katello/api/v2/root_controller.rb
app/controllers/katello/api/v2/uebercerts_controller.rb

Currently they are all still using v1. We can split these out into individual issues if needed. As part of this we should also remove the remaining v1 code.

Actions #1

Updated by Walden Raines about 10 years ago

  • Subject changed from Convert remaining v2 controllers to to Convert remaining v2 API controllers to use Api::V2::ApiController
Actions #2

Updated by Walden Raines about 10 years ago

In addition to those above the following v1 API controllers have no v2 counterpart:

app/controllers/katello/api/v1/candlepin_proxies_controller.rb
app/controllers/katello/api/v1/crls_controller.rb
app/controllers/katello/api/v1/errors_controller.rb
app/controllers/katello/api/v1/filters_controller.rb

These should also either be converted or removed.

Actions #3

Updated by Eric Helms almost 10 years ago

  • Translation missing: en.field_release set to 14
Actions #4

Updated by The Foreman Bot almost 10 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 55
  • Pull request https://github.com/Katello/katello/pull/4630 added
Actions #5

Updated by Eric Helms almost 10 years ago

  • Assignee set to Eric Helms
Actions #6

Updated by Eric Helms almost 10 years ago

  • Target version changed from 55 to 56
Actions #7

Updated by Eric Helms almost 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF