You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2015/06/11 19:12:17 UTC
[07/16] airavata git commit: Updating Airavata to use Thrift version
0.9.2 - AIRAVATA-1707
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/constants.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/constants.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/constants.py
index 05093fe..b3c034e 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/constants.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/constants.py
@@ -1,5 +1,5 @@
#
-# 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
#
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/error/constants.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/error/constants.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/error/constants.py
index 35216c6..99717a9 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/error/constants.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/error/constants.py
@@ -1,5 +1,5 @@
#
-# 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
#
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/error/ttypes.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/error/ttypes.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/error/ttypes.py
index 24999f4..199d1d2 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/error/ttypes.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/error/ttypes.py
@@ -1,5 +1,5 @@
#
-# 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
#
@@ -130,6 +130,11 @@ class ExperimentNotFoundException(TException):
def __str__(self):
return repr(self)
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.message)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -199,6 +204,11 @@ class ProjectNotFoundException(TException):
def __str__(self):
return repr(self)
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.message)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -269,6 +279,11 @@ class InvalidRequestException(TException):
def __str__(self):
return repr(self)
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.message)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -317,6 +332,10 @@ class TimedOutException(TException):
def __str__(self):
return repr(self)
+ def __hash__(self):
+ value = 17
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -386,6 +405,11 @@ class AuthenticationException(TException):
def __str__(self):
return repr(self)
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.message)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -455,6 +479,11 @@ class AuthorizationException(TException):
def __str__(self):
return repr(self)
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.message)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -546,6 +575,12 @@ class AiravataClientException(TException):
def __str__(self):
return repr(self)
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.airavataErrorType)
+ value = (value * 31) ^ hash(self.parameter)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -620,6 +655,12 @@ class ValidatorResult:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.result)
+ value = (value * 31) ^ hash(self.errorDetails)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -705,6 +746,12 @@ class ValidationResults:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.validationState)
+ value = (value * 31) ^ hash(self.validationResultList)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -783,6 +830,12 @@ class LaunchValidationException(TException):
def __str__(self):
return repr(self)
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.validationResult)
+ value = (value * 31) ^ hash(self.errorMessage)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -869,6 +922,12 @@ class AiravataSystemException(TException):
def __str__(self):
return repr(self)
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.airavataErrorType)
+ value = (value * 31) ^ hash(self.message)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/ttypes.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/ttypes.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/ttypes.py
index 75fe7b6..d125652 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/ttypes.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/api/ttypes.py
@@ -1,5 +1,5 @@
#
-# 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
#
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appdeployment/constants.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appdeployment/constants.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appdeployment/constants.py
index 249ecf4..f9a2df5 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appdeployment/constants.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appdeployment/constants.py
@@ -1,5 +1,5 @@
#
-# 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
#
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appdeployment/ttypes.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appdeployment/ttypes.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appdeployment/ttypes.py
index 7383b6d..f5dde08 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appdeployment/ttypes.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appdeployment/ttypes.py
@@ -1,5 +1,5 @@
#
-# 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
#
@@ -126,6 +126,12 @@ class SetEnvPaths:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.name)
+ value = (value * 31) ^ hash(self.value)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -240,6 +246,14 @@ class ApplicationModule:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.appModuleId)
+ value = (value * 31) ^ hash(self.appModuleName)
+ value = (value * 31) ^ hash(self.appModuleVersion)
+ value = (value * 31) ^ hash(self.appModuleDescription)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -518,6 +532,22 @@ class ApplicationDeploymentDescription:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.appDeploymentId)
+ value = (value * 31) ^ hash(self.appModuleId)
+ value = (value * 31) ^ hash(self.computeHostId)
+ value = (value * 31) ^ hash(self.executablePath)
+ value = (value * 31) ^ hash(self.parallelism)
+ value = (value * 31) ^ hash(self.appDeploymentDescription)
+ value = (value * 31) ^ hash(self.moduleLoadCmds)
+ value = (value * 31) ^ hash(self.libPrependPaths)
+ value = (value * 31) ^ hash(self.libAppendPaths)
+ value = (value * 31) ^ hash(self.setEnvironment)
+ value = (value * 31) ^ hash(self.preJobCommands)
+ value = (value * 31) ^ hash(self.postJobCommands)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appinterface/constants.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appinterface/constants.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appinterface/constants.py
index 249ecf4..f9a2df5 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appinterface/constants.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appinterface/constants.py
@@ -1,5 +1,5 @@
#
-# 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
#
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appinterface/ttypes.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appinterface/ttypes.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appinterface/ttypes.py
index 942ff8a..6cca1a2 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appinterface/ttypes.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/appinterface/ttypes.py
@@ -1,5 +1,5 @@
#
-# 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
#
@@ -243,6 +243,21 @@ class InputDataObjectType:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.name)
+ value = (value * 31) ^ hash(self.value)
+ value = (value * 31) ^ hash(self.type)
+ value = (value * 31) ^ hash(self.applicationArgument)
+ value = (value * 31) ^ hash(self.standardInput)
+ value = (value * 31) ^ hash(self.userFriendlyDescription)
+ value = (value * 31) ^ hash(self.metaData)
+ value = (value * 31) ^ hash(self.inputOrder)
+ value = (value * 31) ^ hash(self.isRequired)
+ value = (value * 31) ^ hash(self.requiredToAddedToCommandLine)
+ value = (value * 31) ^ hash(self.dataStaged)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -426,6 +441,19 @@ class OutputDataObjectType:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.name)
+ value = (value * 31) ^ hash(self.value)
+ value = (value * 31) ^ hash(self.type)
+ value = (value * 31) ^ hash(self.applicationArgument)
+ value = (value * 31) ^ hash(self.isRequired)
+ value = (value * 31) ^ hash(self.requiredToAddedToCommandLine)
+ value = (value * 31) ^ hash(self.dataMovement)
+ value = (value * 31) ^ hash(self.location)
+ value = (value * 31) ^ hash(self.searchQuery)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -588,6 +616,16 @@ class ApplicationInterfaceDescription:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.applicationInterfaceId)
+ value = (value * 31) ^ hash(self.applicationName)
+ value = (value * 31) ^ hash(self.applicationDescription)
+ value = (value * 31) ^ hash(self.applicationModules)
+ value = (value * 31) ^ hash(self.applicationInputs)
+ value = (value * 31) ^ hash(self.applicationOutputs)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/constants.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/constants.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/constants.py
index 249ecf4..f9a2df5 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/constants.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/constants.py
@@ -1,5 +1,5 @@
#
-# 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
#
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py
index 1cb1b03..97dae6a 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/computeresource/ttypes.py
@@ -1,5 +1,5 @@
#
-# 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
#
@@ -440,6 +440,15 @@ class ResourceJobManager:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.resourceJobManagerId)
+ value = (value * 31) ^ hash(self.resourceJobManagerType)
+ value = (value * 31) ^ hash(self.pushMonitoringEndpoint)
+ value = (value * 31) ^ hash(self.jobManagerBinPath)
+ value = (value * 31) ^ hash(self.jobManagerCommands)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -579,6 +588,17 @@ class BatchQueue:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.queueName)
+ value = (value * 31) ^ hash(self.queueDescription)
+ value = (value * 31) ^ hash(self.maxRunTime)
+ value = (value * 31) ^ hash(self.maxNodes)
+ value = (value * 31) ^ hash(self.maxProcessors)
+ value = (value * 31) ^ hash(self.maxJobsInQueue)
+ value = (value * 31) ^ hash(self.maxMemory)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -687,6 +707,14 @@ class SCPDataMovement:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.dataMovementInterfaceId)
+ value = (value * 31) ^ hash(self.securityProtocol)
+ value = (value * 31) ^ hash(self.alternativeSCPHostName)
+ value = (value * 31) ^ hash(self.sshPort)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -793,6 +821,13 @@ class GridFTPDataMovement:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.dataMovementInterfaceId)
+ value = (value * 31) ^ hash(self.securityProtocol)
+ value = (value * 31) ^ hash(self.gridFTPEndPoints)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -888,6 +923,13 @@ class UnicoreDataMovement:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.dataMovementInterfaceId)
+ value = (value * 31) ^ hash(self.securityProtocol)
+ value = (value * 31) ^ hash(self.unicoreEndPointURL)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -973,6 +1015,12 @@ class LOCALSubmission:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.jobSubmissionInterfaceId)
+ value = (value * 31) ^ hash(self.resourceJobManager)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1043,6 +1091,11 @@ class LOCALDataMovement:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.dataMovementInterfaceId)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1178,6 +1231,16 @@ class SSHJobSubmission:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.jobSubmissionInterfaceId)
+ value = (value * 31) ^ hash(self.securityProtocol)
+ value = (value * 31) ^ hash(self.resourceJobManager)
+ value = (value * 31) ^ hash(self.alternativeSSHHostName)
+ value = (value * 31) ^ hash(self.sshPort)
+ value = (value * 31) ^ hash(self.monitorMode)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1274,6 +1337,13 @@ class GlobusJobSubmission:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.jobSubmissionInterfaceId)
+ value = (value * 31) ^ hash(self.securityProtocol)
+ value = (value * 31) ^ hash(self.globusGateKeeperEndPoint)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1371,6 +1441,13 @@ class UnicoreJobSubmission:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.jobSubmissionInterfaceId)
+ value = (value * 31) ^ hash(self.securityProtocol)
+ value = (value * 31) ^ hash(self.unicoreEndPointURL)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1507,6 +1584,16 @@ class CloudJobSubmission:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.jobSubmissionInterfaceId)
+ value = (value * 31) ^ hash(self.securityProtocol)
+ value = (value * 31) ^ hash(self.nodeId)
+ value = (value * 31) ^ hash(self.executableType)
+ value = (value * 31) ^ hash(self.providerName)
+ value = (value * 31) ^ hash(self.userAccountName)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1606,6 +1693,13 @@ class JobSubmissionInterface:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.jobSubmissionInterfaceId)
+ value = (value * 31) ^ hash(self.jobSubmissionProtocol)
+ value = (value * 31) ^ hash(self.priorityOrder)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1705,6 +1799,13 @@ class DataMovementInterface:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.dataMovementInterfaceId)
+ value = (value * 31) ^ hash(self.dataMovementProtocol)
+ value = (value * 31) ^ hash(self.priorityOrder)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1958,6 +2059,20 @@ class ComputeResourceDescription:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.computeResourceId)
+ value = (value * 31) ^ hash(self.hostName)
+ value = (value * 31) ^ hash(self.hostAliases)
+ value = (value * 31) ^ hash(self.ipAddresses)
+ value = (value * 31) ^ hash(self.resourceDescription)
+ value = (value * 31) ^ hash(self.batchQueues)
+ value = (value * 31) ^ hash(self.fileSystems)
+ value = (value * 31) ^ hash(self.jobSubmissionInterfaces)
+ value = (value * 31) ^ hash(self.dataMovementInterfaces)
+ value = (value * 31) ^ hash(self.maxMemoryPerNode)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/gatewayprofile/constants.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/gatewayprofile/constants.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/gatewayprofile/constants.py
index 35216c6..99717a9 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/gatewayprofile/constants.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/gatewayprofile/constants.py
@@ -1,5 +1,5 @@
#
-# 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
#
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/gatewayprofile/ttypes.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/gatewayprofile/ttypes.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/gatewayprofile/ttypes.py
index 56c3b0c..da70436 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/gatewayprofile/ttypes.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/appcatalog/gatewayprofile/ttypes.py
@@ -1,5 +1,5 @@
#
-# 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
#
@@ -185,6 +185,18 @@ class ComputeResourcePreference:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.computeResourceId)
+ value = (value * 31) ^ hash(self.overridebyAiravata)
+ value = (value * 31) ^ hash(self.loginUserName)
+ value = (value * 31) ^ hash(self.preferredJobSubmissionProtocol)
+ value = (value * 31) ^ hash(self.preferredDataMovementProtocol)
+ value = (value * 31) ^ hash(self.preferredBatchQueue)
+ value = (value * 31) ^ hash(self.scratchLocation)
+ value = (value * 31) ^ hash(self.allocationProjectNumber)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -278,6 +290,12 @@ class GatewayResourceProfile:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.gatewayID)
+ value = (value * 31) ^ hash(self.computeResourcePreferences)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/constants.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/constants.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/constants.py
index 35216c6..99717a9 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/constants.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/constants.py
@@ -1,5 +1,5 @@
#
-# 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
#
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/messaging/event/constants.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/messaging/event/constants.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/messaging/event/constants.py
index 249ecf4..f9a2df5 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/messaging/event/constants.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/messaging/event/constants.py
@@ -1,5 +1,5 @@
#
-# 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
#
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/messaging/event/ttypes.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/messaging/event/ttypes.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/messaging/event/ttypes.py
index f97d273..51df813 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/messaging/event/ttypes.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/messaging/event/ttypes.py
@@ -1,5 +1,5 @@
#
-# 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
#
@@ -148,6 +148,13 @@ class ExperimentStatusChangeEvent:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.state)
+ value = (value * 31) ^ hash(self.experimentId)
+ value = (value * 31) ^ hash(self.gatewayId)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -238,6 +245,13 @@ class WorkflowIdentifier:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.workflowNodeId)
+ value = (value * 31) ^ hash(self.experimentId)
+ value = (value * 31) ^ hash(self.gatewayId)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -315,6 +329,12 @@ class WorkflowNodeStatusChangeEvent:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.state)
+ value = (value * 31) ^ hash(self.workflowNodeIdentity)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -419,6 +439,14 @@ class TaskIdentifier:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.taskId)
+ value = (value * 31) ^ hash(self.workflowNodeId)
+ value = (value * 31) ^ hash(self.experimentId)
+ value = (value * 31) ^ hash(self.gatewayId)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -496,6 +524,12 @@ class TaskStatusChangeEvent:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.state)
+ value = (value * 31) ^ hash(self.taskIdentity)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -573,6 +607,12 @@ class TaskStatusChangeRequestEvent:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.state)
+ value = (value * 31) ^ hash(self.taskIdentity)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -659,6 +699,12 @@ class TaskOutputChangeEvent:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.output)
+ value = (value * 31) ^ hash(self.taskIdentity)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -777,6 +823,15 @@ class JobIdentifier:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.jobId)
+ value = (value * 31) ^ hash(self.taskId)
+ value = (value * 31) ^ hash(self.workflowNodeId)
+ value = (value * 31) ^ hash(self.experimentId)
+ value = (value * 31) ^ hash(self.gatewayId)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -853,6 +908,12 @@ class ProcessSubmitEvent:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.taskId)
+ value = (value * 31) ^ hash(self.credentialToken)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -957,6 +1018,14 @@ class TaskSubmitEvent:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.experimentId)
+ value = (value * 31) ^ hash(self.taskId)
+ value = (value * 31) ^ hash(self.gatewayId)
+ value = (value * 31) ^ hash(self.tokenId)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1061,6 +1130,14 @@ class TaskTerminateEvent:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.experimentId)
+ value = (value * 31) ^ hash(self.taskId)
+ value = (value * 31) ^ hash(self.gatewayId)
+ value = (value * 31) ^ hash(self.tokenId)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1138,6 +1215,12 @@ class JobStatusChangeEvent:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.state)
+ value = (value * 31) ^ hash(self.jobIdentity)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1215,6 +1298,12 @@ class JobStatusChangeRequestEvent:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.state)
+ value = (value * 31) ^ hash(self.jobIdentity)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1329,6 +1418,15 @@ class Message:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.event)
+ value = (value * 31) ^ hash(self.messageId)
+ value = (value * 31) ^ hash(self.messageType)
+ value = (value * 31) ^ hash(self.updatedTime)
+ value = (value * 31) ^ hash(self.messageLevel)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/ttypes.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/ttypes.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/ttypes.py
index 3b6f0fe..4dc1f16 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/ttypes.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/ttypes.py
@@ -1,5 +1,5 @@
#
-# 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
#
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workflow/constants.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workflow/constants.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workflow/constants.py
index 249ecf4..f9a2df5 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workflow/constants.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workflow/constants.py
@@ -1,5 +1,5 @@
#
-# 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
#
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workflow/ttypes.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workflow/ttypes.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workflow/ttypes.py
index 44552c2..4ffa580 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workflow/ttypes.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workflow/ttypes.py
@@ -1,5 +1,5 @@
#
-# 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
#
@@ -150,6 +150,16 @@ class Workflow:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.templateId)
+ value = (value * 31) ^ hash(self.name)
+ value = (value * 31) ^ hash(self.graph)
+ value = (value * 31) ^ hash(self.image)
+ value = (value * 31) ^ hash(self.workflowInputs)
+ value = (value * 31) ^ hash(self.workflowOutputs)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/constants.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/constants.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/constants.py
index 35216c6..99717a9 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/constants.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/constants.py
@@ -1,5 +1,5 @@
#
-# 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
#
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/experiment/constants.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/experiment/constants.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/experiment/constants.py
index e48cd00..f9a3855 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/experiment/constants.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/experiment/constants.py
@@ -1,5 +1,5 @@
#
-# 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
#
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/experiment/ttypes.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/experiment/ttypes.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/experiment/ttypes.py
index e446c56..d227f3f 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/experiment/ttypes.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/experiment/ttypes.py
@@ -1,5 +1,5 @@
#
-# 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
#
@@ -412,6 +412,12 @@ class ExperimentStatus:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.experimentState)
+ value = (value * 31) ^ hash(self.timeOfStateChange)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -486,6 +492,12 @@ class WorkflowNodeStatus:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.workflowNodeState)
+ value = (value * 31) ^ hash(self.timeOfStateChange)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -560,6 +572,12 @@ class TaskStatus:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.executionState)
+ value = (value * 31) ^ hash(self.timeOfStateChange)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -634,6 +652,12 @@ class JobStatus:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.jobState)
+ value = (value * 31) ^ hash(self.timeOfStateChange)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -708,6 +732,12 @@ class TransferStatus:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.transferState)
+ value = (value * 31) ^ hash(self.timeOfStateChange)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -782,6 +812,12 @@ class ApplicationStatus:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.applicationState)
+ value = (value * 31) ^ hash(self.timeOfStateChange)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -953,6 +989,20 @@ class ComputationalResourceScheduling:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.resourceHostId)
+ value = (value * 31) ^ hash(self.totalCPUCount)
+ value = (value * 31) ^ hash(self.nodeCount)
+ value = (value * 31) ^ hash(self.numberOfThreads)
+ value = (value * 31) ^ hash(self.queueName)
+ value = (value * 31) ^ hash(self.wallTimeLimit)
+ value = (value * 31) ^ hash(self.jobStartTime)
+ value = (value * 31) ^ hash(self.totalPhysicalMemory)
+ value = (value * 31) ^ hash(self.computationalProjectAccount)
+ value = (value * 31) ^ hash(self.chassisName)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1052,6 +1102,14 @@ class AdvancedInputDataHandling:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.stageInputFilesToWorkingDir)
+ value = (value * 31) ^ hash(self.parentWorkingDirectory)
+ value = (value * 31) ^ hash(self.uniqueWorkingDirectory)
+ value = (value * 31) ^ hash(self.cleanUpWorkingDirAfterJob)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1140,6 +1198,13 @@ class AdvancedOutputDataHandling:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.outputDataDir)
+ value = (value * 31) ^ hash(self.dataRegistryURL)
+ value = (value * 31) ^ hash(self.persistOutputData)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1227,6 +1292,13 @@ class QualityOfServiceParams:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.startExecutionAt)
+ value = (value * 31) ^ hash(self.executeBefore)
+ value = (value * 31) ^ hash(self.numberofRetries)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1407,6 +1479,20 @@ class UserConfigurationData:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.airavataAutoSchedule)
+ value = (value * 31) ^ hash(self.overrideManualScheduledParams)
+ value = (value * 31) ^ hash(self.shareExperimentPublicly)
+ value = (value * 31) ^ hash(self.computationalResourceScheduling)
+ value = (value * 31) ^ hash(self.advanceInputDataHandling)
+ value = (value * 31) ^ hash(self.advanceOutputDataHandling)
+ value = (value * 31) ^ hash(self.qosParams)
+ value = (value * 31) ^ hash(self.throttleResources)
+ value = (value * 31) ^ hash(self.userDN)
+ value = (value * 31) ^ hash(self.generateCert)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1573,6 +1659,19 @@ class ErrorDetails:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.errorID)
+ value = (value * 31) ^ hash(self.creationTime)
+ value = (value * 31) ^ hash(self.actualErrorMessage)
+ value = (value * 31) ^ hash(self.userFriendlyMessage)
+ value = (value * 31) ^ hash(self.errorCategory)
+ value = (value * 31) ^ hash(self.transientOrPersistent)
+ value = (value * 31) ^ hash(self.correctiveAction)
+ value = (value * 31) ^ hash(self.actionableGroup)
+ value = (value * 31) ^ hash(self.rootCauseErrorIdList)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1744,6 +1843,19 @@ class JobDetails:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.jobID)
+ value = (value * 31) ^ hash(self.jobDescription)
+ value = (value * 31) ^ hash(self.creationTime)
+ value = (value * 31) ^ hash(self.jobStatus)
+ value = (value * 31) ^ hash(self.applicationStatus)
+ value = (value * 31) ^ hash(self.errors)
+ value = (value * 31) ^ hash(self.computeResourceConsumed)
+ value = (value * 31) ^ hash(self.jobName)
+ value = (value * 31) ^ hash(self.workingDir)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -1845,6 +1957,14 @@ class DataTransferDetails:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.transferID)
+ value = (value * 31) ^ hash(self.creationTime)
+ value = (value * 31) ^ hash(self.transferDescription)
+ value = (value * 31) ^ hash(self.transferStatus)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -2149,6 +2269,26 @@ class TaskDetails:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.taskID)
+ value = (value * 31) ^ hash(self.creationTime)
+ value = (value * 31) ^ hash(self.applicationId)
+ value = (value * 31) ^ hash(self.applicationVersion)
+ value = (value * 31) ^ hash(self.applicationDeploymentId)
+ value = (value * 31) ^ hash(self.applicationInputs)
+ value = (value * 31) ^ hash(self.applicationOutputs)
+ value = (value * 31) ^ hash(self.taskScheduling)
+ value = (value * 31) ^ hash(self.advancedInputDataHandling)
+ value = (value * 31) ^ hash(self.advancedOutputDataHandling)
+ value = (value * 31) ^ hash(self.taskStatus)
+ value = (value * 31) ^ hash(self.jobDetailsList)
+ value = (value * 31) ^ hash(self.dataTransferDetailsList)
+ value = (value * 31) ^ hash(self.errors)
+ value = (value * 31) ^ hash(self.enableEmailNotification)
+ value = (value * 31) ^ hash(self.emailAddresses)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -2363,6 +2503,20 @@ class WorkflowNodeDetails:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.nodeInstanceId)
+ value = (value * 31) ^ hash(self.creationTime)
+ value = (value * 31) ^ hash(self.nodeName)
+ value = (value * 31) ^ hash(self.executionUnit)
+ value = (value * 31) ^ hash(self.executionUnitData)
+ value = (value * 31) ^ hash(self.nodeInputs)
+ value = (value * 31) ^ hash(self.nodeOutputs)
+ value = (value * 31) ^ hash(self.workflowNodeStatus)
+ value = (value * 31) ^ hash(self.taskDetailsList)
+ value = (value * 31) ^ hash(self.errors)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -2443,6 +2597,12 @@ class ValidatorResult:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.result)
+ value = (value * 31) ^ hash(self.errorDetails)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -2528,6 +2688,12 @@ class ValidationResults:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.validationState)
+ value = (value * 31) ^ hash(self.validationResultList)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -2906,6 +3072,31 @@ class Experiment:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.experimentID)
+ value = (value * 31) ^ hash(self.projectID)
+ value = (value * 31) ^ hash(self.creationTime)
+ value = (value * 31) ^ hash(self.userName)
+ value = (value * 31) ^ hash(self.name)
+ value = (value * 31) ^ hash(self.description)
+ value = (value * 31) ^ hash(self.applicationId)
+ value = (value * 31) ^ hash(self.applicationVersion)
+ value = (value * 31) ^ hash(self.workflowTemplateId)
+ value = (value * 31) ^ hash(self.workflowTemplateVersion)
+ value = (value * 31) ^ hash(self.gatewayExecutionId)
+ value = (value * 31) ^ hash(self.enableEmailNotification)
+ value = (value * 31) ^ hash(self.emailAddresses)
+ value = (value * 31) ^ hash(self.userConfigurationData)
+ value = (value * 31) ^ hash(self.workflowExecutionInstanceId)
+ value = (value * 31) ^ hash(self.experimentInputs)
+ value = (value * 31) ^ hash(self.experimentOutputs)
+ value = (value * 31) ^ hash(self.experimentStatus)
+ value = (value * 31) ^ hash(self.stateChangeList)
+ value = (value * 31) ^ hash(self.workflowNodeDetailsList)
+ value = (value * 31) ^ hash(self.errors)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -3059,6 +3250,218 @@ class ExperimentSummary:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.experimentID)
+ value = (value * 31) ^ hash(self.projectID)
+ value = (value * 31) ^ hash(self.creationTime)
+ value = (value * 31) ^ hash(self.userName)
+ value = (value * 31) ^ hash(self.name)
+ value = (value * 31) ^ hash(self.description)
+ value = (value * 31) ^ hash(self.applicationId)
+ value = (value * 31) ^ hash(self.experimentStatus)
+ return value
+
+ def __repr__(self):
+ L = ['%s=%r' % (key, value)
+ for key, value in self.__dict__.iteritems()]
+ return '%s(%s)' % (self.__class__.__name__, ', '.join(L))
+
+ def __eq__(self, other):
+ return isinstance(other, self.__class__) and self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not (self == other)
+
+class ExperimentStatistics:
+ """
+ Attributes:
+ - allExperimentCount
+ - completedExperimentCount
+ - cancelledExperimentCount
+ - failedExperimentCount
+ - allExperiments
+ - completedExperiments
+ - failedExperiments
+ - cancelledExperiments
+ """
+
+ thrift_spec = (
+ None, # 0
+ (1, TType.I32, 'allExperimentCount', None, None, ), # 1
+ (2, TType.I32, 'completedExperimentCount', None, None, ), # 2
+ (3, TType.I32, 'cancelledExperimentCount', None, None, ), # 3
+ (4, TType.I32, 'failedExperimentCount', None, None, ), # 4
+ (5, TType.LIST, 'allExperiments', (TType.STRUCT,(ExperimentSummary, ExperimentSummary.thrift_spec)), None, ), # 5
+ (6, TType.LIST, 'completedExperiments', (TType.STRUCT,(ExperimentSummary, ExperimentSummary.thrift_spec)), None, ), # 6
+ (7, TType.LIST, 'failedExperiments', (TType.STRUCT,(ExperimentSummary, ExperimentSummary.thrift_spec)), None, ), # 7
+ (8, TType.LIST, 'cancelledExperiments', (TType.STRUCT,(ExperimentSummary, ExperimentSummary.thrift_spec)), None, ), # 8
+ )
+
+ def __init__(self, allExperimentCount=None, completedExperimentCount=None, cancelledExperimentCount=None, failedExperimentCount=None, allExperiments=None, completedExperiments=None, failedExperiments=None, cancelledExperiments=None,):
+ self.allExperimentCount = allExperimentCount
+ self.completedExperimentCount = completedExperimentCount
+ self.cancelledExperimentCount = cancelledExperimentCount
+ self.failedExperimentCount = failedExperimentCount
+ self.allExperiments = allExperiments
+ self.completedExperiments = completedExperiments
+ self.failedExperiments = failedExperiments
+ self.cancelledExperiments = cancelledExperiments
+
+ def read(self, iprot):
+ if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
+ fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
+ return
+ iprot.readStructBegin()
+ while True:
+ (fname, ftype, fid) = iprot.readFieldBegin()
+ if ftype == TType.STOP:
+ break
+ if fid == 1:
+ if ftype == TType.I32:
+ self.allExperimentCount = iprot.readI32();
+ else:
+ iprot.skip(ftype)
+ elif fid == 2:
+ if ftype == TType.I32:
+ self.completedExperimentCount = iprot.readI32();
+ else:
+ iprot.skip(ftype)
+ elif fid == 3:
+ if ftype == TType.I32:
+ self.cancelledExperimentCount = iprot.readI32();
+ else:
+ iprot.skip(ftype)
+ elif fid == 4:
+ if ftype == TType.I32:
+ self.failedExperimentCount = iprot.readI32();
+ else:
+ iprot.skip(ftype)
+ elif fid == 5:
+ if ftype == TType.LIST:
+ self.allExperiments = []
+ (_etype136, _size133) = iprot.readListBegin()
+ for _i137 in xrange(_size133):
+ _elem138 = ExperimentSummary()
+ _elem138.read(iprot)
+ self.allExperiments.append(_elem138)
+ iprot.readListEnd()
+ else:
+ iprot.skip(ftype)
+ elif fid == 6:
+ if ftype == TType.LIST:
+ self.completedExperiments = []
+ (_etype142, _size139) = iprot.readListBegin()
+ for _i143 in xrange(_size139):
+ _elem144 = ExperimentSummary()
+ _elem144.read(iprot)
+ self.completedExperiments.append(_elem144)
+ iprot.readListEnd()
+ else:
+ iprot.skip(ftype)
+ elif fid == 7:
+ if ftype == TType.LIST:
+ self.failedExperiments = []
+ (_etype148, _size145) = iprot.readListBegin()
+ for _i149 in xrange(_size145):
+ _elem150 = ExperimentSummary()
+ _elem150.read(iprot)
+ self.failedExperiments.append(_elem150)
+ iprot.readListEnd()
+ else:
+ iprot.skip(ftype)
+ elif fid == 8:
+ if ftype == TType.LIST:
+ self.cancelledExperiments = []
+ (_etype154, _size151) = iprot.readListBegin()
+ for _i155 in xrange(_size151):
+ _elem156 = ExperimentSummary()
+ _elem156.read(iprot)
+ self.cancelledExperiments.append(_elem156)
+ iprot.readListEnd()
+ else:
+ iprot.skip(ftype)
+ else:
+ iprot.skip(ftype)
+ iprot.readFieldEnd()
+ iprot.readStructEnd()
+
+ def write(self, oprot):
+ if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
+ oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
+ return
+ oprot.writeStructBegin('ExperimentStatistics')
+ if self.allExperimentCount is not None:
+ oprot.writeFieldBegin('allExperimentCount', TType.I32, 1)
+ oprot.writeI32(self.allExperimentCount)
+ oprot.writeFieldEnd()
+ if self.completedExperimentCount is not None:
+ oprot.writeFieldBegin('completedExperimentCount', TType.I32, 2)
+ oprot.writeI32(self.completedExperimentCount)
+ oprot.writeFieldEnd()
+ if self.cancelledExperimentCount is not None:
+ oprot.writeFieldBegin('cancelledExperimentCount', TType.I32, 3)
+ oprot.writeI32(self.cancelledExperimentCount)
+ oprot.writeFieldEnd()
+ if self.failedExperimentCount is not None:
+ oprot.writeFieldBegin('failedExperimentCount', TType.I32, 4)
+ oprot.writeI32(self.failedExperimentCount)
+ oprot.writeFieldEnd()
+ if self.allExperiments is not None:
+ oprot.writeFieldBegin('allExperiments', TType.LIST, 5)
+ oprot.writeListBegin(TType.STRUCT, len(self.allExperiments))
+ for iter157 in self.allExperiments:
+ iter157.write(oprot)
+ oprot.writeListEnd()
+ oprot.writeFieldEnd()
+ if self.completedExperiments is not None:
+ oprot.writeFieldBegin('completedExperiments', TType.LIST, 6)
+ oprot.writeListBegin(TType.STRUCT, len(self.completedExperiments))
+ for iter158 in self.completedExperiments:
+ iter158.write(oprot)
+ oprot.writeListEnd()
+ oprot.writeFieldEnd()
+ if self.failedExperiments is not None:
+ oprot.writeFieldBegin('failedExperiments', TType.LIST, 7)
+ oprot.writeListBegin(TType.STRUCT, len(self.failedExperiments))
+ for iter159 in self.failedExperiments:
+ iter159.write(oprot)
+ oprot.writeListEnd()
+ oprot.writeFieldEnd()
+ if self.cancelledExperiments is not None:
+ oprot.writeFieldBegin('cancelledExperiments', TType.LIST, 8)
+ oprot.writeListBegin(TType.STRUCT, len(self.cancelledExperiments))
+ for iter160 in self.cancelledExperiments:
+ iter160.write(oprot)
+ oprot.writeListEnd()
+ oprot.writeFieldEnd()
+ oprot.writeFieldStop()
+ oprot.writeStructEnd()
+
+ def validate(self):
+ if self.allExperimentCount is None:
+ raise TProtocol.TProtocolException(message='Required field allExperimentCount is unset!')
+ if self.completedExperimentCount is None:
+ raise TProtocol.TProtocolException(message='Required field completedExperimentCount is unset!')
+ if self.failedExperimentCount is None:
+ raise TProtocol.TProtocolException(message='Required field failedExperimentCount is unset!')
+ if self.allExperiments is None:
+ raise TProtocol.TProtocolException(message='Required field allExperiments is unset!')
+ return
+
+
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.allExperimentCount)
+ value = (value * 31) ^ hash(self.completedExperimentCount)
+ value = (value * 31) ^ hash(self.cancelledExperimentCount)
+ value = (value * 31) ^ hash(self.failedExperimentCount)
+ value = (value * 31) ^ hash(self.allExperiments)
+ value = (value * 31) ^ hash(self.completedExperiments)
+ value = (value * 31) ^ hash(self.failedExperiments)
+ value = (value * 31) ^ hash(self.cancelledExperiments)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/ttypes.py
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/ttypes.py b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/ttypes.py
index 25d2fb0..d185eb0 100644
--- a/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/ttypes.py
+++ b/airavata-api/airavata-client-sdks/airavata-python-sdk/src/main/resources/lib/apache/airavata/model/workspace/ttypes.py
@@ -1,5 +1,5 @@
#
-# 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
#
@@ -82,6 +82,12 @@ class Group:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.groupName)
+ value = (value * 31) ^ hash(self.description)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -236,6 +242,17 @@ class Project:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.projectID)
+ value = (value * 31) ^ hash(self.owner)
+ value = (value * 31) ^ hash(self.name)
+ value = (value * 31) ^ hash(self.description)
+ value = (value * 31) ^ hash(self.creationTime)
+ value = (value * 31) ^ hash(self.sharedUsers)
+ value = (value * 31) ^ hash(self.sharedGroups)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -319,6 +336,12 @@ class User:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.userName)
+ value = (value * 31) ^ hash(self.groupList)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
@@ -417,6 +440,14 @@ class Gateway:
return
+ def __hash__(self):
+ value = 17
+ value = (value * 31) ^ hash(self.gatewayId)
+ value = (value * 31) ^ hash(self.gatewayName)
+ value = (value * 31) ^ hash(self.domain)
+ value = (value * 31) ^ hash(self.emailAddress)
+ return value
+
def __repr__(self):
L = ['%s=%r' % (key, value)
for key, value in self.__dict__.iteritems()]
http://git-wip-us.apache.org/repos/asf/airavata/blob/a5cb91f0/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/Workflow.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/Workflow.java b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/Workflow.java
index 21d2694..505ae78 100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/Workflow.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/Workflow.java
@@ -16,7 +16,7 @@
*/
/**
- * 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
@@ -46,10 +46,13 @@ import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
+import javax.annotation.Generated;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-@SuppressWarnings("all") public class Workflow implements org.apache.thrift.TBase<Workflow, Workflow._Fields>, java.io.Serializable, Cloneable, Comparable<Workflow> {
+@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-6-11")
+public class Workflow implements org.apache.thrift.TBase<Workflow, Workflow._Fields>, java.io.Serializable, Cloneable, Comparable<Workflow> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Workflow");
private static final org.apache.thrift.protocol.TField TEMPLATE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("templateId", org.apache.thrift.protocol.TType.STRING, (short)1);
@@ -73,7 +76,7 @@ import org.slf4j.LoggerFactory;
private List<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType> workflowOutputs; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
- @SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+ public enum _Fields implements org.apache.thrift.TFieldIdEnum {
TEMPLATE_ID((short)1, "templateId"),
NAME((short)2, "name"),
GRAPH((short)3, "graph"),
@@ -146,7 +149,7 @@ import org.slf4j.LoggerFactory;
}
// isset id assignments
- private _Fields optionals[] = {_Fields.GRAPH,_Fields.IMAGE,_Fields.WORKFLOW_INPUTS,_Fields.WORKFLOW_OUTPUTS};
+ private static final _Fields optionals[] = {_Fields.GRAPH,_Fields.IMAGE,_Fields.WORKFLOW_INPUTS,_Fields.WORKFLOW_OUTPUTS};
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
@@ -197,7 +200,6 @@ import org.slf4j.LoggerFactory;
}
if (other.isSetImage()) {
this.image = org.apache.thrift.TBaseHelper.copyBinary(other.image);
-;
}
if (other.isSetWorkflowInputs()) {
List<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType> __this__workflowInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>(other.workflowInputs.size());
@@ -305,15 +307,15 @@ import org.slf4j.LoggerFactory;
}
public ByteBuffer bufferForImage() {
- return image;
+ return org.apache.thrift.TBaseHelper.copyBinary(image);
}
public void setImage(byte[] image) {
- setImage(image == null ? (ByteBuffer)null : ByteBuffer.wrap(image));
+ this.image = image == null ? (ByteBuffer)null : ByteBuffer.wrap(Arrays.copyOf(image, image.length));
}
public void setImage(ByteBuffer image) {
- this.image = image;
+ this.image = org.apache.thrift.TBaseHelper.copyBinary(image);
}
public void unsetImage() {
@@ -579,7 +581,39 @@ import org.slf4j.LoggerFactory;
@Override
public int hashCode() {
- return 0;
+ List<Object> list = new ArrayList<Object>();
+
+ boolean present_templateId = true && (isSetTemplateId());
+ list.add(present_templateId);
+ if (present_templateId)
+ list.add(templateId);
+
+ boolean present_name = true && (isSetName());
+ list.add(present_name);
+ if (present_name)
+ list.add(name);
+
+ boolean present_graph = true && (isSetGraph());
+ list.add(present_graph);
+ if (present_graph)
+ list.add(graph);
+
+ boolean present_image = true && (isSetImage());
+ list.add(present_image);
+ if (present_image)
+ list.add(image);
+
+ boolean present_workflowInputs = true && (isSetWorkflowInputs());
+ list.add(present_workflowInputs);
+ if (present_workflowInputs)
+ list.add(workflowInputs);
+
+ boolean present_workflowOutputs = true && (isSetWorkflowOutputs());
+ list.add(present_workflowOutputs);
+ if (present_workflowOutputs)
+ list.add(workflowOutputs);
+
+ return list.hashCode();
}
@Override
@@ -813,12 +847,12 @@ import org.slf4j.LoggerFactory;
{
org.apache.thrift.protocol.TList _list0 = iprot.readListBegin();
struct.workflowInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>(_list0.size);
- for (int _i1 = 0; _i1 < _list0.size; ++_i1)
+ org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _elem1;
+ for (int _i2 = 0; _i2 < _list0.size; ++_i2)
{
- org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _elem2;
- _elem2 = new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType();
- _elem2.read(iprot);
- struct.workflowInputs.add(_elem2);
+ _elem1 = new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType();
+ _elem1.read(iprot);
+ struct.workflowInputs.add(_elem1);
}
iprot.readListEnd();
}
@@ -832,12 +866,12 @@ import org.slf4j.LoggerFactory;
{
org.apache.thrift.protocol.TList _list3 = iprot.readListBegin();
struct.workflowOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(_list3.size);
- for (int _i4 = 0; _i4 < _list3.size; ++_i4)
+ org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _elem4;
+ for (int _i5 = 0; _i5 < _list3.size; ++_i5)
{
- org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _elem5;
- _elem5 = new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType();
- _elem5.read(iprot);
- struct.workflowOutputs.add(_elem5);
+ _elem4 = new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType();
+ _elem4.read(iprot);
+ struct.workflowOutputs.add(_elem4);
}
iprot.readListEnd();
}
@@ -990,12 +1024,12 @@ import org.slf4j.LoggerFactory;
{
org.apache.thrift.protocol.TList _list10 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.workflowInputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType>(_list10.size);
- for (int _i11 = 0; _i11 < _list10.size; ++_i11)
+ org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _elem11;
+ for (int _i12 = 0; _i12 < _list10.size; ++_i12)
{
- org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType _elem12;
- _elem12 = new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType();
- _elem12.read(iprot);
- struct.workflowInputs.add(_elem12);
+ _elem11 = new org.apache.airavata.model.appcatalog.appinterface.InputDataObjectType();
+ _elem11.read(iprot);
+ struct.workflowInputs.add(_elem11);
}
}
struct.setWorkflowInputsIsSet(true);
@@ -1004,12 +1038,12 @@ import org.slf4j.LoggerFactory;
{
org.apache.thrift.protocol.TList _list13 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
struct.workflowOutputs = new ArrayList<org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType>(_list13.size);
- for (int _i14 = 0; _i14 < _list13.size; ++_i14)
+ org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _elem14;
+ for (int _i15 = 0; _i15 < _list13.size; ++_i15)
{
- org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType _elem15;
- _elem15 = new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType();
- _elem15.read(iprot);
- struct.workflowOutputs.add(_elem15);
+ _elem14 = new org.apache.airavata.model.appcatalog.appinterface.OutputDataObjectType();
+ _elem14.read(iprot);
+ struct.workflowOutputs.add(_elem14);
}
}
struct.setWorkflowOutputsIsSet(true);