Class: BsaSoapClient

Inherits:
BsaSoapBase show all
Defined in:
lib/bl_soap/bsa_soap_client.rb

Constant Summary

Constants inherited from BsaSoapBase

BsaSoapBase::CLI_SERVICE, BsaSoapBase::CLI_WSDL, BsaSoapBase::DEFAULT_AUTH_TYPE, BsaSoapBase::HTTP_READ_TIMEOUT, BsaSoapBase::LOGIN_SERVICE, BsaSoapBase::LOGIN_WSDL, BsaSoapBase::ROLE_SERVICE, BsaSoapBase::ROLE_WSDL

Instance Method Summary collapse

Methods inherited from BsaSoapBase

#execute_cli_with_attachments, #execute_cli_with_param_list, #get_all_servers, #get_cli_return_value, #validate_cli_option_hash_string_values, #validate_cli_options_hash, #validate_cli_result, #validate_servers

Constructor Details

#initialize(integration_settings = BrpmAuto.integration_settings) ⇒ BsaSoapClient

Returns a new instance of BsaSoapClient.



2
3
4
5
# File 'lib/bl_soap/bsa_soap_client.rb', line 2

def initialize(integration_settings = BrpmAuto.integration_settings)
  @url = integration_settings.dns
  @session_id = .new(integration_settings).
end

Instance Method Details

#blpackageObject



7
8
9
# File 'lib/bl_soap/bsa_soap_client.rb', line 7

def blpackage
  @blpackage ||= BlPackage.new(@url, @session_id)
end

#component_groupObject



43
44
45
# File 'lib/bl_soap/bsa_soap_client.rb', line 43

def component_group
  @component_group ||= ComponentGroup.new(@url, @session_id)
end

#deploy_jobObject



19
20
21
# File 'lib/bl_soap/bsa_soap_client.rb', line 19

def deploy_job
  @deploy_job ||= DeployJob.new(@url, @session_id)
end

#depot_groupObject



35
36
37
# File 'lib/bl_soap/bsa_soap_client.rb', line 35

def depot_group
  @depot_group ||= DepotGroup.new(@url, @session_id)
end

#groupObject



31
32
33
# File 'lib/bl_soap/bsa_soap_client.rb', line 31

def group
  @group ||= Group.new(@url, @session_id)
end

#jobObject



11
12
13
# File 'lib/bl_soap/bsa_soap_client.rb', line 11

def job
  @job ||= Job.new(@url, @session_id)
end

#job_groupObject



27
28
29
# File 'lib/bl_soap/bsa_soap_client.rb', line 27

def job_group
  @job_group ||= JobGroup.new(@url, @session_id)
end

#job_runObject



15
16
17
# File 'lib/bl_soap/bsa_soap_client.rb', line 15

def job_run
  @job_run ||= JobRun.new(@url, @session_id)
end

#nsh_script_jobObject



23
24
25
# File 'lib/bl_soap/bsa_soap_client.rb', line 23

def nsh_script_job
  @nsh_script_job ||= NSHScriptJob.new(@url, @session_id)
end

#serverObject



47
48
49
# File 'lib/bl_soap/bsa_soap_client.rb', line 47

def server
  @server ||= Server.new(@url, @session_id)
end

#server_groupObject



39
40
41
# File 'lib/bl_soap/bsa_soap_client.rb', line 39

def server_group
  @server_group ||= ServerGroup.new(@url, @session_id)
end

#utilityObject



51
52
53
# File 'lib/bl_soap/bsa_soap_client.rb', line 51

def utility
  @utility ||= Utility.new(@url, @session_id)
end