Repository: airavata-php-gateway Updated Branches: refs/heads/master 56518c3bc -> 0ca3714c2
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/375afaf5/app/libraries/Airavata/Model/Security/Types.php ---------------------------------------------------------------------- diff --git a/app/libraries/Airavata/Model/Security/Types.php b/app/libraries/Airavata/Model/Security/Types.php new file mode 100644 index 0000000..7904fef --- /dev/null +++ b/app/libraries/Airavata/Model/Security/Types.php @@ -0,0 +1,152 @@ +<?php +namespace Airavata\Model\Security; + +/** + * Autogenerated by Thrift Compiler (0.9.2) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +use Thrift\Base\TBase; +use Thrift\Type\TType; +use Thrift\Type\TMessageType; +use Thrift\Exception\TException; +use Thrift\Exception\TProtocolException; +use Thrift\Protocol\TProtocol; +use Thrift\Protocol\TBinaryProtocolAccelerated; +use Thrift\Exception\TApplicationException; + + +class AuthzToken { + static $_TSPEC; + + /** + * @var string + */ + public $accessToken = null; + /** + * @var array + */ + public $claimsMap = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'accessToken', + 'type' => TType::STRING, + ), + 2 => array( + 'var' => 'claimsMap', + 'type' => TType::MAP, + 'ktype' => TType::STRING, + 'vtype' => TType::STRING, + 'key' => array( + 'type' => TType::STRING, + ), + 'val' => array( + 'type' => TType::STRING, + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['accessToken'])) { + $this->accessToken = $vals['accessToken']; + } + if (isset($vals['claimsMap'])) { + $this->claimsMap = $vals['claimsMap']; + } + } + } + + public function getName() { + return 'AuthzToken'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->accessToken); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::MAP) { + $this->claimsMap = array(); + $_size0 = 0; + $_ktype1 = 0; + $_vtype2 = 0; + $xfer += $input->readMapBegin($_ktype1, $_vtype2, $_size0); + for ($_i4 = 0; $_i4 < $_size0; ++$_i4) + { + $key5 = ''; + $val6 = ''; + $xfer += $input->readString($key5); + $xfer += $input->readString($val6); + $this->claimsMap[$key5] = $val6; + } + $xfer += $input->readMapEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('AuthzToken'); + if ($this->accessToken !== null) { + $xfer += $output->writeFieldBegin('accessToken', TType::STRING, 1); + $xfer += $output->writeString($this->accessToken); + $xfer += $output->writeFieldEnd(); + } + if ($this->claimsMap !== null) { + if (!is_array($this->claimsMap)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('claimsMap', TType::MAP, 2); + { + $output->writeMapBegin(TType::STRING, TType::STRING, count($this->claimsMap)); + { + foreach ($this->claimsMap as $kiter7 => $viter8) + { + $xfer += $output->writeString($kiter7); + $xfer += $output->writeString($viter8); + } + } + $output->writeMapEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + + http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/375afaf5/app/libraries/Airavata/Model/Types.php ---------------------------------------------------------------------- diff --git a/app/libraries/Airavata/Model/Types.php b/app/libraries/Airavata/Model/Types.php index 4e89132..21d877c 100644 --- a/app/libraries/Airavata/Model/Types.php +++ b/app/libraries/Airavata/Model/Types.php @@ -2,7 +2,7 @@ namespace Airavata\Model; /** - * Autogenerated by Thrift Compiler (0.9.1) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -20,11 +20,29 @@ use Thrift\Exception\TApplicationException; class Workflow { static $_TSPEC; + /** + * @var string + */ public $templateId = "DO_NOT_SET_AT_CLIENTS"; + /** + * @var string + */ public $name = null; + /** + * @var string + */ public $graph = null; + /** + * @var string + */ public $image = null; + /** + * @var \Airavata\Model\Application\Io\InputDataObjectType[] + */ public $workflowInputs = null; + /** + * @var \Airavata\Model\Application\Io\OutputDataObjectType[] + */ public $workflowOutputs = null; public function __construct($vals=null) { @@ -52,7 +70,7 @@ class Workflow { 'etype' => TType::STRUCT, 'elem' => array( 'type' => TType::STRUCT, - 'class' => '\Airavata\Model\AppCatalog\AppInterface\InputDataObjectType', + 'class' => '\Airavata\Model\Application\Io\InputDataObjectType', ), ), 6 => array( @@ -61,7 +79,7 @@ class Workflow { 'etype' => TType::STRUCT, 'elem' => array( 'type' => TType::STRUCT, - 'class' => '\Airavata\Model\AppCatalog\AppInterface\OutputDataObjectType', + 'class' => '\Airavata\Model\Application\Io\OutputDataObjectType', ), ), ); @@ -144,7 +162,7 @@ class Workflow { for ($_i4 = 0; $_i4 < $_size0; ++$_i4) { $elem5 = null; - $elem5 = new \Airavata\Model\AppCatalog\AppInterface\InputDataObjectType(); + $elem5 = new \Airavata\Model\Application\Io\InputDataObjectType(); $xfer += $elem5->read($input); $this->workflowInputs []= $elem5; } @@ -162,7 +180,7 @@ class Workflow { for ($_i10 = 0; $_i10 < $_size6; ++$_i10) { $elem11 = null; - $elem11 = new \Airavata\Model\AppCatalog\AppInterface\OutputDataObjectType(); + $elem11 = new \Airavata\Model\Application\Io\OutputDataObjectType(); $xfer += $elem11->read($input); $this->workflowOutputs []= $elem11; } @@ -245,6 +263,12 @@ class Workflow { } -$GLOBALS['workflowDataModel_CONSTANTS']['DEFAULT_ID'] = "DO_NOT_SET_AT_CLIENTS"; +final class Constant extends \Thrift\Type\TConstant { + static protected $DEFAULT_ID; + + static protected function init_DEFAULT_ID() { + return "DO_NOT_SET_AT_CLIENTS"; + } +} http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/375afaf5/app/libraries/Airavata/Model/Workspace/Experiment/Types.php ---------------------------------------------------------------------- diff --git a/app/libraries/Airavata/Model/Workspace/Experiment/Types.php b/app/libraries/Airavata/Model/Workspace/Experiment/Types.php index db58bf9..18fcd73 100644 --- a/app/libraries/Airavata/Model/Workspace/Experiment/Types.php +++ b/app/libraries/Airavata/Model/Workspace/Experiment/Types.php @@ -2,7 +2,7 @@ namespace Airavata\Model\Workspace\Experiment; /** - * Autogenerated by Thrift Compiler (0.9.1) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -236,7 +236,13 @@ final class ExecutionUnit { class ExperimentStatus { static $_TSPEC; + /** + * @var int + */ public $experimentState = null; + /** + * @var int + */ public $timeOfStateChange = null; public function __construct($vals=null) { @@ -328,7 +334,13 @@ class ExperimentStatus { class WorkflowNodeStatus { static $_TSPEC; + /** + * @var int + */ public $workflowNodeState = null; + /** + * @var int + */ public $timeOfStateChange = null; public function __construct($vals=null) { @@ -420,7 +432,13 @@ class WorkflowNodeStatus { class TaskStatus { static $_TSPEC; + /** + * @var int + */ public $executionState = null; + /** + * @var int + */ public $timeOfStateChange = null; public function __construct($vals=null) { @@ -512,7 +530,13 @@ class TaskStatus { class JobStatus { static $_TSPEC; + /** + * @var int + */ public $jobState = null; + /** + * @var int + */ public $timeOfStateChange = null; public function __construct($vals=null) { @@ -604,7 +628,13 @@ class JobStatus { class TransferStatus { static $_TSPEC; + /** + * @var int + */ public $transferState = null; + /** + * @var int + */ public $timeOfStateChange = null; public function __construct($vals=null) { @@ -696,7 +726,13 @@ class TransferStatus { class ApplicationStatus { static $_TSPEC; + /** + * @var string + */ public $applicationState = null; + /** + * @var int + */ public $timeOfStateChange = null; public function __construct($vals=null) { @@ -785,18 +821,52 @@ class ApplicationStatus { } +/** + * A structure holding the Computational Resource Scheduling. + * + */ class ComputationalResourceScheduling { static $_TSPEC; + /** + * @var string + */ public $resourceHostId = null; + /** + * @var int + */ public $totalCPUCount = null; + /** + * @var int + */ public $nodeCount = null; + /** + * @var int + */ public $numberOfThreads = null; + /** + * @var string + */ public $queueName = null; + /** + * @var int + */ public $wallTimeLimit = null; + /** + * @var int + */ public $jobStartTime = null; + /** + * @var int + */ public $totalPhysicalMemory = null; + /** + * @var string + */ public $computationalProjectAccount = null; + /** + * @var string + */ public $chassisName = null; public function __construct($vals=null) { @@ -1037,12 +1107,28 @@ class ComputationalResourceScheduling { } +/** + * A structure holding specified input data handling. + * + */ class AdvancedInputDataHandling { static $_TSPEC; + /** + * @var bool + */ public $stageInputFilesToWorkingDir = false; + /** + * @var string + */ public $parentWorkingDirectory = null; + /** + * @var string + */ public $uniqueWorkingDirectory = null; + /** + * @var bool + */ public $cleanUpWorkingDirAfterJob = false; public function __construct($vals=null) { @@ -1169,11 +1255,24 @@ class AdvancedInputDataHandling { } +/** + * A structure holding specified output data handling. + * + */ class AdvancedOutputDataHandling { static $_TSPEC; + /** + * @var string + */ public $outputDataDir = null; + /** + * @var string + */ public $dataRegistryURL = null; + /** + * @var bool + */ public $persistOutputData = true; public function __construct($vals=null) { @@ -1281,11 +1380,24 @@ class AdvancedOutputDataHandling { } +/** + * A structure holding Quality of Service Parameters. + * + */ class QualityOfServiceParams { static $_TSPEC; + /** + * @var string + */ public $startExecutionAt = null; + /** + * @var string + */ public $executeBefore = null; + /** + * @var int + */ public $numberofRetries = null; public function __construct($vals=null) { @@ -1393,18 +1505,53 @@ class QualityOfServiceParams { } +/** + * A structure holding the experiment configuration. + * + * + */ class UserConfigurationData { static $_TSPEC; + /** + * @var bool + */ public $airavataAutoSchedule = false; + /** + * @var bool + */ public $overrideManualScheduledParams = false; + /** + * @var bool + */ public $shareExperimentPublicly = false; + /** + * @var \Airavata\Model\Workspace\Experiment\ComputationalResourceScheduling + */ public $computationalResourceScheduling = null; + /** + * @var \Airavata\Model\Workspace\Experiment\AdvancedInputDataHandling + */ public $advanceInputDataHandling = null; + /** + * @var \Airavata\Model\Workspace\Experiment\AdvancedOutputDataHandling + */ public $advanceOutputDataHandling = null; + /** + * @var \Airavata\Model\Workspace\Experiment\QualityOfServiceParams + */ public $qosParams = null; + /** + * @var bool + */ public $throttleResources = false; + /** + * @var string + */ public $userDN = null; + /** + * @var bool + */ public $generateCert = false; public function __construct($vals=null) { @@ -1668,14 +1815,41 @@ class UserConfigurationData { class ErrorDetails { static $_TSPEC; + /** + * @var string + */ public $errorID = "DO_NOT_SET_AT_CLIENTS"; + /** + * @var int + */ public $creationTime = null; + /** + * @var string + */ public $actualErrorMessage = null; + /** + * @var string + */ public $userFriendlyMessage = null; + /** + * @var int + */ public $errorCategory = null; + /** + * @var bool + */ public $transientOrPersistent = false; + /** + * @var int + */ public $correctiveAction = null; + /** + * @var int + */ public $actionableGroup = null; + /** + * @var string[] + */ public $rootCauseErrorIdList = null; public function __construct($vals=null) { @@ -1926,14 +2100,41 @@ class ErrorDetails { class JobDetails { static $_TSPEC; + /** + * @var string + */ public $jobID = "DO_NOT_SET_AT_CLIENTS"; + /** + * @var string + */ public $jobDescription = null; + /** + * @var int + */ public $creationTime = null; + /** + * @var \Airavata\Model\Workspace\Experiment\JobStatus + */ public $jobStatus = null; + /** + * @var \Airavata\Model\Workspace\Experiment\ApplicationStatus + */ public $applicationStatus = null; + /** + * @var \Airavata\Model\Workspace\Experiment\ErrorDetails[] + */ public $errors = null; + /** + * @var string + */ public $computeResourceConsumed = null; + /** + * @var string + */ public $jobName = null; + /** + * @var string + */ public $workingDir = null; public function __construct($vals=null) { @@ -2196,9 +2397,21 @@ class JobDetails { class DataTransferDetails { static $_TSPEC; + /** + * @var string + */ public $transferID = "DO_NOT_SET_AT_CLIENTS"; + /** + * @var int + */ public $creationTime = null; + /** + * @var string + */ public $transferDescription = null; + /** + * @var \Airavata\Model\Workspace\Experiment\TransferStatus + */ public $transferStatus = null; public function __construct($vals=null) { @@ -2330,24 +2543,78 @@ class DataTransferDetails { } +/** + * A structure holding the actual execution context decided based on user provided configuration data or system inferred + * information from scheduling and QoS parameters. One experiment can have multiple tasks. Each tasks results in + * data transfers and jobs + * + */ class TaskDetails { static $_TSPEC; + /** + * @var string + */ public $taskID = "DO_NOT_SET_AT_CLIENTS"; + /** + * @var int + */ public $creationTime = null; + /** + * @var string + */ public $applicationId = null; + /** + * @var string + */ public $applicationVersion = null; + /** + * @var string + */ public $applicationDeploymentId = null; + /** + * @var \Airavata\Model\AppCatalog\AppInterface\InputDataObjectType[] + */ public $applicationInputs = null; + /** + * @var \Airavata\Model\AppCatalog\AppInterface\OutputDataObjectType[] + */ public $applicationOutputs = null; + /** + * @var \Airavata\Model\Workspace\Experiment\ComputationalResourceScheduling + */ public $taskScheduling = null; + /** + * @var \Airavata\Model\Workspace\Experiment\AdvancedInputDataHandling + */ public $advancedInputDataHandling = null; + /** + * @var \Airavata\Model\Workspace\Experiment\AdvancedOutputDataHandling + */ public $advancedOutputDataHandling = null; + /** + * @var \Airavata\Model\Workspace\Experiment\TaskStatus + */ public $taskStatus = null; + /** + * @var \Airavata\Model\Workspace\Experiment\JobDetails[] + */ public $jobDetailsList = null; + /** + * @var \Airavata\Model\Workspace\Experiment\DataTransferDetails[] + */ public $dataTransferDetailsList = null; + /** + * @var \Airavata\Model\Workspace\Experiment\ErrorDetails[] + */ public $errors = null; + /** + * @var bool + */ public $enableEmailNotification = null; + /** + * @var string[] + */ public $emailAddresses = null; public function __construct($vals=null) { @@ -2888,18 +3155,52 @@ class TaskDetails { } +/** + * A structure holding the node data. + * nodeInstanceId - unique node identifier for each run + */ class WorkflowNodeDetails { static $_TSPEC; + /** + * @var string + */ public $nodeInstanceId = "DO_NOT_SET_AT_CLIENTS"; + /** + * @var int + */ public $creationTime = null; + /** + * @var string + */ public $nodeName = "SINGLE_APP_NODE"; + /** + * @var int + */ public $executionUnit = 1; + /** + * @var string + */ public $executionUnitData = null; + /** + * @var \Airavata\Model\AppCatalog\AppInterface\InputDataObjectType[] + */ public $nodeInputs = null; + /** + * @var \Airavata\Model\AppCatalog\AppInterface\OutputDataObjectType[] + */ public $nodeOutputs = null; + /** + * @var \Airavata\Model\Workspace\Experiment\WorkflowNodeStatus + */ public $workflowNodeStatus = null; + /** + * @var \Airavata\Model\Workspace\Experiment\TaskDetails[] + */ public $taskDetailsList = null; + /** + * @var \Airavata\Model\Workspace\Experiment\ErrorDetails[] + */ public $errors = null; public function __construct($vals=null) { @@ -3257,10 +3558,23 @@ class WorkflowNodeDetails { } +/** + * This data structure can be used to store the validation results + * captured during validation step and during the launchExperiment + * operation it can be easilly checked to see the errors occured + * during the experiment launch operation + * + */ class ValidatorResult { static $_TSPEC; + /** + * @var bool + */ public $result = null; + /** + * @var string + */ public $errorDetails = null; public function __construct($vals=null) { @@ -3352,7 +3666,13 @@ class ValidatorResult { class ValidationResults { static $_TSPEC; + /** + * @var bool + */ public $validationState = null; + /** + * @var \Airavata\Model\Workspace\Experiment\ValidatorResult[] + */ public $validationResultList = null; public function __construct($vals=null) { @@ -3469,29 +3789,108 @@ class ValidationResults { } +/** + * A structure holding the experiment metadata and its child models. + * + * userName: + * The user name of the targeted gateway end user on whose behalf the experiment is being created. + * the associated gateway identity can only be inferred from the security hand-shake so as to avoid + * authorized Airavata Clients mimicking an unauthorized request. If a gateway is not registered with + * Airavata, an authorization exception is thrown. + * + * experimentName: + * The name of the experiment as defined by the user. The name need not be unique as uniqueness is enforced + * by the generated experiment id. + * + * experimentDescription: + * The verbose description of the experiment. This is an optional parameter. + */ class Experiment { static $_TSPEC; + /** + * @var string + */ public $experimentID = "DO_NOT_SET_AT_CLIENTS"; + /** + * @var string + */ public $projectID = "DEFAULT"; + /** + * @var int + */ public $creationTime = null; + /** + * @var string + */ public $userName = null; + /** + * @var string + */ public $name = null; + /** + * @var string + */ public $description = null; + /** + * @var string + */ public $applicationId = null; + /** + * @var string + */ public $applicationVersion = null; + /** + * @var string + */ public $workflowTemplateId = null; + /** + * @var string + */ public $workflowTemplateVersion = null; + /** + * @var string + */ public $gatewayExecutionId = null; + /** + * @var bool + */ public $enableEmailNotification = null; + /** + * @var string[] + */ public $emailAddresses = null; + /** + * @var \Airavata\Model\Workspace\Experiment\UserConfigurationData + */ public $userConfigurationData = null; + /** + * @var string + */ public $workflowExecutionInstanceId = null; + /** + * @var \Airavata\Model\AppCatalog\AppInterface\InputDataObjectType[] + */ public $experimentInputs = null; + /** + * @var \Airavata\Model\AppCatalog\AppInterface\OutputDataObjectType[] + */ public $experimentOutputs = null; + /** + * @var \Airavata\Model\Workspace\Experiment\ExperimentStatus + */ public $experimentStatus = null; + /** + * @var \Airavata\Model\Workspace\Experiment\WorkflowNodeStatus[] + */ public $stateChangeList = null; + /** + * @var \Airavata\Model\Workspace\Experiment\WorkflowNodeDetails[] + */ public $workflowNodeDetailsList = null; + /** + * @var \Airavata\Model\Workspace\Experiment\ErrorDetails[] + */ public $errors = null; public function __construct($vals=null) { @@ -4120,13 +4519,37 @@ class Experiment { class ExperimentSummary { static $_TSPEC; + /** + * @var string + */ public $experimentID = null; + /** + * @var string + */ public $projectID = null; + /** + * @var int + */ public $creationTime = null; + /** + * @var string + */ public $userName = null; + /** + * @var string + */ public $name = null; + /** + * @var string + */ public $description = null; + /** + * @var string + */ public $applicationId = null; + /** + * @var \Airavata\Model\Workspace\Experiment\ExperimentStatus + */ public $experimentStatus = null; public function __construct($vals=null) { @@ -4337,13 +4760,37 @@ class ExperimentSummary { class ExperimentStatistics { static $_TSPEC; + /** + * @var int + */ public $allExperimentCount = null; + /** + * @var int + */ public $completedExperimentCount = null; + /** + * @var int + */ public $cancelledExperimentCount = null; + /** + * @var int + */ public $failedExperimentCount = null; + /** + * @var \Airavata\Model\Workspace\Experiment\ExperimentSummary[] + */ public $allExperiments = null; + /** + * @var \Airavata\Model\Workspace\Experiment\ExperimentSummary[] + */ public $completedExperiments = null; + /** + * @var \Airavata\Model\Workspace\Experiment\ExperimentSummary[] + */ public $failedExperiments = null; + /** + * @var \Airavata\Model\Workspace\Experiment\ExperimentSummary[] + */ public $cancelledExperiments = null; public function __construct($vals=null) { @@ -4658,10 +5105,22 @@ class ExperimentStatistics { } -$GLOBALS['experimentModel_CONSTANTS']['DEFAULT_ID'] = "DO_NOT_SET_AT_CLIENTS"; +final class Constant extends \Thrift\Type\TConstant { + static protected $DEFAULT_ID; + static protected $DEFAULT_PROJECT_NAME; + static protected $SINGLE_APP_NODE_NAME; -$GLOBALS['experimentModel_CONSTANTS']['DEFAULT_PROJECT_NAME'] = "DEFAULT"; + static protected function init_DEFAULT_ID() { + return "DO_NOT_SET_AT_CLIENTS"; + } + + static protected function init_DEFAULT_PROJECT_NAME() { + return "DEFAULT"; + } -$GLOBALS['experimentModel_CONSTANTS']['SINGLE_APP_NODE_NAME'] = "SINGLE_APP_NODE"; + static protected function init_SINGLE_APP_NODE_NAME() { + return "SINGLE_APP_NODE"; + } +} http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/375afaf5/app/libraries/Airavata/Model/Workspace/Types.php ---------------------------------------------------------------------- diff --git a/app/libraries/Airavata/Model/Workspace/Types.php b/app/libraries/Airavata/Model/Workspace/Types.php index 7ccd55c..458f6ea 100644 --- a/app/libraries/Airavata/Model/Workspace/Types.php +++ b/app/libraries/Airavata/Model/Workspace/Types.php @@ -2,7 +2,7 @@ namespace Airavata\Model\Workspace; /** - * Autogenerated by Thrift Compiler (0.9.1) + * Autogenerated by Thrift Compiler (0.9.2) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated @@ -20,7 +20,13 @@ use Thrift\Exception\TApplicationException; class Group { static $_TSPEC; + /** + * @var string + */ public $groupName = null; + /** + * @var string + */ public $description = null; public function __construct($vals=null) { @@ -112,12 +118,33 @@ class Group { class Project { static $_TSPEC; - public $projectID = "DEFAULT"; + /** + * @var string + */ + public $projectID = null; + /** + * @var string + */ public $owner = null; + /** + * @var string + */ public $name = null; + /** + * @var string + */ public $description = null; + /** + * @var int + */ public $creationTime = null; + /** + * @var string[] + */ public $sharedUsers = null; + /** + * @var string[] + */ public $sharedGroups = null; public function __construct($vals=null) { @@ -356,7 +383,13 @@ class Project { class User { static $_TSPEC; + /** + * @var string + */ public $userName = null; + /** + * @var \Airavata\Model\Workspace\Group[] + */ public $groupList = null; public function __construct($vals=null) { @@ -476,9 +509,21 @@ class User { class Gateway { static $_TSPEC; + /** + * @var string + */ public $gatewayId = null; + /** + * @var string + */ public $gatewayName = null; + /** + * @var string + */ public $domain = null; + /** + * @var string + */ public $emailAddress = null; public function __construct($vals=null) { http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/375afaf5/app/views/admin/manage-resources.blade.php ---------------------------------------------------------------------- diff --git a/app/views/admin/manage-resources.blade.php b/app/views/admin/manage-resources.blade.php index 8316ce7..9c99017 100644 --- a/app/views/admin/manage-resources.blade.php +++ b/app/views/admin/manage-resources.blade.php @@ -42,7 +42,9 @@ <?php $resourceId = $resource->computeResourceId; $resourceName = $resource->hostName; - $enabled = $resource->enabled; +//Fixme +// $enabled = $resource->enabled; + $enabled = true; ?> <tr class="user-row"> <td>{{ $resourceId }}</td>
