[41/51] [abbrv] [partial] airavata git commit: AIRAVATA-2505 Upgrade Airavata to Thrift 0.10.0
http://git-wip-us.apache.org/repos/asf/airavata/blob/8e775660/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 4a6492b..eb0d35a 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,11 +1,12 @@ # -# Autogenerated by Thrift Compiler (0.9.3) +# Autogenerated by Thrift Compiler (0.10.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # -from thrift.Thrift import TType, TMessageType, TException, TApplicationException -from ttypes import * - +from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException +from thrift.protocol.TProtocol import TProtocolException +import sys +from .ttypes import * http://git-wip-us.apache.org/repos/asf/airavata/blob/8e775660/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 ecb93e8..7e7d4dc 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,564 +1,522 @@ # -# Autogenerated by Thrift Compiler (0.9.3) +# Autogenerated by Thrift Compiler (0.10.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # -from thrift.Thrift import TType, TMessageType, TException, TApplicationException +from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException +from thrift.protocol.TProtocol import TProtocolException +import sys import apache.airavata.model.appcatalog.computeresource.ttypes import apache.airavata.model.data.movement.ttypes - from thrift.transport import TTransport -from thrift.protocol import TBinaryProtocol, TProtocol -try: - from thrift.protocol import fastbinary -except: - fastbinary = None - - - -class ComputeResourcePreference: - """ - Gateway specific preferences for a Computer Resource - - computeResourceId: -Corelate the preference to a compute resource. - - overridebyAiravata: -If turned true, Airavata will override the preferences of better alternatives exist. - - loginUserName: -If turned true, Airavata will override the preferences of better alternatives exist. - - preferredJobSubmissionProtocol: -For resources with multiple job submission protocols, the gateway can pick a preferred option. - - preferredDataMovementProtocol: -For resources with multiple data movement protocols, the gateway can pick a preferred option. - - preferredBatchQueue: - Gateways can choose a defualt batch queue based on average job dimention, reservations or other metrics. - - scratchLocation: - Path to the local scratch space on a HPC cluster. Typically used to create working directory for job execution. - - allocationProjectNumber: - Typically used on HPC machines to charge computing usage to a account number. For instance, on XSEDE once an - allocation is approved, an allocation number is assigned. Before passing this number with job submittions, the - account to be used has to be added to the allocation. - - resourceSpecificCredentialStoreToken: - Resource specific credential store token. If this token is specified, then it is superceeded by the gateway's -default credential store. - - - Attributes: - - computeResourceId - - overridebyAiravata - - loginUserName - - preferredJobSubmissionProtocol - - preferredDataMovementProtocol - - preferredBatchQueue - - scratchLocation - - allocationProjectNumber - - resourceSpecificCredentialStoreToken - - usageReportingGatewayId - - qualityOfService - - reservation - - reservationStartTime - - reservationEndTime - """ - - thrift_spec = ( -None, # 0 -(1, TType.STRING, 'computeResourceId', None, None, ), # 1 -
[41/51] [abbrv] [partial] airavata git commit: AIRAVATA-2505 Upgrade Airavata to Thrift 0.10.0
http://git-wip-us.apache.org/repos/asf/airavata/blob/39fba1f5/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 4a6492b..eb0d35a 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,11 +1,12 @@ # -# Autogenerated by Thrift Compiler (0.9.3) +# Autogenerated by Thrift Compiler (0.10.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # -from thrift.Thrift import TType, TMessageType, TException, TApplicationException -from ttypes import * - +from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException +from thrift.protocol.TProtocol import TProtocolException +import sys +from .ttypes import * http://git-wip-us.apache.org/repos/asf/airavata/blob/39fba1f5/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 ecb93e8..7e7d4dc 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,564 +1,522 @@ # -# Autogenerated by Thrift Compiler (0.9.3) +# Autogenerated by Thrift Compiler (0.10.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # -from thrift.Thrift import TType, TMessageType, TException, TApplicationException +from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException +from thrift.protocol.TProtocol import TProtocolException +import sys import apache.airavata.model.appcatalog.computeresource.ttypes import apache.airavata.model.data.movement.ttypes - from thrift.transport import TTransport -from thrift.protocol import TBinaryProtocol, TProtocol -try: - from thrift.protocol import fastbinary -except: - fastbinary = None - - - -class ComputeResourcePreference: - """ - Gateway specific preferences for a Computer Resource - - computeResourceId: -Corelate the preference to a compute resource. - - overridebyAiravata: -If turned true, Airavata will override the preferences of better alternatives exist. - - loginUserName: -If turned true, Airavata will override the preferences of better alternatives exist. - - preferredJobSubmissionProtocol: -For resources with multiple job submission protocols, the gateway can pick a preferred option. - - preferredDataMovementProtocol: -For resources with multiple data movement protocols, the gateway can pick a preferred option. - - preferredBatchQueue: - Gateways can choose a defualt batch queue based on average job dimention, reservations or other metrics. - - scratchLocation: - Path to the local scratch space on a HPC cluster. Typically used to create working directory for job execution. - - allocationProjectNumber: - Typically used on HPC machines to charge computing usage to a account number. For instance, on XSEDE once an - allocation is approved, an allocation number is assigned. Before passing this number with job submittions, the - account to be used has to be added to the allocation. - - resourceSpecificCredentialStoreToken: - Resource specific credential store token. If this token is specified, then it is superceeded by the gateway's -default credential store. - - - Attributes: - - computeResourceId - - overridebyAiravata - - loginUserName - - preferredJobSubmissionProtocol - - preferredDataMovementProtocol - - preferredBatchQueue - - scratchLocation - - allocationProjectNumber - - resourceSpecificCredentialStoreToken - - usageReportingGatewayId - - qualityOfService - - reservation - - reservationStartTime - - reservationEndTime - """ - - thrift_spec = ( -None, # 0 -(1, TType.STRING, 'computeResourceId', None, None, ), # 1 -
[41/51] [abbrv] [partial] airavata git commit: AIRAVATA-2505 Upgrade Airavata to Thrift 0.10.0
http://git-wip-us.apache.org/repos/asf/airavata/blob/14ff0916/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 4a6492b..eb0d35a 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,11 +1,12 @@ # -# Autogenerated by Thrift Compiler (0.9.3) +# Autogenerated by Thrift Compiler (0.10.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # -from thrift.Thrift import TType, TMessageType, TException, TApplicationException -from ttypes import * - +from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException +from thrift.protocol.TProtocol import TProtocolException +import sys +from .ttypes import * http://git-wip-us.apache.org/repos/asf/airavata/blob/14ff0916/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 ecb93e8..7e7d4dc 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,564 +1,522 @@ # -# Autogenerated by Thrift Compiler (0.9.3) +# Autogenerated by Thrift Compiler (0.10.0) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py # -from thrift.Thrift import TType, TMessageType, TException, TApplicationException +from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException +from thrift.protocol.TProtocol import TProtocolException +import sys import apache.airavata.model.appcatalog.computeresource.ttypes import apache.airavata.model.data.movement.ttypes - from thrift.transport import TTransport -from thrift.protocol import TBinaryProtocol, TProtocol -try: - from thrift.protocol import fastbinary -except: - fastbinary = None - - - -class ComputeResourcePreference: - """ - Gateway specific preferences for a Computer Resource - - computeResourceId: -Corelate the preference to a compute resource. - - overridebyAiravata: -If turned true, Airavata will override the preferences of better alternatives exist. - - loginUserName: -If turned true, Airavata will override the preferences of better alternatives exist. - - preferredJobSubmissionProtocol: -For resources with multiple job submission protocols, the gateway can pick a preferred option. - - preferredDataMovementProtocol: -For resources with multiple data movement protocols, the gateway can pick a preferred option. - - preferredBatchQueue: - Gateways can choose a defualt batch queue based on average job dimention, reservations or other metrics. - - scratchLocation: - Path to the local scratch space on a HPC cluster. Typically used to create working directory for job execution. - - allocationProjectNumber: - Typically used on HPC machines to charge computing usage to a account number. For instance, on XSEDE once an - allocation is approved, an allocation number is assigned. Before passing this number with job submittions, the - account to be used has to be added to the allocation. - - resourceSpecificCredentialStoreToken: - Resource specific credential store token. If this token is specified, then it is superceeded by the gateway's -default credential store. - - - Attributes: - - computeResourceId - - overridebyAiravata - - loginUserName - - preferredJobSubmissionProtocol - - preferredDataMovementProtocol - - preferredBatchQueue - - scratchLocation - - allocationProjectNumber - - resourceSpecificCredentialStoreToken - - usageReportingGatewayId - - qualityOfService - - reservation - - reservationStartTime - - reservationEndTime - """ - - thrift_spec = ( -None, # 0 -(1, TType.STRING, 'computeResourceId', None, None, ), # 1 -