ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilWebServicesSetupAgent Class Reference
+ Inheritance diagram for ilWebServicesSetupAgent:
+ Collaboration diagram for ilWebServicesSetupAgent:

Public Member Functions

 __construct (Refinery\Factory $refinery)
 
 hasConfig ()
 
 getConfigInput (Setup\Config $config=null)
 
 getArrayToConfigTransformation ()
 
 getInstallObjective (Setup\Config $config=null)
 
 getUpdateObjective (Setup\Config $config=null)
 
 getBuildArtifactObjective ()
 
 getStatusObjective (Setup\Metrics\Storage $storage)
 
 getMigrations ()
 

Protected Attributes

Refinery Factory $refinery
 

Detailed Description

Definition at line 11 of file class.ilWebServicesSetupAgent.php.

Constructor & Destructor Documentation

◆ __construct()

ilWebServicesSetupAgent::__construct ( Refinery\Factory  $refinery)

Definition at line 17 of file class.ilWebServicesSetupAgent.php.

References $refinery, and ILIAS\Repository\refinery().

+ Here is the call graph for this function:

Member Function Documentation

◆ getArrayToConfigTransformation()

ilWebServicesSetupAgent::getArrayToConfigTransformation ( )

Definition at line 41 of file class.ilWebServicesSetupAgent.php.

References $data, ilSoapClient\DEFAULT_CONNECT_TIMEOUT, ilSoapClient\DEFAULT_RESPONSE_TIMEOUT, and ILIAS\Repository\refinery().

41  : Refinery\Transformation
42  {
43  return $this->refinery->custom()->transformation(function ($data) {
44  return new \ilWebServicesSetupConfig(
45  (bool) ($data["soap_user_administration"] ?? false),
46  $data["soap_wsdl_path"] ?? "",
47  (int) ($data["soap_connect_timeout"] ?? ilSoapClient::DEFAULT_CONNECT_TIMEOUT),
48  (int) ($data["soap_response_timeout"] ?? ilSoapClient::DEFAULT_RESPONSE_TIMEOUT),
49  $data["rpc_server_host"] ?? "",
50  (int) ($data["rpc_server_port"] ?? 0),
51  );
52  });
53  }
const DEFAULT_RESPONSE_TIMEOUT
const DEFAULT_CONNECT_TIMEOUT
+ Here is the call graph for this function:

◆ getBuildArtifactObjective()

ilWebServicesSetupAgent::getBuildArtifactObjective ( )

Definition at line 85 of file class.ilWebServicesSetupAgent.php.

85  : Setup\Objective
86  {
87  return new Setup\Objective\NullObjective();
88  }

◆ getConfigInput()

ilWebServicesSetupAgent::getConfigInput ( Setup\Config  $config = null)

Definition at line 33 of file class.ilWebServicesSetupAgent.php.

33  : UI\Component\Input\Field\Input
34  {
35  throw new \LogicException("Not yet implemented.");
36  }

◆ getInstallObjective()

ilWebServicesSetupAgent::getInstallObjective ( Setup\Config  $config = null)

Definition at line 58 of file class.ilWebServicesSetupAgent.php.

References $config.

58  : Setup\Objective
59  {
61  }
Store information about https is enabled.
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85

◆ getMigrations()

ilWebServicesSetupAgent::getMigrations ( )

Definition at line 101 of file class.ilWebServicesSetupAgent.php.

101  : array
102  {
103  return [];
104  }

◆ getStatusObjective()

ilWebServicesSetupAgent::getStatusObjective ( Setup\Metrics\Storage  $storage)

Definition at line 93 of file class.ilWebServicesSetupAgent.php.

93  : Setup\Objective
94  {
95  return new Setup\Objective\NullObjective();
96  }

◆ getUpdateObjective()

ilWebServicesSetupAgent::getUpdateObjective ( Setup\Config  $config = null)

Definition at line 66 of file class.ilWebServicesSetupAgent.php.

References $config.

66  : Setup\Objective
67  {
68  $wsrv_objective = new Setup\Objective\NullObjective();
69  if (!is_null($config)) {
70  $wsrv_objective = new ilWebServicesConfigStoredObjective($config);
71  }
73  'Updates of Services/WebServices',
74  false,
75  $wsrv_objective,
77  new ilECSUpdateSteps8()
78  )
79  );
80  }
Store information about https is enabled.
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
Class ilECSUpdateSteps8 contains update steps for release 8.

◆ hasConfig()

ilWebServicesSetupAgent::hasConfig ( )

Definition at line 25 of file class.ilWebServicesSetupAgent.php.

25  : bool
26  {
27  return true;
28  }

Field Documentation

◆ $refinery

Refinery Factory ilWebServicesSetupAgent::$refinery
protected

Definition at line 15 of file class.ilWebServicesSetupAgent.php.

Referenced by __construct().


The documentation for this class was generated from the following file: