You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2018/02/02 18:35:48 UTC
[airavata] 02/02: AIRAVATA-2667 Add isJobExist method to Registry
API
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git
commit b26717b820cf6315d0438891866c93b8100d6641
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Fri Feb 2 13:35:04 2018 -0500
AIRAVATA-2667 Add isJobExist method to Registry API
---
.../org/apache/airavata/gfac/core/GFacUtils.java | 4 -
.../apache/airavata/gfac/impl/GFacEngineImpl.java | 4 +-
.../api/service/handler/RegistryServerHandler.java | 76 +-
.../airavata/registry/api/RegistryService.java | 4712 +++++++++++---------
.../component-cpis/registry-api.thrift | 7 +
5 files changed, 2783 insertions(+), 2020 deletions(-)
diff --git a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
index 927b794..7f8ea27 100644
--- a/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
+++ b/modules/gfac/gfac-core/src/main/java/org/apache/airavata/gfac/core/GFacUtils.java
@@ -1043,10 +1043,6 @@ public class GFacUtils {
}
}
- public static JobModel getJobModel(ProcessContext processContext, RegistryService.Client registryClient) throws TException {
- return registryClient.getJob(GFacConstants.PROCESS_ID, processContext.getProcessId());
- }
-
public static List<String> parseTaskDag(String taskDag) {
// TODO - parse taskDag and create taskId list
String[] tasks = taskDag.split(",");
diff --git a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java
index ea86b43..249a91a 100644
--- a/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java
+++ b/modules/gfac/gfac-impl/src/main/java/org/apache/airavata/gfac/impl/GFacEngineImpl.java
@@ -186,7 +186,9 @@ public class GFacEngineImpl implements GFacEngine {
processContext.setLocalWorkingDir((inputPath.endsWith("/") ? inputPath : inputPath + "/") +
processContext.getProcessId());
}
- processContext.setJobModel(registryClient.getJob(GFacConstants.PROCESS_ID, processId));
+ if (registryClient.isJobExist(GFacConstants.PROCESS_ID, processId)) {
+ processContext.setJobModel(registryClient.getJob(GFacConstants.PROCESS_ID, processId));
+ }
return processContext;
} catch (AiravataException e) {
String msg = "Remote cluster initialization error";
diff --git a/modules/registry/registry-server/registry-api-service/src/main/java/org/apache/airavata/registry/api/service/handler/RegistryServerHandler.java b/modules/registry/registry-server/registry-api-service/src/main/java/org/apache/airavata/registry/api/service/handler/RegistryServerHandler.java
index 64e4222..59abf77 100644
--- a/modules/registry/registry-server/registry-api-service/src/main/java/org/apache/airavata/registry/api/service/handler/RegistryServerHandler.java
+++ b/modules/registry/registry-server/registry-api-service/src/main/java/org/apache/airavata/registry/api/service/handler/RegistryServerHandler.java
@@ -996,34 +996,28 @@ public class RegistryServerHandler implements RegistryService.Iface {
* queryType can be PROCESS_ID or TASK_ID
*/
@Override
+ public boolean isJobExist(String queryType, String id) throws RegistryServiceException, TException {
+ try {
+ JobModel jobModel = fetchJobModel(queryType, id);
+ return jobModel != null;
+ } catch (Exception e) {
+ logger.error(id, "Error while retrieving job", e);
+ AiravataSystemException exception = new AiravataSystemException();
+ exception.setAiravataErrorType(AiravataErrorType.INTERNAL_ERROR);
+ exception.setMessage("Error while retrieving job. More info : " + e.getMessage());
+ throw exception;
+ }
+ }
+
+ /**
+ *
+ * queryType can be PROCESS_ID or TASK_ID
+ */
+ @Override
public JobModel getJob(String queryType, String id) throws RegistryServiceException, TException {
try {
- experimentCatalog = RegistryFactory.getDefaultExpCatalog();
- if (queryType.equals(Constants.FieldConstants.JobConstants.TASK_ID)) {
- List<Object> jobs = experimentCatalog.get(ExperimentCatalogModelType.JOB, Constants.FieldConstants.JobConstants.TASK_ID, id);
- JobModel jobModel = null;
- if (jobs != null) {
- for (Object object : jobs) {
- jobModel = ((JobModel) object);
- if (jobModel.getJobId() != null || !jobModel.equals("")) {
- return jobModel;
- }
- }
- }
- }
- else if (queryType.equals(Constants.FieldConstants.JobConstants.PROCESS_ID)) {
- List<Object> objects = experimentCatalog.get(ExperimentCatalogModelType.JOB,
- Constants.FieldConstants.JobConstants.PROCESS_ID, id);
- JobModel jobModel = null;
- if (objects != null) {
- for (Object object : objects) {
- jobModel = ((JobModel) object);
- if (jobModel.getJobId() != null || !jobModel.equals("")) {
- return jobModel;
- }
- }
- }
- }
+ JobModel jobModel = fetchJobModel(queryType, id);
+ if (jobModel != null) return jobModel;
throw new Exception("Job not found for queryType: " + queryType + ", id: " + id);
} catch (Exception e) {
logger.error(id, "Error while retrieving job", e);
@@ -1034,6 +1028,36 @@ public class RegistryServerHandler implements RegistryService.Iface {
}
}
+ private JobModel fetchJobModel(String queryType, String id) throws RegistryException {
+ experimentCatalog = RegistryFactory.getDefaultExpCatalog();
+ if (queryType.equals(Constants.FieldConstants.JobConstants.TASK_ID)) {
+ List<Object> jobs = experimentCatalog.get(ExperimentCatalogModelType.JOB, Constants.FieldConstants.JobConstants.TASK_ID, id);
+ JobModel jobModel = null;
+ if (jobs != null) {
+ for (Object object : jobs) {
+ jobModel = ((JobModel) object);
+ if (jobModel.getJobId() != null || !jobModel.equals("")) {
+ return jobModel;
+ }
+ }
+ }
+ }
+ else if (queryType.equals(Constants.FieldConstants.JobConstants.PROCESS_ID)) {
+ List<Object> objects = experimentCatalog.get(ExperimentCatalogModelType.JOB,
+ Constants.FieldConstants.JobConstants.PROCESS_ID, id);
+ JobModel jobModel = null;
+ if (objects != null) {
+ for (Object object : objects) {
+ jobModel = ((JobModel) object);
+ if (jobModel.getJobId() != null || !jobModel.equals("")) {
+ return jobModel;
+ }
+ }
+ }
+ }
+ return null;
+ }
+
@Override
public List<OutputDataObjectType> getProcessOutputs(String processId) throws RegistryServiceException, TException {
try {
diff --git a/modules/registry/registry-server/registry-api-stubs/src/main/java/org/apache/airavata/registry/api/RegistryService.java b/modules/registry/registry-server/registry-api-stubs/src/main/java/org/apache/airavata/registry/api/RegistryService.java
index 9cb3491..ad6ea06 100644
--- a/modules/registry/registry-server/registry-api-stubs/src/main/java/org/apache/airavata/registry/api/RegistryService.java
+++ b/modules/registry/registry-server/registry-api-stubs/src/main/java/org/apache/airavata/registry/api/RegistryService.java
@@ -735,6 +735,8 @@ public class RegistryService {
public org.apache.airavata.model.status.ProcessStatus getProcessStatus(java.lang.String processId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
+ public boolean isJobExist(java.lang.String queryType, java.lang.String id) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
+
public org.apache.airavata.model.job.JobModel getJob(java.lang.String queryType, java.lang.String id) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
public java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> getProcessOutputs(java.lang.String processId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
@@ -2587,6 +2589,8 @@ public class RegistryService {
public void getProcessStatus(java.lang.String processId, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.status.ProcessStatus> resultHandler) throws org.apache.thrift.TException;
+ public void isJobExist(java.lang.String queryType, java.lang.String id, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException;
+
public void getJob(java.lang.String queryType, java.lang.String id, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.job.JobModel> resultHandler) throws org.apache.thrift.TException;
public void getProcessOutputs(java.lang.String processId, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType>> resultHandler) throws org.apache.thrift.TException;
@@ -4185,6 +4189,33 @@ public class RegistryService {
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getProcessStatus failed: unknown result");
}
+ public boolean isJobExist(java.lang.String queryType, java.lang.String id) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
+ {
+ send_isJobExist(queryType, id);
+ return recv_isJobExist();
+ }
+
+ public void send_isJobExist(java.lang.String queryType, java.lang.String id) throws org.apache.thrift.TException
+ {
+ isJobExist_args args = new isJobExist_args();
+ args.setQueryType(queryType);
+ args.setId(id);
+ sendBase("isJobExist", args);
+ }
+
+ public boolean recv_isJobExist() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
+ {
+ isJobExist_result result = new isJobExist_result();
+ receiveBase(result, "isJobExist");
+ if (result.isSetSuccess()) {
+ return result.success;
+ }
+ if (result.rse != null) {
+ throw result.rse;
+ }
+ throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "isJobExist failed: unknown result");
+ }
+
public org.apache.airavata.model.job.JobModel getJob(java.lang.String queryType, java.lang.String id) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
send_getJob(queryType, id);
@@ -9063,6 +9094,41 @@ public class RegistryService {
}
}
+ public void isJobExist(java.lang.String queryType, java.lang.String id, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
+ checkReady();
+ isJobExist_call method_call = new isJobExist_call(queryType, id, resultHandler, this, ___protocolFactory, ___transport);
+ this.___currentMethod = method_call;
+ ___manager.call(method_call);
+ }
+
+ public static class isJobExist_call extends org.apache.thrift.async.TAsyncMethodCall<java.lang.Boolean> {
+ private java.lang.String queryType;
+ private java.lang.String id;
+ public isJobExist_call(java.lang.String queryType, java.lang.String id, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
+ super(client, protocolFactory, transport, resultHandler, false);
+ this.queryType = queryType;
+ this.id = id;
+ }
+
+ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
+ prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("isJobExist", org.apache.thrift.protocol.TMessageType.CALL, 0));
+ isJobExist_args args = new isJobExist_args();
+ args.setQueryType(queryType);
+ args.setId(id);
+ args.write(prot);
+ prot.writeMessageEnd();
+ }
+
+ public java.lang.Boolean getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException {
+ if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
+ throw new java.lang.IllegalStateException("Method call not finished!");
+ }
+ org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
+ org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
+ return (new Client(prot)).recv_isJobExist();
+ }
+ }
+
public void getJob(java.lang.String queryType, java.lang.String id, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.job.JobModel> resultHandler) throws org.apache.thrift.TException {
checkReady();
getJob_call method_call = new getJob_call(queryType, id, resultHandler, this, ___protocolFactory, ___transport);
@@ -13128,6 +13194,7 @@ public class RegistryService {
processMap.put("getProcess", new getProcess());
processMap.put("getProcessList", new getProcessList());
processMap.put("getProcessStatus", new getProcessStatus());
+ processMap.put("isJobExist", new isJobExist());
processMap.put("getJob", new getJob());
processMap.put("getProcessOutputs", new getProcessOutputs());
processMap.put("getProcessIds", new getProcessIds());
@@ -13261,8 +13328,6 @@ public class RegistryService {
return false;
}
-
-
public getAPIVersion_result getResult(I iface, getAPIVersion_args args) throws org.apache.thrift.TException {
getAPIVersion_result result = new getAPIVersion_result();
try {
@@ -13287,8 +13352,6 @@ public class RegistryService {
return false;
}
-
-
public isUserExists_result getResult(I iface, isUserExists_args args) throws org.apache.thrift.TException {
isUserExists_result result = new isUserExists_result();
try {
@@ -13314,8 +13377,6 @@ public class RegistryService {
return false;
}
-
-
public addGateway_result getResult(I iface, addGateway_args args) throws org.apache.thrift.TException {
addGateway_result result = new addGateway_result();
try {
@@ -13342,8 +13403,6 @@ public class RegistryService {
return false;
}
-
-
public getAllUsersInGateway_result getResult(I iface, getAllUsersInGateway_args args) throws org.apache.thrift.TException {
getAllUsersInGateway_result result = new getAllUsersInGateway_result();
try {
@@ -13368,8 +13427,6 @@ public class RegistryService {
return false;
}
-
-
public updateGateway_result getResult(I iface, updateGateway_args args) throws org.apache.thrift.TException {
updateGateway_result result = new updateGateway_result();
try {
@@ -13395,8 +13452,6 @@ public class RegistryService {
return false;
}
-
-
public getGateway_result getResult(I iface, getGateway_args args) throws org.apache.thrift.TException {
getGateway_result result = new getGateway_result();
try {
@@ -13421,8 +13476,6 @@ public class RegistryService {
return false;
}
-
-
public deleteGateway_result getResult(I iface, deleteGateway_args args) throws org.apache.thrift.TException {
deleteGateway_result result = new deleteGateway_result();
try {
@@ -13448,8 +13501,6 @@ public class RegistryService {
return false;
}
-
-
public getAllGateways_result getResult(I iface, getAllGateways_args args) throws org.apache.thrift.TException {
getAllGateways_result result = new getAllGateways_result();
try {
@@ -13474,8 +13525,6 @@ public class RegistryService {
return false;
}
-
-
public isGatewayExist_result getResult(I iface, isGatewayExist_args args) throws org.apache.thrift.TException {
isGatewayExist_result result = new isGatewayExist_result();
try {
@@ -13501,8 +13550,6 @@ public class RegistryService {
return false;
}
-
-
public createNotification_result getResult(I iface, createNotification_args args) throws org.apache.thrift.TException {
createNotification_result result = new createNotification_result();
try {
@@ -13527,8 +13574,6 @@ public class RegistryService {
return false;
}
-
-
public updateNotification_result getResult(I iface, updateNotification_args args) throws org.apache.thrift.TException {
updateNotification_result result = new updateNotification_result();
try {
@@ -13554,8 +13599,6 @@ public class RegistryService {
return false;
}
-
-
public deleteNotification_result getResult(I iface, deleteNotification_args args) throws org.apache.thrift.TException {
deleteNotification_result result = new deleteNotification_result();
try {
@@ -13581,8 +13624,6 @@ public class RegistryService {
return false;
}
-
-
public getNotification_result getResult(I iface, getNotification_args args) throws org.apache.thrift.TException {
getNotification_result result = new getNotification_result();
try {
@@ -13607,8 +13648,6 @@ public class RegistryService {
return false;
}
-
-
public getAllNotifications_result getResult(I iface, getAllNotifications_args args) throws org.apache.thrift.TException {
getAllNotifications_result result = new getAllNotifications_result();
try {
@@ -13633,8 +13672,6 @@ public class RegistryService {
return false;
}
-
-
public createProject_result getResult(I iface, createProject_args args) throws org.apache.thrift.TException {
createProject_result result = new createProject_result();
try {
@@ -13659,8 +13696,6 @@ public class RegistryService {
return false;
}
-
-
public updateProject_result getResult(I iface, updateProject_args args) throws org.apache.thrift.TException {
updateProject_result result = new updateProject_result();
try {
@@ -13687,8 +13722,6 @@ public class RegistryService {
return false;
}
-
-
public getProject_result getResult(I iface, getProject_args args) throws org.apache.thrift.TException {
getProject_result result = new getProject_result();
try {
@@ -13715,8 +13748,6 @@ public class RegistryService {
return false;
}
-
-
public deleteProject_result getResult(I iface, deleteProject_args args) throws org.apache.thrift.TException {
deleteProject_result result = new deleteProject_result();
try {
@@ -13744,8 +13775,6 @@ public class RegistryService {
return false;
}
-
-
public getUserProjects_result getResult(I iface, getUserProjects_args args) throws org.apache.thrift.TException {
getUserProjects_result result = new getUserProjects_result();
try {
@@ -13770,8 +13799,6 @@ public class RegistryService {
return false;
}
-
-
public searchProjects_result getResult(I iface, searchProjects_args args) throws org.apache.thrift.TException {
searchProjects_result result = new searchProjects_result();
try {
@@ -13796,8 +13823,6 @@ public class RegistryService {
return false;
}
-
-
public searchExperiments_result getResult(I iface, searchExperiments_args args) throws org.apache.thrift.TException {
searchExperiments_result result = new searchExperiments_result();
try {
@@ -13822,8 +13847,6 @@ public class RegistryService {
return false;
}
-
-
public getExperimentStatistics_result getResult(I iface, getExperimentStatistics_args args) throws org.apache.thrift.TException {
getExperimentStatistics_result result = new getExperimentStatistics_result();
try {
@@ -13848,8 +13871,6 @@ public class RegistryService {
return false;
}
-
-
public getExperimentsInProject_result getResult(I iface, getExperimentsInProject_args args) throws org.apache.thrift.TException {
getExperimentsInProject_result result = new getExperimentsInProject_result();
try {
@@ -13876,8 +13897,6 @@ public class RegistryService {
return false;
}
-
-
public getUserExperiments_result getResult(I iface, getUserExperiments_args args) throws org.apache.thrift.TException {
getUserExperiments_result result = new getUserExperiments_result();
try {
@@ -13902,8 +13921,6 @@ public class RegistryService {
return false;
}
-
-
public createExperiment_result getResult(I iface, createExperiment_args args) throws org.apache.thrift.TException {
createExperiment_result result = new createExperiment_result();
try {
@@ -13928,8 +13945,6 @@ public class RegistryService {
return false;
}
-
-
public deleteExperiment_result getResult(I iface, deleteExperiment_args args) throws org.apache.thrift.TException {
deleteExperiment_result result = new deleteExperiment_result();
try {
@@ -13955,8 +13970,6 @@ public class RegistryService {
return false;
}
-
-
public getExperiment_result getResult(I iface, getExperiment_args args) throws org.apache.thrift.TException {
getExperiment_result result = new getExperiment_result();
try {
@@ -13983,8 +13996,6 @@ public class RegistryService {
return false;
}
-
-
public getDetailedExperimentTree_result getResult(I iface, getDetailedExperimentTree_args args) throws org.apache.thrift.TException {
getDetailedExperimentTree_result result = new getDetailedExperimentTree_result();
try {
@@ -14011,8 +14022,6 @@ public class RegistryService {
return false;
}
-
-
public updateExperiment_result getResult(I iface, updateExperiment_args args) throws org.apache.thrift.TException {
updateExperiment_result result = new updateExperiment_result();
try {
@@ -14039,8 +14048,6 @@ public class RegistryService {
return false;
}
-
-
public updateExperimentConfiguration_result getResult(I iface, updateExperimentConfiguration_args args) throws org.apache.thrift.TException {
updateExperimentConfiguration_result result = new updateExperimentConfiguration_result();
try {
@@ -14065,8 +14072,6 @@ public class RegistryService {
return false;
}
-
-
public updateResourceScheduleing_result getResult(I iface, updateResourceScheduleing_args args) throws org.apache.thrift.TException {
updateResourceScheduleing_result result = new updateResourceScheduleing_result();
try {
@@ -14091,8 +14096,6 @@ public class RegistryService {
return false;
}
-
-
public getExperimentStatus_result getResult(I iface, getExperimentStatus_args args) throws org.apache.thrift.TException {
getExperimentStatus_result result = new getExperimentStatus_result();
try {
@@ -14119,8 +14122,6 @@ public class RegistryService {
return false;
}
-
-
public getExperimentOutputs_result getResult(I iface, getExperimentOutputs_args args) throws org.apache.thrift.TException {
getExperimentOutputs_result result = new getExperimentOutputs_result();
try {
@@ -14147,8 +14148,6 @@ public class RegistryService {
return false;
}
-
-
public getIntermediateOutputs_result getResult(I iface, getIntermediateOutputs_args args) throws org.apache.thrift.TException {
getIntermediateOutputs_result result = new getIntermediateOutputs_result();
try {
@@ -14175,8 +14174,6 @@ public class RegistryService {
return false;
}
-
-
public getJobStatuses_result getResult(I iface, getJobStatuses_args args) throws org.apache.thrift.TException {
getJobStatuses_result result = new getJobStatuses_result();
try {
@@ -14203,8 +14200,6 @@ public class RegistryService {
return false;
}
-
-
public addExperimentProcessOutputs_result getResult(I iface, addExperimentProcessOutputs_args args) throws org.apache.thrift.TException {
addExperimentProcessOutputs_result result = new addExperimentProcessOutputs_result();
try {
@@ -14229,8 +14224,6 @@ public class RegistryService {
return false;
}
-
-
public addErrors_result getResult(I iface, addErrors_args args) throws org.apache.thrift.TException {
addErrors_result result = new addErrors_result();
try {
@@ -14255,8 +14248,6 @@ public class RegistryService {
return false;
}
-
-
public addTaskStatus_result getResult(I iface, addTaskStatus_args args) throws org.apache.thrift.TException {
addTaskStatus_result result = new addTaskStatus_result();
try {
@@ -14281,8 +14272,6 @@ public class RegistryService {
return false;
}
-
-
public addProcessStatus_result getResult(I iface, addProcessStatus_args args) throws org.apache.thrift.TException {
addProcessStatus_result result = new addProcessStatus_result();
try {
@@ -14307,8 +14296,6 @@ public class RegistryService {
return false;
}
-
-
public updateProcessStatus_result getResult(I iface, updateProcessStatus_args args) throws org.apache.thrift.TException {
updateProcessStatus_result result = new updateProcessStatus_result();
try {
@@ -14333,8 +14320,6 @@ public class RegistryService {
return false;
}
-
-
public updateExperimentStatus_result getResult(I iface, updateExperimentStatus_args args) throws org.apache.thrift.TException {
updateExperimentStatus_result result = new updateExperimentStatus_result();
try {
@@ -14359,8 +14344,6 @@ public class RegistryService {
return false;
}
-
-
public addJobStatus_result getResult(I iface, addJobStatus_args args) throws org.apache.thrift.TException {
addJobStatus_result result = new addJobStatus_result();
try {
@@ -14385,8 +14368,6 @@ public class RegistryService {
return false;
}
-
-
public addJob_result getResult(I iface, addJob_args args) throws org.apache.thrift.TException {
addJob_result result = new addJob_result();
try {
@@ -14411,8 +14392,6 @@ public class RegistryService {
return false;
}
-
-
public addProcess_result getResult(I iface, addProcess_args args) throws org.apache.thrift.TException {
addProcess_result result = new addProcess_result();
try {
@@ -14437,8 +14416,6 @@ public class RegistryService {
return false;
}
-
-
public updateProcess_result getResult(I iface, updateProcess_args args) throws org.apache.thrift.TException {
updateProcess_result result = new updateProcess_result();
try {
@@ -14463,8 +14440,6 @@ public class RegistryService {
return false;
}
-
-
public addTask_result getResult(I iface, addTask_args args) throws org.apache.thrift.TException {
addTask_result result = new addTask_result();
try {
@@ -14489,8 +14464,6 @@ public class RegistryService {
return false;
}
-
-
public getUserConfigurationData_result getResult(I iface, getUserConfigurationData_args args) throws org.apache.thrift.TException {
getUserConfigurationData_result result = new getUserConfigurationData_result();
try {
@@ -14515,8 +14488,6 @@ public class RegistryService {
return false;
}
-
-
public getProcess_result getResult(I iface, getProcess_args args) throws org.apache.thrift.TException {
getProcess_result result = new getProcess_result();
try {
@@ -14541,8 +14512,6 @@ public class RegistryService {
return false;
}
-
-
public getProcessList_result getResult(I iface, getProcessList_args args) throws org.apache.thrift.TException {
getProcessList_result result = new getProcessList_result();
try {
@@ -14567,8 +14536,6 @@ public class RegistryService {
return false;
}
-
-
public getProcessStatus_result getResult(I iface, getProcessStatus_args args) throws org.apache.thrift.TException {
getProcessStatus_result result = new getProcessStatus_result();
try {
@@ -14580,6 +14547,31 @@ public class RegistryService {
}
}
+ public static class isJobExist<I extends Iface> extends org.apache.thrift.ProcessFunction<I, isJobExist_args> {
+ public isJobExist() {
+ super("isJobExist");
+ }
+
+ public isJobExist_args getEmptyArgsInstance() {
+ return new isJobExist_args();
+ }
+
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public isJobExist_result getResult(I iface, isJobExist_args args) throws org.apache.thrift.TException {
+ isJobExist_result result = new isJobExist_result();
+ try {
+ result.success = iface.isJobExist(args.queryType, args.id);
+ result.setSuccessIsSet(true);
+ } catch (org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
+ result.rse = rse;
+ }
+ return result;
+ }
+ }
+
public static class getJob<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getJob_args> {
public getJob() {
super("getJob");
@@ -14593,8 +14585,6 @@ public class RegistryService {
return false;
}
-
-
public getJob_result getResult(I iface, getJob_args args) throws org.apache.thrift.TException {
getJob_result result = new getJob_result();
try {
@@ -14619,8 +14609,6 @@ public class RegistryService {
return false;
}
-
-
public getProcessOutputs_result getResult(I iface, getProcessOutputs_args args) throws org.apache.thrift.TException {
getProcessOutputs_result result = new getProcessOutputs_result();
try {
@@ -14645,8 +14633,6 @@ public class RegistryService {
return false;
}
-
-
public getProcessIds_result getResult(I iface, getProcessIds_args args) throws org.apache.thrift.TException {
getProcessIds_result result = new getProcessIds_result();
try {
@@ -14671,8 +14657,6 @@ public class RegistryService {
return false;
}
-
-
public getJobDetails_result getResult(I iface, getJobDetails_args args) throws org.apache.thrift.TException {
getJobDetails_result result = new getJobDetails_result();
try {
@@ -14699,8 +14683,6 @@ public class RegistryService {
return false;
}
-
-
public registerApplicationModule_result getResult(I iface, registerApplicationModule_args args) throws org.apache.thrift.TException {
registerApplicationModule_result result = new registerApplicationModule_result();
try {
@@ -14725,8 +14707,6 @@ public class RegistryService {
return false;
}
-
-
public getApplicationModule_result getResult(I iface, getApplicationModule_args args) throws org.apache.thrift.TException {
getApplicationModule_result result = new getApplicationModule_result();
try {
@@ -14751,8 +14731,6 @@ public class RegistryService {
return false;
}
-
-
public updateApplicationModule_result getResult(I iface, updateApplicationModule_args args) throws org.apache.thrift.TException {
updateApplicationModule_result result = new updateApplicationModule_result();
try {
@@ -14778,8 +14756,6 @@ public class RegistryService {
return false;
}
-
-
public getAllAppModules_result getResult(I iface, getAllAppModules_args args) throws org.apache.thrift.TException {
getAllAppModules_result result = new getAllAppModules_result();
try {
@@ -14804,8 +14780,6 @@ public class RegistryService {
return false;
}
-
-
public deleteApplicationModule_result getResult(I iface, deleteApplicationModule_args args) throws org.apache.thrift.TException {
deleteApplicationModule_result result = new deleteApplicationModule_result();
try {
@@ -14831,8 +14805,6 @@ public class RegistryService {
return false;
}
-
-
public registerApplicationDeployment_result getResult(I iface, registerApplicationDeployment_args args) throws org.apache.thrift.TException {
registerApplicationDeployment_result result = new registerApplicationDeployment_result();
try {
@@ -14857,8 +14829,6 @@ public class RegistryService {
return false;
}
-
-
public getApplicationDeployment_result getResult(I iface, getApplicationDeployment_args args) throws org.apache.thrift.TException {
getApplicationDeployment_result result = new getApplicationDeployment_result();
try {
@@ -14883,8 +14853,6 @@ public class RegistryService {
return false;
}
-
-
public updateApplicationDeployment_result getResult(I iface, updateApplicationDeployment_args args) throws org.apache.thrift.TException {
updateApplicationDeployment_result result = new updateApplicationDeployment_result();
try {
@@ -14910,8 +14878,6 @@ public class RegistryService {
return false;
}
-
-
public deleteApplicationDeployment_result getResult(I iface, deleteApplicationDeployment_args args) throws org.apache.thrift.TException {
deleteApplicationDeployment_result result = new deleteApplicationDeployment_result();
try {
@@ -14937,8 +14903,6 @@ public class RegistryService {
return false;
}
-
-
public getAllApplicationDeployments_result getResult(I iface, getAllApplicationDeployments_args args) throws org.apache.thrift.TException {
getAllApplicationDeployments_result result = new getAllApplicationDeployments_result();
try {
@@ -14963,8 +14927,6 @@ public class RegistryService {
return false;
}
-
-
public getAppModuleDeployedResources_result getResult(I iface, getAppModuleDeployedResources_args args) throws org.apache.thrift.TException {
getAppModuleDeployedResources_result result = new getAppModuleDeployedResources_result();
try {
@@ -14989,8 +14951,6 @@ public class RegistryService {
return false;
}
-
-
public getApplicationDeployments_result getResult(I iface, getApplicationDeployments_args args) throws org.apache.thrift.TException {
getApplicationDeployments_result result = new getApplicationDeployments_result();
try {
@@ -15015,8 +14975,6 @@ public class RegistryService {
return false;
}
-
-
public registerApplicationInterface_result getResult(I iface, registerApplicationInterface_args args) throws org.apache.thrift.TException {
registerApplicationInterface_result result = new registerApplicationInterface_result();
try {
@@ -15041,8 +14999,6 @@ public class RegistryService {
return false;
}
-
-
public getApplicationInterface_result getResult(I iface, getApplicationInterface_args args) throws org.apache.thrift.TException {
getApplicationInterface_result result = new getApplicationInterface_result();
try {
@@ -15067,8 +15023,6 @@ public class RegistryService {
return false;
}
-
-
public updateApplicationInterface_result getResult(I iface, updateApplicationInterface_args args) throws org.apache.thrift.TException {
updateApplicationInterface_result result = new updateApplicationInterface_result();
try {
@@ -15094,8 +15048,6 @@ public class RegistryService {
return false;
}
-
-
public deleteApplicationInterface_result getResult(I iface, deleteApplicationInterface_args args) throws org.apache.thrift.TException {
deleteApplicationInterface_result result = new deleteApplicationInterface_result();
try {
@@ -15121,8 +15073,6 @@ public class RegistryService {
return false;
}
-
-
public getAllApplicationInterfaceNames_result getResult(I iface, getAllApplicationInterfaceNames_args args) throws org.apache.thrift.TException {
getAllApplicationInterfaceNames_result result = new getAllApplicationInterfaceNames_result();
try {
@@ -15147,8 +15097,6 @@ public class RegistryService {
return false;
}
-
-
public getAllApplicationInterfaces_result getResult(I iface, getAllApplicationInterfaces_args args) throws org.apache.thrift.TException {
getAllApplicationInterfaces_result result = new getAllApplicationInterfaces_result();
try {
@@ -15173,8 +15121,6 @@ public class RegistryService {
return false;
}
-
-
public getApplicationInputs_result getResult(I iface, getApplicationInputs_args args) throws org.apache.thrift.TException {
getApplicationInputs_result result = new getApplicationInputs_result();
try {
@@ -15199,8 +15145,6 @@ public class RegistryService {
return false;
}
-
-
public getApplicationOutputs_result getResult(I iface, getApplicationOutputs_args args) throws org.apache.thrift.TException {
getApplicationOutputs_result result = new getApplicationOutputs_result();
try {
@@ -15225,8 +15169,6 @@ public class RegistryService {
return false;
}
-
-
public getAvailableAppInterfaceComputeResources_result getResult(I iface, getAvailableAppInterfaceComputeResources_args args) throws org.apache.thrift.TException {
getAvailableAppInterfaceComputeResources_result result = new getAvailableAppInterfaceComputeResources_result();
try {
@@ -15251,8 +15193,6 @@ public class RegistryService {
return false;
}
-
-
public registerComputeResource_result getResult(I iface, registerComputeResource_args args) throws org.apache.thrift.TException {
registerComputeResource_result result = new registerComputeResource_result();
try {
@@ -15277,8 +15217,6 @@ public class RegistryService {
return false;
}
-
-
public getComputeResource_result getResult(I iface, getComputeResource_args args) throws org.apache.thrift.TException {
getComputeResource_result result = new getComputeResource_result();
try {
@@ -15303,8 +15241,6 @@ public class RegistryService {
return false;
}
-
-
public getAllComputeResourceNames_result getResult(I iface, getAllComputeResourceNames_args args) throws org.apache.thrift.TException {
getAllComputeResourceNames_result result = new getAllComputeResourceNames_result();
try {
@@ -15329,8 +15265,6 @@ public class RegistryService {
return false;
}
-
-
public updateComputeResource_result getResult(I iface, updateComputeResource_args args) throws org.apache.thrift.TException {
updateComputeResource_result result = new updateComputeResource_result();
try {
@@ -15356,8 +15290,6 @@ public class RegistryService {
return false;
}
-
-
public deleteComputeResource_result getResult(I iface, deleteComputeResource_args args) throws org.apache.thrift.TException {
deleteComputeResource_result result = new deleteComputeResource_result();
try {
@@ -15383,8 +15315,6 @@ public class RegistryService {
return false;
}
-
-
public registerStorageResource_result getResult(I iface, registerStorageResource_args args) throws org.apache.thrift.TException {
registerStorageResource_result result = new registerStorageResource_result();
try {
@@ -15409,8 +15339,6 @@ public class RegistryService {
return false;
}
-
-
public getStorageResource_result getResult(I iface, getStorageResource_args args) throws org.apache.thrift.TException {
getStorageResource_result result = new getStorageResource_result();
try {
@@ -15435,8 +15363,6 @@ public class RegistryService {
return false;
}
-
-
public getAllStorageResourceNames_result getResult(I iface, getAllStorageResourceNames_args args) throws org.apache.thrift.TException {
getAllStorageResourceNames_result result = new getAllStorageResourceNames_result();
try {
@@ -15461,8 +15387,6 @@ public class RegistryService {
return false;
}
-
-
public updateStorageResource_result getResult(I iface, updateStorageResource_args args) throws org.apache.thrift.TException {
updateStorageResource_result result = new updateStorageResource_result();
try {
@@ -15488,8 +15412,6 @@ public class RegistryService {
return false;
}
-
-
public deleteStorageResource_result getResult(I iface, deleteStorageResource_args args) throws org.apache.thrift.TException {
deleteStorageResource_result result = new deleteStorageResource_result();
try {
@@ -15515,8 +15437,6 @@ public class RegistryService {
return false;
}
-
-
public addLocalSubmissionDetails_result getResult(I iface, addLocalSubmissionDetails_args args) throws org.apache.thrift.TException {
addLocalSubmissionDetails_result result = new addLocalSubmissionDetails_result();
try {
@@ -15541,8 +15461,6 @@ public class RegistryService {
return false;
}
-
-
public updateLocalSubmissionDetails_result getResult(I iface, updateLocalSubmissionDetails_args args) throws org.apache.thrift.TException {
updateLocalSubmissionDetails_result result = new updateLocalSubmissionDetails_result();
try {
@@ -15568,8 +15486,6 @@ public class RegistryService {
return false;
}
-
-
public getLocalJobSubmission_result getResult(I iface, getLocalJobSubmission_args args) throws org.apache.thrift.TException {
getLocalJobSubmission_result result = new getLocalJobSubmission_result();
try {
@@ -15594,8 +15510,6 @@ public class RegistryService {
return false;
}
-
-
public addSSHJobSubmissionDetails_result getResult(I iface, addSSHJobSubmissionDetails_args args) throws org.apache.thrift.TException {
addSSHJobSubmissionDetails_result result = new addSSHJobSubmissionDetails_result();
try {
@@ -15620,8 +15534,6 @@ public class RegistryService {
return false;
}
-
-
public addSSHForkJobSubmissionDetails_result getResult(I iface, addSSHForkJobSubmissionDetails_args args) throws org.apache.thrift.TException {
addSSHForkJobSubmissionDetails_result result = new addSSHForkJobSubmissionDetails_result();
try {
@@ -15646,8 +15558,6 @@ public class RegistryService {
return false;
}
-
-
public getSSHJobSubmission_result getResult(I iface, getSSHJobSubmission_args args) throws org.apache.thrift.TException {
getSSHJobSubmission_result result = new getSSHJobSubmission_result();
try {
@@ -15672,8 +15582,6 @@ public class RegistryService {
return false;
}
-
-
public addUNICOREJobSubmissionDetails_result getResult(I iface, addUNICOREJobSubmissionDetails_args args) throws org.apache.thrift.TException {
addUNICOREJobSubmissionDetails_result result = new addUNICOREJobSubmissionDetails_result();
try {
@@ -15698,8 +15606,6 @@ public class RegistryService {
return false;
}
-
-
public getUnicoreJobSubmission_result getResult(I iface, getUnicoreJobSubmission_args args) throws org.apache.thrift.TException {
getUnicoreJobSubmission_result result = new getUnicoreJobSubmission_result();
try {
@@ -15724,8 +15630,6 @@ public class RegistryService {
return false;
}
-
-
public addCloudJobSubmissionDetails_result getResult(I iface, addCloudJobSubmissionDetails_args args) throws org.apache.thrift.TException {
addCloudJobSubmissionDetails_result result = new addCloudJobSubmissionDetails_result();
try {
@@ -15750,8 +15654,6 @@ public class RegistryService {
return false;
}
-
-
public getCloudJobSubmission_result getResult(I iface, getCloudJobSubmission_args args) throws org.apache.thrift.TException {
getCloudJobSubmission_result result = new getCloudJobSubmission_result();
try {
@@ -15776,8 +15678,6 @@ public class RegistryService {
return false;
}
-
-
public updateSSHJobSubmissionDetails_result getResult(I iface, updateSSHJobSubmissionDetails_args args) throws org.apache.thrift.TException {
updateSSHJobSubmissionDetails_result result = new updateSSHJobSubmissionDetails_result();
try {
@@ -15803,8 +15703,6 @@ public class RegistryService {
return false;
}
-
-
public updateCloudJobSubmissionDetails_result getResult(I iface, updateCloudJobSubmissionDetails_args args) throws org.apache.thrift.TException {
updateCloudJobSubmissionDetails_result result = new updateCloudJobSubmissionDetails_result();
try {
@@ -15830,8 +15728,6 @@ public class RegistryService {
return false;
}
-
-
public updateUnicoreJobSubmissionDetails_result getResult(I iface, updateUnicoreJobSubmissionDetails_args args) throws org.apache.thrift.TException {
updateUnicoreJobSubmissionDetails_result result = new updateUnicoreJobSubmissionDetails_result();
try {
@@ -15857,8 +15753,6 @@ public class RegistryService {
return false;
}
-
-
public addLocalDataMovementDetails_result getResult(I iface, addLocalDataMovementDetails_args args) throws org.apache.thrift.TException {
addLocalDataMovementDetails_result result = new addLocalDataMovementDetails_result();
try {
@@ -15883,8 +15777,6 @@ public class RegistryService {
return false;
}
-
-
public updateLocalDataMovementDetails_result getResult(I iface, updateLocalDataMovementDetails_args args) throws org.apache.thrift.TException {
updateLocalDataMovementDetails_result result = new updateLocalDataMovementDetails_result();
try {
@@ -15910,8 +15802,6 @@ public class RegistryService {
return false;
}
-
-
public getLocalDataMovement_result getResult(I iface, getLocalDataMovement_args args) throws org.apache.thrift.TException {
getLocalDataMovement_result result = new getLocalDataMovement_result();
try {
@@ -15936,8 +15826,6 @@ public class RegistryService {
return false;
}
-
-
public addSCPDataMovementDetails_result getResult(I iface, addSCPDataMovementDetails_args args) throws org.apache.thrift.TException {
addSCPDataMovementDetails_result result = new addSCPDataMovementDetails_result();
try {
@@ -15962,8 +15850,6 @@ public class RegistryService {
return false;
}
-
-
public updateSCPDataMovementDetails_result getResult(I iface, updateSCPDataMovementDetails_args args) throws org.apache.thrift.TException {
updateSCPDataMovementDetails_result result = new updateSCPDataMovementDetails_result();
try {
@@ -15989,8 +15875,6 @@ public class RegistryService {
return false;
}
-
-
public getSCPDataMovement_result getResult(I iface, getSCPDataMovement_args args) throws org.apache.thrift.TException {
getSCPDataMovement_result result = new getSCPDataMovement_result();
try {
@@ -16015,8 +15899,6 @@ public class RegistryService {
return false;
}
-
-
public addUnicoreDataMovementDetails_result getResult(I iface, addUnicoreDataMovementDetails_args args) throws org.apache.thrift.TException {
addUnicoreDataMovementDetails_result result = new addUnicoreDataMovementDetails_result();
try {
@@ -16041,8 +15923,6 @@ public class RegistryService {
return false;
}
-
-
public updateUnicoreDataMovementDetails_result getResult(I iface, updateUnicoreDataMovementDetails_args args) throws org.apache.thrift.TException {
updateUnicoreDataMovementDetails_result result = new updateUnicoreDataMovementDetails_result();
try {
@@ -16068,8 +15948,6 @@ public class RegistryService {
return false;
}
-
-
public getUnicoreDataMovement_result getResult(I iface, getUnicoreDataMovement_args args) throws org.apache.thrift.TException {
getUnicoreDataMovement_result result = new getUnicoreDataMovement_result();
try {
@@ -16094,8 +15972,6 @@ public class RegistryService {
return false;
}
-
-
public addGridFTPDataMovementDetails_result getResult(I iface, addGridFTPDataMovementDetails_args args) throws org.apache.thrift.TException {
addGridFTPDataMovementDetails_result result = new addGridFTPDataMovementDetails_result();
try {
@@ -16120,8 +15996,6 @@ public class RegistryService {
return false;
}
-
-
public updateGridFTPDataMovementDetails_result getResult(I iface, updateGridFTPDataMovementDetails_args args) throws org.apache.thrift.TException {
updateGridFTPDataMovementDetails_result result = new updateGridFTPDataMovementDetails_result();
try {
@@ -16147,8 +16021,6 @@ public class RegistryService {
return false;
}
-
-
public getGridFTPDataMovement_result getResult(I iface, getGridFTPDataMovement_args args) throws org.apache.thrift.TException {
getGridFTPDataMovement_result result = new getGridFTPDataMovement_result();
try {
@@ -16173,8 +16045,6 @@ public class RegistryService {
return false;
}
-
-
public changeJobSubmissionPriority_result getResult(I iface, changeJobSubmissionPriority_args args) throws org.apache.thrift.TException {
changeJobSubmissionPriority_result result = new changeJobSubmissionPriority_result();
try {
@@ -16200,8 +16070,6 @@ public class RegistryService {
return false;
}
-
-
public changeDataMovementPriority_result getResult(I iface, changeDataMovementPriority_args args) throws org.apache.thrift.TException {
changeDataMovementPriority_result result = new changeDataMovementPriority_result();
try {
@@ -16227,8 +16095,6 @@ public class RegistryService {
return false;
}
-
-
public changeJobSubmissionPriorities_result getResult(I iface, changeJobSubmissionPriorities_args args) throws org.apache.thrift.TException {
changeJobSubmissionPriorities_result result = new changeJobSubmissionPriorities_result();
try {
@@ -16254,8 +16120,6 @@ public class RegistryService {
return false;
}
-
-
public changeDataMovementPriorities_result getResult(I iface, changeDataMovementPriorities_args args) throws org.apache.thrift.TException {
changeDataMovementPriorities_result result = new changeDataMovementPriorities_result();
try {
@@ -16281,8 +16145,6 @@ public class RegistryService {
return false;
}
-
-
public deleteJobSubmissionInterface_result getResult(I iface, deleteJobSubmissionInterface_args args) throws org.apache.thrift.TException {
deleteJobSubmissionInterface_result result = new deleteJobSubmissionInterface_result();
try {
@@ -16308,8 +16170,6 @@ public class RegistryService {
return false;
}
-
-
public deleteDataMovementInterface_result getResult(I iface, deleteDataMovementInterface_args args) throws org.apache.thrift.TException {
deleteDataMovementInterface_result result = new deleteDataMovementInterface_result();
try {
@@ -16335,8 +16195,6 @@ public class RegistryService {
return false;
}
-
-
public registerResourceJobManager_result getResult(I iface, registerResourceJobManager_args args) throws org.apache.thrift.TException {
registerResourceJobManager_result result = new registerResourceJobManager_result();
try {
@@ -16361,8 +16219,6 @@ public class RegistryService {
return false;
}
-
-
public updateResourceJobManager_result getResult(I iface, updateResourceJobManager_args args) throws org.apache.thrift.TException {
updateResourceJobManager_result result = new updateResourceJobManager_result();
try {
@@ -16388,8 +16244,6 @@ public class RegistryService {
return false;
}
-
-
public getResourceJobManager_result getResult(I iface, getResourceJobManager_args args) throws org.apache.thrift.TException {
getResourceJobManager_result result = new getResourceJobManager_result();
try {
@@ -16414,8 +16268,6 @@ public class RegistryService {
return false;
}
-
-
public deleteResourceJobManager_result getResult(I iface, deleteResourceJobManager_args args) throws org.apache.thrift.TException {
deleteResourceJobManager_result result = new deleteResourceJobManager_result();
try {
@@ -16441,8 +16293,6 @@ public class RegistryService {
return false;
}
-
-
public deleteBatchQueue_result getResult(I iface, deleteBatchQueue_args args) throws org.apache.thrift.TException {
deleteBatchQueue_result result = new deleteBatchQueue_result();
try {
@@ -16468,8 +16318,6 @@ public class RegistryService {
return false;
}
-
-
public registerGatewayResourceProfile_result getResult(I iface, registerGatewayResourceProfile_args args) throws org.apache.thrift.TException {
registerGatewayResourceProfile_result result = new registerGatewayResourceProfile_result();
try {
@@ -16494,8 +16342,6 @@ public class RegistryService {
return false;
}
-
-
public getGatewayResourceProfile_result getResult(I iface, getGatewayResourceProfile_args args) throws org.apache.thrift.TException {
getGatewayResourceProfile_result result = new getGatewayResourceProfile_result();
try {
@@ -16520,8 +16366,6 @@ public class RegistryService {
return false;
}
-
-
public updateGatewayResourceProfile_result getResult(I iface, updateGatewayResourceProfile_args args) throws org.apache.thrift.TException {
updateGatewayResourceProfile_result result = new updateGatewayResourceProfile_result();
try {
@@ -16547,8 +16391,6 @@ public class RegistryService {
return false;
}
-
-
public deleteGatewayResourceProfile_result getResult(I iface, deleteGatewayResourceProfile_args args) throws org.apache.thrift.TException {
deleteGatewayResourceProfile_result result = new deleteGatewayResourceProfile_result();
try {
@@ -16574,8 +16416,6 @@ public class RegistryService {
return false;
}
-
-
public addGatewayComputeResourcePreference_result getResult(I iface, addGatewayComputeResourcePreference_args args) throws org.apache.thrift.TException {
addGatewayComputeResourcePreference_result result = new addGatewayComputeResourcePreference_result();
try {
@@ -16601,8 +16441,6 @@ public class RegistryService {
return false;
}
-
-
public addGatewayStoragePreference_result getResult(I iface, addGatewayStoragePreference_args args) throws org.apache.thrift.TException {
addGatewayStoragePreference_result result = new addGatewayStoragePreference_result();
try {
@@ -16628,8 +16466,6 @@ public class RegistryService {
return false;
}
-
-
public getGatewayComputeResourcePreference_result getResult(I iface, getGatewayComputeResourcePreference_args args) throws org.apache.thrift.TException {
getGatewayComputeResourcePreference_result result = new getGatewayComputeResourcePreference_result();
try {
@@ -16654,8 +16490,6 @@ public class RegistryService {
return false;
}
-
-
public getGatewayStoragePreference_result getResult(I iface, getGatewayStoragePreference_args args) throws org.apache.thrift.TException {
getGatewayStoragePreference_result result = new getGatewayStoragePreference_result();
try {
@@ -16680,8 +16514,6 @@ public class RegistryService {
return false;
}
-
-
public getAllGatewayComputeResourcePreferences_result getResult(I iface, getAllGatewayComputeResourcePreferences_args args) throws org.apache.thrift.TException {
getAllGatewayComputeResourcePreferences_result result = new getAllGatewayComputeResourcePreferences_result();
try {
@@ -16706,8 +16538,6 @@ public class RegistryService {
return false;
}
-
-
public getAllGatewayStoragePreferences_result getResult(I iface, getAllGatewayStoragePreferences_args args) throws org.apache.thrift.TException {
getAllGatewayStoragePreferences_result result = new getAllGatewayStoragePreferences_result();
try {
@@ -16732,8 +16562,6 @@ public class RegistryService {
return false;
}
-
-
public getAllGatewayResourceProfiles_result getResult(I iface, getAllGatewayResourceProfiles_args args) throws org.apache.thrift.TException {
getAllGatewayResourceProfiles_result result = new getAllGatewayResourceProfiles_result();
try {
@@ -16758,8 +16586,6 @@ public class RegistryService {
return false;
}
-
-
public updateGatewayComputeResourcePreference_result getResult(I iface, updateGatewayComputeResourcePreference_args args) throws org.apache.thrift.TException {
updateGatewayComputeResourcePreference_result result = new updateGatewayComputeResourcePreference_result();
try {
@@ -16785,8 +16611,6 @@ public class RegistryService {
return false;
}
-
-
public updateGatewayStoragePreference_result getResult(I iface, updateGatewayStoragePreference_args args) throws org.apache.thrift.TException {
updateGatewayStoragePreference_result result = new updateGatewayStoragePreference_result();
try {
@@ -16812,8 +16636,6 @@ public class RegistryService {
return false;
}
-
-
public deleteGatewayComputeResourcePreference_result getResult(I iface, deleteGatewayComputeResourcePreference_args args) throws org.apache.thrift.TException {
deleteGatewayComputeResourcePreference_result result = new deleteGatewayComputeResourcePreference_result();
try {
@@ -16839,8 +16661,6 @@ public class RegistryService {
return false;
}
-
-
public deleteGatewayStoragePreference_result getResult(I iface, deleteGatewayStoragePreference_args args) throws org.apache.thrift.TException {
deleteGatewayStoragePreference_result result = new deleteGatewayStoragePreference_result();
try {
@@ -16866,8 +16686,6 @@ public class RegistryService {
return false;
}
-
-
public registerUserResourceProfile_result getResult(I iface, registerUserResourceProfile_args args) throws org.apache.thrift.TException {
registerUserResourceProfile_result result = new registerUserResourceProfile_result();
try {
@@ -16892,8 +16710,6 @@ public class RegistryService {
return false;
}
-
-
public getUserResourceProfile_result getResult(I iface, getUserResourceProfile_args args) throws org.apache.thrift.TException {
getUserResourceProfile_result result = new getUserResourceProfile_result();
try {
@@ -16918,8 +16734,6 @@ public class RegistryService {
return false;
}
-
-
public updateUserResourceProfile_result getResult(I iface, updateUserResourceProfile_args args) throws org.apache.thrift.TException {
updateUserResourceProfile_result result = new updateUserResourceProfile_result();
try {
@@ -16945,8 +16759,6 @@ public class RegistryService {
return false;
}
-
-
public deleteUserResourceProfile_result getResult(I iface, deleteUserResourceProfile_args args) throws org.apache.thrift.TException {
deleteUserResourceProfile_result result = new deleteUserResourceProfile_result();
try {
@@ -16972,8 +16784,6 @@ public class RegistryService {
return false;
}
-
-
public addUser_result getResult(I iface, addUser_args args) throws org.apache.thrift.TException {
addUser_result result = new addUser_result();
try {
@@ -17000,8 +16810,6 @@ public class RegistryService {
return false;
}
-
-
public addUserComputeResourcePreference_result getResult(I iface, addUserComputeResourcePreference_args args) throws org.apache.thrift.TException {
addUserComputeResourcePreference_result result = new addUserComputeResourcePreference_result();
try {
@@ -17027,8 +16835,6 @@ public class RegistryService {
return false;
}
-
-
public addUserStoragePreference_result getResult(I iface, addUserStoragePreference_args args) throws org.apache.thrift.TException {
addUserStoragePreference_result result = new addUserStoragePreference_result();
try {
@@ -17054,8 +16860,6 @@ public class RegistryService {
return false;
}
-
-
public getUserComputeResourcePreference_result getResult(I iface, getUserComputeResourcePreference_args args) throws org.apache.thrift.TException {
getUserComputeResourcePreference_result result = new getUserComputeResourcePreference_result();
try {
@@ -17080,8 +16884,6 @@ public class RegistryService {
return false;
}
-
-
public getUserStoragePreference_result getResult(I iface, getUserStoragePreference_args args) throws org.apache.thrift.TException {
getUserStoragePreference_result result = new getUserStoragePreference_result();
try {
@@ -17106,8 +16908,6 @@ public class RegistryService {
return false;
}
-
-
public getAllUserComputeResourcePreferences_result getResult(I iface, getAllUserComputeResourcePreferences_args args) throws org.apache.thrift.TException {
getAllUserComputeResourcePreferences_result result = new getAllUserComputeResourcePreferences_result();
try {
@@ -17132,8 +16932,6 @@ public class RegistryService {
return false;
}
-
-
public getAllUserStoragePreferences_result getResult(I iface, getAllUserStoragePreferences_args args) throws org.apache.thrift.TException {
getAllUserStoragePreferences_result result = new getAllUserStoragePreferences_result();
try {
@@ -17158,8 +16956,6 @@ public class RegistryService {
return false;
}
-
-
public getAllUserResourceProfiles_result getResult(I iface, getAllUserResourceProfiles_args args) throws org.apache.thrift.TException {
getAllUserResourceProfiles_result result = new getAllUserResourceProfiles_result();
try {
@@ -17184,8 +16980,6 @@ public class RegistryService {
return false;
}
-
-
public updateUserComputeResourcePreference_result getResult(I iface, updateUserComputeResourcePreference_args args) throws org.apache.thrift.TException {
updateUserComputeResourcePreference_result result = new updateUserComputeResourcePreference_result();
try {
@@ -17211,8 +17005,6 @@ public class RegistryService {
return false;
}
-
-
public updateUserStoragePreference_result getResult(I iface, updateUserStoragePreference_args args) throws org.apache.thrift.TException {
updateUserStoragePreference_result result = new updateUserStoragePreference_result();
try {
@@ -17238,8 +17030,6 @@ public class RegistryService {
return false;
}
-
-
public deleteUserComputeResourcePreference_result getResult(I iface, deleteUserComputeResourcePreference_args args) throws org.apache.thrift.TException {
deleteUserComputeResourcePreference_result result = new deleteUserComputeResourcePreference_result();
try {
@@ -17265,8 +17055,6 @@ public class RegistryService {
return false;
}
-
-
public deleteUserStoragePreference_result getResult(I iface, deleteUserStoragePreference_args args) throws org.apache.thrift.TException {
deleteUserStoragePreference_result result = new deleteUserStoragePreference_result();
try {
@@ -17292,8 +17080,6 @@ public class RegistryService {
return false;
}
-
-
public getLatestQueueStatuses_result getResult(I iface, getLatestQueueStatuses_args args) throws org.apache.thrift.TException {
getLatestQueueStatuses_result result = new getLatestQueueStatuses_result();
try {
@@ -17318,8 +17104,6 @@ public class RegistryService {
return false;
}
-
-
public registerQueueStatuses_result getResult(I iface, registerQueueStatuses_args args) throws org.apache.thrift.TException {
registerQueueStatuses_result result = new registerQueueStatuses_result();
try {
@@ -17344,8 +17128,6 @@ public class RegistryService {
return false;
}
-
-
public getAllWorkflows_result getResult(I iface, getAllWorkflows_args args) throws org.apache.thrift.TException {
getAllWorkflows_result result = new getAllWorkflows_result();
try {
@@ -17370,8 +17152,6 @@ public class RegistryService {
return false;
}
-
-
public getWorkflow_result getResult(I iface, getWorkflow_args args) throws org.apache.thrift.TException {
getWorkflow_result result = new getWorkflow_result();
try {
@@ -17396,8 +17176,6 @@ public class RegistryService {
return false;
}
-
-
public deleteWorkflow_result getResult(I iface, deleteWorkflow_args args) throws org.apache.thrift.TException {
deleteWorkflow_result result = new deleteWorkflow_result();
try {
@@ -17422,8 +17200,6 @@ public class RegistryService {
return false;
}
-
-
public registerWorkflow_result getResult(I iface, registerWorkflow_args args) throws org.apache.thrift.TException {
registerWorkflow_result result = new registerWorkflow_result();
try {
@@ -17448,8 +17224,6 @@ public class RegistryService {
return false;
}
-
-
public updateWorkflow_result getResult(I iface, updateWorkflow_args args) throws org.apache.thrift.TException {
updateWorkflow_result result = new updateWorkflow_result();
try {
@@ -17474,8 +17248,6 @@ public class RegistryService {
return false;
}
-
-
public getWorkflowTemplateId_result getResult(I iface, getWorkflowTemplateId_args args) throws org.apache.thrift.TException {
getWorkflowTemplateId_result result = new getWorkflowTemplateId_result();
try {
@@ -17500,8 +17272,6 @@ public class RegistryService {
return false;
}
-
-
public isWorkflowExistWithName_result getResult(I iface, isWorkflowExistWithName_args args) throws org.apache.thrift.TException {
isWorkflowExistWithName_result result = new isWorkflowExistWithName_result();
try {
@@ -17527,8 +17297,6 @@ public class RegistryService {
return false;
}
-
-
public registerDataProduct_result getResult(I iface, registerDataProduct_args args) throws org.apache.thrift.TException {
registerDataProduct_result result = new registerDataProduct_result();
try {
@@ -17553,8 +17321,6 @@ public class RegistryService {
return false;
}
-
-
public getDataProduct_result getResult(I iface, getDataProduct_args args) throws org.apache.thrift.TException {
getDataProduct_result result = new getDataProduct_result();
try {
@@ -17579,8 +17345,6 @@ public class RegistryService {
return false;
}
-
-
public registerReplicaLocation_result getResult(I iface, registerReplicaLocation_args args) throws org.apache.thrift.TException {
registerReplicaLocation_result result = new registerReplicaLocation_result();
try {
@@ -17605,8 +17369,6 @@ public class RegistryService {
return false;
}
-
-
public getParentDataProduct_result getResult(I iface, getParentDataProduct_args args) throws org.apache.thrift.TException {
getParentDataProduct_result result = new getParentDataProduct_result();
try {
@@ -17631,8 +17393,6 @@ public class RegistryService {
return false;
}
-
-
public getChildDataProducts_result getResult(I iface, getChildDataProducts_args args) throws org.apache.thrift.TException {
getChildDataProducts_result result = new getChildDataProducts_result();
try {
@@ -17657,8 +17417,6 @@ public class RegistryService {
return false;
}
-
-
public searchDataProductsByName_result getResult(I iface, searchDataProductsByName_args args) throws org.apache.thrift.TException {
searchDataProductsByName_result result = new searchDataProductsByName_result();
try {
@@ -17733,6 +17491,7 @@ public class RegistryService {
processMap.put("getProcess", new getProcess());
processMap.put("getProcessList", new getProcessList());
processMap.put("getProcessStatus", new getProcessStatus());
+ processMap.put("isJobExist", new isJobExist());
processMap.put("getJob", new getJob());
processMap.put("getProcessOutputs", new getProcessOutputs());
processMap.put("getProcessIds", new getProcessIds());
@@ -21146,151 +20905,22 @@ public class RegistryService {
}
}
- public static class getJob<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getJob_args, org.apache.airavata.model.job.JobModel> {
- public getJob() {
- super("getJob");
- }
-
- public getJob_args getEmptyArgsInstance() {
- return new getJob_args();
- }
-
- public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.job.JobModel> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
- final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.job.JobModel>() {
- public void onComplete(org.apache.airavata.model.job.JobModel o) {
- getJob_result result = new getJob_result();
- result.success = o;
- try {
- fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
- } catch (org.apache.thrift.transport.TTransportException e) {
- _LOGGER.error("TTransportException writing to internal frame buffer", e);
- fb.close();
- } catch (java.lang.Exception e) {
- _LOGGER.error("Exception writing to internal frame buffer", e);
- onError(e);
- }
- }
- public void onError(java.lang.Exception e) {
- byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
- org.apache.thrift.TSerializable msg;
- getJob_result result = new getJob_result();
- if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
- result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
- result.setRseIsSet(true);
- msg = result;
- } else if (e instanceof org.apache.thrift.transport.TTransportException) {
- _LOGGER.error("TTransportException inside handler", e);
- fb.close();
- return;
- } else if (e instanceof org.apache.thrift.TApplicationException) {
- _LOGGER.error("TApplicationException inside handler", e);
- msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
- msg = (org.apache.thrift.TApplicationException)e;
- } else {
- _LOGGER.error("Exception inside handler", e);
- msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
- msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage());
- }
- try {
- fcall.sendResponse(fb,msg,msgType,seqid);
- } catch (java.lang.Exception ex) {
- _LOGGER.error("Exception writing to internal frame buffer", ex);
- fb.close();
- }
- }
- };
- }
-
- protected boolean isOneway() {
- return false;
- }
-
- public void start(I iface, getJob_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.job.JobModel> resultHandler) throws org.apache.thrift.TException {
- iface.getJob(args.queryType, args.id,resultHandler);
- }
- }
-
- public static class getProcessOutputs<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getProcessOutputs_args, java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType>> {
- public getProcessOutputs() {
- super("getProcessOutputs");
+ public static class isJobExist<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, isJobExist_args, java.lang.Boolean> {
+ public isJobExist() {
+ super("isJobExist");
}
- public getProcessOutputs_args getEmptyArgsInstance() {
- return new getProcessOutputs_args();
+ public isJobExist_args getEmptyArgsInstance() {
+ return new isJobExist_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType>> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
- final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType>>() {
- public void onComplete(java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> o) {
- getProcessOutputs_result result = new getProcessOutputs_result();
- result.success = o;
- try {
- fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
- } catch (org.apache.thrift.transport.TTransportException e) {
- _LOGGER.error("TTransportException writing to internal frame buffer", e);
- fb.close();
- } catch (java.lang.Exception e) {
- _LOGGER.error("Exception writing to internal frame buffer", e);
- onError(e);
- }
- }
- public void onError(java.lang.Exception e) {
- byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
- org.apache.thrift.TSerializable msg;
- getProcessOutputs_result result = new getProcessOutputs_result();
- if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
- result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
- result.setRseIsSet(true);
- msg = result;
- } else if (e instanceof org.apache.thrift.transport.TTransportException) {
- _LOGGER.error("TTransportException inside handler", e);
- fb.close();
- return;
- } else if (e instanceof org.apache.thrift.TApplicationException) {
- _LOGGER.error("TApplicationException inside handler", e);
- msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
- msg = (org.apache.thrift.TApplicationException)e;
- } else {
- _LOGGER.error("Exception inside handler", e);
- msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
- msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage());
- }
- try {
- fcall.sendResponse(fb,msg,msgType,seqid);
- } catch (java.lang.Exception ex) {
- _LOGGER.error("Exception writing to internal frame buffer", ex);
- fb.close();
- }
- }
- };
- }
-
- protected boolean isOneway() {
- return false;
- }
-
- public void start(I iface, getProcessOutputs_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType>> resultHandler) throws org.apache.thrift.TException {
- iface.getProcessOutputs(args.processId,resultHandler);
- }
- }
-
- public static class getProcessIds<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getProcessIds_args, java.util.List<java.lang.String>> {
- public getProcessIds() {
- super("getProcessIds");
- }
-
- public getProcessIds_args getEmptyArgsInstance() {
- return new getProcessIds_args();
- }
-
- public org.apache.thrift.async.AsyncMethodCallback<java.util.List<java.lang.String>> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ public org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new org.apache.thrift.async.AsyncMethodCallback<java.util.List<java.lang.String>>() {
- public void onComplete(java.util.List<java.lang.String> o) {
- getProcessIds_result result = new getProcessIds_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean>() {
+ public void onComplete(java.lang.Boolean o) {
+ isJobExist_result result = new isJobExist_result();
result.success = o;
+ result.setSuccessIsSet(true);
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
} catch (org.apache.thrift.transport.TTransportException e) {
@@ -21304,7 +20934,7 @@ public class RegistryService {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- getProcessIds_result result = new getProcessIds_result();
+ isJobExist_result result = new isJobExist_result();
if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
result.setRseIsSet(true);
@@ -21336,25 +20966,25 @@ public class RegistryService {
return false;
}
- public void start(I iface, getProcessIds_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<java.lang.String>> resultHandler) throws org.apache.thrift.TException {
- iface.getProcessIds(args.experimentId,resultHandler);
+ public void start(I iface, isJobExist_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
+ iface.isJobExist(args.queryType, args.id,resultHandler);
}
}
- public static class getJobDetails<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getJobDetails_args, java.util.List<org.apache.airavata.model.job.JobModel>> {
- public getJobDetails() {
- super("getJobDetails");
+ public static class getJob<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getJob_args, org.apache.airavata.model.job.JobModel> {
+ public getJob() {
+ super("getJob");
}
- public getJobDetails_args getEmptyArgsInstance() {
- return new getJobDetails_args();
+ public getJob_args getEmptyArgsInstance() {
+ return new getJob_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.job.JobModel>> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.job.JobModel> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.job.JobModel>>() {
- public void onComplete(java.util.List<org.apache.airavata.model.job.JobModel> o) {
- getJobDetails_result result = new getJobDetails_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.job.JobModel>() {
+ public void onComplete(org.apache.airavata.model.job.JobModel o) {
+ getJob_result result = new getJob_result();
result.success = o;
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -21369,15 +20999,11 @@ public class RegistryService {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- getJobDetails_result result = new getJobDetails_result();
+ getJob_result result = new getJob_result();
if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
result.setRseIsSet(true);
msg = result;
- } else if (e instanceof org.apache.airavata.model.error.ExperimentNotFoundException) {
- result.enf = (org.apache.airavata.model.error.ExperimentNotFoundException) e;
- result.setEnfIsSet(true);
- msg = result;
} else if (e instanceof org.apache.thrift.transport.TTransportException) {
_LOGGER.error("TTransportException inside handler", e);
fb.close();
@@ -21405,25 +21031,25 @@ public class RegistryService {
return false;
}
- public void start(I iface, getJobDetails_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.job.JobModel>> resultHandler) throws org.apache.thrift.TException {
- iface.getJobDetails(args.airavataExperimentId,resultHandler);
+ public void start(I iface, getJob_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.job.JobModel> resultHandler) throws org.apache.thrift.TException {
+ iface.getJob(args.queryType, args.id,resultHandler);
}
}
- public static class registerApplicationModule<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, registerApplicationModule_args, java.lang.String> {
- public registerApplicationModule() {
- super("registerApplicationModule");
+ public static class getProcessOutputs<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getProcessOutputs_args, java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType>> {
+ public getProcessOutputs() {
+ super("getProcessOutputs");
}
- public registerApplicationModule_args getEmptyArgsInstance() {
- return new registerApplicationModule_args();
+ public getProcessOutputs_args getEmptyArgsInstance() {
+ return new getProcessOutputs_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<java.lang.String> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ public org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType>> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new org.apache.thrift.async.AsyncMethodCallback<java.lang.String>() {
- public void onComplete(java.lang.String o) {
- registerApplicationModule_result result = new registerApplicationModule_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType>>() {
+ public void onComplete(java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> o) {
+ getProcessOutputs_result result = new getProcessOutputs_result();
result.success = o;
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -21438,7 +21064,7 @@ public class RegistryService {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- registerApplicationModule_result result = new registerApplicationModule_result();
+ getProcessOutputs_result result = new getProcessOutputs_result();
if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
result.setRseIsSet(true);
@@ -21470,25 +21096,25 @@ public class RegistryService {
return false;
}
- public void start(I iface, registerApplicationModule_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.String> resultHandler) throws org.apache.thrift.TException {
- iface.registerApplicationModule(args.gatewayId, args.applicationModule,resultHandler);
+ public void start(I iface, getProcessOutputs_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType>> resultHandler) throws org.apache.thrift.TException {
+ iface.getProcessOutputs(args.processId,resultHandler);
}
}
- public static class getApplicationModule<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getApplicationModule_args, org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> {
- public getApplicationModule() {
- super("getApplicationModule");
+ public static class getProcessIds<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getProcessIds_args, java.util.List<java.lang.String>> {
+ public getProcessIds() {
+ super("getProcessIds");
}
- public getApplicationModule_args getEmptyArgsInstance() {
- return new getApplicationModule_args();
+ public getProcessIds_args getEmptyArgsInstance() {
+ return new getProcessIds_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ public org.apache.thrift.async.AsyncMethodCallback<java.util.List<java.lang.String>> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>() {
- public void onComplete(org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule o) {
- getApplicationModule_result result = new getApplicationModule_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<java.util.List<java.lang.String>>() {
+ public void onComplete(java.util.List<java.lang.String> o) {
+ getProcessIds_result result = new getProcessIds_result();
result.success = o;
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -21503,7 +21129,7 @@ public class RegistryService {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- getApplicationModule_result result = new getApplicationModule_result();
+ getProcessIds_result result = new getProcessIds_result();
if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
result.setRseIsSet(true);
@@ -21535,27 +21161,26 @@ public class RegistryService {
return false;
}
- public void start(I iface, getApplicationModule_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> resultHandler) throws org.apache.thrift.TException {
- iface.getApplicationModule(args.appModuleId,resultHandler);
+ public void start(I iface, getProcessIds_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<java.lang.String>> resultHandler) throws org.apache.thrift.TException {
+ iface.getProcessIds(args.experimentId,resultHandler);
}
}
- public static class updateApplicationModule<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, updateApplicationModule_args, java.lang.Boolean> {
- public updateApplicationModule() {
- super("updateApplicationModule");
+ public static class getJobDetails<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getJobDetails_args, java.util.List<org.apache.airavata.model.job.JobModel>> {
+ public getJobDetails() {
+ super("getJobDetails");
}
- public updateApplicationModule_args getEmptyArgsInstance() {
- return new updateApplicationModule_args();
+ public getJobDetails_args getEmptyArgsInstance() {
+ return new getJobDetails_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ public org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.job.JobModel>> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean>() {
- public void onComplete(java.lang.Boolean o) {
- updateApplicationModule_result result = new updateApplicationModule_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.job.JobModel>>() {
+ public void onComplete(java.util.List<org.apache.airavata.model.job.JobModel> o) {
+ getJobDetails_result result = new getJobDetails_result();
result.success = o;
- result.setSuccessIsSet(true);
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
} catch (org.apache.thrift.transport.TTransportException e) {
@@ -21569,75 +21194,14 @@ public class RegistryService {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- updateApplicationModule_result result = new updateApplicationModule_result();
+ getJobDetails_result result = new getJobDetails_result();
if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
result.setRseIsSet(true);
msg = result;
- } else if (e instanceof org.apache.thrift.transport.TTransportException) {
- _LOGGER.error("TTransportException inside handler", e);
- fb.close();
- return;
- } else if (e instanceof org.apache.thrift.TApplicationException) {
- _LOGGER.error("TApplicationException inside handler", e);
- msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
- msg = (org.apache.thrift.TApplicationException)e;
- } else {
- _LOGGER.error("Exception inside handler", e);
- msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
- msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage());
- }
- try {
- fcall.sendResponse(fb,msg,msgType,seqid);
- } catch (java.lang.Exception ex) {
- _LOGGER.error("Exception writing to internal frame buffer", ex);
- fb.close();
- }
- }
- };
- }
-
- protected boolean isOneway() {
- return false;
- }
-
- public void start(I iface, updateApplicationModule_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
- iface.updateApplicationModule(args.appModuleId, args.applicationModule,resultHandler);
- }
- }
-
- public static class getAllAppModules<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getAllAppModules_args, java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> {
- public getAllAppModules() {
- super("getAllAppModules");
- }
-
- public getAllAppModules_args getEmptyArgsInstance() {
- return new getAllAppModules_args();
- }
-
- public org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
- final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>>() {
- public void onComplete(java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> o) {
- getAllAppModules_result result = new getAllAppModules_result();
- result.success = o;
- try {
- fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
- } catch (org.apache.thrift.transport.TTransportException e) {
- _LOGGER.error("TTransportException writing to internal frame buffer", e);
- fb.close();
- } catch (java.lang.Exception e) {
- _LOGGER.error("Exception writing to internal frame buffer", e);
- onError(e);
- }
- }
- public void onError(java.lang.Exception e) {
- byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
- org.apache.thrift.TSerializable msg;
- getAllAppModules_result result = new getAllAppModules_result();
- if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
- result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
- result.setRseIsSet(true);
+ } else if (e instanceof org.apache.airavata.model.error.ExperimentNotFoundException) {
+ result.enf = (org.apache.airavata.model.error.ExperimentNotFoundException) e;
+ result.setEnfIsSet(true);
msg = result;
} else if (e instanceof org.apache.thrift.transport.TTransportException) {
_LOGGER.error("TTransportException inside handler", e);
@@ -21666,27 +21230,26 @@ public class RegistryService {
return false;
}
- public void start(I iface, getAllAppModules_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> resultHandler) throws org.apache.thrift.TException {
- iface.getAllAppModules(args.gatewayId,resultHandler);
+ public void start(I iface, getJobDetails_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.job.JobModel>> resultHandler) throws org.apache.thrift.TException {
+ iface.getJobDetails(args.airavataExperimentId,resultHandler);
}
}
- public static class deleteApplicationModule<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, deleteApplicationModule_args, java.lang.Boolean> {
- public deleteApplicationModule() {
- super("deleteApplicationModule");
+ public static class registerApplicationModule<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, registerApplicationModule_args, java.lang.String> {
+ public registerApplicationModule() {
+ super("registerApplicationModule");
}
- public deleteApplicationModule_args getEmptyArgsInstance() {
- return new deleteApplicationModule_args();
+ public registerApplicationModule_args getEmptyArgsInstance() {
+ return new registerApplicationModule_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ public org.apache.thrift.async.AsyncMethodCallback<java.lang.String> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean>() {
- public void onComplete(java.lang.Boolean o) {
- deleteApplicationModule_result result = new deleteApplicationModule_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<java.lang.String>() {
+ public void onComplete(java.lang.String o) {
+ registerApplicationModule_result result = new registerApplicationModule_result();
result.success = o;
- result.setSuccessIsSet(true);
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
} catch (org.apache.thrift.transport.TTransportException e) {
@@ -21700,7 +21263,7 @@ public class RegistryService {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- deleteApplicationModule_result result = new deleteApplicationModule_result();
+ registerApplicationModule_result result = new registerApplicationModule_result();
if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
result.setRseIsSet(true);
@@ -21732,25 +21295,25 @@ public class RegistryService {
return false;
}
- public void start(I iface, deleteApplicationModule_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
- iface.deleteApplicationModule(args.appModuleId,resultHandler);
+ public void start(I iface, registerApplicationModule_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.String> resultHandler) throws org.apache.thrift.TException {
+ iface.registerApplicationModule(args.gatewayId, args.applicationModule,resultHandler);
}
}
- public static class registerApplicationDeployment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, registerApplicationDeployment_args, java.lang.String> {
- public registerApplicationDeployment() {
- super("registerApplicationDeployment");
+ public static class getApplicationModule<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getApplicationModule_args, org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> {
+ public getApplicationModule() {
+ super("getApplicationModule");
}
- public registerApplicationDeployment_args getEmptyArgsInstance() {
- return new registerApplicationDeployment_args();
+ public getApplicationModule_args getEmptyArgsInstance() {
+ return new getApplicationModule_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<java.lang.String> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new org.apache.thrift.async.AsyncMethodCallback<java.lang.String>() {
- public void onComplete(java.lang.String o) {
- registerApplicationDeployment_result result = new registerApplicationDeployment_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>() {
+ public void onComplete(org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule o) {
+ getApplicationModule_result result = new getApplicationModule_result();
result.success = o;
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -21765,7 +21328,7 @@ public class RegistryService {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- registerApplicationDeployment_result result = new registerApplicationDeployment_result();
+ getApplicationModule_result result = new getApplicationModule_result();
if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
result.setRseIsSet(true);
@@ -21797,26 +21360,27 @@ public class RegistryService {
return false;
}
- public void start(I iface, registerApplicationDeployment_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.String> resultHandler) throws org.apache.thrift.TException {
- iface.registerApplicationDeployment(args.gatewayId, args.applicationDeployment,resultHandler);
+ public void start(I iface, getApplicationModule_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> resultHandler) throws org.apache.thrift.TException {
+ iface.getApplicationModule(args.appModuleId,resultHandler);
}
}
- public static class getApplicationDeployment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getApplicationDeployment_args, org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> {
- public getApplicationDeployment() {
- super("getApplicationDeployment");
+ public static class updateApplicationModule<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, updateApplicationModule_args, java.lang.Boolean> {
+ public updateApplicationModule() {
+ super("updateApplicationModule");
}
- public getApplicationDeployment_args getEmptyArgsInstance() {
- return new getApplicationDeployment_args();
+ public updateApplicationModule_args getEmptyArgsInstance() {
+ return new updateApplicationModule_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ public org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>() {
- public void onComplete(org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription o) {
- getApplicationDeployment_result result = new getApplicationDeployment_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean>() {
+ public void onComplete(java.lang.Boolean o) {
+ updateApplicationModule_result result = new updateApplicationModule_result();
result.success = o;
+ result.setSuccessIsSet(true);
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
} catch (org.apache.thrift.transport.TTransportException e) {
@@ -21830,7 +21394,7 @@ public class RegistryService {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- getApplicationDeployment_result result = new getApplicationDeployment_result();
+ updateApplicationModule_result result = new updateApplicationModule_result();
if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
result.setRseIsSet(true);
@@ -21862,27 +21426,26 @@ public class RegistryService {
return false;
}
- public void start(I iface, getApplicationDeployment_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> resultHandler) throws org.apache.thrift.TException {
- iface.getApplicationDeployment(args.appDeploymentId,resultHandler);
+ public void start(I iface, updateApplicationModule_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
+ iface.updateApplicationModule(args.appModuleId, args.applicationModule,resultHandler);
}
}
- public static class updateApplicationDeployment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, updateApplicationDeployment_args, java.lang.Boolean> {
- public updateApplicationDeployment() {
- super("updateApplicationDeployment");
+ public static class getAllAppModules<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getAllAppModules_args, java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> {
+ public getAllAppModules() {
+ super("getAllAppModules");
}
- public updateApplicationDeployment_args getEmptyArgsInstance() {
- return new updateApplicationDeployment_args();
+ public getAllAppModules_args getEmptyArgsInstance() {
+ return new getAllAppModules_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ public org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
- return new org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean>() {
- public void onComplete(java.lang.Boolean o) {
- updateApplicationDeployment_result result = new updateApplicationDeployment_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>>() {
+ public void onComplete(java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> o) {
+ getAllAppModules_result result = new getAllAppModules_result();
result.success = o;
- result.setSuccessIsSet(true);
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
} catch (org.apache.thrift.transport.TTransportException e) {
@@ -21896,7 +21459,7 @@ public class RegistryService {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- updateApplicationDeployment_result result = new updateApplicationDeployment_result();
+ getAllAppModules_result result = new getAllAppModules_result();
if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
result.setRseIsSet(true);
@@ -21928,25 +21491,25 @@ public class RegistryService {
return false;
}
- public void start(I iface, updateApplicationDeployment_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
- iface.updateApplicationDeployment(args.appDeploymentId, args.applicationDeployment,resultHandler);
+ public void start(I iface, getAllAppModules_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> resultHandler) throws org.apache.thrift.TException {
+ iface.getAllAppModules(args.gatewayId,resultHandler);
}
}
- public static class deleteApplicationDeployment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, deleteApplicationDeployment_args, java.lang.Boolean> {
- public deleteApplicationDeployment() {
- super("deleteApplicationDeployment");
+ public static class deleteApplicationModule<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, deleteApplicationModule_args, java.lang.Boolean> {
+ public deleteApplicationModule() {
+ super("deleteApplicationModule");
}
- public deleteApplicationDeployment_args getEmptyArgsInstance() {
- return new deleteApplicationDeployment_args();
+ public deleteApplicationModule_args getEmptyArgsInstance() {
+ return new deleteApplicationModule_args();
}
public org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
return new org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean>() {
public void onComplete(java.lang.Boolean o) {
- deleteApplicationDeployment_result result = new deleteApplicationDeployment_result();
+ deleteApplicationModule_result result = new deleteApplicationModule_result();
result.success = o;
result.setSuccessIsSet(true);
try {
@@ -21962,7 +21525,269 @@ public class RegistryService {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- deleteApplicationDeployment_result result = new deleteApplicationDeployment_result();
+ deleteApplicationModule_result result = new deleteApplicationModule_result();
+ if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
+ result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
+ result.setRseIsSet(true);
+ msg = result;
+ } else if (e instanceof org.apache.thrift.transport.TTransportException) {
+ _LOGGER.error("TTransportException inside handler", e);
+ fb.close();
+ return;
+ } else if (e instanceof org.apache.thrift.TApplicationException) {
+ _LOGGER.error("TApplicationException inside handler", e);
+ msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
+ msg = (org.apache.thrift.TApplicationException)e;
+ } else {
+ _LOGGER.error("Exception inside handler", e);
+ msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
+ msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage());
+ }
+ try {
+ fcall.sendResponse(fb,msg,msgType,seqid);
+ } catch (java.lang.Exception ex) {
+ _LOGGER.error("Exception writing to internal frame buffer", ex);
+ fb.close();
+ }
+ }
+ };
+ }
+
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public void start(I iface, deleteApplicationModule_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
+ iface.deleteApplicationModule(args.appModuleId,resultHandler);
+ }
+ }
+
+ public static class registerApplicationDeployment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, registerApplicationDeployment_args, java.lang.String> {
+ public registerApplicationDeployment() {
+ super("registerApplicationDeployment");
+ }
+
+ public registerApplicationDeployment_args getEmptyArgsInstance() {
+ return new registerApplicationDeployment_args();
+ }
+
+ public org.apache.thrift.async.AsyncMethodCallback<java.lang.String> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ final org.apache.thrift.AsyncProcessFunction fcall = this;
+ return new org.apache.thrift.async.AsyncMethodCallback<java.lang.String>() {
+ public void onComplete(java.lang.String o) {
+ registerApplicationDeployment_result result = new registerApplicationDeployment_result();
+ result.success = o;
+ try {
+ fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
+ } catch (org.apache.thrift.transport.TTransportException e) {
+ _LOGGER.error("TTransportException writing to internal frame buffer", e);
+ fb.close();
+ } catch (java.lang.Exception e) {
+ _LOGGER.error("Exception writing to internal frame buffer", e);
+ onError(e);
+ }
+ }
+ public void onError(java.lang.Exception e) {
+ byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
+ org.apache.thrift.TSerializable msg;
+ registerApplicationDeployment_result result = new registerApplicationDeployment_result();
+ if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
+ result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
+ result.setRseIsSet(true);
+ msg = result;
+ } else if (e instanceof org.apache.thrift.transport.TTransportException) {
+ _LOGGER.error("TTransportException inside handler", e);
+ fb.close();
+ return;
+ } else if (e instanceof org.apache.thrift.TApplicationException) {
+ _LOGGER.error("TApplicationException inside handler", e);
+ msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
+ msg = (org.apache.thrift.TApplicationException)e;
+ } else {
+ _LOGGER.error("Exception inside handler", e);
+ msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
+ msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage());
+ }
+ try {
+ fcall.sendResponse(fb,msg,msgType,seqid);
+ } catch (java.lang.Exception ex) {
+ _LOGGER.error("Exception writing to internal frame buffer", ex);
+ fb.close();
+ }
+ }
+ };
+ }
+
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public void start(I iface, registerApplicationDeployment_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.String> resultHandler) throws org.apache.thrift.TException {
+ iface.registerApplicationDeployment(args.gatewayId, args.applicationDeployment,resultHandler);
+ }
+ }
+
+ public static class getApplicationDeployment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getApplicationDeployment_args, org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> {
+ public getApplicationDeployment() {
+ super("getApplicationDeployment");
+ }
+
+ public getApplicationDeployment_args getEmptyArgsInstance() {
+ return new getApplicationDeployment_args();
+ }
+
+ public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ final org.apache.thrift.AsyncProcessFunction fcall = this;
+ return new org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>() {
+ public void onComplete(org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription o) {
+ getApplicationDeployment_result result = new getApplicationDeployment_result();
+ result.success = o;
+ try {
+ fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
+ } catch (org.apache.thrift.transport.TTransportException e) {
+ _LOGGER.error("TTransportException writing to internal frame buffer", e);
+ fb.close();
+ } catch (java.lang.Exception e) {
+ _LOGGER.error("Exception writing to internal frame buffer", e);
+ onError(e);
+ }
+ }
+ public void onError(java.lang.Exception e) {
+ byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
+ org.apache.thrift.TSerializable msg;
+ getApplicationDeployment_result result = new getApplicationDeployment_result();
+ if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
+ result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
+ result.setRseIsSet(true);
+ msg = result;
+ } else if (e instanceof org.apache.thrift.transport.TTransportException) {
+ _LOGGER.error("TTransportException inside handler", e);
+ fb.close();
+ return;
+ } else if (e instanceof org.apache.thrift.TApplicationException) {
+ _LOGGER.error("TApplicationException inside handler", e);
+ msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
+ msg = (org.apache.thrift.TApplicationException)e;
+ } else {
+ _LOGGER.error("Exception inside handler", e);
+ msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
+ msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage());
+ }
+ try {
+ fcall.sendResponse(fb,msg,msgType,seqid);
+ } catch (java.lang.Exception ex) {
+ _LOGGER.error("Exception writing to internal frame buffer", ex);
+ fb.close();
+ }
+ }
+ };
+ }
+
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public void start(I iface, getApplicationDeployment_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> resultHandler) throws org.apache.thrift.TException {
+ iface.getApplicationDeployment(args.appDeploymentId,resultHandler);
+ }
+ }
+
+ public static class updateApplicationDeployment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, updateApplicationDeployment_args, java.lang.Boolean> {
+ public updateApplicationDeployment() {
+ super("updateApplicationDeployment");
+ }
+
+ public updateApplicationDeployment_args getEmptyArgsInstance() {
+ return new updateApplicationDeployment_args();
+ }
+
+ public org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ final org.apache.thrift.AsyncProcessFunction fcall = this;
+ return new org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean>() {
+ public void onComplete(java.lang.Boolean o) {
+ updateApplicationDeployment_result result = new updateApplicationDeployment_result();
+ result.success = o;
+ result.setSuccessIsSet(true);
+ try {
+ fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
+ } catch (org.apache.thrift.transport.TTransportException e) {
+ _LOGGER.error("TTransportException writing to internal frame buffer", e);
+ fb.close();
+ } catch (java.lang.Exception e) {
+ _LOGGER.error("Exception writing to internal frame buffer", e);
+ onError(e);
+ }
+ }
+ public void onError(java.lang.Exception e) {
+ byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
+ org.apache.thrift.TSerializable msg;
+ updateApplicationDeployment_result result = new updateApplicationDeployment_result();
+ if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
+ result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
+ result.setRseIsSet(true);
+ msg = result;
+ } else if (e instanceof org.apache.thrift.transport.TTransportException) {
+ _LOGGER.error("TTransportException inside handler", e);
+ fb.close();
+ return;
+ } else if (e instanceof org.apache.thrift.TApplicationException) {
+ _LOGGER.error("TApplicationException inside handler", e);
+ msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
+ msg = (org.apache.thrift.TApplicationException)e;
+ } else {
+ _LOGGER.error("Exception inside handler", e);
+ msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
+ msg = new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage());
+ }
+ try {
+ fcall.sendResponse(fb,msg,msgType,seqid);
+ } catch (java.lang.Exception ex) {
+ _LOGGER.error("Exception writing to internal frame buffer", ex);
+ fb.close();
+ }
+ }
+ };
+ }
+
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public void start(I iface, updateApplicationDeployment_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
+ iface.updateApplicationDeployment(args.appDeploymentId, args.applicationDeployment,resultHandler);
+ }
+ }
+
+ public static class deleteApplicationDeployment<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, deleteApplicationDeployment_args, java.lang.Boolean> {
+ public deleteApplicationDeployment() {
+ super("deleteApplicationDeployment");
+ }
+
+ public deleteApplicationDeployment_args getEmptyArgsInstance() {
+ return new deleteApplicationDeployment_args();
+ }
+
+ public org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ final org.apache.thrift.AsyncProcessFunction fcall = this;
+ return new org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean>() {
+ public void onComplete(java.lang.Boolean o) {
+ deleteApplicationDeployment_result result = new deleteApplicationDeployment_result();
+ result.success = o;
+ result.setSuccessIsSet(true);
+ try {
+ fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
+ } catch (org.apache.thrift.transport.TTransportException e) {
+ _LOGGER.error("TTransportException writing to internal frame buffer", e);
+ fb.close();
+ } catch (java.lang.Exception e) {
+ _LOGGER.error("Exception writing to internal frame buffer", e);
+ onError(e);
+ }
+ }
+ public void onError(java.lang.Exception e) {
+ byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
+ org.apache.thrift.TSerializable msg;
+ deleteApplicationDeployment_result result = new deleteApplicationDeployment_result();
if (e instanceof org.apache.airavata.registry.api.exception.RegistryServiceException) {
result.rse = (org.apache.airavata.registry.api.exception.RegistryServiceException) e;
result.setRseIsSet(true);
@@ -45838,7 +45663,7 @@ public class RegistryService {
this.accessibleProjIds = __this__accessibleProjIds;
}
if (other.isSetFilters()) {
- java.util.Map<org.apache.airavata.model.experiment.ProjectSearchFields,java.lang.String> __this__filters = new java.util.EnumMap<org.apache.airavata.model.experiment.ProjectSearchFields,java.lang.String>(org.apache.airavata.model.experiment.ProjectSearchFields.class);
+ java.util.Map<org.apache.airavata.model.experiment.ProjectSearchFields,java.lang.String> __this__filters = new java.util.HashMap<org.apache.airavata.model.experiment.ProjectSearchFields,java.lang.String>(other.filters.size());
for (java.util.Map.Entry<org.apache.airavata.model.experiment.ProjectSearchFields, java.lang.String> other_element : other.filters.entrySet()) {
org.apache.airavata.model.experiment.ProjectSearchFields other_element_key = other_element.getKey();
@@ -45965,7 +45790,7 @@ public class RegistryService {
public void putToFilters(org.apache.airavata.model.experiment.ProjectSearchFields key, java.lang.String val) {
if (this.filters == null) {
- this.filters = new java.util.EnumMap<org.apache.airavata.model.experiment.ProjectSearchFields,java.lang.String>(org.apache.airavata.model.experiment.ProjectSearchFields.class);
+ this.filters = new java.util.HashMap<org.apache.airavata.model.experiment.ProjectSearchFields,java.lang.String>();
}
this.filters.put(key, val);
}
@@ -46460,17 +46285,14 @@ public class RegistryService {
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
org.apache.thrift.protocol.TMap _map35 = iprot.readMapBegin();
- struct.filters = new java.util.EnumMap<org.apache.airavata.model.experiment.ProjectSearchFields,java.lang.String>(org.apache.airavata.model.experiment.ProjectSearchFields.class);
+ struct.filters = new java.util.HashMap<org.apache.airavata.model.experiment.ProjectSearchFields,java.lang.String>(2*_map35.size);
org.apache.airavata.model.experiment.ProjectSearchFields _key36;
java.lang.String _val37;
for (int _i38 = 0; _i38 < _map35.size; ++_i38)
{
_key36 = org.apache.airavata.model.experiment.ProjectSearchFields.findByValue(iprot.readI32());
_val37 = iprot.readString();
- if (_key36 != null)
- {
- struct.filters.put(_key36, _val37);
- }
+ struct.filters.put(_key36, _val37);
}
iprot.readMapEnd();
}
@@ -46628,17 +46450,14 @@ public class RegistryService {
if (incoming.get(0)) {
{
org.apache.thrift.protocol.TMap _map46 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.filters = new java.util.EnumMap<org.apache.airavata.model.experiment.ProjectSearchFields,java.lang.String>(org.apache.airavata.model.experiment.ProjectSearchFields.class);
+ struct.filters = new java.util.HashMap<org.apache.airavata.model.experiment.ProjectSearchFields,java.lang.String>(2*_map46.size);
org.apache.airavata.model.experiment.ProjectSearchFields _key47;
java.lang.String _val48;
for (int _i49 = 0; _i49 < _map46.size; ++_i49)
{
_key47 = org.apache.airavata.model.experiment.ProjectSearchFields.findByValue(iprot.readI32());
_val48 = iprot.readString();
- if (_key47 != null)
- {
- struct.filters.put(_key47, _val48);
- }
+ struct.filters.put(_key47, _val48);
}
}
struct.setFiltersIsSet(true);
@@ -47330,7 +47149,7 @@ public class RegistryService {
this.accessibleExpIds = __this__accessibleExpIds;
}
if (other.isSetFilters()) {
- java.util.Map<org.apache.airavata.model.experiment.ExperimentSearchFields,java.lang.String> __this__filters = new java.util.EnumMap<org.apache.airavata.model.experiment.ExperimentSearchFields,java.lang.String>(org.apache.airavata.model.experiment.ExperimentSearchFields.class);
+ java.util.Map<org.apache.airavata.model.experiment.ExperimentSearchFields,java.lang.String> __this__filters = new java.util.HashMap<org.apache.airavata.model.experiment.ExperimentSearchFields,java.lang.String>(other.filters.size());
for (java.util.Map.Entry<org.apache.airavata.model.experiment.ExperimentSearchFields, java.lang.String> other_element : other.filters.entrySet()) {
org.apache.airavata.model.experiment.ExperimentSearchFields other_element_key = other_element.getKey();
@@ -47457,7 +47276,7 @@ public class RegistryService {
public void putToFilters(org.apache.airavata.model.experiment.ExperimentSearchFields key, java.lang.String val) {
if (this.filters == null) {
- this.filters = new java.util.EnumMap<org.apache.airavata.model.experiment.ExperimentSearchFields,java.lang.String>(org.apache.airavata.model.experiment.ExperimentSearchFields.class);
+ this.filters = new java.util.HashMap<org.apache.airavata.model.experiment.ExperimentSearchFields,java.lang.String>();
}
this.filters.put(key, val);
}
@@ -47952,17 +47771,14 @@ public class RegistryService {
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
org.apache.thrift.protocol.TMap _map61 = iprot.readMapBegin();
- struct.filters = new java.util.EnumMap<org.apache.airavata.model.experiment.ExperimentSearchFields,java.lang.String>(org.apache.airavata.model.experiment.ExperimentSearchFields.class);
+ struct.filters = new java.util.HashMap<org.apache.airavata.model.experiment.ExperimentSearchFields,java.lang.String>(2*_map61.size);
org.apache.airavata.model.experiment.ExperimentSearchFields _key62;
java.lang.String _val63;
for (int _i64 = 0; _i64 < _map61.size; ++_i64)
{
_key62 = org.apache.airavata.model.experiment.ExperimentSearchFields.findByValue(iprot.readI32());
_val63 = iprot.readString();
- if (_key62 != null)
- {
- struct.filters.put(_key62, _val63);
- }
+ struct.filters.put(_key62, _val63);
}
iprot.readMapEnd();
}
@@ -48120,17 +47936,14 @@ public class RegistryService {
if (incoming.get(0)) {
{
org.apache.thrift.protocol.TMap _map72 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I32, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.filters = new java.util.EnumMap<org.apache.airavata.model.experiment.ExperimentSearchFields,java.lang.String>(org.apache.airavata.model.experiment.ExperimentSearchFields.class);
+ struct.filters = new java.util.HashMap<org.apache.airavata.model.experiment.ExperimentSearchFields,java.lang.String>(2*_map72.size);
org.apache.airavata.model.experiment.ExperimentSearchFields _key73;
java.lang.String _val74;
for (int _i75 = 0; _i75 < _map72.size; ++_i75)
{
_key73 = org.apache.airavata.model.experiment.ExperimentSearchFields.findByValue(iprot.readI32());
_val74 = iprot.readString();
- if (_key73 != null)
- {
- struct.filters.put(_key73, _val74);
- }
+ struct.filters.put(_key73, _val74);
}
}
struct.setFiltersIsSet(true);
@@ -68425,7 +68238,831 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("addJobStatus_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("addJobStatus_result(");
+ boolean first = true;
+
+ sb.append("rse:");
+ if (this.rse == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.rse);
+ }
+ first = false;
+ sb.append(")");
+ return sb.toString();
+ }
+
+ public void validate() throws org.apache.thrift.TException {
+ // check for required fields
+ // 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, java.lang.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 addJobStatus_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public addJobStatus_resultStandardScheme getScheme() {
+ return new addJobStatus_resultStandardScheme();
+ }
+ }
+
+ private static class addJobStatus_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<addJobStatus_result> {
+
+ public void read(org.apache.thrift.protocol.TProtocol iprot, addJobStatus_result 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: // RSE
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException();
+ struct.rse.read(iprot);
+ struct.setRseIsSet(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();
+
+ // check for required fields of primitive type, which can't be checked in the validate method
+ struct.validate();
+ }
+
+ public void write(org.apache.thrift.protocol.TProtocol oprot, addJobStatus_result struct) throws org.apache.thrift.TException {
+ struct.validate();
+
+ oprot.writeStructBegin(STRUCT_DESC);
+ if (struct.rse != null) {
+ oprot.writeFieldBegin(RSE_FIELD_DESC);
+ struct.rse.write(oprot);
+ oprot.writeFieldEnd();
+ }
+ oprot.writeFieldStop();
+ oprot.writeStructEnd();
+ }
+
+ }
+
+ private static class addJobStatus_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public addJobStatus_resultTupleScheme getScheme() {
+ return new addJobStatus_resultTupleScheme();
+ }
+ }
+
+ private static class addJobStatus_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<addJobStatus_result> {
+
+ @Override
+ public void write(org.apache.thrift.protocol.TProtocol prot, addJobStatus_result struct) throws org.apache.thrift.TException {
+ org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
+ java.util.BitSet optionals = new java.util.BitSet();
+ if (struct.isSetRse()) {
+ optionals.set(0);
+ }
+ oprot.writeBitSet(optionals, 1);
+ if (struct.isSetRse()) {
+ struct.rse.write(oprot);
+ }
+ }
+
+ @Override
+ public void read(org.apache.thrift.protocol.TProtocol prot, addJobStatus_result struct) throws org.apache.thrift.TException {
+ org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
+ java.util.BitSet incoming = iprot.readBitSet(1);
+ if (incoming.get(0)) {
+ struct.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException();
+ struct.rse.read(iprot);
+ struct.setRseIsSet(true);
+ }
+ }
+ }
+
+ private static <S extends org.apache.thrift.scheme.IScheme> S scheme(org.apache.thrift.protocol.TProtocol proto) {
+ return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme();
+ }
+ }
+
+ public static class addJob_args implements org.apache.thrift.TBase<addJob_args, addJob_args._Fields>, java.io.Serializable, Cloneable, Comparable<addJob_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addJob_args");
+
+ private static final org.apache.thrift.protocol.TField JOB_MODEL_FIELD_DESC = new org.apache.thrift.protocol.TField("jobModel", org.apache.thrift.protocol.TType.STRUCT, (short)1);
+ private static final org.apache.thrift.protocol.TField PROCESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("processId", org.apache.thrift.protocol.TType.STRING, (short)2);
+
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addJob_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addJob_argsTupleSchemeFactory();
+
+ public org.apache.airavata.model.job.JobModel jobModel; // required
+ public java.lang.String processId; // required
+
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+ JOB_MODEL((short)1, "jobModel"),
+ PROCESS_ID((short)2, "processId");
+
+ private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
+
+ static {
+ for (_Fields field : java.util.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: // JOB_MODEL
+ return JOB_MODEL;
+ case 2: // PROCESS_ID
+ return PROCESS_ID;
+ 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 java.lang.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(java.lang.String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final java.lang.String _fieldName;
+
+ _Fields(short thriftId, java.lang.String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public java.lang.String getFieldName() {
+ return _fieldName;
+ }
+ }
+
+ // isset id assignments
+ public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+ static {
+ java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.JOB_MODEL, new org.apache.thrift.meta_data.FieldMetaData("jobModel", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.job.JobModel.class)));
+ tmpMap.put(_Fields.PROCESS_ID, new org.apache.thrift.meta_data.FieldMetaData("processId", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+ metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addJob_args.class, metaDataMap);
+ }
+
+ public addJob_args() {
+ }
+
+ public addJob_args(
+ org.apache.airavata.model.job.JobModel jobModel,
+ java.lang.String processId)
+ {
+ this();
+ this.jobModel = jobModel;
+ this.processId = processId;
+ }
+
+ /**
+ * Performs a deep copy on <i>other</i>.
+ */
+ public addJob_args(addJob_args other) {
+ if (other.isSetJobModel()) {
+ this.jobModel = new org.apache.airavata.model.job.JobModel(other.jobModel);
+ }
+ if (other.isSetProcessId()) {
+ this.processId = other.processId;
+ }
+ }
+
+ public addJob_args deepCopy() {
+ return new addJob_args(this);
+ }
+
+ @Override
+ public void clear() {
+ this.jobModel = null;
+ this.processId = null;
+ }
+
+ public org.apache.airavata.model.job.JobModel getJobModel() {
+ return this.jobModel;
+ }
+
+ public addJob_args setJobModel(org.apache.airavata.model.job.JobModel jobModel) {
+ this.jobModel = jobModel;
+ return this;
+ }
+
+ public void unsetJobModel() {
+ this.jobModel = null;
+ }
+
+ /** Returns true if field jobModel is set (has been assigned a value) and false otherwise */
+ public boolean isSetJobModel() {
+ return this.jobModel != null;
+ }
+
+ public void setJobModelIsSet(boolean value) {
+ if (!value) {
+ this.jobModel = null;
+ }
+ }
+
+ public java.lang.String getProcessId() {
+ return this.processId;
+ }
+
+ public addJob_args setProcessId(java.lang.String processId) {
+ this.processId = processId;
+ return this;
+ }
+
+ public void unsetProcessId() {
+ this.processId = null;
+ }
+
+ /** Returns true if field processId is set (has been assigned a value) and false otherwise */
+ public boolean isSetProcessId() {
+ return this.processId != null;
+ }
+
+ public void setProcessIdIsSet(boolean value) {
+ if (!value) {
+ this.processId = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, java.lang.Object value) {
+ switch (field) {
+ case JOB_MODEL:
+ if (value == null) {
+ unsetJobModel();
+ } else {
+ setJobModel((org.apache.airavata.model.job.JobModel)value);
+ }
+ break;
+
+ case PROCESS_ID:
+ if (value == null) {
+ unsetProcessId();
+ } else {
+ setProcessId((java.lang.String)value);
+ }
+ break;
+
+ }
+ }
+
+ public java.lang.Object getFieldValue(_Fields field) {
+ switch (field) {
+ case JOB_MODEL:
+ return getJobModel();
+
+ case PROCESS_ID:
+ return getProcessId();
+
+ }
+ throw new java.lang.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 java.lang.IllegalArgumentException();
+ }
+
+ switch (field) {
+ case JOB_MODEL:
+ return isSetJobModel();
+ case PROCESS_ID:
+ return isSetProcessId();
+ }
+ throw new java.lang.IllegalStateException();
+ }
+
+ @Override
+ public boolean equals(java.lang.Object that) {
+ if (that == null)
+ return false;
+ if (that instanceof addJob_args)
+ return this.equals((addJob_args)that);
+ return false;
+ }
+
+ public boolean equals(addJob_args that) {
+ if (that == null)
+ return false;
+ if (this == that)
+ return true;
+
+ boolean this_present_jobModel = true && this.isSetJobModel();
+ boolean that_present_jobModel = true && that.isSetJobModel();
+ if (this_present_jobModel || that_present_jobModel) {
+ if (!(this_present_jobModel && that_present_jobModel))
+ return false;
+ if (!this.jobModel.equals(that.jobModel))
+ return false;
+ }
+
+ boolean this_present_processId = true && this.isSetProcessId();
+ boolean that_present_processId = true && that.isSetProcessId();
+ if (this_present_processId || that_present_processId) {
+ if (!(this_present_processId && that_present_processId))
+ return false;
+ if (!this.processId.equals(that.processId))
+ return false;
+ }
+
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ int hashCode = 1;
+
+ hashCode = hashCode * 8191 + ((isSetJobModel()) ? 131071 : 524287);
+ if (isSetJobModel())
+ hashCode = hashCode * 8191 + jobModel.hashCode();
+
+ hashCode = hashCode * 8191 + ((isSetProcessId()) ? 131071 : 524287);
+ if (isSetProcessId())
+ hashCode = hashCode * 8191 + processId.hashCode();
+
+ return hashCode;
+ }
+
+ @Override
+ public int compareTo(addJob_args other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+
+ lastComparison = java.lang.Boolean.valueOf(isSetJobModel()).compareTo(other.isSetJobModel());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetJobModel()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobModel, other.jobModel);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = java.lang.Boolean.valueOf(isSetProcessId()).compareTo(other.isSetProcessId());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetProcessId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processId, other.processId);
+ 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 {
+ scheme(iprot).read(iprot, this);
+ }
+
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+ scheme(oprot).write(oprot, this);
+ }
+
+ @Override
+ public java.lang.String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("addJob_args(");
+ boolean first = true;
+
+ sb.append("jobModel:");
+ if (this.jobModel == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.jobModel);
+ }
+ first = false;
+ if (!first) sb.append(", ");
+ sb.append("processId:");
+ if (this.processId == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.processId);
+ }
+ first = false;
+ sb.append(")");
+ return sb.toString();
+ }
+
+ public void validate() throws org.apache.thrift.TException {
+ // check for required fields
+ if (jobModel == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'jobModel' was not present! Struct: " + toString());
+ }
+ if (processId == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'processId' was not present! Struct: " + toString());
+ }
+ // check for sub-struct validity
+ if (jobModel != null) {
+ jobModel.validate();
+ }
+ }
+
+ 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, java.lang.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 addJob_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public addJob_argsStandardScheme getScheme() {
+ return new addJob_argsStandardScheme();
+ }
+ }
+
+ private static class addJob_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<addJob_args> {
+
+ public void read(org.apache.thrift.protocol.TProtocol iprot, addJob_args 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: // JOB_MODEL
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.jobModel = new org.apache.airavata.model.job.JobModel();
+ struct.jobModel.read(iprot);
+ struct.setJobModelIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ case 2: // PROCESS_ID
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+ struct.processId = iprot.readString();
+ struct.setProcessIdIsSet(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();
+
+ // check for required fields of primitive type, which can't be checked in the validate method
+ struct.validate();
+ }
+
+ public void write(org.apache.thrift.protocol.TProtocol oprot, addJob_args struct) throws org.apache.thrift.TException {
+ struct.validate();
+
+ oprot.writeStructBegin(STRUCT_DESC);
+ if (struct.jobModel != null) {
+ oprot.writeFieldBegin(JOB_MODEL_FIELD_DESC);
+ struct.jobModel.write(oprot);
+ oprot.writeFieldEnd();
+ }
+ if (struct.processId != null) {
+ oprot.writeFieldBegin(PROCESS_ID_FIELD_DESC);
+ oprot.writeString(struct.processId);
+ oprot.writeFieldEnd();
+ }
+ oprot.writeFieldStop();
+ oprot.writeStructEnd();
+ }
+
+ }
+
+ private static class addJob_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public addJob_argsTupleScheme getScheme() {
+ return new addJob_argsTupleScheme();
+ }
+ }
+
+ private static class addJob_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<addJob_args> {
+
+ @Override
+ public void write(org.apache.thrift.protocol.TProtocol prot, addJob_args struct) throws org.apache.thrift.TException {
+ org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
+ struct.jobModel.write(oprot);
+ oprot.writeString(struct.processId);
+ }
+
+ @Override
+ public void read(org.apache.thrift.protocol.TProtocol prot, addJob_args struct) throws org.apache.thrift.TException {
+ org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
+ struct.jobModel = new org.apache.airavata.model.job.JobModel();
+ struct.jobModel.read(iprot);
+ struct.setJobModelIsSet(true);
+ struct.processId = iprot.readString();
+ struct.setProcessIdIsSet(true);
+ }
+ }
+
+ private static <S extends org.apache.thrift.scheme.IScheme> S scheme(org.apache.thrift.protocol.TProtocol proto) {
+ return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme();
+ }
+ }
+
+ public static class addJob_result implements org.apache.thrift.TBase<addJob_result, addJob_result._Fields>, java.io.Serializable, Cloneable, Comparable<addJob_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addJob_result");
+
+ private static final org.apache.thrift.protocol.TField RSE_FIELD_DESC = new org.apache.thrift.protocol.TField("rse", org.apache.thrift.protocol.TType.STRUCT, (short)1);
+
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addJob_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addJob_resultTupleSchemeFactory();
+
+ public org.apache.airavata.registry.api.exception.RegistryServiceException rse; // required
+
+ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+ public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+ RSE((short)1, "rse");
+
+ private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
+
+ static {
+ for (_Fields field : java.util.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: // RSE
+ return RSE;
+ 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 java.lang.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(java.lang.String name) {
+ return byName.get(name);
+ }
+
+ private final short _thriftId;
+ private final java.lang.String _fieldName;
+
+ _Fields(short thriftId, java.lang.String fieldName) {
+ _thriftId = thriftId;
+ _fieldName = fieldName;
+ }
+
+ public short getThriftFieldId() {
+ return _thriftId;
+ }
+
+ public java.lang.String getFieldName() {
+ return _fieldName;
+ }
+ }
+
+ // isset id assignments
+ public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+ static {
+ java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.RSE, new org.apache.thrift.meta_data.FieldMetaData("rse", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.registry.api.exception.RegistryServiceException.class)));
+ metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addJob_result.class, metaDataMap);
+ }
+
+ public addJob_result() {
+ }
+
+ public addJob_result(
+ org.apache.airavata.registry.api.exception.RegistryServiceException rse)
+ {
+ this();
+ this.rse = rse;
+ }
+
+ /**
+ * Performs a deep copy on <i>other</i>.
+ */
+ public addJob_result(addJob_result other) {
+ if (other.isSetRse()) {
+ this.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException(other.rse);
+ }
+ }
+
+ public addJob_result deepCopy() {
+ return new addJob_result(this);
+ }
+
+ @Override
+ public void clear() {
+ this.rse = null;
+ }
+
+ public org.apache.airavata.registry.api.exception.RegistryServiceException getRse() {
+ return this.rse;
+ }
+
+ public addJob_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
+ this.rse = rse;
+ return this;
+ }
+
+ public void unsetRse() {
+ this.rse = null;
+ }
+
+ /** Returns true if field rse is set (has been assigned a value) and false otherwise */
+ public boolean isSetRse() {
+ return this.rse != null;
+ }
+
+ public void setRseIsSet(boolean value) {
+ if (!value) {
+ this.rse = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, java.lang.Object value) {
+ switch (field) {
+ case RSE:
+ if (value == null) {
+ unsetRse();
+ } else {
+ setRse((org.apache.airavata.registry.api.exception.RegistryServiceException)value);
+ }
+ break;
+
+ }
+ }
+
+ public java.lang.Object getFieldValue(_Fields field) {
+ switch (field) {
+ case RSE:
+ return getRse();
+
+ }
+ throw new java.lang.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 java.lang.IllegalArgumentException();
+ }
+
+ switch (field) {
+ case RSE:
+ return isSetRse();
+ }
+ throw new java.lang.IllegalStateException();
+ }
+
+ @Override
+ public boolean equals(java.lang.Object that) {
+ if (that == null)
+ return false;
+ if (that instanceof addJob_result)
+ return this.equals((addJob_result)that);
+ return false;
+ }
+
+ public boolean equals(addJob_result that) {
+ if (that == null)
+ return false;
+ if (this == that)
+ return true;
+
+ boolean this_present_rse = true && this.isSetRse();
+ boolean that_present_rse = true && that.isSetRse();
+ if (this_present_rse || that_present_rse) {
+ if (!(this_present_rse && that_present_rse))
+ return false;
+ if (!this.rse.equals(that.rse))
+ return false;
+ }
+
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ int hashCode = 1;
+
+ hashCode = hashCode * 8191 + ((isSetRse()) ? 131071 : 524287);
+ if (isSetRse())
+ hashCode = hashCode * 8191 + rse.hashCode();
+
+ return hashCode;
+ }
+
+ @Override
+ public int compareTo(addJob_result other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+
+ lastComparison = java.lang.Boolean.valueOf(isSetRse()).compareTo(other.isSetRse());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetRse()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rse, other.rse);
+ 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 {
+ scheme(iprot).read(iprot, this);
+ }
+
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+ scheme(oprot).write(oprot, this);
+ }
+
+ @Override
+ public java.lang.String toString() {
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("addJob_result(");
boolean first = true;
sb.append("rse:");
@@ -68460,15 +69097,15 @@ public class RegistryService {
}
}
- private static class addJobStatus_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public addJobStatus_resultStandardScheme getScheme() {
- return new addJobStatus_resultStandardScheme();
+ private static class addJob_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public addJob_resultStandardScheme getScheme() {
+ return new addJob_resultStandardScheme();
}
}
- private static class addJobStatus_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<addJobStatus_result> {
+ private static class addJob_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<addJob_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, addJobStatus_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, addJob_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -68498,7 +69135,7 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, addJobStatus_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, addJob_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -68513,16 +69150,16 @@ public class RegistryService {
}
- private static class addJobStatus_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public addJobStatus_resultTupleScheme getScheme() {
- return new addJobStatus_resultTupleScheme();
+ private static class addJob_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public addJob_resultTupleScheme getScheme() {
+ return new addJob_resultTupleScheme();
}
}
- private static class addJobStatus_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<addJobStatus_result> {
+ private static class addJob_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<addJob_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, addJobStatus_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, addJob_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet optionals = new java.util.BitSet();
if (struct.isSetRse()) {
@@ -68535,7 +69172,7 @@ public class RegistryService {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, addJobStatus_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, addJob_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
@@ -68551,22 +69188,22 @@ public class RegistryService {
}
}
- public static class addJob_args implements org.apache.thrift.TBase<addJob_args, addJob_args._Fields>, java.io.Serializable, Cloneable, Comparable<addJob_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addJob_args");
+ public static class addProcess_args implements org.apache.thrift.TBase<addProcess_args, addProcess_args._Fields>, java.io.Serializable, Cloneable, Comparable<addProcess_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addProcess_args");
- private static final org.apache.thrift.protocol.TField JOB_MODEL_FIELD_DESC = new org.apache.thrift.protocol.TField("jobModel", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.protocol.TField PROCESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("processId", org.apache.thrift.protocol.TType.STRING, (short)2);
+ private static final org.apache.thrift.protocol.TField PROCESS_MODEL_FIELD_DESC = new org.apache.thrift.protocol.TField("processModel", org.apache.thrift.protocol.TType.STRUCT, (short)1);
+ private static final org.apache.thrift.protocol.TField EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentId", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addJob_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addJob_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addProcess_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addProcess_argsTupleSchemeFactory();
- public org.apache.airavata.model.job.JobModel jobModel; // required
- public java.lang.String processId; // required
+ public org.apache.airavata.model.process.ProcessModel processModel; // required
+ public java.lang.String experimentId; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
- JOB_MODEL((short)1, "jobModel"),
- PROCESS_ID((short)2, "processId");
+ PROCESS_MODEL((short)1, "processModel"),
+ EXPERIMENT_ID((short)2, "experimentId");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -68581,10 +69218,10 @@ public class RegistryService {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
- case 1: // JOB_MODEL
- return JOB_MODEL;
- case 2: // PROCESS_ID
- return PROCESS_ID;
+ case 1: // PROCESS_MODEL
+ return PROCESS_MODEL;
+ case 2: // EXPERIMENT_ID
+ return EXPERIMENT_ID;
default:
return null;
}
@@ -68628,111 +69265,111 @@ public class RegistryService {
public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
- tmpMap.put(_Fields.JOB_MODEL, new org.apache.thrift.meta_data.FieldMetaData("jobModel", org.apache.thrift.TFieldRequirementType.REQUIRED,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.job.JobModel.class)));
- tmpMap.put(_Fields.PROCESS_ID, new org.apache.thrift.meta_data.FieldMetaData("processId", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ tmpMap.put(_Fields.PROCESS_MODEL, new org.apache.thrift.meta_data.FieldMetaData("processModel", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.process.ProcessModel.class)));
+ tmpMap.put(_Fields.EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("experimentId", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addJob_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addProcess_args.class, metaDataMap);
}
- public addJob_args() {
+ public addProcess_args() {
}
- public addJob_args(
- org.apache.airavata.model.job.JobModel jobModel,
- java.lang.String processId)
+ public addProcess_args(
+ org.apache.airavata.model.process.ProcessModel processModel,
+ java.lang.String experimentId)
{
this();
- this.jobModel = jobModel;
- this.processId = processId;
+ this.processModel = processModel;
+ this.experimentId = experimentId;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public addJob_args(addJob_args other) {
- if (other.isSetJobModel()) {
- this.jobModel = new org.apache.airavata.model.job.JobModel(other.jobModel);
+ public addProcess_args(addProcess_args other) {
+ if (other.isSetProcessModel()) {
+ this.processModel = new org.apache.airavata.model.process.ProcessModel(other.processModel);
}
- if (other.isSetProcessId()) {
- this.processId = other.processId;
+ if (other.isSetExperimentId()) {
+ this.experimentId = other.experimentId;
}
}
- public addJob_args deepCopy() {
- return new addJob_args(this);
+ public addProcess_args deepCopy() {
+ return new addProcess_args(this);
}
@Override
public void clear() {
- this.jobModel = null;
- this.processId = null;
+ this.processModel = null;
+ this.experimentId = null;
}
- public org.apache.airavata.model.job.JobModel getJobModel() {
- return this.jobModel;
+ public org.apache.airavata.model.process.ProcessModel getProcessModel() {
+ return this.processModel;
}
- public addJob_args setJobModel(org.apache.airavata.model.job.JobModel jobModel) {
- this.jobModel = jobModel;
+ public addProcess_args setProcessModel(org.apache.airavata.model.process.ProcessModel processModel) {
+ this.processModel = processModel;
return this;
}
- public void unsetJobModel() {
- this.jobModel = null;
+ public void unsetProcessModel() {
+ this.processModel = null;
}
- /** Returns true if field jobModel is set (has been assigned a value) and false otherwise */
- public boolean isSetJobModel() {
- return this.jobModel != null;
+ /** Returns true if field processModel is set (has been assigned a value) and false otherwise */
+ public boolean isSetProcessModel() {
+ return this.processModel != null;
}
- public void setJobModelIsSet(boolean value) {
+ public void setProcessModelIsSet(boolean value) {
if (!value) {
- this.jobModel = null;
+ this.processModel = null;
}
}
- public java.lang.String getProcessId() {
- return this.processId;
+ public java.lang.String getExperimentId() {
+ return this.experimentId;
}
- public addJob_args setProcessId(java.lang.String processId) {
- this.processId = processId;
+ public addProcess_args setExperimentId(java.lang.String experimentId) {
+ this.experimentId = experimentId;
return this;
}
- public void unsetProcessId() {
- this.processId = null;
+ public void unsetExperimentId() {
+ this.experimentId = null;
}
- /** Returns true if field processId is set (has been assigned a value) and false otherwise */
- public boolean isSetProcessId() {
- return this.processId != null;
+ /** Returns true if field experimentId is set (has been assigned a value) and false otherwise */
+ public boolean isSetExperimentId() {
+ return this.experimentId != null;
}
- public void setProcessIdIsSet(boolean value) {
+ public void setExperimentIdIsSet(boolean value) {
if (!value) {
- this.processId = null;
+ this.experimentId = null;
}
}
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
- case JOB_MODEL:
+ case PROCESS_MODEL:
if (value == null) {
- unsetJobModel();
+ unsetProcessModel();
} else {
- setJobModel((org.apache.airavata.model.job.JobModel)value);
+ setProcessModel((org.apache.airavata.model.process.ProcessModel)value);
}
break;
- case PROCESS_ID:
+ case EXPERIMENT_ID:
if (value == null) {
- unsetProcessId();
+ unsetExperimentId();
} else {
- setProcessId((java.lang.String)value);
+ setExperimentId((java.lang.String)value);
}
break;
@@ -68741,11 +69378,11 @@ public class RegistryService {
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
- case JOB_MODEL:
- return getJobModel();
+ case PROCESS_MODEL:
+ return getProcessModel();
- case PROCESS_ID:
- return getProcessId();
+ case EXPERIMENT_ID:
+ return getExperimentId();
}
throw new java.lang.IllegalStateException();
@@ -68758,10 +69395,10 @@ public class RegistryService {
}
switch (field) {
- case JOB_MODEL:
- return isSetJobModel();
- case PROCESS_ID:
- return isSetProcessId();
+ case PROCESS_MODEL:
+ return isSetProcessModel();
+ case EXPERIMENT_ID:
+ return isSetExperimentId();
}
throw new java.lang.IllegalStateException();
}
@@ -68770,32 +69407,32 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof addJob_args)
- return this.equals((addJob_args)that);
+ if (that instanceof addProcess_args)
+ return this.equals((addProcess_args)that);
return false;
}
- public boolean equals(addJob_args that) {
+ public boolean equals(addProcess_args that) {
if (that == null)
return false;
if (this == that)
return true;
- boolean this_present_jobModel = true && this.isSetJobModel();
- boolean that_present_jobModel = true && that.isSetJobModel();
- if (this_present_jobModel || that_present_jobModel) {
- if (!(this_present_jobModel && that_present_jobModel))
+ boolean this_present_processModel = true && this.isSetProcessModel();
+ boolean that_present_processModel = true && that.isSetProcessModel();
+ if (this_present_processModel || that_present_processModel) {
+ if (!(this_present_processModel && that_present_processModel))
return false;
- if (!this.jobModel.equals(that.jobModel))
+ if (!this.processModel.equals(that.processModel))
return false;
}
- boolean this_present_processId = true && this.isSetProcessId();
- boolean that_present_processId = true && that.isSetProcessId();
- if (this_present_processId || that_present_processId) {
- if (!(this_present_processId && that_present_processId))
+ boolean this_present_experimentId = true && this.isSetExperimentId();
+ boolean that_present_experimentId = true && that.isSetExperimentId();
+ if (this_present_experimentId || that_present_experimentId) {
+ if (!(this_present_experimentId && that_present_experimentId))
return false;
- if (!this.processId.equals(that.processId))
+ if (!this.experimentId.equals(that.experimentId))
return false;
}
@@ -68806,41 +69443,41 @@ public class RegistryService {
public int hashCode() {
int hashCode = 1;
- hashCode = hashCode * 8191 + ((isSetJobModel()) ? 131071 : 524287);
- if (isSetJobModel())
- hashCode = hashCode * 8191 + jobModel.hashCode();
+ hashCode = hashCode * 8191 + ((isSetProcessModel()) ? 131071 : 524287);
+ if (isSetProcessModel())
+ hashCode = hashCode * 8191 + processModel.hashCode();
- hashCode = hashCode * 8191 + ((isSetProcessId()) ? 131071 : 524287);
- if (isSetProcessId())
- hashCode = hashCode * 8191 + processId.hashCode();
+ hashCode = hashCode * 8191 + ((isSetExperimentId()) ? 131071 : 524287);
+ if (isSetExperimentId())
+ hashCode = hashCode * 8191 + experimentId.hashCode();
return hashCode;
}
@Override
- public int compareTo(addJob_args other) {
+ public int compareTo(addProcess_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
- lastComparison = java.lang.Boolean.valueOf(isSetJobModel()).compareTo(other.isSetJobModel());
+ lastComparison = java.lang.Boolean.valueOf(isSetProcessModel()).compareTo(other.isSetProcessModel());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetJobModel()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.jobModel, other.jobModel);
+ if (isSetProcessModel()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processModel, other.processModel);
if (lastComparison != 0) {
return lastComparison;
}
}
- lastComparison = java.lang.Boolean.valueOf(isSetProcessId()).compareTo(other.isSetProcessId());
+ lastComparison = java.lang.Boolean.valueOf(isSetExperimentId()).compareTo(other.isSetExperimentId());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetProcessId()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processId, other.processId);
+ if (isSetExperimentId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentId, other.experimentId);
if (lastComparison != 0) {
return lastComparison;
}
@@ -68862,22 +69499,22 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("addJob_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("addProcess_args(");
boolean first = true;
- sb.append("jobModel:");
- if (this.jobModel == null) {
+ sb.append("processModel:");
+ if (this.processModel == null) {
sb.append("null");
} else {
- sb.append(this.jobModel);
+ sb.append(this.processModel);
}
first = false;
if (!first) sb.append(", ");
- sb.append("processId:");
- if (this.processId == null) {
+ sb.append("experimentId:");
+ if (this.experimentId == null) {
sb.append("null");
} else {
- sb.append(this.processId);
+ sb.append(this.experimentId);
}
first = false;
sb.append(")");
@@ -68886,15 +69523,15 @@ public class RegistryService {
public void validate() throws org.apache.thrift.TException {
// check for required fields
- if (jobModel == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'jobModel' was not present! Struct: " + toString());
+ if (processModel == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'processModel' was not present! Struct: " + toString());
}
- if (processId == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'processId' was not present! Struct: " + toString());
+ if (experimentId == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentId' was not present! Struct: " + toString());
}
// check for sub-struct validity
- if (jobModel != null) {
- jobModel.validate();
+ if (processModel != null) {
+ processModel.validate();
}
}
@@ -68914,15 +69551,15 @@ public class RegistryService {
}
}
- private static class addJob_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public addJob_argsStandardScheme getScheme() {
- return new addJob_argsStandardScheme();
+ private static class addProcess_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public addProcess_argsStandardScheme getScheme() {
+ return new addProcess_argsStandardScheme();
}
}
- private static class addJob_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<addJob_args> {
+ private static class addProcess_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<addProcess_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, addJob_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, addProcess_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -68932,19 +69569,19 @@ public class RegistryService {
break;
}
switch (schemeField.id) {
- case 1: // JOB_MODEL
+ case 1: // PROCESS_MODEL
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.jobModel = new org.apache.airavata.model.job.JobModel();
- struct.jobModel.read(iprot);
- struct.setJobModelIsSet(true);
+ struct.processModel = new org.apache.airavata.model.process.ProcessModel();
+ struct.processModel.read(iprot);
+ struct.setProcessModelIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 2: // PROCESS_ID
+ case 2: // EXPERIMENT_ID
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.processId = iprot.readString();
- struct.setProcessIdIsSet(true);
+ struct.experimentId = iprot.readString();
+ struct.setExperimentIdIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -68960,18 +69597,18 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, addJob_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, addProcess_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
- if (struct.jobModel != null) {
- oprot.writeFieldBegin(JOB_MODEL_FIELD_DESC);
- struct.jobModel.write(oprot);
+ if (struct.processModel != null) {
+ oprot.writeFieldBegin(PROCESS_MODEL_FIELD_DESC);
+ struct.processModel.write(oprot);
oprot.writeFieldEnd();
}
- if (struct.processId != null) {
- oprot.writeFieldBegin(PROCESS_ID_FIELD_DESC);
- oprot.writeString(struct.processId);
+ if (struct.experimentId != null) {
+ oprot.writeFieldBegin(EXPERIMENT_ID_FIELD_DESC);
+ oprot.writeString(struct.experimentId);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
@@ -68980,29 +69617,29 @@ public class RegistryService {
}
- private static class addJob_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public addJob_argsTupleScheme getScheme() {
- return new addJob_argsTupleScheme();
+ private static class addProcess_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public addProcess_argsTupleScheme getScheme() {
+ return new addProcess_argsTupleScheme();
}
}
- private static class addJob_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<addJob_args> {
+ private static class addProcess_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<addProcess_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, addJob_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, addProcess_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- struct.jobModel.write(oprot);
- oprot.writeString(struct.processId);
+ struct.processModel.write(oprot);
+ oprot.writeString(struct.experimentId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, addJob_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, addProcess_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- struct.jobModel = new org.apache.airavata.model.job.JobModel();
- struct.jobModel.read(iprot);
- struct.setJobModelIsSet(true);
- struct.processId = iprot.readString();
- struct.setProcessIdIsSet(true);
+ struct.processModel = new org.apache.airavata.model.process.ProcessModel();
+ struct.processModel.read(iprot);
+ struct.setProcessModelIsSet(true);
+ struct.experimentId = iprot.readString();
+ struct.setExperimentIdIsSet(true);
}
}
@@ -69011,18 +69648,21 @@ public class RegistryService {
}
}
- public static class addJob_result implements org.apache.thrift.TBase<addJob_result, addJob_result._Fields>, java.io.Serializable, Cloneable, Comparable<addJob_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addJob_result");
+ public static class addProcess_result implements org.apache.thrift.TBase<addProcess_result, addProcess_result._Fields>, java.io.Serializable, Cloneable, Comparable<addProcess_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addProcess_result");
+ private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0);
private static final org.apache.thrift.protocol.TField RSE_FIELD_DESC = new org.apache.thrift.protocol.TField("rse", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addJob_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addJob_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addProcess_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addProcess_resultTupleSchemeFactory();
+ public java.lang.String success; // required
public org.apache.airavata.registry.api.exception.RegistryServiceException rse; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+ SUCCESS((short)0, "success"),
RSE((short)1, "rse");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -69038,6 +69678,8 @@ public class RegistryService {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
+ case 0: // SUCCESS
+ return SUCCESS;
case 1: // RSE
return RSE;
default:
@@ -69083,45 +69725,77 @@ public class RegistryService {
public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
tmpMap.put(_Fields.RSE, new org.apache.thrift.meta_data.FieldMetaData("rse", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.registry.api.exception.RegistryServiceException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addJob_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addProcess_result.class, metaDataMap);
}
- public addJob_result() {
+ public addProcess_result() {
}
- public addJob_result(
+ public addProcess_result(
+ java.lang.String success,
org.apache.airavata.registry.api.exception.RegistryServiceException rse)
{
this();
+ this.success = success;
this.rse = rse;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public addJob_result(addJob_result other) {
+ public addProcess_result(addProcess_result other) {
+ if (other.isSetSuccess()) {
+ this.success = other.success;
+ }
if (other.isSetRse()) {
this.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException(other.rse);
}
}
- public addJob_result deepCopy() {
- return new addJob_result(this);
+ public addProcess_result deepCopy() {
+ return new addProcess_result(this);
}
@Override
public void clear() {
+ this.success = null;
this.rse = null;
}
+ public java.lang.String getSuccess() {
+ return this.success;
+ }
+
+ public addProcess_result setSuccess(java.lang.String success) {
+ this.success = success;
+ return this;
+ }
+
+ public void unsetSuccess() {
+ this.success = null;
+ }
+
+ /** Returns true if field success is set (has been assigned a value) and false otherwise */
+ public boolean isSetSuccess() {
+ return this.success != null;
+ }
+
+ public void setSuccessIsSet(boolean value) {
+ if (!value) {
+ this.success = null;
+ }
+ }
+
public org.apache.airavata.registry.api.exception.RegistryServiceException getRse() {
return this.rse;
}
- public addJob_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
+ public addProcess_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
this.rse = rse;
return this;
}
@@ -69143,6 +69817,14 @@ public class RegistryService {
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
+ case SUCCESS:
+ if (value == null) {
+ unsetSuccess();
+ } else {
+ setSuccess((java.lang.String)value);
+ }
+ break;
+
case RSE:
if (value == null) {
unsetRse();
@@ -69156,6 +69838,9 @@ public class RegistryService {
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
+ case SUCCESS:
+ return getSuccess();
+
case RSE:
return getRse();
@@ -69170,6 +69855,8 @@ public class RegistryService {
}
switch (field) {
+ case SUCCESS:
+ return isSetSuccess();
case RSE:
return isSetRse();
}
@@ -69180,17 +69867,26 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof addJob_result)
- return this.equals((addJob_result)that);
+ if (that instanceof addProcess_result)
+ return this.equals((addProcess_result)that);
return false;
}
- public boolean equals(addJob_result that) {
+ public boolean equals(addProcess_result that) {
if (that == null)
return false;
if (this == that)
return true;
+ boolean this_present_success = true && this.isSetSuccess();
+ boolean that_present_success = true && that.isSetSuccess();
+ if (this_present_success || that_present_success) {
+ if (!(this_present_success && that_present_success))
+ return false;
+ if (!this.success.equals(that.success))
+ return false;
+ }
+
boolean this_present_rse = true && this.isSetRse();
boolean that_present_rse = true && that.isSetRse();
if (this_present_rse || that_present_rse) {
@@ -69207,6 +69903,10 @@ public class RegistryService {
public int hashCode() {
int hashCode = 1;
+ hashCode = hashCode * 8191 + ((isSetSuccess()) ? 131071 : 524287);
+ if (isSetSuccess())
+ hashCode = hashCode * 8191 + success.hashCode();
+
hashCode = hashCode * 8191 + ((isSetRse()) ? 131071 : 524287);
if (isSetRse())
hashCode = hashCode * 8191 + rse.hashCode();
@@ -69215,13 +69915,23 @@ public class RegistryService {
}
@Override
- public int compareTo(addJob_result other) {
+ public int compareTo(addProcess_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
+ lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetSuccess()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
lastComparison = java.lang.Boolean.valueOf(isSetRse()).compareTo(other.isSetRse());
if (lastComparison != 0) {
return lastComparison;
@@ -69249,9 +69959,17 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("addJob_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("addProcess_result(");
boolean first = true;
+ sb.append("success:");
+ if (this.success == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.success);
+ }
+ first = false;
+ if (!first) sb.append(", ");
sb.append("rse:");
if (this.rse == null) {
sb.append("null");
@@ -69284,15 +70002,15 @@ public class RegistryService {
}
}
- private static class addJob_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public addJob_resultStandardScheme getScheme() {
- return new addJob_resultStandardScheme();
+ private static class addProcess_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public addProcess_resultStandardScheme getScheme() {
+ return new addProcess_resultStandardScheme();
}
}
- private static class addJob_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<addJob_result> {
+ private static class addProcess_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<addProcess_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, addJob_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, addProcess_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -69302,6 +70020,14 @@ public class RegistryService {
break;
}
switch (schemeField.id) {
+ case 0: // SUCCESS
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+ struct.success = iprot.readString();
+ struct.setSuccessIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
case 1: // RSE
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException();
@@ -69322,10 +70048,15 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, addJob_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, addProcess_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
+ if (struct.success != null) {
+ oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
+ oprot.writeString(struct.success);
+ oprot.writeFieldEnd();
+ }
if (struct.rse != null) {
oprot.writeFieldBegin(RSE_FIELD_DESC);
struct.rse.write(oprot);
@@ -69337,32 +70068,42 @@ public class RegistryService {
}
- private static class addJob_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public addJob_resultTupleScheme getScheme() {
- return new addJob_resultTupleScheme();
+ private static class addProcess_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public addProcess_resultTupleScheme getScheme() {
+ return new addProcess_resultTupleScheme();
}
}
- private static class addJob_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<addJob_result> {
+ private static class addProcess_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<addProcess_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, addJob_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, addProcess_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet optionals = new java.util.BitSet();
- if (struct.isSetRse()) {
+ if (struct.isSetSuccess()) {
optionals.set(0);
}
- oprot.writeBitSet(optionals, 1);
+ if (struct.isSetRse()) {
+ optionals.set(1);
+ }
+ oprot.writeBitSet(optionals, 2);
+ if (struct.isSetSuccess()) {
+ oprot.writeString(struct.success);
+ }
if (struct.isSetRse()) {
struct.rse.write(oprot);
}
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, addJob_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, addProcess_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- java.util.BitSet incoming = iprot.readBitSet(1);
+ java.util.BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
+ struct.success = iprot.readString();
+ struct.setSuccessIsSet(true);
+ }
+ if (incoming.get(1)) {
struct.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException();
struct.rse.read(iprot);
struct.setRseIsSet(true);
@@ -69375,22 +70116,22 @@ public class RegistryService {
}
}
- public static class addProcess_args implements org.apache.thrift.TBase<addProcess_args, addProcess_args._Fields>, java.io.Serializable, Cloneable, Comparable<addProcess_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addProcess_args");
+ public static class updateProcess_args implements org.apache.thrift.TBase<updateProcess_args, updateProcess_args._Fields>, java.io.Serializable, Cloneable, Comparable<updateProcess_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateProcess_args");
private static final org.apache.thrift.protocol.TField PROCESS_MODEL_FIELD_DESC = new org.apache.thrift.protocol.TField("processModel", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.protocol.TField EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentId", org.apache.thrift.protocol.TType.STRING, (short)2);
+ private static final org.apache.thrift.protocol.TField PROCESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("processId", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addProcess_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addProcess_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new updateProcess_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new updateProcess_argsTupleSchemeFactory();
public org.apache.airavata.model.process.ProcessModel processModel; // required
- public java.lang.String experimentId; // required
+ public java.lang.String processId; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
PROCESS_MODEL((short)1, "processModel"),
- EXPERIMENT_ID((short)2, "experimentId");
+ PROCESS_ID((short)2, "processId");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -69407,8 +70148,8 @@ public class RegistryService {
switch(fieldId) {
case 1: // PROCESS_MODEL
return PROCESS_MODEL;
- case 2: // EXPERIMENT_ID
- return EXPERIMENT_ID;
+ case 2: // PROCESS_ID
+ return PROCESS_ID;
default:
return null;
}
@@ -69454,51 +70195,51 @@ public class RegistryService {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.PROCESS_MODEL, new org.apache.thrift.meta_data.FieldMetaData("processModel", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.process.ProcessModel.class)));
- tmpMap.put(_Fields.EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("experimentId", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ tmpMap.put(_Fields.PROCESS_ID, new org.apache.thrift.meta_data.FieldMetaData("processId", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addProcess_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateProcess_args.class, metaDataMap);
}
- public addProcess_args() {
+ public updateProcess_args() {
}
- public addProcess_args(
+ public updateProcess_args(
org.apache.airavata.model.process.ProcessModel processModel,
- java.lang.String experimentId)
+ java.lang.String processId)
{
this();
this.processModel = processModel;
- this.experimentId = experimentId;
+ this.processId = processId;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public addProcess_args(addProcess_args other) {
+ public updateProcess_args(updateProcess_args other) {
if (other.isSetProcessModel()) {
this.processModel = new org.apache.airavata.model.process.ProcessModel(other.processModel);
}
- if (other.isSetExperimentId()) {
- this.experimentId = other.experimentId;
+ if (other.isSetProcessId()) {
+ this.processId = other.processId;
}
}
- public addProcess_args deepCopy() {
- return new addProcess_args(this);
+ public updateProcess_args deepCopy() {
+ return new updateProcess_args(this);
}
@Override
public void clear() {
this.processModel = null;
- this.experimentId = null;
+ this.processId = null;
}
public org.apache.airavata.model.process.ProcessModel getProcessModel() {
return this.processModel;
}
- public addProcess_args setProcessModel(org.apache.airavata.model.process.ProcessModel processModel) {
+ public updateProcess_args setProcessModel(org.apache.airavata.model.process.ProcessModel processModel) {
this.processModel = processModel;
return this;
}
@@ -69518,27 +70259,27 @@ public class RegistryService {
}
}
- public java.lang.String getExperimentId() {
- return this.experimentId;
+ public java.lang.String getProcessId() {
+ return this.processId;
}
- public addProcess_args setExperimentId(java.lang.String experimentId) {
- this.experimentId = experimentId;
+ public updateProcess_args setProcessId(java.lang.String processId) {
+ this.processId = processId;
return this;
}
- public void unsetExperimentId() {
- this.experimentId = null;
+ public void unsetProcessId() {
+ this.processId = null;
}
- /** Returns true if field experimentId is set (has been assigned a value) and false otherwise */
- public boolean isSetExperimentId() {
- return this.experimentId != null;
+ /** Returns true if field processId is set (has been assigned a value) and false otherwise */
+ public boolean isSetProcessId() {
+ return this.processId != null;
}
- public void setExperimentIdIsSet(boolean value) {
+ public void setProcessIdIsSet(boolean value) {
if (!value) {
- this.experimentId = null;
+ this.processId = null;
}
}
@@ -69552,11 +70293,11 @@ public class RegistryService {
}
break;
- case EXPERIMENT_ID:
+ case PROCESS_ID:
if (value == null) {
- unsetExperimentId();
+ unsetProcessId();
} else {
- setExperimentId((java.lang.String)value);
+ setProcessId((java.lang.String)value);
}
break;
@@ -69568,8 +70309,8 @@ public class RegistryService {
case PROCESS_MODEL:
return getProcessModel();
- case EXPERIMENT_ID:
- return getExperimentId();
+ case PROCESS_ID:
+ return getProcessId();
}
throw new java.lang.IllegalStateException();
@@ -69584,8 +70325,8 @@ public class RegistryService {
switch (field) {
case PROCESS_MODEL:
return isSetProcessModel();
- case EXPERIMENT_ID:
- return isSetExperimentId();
+ case PROCESS_ID:
+ return isSetProcessId();
}
throw new java.lang.IllegalStateException();
}
@@ -69594,12 +70335,12 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof addProcess_args)
- return this.equals((addProcess_args)that);
+ if (that instanceof updateProcess_args)
+ return this.equals((updateProcess_args)that);
return false;
}
- public boolean equals(addProcess_args that) {
+ public boolean equals(updateProcess_args that) {
if (that == null)
return false;
if (this == that)
@@ -69614,12 +70355,12 @@ public class RegistryService {
return false;
}
- boolean this_present_experimentId = true && this.isSetExperimentId();
- boolean that_present_experimentId = true && that.isSetExperimentId();
- if (this_present_experimentId || that_present_experimentId) {
- if (!(this_present_experimentId && that_present_experimentId))
+ boolean this_present_processId = true && this.isSetProcessId();
+ boolean that_present_processId = true && that.isSetProcessId();
+ if (this_present_processId || that_present_processId) {
+ if (!(this_present_processId && that_present_processId))
return false;
- if (!this.experimentId.equals(that.experimentId))
+ if (!this.processId.equals(that.processId))
return false;
}
@@ -69634,15 +70375,15 @@ public class RegistryService {
if (isSetProcessModel())
hashCode = hashCode * 8191 + processModel.hashCode();
- hashCode = hashCode * 8191 + ((isSetExperimentId()) ? 131071 : 524287);
- if (isSetExperimentId())
- hashCode = hashCode * 8191 + experimentId.hashCode();
+ hashCode = hashCode * 8191 + ((isSetProcessId()) ? 131071 : 524287);
+ if (isSetProcessId())
+ hashCode = hashCode * 8191 + processId.hashCode();
return hashCode;
}
@Override
- public int compareTo(addProcess_args other) {
+ public int compareTo(updateProcess_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -69659,12 +70400,12 @@ public class RegistryService {
return lastComparison;
}
}
- lastComparison = java.lang.Boolean.valueOf(isSetExperimentId()).compareTo(other.isSetExperimentId());
+ lastComparison = java.lang.Boolean.valueOf(isSetProcessId()).compareTo(other.isSetProcessId());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetExperimentId()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentId, other.experimentId);
+ if (isSetProcessId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processId, other.processId);
if (lastComparison != 0) {
return lastComparison;
}
@@ -69686,7 +70427,7 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("addProcess_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("updateProcess_args(");
boolean first = true;
sb.append("processModel:");
@@ -69697,11 +70438,11 @@ public class RegistryService {
}
first = false;
if (!first) sb.append(", ");
- sb.append("experimentId:");
- if (this.experimentId == null) {
+ sb.append("processId:");
+ if (this.processId == null) {
sb.append("null");
} else {
- sb.append(this.experimentId);
+ sb.append(this.processId);
}
first = false;
sb.append(")");
@@ -69713,8 +70454,8 @@ public class RegistryService {
if (processModel == null) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'processModel' was not present! Struct: " + toString());
}
- if (experimentId == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentId' was not present! Struct: " + toString());
+ if (processId == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'processId' was not present! Struct: " + toString());
}
// check for sub-struct validity
if (processModel != null) {
@@ -69738,15 +70479,15 @@ public class RegistryService {
}
}
- private static class addProcess_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public addProcess_argsStandardScheme getScheme() {
- return new addProcess_argsStandardScheme();
+ private static class updateProcess_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public updateProcess_argsStandardScheme getScheme() {
+ return new updateProcess_argsStandardScheme();
}
}
- private static class addProcess_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<addProcess_args> {
+ private static class updateProcess_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<updateProcess_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, addProcess_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, updateProcess_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -69765,10 +70506,10 @@ public class RegistryService {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 2: // EXPERIMENT_ID
+ case 2: // PROCESS_ID
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.experimentId = iprot.readString();
- struct.setExperimentIdIsSet(true);
+ struct.processId = iprot.readString();
+ struct.setProcessIdIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -69784,7 +70525,7 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, addProcess_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, updateProcess_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -69793,9 +70534,9 @@ public class RegistryService {
struct.processModel.write(oprot);
oprot.writeFieldEnd();
}
- if (struct.experimentId != null) {
- oprot.writeFieldBegin(EXPERIMENT_ID_FIELD_DESC);
- oprot.writeString(struct.experimentId);
+ if (struct.processId != null) {
+ oprot.writeFieldBegin(PROCESS_ID_FIELD_DESC);
+ oprot.writeString(struct.processId);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
@@ -69804,29 +70545,29 @@ public class RegistryService {
}
- private static class addProcess_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public addProcess_argsTupleScheme getScheme() {
- return new addProcess_argsTupleScheme();
+ private static class updateProcess_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public updateProcess_argsTupleScheme getScheme() {
+ return new updateProcess_argsTupleScheme();
}
}
- private static class addProcess_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<addProcess_args> {
+ private static class updateProcess_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<updateProcess_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, addProcess_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, updateProcess_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.processModel.write(oprot);
- oprot.writeString(struct.experimentId);
+ oprot.writeString(struct.processId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, addProcess_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, updateProcess_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.processModel = new org.apache.airavata.model.process.ProcessModel();
struct.processModel.read(iprot);
struct.setProcessModelIsSet(true);
- struct.experimentId = iprot.readString();
- struct.setExperimentIdIsSet(true);
+ struct.processId = iprot.readString();
+ struct.setProcessIdIsSet(true);
}
}
@@ -69835,21 +70576,18 @@ public class RegistryService {
}
}
- public static class addProcess_result implements org.apache.thrift.TBase<addProcess_result, addProcess_result._Fields>, java.io.Serializable, Cloneable, Comparable<addProcess_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addProcess_result");
+ public static class updateProcess_result implements org.apache.thrift.TBase<updateProcess_result, updateProcess_result._Fields>, java.io.Serializable, Cloneable, Comparable<updateProcess_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateProcess_result");
- private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0);
private static final org.apache.thrift.protocol.TField RSE_FIELD_DESC = new org.apache.thrift.protocol.TField("rse", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addProcess_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addProcess_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new updateProcess_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new updateProcess_resultTupleSchemeFactory();
- public java.lang.String success; // required
public org.apache.airavata.registry.api.exception.RegistryServiceException rse; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
- SUCCESS((short)0, "success"),
RSE((short)1, "rse");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -69865,8 +70603,6 @@ public class RegistryService {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
- case 0: // SUCCESS
- return SUCCESS;
case 1: // RSE
return RSE;
default:
@@ -69912,77 +70648,45 @@ public class RegistryService {
public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
- tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
tmpMap.put(_Fields.RSE, new org.apache.thrift.meta_data.FieldMetaData("rse", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.registry.api.exception.RegistryServiceException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addProcess_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateProcess_result.class, metaDataMap);
}
- public addProcess_result() {
+ public updateProcess_result() {
}
- public addProcess_result(
- java.lang.String success,
+ public updateProcess_result(
org.apache.airavata.registry.api.exception.RegistryServiceException rse)
{
this();
- this.success = success;
this.rse = rse;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public addProcess_result(addProcess_result other) {
- if (other.isSetSuccess()) {
- this.success = other.success;
- }
+ public updateProcess_result(updateProcess_result other) {
if (other.isSetRse()) {
this.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException(other.rse);
}
}
- public addProcess_result deepCopy() {
- return new addProcess_result(this);
+ public updateProcess_result deepCopy() {
+ return new updateProcess_result(this);
}
@Override
public void clear() {
- this.success = null;
this.rse = null;
}
- public java.lang.String getSuccess() {
- return this.success;
- }
-
- public addProcess_result setSuccess(java.lang.String success) {
- this.success = success;
- return this;
- }
-
- public void unsetSuccess() {
- this.success = null;
- }
-
- /** Returns true if field success is set (has been assigned a value) and false otherwise */
- public boolean isSetSuccess() {
- return this.success != null;
- }
-
- public void setSuccessIsSet(boolean value) {
- if (!value) {
- this.success = null;
- }
- }
-
public org.apache.airavata.registry.api.exception.RegistryServiceException getRse() {
return this.rse;
}
- public addProcess_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
+ public updateProcess_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
this.rse = rse;
return this;
}
@@ -70004,14 +70708,6 @@ public class RegistryService {
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
- case SUCCESS:
- if (value == null) {
- unsetSuccess();
- } else {
- setSuccess((java.lang.String)value);
- }
- break;
-
case RSE:
if (value == null) {
unsetRse();
@@ -70025,9 +70721,6 @@ public class RegistryService {
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
- case SUCCESS:
- return getSuccess();
-
case RSE:
return getRse();
@@ -70042,8 +70735,6 @@ public class RegistryService {
}
switch (field) {
- case SUCCESS:
- return isSetSuccess();
case RSE:
return isSetRse();
}
@@ -70054,26 +70745,17 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof addProcess_result)
- return this.equals((addProcess_result)that);
+ if (that instanceof updateProcess_result)
+ return this.equals((updateProcess_result)that);
return false;
}
- public boolean equals(addProcess_result that) {
+ public boolean equals(updateProcess_result that) {
if (that == null)
return false;
if (this == that)
return true;
- boolean this_present_success = true && this.isSetSuccess();
- boolean that_present_success = true && that.isSetSuccess();
- if (this_present_success || that_present_success) {
- if (!(this_present_success && that_present_success))
- return false;
- if (!this.success.equals(that.success))
- return false;
- }
-
boolean this_present_rse = true && this.isSetRse();
boolean that_present_rse = true && that.isSetRse();
if (this_present_rse || that_present_rse) {
@@ -70090,10 +70772,6 @@ public class RegistryService {
public int hashCode() {
int hashCode = 1;
- hashCode = hashCode * 8191 + ((isSetSuccess()) ? 131071 : 524287);
- if (isSetSuccess())
- hashCode = hashCode * 8191 + success.hashCode();
-
hashCode = hashCode * 8191 + ((isSetRse()) ? 131071 : 524287);
if (isSetRse())
hashCode = hashCode * 8191 + rse.hashCode();
@@ -70102,23 +70780,13 @@ public class RegistryService {
}
@Override
- public int compareTo(addProcess_result other) {
+ public int compareTo(updateProcess_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
- lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess());
- if (lastComparison != 0) {
- return lastComparison;
- }
- if (isSetSuccess()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success);
- if (lastComparison != 0) {
- return lastComparison;
- }
- }
lastComparison = java.lang.Boolean.valueOf(isSetRse()).compareTo(other.isSetRse());
if (lastComparison != 0) {
return lastComparison;
@@ -70146,17 +70814,9 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("addProcess_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("updateProcess_result(");
boolean first = true;
- sb.append("success:");
- if (this.success == null) {
- sb.append("null");
- } else {
- sb.append(this.success);
- }
- first = false;
- if (!first) sb.append(", ");
sb.append("rse:");
if (this.rse == null) {
sb.append("null");
@@ -70189,15 +70849,15 @@ public class RegistryService {
}
}
- private static class addProcess_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public addProcess_resultStandardScheme getScheme() {
- return new addProcess_resultStandardScheme();
+ private static class updateProcess_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public updateProcess_resultStandardScheme getScheme() {
+ return new updateProcess_resultStandardScheme();
}
}
- private static class addProcess_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<addProcess_result> {
+ private static class updateProcess_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<updateProcess_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, addProcess_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, updateProcess_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -70207,14 +70867,6 @@ public class RegistryService {
break;
}
switch (schemeField.id) {
- case 0: // SUCCESS
- if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.success = iprot.readString();
- struct.setSuccessIsSet(true);
- } else {
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
- }
- break;
case 1: // RSE
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException();
@@ -70235,15 +70887,10 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, addProcess_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, updateProcess_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
- if (struct.success != null) {
- oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
- oprot.writeString(struct.success);
- oprot.writeFieldEnd();
- }
if (struct.rse != null) {
oprot.writeFieldBegin(RSE_FIELD_DESC);
struct.rse.write(oprot);
@@ -70255,42 +70902,32 @@ public class RegistryService {
}
- private static class addProcess_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public addProcess_resultTupleScheme getScheme() {
- return new addProcess_resultTupleScheme();
+ private static class updateProcess_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public updateProcess_resultTupleScheme getScheme() {
+ return new updateProcess_resultTupleScheme();
}
}
- private static class addProcess_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<addProcess_result> {
+ private static class updateProcess_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<updateProcess_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, addProcess_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, updateProcess_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet optionals = new java.util.BitSet();
- if (struct.isSetSuccess()) {
- optionals.set(0);
- }
if (struct.isSetRse()) {
- optionals.set(1);
- }
- oprot.writeBitSet(optionals, 2);
- if (struct.isSetSuccess()) {
- oprot.writeString(struct.success);
+ optionals.set(0);
}
+ oprot.writeBitSet(optionals, 1);
if (struct.isSetRse()) {
struct.rse.write(oprot);
}
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, addProcess_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, updateProcess_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- java.util.BitSet incoming = iprot.readBitSet(2);
+ java.util.BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
- struct.success = iprot.readString();
- struct.setSuccessIsSet(true);
- }
- if (incoming.get(1)) {
struct.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException();
struct.rse.read(iprot);
struct.setRseIsSet(true);
@@ -70303,21 +70940,21 @@ public class RegistryService {
}
}
- public static class updateProcess_args implements org.apache.thrift.TBase<updateProcess_args, updateProcess_args._Fields>, java.io.Serializable, Cloneable, Comparable<updateProcess_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateProcess_args");
+ public static class addTask_args implements org.apache.thrift.TBase<addTask_args, addTask_args._Fields>, java.io.Serializable, Cloneable, Comparable<addTask_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addTask_args");
- private static final org.apache.thrift.protocol.TField PROCESS_MODEL_FIELD_DESC = new org.apache.thrift.protocol.TField("processModel", org.apache.thrift.protocol.TType.STRUCT, (short)1);
+ private static final org.apache.thrift.protocol.TField TASK_MODEL_FIELD_DESC = new org.apache.thrift.protocol.TField("taskModel", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField PROCESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("processId", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new updateProcess_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new updateProcess_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addTask_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addTask_argsTupleSchemeFactory();
- public org.apache.airavata.model.process.ProcessModel processModel; // required
+ public org.apache.airavata.model.task.TaskModel taskModel; // required
public java.lang.String processId; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
- PROCESS_MODEL((short)1, "processModel"),
+ TASK_MODEL((short)1, "taskModel"),
PROCESS_ID((short)2, "processId");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -70333,8 +70970,8 @@ public class RegistryService {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
- case 1: // PROCESS_MODEL
- return PROCESS_MODEL;
+ case 1: // TASK_MODEL
+ return TASK_MODEL;
case 2: // PROCESS_ID
return PROCESS_ID;
default:
@@ -70380,69 +71017,69 @@ public class RegistryService {
public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
- tmpMap.put(_Fields.PROCESS_MODEL, new org.apache.thrift.meta_data.FieldMetaData("processModel", org.apache.thrift.TFieldRequirementType.REQUIRED,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.process.ProcessModel.class)));
+ tmpMap.put(_Fields.TASK_MODEL, new org.apache.thrift.meta_data.FieldMetaData("taskModel", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.task.TaskModel.class)));
tmpMap.put(_Fields.PROCESS_ID, new org.apache.thrift.meta_data.FieldMetaData("processId", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateProcess_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addTask_args.class, metaDataMap);
}
- public updateProcess_args() {
+ public addTask_args() {
}
- public updateProcess_args(
- org.apache.airavata.model.process.ProcessModel processModel,
+ public addTask_args(
+ org.apache.airavata.model.task.TaskModel taskModel,
java.lang.String processId)
{
this();
- this.processModel = processModel;
+ this.taskModel = taskModel;
this.processId = processId;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public updateProcess_args(updateProcess_args other) {
- if (other.isSetProcessModel()) {
- this.processModel = new org.apache.airavata.model.process.ProcessModel(other.processModel);
+ public addTask_args(addTask_args other) {
+ if (other.isSetTaskModel()) {
+ this.taskModel = new org.apache.airavata.model.task.TaskModel(other.taskModel);
}
if (other.isSetProcessId()) {
this.processId = other.processId;
}
}
- public updateProcess_args deepCopy() {
- return new updateProcess_args(this);
+ public addTask_args deepCopy() {
+ return new addTask_args(this);
}
@Override
public void clear() {
- this.processModel = null;
+ this.taskModel = null;
this.processId = null;
}
- public org.apache.airavata.model.process.ProcessModel getProcessModel() {
- return this.processModel;
+ public org.apache.airavata.model.task.TaskModel getTaskModel() {
+ return this.taskModel;
}
- public updateProcess_args setProcessModel(org.apache.airavata.model.process.ProcessModel processModel) {
- this.processModel = processModel;
+ public addTask_args setTaskModel(org.apache.airavata.model.task.TaskModel taskModel) {
+ this.taskModel = taskModel;
return this;
}
- public void unsetProcessModel() {
- this.processModel = null;
+ public void unsetTaskModel() {
+ this.taskModel = null;
}
- /** Returns true if field processModel is set (has been assigned a value) and false otherwise */
- public boolean isSetProcessModel() {
- return this.processModel != null;
+ /** Returns true if field taskModel is set (has been assigned a value) and false otherwise */
+ public boolean isSetTaskModel() {
+ return this.taskModel != null;
}
- public void setProcessModelIsSet(boolean value) {
+ public void setTaskModelIsSet(boolean value) {
if (!value) {
- this.processModel = null;
+ this.taskModel = null;
}
}
@@ -70450,7 +71087,7 @@ public class RegistryService {
return this.processId;
}
- public updateProcess_args setProcessId(java.lang.String processId) {
+ public addTask_args setProcessId(java.lang.String processId) {
this.processId = processId;
return this;
}
@@ -70472,11 +71109,11 @@ public class RegistryService {
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
- case PROCESS_MODEL:
+ case TASK_MODEL:
if (value == null) {
- unsetProcessModel();
+ unsetTaskModel();
} else {
- setProcessModel((org.apache.airavata.model.process.ProcessModel)value);
+ setTaskModel((org.apache.airavata.model.task.TaskModel)value);
}
break;
@@ -70493,8 +71130,8 @@ public class RegistryService {
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
- case PROCESS_MODEL:
- return getProcessModel();
+ case TASK_MODEL:
+ return getTaskModel();
case PROCESS_ID:
return getProcessId();
@@ -70510,8 +71147,8 @@ public class RegistryService {
}
switch (field) {
- case PROCESS_MODEL:
- return isSetProcessModel();
+ case TASK_MODEL:
+ return isSetTaskModel();
case PROCESS_ID:
return isSetProcessId();
}
@@ -70522,23 +71159,23 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof updateProcess_args)
- return this.equals((updateProcess_args)that);
+ if (that instanceof addTask_args)
+ return this.equals((addTask_args)that);
return false;
}
- public boolean equals(updateProcess_args that) {
+ public boolean equals(addTask_args that) {
if (that == null)
return false;
if (this == that)
return true;
- boolean this_present_processModel = true && this.isSetProcessModel();
- boolean that_present_processModel = true && that.isSetProcessModel();
- if (this_present_processModel || that_present_processModel) {
- if (!(this_present_processModel && that_present_processModel))
+ boolean this_present_taskModel = true && this.isSetTaskModel();
+ boolean that_present_taskModel = true && that.isSetTaskModel();
+ if (this_present_taskModel || that_present_taskModel) {
+ if (!(this_present_taskModel && that_present_taskModel))
return false;
- if (!this.processModel.equals(that.processModel))
+ if (!this.taskModel.equals(that.taskModel))
return false;
}
@@ -70558,9 +71195,9 @@ public class RegistryService {
public int hashCode() {
int hashCode = 1;
- hashCode = hashCode * 8191 + ((isSetProcessModel()) ? 131071 : 524287);
- if (isSetProcessModel())
- hashCode = hashCode * 8191 + processModel.hashCode();
+ hashCode = hashCode * 8191 + ((isSetTaskModel()) ? 131071 : 524287);
+ if (isSetTaskModel())
+ hashCode = hashCode * 8191 + taskModel.hashCode();
hashCode = hashCode * 8191 + ((isSetProcessId()) ? 131071 : 524287);
if (isSetProcessId())
@@ -70570,19 +71207,19 @@ public class RegistryService {
}
@Override
- public int compareTo(updateProcess_args other) {
+ public int compareTo(addTask_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
- lastComparison = java.lang.Boolean.valueOf(isSetProcessModel()).compareTo(other.isSetProcessModel());
+ lastComparison = java.lang.Boolean.valueOf(isSetTaskModel()).compareTo(other.isSetTaskModel());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetProcessModel()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processModel, other.processModel);
+ if (isSetTaskModel()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskModel, other.taskModel);
if (lastComparison != 0) {
return lastComparison;
}
@@ -70614,14 +71251,14 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("updateProcess_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("addTask_args(");
boolean first = true;
- sb.append("processModel:");
- if (this.processModel == null) {
+ sb.append("taskModel:");
+ if (this.taskModel == null) {
sb.append("null");
} else {
- sb.append(this.processModel);
+ sb.append(this.taskModel);
}
first = false;
if (!first) sb.append(", ");
@@ -70638,15 +71275,15 @@ public class RegistryService {
public void validate() throws org.apache.thrift.TException {
// check for required fields
- if (processModel == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'processModel' was not present! Struct: " + toString());
+ if (taskModel == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'taskModel' was not present! Struct: " + toString());
}
if (processId == null) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'processId' was not present! Struct: " + toString());
}
// check for sub-struct validity
- if (processModel != null) {
- processModel.validate();
+ if (taskModel != null) {
+ taskModel.validate();
}
}
@@ -70666,15 +71303,15 @@ public class RegistryService {
}
}
- private static class updateProcess_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public updateProcess_argsStandardScheme getScheme() {
- return new updateProcess_argsStandardScheme();
+ private static class addTask_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public addTask_argsStandardScheme getScheme() {
+ return new addTask_argsStandardScheme();
}
}
- private static class updateProcess_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<updateProcess_args> {
+ private static class addTask_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<addTask_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, updateProcess_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, addTask_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -70684,11 +71321,11 @@ public class RegistryService {
break;
}
switch (schemeField.id) {
- case 1: // PROCESS_MODEL
+ case 1: // TASK_MODEL
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.processModel = new org.apache.airavata.model.process.ProcessModel();
- struct.processModel.read(iprot);
- struct.setProcessModelIsSet(true);
+ struct.taskModel = new org.apache.airavata.model.task.TaskModel();
+ struct.taskModel.read(iprot);
+ struct.setTaskModelIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -70712,13 +71349,13 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, updateProcess_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, addTask_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
- if (struct.processModel != null) {
- oprot.writeFieldBegin(PROCESS_MODEL_FIELD_DESC);
- struct.processModel.write(oprot);
+ if (struct.taskModel != null) {
+ oprot.writeFieldBegin(TASK_MODEL_FIELD_DESC);
+ struct.taskModel.write(oprot);
oprot.writeFieldEnd();
}
if (struct.processId != null) {
@@ -70732,27 +71369,27 @@ public class RegistryService {
}
- private static class updateProcess_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public updateProcess_argsTupleScheme getScheme() {
- return new updateProcess_argsTupleScheme();
+ private static class addTask_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public addTask_argsTupleScheme getScheme() {
+ return new addTask_argsTupleScheme();
}
}
- private static class updateProcess_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<updateProcess_args> {
+ private static class addTask_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<addTask_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, updateProcess_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, addTask_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- struct.processModel.write(oprot);
+ struct.taskModel.write(oprot);
oprot.writeString(struct.processId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, updateProcess_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, addTask_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- struct.processModel = new org.apache.airavata.model.process.ProcessModel();
- struct.processModel.read(iprot);
- struct.setProcessModelIsSet(true);
+ struct.taskModel = new org.apache.airavata.model.task.TaskModel();
+ struct.taskModel.read(iprot);
+ struct.setTaskModelIsSet(true);
struct.processId = iprot.readString();
struct.setProcessIdIsSet(true);
}
@@ -70763,18 +71400,21 @@ public class RegistryService {
}
}
- public static class updateProcess_result implements org.apache.thrift.TBase<updateProcess_result, updateProcess_result._Fields>, java.io.Serializable, Cloneable, Comparable<updateProcess_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateProcess_result");
+ public static class addTask_result implements org.apache.thrift.TBase<addTask_result, addTask_result._Fields>, java.io.Serializable, Cloneable, Comparable<addTask_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addTask_result");
+ private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0);
private static final org.apache.thrift.protocol.TField RSE_FIELD_DESC = new org.apache.thrift.protocol.TField("rse", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new updateProcess_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new updateProcess_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addTask_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addTask_resultTupleSchemeFactory();
+ public java.lang.String success; // required
public org.apache.airavata.registry.api.exception.RegistryServiceException rse; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+ SUCCESS((short)0, "success"),
RSE((short)1, "rse");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -70790,6 +71430,8 @@ public class RegistryService {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
+ case 0: // SUCCESS
+ return SUCCESS;
case 1: // RSE
return RSE;
default:
@@ -70835,45 +71477,77 @@ public class RegistryService {
public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+ tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
tmpMap.put(_Fields.RSE, new org.apache.thrift.meta_data.FieldMetaData("rse", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.registry.api.exception.RegistryServiceException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateProcess_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addTask_result.class, metaDataMap);
}
- public updateProcess_result() {
+ public addTask_result() {
}
- public updateProcess_result(
+ public addTask_result(
+ java.lang.String success,
org.apache.airavata.registry.api.exception.RegistryServiceException rse)
{
this();
+ this.success = success;
this.rse = rse;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public updateProcess_result(updateProcess_result other) {
+ public addTask_result(addTask_result other) {
+ if (other.isSetSuccess()) {
+ this.success = other.success;
+ }
if (other.isSetRse()) {
this.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException(other.rse);
}
}
- public updateProcess_result deepCopy() {
- return new updateProcess_result(this);
+ public addTask_result deepCopy() {
+ return new addTask_result(this);
}
@Override
public void clear() {
+ this.success = null;
this.rse = null;
}
+ public java.lang.String getSuccess() {
+ return this.success;
+ }
+
+ public addTask_result setSuccess(java.lang.String success) {
+ this.success = success;
+ return this;
+ }
+
+ public void unsetSuccess() {
+ this.success = null;
+ }
+
+ /** Returns true if field success is set (has been assigned a value) and false otherwise */
+ public boolean isSetSuccess() {
+ return this.success != null;
+ }
+
+ public void setSuccessIsSet(boolean value) {
+ if (!value) {
+ this.success = null;
+ }
+ }
+
public org.apache.airavata.registry.api.exception.RegistryServiceException getRse() {
return this.rse;
}
- public updateProcess_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
+ public addTask_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
this.rse = rse;
return this;
}
@@ -70895,6 +71569,14 @@ public class RegistryService {
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
+ case SUCCESS:
+ if (value == null) {
+ unsetSuccess();
+ } else {
+ setSuccess((java.lang.String)value);
+ }
+ break;
+
case RSE:
if (value == null) {
unsetRse();
@@ -70908,6 +71590,9 @@ public class RegistryService {
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
+ case SUCCESS:
+ return getSuccess();
+
case RSE:
return getRse();
@@ -70922,6 +71607,8 @@ public class RegistryService {
}
switch (field) {
+ case SUCCESS:
+ return isSetSuccess();
case RSE:
return isSetRse();
}
@@ -70932,17 +71619,26 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof updateProcess_result)
- return this.equals((updateProcess_result)that);
+ if (that instanceof addTask_result)
+ return this.equals((addTask_result)that);
return false;
}
- public boolean equals(updateProcess_result that) {
+ public boolean equals(addTask_result that) {
if (that == null)
return false;
if (this == that)
return true;
+ boolean this_present_success = true && this.isSetSuccess();
+ boolean that_present_success = true && that.isSetSuccess();
+ if (this_present_success || that_present_success) {
+ if (!(this_present_success && that_present_success))
+ return false;
+ if (!this.success.equals(that.success))
+ return false;
+ }
+
boolean this_present_rse = true && this.isSetRse();
boolean that_present_rse = true && that.isSetRse();
if (this_present_rse || that_present_rse) {
@@ -70959,6 +71655,10 @@ public class RegistryService {
public int hashCode() {
int hashCode = 1;
+ hashCode = hashCode * 8191 + ((isSetSuccess()) ? 131071 : 524287);
+ if (isSetSuccess())
+ hashCode = hashCode * 8191 + success.hashCode();
+
hashCode = hashCode * 8191 + ((isSetRse()) ? 131071 : 524287);
if (isSetRse())
hashCode = hashCode * 8191 + rse.hashCode();
@@ -70967,13 +71667,23 @@ public class RegistryService {
}
@Override
- public int compareTo(updateProcess_result other) {
+ public int compareTo(addTask_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
+ lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetSuccess()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
lastComparison = java.lang.Boolean.valueOf(isSetRse()).compareTo(other.isSetRse());
if (lastComparison != 0) {
return lastComparison;
@@ -71001,9 +71711,17 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("updateProcess_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("addTask_result(");
boolean first = true;
+ sb.append("success:");
+ if (this.success == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.success);
+ }
+ first = false;
+ if (!first) sb.append(", ");
sb.append("rse:");
if (this.rse == null) {
sb.append("null");
@@ -71036,15 +71754,15 @@ public class RegistryService {
}
}
- private static class updateProcess_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public updateProcess_resultStandardScheme getScheme() {
- return new updateProcess_resultStandardScheme();
+ private static class addTask_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public addTask_resultStandardScheme getScheme() {
+ return new addTask_resultStandardScheme();
}
}
- private static class updateProcess_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<updateProcess_result> {
+ private static class addTask_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<addTask_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, updateProcess_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, addTask_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -71054,6 +71772,14 @@ public class RegistryService {
break;
}
switch (schemeField.id) {
+ case 0: // SUCCESS
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+ struct.success = iprot.readString();
+ struct.setSuccessIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
case 1: // RSE
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException();
@@ -71074,10 +71800,15 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, updateProcess_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, addTask_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
+ if (struct.success != null) {
+ oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
+ oprot.writeString(struct.success);
+ oprot.writeFieldEnd();
+ }
if (struct.rse != null) {
oprot.writeFieldBegin(RSE_FIELD_DESC);
struct.rse.write(oprot);
@@ -71089,32 +71820,42 @@ public class RegistryService {
}
- private static class updateProcess_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public updateProcess_resultTupleScheme getScheme() {
- return new updateProcess_resultTupleScheme();
+ private static class addTask_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public addTask_resultTupleScheme getScheme() {
+ return new addTask_resultTupleScheme();
}
}
- private static class updateProcess_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<updateProcess_result> {
+ private static class addTask_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<addTask_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, updateProcess_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, addTask_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet optionals = new java.util.BitSet();
- if (struct.isSetRse()) {
+ if (struct.isSetSuccess()) {
optionals.set(0);
}
- oprot.writeBitSet(optionals, 1);
+ if (struct.isSetRse()) {
+ optionals.set(1);
+ }
+ oprot.writeBitSet(optionals, 2);
+ if (struct.isSetSuccess()) {
+ oprot.writeString(struct.success);
+ }
if (struct.isSetRse()) {
struct.rse.write(oprot);
}
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, updateProcess_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, addTask_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- java.util.BitSet incoming = iprot.readBitSet(1);
+ java.util.BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
+ struct.success = iprot.readString();
+ struct.setSuccessIsSet(true);
+ }
+ if (incoming.get(1)) {
struct.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException();
struct.rse.read(iprot);
struct.setRseIsSet(true);
@@ -71127,22 +71868,19 @@ public class RegistryService {
}
}
- public static class addTask_args implements org.apache.thrift.TBase<addTask_args, addTask_args._Fields>, java.io.Serializable, Cloneable, Comparable<addTask_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addTask_args");
+ public static class getUserConfigurationData_args implements org.apache.thrift.TBase<getUserConfigurationData_args, getUserConfigurationData_args._Fields>, java.io.Serializable, Cloneable, Comparable<getUserConfigurationData_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserConfigurationData_args");
- private static final org.apache.thrift.protocol.TField TASK_MODEL_FIELD_DESC = new org.apache.thrift.protocol.TField("taskModel", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.protocol.TField PROCESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("processId", org.apache.thrift.protocol.TType.STRING, (short)2);
+ private static final org.apache.thrift.protocol.TField EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentId", org.apache.thrift.protocol.TType.STRING, (short)1);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addTask_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addTask_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getUserConfigurationData_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getUserConfigurationData_argsTupleSchemeFactory();
- public org.apache.airavata.model.task.TaskModel taskModel; // required
- public java.lang.String processId; // required
+ public java.lang.String experimentId; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
- TASK_MODEL((short)1, "taskModel"),
- PROCESS_ID((short)2, "processId");
+ EXPERIMENT_ID((short)1, "experimentId");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -71157,10 +71895,8 @@ public class RegistryService {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
- case 1: // TASK_MODEL
- return TASK_MODEL;
- case 2: // PROCESS_ID
- return PROCESS_ID;
+ case 1: // EXPERIMENT_ID
+ return EXPERIMENT_ID;
default:
return null;
}
@@ -71204,111 +71940,71 @@ public class RegistryService {
public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
- tmpMap.put(_Fields.TASK_MODEL, new org.apache.thrift.meta_data.FieldMetaData("taskModel", org.apache.thrift.TFieldRequirementType.REQUIRED,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.task.TaskModel.class)));
- tmpMap.put(_Fields.PROCESS_ID, new org.apache.thrift.meta_data.FieldMetaData("processId", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ tmpMap.put(_Fields.EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("experimentId", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addTask_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserConfigurationData_args.class, metaDataMap);
}
- public addTask_args() {
+ public getUserConfigurationData_args() {
}
- public addTask_args(
- org.apache.airavata.model.task.TaskModel taskModel,
- java.lang.String processId)
+ public getUserConfigurationData_args(
+ java.lang.String experimentId)
{
this();
- this.taskModel = taskModel;
- this.processId = processId;
+ this.experimentId = experimentId;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public addTask_args(addTask_args other) {
- if (other.isSetTaskModel()) {
- this.taskModel = new org.apache.airavata.model.task.TaskModel(other.taskModel);
- }
- if (other.isSetProcessId()) {
- this.processId = other.processId;
+ public getUserConfigurationData_args(getUserConfigurationData_args other) {
+ if (other.isSetExperimentId()) {
+ this.experimentId = other.experimentId;
}
}
- public addTask_args deepCopy() {
- return new addTask_args(this);
+ public getUserConfigurationData_args deepCopy() {
+ return new getUserConfigurationData_args(this);
}
@Override
public void clear() {
- this.taskModel = null;
- this.processId = null;
- }
-
- public org.apache.airavata.model.task.TaskModel getTaskModel() {
- return this.taskModel;
- }
-
- public addTask_args setTaskModel(org.apache.airavata.model.task.TaskModel taskModel) {
- this.taskModel = taskModel;
- return this;
- }
-
- public void unsetTaskModel() {
- this.taskModel = null;
- }
-
- /** Returns true if field taskModel is set (has been assigned a value) and false otherwise */
- public boolean isSetTaskModel() {
- return this.taskModel != null;
- }
-
- public void setTaskModelIsSet(boolean value) {
- if (!value) {
- this.taskModel = null;
- }
+ this.experimentId = null;
}
- public java.lang.String getProcessId() {
- return this.processId;
+ public java.lang.String getExperimentId() {
+ return this.experimentId;
}
- public addTask_args setProcessId(java.lang.String processId) {
- this.processId = processId;
+ public getUserConfigurationData_args setExperimentId(java.lang.String experimentId) {
+ this.experimentId = experimentId;
return this;
}
- public void unsetProcessId() {
- this.processId = null;
+ public void unsetExperimentId() {
+ this.experimentId = null;
}
- /** Returns true if field processId is set (has been assigned a value) and false otherwise */
- public boolean isSetProcessId() {
- return this.processId != null;
+ /** Returns true if field experimentId is set (has been assigned a value) and false otherwise */
+ public boolean isSetExperimentId() {
+ return this.experimentId != null;
}
- public void setProcessIdIsSet(boolean value) {
+ public void setExperimentIdIsSet(boolean value) {
if (!value) {
- this.processId = null;
+ this.experimentId = null;
}
}
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
- case TASK_MODEL:
- if (value == null) {
- unsetTaskModel();
- } else {
- setTaskModel((org.apache.airavata.model.task.TaskModel)value);
- }
- break;
-
- case PROCESS_ID:
+ case EXPERIMENT_ID:
if (value == null) {
- unsetProcessId();
+ unsetExperimentId();
} else {
- setProcessId((java.lang.String)value);
+ setExperimentId((java.lang.String)value);
}
break;
@@ -71317,11 +72013,8 @@ public class RegistryService {
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
- case TASK_MODEL:
- return getTaskModel();
-
- case PROCESS_ID:
- return getProcessId();
+ case EXPERIMENT_ID:
+ return getExperimentId();
}
throw new java.lang.IllegalStateException();
@@ -71334,10 +72027,8 @@ public class RegistryService {
}
switch (field) {
- case TASK_MODEL:
- return isSetTaskModel();
- case PROCESS_ID:
- return isSetProcessId();
+ case EXPERIMENT_ID:
+ return isSetExperimentId();
}
throw new java.lang.IllegalStateException();
}
@@ -71346,32 +72037,23 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof addTask_args)
- return this.equals((addTask_args)that);
+ if (that instanceof getUserConfigurationData_args)
+ return this.equals((getUserConfigurationData_args)that);
return false;
}
- public boolean equals(addTask_args that) {
+ public boolean equals(getUserConfigurationData_args that) {
if (that == null)
return false;
if (this == that)
return true;
- boolean this_present_taskModel = true && this.isSetTaskModel();
- boolean that_present_taskModel = true && that.isSetTaskModel();
- if (this_present_taskModel || that_present_taskModel) {
- if (!(this_present_taskModel && that_present_taskModel))
- return false;
- if (!this.taskModel.equals(that.taskModel))
- return false;
- }
-
- boolean this_present_processId = true && this.isSetProcessId();
- boolean that_present_processId = true && that.isSetProcessId();
- if (this_present_processId || that_present_processId) {
- if (!(this_present_processId && that_present_processId))
+ boolean this_present_experimentId = true && this.isSetExperimentId();
+ boolean that_present_experimentId = true && that.isSetExperimentId();
+ if (this_present_experimentId || that_present_experimentId) {
+ if (!(this_present_experimentId && that_present_experimentId))
return false;
- if (!this.processId.equals(that.processId))
+ if (!this.experimentId.equals(that.experimentId))
return false;
}
@@ -71382,41 +72064,27 @@ public class RegistryService {
public int hashCode() {
int hashCode = 1;
- hashCode = hashCode * 8191 + ((isSetTaskModel()) ? 131071 : 524287);
- if (isSetTaskModel())
- hashCode = hashCode * 8191 + taskModel.hashCode();
-
- hashCode = hashCode * 8191 + ((isSetProcessId()) ? 131071 : 524287);
- if (isSetProcessId())
- hashCode = hashCode * 8191 + processId.hashCode();
+ hashCode = hashCode * 8191 + ((isSetExperimentId()) ? 131071 : 524287);
+ if (isSetExperimentId())
+ hashCode = hashCode * 8191 + experimentId.hashCode();
return hashCode;
}
@Override
- public int compareTo(addTask_args other) {
+ public int compareTo(getUserConfigurationData_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
- lastComparison = java.lang.Boolean.valueOf(isSetTaskModel()).compareTo(other.isSetTaskModel());
- if (lastComparison != 0) {
- return lastComparison;
- }
- if (isSetTaskModel()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.taskModel, other.taskModel);
- if (lastComparison != 0) {
- return lastComparison;
- }
- }
- lastComparison = java.lang.Boolean.valueOf(isSetProcessId()).compareTo(other.isSetProcessId());
+ lastComparison = java.lang.Boolean.valueOf(isSetExperimentId()).compareTo(other.isSetExperimentId());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetProcessId()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processId, other.processId);
+ if (isSetExperimentId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentId, other.experimentId);
if (lastComparison != 0) {
return lastComparison;
}
@@ -71438,22 +72106,14 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("addTask_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getUserConfigurationData_args(");
boolean first = true;
- sb.append("taskModel:");
- if (this.taskModel == null) {
- sb.append("null");
- } else {
- sb.append(this.taskModel);
- }
- first = false;
- if (!first) sb.append(", ");
- sb.append("processId:");
- if (this.processId == null) {
+ sb.append("experimentId:");
+ if (this.experimentId == null) {
sb.append("null");
} else {
- sb.append(this.processId);
+ sb.append(this.experimentId);
}
first = false;
sb.append(")");
@@ -71462,16 +72122,10 @@ public class RegistryService {
public void validate() throws org.apache.thrift.TException {
// check for required fields
- if (taskModel == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'taskModel' was not present! Struct: " + toString());
- }
- if (processId == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'processId' was not present! Struct: " + toString());
+ if (experimentId == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentId' was not present! Struct: " + toString());
}
// check for sub-struct validity
- if (taskModel != null) {
- taskModel.validate();
- }
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -71490,15 +72144,15 @@ public class RegistryService {
}
}
- private static class addTask_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public addTask_argsStandardScheme getScheme() {
- return new addTask_argsStandardScheme();
+ private static class getUserConfigurationData_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getUserConfigurationData_argsStandardScheme getScheme() {
+ return new getUserConfigurationData_argsStandardScheme();
}
}
- private static class addTask_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<addTask_args> {
+ private static class getUserConfigurationData_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getUserConfigurationData_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, addTask_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getUserConfigurationData_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -71508,19 +72162,10 @@ public class RegistryService {
break;
}
switch (schemeField.id) {
- case 1: // TASK_MODEL
- if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.taskModel = new org.apache.airavata.model.task.TaskModel();
- struct.taskModel.read(iprot);
- struct.setTaskModelIsSet(true);
- } else {
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
- }
- break;
- case 2: // PROCESS_ID
+ case 1: // EXPERIMENT_ID
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.processId = iprot.readString();
- struct.setProcessIdIsSet(true);
+ struct.experimentId = iprot.readString();
+ struct.setExperimentIdIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -71536,18 +72181,13 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, addTask_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getUserConfigurationData_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
- if (struct.taskModel != null) {
- oprot.writeFieldBegin(TASK_MODEL_FIELD_DESC);
- struct.taskModel.write(oprot);
- oprot.writeFieldEnd();
- }
- if (struct.processId != null) {
- oprot.writeFieldBegin(PROCESS_ID_FIELD_DESC);
- oprot.writeString(struct.processId);
+ if (struct.experimentId != null) {
+ oprot.writeFieldBegin(EXPERIMENT_ID_FIELD_DESC);
+ oprot.writeString(struct.experimentId);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
@@ -71556,29 +72196,25 @@ public class RegistryService {
}
- private static class addTask_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public addTask_argsTupleScheme getScheme() {
- return new addTask_argsTupleScheme();
+ private static class getUserConfigurationData_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getUserConfigurationData_argsTupleScheme getScheme() {
+ return new getUserConfigurationData_argsTupleScheme();
}
}
- private static class addTask_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<addTask_args> {
+ private static class getUserConfigurationData_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getUserConfigurationData_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, addTask_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getUserConfigurationData_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- struct.taskModel.write(oprot);
- oprot.writeString(struct.processId);
+ oprot.writeString(struct.experimentId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, addTask_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getUserConfigurationData_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- struct.taskModel = new org.apache.airavata.model.task.TaskModel();
- struct.taskModel.read(iprot);
- struct.setTaskModelIsSet(true);
- struct.processId = iprot.readString();
- struct.setProcessIdIsSet(true);
+ struct.experimentId = iprot.readString();
+ struct.setExperimentIdIsSet(true);
}
}
@@ -71587,16 +72223,16 @@ public class RegistryService {
}
}
- public static class addTask_result implements org.apache.thrift.TBase<addTask_result, addTask_result._Fields>, java.io.Serializable, Cloneable, Comparable<addTask_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("addTask_result");
+ public static class getUserConfigurationData_result implements org.apache.thrift.TBase<getUserConfigurationData_result, getUserConfigurationData_result._Fields>, java.io.Serializable, Cloneable, Comparable<getUserConfigurationData_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserConfigurationData_result");
- private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0);
+ private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
private static final org.apache.thrift.protocol.TField RSE_FIELD_DESC = new org.apache.thrift.protocol.TField("rse", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new addTask_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new addTask_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getUserConfigurationData_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getUserConfigurationData_resultTupleSchemeFactory();
- public java.lang.String success; // required
+ public org.apache.airavata.model.experiment.UserConfigurationDataModel success; // required
public org.apache.airavata.registry.api.exception.RegistryServiceException rse; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@@ -71665,18 +72301,18 @@ public class RegistryService {
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.experiment.UserConfigurationDataModel.class)));
tmpMap.put(_Fields.RSE, new org.apache.thrift.meta_data.FieldMetaData("rse", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.registry.api.exception.RegistryServiceException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(addTask_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserConfigurationData_result.class, metaDataMap);
}
- public addTask_result() {
+ public getUserConfigurationData_result() {
}
- public addTask_result(
- java.lang.String success,
+ public getUserConfigurationData_result(
+ org.apache.airavata.model.experiment.UserConfigurationDataModel success,
org.apache.airavata.registry.api.exception.RegistryServiceException rse)
{
this();
@@ -71687,17 +72323,17 @@ public class RegistryService {
/**
* Performs a deep copy on <i>other</i>.
*/
- public addTask_result(addTask_result other) {
+ public getUserConfigurationData_result(getUserConfigurationData_result other) {
if (other.isSetSuccess()) {
- this.success = other.success;
+ this.success = new org.apache.airavata.model.experiment.UserConfigurationDataModel(other.success);
}
if (other.isSetRse()) {
this.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException(other.rse);
}
}
- public addTask_result deepCopy() {
- return new addTask_result(this);
+ public getUserConfigurationData_result deepCopy() {
+ return new getUserConfigurationData_result(this);
}
@Override
@@ -71706,11 +72342,11 @@ public class RegistryService {
this.rse = null;
}
- public java.lang.String getSuccess() {
+ public org.apache.airavata.model.experiment.UserConfigurationDataModel getSuccess() {
return this.success;
}
- public addTask_result setSuccess(java.lang.String success) {
+ public getUserConfigurationData_result setSuccess(org.apache.airavata.model.experiment.UserConfigurationDataModel success) {
this.success = success;
return this;
}
@@ -71734,7 +72370,7 @@ public class RegistryService {
return this.rse;
}
- public addTask_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
+ public getUserConfigurationData_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
this.rse = rse;
return this;
}
@@ -71760,7 +72396,7 @@ public class RegistryService {
if (value == null) {
unsetSuccess();
} else {
- setSuccess((java.lang.String)value);
+ setSuccess((org.apache.airavata.model.experiment.UserConfigurationDataModel)value);
}
break;
@@ -71806,12 +72442,12 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof addTask_result)
- return this.equals((addTask_result)that);
+ if (that instanceof getUserConfigurationData_result)
+ return this.equals((getUserConfigurationData_result)that);
return false;
}
- public boolean equals(addTask_result that) {
+ public boolean equals(getUserConfigurationData_result that) {
if (that == null)
return false;
if (this == that)
@@ -71854,7 +72490,7 @@ public class RegistryService {
}
@Override
- public int compareTo(addTask_result other) {
+ public int compareTo(getUserConfigurationData_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -71898,7 +72534,7 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("addTask_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getUserConfigurationData_result(");
boolean first = true;
sb.append("success:");
@@ -71923,6 +72559,9 @@ public class RegistryService {
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
+ if (success != null) {
+ success.validate();
+ }
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -71941,15 +72580,15 @@ public class RegistryService {
}
}
- private static class addTask_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public addTask_resultStandardScheme getScheme() {
- return new addTask_resultStandardScheme();
+ private static class getUserConfigurationData_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getUserConfigurationData_resultStandardScheme getScheme() {
+ return new getUserConfigurationData_resultStandardScheme();
}
}
- private static class addTask_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<addTask_result> {
+ private static class getUserConfigurationData_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getUserConfigurationData_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, addTask_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getUserConfigurationData_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -71960,8 +72599,9 @@ public class RegistryService {
}
switch (schemeField.id) {
case 0: // SUCCESS
- if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.success = iprot.readString();
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.success = new org.apache.airavata.model.experiment.UserConfigurationDataModel();
+ struct.success.read(iprot);
struct.setSuccessIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@@ -71987,13 +72627,13 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, addTask_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getUserConfigurationData_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.success != null) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
- oprot.writeString(struct.success);
+ struct.success.write(oprot);
oprot.writeFieldEnd();
}
if (struct.rse != null) {
@@ -72007,16 +72647,16 @@ public class RegistryService {
}
- private static class addTask_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public addTask_resultTupleScheme getScheme() {
- return new addTask_resultTupleScheme();
+ private static class getUserConfigurationData_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getUserConfigurationData_resultTupleScheme getScheme() {
+ return new getUserConfigurationData_resultTupleScheme();
}
}
- private static class addTask_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<addTask_result> {
+ private static class getUserConfigurationData_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getUserConfigurationData_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, addTask_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getUserConfigurationData_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet optionals = new java.util.BitSet();
if (struct.isSetSuccess()) {
@@ -72027,7 +72667,7 @@ public class RegistryService {
}
oprot.writeBitSet(optionals, 2);
if (struct.isSetSuccess()) {
- oprot.writeString(struct.success);
+ struct.success.write(oprot);
}
if (struct.isSetRse()) {
struct.rse.write(oprot);
@@ -72035,11 +72675,12 @@ public class RegistryService {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, addTask_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getUserConfigurationData_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
- struct.success = iprot.readString();
+ struct.success = new org.apache.airavata.model.experiment.UserConfigurationDataModel();
+ struct.success.read(iprot);
struct.setSuccessIsSet(true);
}
if (incoming.get(1)) {
@@ -72055,19 +72696,19 @@ public class RegistryService {
}
}
- public static class getUserConfigurationData_args implements org.apache.thrift.TBase<getUserConfigurationData_args, getUserConfigurationData_args._Fields>, java.io.Serializable, Cloneable, Comparable<getUserConfigurationData_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserConfigurationData_args");
+ public static class getProcess_args implements org.apache.thrift.TBase<getProcess_args, getProcess_args._Fields>, java.io.Serializable, Cloneable, Comparable<getProcess_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProcess_args");
- private static final org.apache.thrift.protocol.TField EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentId", org.apache.thrift.protocol.TType.STRING, (short)1);
+ private static final org.apache.thrift.protocol.TField PROCESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("processId", org.apache.thrift.protocol.TType.STRING, (short)1);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getUserConfigurationData_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getUserConfigurationData_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getProcess_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getProcess_argsTupleSchemeFactory();
- public java.lang.String experimentId; // required
+ public java.lang.String processId; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
- EXPERIMENT_ID((short)1, "experimentId");
+ PROCESS_ID((short)1, "processId");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -72082,8 +72723,8 @@ public class RegistryService {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
- case 1: // EXPERIMENT_ID
- return EXPERIMENT_ID;
+ case 1: // PROCESS_ID
+ return PROCESS_ID;
default:
return null;
}
@@ -72127,71 +72768,71 @@ public class RegistryService {
public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
- tmpMap.put(_Fields.EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("experimentId", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ tmpMap.put(_Fields.PROCESS_ID, new org.apache.thrift.meta_data.FieldMetaData("processId", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserConfigurationData_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getProcess_args.class, metaDataMap);
}
- public getUserConfigurationData_args() {
+ public getProcess_args() {
}
- public getUserConfigurationData_args(
- java.lang.String experimentId)
+ public getProcess_args(
+ java.lang.String processId)
{
this();
- this.experimentId = experimentId;
+ this.processId = processId;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public getUserConfigurationData_args(getUserConfigurationData_args other) {
- if (other.isSetExperimentId()) {
- this.experimentId = other.experimentId;
+ public getProcess_args(getProcess_args other) {
+ if (other.isSetProcessId()) {
+ this.processId = other.processId;
}
}
- public getUserConfigurationData_args deepCopy() {
- return new getUserConfigurationData_args(this);
+ public getProcess_args deepCopy() {
+ return new getProcess_args(this);
}
@Override
public void clear() {
- this.experimentId = null;
+ this.processId = null;
}
- public java.lang.String getExperimentId() {
- return this.experimentId;
+ public java.lang.String getProcessId() {
+ return this.processId;
}
- public getUserConfigurationData_args setExperimentId(java.lang.String experimentId) {
- this.experimentId = experimentId;
+ public getProcess_args setProcessId(java.lang.String processId) {
+ this.processId = processId;
return this;
}
- public void unsetExperimentId() {
- this.experimentId = null;
+ public void unsetProcessId() {
+ this.processId = null;
}
- /** Returns true if field experimentId is set (has been assigned a value) and false otherwise */
- public boolean isSetExperimentId() {
- return this.experimentId != null;
+ /** Returns true if field processId is set (has been assigned a value) and false otherwise */
+ public boolean isSetProcessId() {
+ return this.processId != null;
}
- public void setExperimentIdIsSet(boolean value) {
+ public void setProcessIdIsSet(boolean value) {
if (!value) {
- this.experimentId = null;
+ this.processId = null;
}
}
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
- case EXPERIMENT_ID:
+ case PROCESS_ID:
if (value == null) {
- unsetExperimentId();
+ unsetProcessId();
} else {
- setExperimentId((java.lang.String)value);
+ setProcessId((java.lang.String)value);
}
break;
@@ -72200,8 +72841,8 @@ public class RegistryService {
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
- case EXPERIMENT_ID:
- return getExperimentId();
+ case PROCESS_ID:
+ return getProcessId();
}
throw new java.lang.IllegalStateException();
@@ -72214,8 +72855,8 @@ public class RegistryService {
}
switch (field) {
- case EXPERIMENT_ID:
- return isSetExperimentId();
+ case PROCESS_ID:
+ return isSetProcessId();
}
throw new java.lang.IllegalStateException();
}
@@ -72224,23 +72865,23 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getUserConfigurationData_args)
- return this.equals((getUserConfigurationData_args)that);
+ if (that instanceof getProcess_args)
+ return this.equals((getProcess_args)that);
return false;
}
- public boolean equals(getUserConfigurationData_args that) {
+ public boolean equals(getProcess_args that) {
if (that == null)
return false;
if (this == that)
return true;
- boolean this_present_experimentId = true && this.isSetExperimentId();
- boolean that_present_experimentId = true && that.isSetExperimentId();
- if (this_present_experimentId || that_present_experimentId) {
- if (!(this_present_experimentId && that_present_experimentId))
+ boolean this_present_processId = true && this.isSetProcessId();
+ boolean that_present_processId = true && that.isSetProcessId();
+ if (this_present_processId || that_present_processId) {
+ if (!(this_present_processId && that_present_processId))
return false;
- if (!this.experimentId.equals(that.experimentId))
+ if (!this.processId.equals(that.processId))
return false;
}
@@ -72251,27 +72892,27 @@ public class RegistryService {
public int hashCode() {
int hashCode = 1;
- hashCode = hashCode * 8191 + ((isSetExperimentId()) ? 131071 : 524287);
- if (isSetExperimentId())
- hashCode = hashCode * 8191 + experimentId.hashCode();
+ hashCode = hashCode * 8191 + ((isSetProcessId()) ? 131071 : 524287);
+ if (isSetProcessId())
+ hashCode = hashCode * 8191 + processId.hashCode();
return hashCode;
}
@Override
- public int compareTo(getUserConfigurationData_args other) {
+ public int compareTo(getProcess_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
- lastComparison = java.lang.Boolean.valueOf(isSetExperimentId()).compareTo(other.isSetExperimentId());
+ lastComparison = java.lang.Boolean.valueOf(isSetProcessId()).compareTo(other.isSetProcessId());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetExperimentId()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentId, other.experimentId);
+ if (isSetProcessId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processId, other.processId);
if (lastComparison != 0) {
return lastComparison;
}
@@ -72293,14 +72934,14 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getUserConfigurationData_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getProcess_args(");
boolean first = true;
- sb.append("experimentId:");
- if (this.experimentId == null) {
+ sb.append("processId:");
+ if (this.processId == null) {
sb.append("null");
} else {
- sb.append(this.experimentId);
+ sb.append(this.processId);
}
first = false;
sb.append(")");
@@ -72309,8 +72950,8 @@ public class RegistryService {
public void validate() throws org.apache.thrift.TException {
// check for required fields
- if (experimentId == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentId' was not present! Struct: " + toString());
+ if (processId == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'processId' was not present! Struct: " + toString());
}
// check for sub-struct validity
}
@@ -72331,15 +72972,15 @@ public class RegistryService {
}
}
- private static class getUserConfigurationData_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getUserConfigurationData_argsStandardScheme getScheme() {
- return new getUserConfigurationData_argsStandardScheme();
+ private static class getProcess_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getProcess_argsStandardScheme getScheme() {
+ return new getProcess_argsStandardScheme();
}
}
- private static class getUserConfigurationData_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getUserConfigurationData_args> {
+ private static class getProcess_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getProcess_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getUserConfigurationData_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getProcess_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -72349,10 +72990,10 @@ public class RegistryService {
break;
}
switch (schemeField.id) {
- case 1: // EXPERIMENT_ID
+ case 1: // PROCESS_ID
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.experimentId = iprot.readString();
- struct.setExperimentIdIsSet(true);
+ struct.processId = iprot.readString();
+ struct.setProcessIdIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -72368,13 +73009,13 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getUserConfigurationData_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getProcess_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
- if (struct.experimentId != null) {
- oprot.writeFieldBegin(EXPERIMENT_ID_FIELD_DESC);
- oprot.writeString(struct.experimentId);
+ if (struct.processId != null) {
+ oprot.writeFieldBegin(PROCESS_ID_FIELD_DESC);
+ oprot.writeString(struct.processId);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
@@ -72383,25 +73024,25 @@ public class RegistryService {
}
- private static class getUserConfigurationData_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getUserConfigurationData_argsTupleScheme getScheme() {
- return new getUserConfigurationData_argsTupleScheme();
+ private static class getProcess_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getProcess_argsTupleScheme getScheme() {
+ return new getProcess_argsTupleScheme();
}
}
- private static class getUserConfigurationData_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getUserConfigurationData_args> {
+ private static class getProcess_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getProcess_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getUserConfigurationData_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getProcess_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- oprot.writeString(struct.experimentId);
+ oprot.writeString(struct.processId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getUserConfigurationData_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getProcess_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- struct.experimentId = iprot.readString();
- struct.setExperimentIdIsSet(true);
+ struct.processId = iprot.readString();
+ struct.setProcessIdIsSet(true);
}
}
@@ -72410,16 +73051,16 @@ public class RegistryService {
}
}
- public static class getUserConfigurationData_result implements org.apache.thrift.TBase<getUserConfigurationData_result, getUserConfigurationData_result._Fields>, java.io.Serializable, Cloneable, Comparable<getUserConfigurationData_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserConfigurationData_result");
+ public static class getProcess_result implements org.apache.thrift.TBase<getProcess_result, getProcess_result._Fields>, java.io.Serializable, Cloneable, Comparable<getProcess_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProcess_result");
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
private static final org.apache.thrift.protocol.TField RSE_FIELD_DESC = new org.apache.thrift.protocol.TField("rse", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getUserConfigurationData_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getUserConfigurationData_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getProcess_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getProcess_resultTupleSchemeFactory();
- public org.apache.airavata.model.experiment.UserConfigurationDataModel success; // required
+ public org.apache.airavata.model.process.ProcessModel success; // required
public org.apache.airavata.registry.api.exception.RegistryServiceException rse; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@@ -72488,18 +73129,18 @@ public class RegistryService {
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.experiment.UserConfigurationDataModel.class)));
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.process.ProcessModel.class)));
tmpMap.put(_Fields.RSE, new org.apache.thrift.meta_data.FieldMetaData("rse", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.registry.api.exception.RegistryServiceException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserConfigurationData_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getProcess_result.class, metaDataMap);
}
- public getUserConfigurationData_result() {
+ public getProcess_result() {
}
- public getUserConfigurationData_result(
- org.apache.airavata.model.experiment.UserConfigurationDataModel success,
+ public getProcess_result(
+ org.apache.airavata.model.process.ProcessModel success,
org.apache.airavata.registry.api.exception.RegistryServiceException rse)
{
this();
@@ -72510,17 +73151,17 @@ public class RegistryService {
/**
* Performs a deep copy on <i>other</i>.
*/
- public getUserConfigurationData_result(getUserConfigurationData_result other) {
+ public getProcess_result(getProcess_result other) {
if (other.isSetSuccess()) {
- this.success = new org.apache.airavata.model.experiment.UserConfigurationDataModel(other.success);
+ this.success = new org.apache.airavata.model.process.ProcessModel(other.success);
}
if (other.isSetRse()) {
this.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException(other.rse);
}
}
- public getUserConfigurationData_result deepCopy() {
- return new getUserConfigurationData_result(this);
+ public getProcess_result deepCopy() {
+ return new getProcess_result(this);
}
@Override
@@ -72529,11 +73170,11 @@ public class RegistryService {
this.rse = null;
}
- public org.apache.airavata.model.experiment.UserConfigurationDataModel getSuccess() {
+ public org.apache.airavata.model.process.ProcessModel getSuccess() {
return this.success;
}
- public getUserConfigurationData_result setSuccess(org.apache.airavata.model.experiment.UserConfigurationDataModel success) {
+ public getProcess_result setSuccess(org.apache.airavata.model.process.ProcessModel success) {
this.success = success;
return this;
}
@@ -72557,7 +73198,7 @@ public class RegistryService {
return this.rse;
}
- public getUserConfigurationData_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
+ public getProcess_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
this.rse = rse;
return this;
}
@@ -72583,7 +73224,7 @@ public class RegistryService {
if (value == null) {
unsetSuccess();
} else {
- setSuccess((org.apache.airavata.model.experiment.UserConfigurationDataModel)value);
+ setSuccess((org.apache.airavata.model.process.ProcessModel)value);
}
break;
@@ -72629,12 +73270,12 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getUserConfigurationData_result)
- return this.equals((getUserConfigurationData_result)that);
+ if (that instanceof getProcess_result)
+ return this.equals((getProcess_result)that);
return false;
}
- public boolean equals(getUserConfigurationData_result that) {
+ public boolean equals(getProcess_result that) {
if (that == null)
return false;
if (this == that)
@@ -72677,7 +73318,7 @@ public class RegistryService {
}
@Override
- public int compareTo(getUserConfigurationData_result other) {
+ public int compareTo(getProcess_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -72721,7 +73362,7 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getUserConfigurationData_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getProcess_result(");
boolean first = true;
sb.append("success:");
@@ -72767,15 +73408,15 @@ public class RegistryService {
}
}
- private static class getUserConfigurationData_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getUserConfigurationData_resultStandardScheme getScheme() {
- return new getUserConfigurationData_resultStandardScheme();
+ private static class getProcess_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getProcess_resultStandardScheme getScheme() {
+ return new getProcess_resultStandardScheme();
}
}
- private static class getUserConfigurationData_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getUserConfigurationData_result> {
+ private static class getProcess_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getProcess_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getUserConfigurationData_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getProcess_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -72787,7 +73428,7 @@ public class RegistryService {
switch (schemeField.id) {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.success = new org.apache.airavata.model.experiment.UserConfigurationDataModel();
+ struct.success = new org.apache.airavata.model.process.ProcessModel();
struct.success.read(iprot);
struct.setSuccessIsSet(true);
} else {
@@ -72814,7 +73455,7 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getUserConfigurationData_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getProcess_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -72834,16 +73475,16 @@ public class RegistryService {
}
- private static class getUserConfigurationData_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getUserConfigurationData_resultTupleScheme getScheme() {
- return new getUserConfigurationData_resultTupleScheme();
+ private static class getProcess_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getProcess_resultTupleScheme getScheme() {
+ return new getProcess_resultTupleScheme();
}
}
- private static class getUserConfigurationData_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getUserConfigurationData_result> {
+ private static class getProcess_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getProcess_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getUserConfigurationData_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getProcess_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet optionals = new java.util.BitSet();
if (struct.isSetSuccess()) {
@@ -72862,11 +73503,11 @@ public class RegistryService {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getUserConfigurationData_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getProcess_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
- struct.success = new org.apache.airavata.model.experiment.UserConfigurationDataModel();
+ struct.success = new org.apache.airavata.model.process.ProcessModel();
struct.success.read(iprot);
struct.setSuccessIsSet(true);
}
@@ -72883,19 +73524,19 @@ public class RegistryService {
}
}
- public static class getProcess_args implements org.apache.thrift.TBase<getProcess_args, getProcess_args._Fields>, java.io.Serializable, Cloneable, Comparable<getProcess_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProcess_args");
+ public static class getProcessList_args implements org.apache.thrift.TBase<getProcessList_args, getProcessList_args._Fields>, java.io.Serializable, Cloneable, Comparable<getProcessList_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProcessList_args");
- private static final org.apache.thrift.protocol.TField PROCESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("processId", org.apache.thrift.protocol.TType.STRING, (short)1);
+ private static final org.apache.thrift.protocol.TField EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentId", org.apache.thrift.protocol.TType.STRING, (short)1);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getProcess_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getProcess_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getProcessList_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getProcessList_argsTupleSchemeFactory();
- public java.lang.String processId; // required
+ public java.lang.String experimentId; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
- PROCESS_ID((short)1, "processId");
+ EXPERIMENT_ID((short)1, "experimentId");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -72910,8 +73551,8 @@ public class RegistryService {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
- case 1: // PROCESS_ID
- return PROCESS_ID;
+ case 1: // EXPERIMENT_ID
+ return EXPERIMENT_ID;
default:
return null;
}
@@ -72955,71 +73596,71 @@ public class RegistryService {
public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
- tmpMap.put(_Fields.PROCESS_ID, new org.apache.thrift.meta_data.FieldMetaData("processId", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ tmpMap.put(_Fields.EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("experimentId", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getProcess_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getProcessList_args.class, metaDataMap);
}
- public getProcess_args() {
+ public getProcessList_args() {
}
- public getProcess_args(
- java.lang.String processId)
+ public getProcessList_args(
+ java.lang.String experimentId)
{
this();
- this.processId = processId;
+ this.experimentId = experimentId;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public getProcess_args(getProcess_args other) {
- if (other.isSetProcessId()) {
- this.processId = other.processId;
+ public getProcessList_args(getProcessList_args other) {
+ if (other.isSetExperimentId()) {
+ this.experimentId = other.experimentId;
}
}
- public getProcess_args deepCopy() {
- return new getProcess_args(this);
+ public getProcessList_args deepCopy() {
+ return new getProcessList_args(this);
}
@Override
public void clear() {
- this.processId = null;
+ this.experimentId = null;
}
- public java.lang.String getProcessId() {
- return this.processId;
+ public java.lang.String getExperimentId() {
+ return this.experimentId;
}
- public getProcess_args setProcessId(java.lang.String processId) {
- this.processId = processId;
+ public getProcessList_args setExperimentId(java.lang.String experimentId) {
+ this.experimentId = experimentId;
return this;
}
- public void unsetProcessId() {
- this.processId = null;
+ public void unsetExperimentId() {
+ this.experimentId = null;
}
- /** Returns true if field processId is set (has been assigned a value) and false otherwise */
- public boolean isSetProcessId() {
- return this.processId != null;
+ /** Returns true if field experimentId is set (has been assigned a value) and false otherwise */
+ public boolean isSetExperimentId() {
+ return this.experimentId != null;
}
- public void setProcessIdIsSet(boolean value) {
+ public void setExperimentIdIsSet(boolean value) {
if (!value) {
- this.processId = null;
+ this.experimentId = null;
}
}
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
- case PROCESS_ID:
+ case EXPERIMENT_ID:
if (value == null) {
- unsetProcessId();
+ unsetExperimentId();
} else {
- setProcessId((java.lang.String)value);
+ setExperimentId((java.lang.String)value);
}
break;
@@ -73028,8 +73669,8 @@ public class RegistryService {
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
- case PROCESS_ID:
- return getProcessId();
+ case EXPERIMENT_ID:
+ return getExperimentId();
}
throw new java.lang.IllegalStateException();
@@ -73042,8 +73683,8 @@ public class RegistryService {
}
switch (field) {
- case PROCESS_ID:
- return isSetProcessId();
+ case EXPERIMENT_ID:
+ return isSetExperimentId();
}
throw new java.lang.IllegalStateException();
}
@@ -73052,23 +73693,23 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getProcess_args)
- return this.equals((getProcess_args)that);
+ if (that instanceof getProcessList_args)
+ return this.equals((getProcessList_args)that);
return false;
}
- public boolean equals(getProcess_args that) {
+ public boolean equals(getProcessList_args that) {
if (that == null)
return false;
if (this == that)
return true;
- boolean this_present_processId = true && this.isSetProcessId();
- boolean that_present_processId = true && that.isSetProcessId();
- if (this_present_processId || that_present_processId) {
- if (!(this_present_processId && that_present_processId))
+ boolean this_present_experimentId = true && this.isSetExperimentId();
+ boolean that_present_experimentId = true && that.isSetExperimentId();
+ if (this_present_experimentId || that_present_experimentId) {
+ if (!(this_present_experimentId && that_present_experimentId))
return false;
- if (!this.processId.equals(that.processId))
+ if (!this.experimentId.equals(that.experimentId))
return false;
}
@@ -73079,27 +73720,27 @@ public class RegistryService {
public int hashCode() {
int hashCode = 1;
- hashCode = hashCode * 8191 + ((isSetProcessId()) ? 131071 : 524287);
- if (isSetProcessId())
- hashCode = hashCode * 8191 + processId.hashCode();
+ hashCode = hashCode * 8191 + ((isSetExperimentId()) ? 131071 : 524287);
+ if (isSetExperimentId())
+ hashCode = hashCode * 8191 + experimentId.hashCode();
return hashCode;
}
@Override
- public int compareTo(getProcess_args other) {
+ public int compareTo(getProcessList_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
- lastComparison = java.lang.Boolean.valueOf(isSetProcessId()).compareTo(other.isSetProcessId());
+ lastComparison = java.lang.Boolean.valueOf(isSetExperimentId()).compareTo(other.isSetExperimentId());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetProcessId()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processId, other.processId);
+ if (isSetExperimentId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentId, other.experimentId);
if (lastComparison != 0) {
return lastComparison;
}
@@ -73121,14 +73762,14 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getProcess_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getProcessList_args(");
boolean first = true;
- sb.append("processId:");
- if (this.processId == null) {
+ sb.append("experimentId:");
+ if (this.experimentId == null) {
sb.append("null");
} else {
- sb.append(this.processId);
+ sb.append(this.experimentId);
}
first = false;
sb.append(")");
@@ -73137,8 +73778,8 @@ public class RegistryService {
public void validate() throws org.apache.thrift.TException {
// check for required fields
- if (processId == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'processId' was not present! Struct: " + toString());
+ if (experimentId == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentId' was not present! Struct: " + toString());
}
// check for sub-struct validity
}
@@ -73159,15 +73800,15 @@ public class RegistryService {
}
}
- private static class getProcess_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getProcess_argsStandardScheme getScheme() {
- return new getProcess_argsStandardScheme();
+ private static class getProcessList_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getProcessList_argsStandardScheme getScheme() {
+ return new getProcessList_argsStandardScheme();
}
}
- private static class getProcess_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getProcess_args> {
+ private static class getProcessList_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getProcessList_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getProcess_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getProcessList_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -73177,10 +73818,10 @@ public class RegistryService {
break;
}
switch (schemeField.id) {
- case 1: // PROCESS_ID
+ case 1: // EXPERIMENT_ID
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.processId = iprot.readString();
- struct.setProcessIdIsSet(true);
+ struct.experimentId = iprot.readString();
+ struct.setExperimentIdIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -73196,13 +73837,13 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getProcess_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getProcessList_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
- if (struct.processId != null) {
- oprot.writeFieldBegin(PROCESS_ID_FIELD_DESC);
- oprot.writeString(struct.processId);
+ if (struct.experimentId != null) {
+ oprot.writeFieldBegin(EXPERIMENT_ID_FIELD_DESC);
+ oprot.writeString(struct.experimentId);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
@@ -73211,25 +73852,25 @@ public class RegistryService {
}
- private static class getProcess_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getProcess_argsTupleScheme getScheme() {
- return new getProcess_argsTupleScheme();
+ private static class getProcessList_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getProcessList_argsTupleScheme getScheme() {
+ return new getProcessList_argsTupleScheme();
}
}
- private static class getProcess_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getProcess_args> {
+ private static class getProcessList_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getProcessList_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getProcess_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getProcessList_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- oprot.writeString(struct.processId);
+ oprot.writeString(struct.experimentId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getProcess_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getProcessList_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- struct.processId = iprot.readString();
- struct.setProcessIdIsSet(true);
+ struct.experimentId = iprot.readString();
+ struct.setExperimentIdIsSet(true);
}
}
@@ -73238,16 +73879,16 @@ public class RegistryService {
}
}
- public static class getProcess_result implements org.apache.thrift.TBase<getProcess_result, getProcess_result._Fields>, java.io.Serializable, Cloneable, Comparable<getProcess_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProcess_result");
+ public static class getProcessList_result implements org.apache.thrift.TBase<getProcessList_result, getProcessList_result._Fields>, java.io.Serializable, Cloneable, Comparable<getProcessList_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProcessList_result");
- private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
+ private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
private static final org.apache.thrift.protocol.TField RSE_FIELD_DESC = new org.apache.thrift.protocol.TField("rse", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getProcess_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getProcess_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getProcessList_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getProcessList_resultTupleSchemeFactory();
- public org.apache.airavata.model.process.ProcessModel success; // required
+ public java.util.List<org.apache.airavata.model.process.ProcessModel> success; // required
public org.apache.airavata.registry.api.exception.RegistryServiceException rse; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@@ -73316,18 +73957,19 @@ public class RegistryService {
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.process.ProcessModel.class)));
+ new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.process.ProcessModel.class))));
tmpMap.put(_Fields.RSE, new org.apache.thrift.meta_data.FieldMetaData("rse", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.registry.api.exception.RegistryServiceException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getProcess_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getProcessList_result.class, metaDataMap);
}
- public getProcess_result() {
+ public getProcessList_result() {
}
- public getProcess_result(
- org.apache.airavata.model.process.ProcessModel success,
+ public getProcessList_result(
+ java.util.List<org.apache.airavata.model.process.ProcessModel> success,
org.apache.airavata.registry.api.exception.RegistryServiceException rse)
{
this();
@@ -73338,17 +73980,21 @@ public class RegistryService {
/**
* Performs a deep copy on <i>other</i>.
*/
- public getProcess_result(getProcess_result other) {
+ public getProcessList_result(getProcessList_result other) {
if (other.isSetSuccess()) {
- this.success = new org.apache.airavata.model.process.ProcessModel(other.success);
+ java.util.List<org.apache.airavata.model.process.ProcessModel> __this__success = new java.util.ArrayList<org.apache.airavata.model.process.ProcessModel>(other.success.size());
+ for (org.apache.airavata.model.process.ProcessModel other_element : other.success) {
+ __this__success.add(new org.apache.airavata.model.process.ProcessModel(other_element));
+ }
+ this.success = __this__success;
}
if (other.isSetRse()) {
this.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException(other.rse);
}
}
- public getProcess_result deepCopy() {
- return new getProcess_result(this);
+ public getProcessList_result deepCopy() {
+ return new getProcessList_result(this);
}
@Override
@@ -73357,11 +74003,26 @@ public class RegistryService {
this.rse = null;
}
- public org.apache.airavata.model.process.ProcessModel getSuccess() {
+ public int getSuccessSize() {
+ return (this.success == null) ? 0 : this.success.size();
+ }
+
+ public java.util.Iterator<org.apache.airavata.model.process.ProcessModel> getSuccessIterator() {
+ return (this.success == null) ? null : this.success.iterator();
+ }
+
+ public void addToSuccess(org.apache.airavata.model.process.ProcessModel elem) {
+ if (this.success == null) {
+ this.success = new java.util.ArrayList<org.apache.airavata.model.process.ProcessModel>();
+ }
+ this.success.add(elem);
+ }
+
+ public java.util.List<org.apache.airavata.model.process.ProcessModel> getSuccess() {
return this.success;
}
- public getProcess_result setSuccess(org.apache.airavata.model.process.ProcessModel success) {
+ public getProcessList_result setSuccess(java.util.List<org.apache.airavata.model.process.ProcessModel> success) {
this.success = success;
return this;
}
@@ -73385,7 +74046,7 @@ public class RegistryService {
return this.rse;
}
- public getProcess_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
+ public getProcessList_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
this.rse = rse;
return this;
}
@@ -73411,7 +74072,7 @@ public class RegistryService {
if (value == null) {
unsetSuccess();
} else {
- setSuccess((org.apache.airavata.model.process.ProcessModel)value);
+ setSuccess((java.util.List<org.apache.airavata.model.process.ProcessModel>)value);
}
break;
@@ -73457,12 +74118,12 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getProcess_result)
- return this.equals((getProcess_result)that);
+ if (that instanceof getProcessList_result)
+ return this.equals((getProcessList_result)that);
return false;
}
- public boolean equals(getProcess_result that) {
+ public boolean equals(getProcessList_result that) {
if (that == null)
return false;
if (this == that)
@@ -73505,7 +74166,7 @@ public class RegistryService {
}
@Override
- public int compareTo(getProcess_result other) {
+ public int compareTo(getProcessList_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -73549,7 +74210,7 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getProcess_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getProcessList_result(");
boolean first = true;
sb.append("success:");
@@ -73574,9 +74235,6 @@ public class RegistryService {
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
- if (success != null) {
- success.validate();
- }
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -73595,15 +74253,15 @@ public class RegistryService {
}
}
- private static class getProcess_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getProcess_resultStandardScheme getScheme() {
- return new getProcess_resultStandardScheme();
+ private static class getProcessList_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getProcessList_resultStandardScheme getScheme() {
+ return new getProcessList_resultStandardScheme();
}
}
- private static class getProcess_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getProcess_result> {
+ private static class getProcessList_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getProcessList_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getProcess_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getProcessList_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -73614,9 +74272,19 @@ public class RegistryService {
}
switch (schemeField.id) {
case 0: // SUCCESS
- if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.success = new org.apache.airavata.model.process.ProcessModel();
- struct.success.read(iprot);
+ if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+ {
+ org.apache.thrift.protocol.TList _list134 = iprot.readListBegin();
+ struct.success = new java.util.ArrayList<org.apache.airavata.model.process.ProcessModel>(_list134.size);
+ org.apache.airavata.model.process.ProcessModel _elem135;
+ for (int _i136 = 0; _i136 < _list134.size; ++_i136)
+ {
+ _elem135 = new org.apache.airavata.model.process.ProcessModel();
+ _elem135.read(iprot);
+ struct.success.add(_elem135);
+ }
+ iprot.readListEnd();
+ }
struct.setSuccessIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@@ -73642,13 +74310,20 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getProcess_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getProcessList_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.success != null) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
- struct.success.write(oprot);
+ {
+ oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
+ for (org.apache.airavata.model.process.ProcessModel _iter137 : struct.success)
+ {
+ _iter137.write(oprot);
+ }
+ oprot.writeListEnd();
+ }
oprot.writeFieldEnd();
}
if (struct.rse != null) {
@@ -73662,16 +74337,16 @@ public class RegistryService {
}
- private static class getProcess_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getProcess_resultTupleScheme getScheme() {
- return new getProcess_resultTupleScheme();
+ private static class getProcessList_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getProcessList_resultTupleScheme getScheme() {
+ return new getProcessList_resultTupleScheme();
}
}
- private static class getProcess_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getProcess_result> {
+ private static class getProcessList_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getProcessList_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getProcess_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getProcessList_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet optionals = new java.util.BitSet();
if (struct.isSetSuccess()) {
@@ -73682,7 +74357,13 @@ public class RegistryService {
}
oprot.writeBitSet(optionals, 2);
if (struct.isSetSuccess()) {
- struct.success.write(oprot);
+ {
+ oprot.writeI32(struct.success.size());
+ for (org.apache.airavata.model.process.ProcessModel _iter138 : struct.success)
+ {
+ _iter138.write(oprot);
+ }
+ }
}
if (struct.isSetRse()) {
struct.rse.write(oprot);
@@ -73690,12 +74371,21 @@ public class RegistryService {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getProcess_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getProcessList_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
- struct.success = new org.apache.airavata.model.process.ProcessModel();
- struct.success.read(iprot);
+ {
+ org.apache.thrift.protocol.TList _list139 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new java.util.ArrayList<org.apache.airavata.model.process.ProcessModel>(_list139.size);
+ org.apache.airavata.model.process.ProcessModel _elem140;
+ for (int _i141 = 0; _i141 < _list139.size; ++_i141)
+ {
+ _elem140 = new org.apache.airavata.model.process.ProcessModel();
+ _elem140.read(iprot);
+ struct.success.add(_elem140);
+ }
+ }
struct.setSuccessIsSet(true);
}
if (incoming.get(1)) {
@@ -73711,19 +74401,19 @@ public class RegistryService {
}
}
- public static class getProcessList_args implements org.apache.thrift.TBase<getProcessList_args, getProcessList_args._Fields>, java.io.Serializable, Cloneable, Comparable<getProcessList_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProcessList_args");
+ public static class getProcessStatus_args implements org.apache.thrift.TBase<getProcessStatus_args, getProcessStatus_args._Fields>, java.io.Serializable, Cloneable, Comparable<getProcessStatus_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProcessStatus_args");
- private static final org.apache.thrift.protocol.TField EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("experimentId", org.apache.thrift.protocol.TType.STRING, (short)1);
+ private static final org.apache.thrift.protocol.TField PROCESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("processId", org.apache.thrift.protocol.TType.STRING, (short)1);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getProcessList_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getProcessList_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getProcessStatus_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getProcessStatus_argsTupleSchemeFactory();
- public java.lang.String experimentId; // required
+ public java.lang.String processId; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
- EXPERIMENT_ID((short)1, "experimentId");
+ PROCESS_ID((short)1, "processId");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -73738,8 +74428,8 @@ public class RegistryService {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
- case 1: // EXPERIMENT_ID
- return EXPERIMENT_ID;
+ case 1: // PROCESS_ID
+ return PROCESS_ID;
default:
return null;
}
@@ -73783,71 +74473,71 @@ public class RegistryService {
public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
- tmpMap.put(_Fields.EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("experimentId", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ tmpMap.put(_Fields.PROCESS_ID, new org.apache.thrift.meta_data.FieldMetaData("processId", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getProcessList_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getProcessStatus_args.class, metaDataMap);
}
- public getProcessList_args() {
+ public getProcessStatus_args() {
}
- public getProcessList_args(
- java.lang.String experimentId)
+ public getProcessStatus_args(
+ java.lang.String processId)
{
this();
- this.experimentId = experimentId;
+ this.processId = processId;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public getProcessList_args(getProcessList_args other) {
- if (other.isSetExperimentId()) {
- this.experimentId = other.experimentId;
+ public getProcessStatus_args(getProcessStatus_args other) {
+ if (other.isSetProcessId()) {
+ this.processId = other.processId;
}
}
- public getProcessList_args deepCopy() {
- return new getProcessList_args(this);
+ public getProcessStatus_args deepCopy() {
+ return new getProcessStatus_args(this);
}
@Override
public void clear() {
- this.experimentId = null;
+ this.processId = null;
}
- public java.lang.String getExperimentId() {
- return this.experimentId;
+ public java.lang.String getProcessId() {
+ return this.processId;
}
- public getProcessList_args setExperimentId(java.lang.String experimentId) {
- this.experimentId = experimentId;
+ public getProcessStatus_args setProcessId(java.lang.String processId) {
+ this.processId = processId;
return this;
}
- public void unsetExperimentId() {
- this.experimentId = null;
+ public void unsetProcessId() {
+ this.processId = null;
}
- /** Returns true if field experimentId is set (has been assigned a value) and false otherwise */
- public boolean isSetExperimentId() {
- return this.experimentId != null;
+ /** Returns true if field processId is set (has been assigned a value) and false otherwise */
+ public boolean isSetProcessId() {
+ return this.processId != null;
}
- public void setExperimentIdIsSet(boolean value) {
+ public void setProcessIdIsSet(boolean value) {
if (!value) {
- this.experimentId = null;
+ this.processId = null;
}
}
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
- case EXPERIMENT_ID:
+ case PROCESS_ID:
if (value == null) {
- unsetExperimentId();
+ unsetProcessId();
} else {
- setExperimentId((java.lang.String)value);
+ setProcessId((java.lang.String)value);
}
break;
@@ -73856,8 +74546,8 @@ public class RegistryService {
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
- case EXPERIMENT_ID:
- return getExperimentId();
+ case PROCESS_ID:
+ return getProcessId();
}
throw new java.lang.IllegalStateException();
@@ -73870,8 +74560,8 @@ public class RegistryService {
}
switch (field) {
- case EXPERIMENT_ID:
- return isSetExperimentId();
+ case PROCESS_ID:
+ return isSetProcessId();
}
throw new java.lang.IllegalStateException();
}
@@ -73880,23 +74570,23 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getProcessList_args)
- return this.equals((getProcessList_args)that);
+ if (that instanceof getProcessStatus_args)
+ return this.equals((getProcessStatus_args)that);
return false;
}
- public boolean equals(getProcessList_args that) {
+ public boolean equals(getProcessStatus_args that) {
if (that == null)
return false;
if (this == that)
return true;
- boolean this_present_experimentId = true && this.isSetExperimentId();
- boolean that_present_experimentId = true && that.isSetExperimentId();
- if (this_present_experimentId || that_present_experimentId) {
- if (!(this_present_experimentId && that_present_experimentId))
+ boolean this_present_processId = true && this.isSetProcessId();
+ boolean that_present_processId = true && that.isSetProcessId();
+ if (this_present_processId || that_present_processId) {
+ if (!(this_present_processId && that_present_processId))
return false;
- if (!this.experimentId.equals(that.experimentId))
+ if (!this.processId.equals(that.processId))
return false;
}
@@ -73907,27 +74597,27 @@ public class RegistryService {
public int hashCode() {
int hashCode = 1;
- hashCode = hashCode * 8191 + ((isSetExperimentId()) ? 131071 : 524287);
- if (isSetExperimentId())
- hashCode = hashCode * 8191 + experimentId.hashCode();
+ hashCode = hashCode * 8191 + ((isSetProcessId()) ? 131071 : 524287);
+ if (isSetProcessId())
+ hashCode = hashCode * 8191 + processId.hashCode();
return hashCode;
}
@Override
- public int compareTo(getProcessList_args other) {
+ public int compareTo(getProcessStatus_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
- lastComparison = java.lang.Boolean.valueOf(isSetExperimentId()).compareTo(other.isSetExperimentId());
+ lastComparison = java.lang.Boolean.valueOf(isSetProcessId()).compareTo(other.isSetProcessId());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetExperimentId()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.experimentId, other.experimentId);
+ if (isSetProcessId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processId, other.processId);
if (lastComparison != 0) {
return lastComparison;
}
@@ -73949,14 +74639,14 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getProcessList_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getProcessStatus_args(");
boolean first = true;
- sb.append("experimentId:");
- if (this.experimentId == null) {
+ sb.append("processId:");
+ if (this.processId == null) {
sb.append("null");
} else {
- sb.append(this.experimentId);
+ sb.append(this.processId);
}
first = false;
sb.append(")");
@@ -73965,8 +74655,8 @@ public class RegistryService {
public void validate() throws org.apache.thrift.TException {
// check for required fields
- if (experimentId == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'experimentId' was not present! Struct: " + toString());
+ if (processId == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'processId' was not present! Struct: " + toString());
}
// check for sub-struct validity
}
@@ -73987,15 +74677,15 @@ public class RegistryService {
}
}
- private static class getProcessList_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getProcessList_argsStandardScheme getScheme() {
- return new getProcessList_argsStandardScheme();
+ private static class getProcessStatus_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getProcessStatus_argsStandardScheme getScheme() {
+ return new getProcessStatus_argsStandardScheme();
}
}
- private static class getProcessList_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getProcessList_args> {
+ private static class getProcessStatus_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getProcessStatus_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getProcessList_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getProcessStatus_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -74005,10 +74695,10 @@ public class RegistryService {
break;
}
switch (schemeField.id) {
- case 1: // EXPERIMENT_ID
+ case 1: // PROCESS_ID
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.experimentId = iprot.readString();
- struct.setExperimentIdIsSet(true);
+ struct.processId = iprot.readString();
+ struct.setProcessIdIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -74024,13 +74714,13 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getProcessList_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getProcessStatus_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
- if (struct.experimentId != null) {
- oprot.writeFieldBegin(EXPERIMENT_ID_FIELD_DESC);
- oprot.writeString(struct.experimentId);
+ if (struct.processId != null) {
+ oprot.writeFieldBegin(PROCESS_ID_FIELD_DESC);
+ oprot.writeString(struct.processId);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
@@ -74039,25 +74729,25 @@ public class RegistryService {
}
- private static class getProcessList_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getProcessList_argsTupleScheme getScheme() {
- return new getProcessList_argsTupleScheme();
+ private static class getProcessStatus_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getProcessStatus_argsTupleScheme getScheme() {
+ return new getProcessStatus_argsTupleScheme();
}
}
- private static class getProcessList_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getProcessList_args> {
+ private static class getProcessStatus_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getProcessStatus_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getProcessList_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getProcessStatus_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- oprot.writeString(struct.experimentId);
+ oprot.writeString(struct.processId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getProcessList_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getProcessStatus_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- struct.experimentId = iprot.readString();
- struct.setExperimentIdIsSet(true);
+ struct.processId = iprot.readString();
+ struct.setProcessIdIsSet(true);
}
}
@@ -74066,16 +74756,16 @@ public class RegistryService {
}
}
- public static class getProcessList_result implements org.apache.thrift.TBase<getProcessList_result, getProcessList_result._Fields>, java.io.Serializable, Cloneable, Comparable<getProcessList_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProcessList_result");
+ public static class getProcessStatus_result implements org.apache.thrift.TBase<getProcessStatus_result, getProcessStatus_result._Fields>, java.io.Serializable, Cloneable, Comparable<getProcessStatus_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProcessStatus_result");
- private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
+ private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
private static final org.apache.thrift.protocol.TField RSE_FIELD_DESC = new org.apache.thrift.protocol.TField("rse", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getProcessList_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getProcessList_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getProcessStatus_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getProcessStatus_resultTupleSchemeFactory();
- public java.util.List<org.apache.airavata.model.process.ProcessModel> success; // required
+ public org.apache.airavata.model.status.ProcessStatus success; // required
public org.apache.airavata.registry.api.exception.RegistryServiceException rse; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@@ -74144,19 +74834,18 @@ public class RegistryService {
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.process.ProcessModel.class))));
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.status.ProcessStatus.class)));
tmpMap.put(_Fields.RSE, new org.apache.thrift.meta_data.FieldMetaData("rse", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.registry.api.exception.RegistryServiceException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getProcessList_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getProcessStatus_result.class, metaDataMap);
}
- public getProcessList_result() {
+ public getProcessStatus_result() {
}
- public getProcessList_result(
- java.util.List<org.apache.airavata.model.process.ProcessModel> success,
+ public getProcessStatus_result(
+ org.apache.airavata.model.status.ProcessStatus success,
org.apache.airavata.registry.api.exception.RegistryServiceException rse)
{
this();
@@ -74167,21 +74856,17 @@ public class RegistryService {
/**
* Performs a deep copy on <i>other</i>.
*/
- public getProcessList_result(getProcessList_result other) {
+ public getProcessStatus_result(getProcessStatus_result other) {
if (other.isSetSuccess()) {
- java.util.List<org.apache.airavata.model.process.ProcessModel> __this__success = new java.util.ArrayList<org.apache.airavata.model.process.ProcessModel>(other.success.size());
- for (org.apache.airavata.model.process.ProcessModel other_element : other.success) {
- __this__success.add(new org.apache.airavata.model.process.ProcessModel(other_element));
- }
- this.success = __this__success;
+ this.success = new org.apache.airavata.model.status.ProcessStatus(other.success);
}
if (other.isSetRse()) {
this.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException(other.rse);
}
}
- public getProcessList_result deepCopy() {
- return new getProcessList_result(this);
+ public getProcessStatus_result deepCopy() {
+ return new getProcessStatus_result(this);
}
@Override
@@ -74190,26 +74875,11 @@ public class RegistryService {
this.rse = null;
}
- public int getSuccessSize() {
- return (this.success == null) ? 0 : this.success.size();
- }
-
- public java.util.Iterator<org.apache.airavata.model.process.ProcessModel> getSuccessIterator() {
- return (this.success == null) ? null : this.success.iterator();
- }
-
- public void addToSuccess(org.apache.airavata.model.process.ProcessModel elem) {
- if (this.success == null) {
- this.success = new java.util.ArrayList<org.apache.airavata.model.process.ProcessModel>();
- }
- this.success.add(elem);
- }
-
- public java.util.List<org.apache.airavata.model.process.ProcessModel> getSuccess() {
+ public org.apache.airavata.model.status.ProcessStatus getSuccess() {
return this.success;
}
- public getProcessList_result setSuccess(java.util.List<org.apache.airavata.model.process.ProcessModel> success) {
+ public getProcessStatus_result setSuccess(org.apache.airavata.model.status.ProcessStatus success) {
this.success = success;
return this;
}
@@ -74233,7 +74903,7 @@ public class RegistryService {
return this.rse;
}
- public getProcessList_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
+ public getProcessStatus_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
this.rse = rse;
return this;
}
@@ -74259,7 +74929,7 @@ public class RegistryService {
if (value == null) {
unsetSuccess();
} else {
- setSuccess((java.util.List<org.apache.airavata.model.process.ProcessModel>)value);
+ setSuccess((org.apache.airavata.model.status.ProcessStatus)value);
}
break;
@@ -74305,12 +74975,12 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getProcessList_result)
- return this.equals((getProcessList_result)that);
+ if (that instanceof getProcessStatus_result)
+ return this.equals((getProcessStatus_result)that);
return false;
}
- public boolean equals(getProcessList_result that) {
+ public boolean equals(getProcessStatus_result that) {
if (that == null)
return false;
if (this == that)
@@ -74353,7 +75023,7 @@ public class RegistryService {
}
@Override
- public int compareTo(getProcessList_result other) {
+ public int compareTo(getProcessStatus_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -74397,7 +75067,7 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getProcessList_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getProcessStatus_result(");
boolean first = true;
sb.append("success:");
@@ -74422,6 +75092,9 @@ public class RegistryService {
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
+ if (success != null) {
+ success.validate();
+ }
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -74440,15 +75113,15 @@ public class RegistryService {
}
}
- private static class getProcessList_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getProcessList_resultStandardScheme getScheme() {
- return new getProcessList_resultStandardScheme();
+ private static class getProcessStatus_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getProcessStatus_resultStandardScheme getScheme() {
+ return new getProcessStatus_resultStandardScheme();
}
}
- private static class getProcessList_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getProcessList_result> {
+ private static class getProcessStatus_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getProcessStatus_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getProcessList_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getProcessStatus_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -74459,19 +75132,9 @@ public class RegistryService {
}
switch (schemeField.id) {
case 0: // SUCCESS
- if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
- {
- org.apache.thrift.protocol.TList _list134 = iprot.readListBegin();
- struct.success = new java.util.ArrayList<org.apache.airavata.model.process.ProcessModel>(_list134.size);
- org.apache.airavata.model.process.ProcessModel _elem135;
- for (int _i136 = 0; _i136 < _list134.size; ++_i136)
- {
- _elem135 = new org.apache.airavata.model.process.ProcessModel();
- _elem135.read(iprot);
- struct.success.add(_elem135);
- }
- iprot.readListEnd();
- }
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.success = new org.apache.airavata.model.status.ProcessStatus();
+ struct.success.read(iprot);
struct.setSuccessIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@@ -74497,20 +75160,13 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getProcessList_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getProcessStatus_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.success != null) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
- {
- oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (org.apache.airavata.model.process.ProcessModel _iter137 : struct.success)
- {
- _iter137.write(oprot);
- }
- oprot.writeListEnd();
- }
+ struct.success.write(oprot);
oprot.writeFieldEnd();
}
if (struct.rse != null) {
@@ -74524,16 +75180,16 @@ public class RegistryService {
}
- private static class getProcessList_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getProcessList_resultTupleScheme getScheme() {
- return new getProcessList_resultTupleScheme();
+ private static class getProcessStatus_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getProcessStatus_resultTupleScheme getScheme() {
+ return new getProcessStatus_resultTupleScheme();
}
}
- private static class getProcessList_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getProcessList_result> {
+ private static class getProcessStatus_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getProcessStatus_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getProcessList_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getProcessStatus_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet optionals = new java.util.BitSet();
if (struct.isSetSuccess()) {
@@ -74544,13 +75200,7 @@ public class RegistryService {
}
oprot.writeBitSet(optionals, 2);
if (struct.isSetSuccess()) {
- {
- oprot.writeI32(struct.success.size());
- for (org.apache.airavata.model.process.ProcessModel _iter138 : struct.success)
- {
- _iter138.write(oprot);
- }
- }
+ struct.success.write(oprot);
}
if (struct.isSetRse()) {
struct.rse.write(oprot);
@@ -74558,21 +75208,12 @@ public class RegistryService {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getProcessList_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getProcessStatus_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
- {
- org.apache.thrift.protocol.TList _list139 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new java.util.ArrayList<org.apache.airavata.model.process.ProcessModel>(_list139.size);
- org.apache.airavata.model.process.ProcessModel _elem140;
- for (int _i141 = 0; _i141 < _list139.size; ++_i141)
- {
- _elem140 = new org.apache.airavata.model.process.ProcessModel();
- _elem140.read(iprot);
- struct.success.add(_elem140);
- }
- }
+ struct.success = new org.apache.airavata.model.status.ProcessStatus();
+ struct.success.read(iprot);
struct.setSuccessIsSet(true);
}
if (incoming.get(1)) {
@@ -74588,19 +75229,22 @@ public class RegistryService {
}
}
- public static class getProcessStatus_args implements org.apache.thrift.TBase<getProcessStatus_args, getProcessStatus_args._Fields>, java.io.Serializable, Cloneable, Comparable<getProcessStatus_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProcessStatus_args");
+ public static class isJobExist_args implements org.apache.thrift.TBase<isJobExist_args, isJobExist_args._Fields>, java.io.Serializable, Cloneable, Comparable<isJobExist_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isJobExist_args");
- private static final org.apache.thrift.protocol.TField PROCESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("processId", org.apache.thrift.protocol.TType.STRING, (short)1);
+ private static final org.apache.thrift.protocol.TField QUERY_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("queryType", org.apache.thrift.protocol.TType.STRING, (short)1);
+ private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getProcessStatus_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getProcessStatus_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isJobExist_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isJobExist_argsTupleSchemeFactory();
- public java.lang.String processId; // required
+ public java.lang.String queryType; // required
+ public java.lang.String id; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
- PROCESS_ID((short)1, "processId");
+ QUERY_TYPE((short)1, "queryType"),
+ ID((short)2, "id");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -74615,8 +75259,10 @@ public class RegistryService {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
- case 1: // PROCESS_ID
- return PROCESS_ID;
+ case 1: // QUERY_TYPE
+ return QUERY_TYPE;
+ case 2: // ID
+ return ID;
default:
return null;
}
@@ -74660,71 +75306,111 @@ public class RegistryService {
public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
- tmpMap.put(_Fields.PROCESS_ID, new org.apache.thrift.meta_data.FieldMetaData("processId", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ tmpMap.put(_Fields.QUERY_TYPE, new org.apache.thrift.meta_data.FieldMetaData("queryType", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+ tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getProcessStatus_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isJobExist_args.class, metaDataMap);
}
- public getProcessStatus_args() {
+ public isJobExist_args() {
}
- public getProcessStatus_args(
- java.lang.String processId)
+ public isJobExist_args(
+ java.lang.String queryType,
+ java.lang.String id)
{
this();
- this.processId = processId;
+ this.queryType = queryType;
+ this.id = id;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public getProcessStatus_args(getProcessStatus_args other) {
- if (other.isSetProcessId()) {
- this.processId = other.processId;
+ public isJobExist_args(isJobExist_args other) {
+ if (other.isSetQueryType()) {
+ this.queryType = other.queryType;
+ }
+ if (other.isSetId()) {
+ this.id = other.id;
}
}
- public getProcessStatus_args deepCopy() {
- return new getProcessStatus_args(this);
+ public isJobExist_args deepCopy() {
+ return new isJobExist_args(this);
}
@Override
public void clear() {
- this.processId = null;
+ this.queryType = null;
+ this.id = null;
}
- public java.lang.String getProcessId() {
- return this.processId;
+ public java.lang.String getQueryType() {
+ return this.queryType;
}
- public getProcessStatus_args setProcessId(java.lang.String processId) {
- this.processId = processId;
+ public isJobExist_args setQueryType(java.lang.String queryType) {
+ this.queryType = queryType;
return this;
}
- public void unsetProcessId() {
- this.processId = null;
+ public void unsetQueryType() {
+ this.queryType = null;
}
- /** Returns true if field processId is set (has been assigned a value) and false otherwise */
- public boolean isSetProcessId() {
- return this.processId != null;
+ /** Returns true if field queryType is set (has been assigned a value) and false otherwise */
+ public boolean isSetQueryType() {
+ return this.queryType != null;
}
- public void setProcessIdIsSet(boolean value) {
+ public void setQueryTypeIsSet(boolean value) {
if (!value) {
- this.processId = null;
+ this.queryType = null;
+ }
+ }
+
+ public java.lang.String getId() {
+ return this.id;
+ }
+
+ public isJobExist_args setId(java.lang.String id) {
+ this.id = id;
+ return this;
+ }
+
+ public void unsetId() {
+ this.id = null;
+ }
+
+ /** Returns true if field id is set (has been assigned a value) and false otherwise */
+ public boolean isSetId() {
+ return this.id != null;
+ }
+
+ public void setIdIsSet(boolean value) {
+ if (!value) {
+ this.id = null;
}
}
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
- case PROCESS_ID:
+ case QUERY_TYPE:
if (value == null) {
- unsetProcessId();
+ unsetQueryType();
} else {
- setProcessId((java.lang.String)value);
+ setQueryType((java.lang.String)value);
+ }
+ break;
+
+ case ID:
+ if (value == null) {
+ unsetId();
+ } else {
+ setId((java.lang.String)value);
}
break;
@@ -74733,8 +75419,11 @@ public class RegistryService {
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
- case PROCESS_ID:
- return getProcessId();
+ case QUERY_TYPE:
+ return getQueryType();
+
+ case ID:
+ return getId();
}
throw new java.lang.IllegalStateException();
@@ -74747,8 +75436,10 @@ public class RegistryService {
}
switch (field) {
- case PROCESS_ID:
- return isSetProcessId();
+ case QUERY_TYPE:
+ return isSetQueryType();
+ case ID:
+ return isSetId();
}
throw new java.lang.IllegalStateException();
}
@@ -74757,23 +75448,32 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getProcessStatus_args)
- return this.equals((getProcessStatus_args)that);
+ if (that instanceof isJobExist_args)
+ return this.equals((isJobExist_args)that);
return false;
}
- public boolean equals(getProcessStatus_args that) {
+ public boolean equals(isJobExist_args that) {
if (that == null)
return false;
if (this == that)
return true;
- boolean this_present_processId = true && this.isSetProcessId();
- boolean that_present_processId = true && that.isSetProcessId();
- if (this_present_processId || that_present_processId) {
- if (!(this_present_processId && that_present_processId))
+ boolean this_present_queryType = true && this.isSetQueryType();
+ boolean that_present_queryType = true && that.isSetQueryType();
+ if (this_present_queryType || that_present_queryType) {
+ if (!(this_present_queryType && that_present_queryType))
return false;
- if (!this.processId.equals(that.processId))
+ if (!this.queryType.equals(that.queryType))
+ return false;
+ }
+
+ boolean this_present_id = true && this.isSetId();
+ boolean that_present_id = true && that.isSetId();
+ if (this_present_id || that_present_id) {
+ if (!(this_present_id && that_present_id))
+ return false;
+ if (!this.id.equals(that.id))
return false;
}
@@ -74784,27 +75484,41 @@ public class RegistryService {
public int hashCode() {
int hashCode = 1;
- hashCode = hashCode * 8191 + ((isSetProcessId()) ? 131071 : 524287);
- if (isSetProcessId())
- hashCode = hashCode * 8191 + processId.hashCode();
+ hashCode = hashCode * 8191 + ((isSetQueryType()) ? 131071 : 524287);
+ if (isSetQueryType())
+ hashCode = hashCode * 8191 + queryType.hashCode();
+
+ hashCode = hashCode * 8191 + ((isSetId()) ? 131071 : 524287);
+ if (isSetId())
+ hashCode = hashCode * 8191 + id.hashCode();
return hashCode;
}
@Override
- public int compareTo(getProcessStatus_args other) {
+ public int compareTo(isJobExist_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
- lastComparison = java.lang.Boolean.valueOf(isSetProcessId()).compareTo(other.isSetProcessId());
+ lastComparison = java.lang.Boolean.valueOf(isSetQueryType()).compareTo(other.isSetQueryType());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetProcessId()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processId, other.processId);
+ if (isSetQueryType()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.queryType, other.queryType);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = java.lang.Boolean.valueOf(isSetId()).compareTo(other.isSetId());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, other.id);
if (lastComparison != 0) {
return lastComparison;
}
@@ -74826,14 +75540,22 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getProcessStatus_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("isJobExist_args(");
boolean first = true;
- sb.append("processId:");
- if (this.processId == null) {
+ sb.append("queryType:");
+ if (this.queryType == null) {
sb.append("null");
} else {
- sb.append(this.processId);
+ sb.append(this.queryType);
+ }
+ first = false;
+ if (!first) sb.append(", ");
+ sb.append("id:");
+ if (this.id == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.id);
}
first = false;
sb.append(")");
@@ -74842,8 +75564,11 @@ public class RegistryService {
public void validate() throws org.apache.thrift.TException {
// check for required fields
- if (processId == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'processId' was not present! Struct: " + toString());
+ if (queryType == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'queryType' was not present! Struct: " + toString());
+ }
+ if (id == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'id' was not present! Struct: " + toString());
}
// check for sub-struct validity
}
@@ -74864,15 +75589,15 @@ public class RegistryService {
}
}
- private static class getProcessStatus_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getProcessStatus_argsStandardScheme getScheme() {
- return new getProcessStatus_argsStandardScheme();
+ private static class isJobExist_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public isJobExist_argsStandardScheme getScheme() {
+ return new isJobExist_argsStandardScheme();
}
}
- private static class getProcessStatus_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getProcessStatus_args> {
+ private static class isJobExist_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<isJobExist_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getProcessStatus_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, isJobExist_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -74882,10 +75607,18 @@ public class RegistryService {
break;
}
switch (schemeField.id) {
- case 1: // PROCESS_ID
+ case 1: // QUERY_TYPE
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.processId = iprot.readString();
- struct.setProcessIdIsSet(true);
+ struct.queryType = iprot.readString();
+ struct.setQueryTypeIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ case 2: // ID
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+ struct.id = iprot.readString();
+ struct.setIdIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -74901,13 +75634,18 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getProcessStatus_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, isJobExist_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
- if (struct.processId != null) {
- oprot.writeFieldBegin(PROCESS_ID_FIELD_DESC);
- oprot.writeString(struct.processId);
+ if (struct.queryType != null) {
+ oprot.writeFieldBegin(QUERY_TYPE_FIELD_DESC);
+ oprot.writeString(struct.queryType);
+ oprot.writeFieldEnd();
+ }
+ if (struct.id != null) {
+ oprot.writeFieldBegin(ID_FIELD_DESC);
+ oprot.writeString(struct.id);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
@@ -74916,25 +75654,28 @@ public class RegistryService {
}
- private static class getProcessStatus_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getProcessStatus_argsTupleScheme getScheme() {
- return new getProcessStatus_argsTupleScheme();
+ private static class isJobExist_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public isJobExist_argsTupleScheme getScheme() {
+ return new isJobExist_argsTupleScheme();
}
}
- private static class getProcessStatus_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getProcessStatus_args> {
+ private static class isJobExist_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<isJobExist_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getProcessStatus_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, isJobExist_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- oprot.writeString(struct.processId);
+ oprot.writeString(struct.queryType);
+ oprot.writeString(struct.id);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getProcessStatus_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, isJobExist_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
- struct.processId = iprot.readString();
- struct.setProcessIdIsSet(true);
+ struct.queryType = iprot.readString();
+ struct.setQueryTypeIsSet(true);
+ struct.id = iprot.readString();
+ struct.setIdIsSet(true);
}
}
@@ -74943,16 +75684,16 @@ public class RegistryService {
}
}
- public static class getProcessStatus_result implements org.apache.thrift.TBase<getProcessStatus_result, getProcessStatus_result._Fields>, java.io.Serializable, Cloneable, Comparable<getProcessStatus_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getProcessStatus_result");
+ public static class isJobExist_result implements org.apache.thrift.TBase<isJobExist_result, isJobExist_result._Fields>, java.io.Serializable, Cloneable, Comparable<isJobExist_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("isJobExist_result");
- private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0);
+ private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
private static final org.apache.thrift.protocol.TField RSE_FIELD_DESC = new org.apache.thrift.protocol.TField("rse", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getProcessStatus_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getProcessStatus_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new isJobExist_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new isJobExist_resultTupleSchemeFactory();
- public org.apache.airavata.model.status.ProcessStatus success; // required
+ public boolean success; // required
public org.apache.airavata.registry.api.exception.RegistryServiceException rse; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@@ -75017,80 +75758,82 @@ public class RegistryService {
}
// isset id assignments
+ private static final int __SUCCESS_ISSET_ID = 0;
+ private byte __isset_bitfield = 0;
public static final java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.status.ProcessStatus.class)));
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
tmpMap.put(_Fields.RSE, new org.apache.thrift.meta_data.FieldMetaData("rse", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.registry.api.exception.RegistryServiceException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getProcessStatus_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(isJobExist_result.class, metaDataMap);
}
- public getProcessStatus_result() {
+ public isJobExist_result() {
}
- public getProcessStatus_result(
- org.apache.airavata.model.status.ProcessStatus success,
+ public isJobExist_result(
+ boolean success,
org.apache.airavata.registry.api.exception.RegistryServiceException rse)
{
this();
this.success = success;
+ setSuccessIsSet(true);
this.rse = rse;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public getProcessStatus_result(getProcessStatus_result other) {
- if (other.isSetSuccess()) {
- this.success = new org.apache.airavata.model.status.ProcessStatus(other.success);
- }
+ public isJobExist_result(isJobExist_result other) {
+ __isset_bitfield = other.__isset_bitfield;
+ this.success = other.success;
if (other.isSetRse()) {
this.rse = new org.apache.airavata.registry.api.exception.RegistryServiceException(other.rse);
}
}
- public getProcessStatus_result deepCopy() {
- return new getProcessStatus_result(this);
+ public isJobExist_result deepCopy() {
+ return new isJobExist_result(this);
}
@Override
public void clear() {
- this.success = null;
+ setSuccessIsSet(false);
+ this.success = false;
this.rse = null;
}
- public org.apache.airavata.model.status.ProcessStatus getSuccess() {
+ public boolean isSuccess() {
return this.success;
}
- public getProcessStatus_result setSuccess(org.apache.airavata.model.status.ProcessStatus success) {
+ public isJobExist_result setSuccess(boolean success) {
this.success = success;
+ setSuccessIsSet(true);
return this;
}
public void unsetSuccess() {
- this.success = null;
+ __isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID);
}
/** Returns true if field success is set (has been assigned a value) and false otherwise */
public boolean isSetSuccess() {
- return this.success != null;
+ return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
}
public void setSuccessIsSet(boolean value) {
- if (!value) {
- this.success = null;
- }
+ __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value);
}
public org.apache.airavata.registry.api.exception.RegistryServiceException getRse() {
return this.rse;
}
- public getProcessStatus_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
+ public isJobExist_result setRse(org.apache.airavata.registry.api.exception.RegistryServiceException rse) {
this.rse = rse;
return this;
}
@@ -75116,7 +75859,7 @@ public class RegistryService {
if (value == null) {
unsetSuccess();
} else {
- setSuccess((org.apache.airavata.model.status.ProcessStatus)value);
+ setSuccess((java.lang.Boolean)value);
}
break;
@@ -75134,7 +75877,7 @@ public class RegistryService {
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
- return getSuccess();
+ return isSuccess();
case RSE:
return getRse();
@@ -75162,23 +75905,23 @@ public class RegistryService {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getProcessStatus_result)
- return this.equals((getProcessStatus_result)that);
+ if (that instanceof isJobExist_result)
+ return this.equals((isJobExist_result)that);
return false;
}
- public boolean equals(getProcessStatus_result that) {
+ public boolean equals(isJobExist_result that) {
if (that == null)
return false;
if (this == that)
return true;
- boolean this_present_success = true && this.isSetSuccess();
- boolean that_present_success = true && that.isSetSuccess();
+ boolean this_present_success = true;
+ boolean that_present_success = true;
if (this_present_success || that_present_success) {
if (!(this_present_success && that_present_success))
return false;
- if (!this.success.equals(that.success))
+ if (this.success != that.success)
return false;
}
@@ -75198,9 +75941,7 @@ public class RegistryService {
public int hashCode() {
int hashCode = 1;
- hashCode = hashCode * 8191 + ((isSetSuccess()) ? 131071 : 524287);
- if (isSetSuccess())
- hashCode = hashCode * 8191 + success.hashCode();
+ hashCode = hashCode * 8191 + ((success) ? 131071 : 524287);
hashCode = hashCode * 8191 + ((isSetRse()) ? 131071 : 524287);
if (isSetRse())
@@ -75210,7 +75951,7 @@ public class RegistryService {
}
@Override
- public int compareTo(getProcessStatus_result other) {
+ public int compareTo(isJobExist_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -75254,15 +75995,11 @@ public class RegistryService {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getProcessStatus_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("isJobExist_result(");
boolean first = true;
sb.append("success:");
- if (this.success == null) {
- sb.append("null");
- } else {
- sb.append(this.success);
- }
+ sb.append(this.success);
first = false;
if (!first) sb.append(", ");
sb.append("rse:");
@@ -75279,9 +76016,6 @@ public class RegistryService {
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
- if (success != null) {
- success.validate();
- }
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -75294,21 +76028,23 @@ public class RegistryService {
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException {
try {
+ // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+ __isset_bitfield = 0;
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 getProcessStatus_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getProcessStatus_resultStandardScheme getScheme() {
- return new getProcessStatus_resultStandardScheme();
+ private static class isJobExist_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public isJobExist_resultStandardScheme getScheme() {
+ return new isJobExist_resultStandardScheme();
}
}
- private static class getProcessStatus_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getProcessStatus_result> {
+ private static class isJobExist_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<isJobExist_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getProcessStatus_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, isJobExist_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -75319,9 +76055,8 @@ public class RegistryService {
}
switch (schemeField.id) {
case 0: // SUCCESS
- if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.success = new org.apache.airavata.model.status.ProcessStatus();
- struct.success.read(iprot);
+ if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) {
+ struct.success = iprot.readBool();
struct.setSuccessIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@@ -75347,13 +76082,13 @@ public class RegistryService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getProcessStatus_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, isJobExist_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
- if (struct.success != null) {
+ if (struct.isSetSuccess()) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
- struct.success.write(oprot);
+ oprot.writeBool(struct.success);
oprot.writeFieldEnd();
}
if (struct.rse != null) {
@@ -75367,16 +76102,16 @@ public class RegistryService {
}
- private static class getProcessStatus_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getProcessStatus_resultTupleScheme getScheme() {
- return new getProcessStatus_resultTupleScheme();
+ private static class isJobExist_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public isJobExist_resultTupleScheme getScheme() {
+ return new isJobExist_resultTupleScheme();
}
}
- private static class getProcessStatus_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getProcessStatus_result> {
+ private static class isJobExist_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<isJobExist_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getProcessStatus_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, isJobExist_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet optionals = new java.util.BitSet();
if (struct.isSetSuccess()) {
@@ -75387,7 +76122,7 @@ public class RegistryService {
}
oprot.writeBitSet(optionals, 2);
if (struct.isSetSuccess()) {
- struct.success.write(oprot);
+ oprot.writeBool(struct.success);
}
if (struct.isSetRse()) {
struct.rse.write(oprot);
@@ -75395,12 +76130,11 @@ public class RegistryService {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getProcessStatus_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, isJobExist_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
- struct.success = new org.apache.airavata.model.status.ProcessStatus();
- struct.success.read(iprot);
+ struct.success = iprot.readBool();
struct.setSuccessIsSet(true);
}
if (incoming.get(1)) {
diff --git a/thrift-interface-descriptions/component-cpis/registry-api.thrift b/thrift-interface-descriptions/component-cpis/registry-api.thrift
index 0cb201b..ef2a6f6 100644
--- a/thrift-interface-descriptions/component-cpis/registry-api.thrift
+++ b/thrift-interface-descriptions/component-cpis/registry-api.thrift
@@ -751,6 +751,13 @@ service RegistryService {
* queryType can be TASK_ID OR PROCESS_ID
*
*/
+ bool isJobExist(1: required string queryType, 2: required string id)
+ throws (1: registry_api_errors.RegistryServiceException rse)
+
+ /*
+ * queryType can be TASK_ID OR PROCESS_ID
+ *
+ */
job_model.JobModel getJob(1: required string queryType, 2: required string id)
throws (1: registry_api_errors.RegistryServiceException rse)
--
To stop receiving notification emails like this one, please contact
machristie@apache.org.