Class: Bosh::Director::Api::Controllers::DeploymentsController

Inherits:
BaseController show all
Includes:
LegacyDeploymentHelper
Defined in:
lib/bosh/director/api/controllers/deployments_controller.rb

Constant Summary

Constants inherited from BaseController

BaseController::ROUTES_WITH_EXTENDED_TIMEOUT

Constants included from Http

Http::BAD_REQUEST, Http::CREATED, Http::FORBIDDEN, Http::INTERNAL_SERVER_ERROR, Http::NOT_FOUND, Http::NO_CONTENT, Http::OK, Http::UNAUTHORIZED

Constants included from ApiHelper

ApiHelper::READ_CHUNK_SIZE

Instance Attribute Summary

Attributes inherited from BaseController

#identity_provider

Instance Method Summary collapse

Methods included from LegacyDeploymentHelper

#ignore_cloud_config?

Methods inherited from BaseController

consumes, #requires_authentication?

Methods included from ApiHelper

#check_available_disk_space, #json_decode, #json_encode, #prepare_yml_file, #send_disposable_file, #start_task, #validate_manifest_yml, #write_file

Constructor Details

#initialize(config) ⇒ DeploymentsController

Returns a new instance of DeploymentsController.



43
44
45
46
47
48
49
50
51
# File 'lib/bosh/director/api/controllers/deployments_controller.rb', line 43

def initialize(config)
  super(config)
  @deployment_manager = Api::DeploymentManager.new
  @problem_manager = Api::ProblemManager.new
  @property_manager = Api::PropertyManager.new
  @instance_manager = Api::InstanceManager.new
  @deployments_repo = DeploymentPlan::DeploymentRepo.new
  @instance_ignore_manager = Api::InstanceIgnoreManager.new
end