Skip to content

Commit

Permalink
Fixes #37388 - Drop Pulp 2 Smart Proxy status code
Browse files Browse the repository at this point in the history
These were likely not triggered anymore because the Pulp 2 features were
never present.
  • Loading branch information
ekohl committed Jun 26, 2024
1 parent b6169e4 commit d58b925
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 229 deletions.

This file was deleted.

2 changes: 0 additions & 2 deletions app/models/katello/concerns/smart_proxy_extensions.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
require 'proxy_api'
require 'proxy_api/pulp'
require 'proxy_api/pulp_node'
require 'proxy_api/container_gateway'

module Katello
Expand Down
52 changes: 0 additions & 52 deletions app/services/katello/proxy_status/pulp.rb

This file was deleted.

10 changes: 0 additions & 10 deletions app/services/katello/proxy_status/pulp_node.rb

This file was deleted.

5 changes: 0 additions & 5 deletions lib/katello/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,6 @@ class Engine < ::Rails::Engine
::OrganizationsController.include Katello::Concerns::OrganizationsControllerExtensions

# Service extensions
require "#{Katello::Engine.root}/lib/proxy_api/pulp"
require "#{Katello::Engine.root}/lib/proxy_api/pulp_node"
require "#{Katello::Engine.root}/lib/proxy_api/container_gateway"

# We need to explicitly load this files because Foreman has
Expand All @@ -188,14 +186,11 @@ class Engine < ::Rails::Engine
require_dependency "#{Katello::Engine.root}/app/lib/katello/api/v2/rendering"
require_dependency "#{Katello::Engine.root}/app/controllers/katello/api/api_controller"
require_dependency "#{Katello::Engine.root}/app/controllers/katello/api/v2/api_controller"
require_dependency "#{Katello::Engine.root}/app/services/katello/proxy_status/pulp"
require_dependency "#{Katello::Engine.root}/app/services/katello/proxy_status/pulp_node"

#Api controller extensions
::Api::V2::HostsController.include Katello::Concerns::Api::V2::HostsControllerExtensions
::Api::V2::HostsBulkActionsController.include Katello::Concerns::Api::V2::HostsBulkActionsControllerExtensions
::Api::V2::HostgroupsController.include Katello::Concerns::Api::V2::HostgroupsControllerExtensions
::Api::V2::SmartProxiesController.include Katello::Concerns::Api::V2::SmartProxiesControllerExtensions
::Api::V2::RegistrationController.include ::Foreman::Controller::SmartProxyAuth
::Api::V2::RegistrationController.prepend Katello::Concerns::Api::V2::RegistrationControllerExtensions
::Api::V2::RegistrationCommandsController.include Katello::Concerns::Api::V2::RegistrationCommandsControllerExtensions
Expand Down
22 changes: 0 additions & 22 deletions lib/proxy_api/pulp.rb

This file was deleted.

22 changes: 0 additions & 22 deletions lib/proxy_api/pulp_node.rb

This file was deleted.

48 changes: 0 additions & 48 deletions test/controllers/foreman/smart_proxies_controller_test.rb

This file was deleted.

0 comments on commit d58b925

Please sign in to comment.