You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ch...@apache.org on 2014/11/05 19:30:09 UTC
[21/44] adding workflow related changes back to airavata api
http://git-wip-us.apache.org/repos/asf/airavata/blob/ede66edf/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Workflow.php
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Workflow.php b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Workflow.php
index 720286c..5261d94 100644
--- a/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Workflow.php
+++ b/airavata-api/airavata-client-sdks/airavata-php-sdk/src/main/resources/lib/Airavata/API/Workflow.php
@@ -579,14 +579,14 @@ class Workflow_getAllWorkflows_result {
case 0:
if ($ftype == TType::LST) {
$this->success = array();
- $_size180 = 0;
- $_etype183 = 0;
- $xfer += $input->readListBegin($_etype183, $_size180);
- for ($_i184 = 0; $_i184 < $_size180; ++$_i184)
+ $_size187 = 0;
+ $_etype190 = 0;
+ $xfer += $input->readListBegin($_etype190, $_size187);
+ for ($_i191 = 0; $_i191 < $_size187; ++$_i191)
{
- $elem185 = null;
- $xfer += $input->readString($elem185);
- $this->success []= $elem185;
+ $elem192 = null;
+ $xfer += $input->readString($elem192);
+ $this->success []= $elem192;
}
$xfer += $input->readListEnd();
} else {
@@ -638,9 +638,9 @@ class Workflow_getAllWorkflows_result {
{
$output->writeListBegin(TType::STRING, count($this->success));
{
- foreach ($this->success as $iter186)
+ foreach ($this->success as $iter193)
{
- $xfer += $output->writeString($iter186);
+ $xfer += $output->writeString($iter193);
}
}
$output->writeListEnd();
http://git-wip-us.apache.org/repos/asf/airavata/blob/ede66edf/airavata-api/thrift-interface-descriptions/airavataAPI.thrift
----------------------------------------------------------------------
diff --git a/airavata-api/thrift-interface-descriptions/airavataAPI.thrift b/airavata-api/thrift-interface-descriptions/airavataAPI.thrift
index 6006adb..59b3e7b 100644
--- a/airavata-api/thrift-interface-descriptions/airavataAPI.thrift
+++ b/airavata-api/thrift-interface-descriptions/airavataAPI.thrift
@@ -573,6 +573,12 @@ service Airavata {
2: airavataErrors.AiravataClientException ace,
3: airavataErrors.AiravataSystemException ase)
+
+ list<applicationDeploymentModel.ApplicationModule> getAllModules ()
+ throws (1: airavataErrors.InvalidRequestException ire,
+ 2: airavataErrors.AiravataClientException ace,
+ 3: airavataErrors.AiravataSystemException ase)
+
/**
* Delete a Application Module.
*
@@ -1566,44 +1572,41 @@ service Airavata {
2: airavataErrors.AiravataClientException ace,
3: airavataErrors.AiravataSystemException ase)
- //End of API
- }
- // Workflow API
- service Workflow {
-
list<string> getAllWorkflows()
+ throws (1: airavataErrors.InvalidRequestException ire,
+ 2: airavataErrors.AiravataClientException ace,
+ 3: airavataErrors.AiravataSystemException ase)
+
+ workflowDataModel.Workflow getWorkflow (1: required string workflowTemplateId)
throws (1: airavataErrors.InvalidRequestException ire,
2: airavataErrors.AiravataClientException ace,
3: airavataErrors.AiravataSystemException ase)
-
- workflowDataModel.Workflow getWorkflow (1: required string workflowTemplateId)
- throws (1: airavataErrors.InvalidRequestException ire,
- 2: airavataErrors.AiravataClientException ace,
- 3: airavataErrors.AiravataSystemException ase)
void deleteWorkflow (1: required string workflowTemplateId)
- throws (1: airavataErrors.InvalidRequestException ire,
- 2: airavataErrors.AiravataClientException ace,
- 3: airavataErrors.AiravataSystemException ase)
-
- string registerWorkflow(1: required workflowDataModel.Workflow workflow)
throws (1: airavataErrors.InvalidRequestException ire,
2: airavataErrors.AiravataClientException ace,
3: airavataErrors.AiravataSystemException ase)
+ string registerWorkflow(1: required workflowDataModel.Workflow workflow)
+ throws (1: airavataErrors.InvalidRequestException ire,
+ 2: airavataErrors.AiravataClientException ace,
+ 3: airavataErrors.AiravataSystemException ase)
+
void updateWorkflow (1: required string workflowTemplateId, 2: required workflowDataModel.Workflow workflow)
- throws (1: airavataErrors.InvalidRequestException ire,
- 2: airavataErrors.AiravataClientException ace,
- 3: airavataErrors.AiravataSystemException ase)
+ throws (1: airavataErrors.InvalidRequestException ire,
+ 2: airavataErrors.AiravataClientException ace,
+ 3: airavataErrors.AiravataSystemException ase)
string getWorkflowTemplateId (1: required string workflowName)
- throws (1: airavataErrors.InvalidRequestException ire,
- 2: airavataErrors.AiravataClientException ace,
- 3: airavataErrors.AiravataSystemException ase)
+ throws (1: airavataErrors.InvalidRequestException ire,
+ 2: airavataErrors.AiravataClientException ace,
+ 3: airavataErrors.AiravataSystemException ase)
bool isWorkflowExistWithName(1: required string workflowName)
- throws (1: airavataErrors.InvalidRequestException ire,
- 2: airavataErrors.AiravataClientException ace,
- 3: airavataErrors.AiravataSystemException ase)
+ throws (1: airavataErrors.InvalidRequestException ire,
+ 2: airavataErrors.AiravataClientException ace,
+ 3: airavataErrors.AiravataSystemException ase)
+
+ //End of API
}