You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by la...@apache.org on 2014/05/16 17:07:54 UTC

git commit: Adding validationResult object.

Repository: airavata
Updated Branches:
  refs/heads/master 3d76388b5 -> e9c0b4d9e


Adding validationResult object.


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/e9c0b4d9
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/e9c0b4d9
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/e9c0b4d9

Branch: refs/heads/master
Commit: e9c0b4d9e39bed9e1540456a77597dae765cd2d4
Parents: 3d76388
Author: lahiru <la...@apache.org>
Authored: Fri May 16 11:07:23 2014 -0400
Committer: lahiru <la...@apache.org>
Committed: Fri May 16 11:07:23 2014 -0400

----------------------------------------------------------------------
 .../experimentModel.thrift                         | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/e9c0b4d9/airavata-api/thrift-interface-descriptions/experimentModel.thrift
----------------------------------------------------------------------
diff --git a/airavata-api/thrift-interface-descriptions/experimentModel.thrift b/airavata-api/thrift-interface-descriptions/experimentModel.thrift
index 08fb614..459e46d 100644
--- a/airavata-api/thrift-interface-descriptions/experimentModel.thrift
+++ b/airavata-api/thrift-interface-descriptions/experimentModel.thrift
@@ -328,6 +328,23 @@ struct 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
+**/
+
+struct ValidatorResult {
+    1: required boolean result,
+    2: optional string errorDetails
+}
+
+
+struct ValidationResults {
+    1: required boolean validationState,
+    2: required list<ValidationResults>
+}
+/**
  * A structure holding the experiment metadata and its child models.
  *
  * userName: