airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject [54/54] [abbrv] airavata git commit: Merge develop branch to master and regernerated all thrift source files
Date Fri, 04 Dec 2015 21:02:19 GMT
Merge develop branch to master and regernerated all thrift source files


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

Branch: refs/heads/master
Commit: fc277b0a21f2daf7eae057ea9fd877c591c429db
Parents: fbc558d 242a403
Author: Shameera Rathnayaka <shameerainfo@gmail.com>
Authored: Fri Dec 4 15:59:55 2015 -0500
Committer: Shameera Rathnayaka <shameerainfo@gmail.com>
Committed: Fri Dec 4 15:59:55 2015 -0500

----------------------------------------------------------------------
 .gitignore                                      |     2 +
 .../server/handler/AiravataServerHandler.java   |   182 +-
 .../java/org/apache/airavata/api/Airavata.java  | 24741 +++++++++++------
 .../main/resources/lib/airavata/Airavata.cpp    |  5010 +++-
 .../src/main/resources/lib/airavata/Airavata.h  |  2130 +-
 .../lib/airavata/Airavata_server.skeleton.cpp   |   145 +-
 .../resources/lib/airavata/airavata_api_types.h |     2 +
 .../lib/airavata/airavata_data_models_types.h   |     2 +
 .../airavata/compute_resource_model_types.cpp   |  1288 +-
 .../lib/airavata/compute_resource_model_types.h |   311 +-
 .../airavata/data_movement_models_constants.cpp |    34 +
 .../airavata/data_movement_models_constants.h   |    41 +
 .../lib/airavata/data_movement_models_types.cpp |   763 +
 .../lib/airavata/data_movement_models_types.h   |   327 +
 .../airavata/data_resource_models_constants.cpp |    34 +
 .../airavata/data_resource_models_constants.h   |    41 +
 .../lib/airavata/data_resource_models_types.cpp |   501 +
 .../lib/airavata/data_resource_models_types.h   |   231 +
 .../lib/airavata/experiment_model_types.cpp     |    30 +-
 .../lib/airavata/experiment_model_types.h       |    20 +-
 .../gateway_resource_profile_model_types.cpp    |    88 +-
 .../gateway_resource_profile_model_types.h      |    55 +-
 .../lib/airavata/process_model_types.cpp        |    70 +-
 .../lib/airavata/process_model_types.h          |    32 +-
 .../storage_resource_model_constants.cpp        |    34 +
 .../airavata/storage_resource_model_constants.h |    41 +
 .../airavata/storage_resource_model_types.cpp   |   235 +
 .../lib/airavata/storage_resource_model_types.h |   116 +
 .../resources/lib/airavata/task_model_types.cpp |    12 +-
 .../resources/lib/airavata/task_model_types.h   |    10 +-
 .../resources/lib/Airavata/API/Airavata.php     |  6177 ++--
 .../resources/lib/Airavata/API/Error/Types.php  |     2 +-
 .../Model/AppCatalog/ComputeResource/Types.php  |   943 +-
 .../Model/AppCatalog/GatewayProfile/Types.php   |    50 +-
 .../Model/AppCatalog/StorageResource/Types.php  |   232 +
 .../lib/Airavata/Model/Data/Movement/Types.php  |   742 +
 .../lib/Airavata/Model/Data/Resource/Types.php  |   472 +
 .../lib/Airavata/Model/Experiment/Types.php     |    23 +
 .../lib/Airavata/Model/Process/Types.php        |    69 +
 .../resources/lib/Airavata/Model/Task/Types.php |     2 +
 .../src/main/resources/lib/Types.php            |    20 +
 .../lib/apache/airavata/api/Airavata-remote     |   107 +-
 .../lib/apache/airavata/api/Airavata.py         |  3336 ++-
 .../lib/apache/airavata/api/error/ttypes.py     |     2 +-
 .../resources/lib/apache/airavata/api/ttypes.py |     2 +
 .../model/appcatalog/computeresource/ttypes.py  |   700 +-
 .../model/appcatalog/gatewayprofile/ttypes.py   |    51 +-
 .../appcatalog/storageresource/__init__.py      |     1 +
 .../appcatalog/storageresource/constants.py     |    11 +
 .../model/appcatalog/storageresource/ttypes.py  |   167 +
 .../lib/apache/airavata/model/data/__init__.py  |     0
 .../airavata/model/data/movement/__init__.py    |     1 +
 .../airavata/model/data/movement/constants.py   |    11 +
 .../airavata/model/data/movement/ttypes.py      |   625 +
 .../airavata/model/data/resource/__init__.py    |     1 +
 .../airavata/model/data/resource/constants.py   |    11 +
 .../airavata/model/data/resource/ttypes.py      |   312 +
 .../apache/airavata/model/experiment/ttypes.py  |    15 +-
 .../lib/apache/airavata/model/process/ttypes.py |    41 +-
 .../lib/apache/airavata/model/task/ttypes.py    |     4 +
 .../lib/apache/airavata/model/ttypes.py         |     2 +
 .../client/samples/CreateLaunchBES.java         |     3 +-
 .../client/samples/CreateLaunchExperiment.java  |    15 +-
 .../client/samples/RegisterSampleData.java      |     4 +-
 .../tools/RegisterOGCEUS3Application.java       |     7 +-
 .../tools/RegisterSampleApplications.java       |     6 +-
 .../tools/RegisterSampleApplicationsUtils.java  |     2 +
 .../client/tools/RegisterUS3Application.java    |     7 +-
 .../org/apache/airavata/model/Workflow.java     |     2 +-
 .../ApplicationDeploymentDescription.java       |     2 +-
 .../appdeployment/ApplicationModule.java        |     2 +-
 .../appcatalog/appdeployment/CommandObject.java |     2 +-
 .../appcatalog/appdeployment/SetEnvPaths.java   |     2 +-
 .../ApplicationInterfaceDescription.java        |     2 +-
 .../appcatalog/computeresource/BatchQueue.java  |     2 +-
 .../computeresource/CloudJobSubmission.java     |    24 +-
 .../ComputeResourceDescription.java             |   240 +-
 .../computeresource/DataMovementInterface.java  |   630 -
 .../computeresource/DataMovementProtocol.java   |    87 -
 .../computeresource/GlobusJobSubmission.java    |    56 +-
 .../computeresource/GridFTPDataMovement.java    |   681 -
 .../computeresource/JobSubmissionInterface.java |     2 +-
 .../computeresource/LOCALDataMovement.java      |   418 -
 .../computeresource/LOCALSubmission.java        |    24 +-
 .../computeresource/ResourceJobManager.java     |     2 +-
 .../computeresource/SCPDataMovement.java        |   746 -
 .../computeresource/SSHJobSubmission.java       |    56 +-
 .../computeresource/SecurityProtocol.java       |    88 -
 .../computeresource/UnicoreDataMovement.java    |   629 -
 .../computeresource/UnicoreJobSubmission.java   |    24 +-
 .../ComputeResourcePreference.java              |    22 +-
 .../gatewayprofile/DataStoragePreference.java   |   728 -
 .../gatewayprofile/GatewayResourceProfile.java  |   154 +-
 .../gatewayprofile/StoragePreference.java       |   728 +
 .../StorageResourceDescription.java             |   900 +
 .../application/io/InputDataObjectType.java     |     2 +-
 .../application/io/OutputDataObjectType.java    |     2 +-
 .../airavata/model/commons/ErrorModel.java      |     2 +-
 .../model/commons/ValidationResults.java        |     2 +-
 .../airavata/model/commons/ValidatorResult.java |     2 +-
 .../airavata/model/data/movement/DMType.java    |    62 +
 .../data/movement/DataMovementInterface.java    |   630 +
 .../data/movement/DataMovementProtocol.java     |    87 +
 .../data/movement/GridFTPDataMovement.java      |   681 +
 .../model/data/movement/LOCALDataMovement.java  |   418 +
 .../model/data/movement/SCPDataMovement.java    |   746 +
 .../model/data/movement/SecurityProtocol.java   |    88 +
 .../data/movement/UnicoreDataMovement.java      |   629 +
 .../data/resource/DataReplicaLocationModel.java |  1085 +
 .../model/data/resource/DataResourceModel.java  |  1029 +
 .../model/error/AiravataClientException.java    |     2 +-
 .../model/error/AiravataSystemException.java    |     2 +-
 .../model/error/AuthenticationException.java    |     4 +-
 .../model/error/AuthorizationException.java     |     2 +-
 .../error/ExperimentNotFoundException.java      |     2 +-
 .../model/error/InvalidRequestException.java    |     2 +-
 .../model/error/LaunchValidationException.java  |     2 +-
 .../model/error/ProjectNotFoundException.java   |     2 +-
 .../airavata/model/error/TimedOutException.java |     2 +-
 .../airavata/model/error/ValidationResults.java |     2 +-
 .../airavata/model/error/ValidatorResult.java   |     2 +-
 .../model/experiment/ExperimentModel.java       |     2 +-
 .../model/experiment/ExperimentStatistics.java  |     2 +-
 .../experiment/ExperimentSummaryModel.java      |     2 +-
 .../experiment/UserConfigurationDataModel.java  |   116 +-
 .../org/apache/airavata/model/job/JobModel.java |     2 +-
 .../event/ExperimentStatusChangeEvent.java      |     2 +-
 .../model/messaging/event/JobIdentifier.java    |     2 +-
 .../messaging/event/JobStatusChangeEvent.java   |     2 +-
 .../event/JobStatusChangeRequestEvent.java      |     2 +-
 .../airavata/model/messaging/event/Message.java |     2 +-
 .../messaging/event/ProcessIdentifier.java      |     2 +-
 .../event/ProcessStatusChangeEvent.java         |     2 +-
 .../event/ProcessStatusChangeRequestEvent.java  |     2 +-
 .../messaging/event/ProcessSubmitEvent.java     |     2 +-
 .../messaging/event/ProcessTerminateEvent.java  |     2 +-
 .../model/messaging/event/TaskIdentifier.java   |     2 +-
 .../messaging/event/TaskOutputChangeEvent.java  |     2 +-
 .../messaging/event/TaskStatusChangeEvent.java  |     2 +-
 .../event/TaskStatusChangeRequestEvent.java     |     2 +-
 .../airavata/model/process/ProcessModel.java    |   323 +-
 .../ComputationalResourceSchedulingModel.java   |     2 +-
 .../airavata/model/security/AuthzToken.java     |     2 +-
 .../airavata/model/status/ExperimentStatus.java |     2 +-
 .../apache/airavata/model/status/JobStatus.java |     2 +-
 .../airavata/model/status/ProcessStatus.java    |     2 +-
 .../airavata/model/status/TaskStatus.java       |     2 +-
 .../model/task/DataStagingTaskModel.java        |     2 +-
 .../model/task/EnvironmentSetupTaskModel.java   |    24 +-
 .../model/task/JobSubmissionTaskModel.java      |     2 +-
 .../airavata/model/task/MonitorTaskModel.java   |     2 +-
 .../apache/airavata/model/task/TaskModel.java   |     2 +-
 .../apache/airavata/model/task/TaskTypes.java   |     5 +-
 .../airavata/model/workspace/Gateway.java       |     2 +-
 .../apache/airavata/model/workspace/Group.java  |     2 +-
 .../airavata/model/workspace/Project.java       |     2 +-
 .../apache/airavata/model/workspace/User.java   |     2 +-
 .../model/util/ExperimentModelUtil.java         |     3 +
 .../apache/airavata/common/utils/Constants.java |     3 +
 .../main/resources/airavata-server.properties   |    21 +-
 .../store/server/CredentialStoreServer.java     |    35 +-
 .../test/resources/airavata-server.properties   |    21 +-
 .../client/CredentialStoreClientFactory.java    |    17 +-
 .../store/cpi/CredentialStoreService.java       |     2 +-
 .../store/datamodel/CertificateCredential.java  |     2 +-
 .../store/datamodel/CommunityUser.java          |     2 +-
 .../store/datamodel/PasswordCredential.java     |     2 +-
 .../store/datamodel/SSHCredential.java          |    70 +-
 .../exception/CredentialStoreException.java     |     2 +-
 .../credentialStoreDataModel.thrift             |     2 +-
 modules/data-manager/pom.xml                    |    61 +
 .../airavata/data/manager/DataManager.java      |   121 +
 .../data/manager/DataManagerConstants.java      |    33 +
 .../data/manager/DataManagerException.java      |    35 +
 .../data/manager/DataManagerFactory.java        |    32 +
 .../airavata/data/manager/DataManagerImpl.java  |   260 +
 .../data/manager/utils/DataTransferUtils.java   |   142 +
 .../data/manager/utils/ssh/SSHApiException.java |    35 +
 .../utils/ssh/SSHAuthenticationUtils.java       |    45 +
 .../manager/utils/ssh/SSHCommandOutput.java     |    55 +
 .../manager/utils/ssh/SSHKeyAuthentication.java |    83 +
 .../manager/utils/ssh/SSHStandardOutReader.java |    86 +
 .../data/manager/utils/ssh/SSHUserInfo.java     |    70 +
 .../data/manager/utils/ssh/SSHUtils.java        |   500 +
 .../data/manager/DataManagerFactoryTest.java    |    42 +
 .../data/manager/DataManagerImplTest.java       |   277 +
 .../airavata/data/manager/utils/AppCatInit.java |   320 +
 .../data/manager/utils/DataCatInit.java         |   315 +
 modules/data-manager/src/test/resources/id_rsa  |    30 +
 .../data-manager/src/test/resources/id_rsa.pub  |     1 +
 .../data-manager/src/test/resources/known_hosts |     0
 .../airavata/gfac/bes/utils/SecurityUtils.java  |    54 +-
 .../apache/airavata/gfac/core/GFacUtils.java    |     6 +-
 .../core/config/DataTransferTaskConfig.java     |     2 +-
 .../gfac/core/config/GFacYamlConfigruation.java |     2 +-
 .../gfac/core/context/ProcessContext.java       |    52 +-
 .../airavata/gfac/core/monitor/JobMonitor.java  |     6 +
 modules/gfac/gfac-impl/pom.xml                  |    35 +-
 .../org/apache/airavata/gfac/impl/Factory.java  |    30 +-
 .../airavata/gfac/impl/GFacEngineImpl.java      |   115 +-
 .../apache/airavata/gfac/impl/GFacWorker.java   |    54 +-
 .../gfac/impl/task/BESJobSubmissionTask.java    |   194 +
 .../airavata/gfac/impl/task/DataStageTask.java  |     4 +-
 .../impl/task/DefaultJobSubmissionTask.java     |    25 +-
 .../gfac/impl/task/EnvironmentSetupTask.java    |     2 +-
 .../gfac/impl/task/ForkJobSubmissionTask.java   |     2 +-
 .../gfac/impl/task/SCPDataStageTask.java        |    20 +-
 .../gfac/impl/task/utils/StreamData.java        |    18 +-
 .../gfac/impl/task/utils/bes/ActivityInfo.java  |    50 +
 .../task/utils/bes/ApplicationProcessor.java    |   221 +
 .../gfac/impl/task/utils/bes/BESConstants.java  |    45 +
 .../impl/task/utils/bes/DataTransferrer.java    |   150 +
 .../impl/task/utils/bes/FileDownloader.java     |   255 +
 .../impl/task/utils/bes/FileTransferBase.java   |   223 +
 .../gfac/impl/task/utils/bes/FileUploader.java  |   242 +
 .../gfac/impl/task/utils/bes/JSDLGenerator.java |   115 +
 .../gfac/impl/task/utils/bes/JSDLUtils.java     |   517 +
 .../airavata/gfac/impl/task/utils/bes/Mode.java |    45 +
 .../gfac/impl/task/utils/bes/MyProxyLogon.java  |   465 +
 .../gfac/impl/task/utils/bes/OSType.java        |   124 +
 .../task/utils/bes/ProcessorRequirement.java    |    61 +
 .../impl/task/utils/bes/RangeValueType.java     |   271 +
 .../impl/task/utils/bes/ResourceProcessor.java  |    97 +
 .../task/utils/bes/ResourceRequirement.java     |    34 +
 .../impl/task/utils/bes/SPMDVariations.java     |    52 +
 .../gfac/impl/task/utils/bes/SecurityUtils.java |   167 +
 .../impl/task/utils/bes/StorageCreator.java     |   207 +
 .../task/utils/bes/UASDataStagingProcessor.java |   182 +
 .../task/utils/bes/UNICORESecurityContext.java  |   191 +
 .../gfac/impl/task/utils/bes/URIUtils.java      |   121 +
 .../task/utils/bes/X509SecurityContext.java     |   339 +
 .../impl/watcher/CancelRequestWatcherImpl.java  |    36 +-
 .../gfac/monitor/email/EmailBasedMonitor.java   |    42 +-
 .../integration/tools/DocumentCreatorNew.java   |     3 -
 .../integration/tools/DocumentCreatorUtils.java |     2 -
 .../core/utils/OrchestratorUtils.java           |    14 +-
 .../cpi/impl/SimpleOrchestratorImpl.java        |     1 +
 .../server/OrchestratorServerHandler.java       |    38 +-
 modules/registry/registry-core/pom.xml          |    53 +-
 .../core/app/catalog/impl/AppCatalogImpl.java   |     4 +
 .../app/catalog/impl/ComputeResourceImpl.java   |    29 +-
 .../catalog/impl/GwyResourceProfileImpl.java    |    44 +-
 .../app/catalog/impl/StorageResourceImpl.java   |   248 +
 .../catalog/model/DataStoragePreference.java    |    96 -
 .../catalog/model/DataStoragePreferencePK.java  |    64 -
 .../app/catalog/model/DataStorageResource.java  |   113 +
 .../app/catalog/model/StorageInterface.java     |   102 +
 .../app/catalog/model/StorageInterface_PK.java  |    62 +
 .../app/catalog/model/StoragePreference.java    |    95 +
 .../app/catalog/model/StoragePreferencePK.java  |    64 +
 .../core/app/catalog/model/StorageResource.java |   110 +
 .../resources/AppCatAbstractResource.java       |    29 +-
 .../DataStoragePreferenceResource.java          |   323 -
 .../resources/StorageInterfaceResource.java     |   326 +
 .../resources/StoragePreferenceResource.java    |   322 +
 .../resources/StorageResourceResource.java      |   350 +
 .../app/catalog/util/AppCatalogJPAUtils.java    |    48 +-
 .../catalog/util/AppCatalogResourceType.java    |     4 +-
 .../util/AppCatalogThriftConversion.java        |    55 +-
 .../core/data/catalog/impl/DataCatalogImpl.java |   265 +
 .../core/data/catalog/model/Configuration.java  |    55 +
 .../data/catalog/model/DataReplicaLocation.java |   116 +
 .../core/data/catalog/model/DataResource.java   |   116 +
 .../catalog/utils/DataCatalogConstants.java     |    49 +
 .../data/catalog/utils/DataCatalogJPAUtils.java |    82 +
 .../utils/DataCatalogQueryGenerator.java        |   111 +
 .../utils/ThriftDataModelConversion.java        |   111 +
 .../catalog/impl/ExperimentRegistry.java        |     8 +
 .../catalog/impl/RegistryFactory.java           |    14 +
 .../core/experiment/catalog/model/Process.java  |    30 +
 .../catalog/model/UserConfigurationData.java    |    10 +
 .../catalog/resources/ProcessResource.java      |    30 +
 .../UserConfigurationDataResource.java          |    10 +
 .../experiment/catalog/resources/Utils.java     |     4 +
 .../utils/ThriftDataModelConversion.java        |     4 +
 .../registry/core/impl/RegistryImpl.java        |    11 +-
 .../src/main/resources/META-INF/persistence.xml |    11 +-
 .../src/main/resources/appcatalog-derby.sql     |    29 +-
 .../src/main/resources/appcatalog-mysql.sql     |    28 +-
 .../src/main/resources/datacatalog-derby.sql    |    54 +
 .../src/main/resources/expcatalog-derby.sql     |     4 +
 .../src/main/resources/expcatalog-mysql.sql     |     5 +
 ...puteAppCatalogExperimentCatResourceTest.java |     1 +
 .../app/catalog/GatewayProfileTest.java         |     2 +-
 .../airavata/data/catalog/DataCatalogTest.java  |   202 +
 .../airavata/data/catalog/util/Initialize.java  |   315 +
 .../src/test/resources/datacatalog-derby.sql    |    54 +
 .../airavata/registry/cpi/AppCatalog.java       |     6 +
 .../airavata/registry/cpi/ComputeResource.java  |     5 +-
 .../airavata/registry/cpi/DataCatalog.java      |    45 +
 .../registry/cpi/DataCatalogException.java      |    36 +
 .../registry/cpi/GwyResourceProfile.java        |     6 +-
 .../apache/airavata/registry/cpi/Registry.java  |     1 +
 .../airavata/registry/cpi/StorageResource.java  |    90 +
 .../ComputeResourceRegister.java                |     6 +-
 pom.xml                                         |     1 +
 .../airavata-api/airavata_api.thrift            |   167 +-
 .../airavata-api/airavata_data_models.thrift    |     2 +
 .../airavata-api/airavata_errors.thrift         |     2 +-
 .../airavata-api/app_catalog_models.thrift      |     1 +
 .../airavata-api/compute_resource_model.thrift  |   131 +-
 .../airavata-api/data_movement_models.thrift    |   154 +
 .../airavata-api/data_resource_models.thrift    |    44 +
 .../airavata-api/experiment_model.thrift        |     3 +-
 .../gateway_resource_profile_model.thrift       |     9 +-
 .../airavata-api/process_model.thrift           |     5 +-
 .../airavata-api/storage_resource_model.thrift  |    52 +
 .../airavata-api/task_model.thrift              |     6 +-
 .../generate-thrift-stubs.sh                    |     2 +
 .../orchestrator.cpi.service.thrift             |     2 +-
 310 files changed, 53821 insertions(+), 21861 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
----------------------------------------------------------------------

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
index 8549365,6ed3f3a..94c8ea5
--- a/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
+++ b/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
@@@ -51,7 -51,7 +51,7 @@@ import org.slf4j.Logger
  import org.slf4j.LoggerFactory;
  
  @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class Airavata {
  
    public interface Iface {

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/Workflow.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/Workflow.java
index a344a05,1dd79d1..e9a9588
--- 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
@@@ -51,7 -51,7 +51,7 @@@ import org.slf4j.Logger
  import org.slf4j.LoggerFactory;
  
  @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  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");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationDeploymentDescription.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationDeploymentDescription.java
index 199c050,7f186af..6c29f34
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationDeploymentDescription.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationDeploymentDescription.java
@@@ -77,7 -77,7 +77,7 @@@ import org.slf4j.LoggerFactory
   *  assigns to the environment variable "NAME" the value
   * 
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class ApplicationDeploymentDescription implements org.apache.thrift.TBase<ApplicationDeploymentDescription, ApplicationDeploymentDescription._Fields>, java.io.Serializable, Cloneable, Comparable<ApplicationDeploymentDescription> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ApplicationDeploymentDescription");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationModule.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationModule.java
index 105e580,3c8d4c5..762723c
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationModule.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/ApplicationModule.java
@@@ -66,7 -66,7 +66,7 @@@ import org.slf4j.LoggerFactory
   *    Descriprion of the Module
   * 
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class ApplicationModule implements org.apache.thrift.TBase<ApplicationModule, ApplicationModule._Fields>, java.io.Serializable, Cloneable, Comparable<ApplicationModule> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ApplicationModule");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/CommandObject.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/CommandObject.java
index 129dbde,12f178d..ea389ff
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/CommandObject.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/CommandObject.java
@@@ -60,7 -60,7 +60,7 @@@ import org.slf4j.LoggerFactory
   * commandOrder:
   *   Order of the command in the multiple command situation
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class CommandObject implements org.apache.thrift.TBase<CommandObject, CommandObject._Fields>, java.io.Serializable, Cloneable, Comparable<CommandObject> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CommandObject");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/SetEnvPaths.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/SetEnvPaths.java
index 7a92ad0,e65b7f5..9da219a
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/SetEnvPaths.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appdeployment/SetEnvPaths.java
@@@ -63,7 -63,7 +63,7 @@@ import org.slf4j.LoggerFactory
   * envPathOrder:
   *   The order of the setting of the env variables when there are multiple env variables
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class SetEnvPaths implements org.apache.thrift.TBase<SetEnvPaths, SetEnvPaths._Fields>, java.io.Serializable, Cloneable, Comparable<SetEnvPaths> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SetEnvPaths");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java
index b03eadb,18b1763..3a8977d
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/appinterface/ApplicationInterfaceDescription.java
@@@ -64,7 -64,7 +64,7 @@@ import org.slf4j.LoggerFactory
   *   Outputs generated from the application
   * 
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class ApplicationInterfaceDescription implements org.apache.thrift.TBase<ApplicationInterfaceDescription, ApplicationInterfaceDescription._Fields>, java.io.Serializable, Cloneable, Comparable<ApplicationInterfaceDescription> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ApplicationInterfaceDescription");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/BatchQueue.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/BatchQueue.java
index fa3be17,852ea40..245f05e
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/BatchQueue.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/BatchQueue.java
@@@ -57,7 -57,7 +57,7 @@@ import org.slf4j.LoggerFactory
   * maxRunTime:
   *  Maximum allowed run time in hours.
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class BatchQueue implements org.apache.thrift.TBase<BatchQueue, BatchQueue._Fields>, java.io.Serializable, Cloneable, Comparable<BatchQueue> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BatchQueue");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/CloudJobSubmission.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/CloudJobSubmission.java
index abea95f,2af8a59..3e2189c
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/CloudJobSubmission.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/CloudJobSubmission.java
@@@ -56,7 -56,7 +56,7 @@@ import org.slf4j.LoggerFactory
   * 
   * 
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class CloudJobSubmission implements org.apache.thrift.TBase<CloudJobSubmission, CloudJobSubmission._Fields>, java.io.Serializable, Cloneable, Comparable<CloudJobSubmission> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CloudJobSubmission");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ComputeResourceDescription.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ComputeResourceDescription.java
index 0950e25,53650f6..233a5d1
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ComputeResourceDescription.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ComputeResourceDescription.java
@@@ -80,7 -80,7 +80,7 @@@ import org.slf4j.LoggerFactory
   *  Map of file systems type and the path.
   * 
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class ComputeResourceDescription implements org.apache.thrift.TBase<ComputeResourceDescription, ComputeResourceDescription._Fields>, java.io.Serializable, Cloneable, Comparable<ComputeResourceDescription> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ComputeResourceDescription");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/GlobusJobSubmission.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/GlobusJobSubmission.java
index 188a446,13b0aef..d653539
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/GlobusJobSubmission.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/GlobusJobSubmission.java
@@@ -51,7 -51,7 +51,7 @@@ import org.slf4j.Logger
  import org.slf4j.LoggerFactory;
  
  @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class GlobusJobSubmission implements org.apache.thrift.TBase<GlobusJobSubmission, GlobusJobSubmission._Fields>, java.io.Serializable, Cloneable, Comparable<GlobusJobSubmission> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GlobusJobSubmission");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/JobSubmissionInterface.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/JobSubmissionInterface.java
index f4a4e98,6511e85..fef06e6
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/JobSubmissionInterface.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/JobSubmissionInterface.java
@@@ -61,7 -61,7 +61,7 @@@ import org.slf4j.LoggerFactory
   *   Lower the numerical number, higher the priority
   * 
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class JobSubmissionInterface implements org.apache.thrift.TBase<JobSubmissionInterface, JobSubmissionInterface._Fields>, java.io.Serializable, Cloneable, Comparable<JobSubmissionInterface> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("JobSubmissionInterface");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/LOCALSubmission.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/LOCALSubmission.java
index 8f5d97a,7f1131c..703e707
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/LOCALSubmission.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/LOCALSubmission.java
@@@ -60,7 -60,7 +60,7 @@@ import org.slf4j.LoggerFactory
   * sshPort:
   *  If a non-default port needs to used, specify it.
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class LOCALSubmission implements org.apache.thrift.TBase<LOCALSubmission, LOCALSubmission._Fields>, java.io.Serializable, Cloneable, Comparable<LOCALSubmission> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LOCALSubmission");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ResourceJobManager.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ResourceJobManager.java
index 42c77ec,841f106..e2308c1
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ResourceJobManager.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/ResourceJobManager.java
@@@ -68,7 -68,7 +68,7 @@@ import org.slf4j.LoggerFactory
   *  An enumeration of commonly used manager commands.
   * 
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class ResourceJobManager implements org.apache.thrift.TBase<ResourceJobManager, ResourceJobManager._Fields>, java.io.Serializable, Cloneable, Comparable<ResourceJobManager> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ResourceJobManager");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SSHJobSubmission.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SSHJobSubmission.java
index e898a22,6ad411a..7e762c2
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SSHJobSubmission.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/SSHJobSubmission.java
@@@ -67,7 -67,7 +67,7 @@@ import org.slf4j.LoggerFactory
   *    the same. Example: *@*.example.com or *@example.com
   * 
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class SSHJobSubmission implements org.apache.thrift.TBase<SSHJobSubmission, SSHJobSubmission._Fields>, java.io.Serializable, Cloneable, Comparable<SSHJobSubmission> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SSHJobSubmission");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/UnicoreJobSubmission.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/UnicoreJobSubmission.java
index a0d6641,ac8967f..08aeb32
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/UnicoreJobSubmission.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/computeresource/UnicoreJobSubmission.java
@@@ -59,7 -59,7 +59,7 @@@ import org.slf4j.LoggerFactory
   * authenticationMode
   *  The authenticationMode defines the way certificate is fetched.
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class UnicoreJobSubmission implements org.apache.thrift.TBase<UnicoreJobSubmission, UnicoreJobSubmission._Fields>, java.io.Serializable, Cloneable, Comparable<UnicoreJobSubmission> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UnicoreJobSubmission");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/ComputeResourcePreference.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/ComputeResourcePreference.java
index 5f3186b,8b448bd..b79d172
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/ComputeResourcePreference.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/ComputeResourcePreference.java
@@@ -85,7 -85,7 +85,7 @@@ import org.slf4j.LoggerFactory
   *   default credential store.
   * 
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class ComputeResourcePreference implements org.apache.thrift.TBase<ComputeResourcePreference, ComputeResourcePreference._Fields>, java.io.Serializable, Cloneable, Comparable<ComputeResourcePreference> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ComputeResourcePreference");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/GatewayResourceProfile.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/GatewayResourceProfile.java
index 1ec9e15,ec88704..597f9a2
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/GatewayResourceProfile.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/GatewayResourceProfile.java
@@@ -64,7 -64,7 +64,7 @@@ import org.slf4j.LoggerFactory
   *  List of resource preferences for each of the registered compute resources.
   * 
   */
- @Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-11-25")
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
  public class GatewayResourceProfile implements org.apache.thrift.TBase<GatewayResourceProfile, GatewayResourceProfile._Fields>, java.io.Serializable, Cloneable, Comparable<GatewayResourceProfile> {
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("GatewayResourceProfile");
  

http://git-wip-us.apache.org/repos/asf/airavata/blob/fc277b0a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/StoragePreference.java
----------------------------------------------------------------------
diff --cc airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/StoragePreference.java
index 0000000,3cc9389..b266739
mode 000000,100644..100644
--- a/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/StoragePreference.java
+++ b/airavata-api/airavata-data-models/src/main/java/org/apache/airavata/model/appcatalog/gatewayprofile/StoragePreference.java
@@@ -1,0 -1,728 +1,728 @@@
+ /**
+  * Licensed to the Apache Software Foundation (ASF) under one or more
+  * contributor license agreements.  See the NOTICE file distributed with
+  * this work for additional information regarding copyright ownership.
+  * The ASF licenses this file to You under the Apache License, Version 2.0
+  * (the "License"); you may not use this file except in compliance with
+  * the License.  You may obtain a copy of the License at
+  *
+  *     http://www.apache.org/licenses/LICENSE-2.0
+  *
+  * Unless required by applicable law or agreed to in writing, software
+  * distributed under the License is distributed on an "AS IS" BASIS,
+  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  * See the License for the specific language governing permissions and
+  * limitations under the License.
+  */
+ 
+ /**
+  * Autogenerated by Thrift Compiler (0.9.2)
+  *
+  * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+  *  @generated
+  */
+ package org.apache.airavata.model.appcatalog.gatewayprofile;
+ 
+ import org.apache.thrift.scheme.IScheme;
+ import org.apache.thrift.scheme.SchemeFactory;
+ import org.apache.thrift.scheme.StandardScheme;
+ 
+ import org.apache.thrift.scheme.TupleScheme;
+ import org.apache.thrift.protocol.TTupleProtocol;
+ import org.apache.thrift.protocol.TProtocolException;
+ import org.apache.thrift.EncodingUtils;
+ import org.apache.thrift.TException;
+ import org.apache.thrift.async.AsyncMethodCallback;
+ import org.apache.thrift.server.AbstractNonblockingServer.*;
+ import java.util.List;
+ import java.util.ArrayList;
+ import java.util.Map;
+ import java.util.HashMap;
+ import java.util.EnumMap;
+ import java.util.Set;
+ import java.util.HashSet;
+ import java.util.EnumSet;
+ 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({"cast", "rawtypes", "serial", "unchecked"})
 -@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-3")
++@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2015-12-4")
+ public class StoragePreference implements org.apache.thrift.TBase<StoragePreference, StoragePreference._Fields>, java.io.Serializable, Cloneable, Comparable<StoragePreference> {
+   private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("StoragePreference");
+ 
+   private static final org.apache.thrift.protocol.TField STORAGE_RESOURCE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("storageResourceId", org.apache.thrift.protocol.TType.STRING, (short)1);
+   private static final org.apache.thrift.protocol.TField LOGIN_USER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("loginUserName", org.apache.thrift.protocol.TType.STRING, (short)2);
+   private static final org.apache.thrift.protocol.TField FILE_SYSTEM_ROOT_LOCATION_FIELD_DESC = new org.apache.thrift.protocol.TField("fileSystemRootLocation", org.apache.thrift.protocol.TType.STRING, (short)3);
+   private static final org.apache.thrift.protocol.TField RESOURCE_SPECIFIC_CREDENTIAL_STORE_TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField("resourceSpecificCredentialStoreToken", org.apache.thrift.protocol.TType.STRING, (short)4);
+ 
+   private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+   static {
+     schemes.put(StandardScheme.class, new StoragePreferenceStandardSchemeFactory());
+     schemes.put(TupleScheme.class, new StoragePreferenceTupleSchemeFactory());
+   }
+ 
+   private String storageResourceId; // required
+   private String loginUserName; // optional
+   private String fileSystemRootLocation; // optional
+   private String resourceSpecificCredentialStoreToken; // optional
+ 
+   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+   public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+     STORAGE_RESOURCE_ID((short)1, "storageResourceId"),
+     LOGIN_USER_NAME((short)2, "loginUserName"),
+     FILE_SYSTEM_ROOT_LOCATION((short)3, "fileSystemRootLocation"),
+     RESOURCE_SPECIFIC_CREDENTIAL_STORE_TOKEN((short)4, "resourceSpecificCredentialStoreToken");
+ 
+     private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+ 
+     static {
+       for (_Fields field : EnumSet.allOf(_Fields.class)) {
+         byName.put(field.getFieldName(), field);
+       }
+     }
+ 
+     /**
+      * Find the _Fields constant that matches fieldId, or null if its not found.
+      */
+     public static _Fields findByThriftId(int fieldId) {
+       switch(fieldId) {
+         case 1: // STORAGE_RESOURCE_ID
+           return STORAGE_RESOURCE_ID;
+         case 2: // LOGIN_USER_NAME
+           return LOGIN_USER_NAME;
+         case 3: // FILE_SYSTEM_ROOT_LOCATION
+           return FILE_SYSTEM_ROOT_LOCATION;
+         case 4: // RESOURCE_SPECIFIC_CREDENTIAL_STORE_TOKEN
+           return RESOURCE_SPECIFIC_CREDENTIAL_STORE_TOKEN;
+         default:
+           return null;
+       }
+     }
+ 
+     /**
+      * Find the _Fields constant that matches fieldId, throwing an exception
+      * if it is not found.
+      */
+     public static _Fields findByThriftIdOrThrow(int fieldId) {
+       _Fields fields = findByThriftId(fieldId);
+       if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+       return fields;
+     }
+ 
+     /**
+      * Find the _Fields constant that matches name, or null if its not found.
+      */
+     public static _Fields findByName(String name) {
+       return byName.get(name);
+     }
+ 
+     private final short _thriftId;
+     private final String _fieldName;
+ 
+     _Fields(short thriftId, String fieldName) {
+       _thriftId = thriftId;
+       _fieldName = fieldName;
+     }
+ 
+     public short getThriftFieldId() {
+       return _thriftId;
+     }
+ 
+     public String getFieldName() {
+       return _fieldName;
+     }
+   }
+ 
+   // isset id assignments
+   private static final _Fields optionals[] = {_Fields.LOGIN_USER_NAME,_Fields.FILE_SYSTEM_ROOT_LOCATION,_Fields.RESOURCE_SPECIFIC_CREDENTIAL_STORE_TOKEN};
+   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);
+     tmpMap.put(_Fields.STORAGE_RESOURCE_ID, new org.apache.thrift.meta_data.FieldMetaData("storageResourceId", org.apache.thrift.TFieldRequirementType.REQUIRED, 
+         new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+     tmpMap.put(_Fields.LOGIN_USER_NAME, new org.apache.thrift.meta_data.FieldMetaData("loginUserName", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+         new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+     tmpMap.put(_Fields.FILE_SYSTEM_ROOT_LOCATION, new org.apache.thrift.meta_data.FieldMetaData("fileSystemRootLocation", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+         new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+     tmpMap.put(_Fields.RESOURCE_SPECIFIC_CREDENTIAL_STORE_TOKEN, new org.apache.thrift.meta_data.FieldMetaData("resourceSpecificCredentialStoreToken", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
+         new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+     metaDataMap = Collections.unmodifiableMap(tmpMap);
+     org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(StoragePreference.class, metaDataMap);
+   }
+ 
+   public StoragePreference() {
+   }
+ 
+   public StoragePreference(
+     String storageResourceId)
+   {
+     this();
+     this.storageResourceId = storageResourceId;
+   }
+ 
+   /**
+    * Performs a deep copy on <i>other</i>.
+    */
+   public StoragePreference(StoragePreference other) {
+     if (other.isSetStorageResourceId()) {
+       this.storageResourceId = other.storageResourceId;
+     }
+     if (other.isSetLoginUserName()) {
+       this.loginUserName = other.loginUserName;
+     }
+     if (other.isSetFileSystemRootLocation()) {
+       this.fileSystemRootLocation = other.fileSystemRootLocation;
+     }
+     if (other.isSetResourceSpecificCredentialStoreToken()) {
+       this.resourceSpecificCredentialStoreToken = other.resourceSpecificCredentialStoreToken;
+     }
+   }
+ 
+   public StoragePreference deepCopy() {
+     return new StoragePreference(this);
+   }
+ 
+   @Override
+   public void clear() {
+     this.storageResourceId = null;
+     this.loginUserName = null;
+     this.fileSystemRootLocation = null;
+     this.resourceSpecificCredentialStoreToken = null;
+   }
+ 
+   public String getStorageResourceId() {
+     return this.storageResourceId;
+   }
+ 
+   public void setStorageResourceId(String storageResourceId) {
+     this.storageResourceId = storageResourceId;
+   }
+ 
+   public void unsetStorageResourceId() {
+     this.storageResourceId = null;
+   }
+ 
+   /** Returns true if field storageResourceId is set (has been assigned a value) and false otherwise */
+   public boolean isSetStorageResourceId() {
+     return this.storageResourceId != null;
+   }
+ 
+   public void setStorageResourceIdIsSet(boolean value) {
+     if (!value) {
+       this.storageResourceId = null;
+     }
+   }
+ 
+   public String getLoginUserName() {
+     return this.loginUserName;
+   }
+ 
+   public void setLoginUserName(String loginUserName) {
+     this.loginUserName = loginUserName;
+   }
+ 
+   public void unsetLoginUserName() {
+     this.loginUserName = null;
+   }
+ 
+   /** Returns true if field loginUserName is set (has been assigned a value) and false otherwise */
+   public boolean isSetLoginUserName() {
+     return this.loginUserName != null;
+   }
+ 
+   public void setLoginUserNameIsSet(boolean value) {
+     if (!value) {
+       this.loginUserName = null;
+     }
+   }
+ 
+   public String getFileSystemRootLocation() {
+     return this.fileSystemRootLocation;
+   }
+ 
+   public void setFileSystemRootLocation(String fileSystemRootLocation) {
+     this.fileSystemRootLocation = fileSystemRootLocation;
+   }
+ 
+   public void unsetFileSystemRootLocation() {
+     this.fileSystemRootLocation = null;
+   }
+ 
+   /** Returns true if field fileSystemRootLocation is set (has been assigned a value) and false otherwise */
+   public boolean isSetFileSystemRootLocation() {
+     return this.fileSystemRootLocation != null;
+   }
+ 
+   public void setFileSystemRootLocationIsSet(boolean value) {
+     if (!value) {
+       this.fileSystemRootLocation = null;
+     }
+   }
+ 
+   public String getResourceSpecificCredentialStoreToken() {
+     return this.resourceSpecificCredentialStoreToken;
+   }
+ 
+   public void setResourceSpecificCredentialStoreToken(String resourceSpecificCredentialStoreToken) {
+     this.resourceSpecificCredentialStoreToken = resourceSpecificCredentialStoreToken;
+   }
+ 
+   public void unsetResourceSpecificCredentialStoreToken() {
+     this.resourceSpecificCredentialStoreToken = null;
+   }
+ 
+   /** Returns true if field resourceSpecificCredentialStoreToken is set (has been assigned a value) and false otherwise */
+   public boolean isSetResourceSpecificCredentialStoreToken() {
+     return this.resourceSpecificCredentialStoreToken != null;
+   }
+ 
+   public void setResourceSpecificCredentialStoreTokenIsSet(boolean value) {
+     if (!value) {
+       this.resourceSpecificCredentialStoreToken = null;
+     }
+   }
+ 
+   public void setFieldValue(_Fields field, Object value) {
+     switch (field) {
+     case STORAGE_RESOURCE_ID:
+       if (value == null) {
+         unsetStorageResourceId();
+       } else {
+         setStorageResourceId((String)value);
+       }
+       break;
+ 
+     case LOGIN_USER_NAME:
+       if (value == null) {
+         unsetLoginUserName();
+       } else {
+         setLoginUserName((String)value);
+       }
+       break;
+ 
+     case FILE_SYSTEM_ROOT_LOCATION:
+       if (value == null) {
+         unsetFileSystemRootLocation();
+       } else {
+         setFileSystemRootLocation((String)value);
+       }
+       break;
+ 
+     case RESOURCE_SPECIFIC_CREDENTIAL_STORE_TOKEN:
+       if (value == null) {
+         unsetResourceSpecificCredentialStoreToken();
+       } else {
+         setResourceSpecificCredentialStoreToken((String)value);
+       }
+       break;
+ 
+     }
+   }
+ 
+   public Object getFieldValue(_Fields field) {
+     switch (field) {
+     case STORAGE_RESOURCE_ID:
+       return getStorageResourceId();
+ 
+     case LOGIN_USER_NAME:
+       return getLoginUserName();
+ 
+     case FILE_SYSTEM_ROOT_LOCATION:
+       return getFileSystemRootLocation();
+ 
+     case RESOURCE_SPECIFIC_CREDENTIAL_STORE_TOKEN:
+       return getResourceSpecificCredentialStoreToken();
+ 
+     }
+     throw new IllegalStateException();
+   }
+ 
+   /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+   public boolean isSet(_Fields field) {
+     if (field == null) {
+       throw new IllegalArgumentException();
+     }
+ 
+     switch (field) {
+     case STORAGE_RESOURCE_ID:
+       return isSetStorageResourceId();
+     case LOGIN_USER_NAME:
+       return isSetLoginUserName();
+     case FILE_SYSTEM_ROOT_LOCATION:
+       return isSetFileSystemRootLocation();
+     case RESOURCE_SPECIFIC_CREDENTIAL_STORE_TOKEN:
+       return isSetResourceSpecificCredentialStoreToken();
+     }
+     throw new IllegalStateException();
+   }
+ 
+   @Override
+   public boolean equals(Object that) {
+     if (that == null)
+       return false;
+     if (that instanceof StoragePreference)
+       return this.equals((StoragePreference)that);
+     return false;
+   }
+ 
+   public boolean equals(StoragePreference that) {
+     if (that == null)
+       return false;
+ 
+     boolean this_present_storageResourceId = true && this.isSetStorageResourceId();
+     boolean that_present_storageResourceId = true && that.isSetStorageResourceId();
+     if (this_present_storageResourceId || that_present_storageResourceId) {
+       if (!(this_present_storageResourceId && that_present_storageResourceId))
+         return false;
+       if (!this.storageResourceId.equals(that.storageResourceId))
+         return false;
+     }
+ 
+     boolean this_present_loginUserName = true && this.isSetLoginUserName();
+     boolean that_present_loginUserName = true && that.isSetLoginUserName();
+     if (this_present_loginUserName || that_present_loginUserName) {
+       if (!(this_present_loginUserName && that_present_loginUserName))
+         return false;
+       if (!this.loginUserName.equals(that.loginUserName))
+         return false;
+     }
+ 
+     boolean this_present_fileSystemRootLocation = true && this.isSetFileSystemRootLocation();
+     boolean that_present_fileSystemRootLocation = true && that.isSetFileSystemRootLocation();
+     if (this_present_fileSystemRootLocation || that_present_fileSystemRootLocation) {
+       if (!(this_present_fileSystemRootLocation && that_present_fileSystemRootLocation))
+         return false;
+       if (!this.fileSystemRootLocation.equals(that.fileSystemRootLocation))
+         return false;
+     }
+ 
+     boolean this_present_resourceSpecificCredentialStoreToken = true && this.isSetResourceSpecificCredentialStoreToken();
+     boolean that_present_resourceSpecificCredentialStoreToken = true && that.isSetResourceSpecificCredentialStoreToken();
+     if (this_present_resourceSpecificCredentialStoreToken || that_present_resourceSpecificCredentialStoreToken) {
+       if (!(this_present_resourceSpecificCredentialStoreToken && that_present_resourceSpecificCredentialStoreToken))
+         return false;
+       if (!this.resourceSpecificCredentialStoreToken.equals(that.resourceSpecificCredentialStoreToken))
+         return false;
+     }
+ 
+     return true;
+   }
+ 
+   @Override
+   public int hashCode() {
+     List<Object> list = new ArrayList<Object>();
+ 
+     boolean present_storageResourceId = true && (isSetStorageResourceId());
+     list.add(present_storageResourceId);
+     if (present_storageResourceId)
+       list.add(storageResourceId);
+ 
+     boolean present_loginUserName = true && (isSetLoginUserName());
+     list.add(present_loginUserName);
+     if (present_loginUserName)
+       list.add(loginUserName);
+ 
+     boolean present_fileSystemRootLocation = true && (isSetFileSystemRootLocation());
+     list.add(present_fileSystemRootLocation);
+     if (present_fileSystemRootLocation)
+       list.add(fileSystemRootLocation);
+ 
+     boolean present_resourceSpecificCredentialStoreToken = true && (isSetResourceSpecificCredentialStoreToken());
+     list.add(present_resourceSpecificCredentialStoreToken);
+     if (present_resourceSpecificCredentialStoreToken)
+       list.add(resourceSpecificCredentialStoreToken);
+ 
+     return list.hashCode();
+   }
+ 
+   @Override
+   public int compareTo(StoragePreference other) {
+     if (!getClass().equals(other.getClass())) {
+       return getClass().getName().compareTo(other.getClass().getName());
+     }
+ 
+     int lastComparison = 0;
+ 
+     lastComparison = Boolean.valueOf(isSetStorageResourceId()).compareTo(other.isSetStorageResourceId());
+     if (lastComparison != 0) {
+       return lastComparison;
+     }
+     if (isSetStorageResourceId()) {
+       lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.storageResourceId, other.storageResourceId);
+       if (lastComparison != 0) {
+         return lastComparison;
+       }
+     }
+     lastComparison = Boolean.valueOf(isSetLoginUserName()).compareTo(other.isSetLoginUserName());
+     if (lastComparison != 0) {
+       return lastComparison;
+     }
+     if (isSetLoginUserName()) {
+       lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.loginUserName, other.loginUserName);
+       if (lastComparison != 0) {
+         return lastComparison;
+       }
+     }
+     lastComparison = Boolean.valueOf(isSetFileSystemRootLocation()).compareTo(other.isSetFileSystemRootLocation());
+     if (lastComparison != 0) {
+       return lastComparison;
+     }
+     if (isSetFileSystemRootLocation()) {
+       lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fileSystemRootLocation, other.fileSystemRootLocation);
+       if (lastComparison != 0) {
+         return lastComparison;
+       }
+     }
+     lastComparison = Boolean.valueOf(isSetResourceSpecificCredentialStoreToken()).compareTo(other.isSetResourceSpecificCredentialStoreToken());
+     if (lastComparison != 0) {
+       return lastComparison;
+     }
+     if (isSetResourceSpecificCredentialStoreToken()) {
+       lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.resourceSpecificCredentialStoreToken, other.resourceSpecificCredentialStoreToken);
+       if (lastComparison != 0) {
+         return lastComparison;
+       }
+     }
+     return 0;
+   }
+ 
+   public _Fields fieldForId(int fieldId) {
+     return _Fields.findByThriftId(fieldId);
+   }
+ 
+   public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+     schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+   }
+ 
+   public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+     schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+   }
+ 
+   @Override
+   public String toString() {
+     StringBuilder sb = new StringBuilder("StoragePreference(");
+     boolean first = true;
+ 
+     sb.append("storageResourceId:");
+     if (this.storageResourceId == null) {
+       sb.append("null");
+     } else {
+       sb.append(this.storageResourceId);
+     }
+     first = false;
+     if (isSetLoginUserName()) {
+       if (!first) sb.append(", ");
+       sb.append("loginUserName:");
+       if (this.loginUserName == null) {
+         sb.append("null");
+       } else {
+         sb.append(this.loginUserName);
+       }
+       first = false;
+     }
+     if (isSetFileSystemRootLocation()) {
+       if (!first) sb.append(", ");
+       sb.append("fileSystemRootLocation:");
+       if (this.fileSystemRootLocation == null) {
+         sb.append("null");
+       } else {
+         sb.append(this.fileSystemRootLocation);
+       }
+       first = false;
+     }
+     if (isSetResourceSpecificCredentialStoreToken()) {
+       if (!first) sb.append(", ");
+       sb.append("resourceSpecificCredentialStoreToken:");
+       if (this.resourceSpecificCredentialStoreToken == null) {
+         sb.append("null");
+       } else {
+         sb.append(this.resourceSpecificCredentialStoreToken);
+       }
+       first = false;
+     }
+     sb.append(")");
+     return sb.toString();
+   }
+ 
+   public void validate() throws org.apache.thrift.TException {
+     // check for required fields
+     if (!isSetStorageResourceId()) {
+       throw new org.apache.thrift.protocol.TProtocolException("Required field 'storageResourceId' is unset! Struct:" + toString());
+     }
+ 
+     // check for sub-struct validity
+   }
+ 
+   private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+     try {
+       write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+     } catch (org.apache.thrift.TException te) {
+       throw new java.io.IOException(te);
+     }
+   }
+ 
+   private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+     try {
+       read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+     } catch (org.apache.thrift.TException te) {
+       throw new java.io.IOException(te);
+     }
+   }
+ 
+   private static class StoragePreferenceStandardSchemeFactory implements SchemeFactory {
+     public StoragePreferenceStandardScheme getScheme() {
+       return new StoragePreferenceStandardScheme();
+     }
+   }
+ 
+   private static class StoragePreferenceStandardScheme extends StandardScheme<StoragePreference> {
+ 
+     public void read(org.apache.thrift.protocol.TProtocol iprot, StoragePreference struct) throws org.apache.thrift.TException {
+       org.apache.thrift.protocol.TField schemeField;
+       iprot.readStructBegin();
+       while (true)
+       {
+         schemeField = iprot.readFieldBegin();
+         if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+           break;
+         }
+         switch (schemeField.id) {
+           case 1: // STORAGE_RESOURCE_ID
+             if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+               struct.storageResourceId = iprot.readString();
+               struct.setStorageResourceIdIsSet(true);
+             } else { 
+               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+             }
+             break;
+           case 2: // LOGIN_USER_NAME
+             if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+               struct.loginUserName = iprot.readString();
+               struct.setLoginUserNameIsSet(true);
+             } else { 
+               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+             }
+             break;
+           case 3: // FILE_SYSTEM_ROOT_LOCATION
+             if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+               struct.fileSystemRootLocation = iprot.readString();
+               struct.setFileSystemRootLocationIsSet(true);
+             } else { 
+               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+             }
+             break;
+           case 4: // RESOURCE_SPECIFIC_CREDENTIAL_STORE_TOKEN
+             if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+               struct.resourceSpecificCredentialStoreToken = iprot.readString();
+               struct.setResourceSpecificCredentialStoreTokenIsSet(true);
+             } else { 
+               org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+             }
+             break;
+           default:
+             org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+         }
+         iprot.readFieldEnd();
+       }
+       iprot.readStructEnd();
+       struct.validate();
+     }
+ 
+     public void write(org.apache.thrift.protocol.TProtocol oprot, StoragePreference struct) throws org.apache.thrift.TException {
+       struct.validate();
+ 
+       oprot.writeStructBegin(STRUCT_DESC);
+       if (struct.storageResourceId != null) {
+         oprot.writeFieldBegin(STORAGE_RESOURCE_ID_FIELD_DESC);
+         oprot.writeString(struct.storageResourceId);
+         oprot.writeFieldEnd();
+       }
+       if (struct.loginUserName != null) {
+         if (struct.isSetLoginUserName()) {
+           oprot.writeFieldBegin(LOGIN_USER_NAME_FIELD_DESC);
+           oprot.writeString(struct.loginUserName);
+           oprot.writeFieldEnd();
+         }
+       }
+       if (struct.fileSystemRootLocation != null) {
+         if (struct.isSetFileSystemRootLocation()) {
+           oprot.writeFieldBegin(FILE_SYSTEM_ROOT_LOCATION_FIELD_DESC);
+           oprot.writeString(struct.fileSystemRootLocation);
+           oprot.writeFieldEnd();
+         }
+       }
+       if (struct.resourceSpecificCredentialStoreToken != null) {
+         if (struct.isSetResourceSpecificCredentialStoreToken()) {
+           oprot.writeFieldBegin(RESOURCE_SPECIFIC_CREDENTIAL_STORE_TOKEN_FIELD_DESC);
+           oprot.writeString(struct.resourceSpecificCredentialStoreToken);
+           oprot.writeFieldEnd();
+         }
+       }
+       oprot.writeFieldStop();
+       oprot.writeStructEnd();
+     }
+ 
+   }
+ 
+   private static class StoragePreferenceTupleSchemeFactory implements SchemeFactory {
+     public StoragePreferenceTupleScheme getScheme() {
+       return new StoragePreferenceTupleScheme();
+     }
+   }
+ 
+   private static class StoragePreferenceTupleScheme extends TupleScheme<StoragePreference> {
+ 
+     @Override
+     public void write(org.apache.thrift.protocol.TProtocol prot, StoragePreference struct) throws org.apache.thrift.TException {
+       TTupleProtocol oprot = (TTupleProtocol) prot;
+       oprot.writeString(struct.storageResourceId);
+       BitSet optionals = new BitSet();
+       if (struct.isSetLoginUserName()) {
+         optionals.set(0);
+       }
+       if (struct.isSetFileSystemRootLocation()) {
+         optionals.set(1);
+       }
+       if (struct.isSetResourceSpecificCredentialStoreToken()) {
+         optionals.set(2);
+       }
+       oprot.writeBitSet(optionals, 3);
+       if (struct.isSetLoginUserName()) {
+         oprot.writeString(struct.loginUserName);
+       }
+       if (struct.isSetFileSystemRootLocation()) {
+         oprot.writeString(struct.fileSystemRootLocation);
+       }
+       if (struct.isSetResourceSpecificCredentialStoreToken()) {
+         oprot.writeString(struct.resourceSpecificCredentialStoreToken);
+       }
+     }
+ 
+     @Override
+     public void read(org.apache.thrift.protocol.TProtocol prot, StoragePreference struct) throws org.apache.thrift.TException {
+       TTupleProtocol iprot = (TTupleProtocol) prot;
+       struct.storageResourceId = iprot.readString();
+       struct.setStorageResourceIdIsSet(true);
+       BitSet incoming = iprot.readBitSet(3);
+       if (incoming.get(0)) {
+         struct.loginUserName = iprot.readString();
+         struct.setLoginUserNameIsSet(true);
+       }
+       if (incoming.get(1)) {
+         struct.fileSystemRootLocation = iprot.readString();
+         struct.setFileSystemRootLocationIsSet(true);
+       }
+       if (incoming.get(2)) {
+         struct.resourceSpecificCredentialStoreToken = iprot.readString();
+         struct.setResourceSpecificCredentialStoreTokenIsSet(true);
+       }
+     }
+   }
+ 
+ }
+ 


Mime
View raw message