Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused v1 services api code #4085

Merged
merged 1 commit into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require 'vcap/services/api'

module VCAP::CloudController
class ManagedServiceInstancesController < RestController::ModelController
allow_unauthenticated_access
Expand Down
1 change: 0 additions & 1 deletion app/controllers/services/service_bindings_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
require 'vcap/services/api'
require 'controllers/services/lifecycle/service_instance_binding_manager'
require 'models/helpers/process_types'
require 'actions/v2/services/service_binding_read'
Expand Down
1 change: 0 additions & 1 deletion app/controllers/services/service_instances_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
require 'vcap/services/api'
require 'jobs/audit_event_job'
require 'actions/services/service_instance_create'
require 'actions/services/service_instance_update'
Expand Down
2 changes: 0 additions & 2 deletions app/controllers/services/service_keys_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require 'vcap/services/api'

module VCAP::CloudController
class ServiceKeysController < RestController::ModelController
define_attributes do
Expand Down
2 changes: 0 additions & 2 deletions app/controllers/services/service_usage_events_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require 'vcap/services/api'

module VCAP::CloudController
class ServiceUsageEventsController < RestController::ModelController
query_parameters :service_instance_type, :service_guid
Expand Down
4 changes: 0 additions & 4 deletions app/models/services/managed_service_instance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,6 @@ def gateway_data
val
end

def requester
VCAP::Services::Api::SynchronousHttpRequest
end

delegate :service, to: :service_plan

delegate :service_broker, to: :service_plan
Expand Down
6 changes: 0 additions & 6 deletions lib/vcap/services/api.rb

This file was deleted.

26 changes: 0 additions & 26 deletions lib/vcap/services/api/async_requests.rb

This file was deleted.

197 changes: 0 additions & 197 deletions lib/vcap/services/api/clients/service_gateway_client.rb

This file was deleted.

9 changes: 0 additions & 9 deletions lib/vcap/services/api/const.rb

This file was deleted.

Loading