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/06/05 15:42:16 UTC
[airavata] 03/03: AIRAVATA-2781 Regenerate Thrift stubs
This is an automated email from the ASF dual-hosted git repository.
machristie pushed a commit to branch group-based-auth
in repository https://gitbox.apache.org/repos/asf/airavata.git
commit 790d446cae4cb1a630d2a49374ae0e693eac9c68
Author: Marcus Christie <ma...@apache.org>
AuthorDate: Tue Jun 5 11:41:23 2018 -0400
AIRAVATA-2781 Regenerate Thrift stubs
---
.../java/org/apache/airavata/api/Airavata.java | 48266 ++++++++++---------
.../main/resources/lib/Airavata/API/Airavata.php | 22041 +++++----
.../API/Sharing/SharingRegistryService.php | 4001 +-
.../Model/AppCatalog/StorageResource/Types.php | 46 +
.../lib/Airavata/Model/Data/Movement/Types.php | 69 +
.../lib/Airavata/Model/Experiment/Types.php | 23 +
.../resources/lib/Airavata/Model/Group/Types.php | 8 +-
.../resources/lib/Airavata/Model/Process/Types.php | 23 +
.../resources/lib/Airavata/Model/Sharing/Types.php | 121 +
.../resources/lib/Airavata/Model/Status/Types.php | 92 +
.../resources/lib/Airavata/Model/User/Types.php | 602 +-
.../Profile/User/CPI/UserProfileService.php | 477 +-
.../model/group/ResourcePermissionType.java | 4 +
13 files changed, 42407 insertions(+), 33366 deletions(-)
diff --git a/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java b/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
index d7813be..a49d19c 100644
--- a/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
+++ b/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
@@ -3051,6 +3051,8 @@ public class Airavata {
public java.util.List<java.lang.String> getAllAccessibleUsers(org.apache.airavata.model.security.AuthzToken authzToken, java.lang.String resourceId, org.apache.airavata.model.group.ResourceType resourceType, org.apache.airavata.model.group.ResourcePermissionType permissionType) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error [...]
+ public boolean userHasAccess(org.apache.airavata.model.security.AuthzToken authzToken, java.lang.String resourceId, org.apache.airavata.model.group.ResourcePermissionType permissionType) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.AuthorizationException, org.apache.thrift.TException;
+
public java.lang.String createGroupResourceProfile(org.apache.airavata.model.security.AuthzToken authzToken, org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile groupResourceProfile) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.AuthorizationException, org.apache.thrift.TException;
public void updateGroupResourceProfile(org.apache.airavata.model.security.AuthzToken authzToken, org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile groupResourceProfile) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.AuthorizationException, org.apache.thrift.TException;
@@ -3432,6 +3434,8 @@ public class Airavata {
public void getAllAccessibleUsers(org.apache.airavata.model.security.AuthzToken authzToken, java.lang.String resourceId, org.apache.airavata.model.group.ResourceType resourceType, org.apache.airavata.model.group.ResourcePermissionType permissionType, org.apache.thrift.async.AsyncMethodCallback<java.util.List<java.lang.String>> resultHandler) throws org.apache.thrift.TException;
+ public void userHasAccess(org.apache.airavata.model.security.AuthzToken authzToken, java.lang.String resourceId, org.apache.airavata.model.group.ResourcePermissionType permissionType, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException;
+
public void createGroupResourceProfile(org.apache.airavata.model.security.AuthzToken authzToken, org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile groupResourceProfile, org.apache.thrift.async.AsyncMethodCallback<java.lang.String> resultHandler) throws org.apache.thrift.TException;
public void updateGroupResourceProfile(org.apache.airavata.model.security.AuthzToken authzToken, org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile groupResourceProfile, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException;
@@ -9776,6 +9780,43 @@ public class Airavata {
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllAccessibleUsers failed: unknown result");
}
+ public boolean userHasAccess(org.apache.airavata.model.security.AuthzToken authzToken, java.lang.String resourceId, org.apache.airavata.model.group.ResourcePermissionType permissionType) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.AuthorizationException, org.apache.thrift.TException
+ {
+ send_userHasAccess(authzToken, resourceId, permissionType);
+ return recv_userHasAccess();
+ }
+
+ public void send_userHasAccess(org.apache.airavata.model.security.AuthzToken authzToken, java.lang.String resourceId, org.apache.airavata.model.group.ResourcePermissionType permissionType) throws org.apache.thrift.TException
+ {
+ userHasAccess_args args = new userHasAccess_args();
+ args.setAuthzToken(authzToken);
+ args.setResourceId(resourceId);
+ args.setPermissionType(permissionType);
+ sendBase("userHasAccess", args);
+ }
+
+ public boolean recv_userHasAccess() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.AuthorizationException, org.apache.thrift.TException
+ {
+ userHasAccess_result result = new userHasAccess_result();
+ receiveBase(result, "userHasAccess");
+ if (result.isSetSuccess()) {
+ return result.success;
+ }
+ if (result.ire != null) {
+ throw result.ire;
+ }
+ if (result.ace != null) {
+ throw result.ace;
+ }
+ if (result.ase != null) {
+ throw result.ase;
+ }
+ if (result.ae != null) {
+ throw result.ae;
+ }
+ throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "userHasAccess failed: unknown result");
+ }
+
public java.lang.String createGroupResourceProfile(org.apache.airavata.model.security.AuthzToken authzToken, org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile groupResourceProfile) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.AuthorizationException, org.apache.thrift.TException
{
send_createGroupResourceProfile(authzToken, groupResourceProfile);
@@ -16752,6 +16793,44 @@ public class Airavata {
}
}
+ public void userHasAccess(org.apache.airavata.model.security.AuthzToken authzToken, java.lang.String resourceId, org.apache.airavata.model.group.ResourcePermissionType permissionType, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
+ checkReady();
+ userHasAccess_call method_call = new userHasAccess_call(authzToken, resourceId, permissionType, resultHandler, this, ___protocolFactory, ___transport);
+ this.___currentMethod = method_call;
+ ___manager.call(method_call);
+ }
+
+ public static class userHasAccess_call extends org.apache.thrift.async.TAsyncMethodCall<java.lang.Boolean> {
+ private org.apache.airavata.model.security.AuthzToken authzToken;
+ private java.lang.String resourceId;
+ private org.apache.airavata.model.group.ResourcePermissionType permissionType;
+ public userHasAccess_call(org.apache.airavata.model.security.AuthzToken authzToken, java.lang.String resourceId, org.apache.airavata.model.group.ResourcePermissionType permissionType, 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.authzToken = authzToken;
+ this.resourceId = resourceId;
+ this.permissionType = permissionType;
+ }
+
+ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
+ prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("userHasAccess", org.apache.thrift.protocol.TMessageType.CALL, 0));
+ userHasAccess_args args = new userHasAccess_args();
+ args.setAuthzToken(authzToken);
+ args.setResourceId(resourceId);
+ args.setPermissionType(permissionType);
+ args.write(prot);
+ prot.writeMessageEnd();
+ }
+
+ public java.lang.Boolean getResult() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.airavata.model.error.AuthorizationException, 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_userHasAccess();
+ }
+ }
+
public void createGroupResourceProfile(org.apache.airavata.model.security.AuthzToken authzToken, org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile groupResourceProfile, org.apache.thrift.async.AsyncMethodCallback<java.lang.String> resultHandler) throws org.apache.thrift.TException {
checkReady();
createGroupResourceProfile_call method_call = new createGroupResourceProfile_call(authzToken, groupResourceProfile, resultHandler, this, ___protocolFactory, ___transport);
@@ -17464,6 +17543,7 @@ public class Airavata {
processMap.put("revokeSharingOfResourceFromUsers", new revokeSharingOfResourceFromUsers());
processMap.put("revokeSharingOfResourceFromGroups", new revokeSharingOfResourceFromGroups());
processMap.put("getAllAccessibleUsers", new getAllAccessibleUsers());
+ processMap.put("userHasAccess", new userHasAccess());
processMap.put("createGroupResourceProfile", new createGroupResourceProfile());
processMap.put("updateGroupResourceProfile", new updateGroupResourceProfile());
processMap.put("getGroupResourceProfile", new getGroupResourceProfile());
@@ -22682,6 +22762,37 @@ public class Airavata {
}
}
+ public static class userHasAccess<I extends Iface> extends org.apache.thrift.ProcessFunction<I, userHasAccess_args> {
+ public userHasAccess() {
+ super("userHasAccess");
+ }
+
+ public userHasAccess_args getEmptyArgsInstance() {
+ return new userHasAccess_args();
+ }
+
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public userHasAccess_result getResult(I iface, userHasAccess_args args) throws org.apache.thrift.TException {
+ userHasAccess_result result = new userHasAccess_result();
+ try {
+ result.success = iface.userHasAccess(args.authzToken, args.resourceId, args.permissionType);
+ result.setSuccessIsSet(true);
+ } catch (org.apache.airavata.model.error.InvalidRequestException ire) {
+ result.ire = ire;
+ } catch (org.apache.airavata.model.error.AiravataClientException ace) {
+ result.ace = ace;
+ } catch (org.apache.airavata.model.error.AiravataSystemException ase) {
+ result.ase = ase;
+ } catch (org.apache.airavata.model.error.AuthorizationException ae) {
+ result.ae = ae;
+ }
+ return result;
+ }
+ }
+
public static class createGroupResourceProfile<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createGroupResourceProfile_args> {
public createGroupResourceProfile() {
super("createGroupResourceProfile");
@@ -23320,6 +23431,7 @@ public class Airavata {
processMap.put("revokeSharingOfResourceFromUsers", new revokeSharingOfResourceFromUsers());
processMap.put("revokeSharingOfResourceFromGroups", new revokeSharingOfResourceFromGroups());
processMap.put("getAllAccessibleUsers", new getAllAccessibleUsers());
+ processMap.put("userHasAccess", new userHasAccess());
processMap.put("createGroupResourceProfile", new createGroupResourceProfile());
processMap.put("updateGroupResourceProfile", new updateGroupResourceProfile());
processMap.put("getGroupResourceProfile", new getGroupResourceProfile());
@@ -36577,21 +36689,22 @@ public class Airavata {
}
}
- public static class createGroupResourceProfile<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, createGroupResourceProfile_args, java.lang.String> {
- public createGroupResourceProfile() {
- super("createGroupResourceProfile");
+ public static class userHasAccess<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, userHasAccess_args, java.lang.Boolean> {
+ public userHasAccess() {
+ super("userHasAccess");
}
- public createGroupResourceProfile_args getEmptyArgsInstance() {
- return new createGroupResourceProfile_args();
+ public userHasAccess_args getEmptyArgsInstance() {
+ return new userHasAccess_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.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.String>() {
- public void onComplete(java.lang.String o) {
- createGroupResourceProfile_result result = new createGroupResourceProfile_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean>() {
+ public void onComplete(java.lang.Boolean o) {
+ userHasAccess_result result = new userHasAccess_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) {
@@ -36605,83 +36718,7 @@ public class Airavata {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- createGroupResourceProfile_result result = new createGroupResourceProfile_result();
- if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
- result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
- result.setIreIsSet(true);
- msg = result;
- } else if (e instanceof org.apache.airavata.model.error.AiravataClientException) {
- result.ace = (org.apache.airavata.model.error.AiravataClientException) e;
- result.setAceIsSet(true);
- msg = result;
- } else if (e instanceof org.apache.airavata.model.error.AiravataSystemException) {
- result.ase = (org.apache.airavata.model.error.AiravataSystemException) e;
- result.setAseIsSet(true);
- msg = result;
- } else if (e instanceof org.apache.airavata.model.error.AuthorizationException) {
- result.ae = (org.apache.airavata.model.error.AuthorizationException) e;
- result.setAeIsSet(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, createGroupResourceProfile_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.String> resultHandler) throws org.apache.thrift.TException {
- iface.createGroupResourceProfile(args.authzToken, args.groupResourceProfile,resultHandler);
- }
- }
-
- public static class updateGroupResourceProfile<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, updateGroupResourceProfile_args, Void> {
- public updateGroupResourceProfile() {
- super("updateGroupResourceProfile");
- }
-
- public updateGroupResourceProfile_args getEmptyArgsInstance() {
- return new updateGroupResourceProfile_args();
- }
-
- public org.apache.thrift.async.AsyncMethodCallback<Void> 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<Void>() {
- public void onComplete(Void o) {
- updateGroupResourceProfile_result result = new updateGroupResourceProfile_result();
- 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;
- updateGroupResourceProfile_result result = new updateGroupResourceProfile_result();
+ userHasAccess_result result = new userHasAccess_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -36725,25 +36762,25 @@ public class Airavata {
return false;
}
- public void start(I iface, updateGroupResourceProfile_args args, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException {
- iface.updateGroupResourceProfile(args.authzToken, args.groupResourceProfile,resultHandler);
+ public void start(I iface, userHasAccess_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
+ iface.userHasAccess(args.authzToken, args.resourceId, args.permissionType,resultHandler);
}
}
- public static class getGroupResourceProfile<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGroupResourceProfile_args, org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile> {
- public getGroupResourceProfile() {
- super("getGroupResourceProfile");
+ public static class createGroupResourceProfile<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, createGroupResourceProfile_args, java.lang.String> {
+ public createGroupResourceProfile() {
+ super("createGroupResourceProfile");
}
- public getGroupResourceProfile_args getEmptyArgsInstance() {
- return new getGroupResourceProfile_args();
+ public createGroupResourceProfile_args getEmptyArgsInstance() {
+ return new createGroupResourceProfile_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile> 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<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile>() {
- public void onComplete(org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile o) {
- getGroupResourceProfile_result result = new getGroupResourceProfile_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<java.lang.String>() {
+ public void onComplete(java.lang.String o) {
+ createGroupResourceProfile_result result = new createGroupResourceProfile_result();
result.success = o;
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -36758,7 +36795,7 @@ public class Airavata {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- getGroupResourceProfile_result result = new getGroupResourceProfile_result();
+ createGroupResourceProfile_result result = new createGroupResourceProfile_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -36802,27 +36839,25 @@ public class Airavata {
return false;
}
- public void start(I iface, getGroupResourceProfile_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile> resultHandler) throws org.apache.thrift.TException {
- iface.getGroupResourceProfile(args.authzToken, args.groupResourceProfileId,resultHandler);
+ public void start(I iface, createGroupResourceProfile_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.String> resultHandler) throws org.apache.thrift.TException {
+ iface.createGroupResourceProfile(args.authzToken, args.groupResourceProfile,resultHandler);
}
}
- public static class removeGroupResourceProfile<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, removeGroupResourceProfile_args, java.lang.Boolean> {
- public removeGroupResourceProfile() {
- super("removeGroupResourceProfile");
+ public static class updateGroupResourceProfile<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, updateGroupResourceProfile_args, Void> {
+ public updateGroupResourceProfile() {
+ super("updateGroupResourceProfile");
}
- public removeGroupResourceProfile_args getEmptyArgsInstance() {
- return new removeGroupResourceProfile_args();
+ public updateGroupResourceProfile_args getEmptyArgsInstance() {
+ return new updateGroupResourceProfile_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<Void> 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) {
- removeGroupResourceProfile_result result = new removeGroupResourceProfile_result();
- result.success = o;
- result.setSuccessIsSet(true);
+ return new org.apache.thrift.async.AsyncMethodCallback<Void>() {
+ public void onComplete(Void o) {
+ updateGroupResourceProfile_result result = new updateGroupResourceProfile_result();
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
} catch (org.apache.thrift.transport.TTransportException e) {
@@ -36836,7 +36871,7 @@ public class Airavata {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- removeGroupResourceProfile_result result = new removeGroupResourceProfile_result();
+ updateGroupResourceProfile_result result = new updateGroupResourceProfile_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -36880,25 +36915,25 @@ public class Airavata {
return false;
}
- public void start(I iface, removeGroupResourceProfile_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
- iface.removeGroupResourceProfile(args.authzToken, args.groupResourceProfileId,resultHandler);
+ public void start(I iface, updateGroupResourceProfile_args args, org.apache.thrift.async.AsyncMethodCallback<Void> resultHandler) throws org.apache.thrift.TException {
+ iface.updateGroupResourceProfile(args.authzToken, args.groupResourceProfile,resultHandler);
}
}
- public static class getGroupResourceList<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGroupResourceList_args, java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile>> {
- public getGroupResourceList() {
- super("getGroupResourceList");
+ public static class getGroupResourceProfile<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGroupResourceProfile_args, org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile> {
+ public getGroupResourceProfile() {
+ super("getGroupResourceProfile");
}
- public getGroupResourceList_args getEmptyArgsInstance() {
- return new getGroupResourceList_args();
+ public getGroupResourceProfile_args getEmptyArgsInstance() {
+ return new getGroupResourceProfile_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile>> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile> 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.groupresourceprofile.GroupResourceProfile>>() {
- public void onComplete(java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile> o) {
- getGroupResourceList_result result = new getGroupResourceList_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile>() {
+ public void onComplete(org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile o) {
+ getGroupResourceProfile_result result = new getGroupResourceProfile_result();
result.success = o;
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -36913,7 +36948,7 @@ public class Airavata {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- getGroupResourceList_result result = new getGroupResourceList_result();
+ getGroupResourceProfile_result result = new getGroupResourceProfile_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -36957,25 +36992,25 @@ public class Airavata {
return false;
}
- public void start(I iface, getGroupResourceList_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile>> resultHandler) throws org.apache.thrift.TException {
- iface.getGroupResourceList(args.authzToken, args.gatewayId,resultHandler);
+ public void start(I iface, getGroupResourceProfile_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile> resultHandler) throws org.apache.thrift.TException {
+ iface.getGroupResourceProfile(args.authzToken, args.groupResourceProfileId,resultHandler);
}
}
- public static class removeGroupComputePrefs<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, removeGroupComputePrefs_args, java.lang.Boolean> {
- public removeGroupComputePrefs() {
- super("removeGroupComputePrefs");
+ public static class removeGroupResourceProfile<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, removeGroupResourceProfile_args, java.lang.Boolean> {
+ public removeGroupResourceProfile() {
+ super("removeGroupResourceProfile");
}
- public removeGroupComputePrefs_args getEmptyArgsInstance() {
- return new removeGroupComputePrefs_args();
+ public removeGroupResourceProfile_args getEmptyArgsInstance() {
+ return new removeGroupResourceProfile_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) {
- removeGroupComputePrefs_result result = new removeGroupComputePrefs_result();
+ removeGroupResourceProfile_result result = new removeGroupResourceProfile_result();
result.success = o;
result.setSuccessIsSet(true);
try {
@@ -36991,7 +37026,7 @@ public class Airavata {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- removeGroupComputePrefs_result result = new removeGroupComputePrefs_result();
+ removeGroupResourceProfile_result result = new removeGroupResourceProfile_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -37035,27 +37070,26 @@ public class Airavata {
return false;
}
- public void start(I iface, removeGroupComputePrefs_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
- iface.removeGroupComputePrefs(args.authzToken, args.computeResourceId, args.groupResourceProfileId,resultHandler);
+ public void start(I iface, removeGroupResourceProfile_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
+ iface.removeGroupResourceProfile(args.authzToken, args.groupResourceProfileId,resultHandler);
}
}
- public static class removeGroupComputeResourcePolicy<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, removeGroupComputeResourcePolicy_args, java.lang.Boolean> {
- public removeGroupComputeResourcePolicy() {
- super("removeGroupComputeResourcePolicy");
+ public static class getGroupResourceList<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGroupResourceList_args, java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile>> {
+ public getGroupResourceList() {
+ super("getGroupResourceList");
}
- public removeGroupComputeResourcePolicy_args getEmptyArgsInstance() {
- return new removeGroupComputeResourcePolicy_args();
+ public getGroupResourceList_args getEmptyArgsInstance() {
+ return new getGroupResourceList_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.groupresourceprofile.GroupResourceProfile>> 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) {
- removeGroupComputeResourcePolicy_result result = new removeGroupComputeResourcePolicy_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile>>() {
+ public void onComplete(java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile> o) {
+ getGroupResourceList_result result = new getGroupResourceList_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) {
@@ -37069,7 +37103,7 @@ public class Airavata {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- removeGroupComputeResourcePolicy_result result = new removeGroupComputeResourcePolicy_result();
+ getGroupResourceList_result result = new getGroupResourceList_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -37113,25 +37147,25 @@ public class Airavata {
return false;
}
- public void start(I iface, removeGroupComputeResourcePolicy_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
- iface.removeGroupComputeResourcePolicy(args.authzToken, args.resourcePolicyId,resultHandler);
+ public void start(I iface, getGroupResourceList_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupResourceProfile>> resultHandler) throws org.apache.thrift.TException {
+ iface.getGroupResourceList(args.authzToken, args.gatewayId,resultHandler);
}
}
- public static class removeGroupBatchQueueResourcePolicy<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, removeGroupBatchQueueResourcePolicy_args, java.lang.Boolean> {
- public removeGroupBatchQueueResourcePolicy() {
- super("removeGroupBatchQueueResourcePolicy");
+ public static class removeGroupComputePrefs<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, removeGroupComputePrefs_args, java.lang.Boolean> {
+ public removeGroupComputePrefs() {
+ super("removeGroupComputePrefs");
}
- public removeGroupBatchQueueResourcePolicy_args getEmptyArgsInstance() {
- return new removeGroupBatchQueueResourcePolicy_args();
+ public removeGroupComputePrefs_args getEmptyArgsInstance() {
+ return new removeGroupComputePrefs_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) {
- removeGroupBatchQueueResourcePolicy_result result = new removeGroupBatchQueueResourcePolicy_result();
+ removeGroupComputePrefs_result result = new removeGroupComputePrefs_result();
result.success = o;
result.setSuccessIsSet(true);
try {
@@ -37147,84 +37181,7 @@ public class Airavata {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- removeGroupBatchQueueResourcePolicy_result result = new removeGroupBatchQueueResourcePolicy_result();
- if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
- result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
- result.setIreIsSet(true);
- msg = result;
- } else if (e instanceof org.apache.airavata.model.error.AiravataClientException) {
- result.ace = (org.apache.airavata.model.error.AiravataClientException) e;
- result.setAceIsSet(true);
- msg = result;
- } else if (e instanceof org.apache.airavata.model.error.AiravataSystemException) {
- result.ase = (org.apache.airavata.model.error.AiravataSystemException) e;
- result.setAseIsSet(true);
- msg = result;
- } else if (e instanceof org.apache.airavata.model.error.AuthorizationException) {
- result.ae = (org.apache.airavata.model.error.AuthorizationException) e;
- result.setAeIsSet(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, removeGroupBatchQueueResourcePolicy_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
- iface.removeGroupBatchQueueResourcePolicy(args.authzToken, args.resourcePolicyId,resultHandler);
- }
- }
-
- public static class getGroupComputeResourcePreference<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGroupComputeResourcePreference_args, org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference> {
- public getGroupComputeResourcePreference() {
- super("getGroupComputeResourcePreference");
- }
-
- public getGroupComputeResourcePreference_args getEmptyArgsInstance() {
- return new getGroupComputeResourcePreference_args();
- }
-
- public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference> 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.groupresourceprofile.GroupComputeResourcePreference>() {
- public void onComplete(org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference o) {
- getGroupComputeResourcePreference_result result = new getGroupComputeResourcePreference_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;
- getGroupComputeResourcePreference_result result = new getGroupComputeResourcePreference_result();
+ removeGroupComputePrefs_result result = new removeGroupComputePrefs_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -37268,26 +37225,27 @@ public class Airavata {
return false;
}
- public void start(I iface, getGroupComputeResourcePreference_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference> resultHandler) throws org.apache.thrift.TException {
- iface.getGroupComputeResourcePreference(args.authzToken, args.computeResourceId, args.groupResourceProfileId,resultHandler);
+ public void start(I iface, removeGroupComputePrefs_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
+ iface.removeGroupComputePrefs(args.authzToken, args.computeResourceId, args.groupResourceProfileId,resultHandler);
}
}
- public static class getGroupComputeResourcePolicy<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGroupComputeResourcePolicy_args, org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy> {
- public getGroupComputeResourcePolicy() {
- super("getGroupComputeResourcePolicy");
+ public static class removeGroupComputeResourcePolicy<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, removeGroupComputeResourcePolicy_args, java.lang.Boolean> {
+ public removeGroupComputeResourcePolicy() {
+ super("removeGroupComputeResourcePolicy");
}
- public getGroupComputeResourcePolicy_args getEmptyArgsInstance() {
- return new getGroupComputeResourcePolicy_args();
+ public removeGroupComputeResourcePolicy_args getEmptyArgsInstance() {
+ return new removeGroupComputeResourcePolicy_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy> 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.groupresourceprofile.ComputeResourcePolicy>() {
- public void onComplete(org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy o) {
- getGroupComputeResourcePolicy_result result = new getGroupComputeResourcePolicy_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean>() {
+ public void onComplete(java.lang.Boolean o) {
+ removeGroupComputeResourcePolicy_result result = new removeGroupComputeResourcePolicy_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) {
@@ -37301,7 +37259,7 @@ public class Airavata {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- getGroupComputeResourcePolicy_result result = new getGroupComputeResourcePolicy_result();
+ removeGroupComputeResourcePolicy_result result = new removeGroupComputeResourcePolicy_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -37345,26 +37303,27 @@ public class Airavata {
return false;
}
- public void start(I iface, getGroupComputeResourcePolicy_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy> resultHandler) throws org.apache.thrift.TException {
- iface.getGroupComputeResourcePolicy(args.authzToken, args.resourcePolicyId,resultHandler);
+ public void start(I iface, removeGroupComputeResourcePolicy_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
+ iface.removeGroupComputeResourcePolicy(args.authzToken, args.resourcePolicyId,resultHandler);
}
}
- public static class getBatchQueueResourcePolicy<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getBatchQueueResourcePolicy_args, org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy> {
- public getBatchQueueResourcePolicy() {
- super("getBatchQueueResourcePolicy");
+ public static class removeGroupBatchQueueResourcePolicy<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, removeGroupBatchQueueResourcePolicy_args, java.lang.Boolean> {
+ public removeGroupBatchQueueResourcePolicy() {
+ super("removeGroupBatchQueueResourcePolicy");
}
- public getBatchQueueResourcePolicy_args getEmptyArgsInstance() {
- return new getBatchQueueResourcePolicy_args();
+ public removeGroupBatchQueueResourcePolicy_args getEmptyArgsInstance() {
+ return new removeGroupBatchQueueResourcePolicy_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy> 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.groupresourceprofile.BatchQueueResourcePolicy>() {
- public void onComplete(org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy o) {
- getBatchQueueResourcePolicy_result result = new getBatchQueueResourcePolicy_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean>() {
+ public void onComplete(java.lang.Boolean o) {
+ removeGroupBatchQueueResourcePolicy_result result = new removeGroupBatchQueueResourcePolicy_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) {
@@ -37378,7 +37337,7 @@ public class Airavata {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- getBatchQueueResourcePolicy_result result = new getBatchQueueResourcePolicy_result();
+ removeGroupBatchQueueResourcePolicy_result result = new removeGroupBatchQueueResourcePolicy_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -37422,25 +37381,25 @@ public class Airavata {
return false;
}
- public void start(I iface, getBatchQueueResourcePolicy_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy> resultHandler) throws org.apache.thrift.TException {
- iface.getBatchQueueResourcePolicy(args.authzToken, args.resourcePolicyId,resultHandler);
+ public void start(I iface, removeGroupBatchQueueResourcePolicy_args args, org.apache.thrift.async.AsyncMethodCallback<java.lang.Boolean> resultHandler) throws org.apache.thrift.TException {
+ iface.removeGroupBatchQueueResourcePolicy(args.authzToken, args.resourcePolicyId,resultHandler);
}
}
- public static class getGroupComputeResourcePrefList<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGroupComputeResourcePrefList_args, java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference>> {
- public getGroupComputeResourcePrefList() {
- super("getGroupComputeResourcePrefList");
+ public static class getGroupComputeResourcePreference<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGroupComputeResourcePreference_args, org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference> {
+ public getGroupComputeResourcePreference() {
+ super("getGroupComputeResourcePreference");
}
- public getGroupComputeResourcePrefList_args getEmptyArgsInstance() {
- return new getGroupComputeResourcePrefList_args();
+ public getGroupComputeResourcePreference_args getEmptyArgsInstance() {
+ return new getGroupComputeResourcePreference_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference>> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference> 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.groupresourceprofile.GroupComputeResourcePreference>>() {
- public void onComplete(java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference> o) {
- getGroupComputeResourcePrefList_result result = new getGroupComputeResourcePrefList_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference>() {
+ public void onComplete(org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference o) {
+ getGroupComputeResourcePreference_result result = new getGroupComputeResourcePreference_result();
result.success = o;
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -37455,7 +37414,7 @@ public class Airavata {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- getGroupComputeResourcePrefList_result result = new getGroupComputeResourcePrefList_result();
+ getGroupComputeResourcePreference_result result = new getGroupComputeResourcePreference_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -37499,25 +37458,25 @@ public class Airavata {
return false;
}
- public void start(I iface, getGroupComputeResourcePrefList_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference>> resultHandler) throws org.apache.thrift.TException {
- iface.getGroupComputeResourcePrefList(args.authzToken, args.groupResourceProfileId,resultHandler);
+ public void start(I iface, getGroupComputeResourcePreference_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference> resultHandler) throws org.apache.thrift.TException {
+ iface.getGroupComputeResourcePreference(args.authzToken, args.computeResourceId, args.groupResourceProfileId,resultHandler);
}
}
- public static class getGroupBatchQueueResourcePolicyList<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGroupBatchQueueResourcePolicyList_args, java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy>> {
- public getGroupBatchQueueResourcePolicyList() {
- super("getGroupBatchQueueResourcePolicyList");
+ public static class getGroupComputeResourcePolicy<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGroupComputeResourcePolicy_args, org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy> {
+ public getGroupComputeResourcePolicy() {
+ super("getGroupComputeResourcePolicy");
}
- public getGroupBatchQueueResourcePolicyList_args getEmptyArgsInstance() {
- return new getGroupBatchQueueResourcePolicyList_args();
+ public getGroupComputeResourcePolicy_args getEmptyArgsInstance() {
+ return new getGroupComputeResourcePolicy_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy>> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy> 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.groupresourceprofile.BatchQueueResourcePolicy>>() {
- public void onComplete(java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy> o) {
- getGroupBatchQueueResourcePolicyList_result result = new getGroupBatchQueueResourcePolicyList_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy>() {
+ public void onComplete(org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy o) {
+ getGroupComputeResourcePolicy_result result = new getGroupComputeResourcePolicy_result();
result.success = o;
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -37532,7 +37491,7 @@ public class Airavata {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- getGroupBatchQueueResourcePolicyList_result result = new getGroupBatchQueueResourcePolicyList_result();
+ getGroupComputeResourcePolicy_result result = new getGroupComputeResourcePolicy_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -37576,25 +37535,25 @@ public class Airavata {
return false;
}
- public void start(I iface, getGroupBatchQueueResourcePolicyList_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy>> resultHandler) throws org.apache.thrift.TException {
- iface.getGroupBatchQueueResourcePolicyList(args.authzToken, args.groupResourceProfileId,resultHandler);
+ public void start(I iface, getGroupComputeResourcePolicy_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy> resultHandler) throws org.apache.thrift.TException {
+ iface.getGroupComputeResourcePolicy(args.authzToken, args.resourcePolicyId,resultHandler);
}
}
- public static class getGroupComputeResourcePolicyList<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGroupComputeResourcePolicyList_args, java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy>> {
- public getGroupComputeResourcePolicyList() {
- super("getGroupComputeResourcePolicyList");
+ public static class getBatchQueueResourcePolicy<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getBatchQueueResourcePolicy_args, org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy> {
+ public getBatchQueueResourcePolicy() {
+ super("getBatchQueueResourcePolicy");
}
- public getGroupComputeResourcePolicyList_args getEmptyArgsInstance() {
- return new getGroupComputeResourcePolicyList_args();
+ public getBatchQueueResourcePolicy_args getEmptyArgsInstance() {
+ return new getBatchQueueResourcePolicy_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy>> getResultHandler(final org.apache.thrift.server.AbstractNonblockingServer.AsyncFrameBuffer fb, final int seqid) {
+ public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy> 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.groupresourceprofile.ComputeResourcePolicy>>() {
- public void onComplete(java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy> o) {
- getGroupComputeResourcePolicyList_result result = new getGroupComputeResourcePolicyList_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy>() {
+ public void onComplete(org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy o) {
+ getBatchQueueResourcePolicy_result result = new getBatchQueueResourcePolicy_result();
result.success = o;
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -37609,7 +37568,7 @@ public class Airavata {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- getGroupComputeResourcePolicyList_result result = new getGroupComputeResourcePolicyList_result();
+ getBatchQueueResourcePolicy_result result = new getBatchQueueResourcePolicy_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -37653,25 +37612,25 @@ public class Airavata {
return false;
}
- public void start(I iface, getGroupComputeResourcePolicyList_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy>> resultHandler) throws org.apache.thrift.TException {
- iface.getGroupComputeResourcePolicyList(args.authzToken, args.groupResourceProfileId,resultHandler);
+ public void start(I iface, getBatchQueueResourcePolicy_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy> resultHandler) throws org.apache.thrift.TException {
+ iface.getBatchQueueResourcePolicy(args.authzToken, args.resourcePolicyId,resultHandler);
}
}
- public static class getGatewayGroups<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGatewayGroups_args, org.apache.airavata.model.appcatalog.gatewaygroups.GatewayGroups> {
- public getGatewayGroups() {
- super("getGatewayGroups");
+ public static class getGroupComputeResourcePrefList<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGroupComputeResourcePrefList_args, java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference>> {
+ public getGroupComputeResourcePrefList() {
+ super("getGroupComputeResourcePrefList");
}
- public getGatewayGroups_args getEmptyArgsInstance() {
- return new getGatewayGroups_args();
+ public getGroupComputeResourcePrefList_args getEmptyArgsInstance() {
+ return new getGroupComputeResourcePrefList_args();
}
- public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.gatewaygroups.GatewayGroups> 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.groupresourceprofile.GroupComputeResourcePreference>> 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.gatewaygroups.GatewayGroups>() {
- public void onComplete(org.apache.airavata.model.appcatalog.gatewaygroups.GatewayGroups o) {
- getGatewayGroups_result result = new getGatewayGroups_result();
+ return new org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference>>() {
+ public void onComplete(java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference> o) {
+ getGroupComputeResourcePrefList_result result = new getGroupComputeResourcePrefList_result();
result.success = o;
try {
fcall.sendResponse(fb, result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -37686,7 +37645,238 @@ public class Airavata {
public void onError(java.lang.Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TSerializable msg;
- getGatewayGroups_result result = new getGatewayGroups_result();
+ getGroupComputeResourcePrefList_result result = new getGroupComputeResourcePrefList_result();
+ if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
+ result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
+ result.setIreIsSet(true);
+ msg = result;
+ } else if (e instanceof org.apache.airavata.model.error.AiravataClientException) {
+ result.ace = (org.apache.airavata.model.error.AiravataClientException) e;
+ result.setAceIsSet(true);
+ msg = result;
+ } else if (e instanceof org.apache.airavata.model.error.AiravataSystemException) {
+ result.ase = (org.apache.airavata.model.error.AiravataSystemException) e;
+ result.setAseIsSet(true);
+ msg = result;
+ } else if (e instanceof org.apache.airavata.model.error.AuthorizationException) {
+ result.ae = (org.apache.airavata.model.error.AuthorizationException) e;
+ result.setAeIsSet(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, getGroupComputeResourcePrefList_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.GroupComputeResourcePreference>> resultHandler) throws org.apache.thrift.TException {
+ iface.getGroupComputeResourcePrefList(args.authzToken, args.groupResourceProfileId,resultHandler);
+ }
+ }
+
+ public static class getGroupBatchQueueResourcePolicyList<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGroupBatchQueueResourcePolicyList_args, java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy>> {
+ public getGroupBatchQueueResourcePolicyList() {
+ super("getGroupBatchQueueResourcePolicyList");
+ }
+
+ public getGroupBatchQueueResourcePolicyList_args getEmptyArgsInstance() {
+ return new getGroupBatchQueueResourcePolicyList_args();
+ }
+
+ public org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy>> 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.groupresourceprofile.BatchQueueResourcePolicy>>() {
+ public void onComplete(java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy> o) {
+ getGroupBatchQueueResourcePolicyList_result result = new getGroupBatchQueueResourcePolicyList_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;
+ getGroupBatchQueueResourcePolicyList_result result = new getGroupBatchQueueResourcePolicyList_result();
+ if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
+ result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
+ result.setIreIsSet(true);
+ msg = result;
+ } else if (e instanceof org.apache.airavata.model.error.AiravataClientException) {
+ result.ace = (org.apache.airavata.model.error.AiravataClientException) e;
+ result.setAceIsSet(true);
+ msg = result;
+ } else if (e instanceof org.apache.airavata.model.error.AiravataSystemException) {
+ result.ase = (org.apache.airavata.model.error.AiravataSystemException) e;
+ result.setAseIsSet(true);
+ msg = result;
+ } else if (e instanceof org.apache.airavata.model.error.AuthorizationException) {
+ result.ae = (org.apache.airavata.model.error.AuthorizationException) e;
+ result.setAeIsSet(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, getGroupBatchQueueResourcePolicyList_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.BatchQueueResourcePolicy>> resultHandler) throws org.apache.thrift.TException {
+ iface.getGroupBatchQueueResourcePolicyList(args.authzToken, args.groupResourceProfileId,resultHandler);
+ }
+ }
+
+ public static class getGroupComputeResourcePolicyList<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGroupComputeResourcePolicyList_args, java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy>> {
+ public getGroupComputeResourcePolicyList() {
+ super("getGroupComputeResourcePolicyList");
+ }
+
+ public getGroupComputeResourcePolicyList_args getEmptyArgsInstance() {
+ return new getGroupComputeResourcePolicyList_args();
+ }
+
+ public org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy>> 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.groupresourceprofile.ComputeResourcePolicy>>() {
+ public void onComplete(java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy> o) {
+ getGroupComputeResourcePolicyList_result result = new getGroupComputeResourcePolicyList_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;
+ getGroupComputeResourcePolicyList_result result = new getGroupComputeResourcePolicyList_result();
+ if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
+ result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
+ result.setIreIsSet(true);
+ msg = result;
+ } else if (e instanceof org.apache.airavata.model.error.AiravataClientException) {
+ result.ace = (org.apache.airavata.model.error.AiravataClientException) e;
+ result.setAceIsSet(true);
+ msg = result;
+ } else if (e instanceof org.apache.airavata.model.error.AiravataSystemException) {
+ result.ase = (org.apache.airavata.model.error.AiravataSystemException) e;
+ result.setAseIsSet(true);
+ msg = result;
+ } else if (e instanceof org.apache.airavata.model.error.AuthorizationException) {
+ result.ae = (org.apache.airavata.model.error.AuthorizationException) e;
+ result.setAeIsSet(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, getGroupComputeResourcePolicyList_args args, org.apache.thrift.async.AsyncMethodCallback<java.util.List<org.apache.airavata.model.appcatalog.groupresourceprofile.ComputeResourcePolicy>> resultHandler) throws org.apache.thrift.TException {
+ iface.getGroupComputeResourcePolicyList(args.authzToken, args.groupResourceProfileId,resultHandler);
+ }
+ }
+
+ public static class getGatewayGroups<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getGatewayGroups_args, org.apache.airavata.model.appcatalog.gatewaygroups.GatewayGroups> {
+ public getGatewayGroups() {
+ super("getGatewayGroups");
+ }
+
+ public getGatewayGroups_args getEmptyArgsInstance() {
+ return new getGatewayGroups_args();
+ }
+
+ public org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.appcatalog.gatewaygroups.GatewayGroups> 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.gatewaygroups.GatewayGroups>() {
+ public void onComplete(org.apache.airavata.model.appcatalog.gatewaygroups.GatewayGroups o) {
+ getGatewayGroups_result result = new getGatewayGroups_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;
+ getGatewayGroups_result result = new getGatewayGroups_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -93034,7 +93224,1430 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("validateExperiment_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("validateExperiment_args(");
+ boolean first = true;
+
+ sb.append("authzToken:");
+ if (this.authzToken == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.authzToken);
+ }
+ first = false;
+ if (!first) sb.append(", ");
+ sb.append("airavataExperimentId:");
+ if (this.airavataExperimentId == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.airavataExperimentId);
+ }
+ first = false;
+ sb.append(")");
+ return sb.toString();
+ }
+
+ public void validate() throws org.apache.thrift.TException {
+ // check for required fields
+ if (authzToken == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'authzToken' was not present! Struct: " + toString());
+ }
+ if (airavataExperimentId == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'airavataExperimentId' was not present! Struct: " + toString());
+ }
+ // check for sub-struct validity
+ if (authzToken != null) {
+ authzToken.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 validateExperiment_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public validateExperiment_argsStandardScheme getScheme() {
+ return new validateExperiment_argsStandardScheme();
+ }
+ }
+
+ private static class validateExperiment_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<validateExperiment_args> {
+
+ public void read(org.apache.thrift.protocol.TProtocol iprot, validateExperiment_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: // AUTHZ_TOKEN
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.authzToken = new org.apache.airavata.model.security.AuthzToken();
+ struct.authzToken.read(iprot);
+ struct.setAuthzTokenIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ case 2: // AIRAVATA_EXPERIMENT_ID
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+ struct.airavataExperimentId = iprot.readString();
+ struct.setAiravataExperimentIdIsSet(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, validateExperiment_args struct) throws org.apache.thrift.TException {
+ struct.validate();
+
+ oprot.writeStructBegin(STRUCT_DESC);
+ if (struct.authzToken != null) {
+ oprot.writeFieldBegin(AUTHZ_TOKEN_FIELD_DESC);
+ struct.authzToken.write(oprot);
+ oprot.writeFieldEnd();
+ }
+ if (struct.airavataExperimentId != null) {
+ oprot.writeFieldBegin(AIRAVATA_EXPERIMENT_ID_FIELD_DESC);
+ oprot.writeString(struct.airavataExperimentId);
+ oprot.writeFieldEnd();
+ }
+ oprot.writeFieldStop();
+ oprot.writeStructEnd();
+ }
+
+ }
+
+ private static class validateExperiment_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public validateExperiment_argsTupleScheme getScheme() {
+ return new validateExperiment_argsTupleScheme();
+ }
+ }
+
+ private static class validateExperiment_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<validateExperiment_args> {
+
+ @Override
+ public void write(org.apache.thrift.protocol.TProtocol prot, validateExperiment_args struct) throws org.apache.thrift.TException {
+ org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
+ struct.authzToken.write(oprot);
+ oprot.writeString(struct.airavataExperimentId);
+ }
+
+ @Override
+ public void read(org.apache.thrift.protocol.TProtocol prot, validateExperiment_args struct) throws org.apache.thrift.TException {
+ org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
+ struct.authzToken = new org.apache.airavata.model.security.AuthzToken();
+ struct.authzToken.read(iprot);
+ struct.setAuthzTokenIsSet(true);
+ struct.airavataExperimentId = iprot.readString();
+ struct.setAiravataExperimentIdIsSet(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 validateExperiment_result implements org.apache.thrift.TBase<validateExperiment_result, validateExperiment_result._Fields>, java.io.Serializable, Cloneable, Comparable<validateExperiment_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("validateExperiment_result");
+
+ 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 IRE_FIELD_DESC = new org.apache.thrift.protocol.TField("ire", org.apache.thrift.protocol.TType.STRUCT, (short)1);
+ private static final org.apache.thrift.protocol.TField ENF_FIELD_DESC = new org.apache.thrift.protocol.TField("enf", org.apache.thrift.protocol.TType.STRUCT, (short)2);
+ private static final org.apache.thrift.protocol.TField ACE_FIELD_DESC = new org.apache.thrift.protocol.TField("ace", org.apache.thrift.protocol.TType.STRUCT, (short)3);
+ private static final org.apache.thrift.protocol.TField ASE_FIELD_DESC = new org.apache.thrift.protocol.TField("ase", org.apache.thrift.protocol.TType.STRUCT, (short)4);
+ private static final org.apache.thrift.protocol.TField AE_FIELD_DESC = new org.apache.thrift.protocol.TField("ae", org.apache.thrift.protocol.TType.STRUCT, (short)5);
+
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new validateExperiment_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new validateExperiment_resultTupleSchemeFactory();
+
+ public boolean success; // required
+ public org.apache.airavata.model.error.InvalidRequestException ire; // required
+ public org.apache.airavata.model.error.ExperimentNotFoundException enf; // required
+ public org.apache.airavata.model.error.AiravataClientException ace; // required
+ public org.apache.airavata.model.error.AiravataSystemException ase; // required
+ public org.apache.airavata.model.error.AuthorizationException ae; // 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"),
+ IRE((short)1, "ire"),
+ ENF((short)2, "enf"),
+ ACE((short)3, "ace"),
+ ASE((short)4, "ase"),
+ AE((short)5, "ae");
+
+ 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 0: // SUCCESS
+ return SUCCESS;
+ case 1: // IRE
+ return IRE;
+ case 2: // ENF
+ return ENF;
+ case 3: // ACE
+ return ACE;
+ case 4: // ASE
+ return ASE;
+ case 5: // AE
+ return AE;
+ 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
+ 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.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
+ tmpMap.put(_Fields.IRE, new org.apache.thrift.meta_data.FieldMetaData("ire", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.InvalidRequestException.class)));
+ tmpMap.put(_Fields.ENF, new org.apache.thrift.meta_data.FieldMetaData("enf", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.ExperimentNotFoundException.class)));
+ tmpMap.put(_Fields.ACE, new org.apache.thrift.meta_data.FieldMetaData("ace", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AiravataClientException.class)));
+ tmpMap.put(_Fields.ASE, new org.apache.thrift.meta_data.FieldMetaData("ase", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AiravataSystemException.class)));
+ tmpMap.put(_Fields.AE, new org.apache.thrift.meta_data.FieldMetaData("ae", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AuthorizationException.class)));
+ metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(validateExperiment_result.class, metaDataMap);
+ }
+
+ public validateExperiment_result() {
+ }
+
+ public validateExperiment_result(
+ boolean success,
+ org.apache.airavata.model.error.InvalidRequestException ire,
+ org.apache.airavata.model.error.ExperimentNotFoundException enf,
+ org.apache.airavata.model.error.AiravataClientException ace,
+ org.apache.airavata.model.error.AiravataSystemException ase,
+ org.apache.airavata.model.error.AuthorizationException ae)
+ {
+ this();
+ this.success = success;
+ setSuccessIsSet(true);
+ this.ire = ire;
+ this.enf = enf;
+ this.ace = ace;
+ this.ase = ase;
+ this.ae = ae;
+ }
+
+ /**
+ * Performs a deep copy on <i>other</i>.
+ */
+ public validateExperiment_result(validateExperiment_result other) {
+ __isset_bitfield = other.__isset_bitfield;
+ this.success = other.success;
+ if (other.isSetIre()) {
+ this.ire = new org.apache.airavata.model.error.InvalidRequestException(other.ire);
+ }
+ if (other.isSetEnf()) {
+ this.enf = new org.apache.airavata.model.error.ExperimentNotFoundException(other.enf);
+ }
+ if (other.isSetAce()) {
+ this.ace = new org.apache.airavata.model.error.AiravataClientException(other.ace);
+ }
+ if (other.isSetAse()) {
+ this.ase = new org.apache.airavata.model.error.AiravataSystemException(other.ase);
+ }
+ if (other.isSetAe()) {
+ this.ae = new org.apache.airavata.model.error.AuthorizationException(other.ae);
+ }
+ }
+
+ public validateExperiment_result deepCopy() {
+ return new validateExperiment_result(this);
+ }
+
+ @Override
+ public void clear() {
+ setSuccessIsSet(false);
+ this.success = false;
+ this.ire = null;
+ this.enf = null;
+ this.ace = null;
+ this.ase = null;
+ this.ae = null;
+ }
+
+ public boolean isSuccess() {
+ return this.success;
+ }
+
+ public validateExperiment_result setSuccess(boolean success) {
+ this.success = success;
+ setSuccessIsSet(true);
+ return this;
+ }
+
+ public void unsetSuccess() {
+ __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 org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
+ }
+
+ public void setSuccessIsSet(boolean value) {
+ __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value);
+ }
+
+ public org.apache.airavata.model.error.InvalidRequestException getIre() {
+ return this.ire;
+ }
+
+ public validateExperiment_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
+ this.ire = ire;
+ return this;
+ }
+
+ public void unsetIre() {
+ this.ire = null;
+ }
+
+ /** Returns true if field ire is set (has been assigned a value) and false otherwise */
+ public boolean isSetIre() {
+ return this.ire != null;
+ }
+
+ public void setIreIsSet(boolean value) {
+ if (!value) {
+ this.ire = null;
+ }
+ }
+
+ public org.apache.airavata.model.error.ExperimentNotFoundException getEnf() {
+ return this.enf;
+ }
+
+ public validateExperiment_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
+ this.enf = enf;
+ return this;
+ }
+
+ public void unsetEnf() {
+ this.enf = null;
+ }
+
+ /** Returns true if field enf is set (has been assigned a value) and false otherwise */
+ public boolean isSetEnf() {
+ return this.enf != null;
+ }
+
+ public void setEnfIsSet(boolean value) {
+ if (!value) {
+ this.enf = null;
+ }
+ }
+
+ public org.apache.airavata.model.error.AiravataClientException getAce() {
+ return this.ace;
+ }
+
+ public validateExperiment_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
+ this.ace = ace;
+ return this;
+ }
+
+ public void unsetAce() {
+ this.ace = null;
+ }
+
+ /** Returns true if field ace is set (has been assigned a value) and false otherwise */
+ public boolean isSetAce() {
+ return this.ace != null;
+ }
+
+ public void setAceIsSet(boolean value) {
+ if (!value) {
+ this.ace = null;
+ }
+ }
+
+ public org.apache.airavata.model.error.AiravataSystemException getAse() {
+ return this.ase;
+ }
+
+ public validateExperiment_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
+ this.ase = ase;
+ return this;
+ }
+
+ public void unsetAse() {
+ this.ase = null;
+ }
+
+ /** Returns true if field ase is set (has been assigned a value) and false otherwise */
+ public boolean isSetAse() {
+ return this.ase != null;
+ }
+
+ public void setAseIsSet(boolean value) {
+ if (!value) {
+ this.ase = null;
+ }
+ }
+
+ public org.apache.airavata.model.error.AuthorizationException getAe() {
+ return this.ae;
+ }
+
+ public validateExperiment_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
+ this.ae = ae;
+ return this;
+ }
+
+ public void unsetAe() {
+ this.ae = null;
+ }
+
+ /** Returns true if field ae is set (has been assigned a value) and false otherwise */
+ public boolean isSetAe() {
+ return this.ae != null;
+ }
+
+ public void setAeIsSet(boolean value) {
+ if (!value) {
+ this.ae = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, java.lang.Object value) {
+ switch (field) {
+ case SUCCESS:
+ if (value == null) {
+ unsetSuccess();
+ } else {
+ setSuccess((java.lang.Boolean)value);
+ }
+ break;
+
+ case IRE:
+ if (value == null) {
+ unsetIre();
+ } else {
+ setIre((org.apache.airavata.model.error.InvalidRequestException)value);
+ }
+ break;
+
+ case ENF:
+ if (value == null) {
+ unsetEnf();
+ } else {
+ setEnf((org.apache.airavata.model.error.ExperimentNotFoundException)value);
+ }
+ break;
+
+ case ACE:
+ if (value == null) {
+ unsetAce();
+ } else {
+ setAce((org.apache.airavata.model.error.AiravataClientException)value);
+ }
+ break;
+
+ case ASE:
+ if (value == null) {
+ unsetAse();
+ } else {
+ setAse((org.apache.airavata.model.error.AiravataSystemException)value);
+ }
+ break;
+
+ case AE:
+ if (value == null) {
+ unsetAe();
+ } else {
+ setAe((org.apache.airavata.model.error.AuthorizationException)value);
+ }
+ break;
+
+ }
+ }
+
+ public java.lang.Object getFieldValue(_Fields field) {
+ switch (field) {
+ case SUCCESS:
+ return isSuccess();
+
+ case IRE:
+ return getIre();
+
+ case ENF:
+ return getEnf();
+
+ case ACE:
+ return getAce();
+
+ case ASE:
+ return getAse();
+
+ case AE:
+ return getAe();
+
+ }
+ 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 SUCCESS:
+ return isSetSuccess();
+ case IRE:
+ return isSetIre();
+ case ENF:
+ return isSetEnf();
+ case ACE:
+ return isSetAce();
+ case ASE:
+ return isSetAse();
+ case AE:
+ return isSetAe();
+ }
+ throw new java.lang.IllegalStateException();
+ }
+
+ @Override
+ public boolean equals(java.lang.Object that) {
+ if (that == null)
+ return false;
+ if (that instanceof validateExperiment_result)
+ return this.equals((validateExperiment_result)that);
+ return false;
+ }
+
+ public boolean equals(validateExperiment_result that) {
+ if (that == null)
+ return false;
+ if (this == that)
+ return true;
+
+ 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 != that.success)
+ return false;
+ }
+
+ boolean this_present_ire = true && this.isSetIre();
+ boolean that_present_ire = true && that.isSetIre();
+ if (this_present_ire || that_present_ire) {
+ if (!(this_present_ire && that_present_ire))
+ return false;
+ if (!this.ire.equals(that.ire))
+ return false;
+ }
+
+ boolean this_present_enf = true && this.isSetEnf();
+ boolean that_present_enf = true && that.isSetEnf();
+ if (this_present_enf || that_present_enf) {
+ if (!(this_present_enf && that_present_enf))
+ return false;
+ if (!this.enf.equals(that.enf))
+ return false;
+ }
+
+ boolean this_present_ace = true && this.isSetAce();
+ boolean that_present_ace = true && that.isSetAce();
+ if (this_present_ace || that_present_ace) {
+ if (!(this_present_ace && that_present_ace))
+ return false;
+ if (!this.ace.equals(that.ace))
+ return false;
+ }
+
+ boolean this_present_ase = true && this.isSetAse();
+ boolean that_present_ase = true && that.isSetAse();
+ if (this_present_ase || that_present_ase) {
+ if (!(this_present_ase && that_present_ase))
+ return false;
+ if (!this.ase.equals(that.ase))
+ return false;
+ }
+
+ boolean this_present_ae = true && this.isSetAe();
+ boolean that_present_ae = true && that.isSetAe();
+ if (this_present_ae || that_present_ae) {
+ if (!(this_present_ae && that_present_ae))
+ return false;
+ if (!this.ae.equals(that.ae))
+ return false;
+ }
+
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ int hashCode = 1;
+
+ hashCode = hashCode * 8191 + ((success) ? 131071 : 524287);
+
+ hashCode = hashCode * 8191 + ((isSetIre()) ? 131071 : 524287);
+ if (isSetIre())
+ hashCode = hashCode * 8191 + ire.hashCode();
+
+ hashCode = hashCode * 8191 + ((isSetEnf()) ? 131071 : 524287);
+ if (isSetEnf())
+ hashCode = hashCode * 8191 + enf.hashCode();
+
+ hashCode = hashCode * 8191 + ((isSetAce()) ? 131071 : 524287);
+ if (isSetAce())
+ hashCode = hashCode * 8191 + ace.hashCode();
+
+ hashCode = hashCode * 8191 + ((isSetAse()) ? 131071 : 524287);
+ if (isSetAse())
+ hashCode = hashCode * 8191 + ase.hashCode();
+
+ hashCode = hashCode * 8191 + ((isSetAe()) ? 131071 : 524287);
+ if (isSetAe())
+ hashCode = hashCode * 8191 + ae.hashCode();
+
+ return hashCode;
+ }
+
+ @Override
+ public int compareTo(validateExperiment_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(isSetIre()).compareTo(other.isSetIre());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetIre()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ire, other.ire);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = java.lang.Boolean.valueOf(isSetEnf()).compareTo(other.isSetEnf());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetEnf()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.enf, other.enf);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = java.lang.Boolean.valueOf(isSetAce()).compareTo(other.isSetAce());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetAce()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ace, other.ace);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = java.lang.Boolean.valueOf(isSetAse()).compareTo(other.isSetAse());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetAse()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ase, other.ase);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = java.lang.Boolean.valueOf(isSetAe()).compareTo(other.isSetAe());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetAe()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ae, other.ae);
+ 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("validateExperiment_result(");
+ boolean first = true;
+
+ sb.append("success:");
+ sb.append(this.success);
+ first = false;
+ if (!first) sb.append(", ");
+ sb.append("ire:");
+ if (this.ire == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.ire);
+ }
+ first = false;
+ if (!first) sb.append(", ");
+ sb.append("enf:");
+ if (this.enf == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.enf);
+ }
+ first = false;
+ if (!first) sb.append(", ");
+ sb.append("ace:");
+ if (this.ace == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.ace);
+ }
+ first = false;
+ if (!first) sb.append(", ");
+ sb.append("ase:");
+ if (this.ase == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.ase);
+ }
+ first = false;
+ if (!first) sb.append(", ");
+ sb.append("ae:");
+ if (this.ae == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.ae);
+ }
+ 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 {
+ // 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 validateExperiment_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public validateExperiment_resultStandardScheme getScheme() {
+ return new validateExperiment_resultStandardScheme();
+ }
+ }
+
+ private static class validateExperiment_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<validateExperiment_result> {
+
+ public void read(org.apache.thrift.protocol.TProtocol iprot, validateExperiment_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 0: // SUCCESS
+ 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);
+ }
+ break;
+ case 1: // IRE
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.ire = new org.apache.airavata.model.error.InvalidRequestException();
+ struct.ire.read(iprot);
+ struct.setIreIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ case 2: // ENF
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.enf = new org.apache.airavata.model.error.ExperimentNotFoundException();
+ struct.enf.read(iprot);
+ struct.setEnfIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ case 3: // ACE
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.ace = new org.apache.airavata.model.error.AiravataClientException();
+ struct.ace.read(iprot);
+ struct.setAceIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ case 4: // ASE
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.ase = new org.apache.airavata.model.error.AiravataSystemException();
+ struct.ase.read(iprot);
+ struct.setAseIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ case 5: // AE
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.ae = new org.apache.airavata.model.error.AuthorizationException();
+ struct.ae.read(iprot);
+ struct.setAeIsSet(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, validateExperiment_result struct) throws org.apache.thrift.TException {
+ struct.validate();
+
+ oprot.writeStructBegin(STRUCT_DESC);
+ if (struct.isSetSuccess()) {
+ oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
+ oprot.writeBool(struct.success);
+ oprot.writeFieldEnd();
+ }
+ if (struct.ire != null) {
+ oprot.writeFieldBegin(IRE_FIELD_DESC);
+ struct.ire.write(oprot);
+ oprot.writeFieldEnd();
+ }
+ if (struct.enf != null) {
+ oprot.writeFieldBegin(ENF_FIELD_DESC);
+ struct.enf.write(oprot);
+ oprot.writeFieldEnd();
+ }
+ if (struct.ace != null) {
+ oprot.writeFieldBegin(ACE_FIELD_DESC);
+ struct.ace.write(oprot);
+ oprot.writeFieldEnd();
+ }
+ if (struct.ase != null) {
+ oprot.writeFieldBegin(ASE_FIELD_DESC);
+ struct.ase.write(oprot);
+ oprot.writeFieldEnd();
+ }
+ if (struct.ae != null) {
+ oprot.writeFieldBegin(AE_FIELD_DESC);
+ struct.ae.write(oprot);
+ oprot.writeFieldEnd();
+ }
+ oprot.writeFieldStop();
+ oprot.writeStructEnd();
+ }
+
+ }
+
+ private static class validateExperiment_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public validateExperiment_resultTupleScheme getScheme() {
+ return new validateExperiment_resultTupleScheme();
+ }
+ }
+
+ private static class validateExperiment_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<validateExperiment_result> {
+
+ @Override
+ public void write(org.apache.thrift.protocol.TProtocol prot, validateExperiment_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.isSetIre()) {
+ optionals.set(1);
+ }
+ if (struct.isSetEnf()) {
+ optionals.set(2);
+ }
+ if (struct.isSetAce()) {
+ optionals.set(3);
+ }
+ if (struct.isSetAse()) {
+ optionals.set(4);
+ }
+ if (struct.isSetAe()) {
+ optionals.set(5);
+ }
+ oprot.writeBitSet(optionals, 6);
+ if (struct.isSetSuccess()) {
+ oprot.writeBool(struct.success);
+ }
+ if (struct.isSetIre()) {
+ struct.ire.write(oprot);
+ }
+ if (struct.isSetEnf()) {
+ struct.enf.write(oprot);
+ }
+ if (struct.isSetAce()) {
+ struct.ace.write(oprot);
+ }
+ if (struct.isSetAse()) {
+ struct.ase.write(oprot);
+ }
+ if (struct.isSetAe()) {
+ struct.ae.write(oprot);
+ }
+ }
+
+ @Override
+ public void read(org.apache.thrift.protocol.TProtocol prot, validateExperiment_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(6);
+ if (incoming.get(0)) {
+ struct.success = iprot.readBool();
+ struct.setSuccessIsSet(true);
+ }
+ if (incoming.get(1)) {
+ struct.ire = new org.apache.airavata.model.error.InvalidRequestException();
+ struct.ire.read(iprot);
+ struct.setIreIsSet(true);
+ }
+ if (incoming.get(2)) {
+ struct.enf = new org.apache.airavata.model.error.ExperimentNotFoundException();
+ struct.enf.read(iprot);
+ struct.setEnfIsSet(true);
+ }
+ if (incoming.get(3)) {
+ struct.ace = new org.apache.airavata.model.error.AiravataClientException();
+ struct.ace.read(iprot);
+ struct.setAceIsSet(true);
+ }
+ if (incoming.get(4)) {
+ struct.ase = new org.apache.airavata.model.error.AiravataSystemException();
+ struct.ase.read(iprot);
+ struct.setAseIsSet(true);
+ }
+ if (incoming.get(5)) {
+ struct.ae = new org.apache.airavata.model.error.AuthorizationException();
+ struct.ae.read(iprot);
+ struct.setAeIsSet(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 launchExperiment_args implements org.apache.thrift.TBase<launchExperiment_args, launchExperiment_args._Fields>, java.io.Serializable, Cloneable, Comparable<launchExperiment_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("launchExperiment_args");
+
+ private static final org.apache.thrift.protocol.TField AUTHZ_TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField("authzToken", org.apache.thrift.protocol.TType.STRUCT, (short)1);
+ private static final org.apache.thrift.protocol.TField AIRAVATA_EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("airavataExperimentId", org.apache.thrift.protocol.TType.STRING, (short)2);
+ private static final org.apache.thrift.protocol.TField GATEWAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("gatewayId", org.apache.thrift.protocol.TType.STRING, (short)3);
+
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new launchExperiment_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new launchExperiment_argsTupleSchemeFactory();
+
+ public org.apache.airavata.model.security.AuthzToken authzToken; // required
+ public java.lang.String airavataExperimentId; // required
+ public java.lang.String gatewayId; // 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 {
+ AUTHZ_TOKEN((short)1, "authzToken"),
+ AIRAVATA_EXPERIMENT_ID((short)2, "airavataExperimentId"),
+ GATEWAY_ID((short)3, "gatewayId");
+
+ 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: // AUTHZ_TOKEN
+ return AUTHZ_TOKEN;
+ case 2: // AIRAVATA_EXPERIMENT_ID
+ return AIRAVATA_EXPERIMENT_ID;
+ case 3: // GATEWAY_ID
+ return GATEWAY_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.AUTHZ_TOKEN, new org.apache.thrift.meta_data.FieldMetaData("authzToken", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.security.AuthzToken.class)));
+ tmpMap.put(_Fields.AIRAVATA_EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("airavataExperimentId", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+ tmpMap.put(_Fields.GATEWAY_ID, new org.apache.thrift.meta_data.FieldMetaData("gatewayId", 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(launchExperiment_args.class, metaDataMap);
+ }
+
+ public launchExperiment_args() {
+ }
+
+ public launchExperiment_args(
+ org.apache.airavata.model.security.AuthzToken authzToken,
+ java.lang.String airavataExperimentId,
+ java.lang.String gatewayId)
+ {
+ this();
+ this.authzToken = authzToken;
+ this.airavataExperimentId = airavataExperimentId;
+ this.gatewayId = gatewayId;
+ }
+
+ /**
+ * Performs a deep copy on <i>other</i>.
+ */
+ public launchExperiment_args(launchExperiment_args other) {
+ if (other.isSetAuthzToken()) {
+ this.authzToken = new org.apache.airavata.model.security.AuthzToken(other.authzToken);
+ }
+ if (other.isSetAiravataExperimentId()) {
+ this.airavataExperimentId = other.airavataExperimentId;
+ }
+ if (other.isSetGatewayId()) {
+ this.gatewayId = other.gatewayId;
+ }
+ }
+
+ public launchExperiment_args deepCopy() {
+ return new launchExperiment_args(this);
+ }
+
+ @Override
+ public void clear() {
+ this.authzToken = null;
+ this.airavataExperimentId = null;
+ this.gatewayId = null;
+ }
+
+ public org.apache.airavata.model.security.AuthzToken getAuthzToken() {
+ return this.authzToken;
+ }
+
+ public launchExperiment_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
+ this.authzToken = authzToken;
+ return this;
+ }
+
+ public void unsetAuthzToken() {
+ this.authzToken = null;
+ }
+
+ /** Returns true if field authzToken is set (has been assigned a value) and false otherwise */
+ public boolean isSetAuthzToken() {
+ return this.authzToken != null;
+ }
+
+ public void setAuthzTokenIsSet(boolean value) {
+ if (!value) {
+ this.authzToken = null;
+ }
+ }
+
+ public java.lang.String getAiravataExperimentId() {
+ return this.airavataExperimentId;
+ }
+
+ public launchExperiment_args setAiravataExperimentId(java.lang.String airavataExperimentId) {
+ this.airavataExperimentId = airavataExperimentId;
+ return this;
+ }
+
+ public void unsetAiravataExperimentId() {
+ this.airavataExperimentId = null;
+ }
+
+ /** Returns true if field airavataExperimentId is set (has been assigned a value) and false otherwise */
+ public boolean isSetAiravataExperimentId() {
+ return this.airavataExperimentId != null;
+ }
+
+ public void setAiravataExperimentIdIsSet(boolean value) {
+ if (!value) {
+ this.airavataExperimentId = null;
+ }
+ }
+
+ public java.lang.String getGatewayId() {
+ return this.gatewayId;
+ }
+
+ public launchExperiment_args setGatewayId(java.lang.String gatewayId) {
+ this.gatewayId = gatewayId;
+ return this;
+ }
+
+ public void unsetGatewayId() {
+ this.gatewayId = null;
+ }
+
+ /** Returns true if field gatewayId is set (has been assigned a value) and false otherwise */
+ public boolean isSetGatewayId() {
+ return this.gatewayId != null;
+ }
+
+ public void setGatewayIdIsSet(boolean value) {
+ if (!value) {
+ this.gatewayId = null;
+ }
+ }
+
+ public void setFieldValue(_Fields field, java.lang.Object value) {
+ switch (field) {
+ case AUTHZ_TOKEN:
+ if (value == null) {
+ unsetAuthzToken();
+ } else {
+ setAuthzToken((org.apache.airavata.model.security.AuthzToken)value);
+ }
+ break;
+
+ case AIRAVATA_EXPERIMENT_ID:
+ if (value == null) {
+ unsetAiravataExperimentId();
+ } else {
+ setAiravataExperimentId((java.lang.String)value);
+ }
+ break;
+
+ case GATEWAY_ID:
+ if (value == null) {
+ unsetGatewayId();
+ } else {
+ setGatewayId((java.lang.String)value);
+ }
+ break;
+
+ }
+ }
+
+ public java.lang.Object getFieldValue(_Fields field) {
+ switch (field) {
+ case AUTHZ_TOKEN:
+ return getAuthzToken();
+
+ case AIRAVATA_EXPERIMENT_ID:
+ return getAiravataExperimentId();
+
+ case GATEWAY_ID:
+ return getGatewayId();
+
+ }
+ 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 AUTHZ_TOKEN:
+ return isSetAuthzToken();
+ case AIRAVATA_EXPERIMENT_ID:
+ return isSetAiravataExperimentId();
+ case GATEWAY_ID:
+ return isSetGatewayId();
+ }
+ throw new java.lang.IllegalStateException();
+ }
+
+ @Override
+ public boolean equals(java.lang.Object that) {
+ if (that == null)
+ return false;
+ if (that instanceof launchExperiment_args)
+ return this.equals((launchExperiment_args)that);
+ return false;
+ }
+
+ public boolean equals(launchExperiment_args that) {
+ if (that == null)
+ return false;
+ if (this == that)
+ return true;
+
+ boolean this_present_authzToken = true && this.isSetAuthzToken();
+ boolean that_present_authzToken = true && that.isSetAuthzToken();
+ if (this_present_authzToken || that_present_authzToken) {
+ if (!(this_present_authzToken && that_present_authzToken))
+ return false;
+ if (!this.authzToken.equals(that.authzToken))
+ return false;
+ }
+
+ boolean this_present_airavataExperimentId = true && this.isSetAiravataExperimentId();
+ boolean that_present_airavataExperimentId = true && that.isSetAiravataExperimentId();
+ if (this_present_airavataExperimentId || that_present_airavataExperimentId) {
+ if (!(this_present_airavataExperimentId && that_present_airavataExperimentId))
+ return false;
+ if (!this.airavataExperimentId.equals(that.airavataExperimentId))
+ return false;
+ }
+
+ boolean this_present_gatewayId = true && this.isSetGatewayId();
+ boolean that_present_gatewayId = true && that.isSetGatewayId();
+ if (this_present_gatewayId || that_present_gatewayId) {
+ if (!(this_present_gatewayId && that_present_gatewayId))
+ return false;
+ if (!this.gatewayId.equals(that.gatewayId))
+ return false;
+ }
+
+ return true;
+ }
+
+ @Override
+ public int hashCode() {
+ int hashCode = 1;
+
+ hashCode = hashCode * 8191 + ((isSetAuthzToken()) ? 131071 : 524287);
+ if (isSetAuthzToken())
+ hashCode = hashCode * 8191 + authzToken.hashCode();
+
+ hashCode = hashCode * 8191 + ((isSetAiravataExperimentId()) ? 131071 : 524287);
+ if (isSetAiravataExperimentId())
+ hashCode = hashCode * 8191 + airavataExperimentId.hashCode();
+
+ hashCode = hashCode * 8191 + ((isSetGatewayId()) ? 131071 : 524287);
+ if (isSetGatewayId())
+ hashCode = hashCode * 8191 + gatewayId.hashCode();
+
+ return hashCode;
+ }
+
+ @Override
+ public int compareTo(launchExperiment_args other) {
+ if (!getClass().equals(other.getClass())) {
+ return getClass().getName().compareTo(other.getClass().getName());
+ }
+
+ int lastComparison = 0;
+
+ lastComparison = java.lang.Boolean.valueOf(isSetAuthzToken()).compareTo(other.isSetAuthzToken());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetAuthzToken()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.authzToken, other.authzToken);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = java.lang.Boolean.valueOf(isSetAiravataExperimentId()).compareTo(other.isSetAiravataExperimentId());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetAiravataExperimentId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.airavataExperimentId, other.airavataExperimentId);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = java.lang.Boolean.valueOf(isSetGatewayId()).compareTo(other.isSetGatewayId());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetGatewayId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.gatewayId, other.gatewayId);
+ 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("launchExperiment_args(");
boolean first = true;
sb.append("authzToken:");
@@ -93052,6 +94665,14 @@ public class Airavata {
sb.append(this.airavataExperimentId);
}
first = false;
+ if (!first) sb.append(", ");
+ sb.append("gatewayId:");
+ if (this.gatewayId == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.gatewayId);
+ }
+ first = false;
sb.append(")");
return sb.toString();
}
@@ -93064,6 +94685,9 @@ public class Airavata {
if (airavataExperimentId == null) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'airavataExperimentId' was not present! Struct: " + toString());
}
+ if (gatewayId == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'gatewayId' was not present! Struct: " + toString());
+ }
// check for sub-struct validity
if (authzToken != null) {
authzToken.validate();
@@ -93086,15 +94710,15 @@ public class Airavata {
}
}
- private static class validateExperiment_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public validateExperiment_argsStandardScheme getScheme() {
- return new validateExperiment_argsStandardScheme();
+ private static class launchExperiment_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public launchExperiment_argsStandardScheme getScheme() {
+ return new launchExperiment_argsStandardScheme();
}
}
- private static class validateExperiment_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<validateExperiment_args> {
+ private static class launchExperiment_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<launchExperiment_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, validateExperiment_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, launchExperiment_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -93121,6 +94745,14 @@ public class Airavata {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
+ case 3: // GATEWAY_ID
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+ struct.gatewayId = iprot.readString();
+ struct.setGatewayIdIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -93132,7 +94764,7 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, validateExperiment_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, launchExperiment_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -93146,35 +94778,43 @@ public class Airavata {
oprot.writeString(struct.airavataExperimentId);
oprot.writeFieldEnd();
}
+ if (struct.gatewayId != null) {
+ oprot.writeFieldBegin(GATEWAY_ID_FIELD_DESC);
+ oprot.writeString(struct.gatewayId);
+ oprot.writeFieldEnd();
+ }
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
- private static class validateExperiment_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public validateExperiment_argsTupleScheme getScheme() {
- return new validateExperiment_argsTupleScheme();
+ private static class launchExperiment_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public launchExperiment_argsTupleScheme getScheme() {
+ return new launchExperiment_argsTupleScheme();
}
}
- private static class validateExperiment_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<validateExperiment_args> {
+ private static class launchExperiment_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<launchExperiment_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, validateExperiment_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, launchExperiment_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken.write(oprot);
oprot.writeString(struct.airavataExperimentId);
+ oprot.writeString(struct.gatewayId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, validateExperiment_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, launchExperiment_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken = new org.apache.airavata.model.security.AuthzToken();
struct.authzToken.read(iprot);
struct.setAuthzTokenIsSet(true);
struct.airavataExperimentId = iprot.readString();
struct.setAiravataExperimentIdIsSet(true);
+ struct.gatewayId = iprot.readString();
+ struct.setGatewayIdIsSet(true);
}
}
@@ -93183,20 +94823,18 @@ public class Airavata {
}
}
- public static class validateExperiment_result implements org.apache.thrift.TBase<validateExperiment_result, validateExperiment_result._Fields>, java.io.Serializable, Cloneable, Comparable<validateExperiment_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("validateExperiment_result");
+ public static class launchExperiment_result implements org.apache.thrift.TBase<launchExperiment_result, launchExperiment_result._Fields>, java.io.Serializable, Cloneable, Comparable<launchExperiment_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("launchExperiment_result");
- 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 IRE_FIELD_DESC = new org.apache.thrift.protocol.TField("ire", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField ENF_FIELD_DESC = new org.apache.thrift.protocol.TField("enf", org.apache.thrift.protocol.TType.STRUCT, (short)2);
private static final org.apache.thrift.protocol.TField ACE_FIELD_DESC = new org.apache.thrift.protocol.TField("ace", org.apache.thrift.protocol.TType.STRUCT, (short)3);
private static final org.apache.thrift.protocol.TField ASE_FIELD_DESC = new org.apache.thrift.protocol.TField("ase", org.apache.thrift.protocol.TType.STRUCT, (short)4);
private static final org.apache.thrift.protocol.TField AE_FIELD_DESC = new org.apache.thrift.protocol.TField("ae", org.apache.thrift.protocol.TType.STRUCT, (short)5);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new validateExperiment_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new validateExperiment_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new launchExperiment_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new launchExperiment_resultTupleSchemeFactory();
- public boolean success; // required
public org.apache.airavata.model.error.InvalidRequestException ire; // required
public org.apache.airavata.model.error.ExperimentNotFoundException enf; // required
public org.apache.airavata.model.error.AiravataClientException ace; // required
@@ -93205,7 +94843,6 @@ public class Airavata {
/** 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"),
IRE((short)1, "ire"),
ENF((short)2, "enf"),
ACE((short)3, "ace"),
@@ -93225,8 +94862,6 @@ public class Airavata {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
- case 0: // SUCCESS
- return SUCCESS;
case 1: // IRE
return IRE;
case 2: // ENF
@@ -93277,13 +94912,9 @@ public class Airavata {
}
// 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.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
tmpMap.put(_Fields.IRE, new org.apache.thrift.meta_data.FieldMetaData("ire", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.InvalidRequestException.class)));
tmpMap.put(_Fields.ENF, new org.apache.thrift.meta_data.FieldMetaData("enf", org.apache.thrift.TFieldRequirementType.DEFAULT,
@@ -93295,14 +94926,13 @@ public class Airavata {
tmpMap.put(_Fields.AE, new org.apache.thrift.meta_data.FieldMetaData("ae", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AuthorizationException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(validateExperiment_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(launchExperiment_result.class, metaDataMap);
}
- public validateExperiment_result() {
+ public launchExperiment_result() {
}
- public validateExperiment_result(
- boolean success,
+ public launchExperiment_result(
org.apache.airavata.model.error.InvalidRequestException ire,
org.apache.airavata.model.error.ExperimentNotFoundException enf,
org.apache.airavata.model.error.AiravataClientException ace,
@@ -93310,8 +94940,6 @@ public class Airavata {
org.apache.airavata.model.error.AuthorizationException ae)
{
this();
- this.success = success;
- setSuccessIsSet(true);
this.ire = ire;
this.enf = enf;
this.ace = ace;
@@ -93322,9 +94950,7 @@ public class Airavata {
/**
* Performs a deep copy on <i>other</i>.
*/
- public validateExperiment_result(validateExperiment_result other) {
- __isset_bitfield = other.__isset_bitfield;
- this.success = other.success;
+ public launchExperiment_result(launchExperiment_result other) {
if (other.isSetIre()) {
this.ire = new org.apache.airavata.model.error.InvalidRequestException(other.ire);
}
@@ -93342,14 +94968,12 @@ public class Airavata {
}
}
- public validateExperiment_result deepCopy() {
- return new validateExperiment_result(this);
+ public launchExperiment_result deepCopy() {
+ return new launchExperiment_result(this);
}
@Override
public void clear() {
- setSuccessIsSet(false);
- this.success = false;
this.ire = null;
this.enf = null;
this.ace = null;
@@ -93357,34 +94981,11 @@ public class Airavata {
this.ae = null;
}
- public boolean isSuccess() {
- return this.success;
- }
-
- public validateExperiment_result setSuccess(boolean success) {
- this.success = success;
- setSuccessIsSet(true);
- return this;
- }
-
- public void unsetSuccess() {
- __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 org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
- }
-
- public void setSuccessIsSet(boolean value) {
- __isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value);
- }
-
public org.apache.airavata.model.error.InvalidRequestException getIre() {
return this.ire;
}
- public validateExperiment_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
+ public launchExperiment_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
this.ire = ire;
return this;
}
@@ -93408,7 +95009,7 @@ public class Airavata {
return this.enf;
}
- public validateExperiment_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
+ public launchExperiment_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
this.enf = enf;
return this;
}
@@ -93432,7 +95033,7 @@ public class Airavata {
return this.ace;
}
- public validateExperiment_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
+ public launchExperiment_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
this.ace = ace;
return this;
}
@@ -93456,7 +95057,7 @@ public class Airavata {
return this.ase;
}
- public validateExperiment_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
+ public launchExperiment_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
this.ase = ase;
return this;
}
@@ -93480,7 +95081,7 @@ public class Airavata {
return this.ae;
}
- public validateExperiment_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
+ public launchExperiment_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
this.ae = ae;
return this;
}
@@ -93502,14 +95103,6 @@ public class Airavata {
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
- case SUCCESS:
- if (value == null) {
- unsetSuccess();
- } else {
- setSuccess((java.lang.Boolean)value);
- }
- break;
-
case IRE:
if (value == null) {
unsetIre();
@@ -93555,9 +95148,6 @@ public class Airavata {
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
- case SUCCESS:
- return isSuccess();
-
case IRE:
return getIre();
@@ -93584,8 +95174,6 @@ public class Airavata {
}
switch (field) {
- case SUCCESS:
- return isSetSuccess();
case IRE:
return isSetIre();
case ENF:
@@ -93604,26 +95192,17 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof validateExperiment_result)
- return this.equals((validateExperiment_result)that);
+ if (that instanceof launchExperiment_result)
+ return this.equals((launchExperiment_result)that);
return false;
}
- public boolean equals(validateExperiment_result that) {
+ public boolean equals(launchExperiment_result that) {
if (that == null)
return false;
if (this == that)
return true;
- 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 != that.success)
- return false;
- }
-
boolean this_present_ire = true && this.isSetIre();
boolean that_present_ire = true && that.isSetIre();
if (this_present_ire || that_present_ire) {
@@ -93676,8 +95255,6 @@ public class Airavata {
public int hashCode() {
int hashCode = 1;
- hashCode = hashCode * 8191 + ((success) ? 131071 : 524287);
-
hashCode = hashCode * 8191 + ((isSetIre()) ? 131071 : 524287);
if (isSetIre())
hashCode = hashCode * 8191 + ire.hashCode();
@@ -93702,23 +95279,13 @@ public class Airavata {
}
@Override
- public int compareTo(validateExperiment_result other) {
+ public int compareTo(launchExperiment_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(isSetIre()).compareTo(other.isSetIre());
if (lastComparison != 0) {
return lastComparison;
@@ -93786,13 +95353,9 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("validateExperiment_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("launchExperiment_result(");
boolean first = true;
- sb.append("success:");
- sb.append(this.success);
- first = false;
- if (!first) sb.append(", ");
sb.append("ire:");
if (this.ire == null) {
sb.append("null");
@@ -93851,23 +95414,21 @@ public class Airavata {
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 validateExperiment_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public validateExperiment_resultStandardScheme getScheme() {
- return new validateExperiment_resultStandardScheme();
+ private static class launchExperiment_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public launchExperiment_resultStandardScheme getScheme() {
+ return new launchExperiment_resultStandardScheme();
}
}
- private static class validateExperiment_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<validateExperiment_result> {
+ private static class launchExperiment_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<launchExperiment_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, validateExperiment_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, launchExperiment_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -93877,14 +95438,6 @@ public class Airavata {
break;
}
switch (schemeField.id) {
- case 0: // SUCCESS
- 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);
- }
- break;
case 1: // IRE
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.ire = new org.apache.airavata.model.error.InvalidRequestException();
@@ -93941,15 +95494,10 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, validateExperiment_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, launchExperiment_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
- if (struct.isSetSuccess()) {
- oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
- oprot.writeBool(struct.success);
- oprot.writeFieldEnd();
- }
if (struct.ire != null) {
oprot.writeFieldBegin(IRE_FIELD_DESC);
struct.ire.write(oprot);
@@ -93981,40 +95529,34 @@ public class Airavata {
}
- private static class validateExperiment_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public validateExperiment_resultTupleScheme getScheme() {
- return new validateExperiment_resultTupleScheme();
+ private static class launchExperiment_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public launchExperiment_resultTupleScheme getScheme() {
+ return new launchExperiment_resultTupleScheme();
}
}
- private static class validateExperiment_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<validateExperiment_result> {
+ private static class launchExperiment_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<launchExperiment_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, validateExperiment_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, launchExperiment_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.isSetIre()) {
- optionals.set(1);
+ optionals.set(0);
}
if (struct.isSetEnf()) {
- optionals.set(2);
+ optionals.set(1);
}
if (struct.isSetAce()) {
- optionals.set(3);
+ optionals.set(2);
}
if (struct.isSetAse()) {
- optionals.set(4);
+ optionals.set(3);
}
if (struct.isSetAe()) {
- optionals.set(5);
- }
- oprot.writeBitSet(optionals, 6);
- if (struct.isSetSuccess()) {
- oprot.writeBool(struct.success);
+ optionals.set(4);
}
+ oprot.writeBitSet(optionals, 5);
if (struct.isSetIre()) {
struct.ire.write(oprot);
}
@@ -94033,34 +95575,30 @@ public class Airavata {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, validateExperiment_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, launchExperiment_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(6);
+ java.util.BitSet incoming = iprot.readBitSet(5);
if (incoming.get(0)) {
- struct.success = iprot.readBool();
- struct.setSuccessIsSet(true);
- }
- if (incoming.get(1)) {
struct.ire = new org.apache.airavata.model.error.InvalidRequestException();
struct.ire.read(iprot);
struct.setIreIsSet(true);
}
- if (incoming.get(2)) {
+ if (incoming.get(1)) {
struct.enf = new org.apache.airavata.model.error.ExperimentNotFoundException();
struct.enf.read(iprot);
struct.setEnfIsSet(true);
}
- if (incoming.get(3)) {
+ if (incoming.get(2)) {
struct.ace = new org.apache.airavata.model.error.AiravataClientException();
struct.ace.read(iprot);
struct.setAceIsSet(true);
}
- if (incoming.get(4)) {
+ if (incoming.get(3)) {
struct.ase = new org.apache.airavata.model.error.AiravataSystemException();
struct.ase.read(iprot);
struct.setAseIsSet(true);
}
- if (incoming.get(5)) {
+ if (incoming.get(4)) {
struct.ae = new org.apache.airavata.model.error.AuthorizationException();
struct.ae.read(iprot);
struct.setAeIsSet(true);
@@ -94073,25 +95611,22 @@ public class Airavata {
}
}
- public static class launchExperiment_args implements org.apache.thrift.TBase<launchExperiment_args, launchExperiment_args._Fields>, java.io.Serializable, Cloneable, Comparable<launchExperiment_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("launchExperiment_args");
+ public static class getExperimentStatus_args implements org.apache.thrift.TBase<getExperimentStatus_args, getExperimentStatus_args._Fields>, java.io.Serializable, Cloneable, Comparable<getExperimentStatus_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getExperimentStatus_args");
private static final org.apache.thrift.protocol.TField AUTHZ_TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField("authzToken", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField AIRAVATA_EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("airavataExperimentId", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.protocol.TField GATEWAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("gatewayId", org.apache.thrift.protocol.TType.STRING, (short)3);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new launchExperiment_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new launchExperiment_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getExperimentStatus_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getExperimentStatus_argsTupleSchemeFactory();
public org.apache.airavata.model.security.AuthzToken authzToken; // required
public java.lang.String airavataExperimentId; // required
- public java.lang.String gatewayId; // 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 {
AUTHZ_TOKEN((short)1, "authzToken"),
- AIRAVATA_EXPERIMENT_ID((short)2, "airavataExperimentId"),
- GATEWAY_ID((short)3, "gatewayId");
+ AIRAVATA_EXPERIMENT_ID((short)2, "airavataExperimentId");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -94110,8 +95645,6 @@ public class Airavata {
return AUTHZ_TOKEN;
case 2: // AIRAVATA_EXPERIMENT_ID
return AIRAVATA_EXPERIMENT_ID;
- case 3: // GATEWAY_ID
- return GATEWAY_ID;
default:
return null;
}
@@ -94159,57 +95692,49 @@ public class Airavata {
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.security.AuthzToken.class)));
tmpMap.put(_Fields.AIRAVATA_EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("airavataExperimentId", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
- tmpMap.put(_Fields.GATEWAY_ID, new org.apache.thrift.meta_data.FieldMetaData("gatewayId", 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(launchExperiment_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getExperimentStatus_args.class, metaDataMap);
}
- public launchExperiment_args() {
+ public getExperimentStatus_args() {
}
- public launchExperiment_args(
+ public getExperimentStatus_args(
org.apache.airavata.model.security.AuthzToken authzToken,
- java.lang.String airavataExperimentId,
- java.lang.String gatewayId)
+ java.lang.String airavataExperimentId)
{
this();
this.authzToken = authzToken;
this.airavataExperimentId = airavataExperimentId;
- this.gatewayId = gatewayId;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public launchExperiment_args(launchExperiment_args other) {
+ public getExperimentStatus_args(getExperimentStatus_args other) {
if (other.isSetAuthzToken()) {
this.authzToken = new org.apache.airavata.model.security.AuthzToken(other.authzToken);
}
if (other.isSetAiravataExperimentId()) {
this.airavataExperimentId = other.airavataExperimentId;
}
- if (other.isSetGatewayId()) {
- this.gatewayId = other.gatewayId;
- }
}
- public launchExperiment_args deepCopy() {
- return new launchExperiment_args(this);
+ public getExperimentStatus_args deepCopy() {
+ return new getExperimentStatus_args(this);
}
@Override
public void clear() {
this.authzToken = null;
this.airavataExperimentId = null;
- this.gatewayId = null;
}
public org.apache.airavata.model.security.AuthzToken getAuthzToken() {
return this.authzToken;
}
- public launchExperiment_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
+ public getExperimentStatus_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
this.authzToken = authzToken;
return this;
}
@@ -94233,7 +95758,7 @@ public class Airavata {
return this.airavataExperimentId;
}
- public launchExperiment_args setAiravataExperimentId(java.lang.String airavataExperimentId) {
+ public getExperimentStatus_args setAiravataExperimentId(java.lang.String airavataExperimentId) {
this.airavataExperimentId = airavataExperimentId;
return this;
}
@@ -94253,30 +95778,6 @@ public class Airavata {
}
}
- public java.lang.String getGatewayId() {
- return this.gatewayId;
- }
-
- public launchExperiment_args setGatewayId(java.lang.String gatewayId) {
- this.gatewayId = gatewayId;
- return this;
- }
-
- public void unsetGatewayId() {
- this.gatewayId = null;
- }
-
- /** Returns true if field gatewayId is set (has been assigned a value) and false otherwise */
- public boolean isSetGatewayId() {
- return this.gatewayId != null;
- }
-
- public void setGatewayIdIsSet(boolean value) {
- if (!value) {
- this.gatewayId = null;
- }
- }
-
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
case AUTHZ_TOKEN:
@@ -94295,14 +95796,6 @@ public class Airavata {
}
break;
- case GATEWAY_ID:
- if (value == null) {
- unsetGatewayId();
- } else {
- setGatewayId((java.lang.String)value);
- }
- break;
-
}
}
@@ -94314,9 +95807,6 @@ public class Airavata {
case AIRAVATA_EXPERIMENT_ID:
return getAiravataExperimentId();
- case GATEWAY_ID:
- return getGatewayId();
-
}
throw new java.lang.IllegalStateException();
}
@@ -94332,8 +95822,6 @@ public class Airavata {
return isSetAuthzToken();
case AIRAVATA_EXPERIMENT_ID:
return isSetAiravataExperimentId();
- case GATEWAY_ID:
- return isSetGatewayId();
}
throw new java.lang.IllegalStateException();
}
@@ -94342,12 +95830,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof launchExperiment_args)
- return this.equals((launchExperiment_args)that);
+ if (that instanceof getExperimentStatus_args)
+ return this.equals((getExperimentStatus_args)that);
return false;
}
- public boolean equals(launchExperiment_args that) {
+ public boolean equals(getExperimentStatus_args that) {
if (that == null)
return false;
if (this == that)
@@ -94371,15 +95859,6 @@ public class Airavata {
return false;
}
- boolean this_present_gatewayId = true && this.isSetGatewayId();
- boolean that_present_gatewayId = true && that.isSetGatewayId();
- if (this_present_gatewayId || that_present_gatewayId) {
- if (!(this_present_gatewayId && that_present_gatewayId))
- return false;
- if (!this.gatewayId.equals(that.gatewayId))
- return false;
- }
-
return true;
}
@@ -94395,15 +95874,11 @@ public class Airavata {
if (isSetAiravataExperimentId())
hashCode = hashCode * 8191 + airavataExperimentId.hashCode();
- hashCode = hashCode * 8191 + ((isSetGatewayId()) ? 131071 : 524287);
- if (isSetGatewayId())
- hashCode = hashCode * 8191 + gatewayId.hashCode();
-
return hashCode;
}
@Override
- public int compareTo(launchExperiment_args other) {
+ public int compareTo(getExperimentStatus_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -94430,16 +95905,6 @@ public class Airavata {
return lastComparison;
}
}
- lastComparison = java.lang.Boolean.valueOf(isSetGatewayId()).compareTo(other.isSetGatewayId());
- if (lastComparison != 0) {
- return lastComparison;
- }
- if (isSetGatewayId()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.gatewayId, other.gatewayId);
- if (lastComparison != 0) {
- return lastComparison;
- }
- }
return 0;
}
@@ -94457,7 +95922,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("launchExperiment_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getExperimentStatus_args(");
boolean first = true;
sb.append("authzToken:");
@@ -94475,14 +95940,6 @@ public class Airavata {
sb.append(this.airavataExperimentId);
}
first = false;
- if (!first) sb.append(", ");
- sb.append("gatewayId:");
- if (this.gatewayId == null) {
- sb.append("null");
- } else {
- sb.append(this.gatewayId);
- }
- first = false;
sb.append(")");
return sb.toString();
}
@@ -94495,9 +95952,6 @@ public class Airavata {
if (airavataExperimentId == null) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'airavataExperimentId' was not present! Struct: " + toString());
}
- if (gatewayId == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'gatewayId' was not present! Struct: " + toString());
- }
// check for sub-struct validity
if (authzToken != null) {
authzToken.validate();
@@ -94520,15 +95974,15 @@ public class Airavata {
}
}
- private static class launchExperiment_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public launchExperiment_argsStandardScheme getScheme() {
- return new launchExperiment_argsStandardScheme();
+ private static class getExperimentStatus_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getExperimentStatus_argsStandardScheme getScheme() {
+ return new getExperimentStatus_argsStandardScheme();
}
}
- private static class launchExperiment_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<launchExperiment_args> {
+ private static class getExperimentStatus_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getExperimentStatus_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, launchExperiment_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getExperimentStatus_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -94555,14 +96009,6 @@ public class Airavata {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 3: // GATEWAY_ID
- if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.gatewayId = iprot.readString();
- struct.setGatewayIdIsSet(true);
- } else {
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
- }
- break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -94574,7 +96020,7 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, launchExperiment_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getExperimentStatus_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -94588,43 +96034,35 @@ public class Airavata {
oprot.writeString(struct.airavataExperimentId);
oprot.writeFieldEnd();
}
- if (struct.gatewayId != null) {
- oprot.writeFieldBegin(GATEWAY_ID_FIELD_DESC);
- oprot.writeString(struct.gatewayId);
- oprot.writeFieldEnd();
- }
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
- private static class launchExperiment_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public launchExperiment_argsTupleScheme getScheme() {
- return new launchExperiment_argsTupleScheme();
+ private static class getExperimentStatus_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getExperimentStatus_argsTupleScheme getScheme() {
+ return new getExperimentStatus_argsTupleScheme();
}
}
- private static class launchExperiment_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<launchExperiment_args> {
+ private static class getExperimentStatus_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getExperimentStatus_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, launchExperiment_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getExperimentStatus_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken.write(oprot);
oprot.writeString(struct.airavataExperimentId);
- oprot.writeString(struct.gatewayId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, launchExperiment_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getExperimentStatus_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken = new org.apache.airavata.model.security.AuthzToken();
struct.authzToken.read(iprot);
struct.setAuthzTokenIsSet(true);
struct.airavataExperimentId = iprot.readString();
struct.setAiravataExperimentIdIsSet(true);
- struct.gatewayId = iprot.readString();
- struct.setGatewayIdIsSet(true);
}
}
@@ -94633,18 +96071,20 @@ public class Airavata {
}
}
- public static class launchExperiment_result implements org.apache.thrift.TBase<launchExperiment_result, launchExperiment_result._Fields>, java.io.Serializable, Cloneable, Comparable<launchExperiment_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("launchExperiment_result");
+ public static class getExperimentStatus_result implements org.apache.thrift.TBase<getExperimentStatus_result, getExperimentStatus_result._Fields>, java.io.Serializable, Cloneable, Comparable<getExperimentStatus_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getExperimentStatus_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 IRE_FIELD_DESC = new org.apache.thrift.protocol.TField("ire", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField ENF_FIELD_DESC = new org.apache.thrift.protocol.TField("enf", org.apache.thrift.protocol.TType.STRUCT, (short)2);
private static final org.apache.thrift.protocol.TField ACE_FIELD_DESC = new org.apache.thrift.protocol.TField("ace", org.apache.thrift.protocol.TType.STRUCT, (short)3);
private static final org.apache.thrift.protocol.TField ASE_FIELD_DESC = new org.apache.thrift.protocol.TField("ase", org.apache.thrift.protocol.TType.STRUCT, (short)4);
private static final org.apache.thrift.protocol.TField AE_FIELD_DESC = new org.apache.thrift.protocol.TField("ae", org.apache.thrift.protocol.TType.STRUCT, (short)5);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new launchExperiment_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new launchExperiment_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getExperimentStatus_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getExperimentStatus_resultTupleSchemeFactory();
+ public org.apache.airavata.model.status.ExperimentStatus success; // required
public org.apache.airavata.model.error.InvalidRequestException ire; // required
public org.apache.airavata.model.error.ExperimentNotFoundException enf; // required
public org.apache.airavata.model.error.AiravataClientException ace; // required
@@ -94653,6 +96093,7 @@ public class Airavata {
/** 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"),
IRE((short)1, "ire"),
ENF((short)2, "enf"),
ACE((short)3, "ace"),
@@ -94672,6 +96113,8 @@ public class Airavata {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
+ case 0: // SUCCESS
+ return SUCCESS;
case 1: // IRE
return IRE;
case 2: // ENF
@@ -94725,6 +96168,8 @@ public class Airavata {
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.ExperimentStatus.class)));
tmpMap.put(_Fields.IRE, new org.apache.thrift.meta_data.FieldMetaData("ire", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.InvalidRequestException.class)));
tmpMap.put(_Fields.ENF, new org.apache.thrift.meta_data.FieldMetaData("enf", org.apache.thrift.TFieldRequirementType.DEFAULT,
@@ -94736,13 +96181,14 @@ public class Airavata {
tmpMap.put(_Fields.AE, new org.apache.thrift.meta_data.FieldMetaData("ae", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AuthorizationException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(launchExperiment_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getExperimentStatus_result.class, metaDataMap);
}
- public launchExperiment_result() {
+ public getExperimentStatus_result() {
}
- public launchExperiment_result(
+ public getExperimentStatus_result(
+ org.apache.airavata.model.status.ExperimentStatus success,
org.apache.airavata.model.error.InvalidRequestException ire,
org.apache.airavata.model.error.ExperimentNotFoundException enf,
org.apache.airavata.model.error.AiravataClientException ace,
@@ -94750,6 +96196,7 @@ public class Airavata {
org.apache.airavata.model.error.AuthorizationException ae)
{
this();
+ this.success = success;
this.ire = ire;
this.enf = enf;
this.ace = ace;
@@ -94760,7 +96207,10 @@ public class Airavata {
/**
* Performs a deep copy on <i>other</i>.
*/
- public launchExperiment_result(launchExperiment_result other) {
+ public getExperimentStatus_result(getExperimentStatus_result other) {
+ if (other.isSetSuccess()) {
+ this.success = new org.apache.airavata.model.status.ExperimentStatus(other.success);
+ }
if (other.isSetIre()) {
this.ire = new org.apache.airavata.model.error.InvalidRequestException(other.ire);
}
@@ -94778,12 +96228,13 @@ public class Airavata {
}
}
- public launchExperiment_result deepCopy() {
- return new launchExperiment_result(this);
+ public getExperimentStatus_result deepCopy() {
+ return new getExperimentStatus_result(this);
}
@Override
public void clear() {
+ this.success = null;
this.ire = null;
this.enf = null;
this.ace = null;
@@ -94791,11 +96242,35 @@ public class Airavata {
this.ae = null;
}
+ public org.apache.airavata.model.status.ExperimentStatus getSuccess() {
+ return this.success;
+ }
+
+ public getExperimentStatus_result setSuccess(org.apache.airavata.model.status.ExperimentStatus 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.model.error.InvalidRequestException getIre() {
return this.ire;
}
- public launchExperiment_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
+ public getExperimentStatus_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
this.ire = ire;
return this;
}
@@ -94819,7 +96294,7 @@ public class Airavata {
return this.enf;
}
- public launchExperiment_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
+ public getExperimentStatus_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
this.enf = enf;
return this;
}
@@ -94843,7 +96318,7 @@ public class Airavata {
return this.ace;
}
- public launchExperiment_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
+ public getExperimentStatus_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
this.ace = ace;
return this;
}
@@ -94867,7 +96342,7 @@ public class Airavata {
return this.ase;
}
- public launchExperiment_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
+ public getExperimentStatus_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
this.ase = ase;
return this;
}
@@ -94891,7 +96366,7 @@ public class Airavata {
return this.ae;
}
- public launchExperiment_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
+ public getExperimentStatus_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
this.ae = ae;
return this;
}
@@ -94913,6 +96388,14 @@ public class Airavata {
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
+ case SUCCESS:
+ if (value == null) {
+ unsetSuccess();
+ } else {
+ setSuccess((org.apache.airavata.model.status.ExperimentStatus)value);
+ }
+ break;
+
case IRE:
if (value == null) {
unsetIre();
@@ -94958,6 +96441,9 @@ public class Airavata {
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
+ case SUCCESS:
+ return getSuccess();
+
case IRE:
return getIre();
@@ -94984,6 +96470,8 @@ public class Airavata {
}
switch (field) {
+ case SUCCESS:
+ return isSetSuccess();
case IRE:
return isSetIre();
case ENF:
@@ -95002,17 +96490,26 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof launchExperiment_result)
- return this.equals((launchExperiment_result)that);
+ if (that instanceof getExperimentStatus_result)
+ return this.equals((getExperimentStatus_result)that);
return false;
}
- public boolean equals(launchExperiment_result that) {
+ public boolean equals(getExperimentStatus_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_ire = true && this.isSetIre();
boolean that_present_ire = true && that.isSetIre();
if (this_present_ire || that_present_ire) {
@@ -95065,6 +96562,10 @@ public class Airavata {
public int hashCode() {
int hashCode = 1;
+ hashCode = hashCode * 8191 + ((isSetSuccess()) ? 131071 : 524287);
+ if (isSetSuccess())
+ hashCode = hashCode * 8191 + success.hashCode();
+
hashCode = hashCode * 8191 + ((isSetIre()) ? 131071 : 524287);
if (isSetIre())
hashCode = hashCode * 8191 + ire.hashCode();
@@ -95089,13 +96590,23 @@ public class Airavata {
}
@Override
- public int compareTo(launchExperiment_result other) {
+ public int compareTo(getExperimentStatus_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(isSetIre()).compareTo(other.isSetIre());
if (lastComparison != 0) {
return lastComparison;
@@ -95163,9 +96674,17 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("launchExperiment_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getExperimentStatus_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("ire:");
if (this.ire == null) {
sb.append("null");
@@ -95212,6 +96731,9 @@ public class Airavata {
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 {
@@ -95230,15 +96752,15 @@ public class Airavata {
}
}
- private static class launchExperiment_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public launchExperiment_resultStandardScheme getScheme() {
- return new launchExperiment_resultStandardScheme();
+ private static class getExperimentStatus_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getExperimentStatus_resultStandardScheme getScheme() {
+ return new getExperimentStatus_resultStandardScheme();
}
}
- private static class launchExperiment_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<launchExperiment_result> {
+ private static class getExperimentStatus_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getExperimentStatus_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, launchExperiment_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getExperimentStatus_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -95248,6 +96770,15 @@ public class Airavata {
break;
}
switch (schemeField.id) {
+ case 0: // SUCCESS
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.success = new org.apache.airavata.model.status.ExperimentStatus();
+ struct.success.read(iprot);
+ struct.setSuccessIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
case 1: // IRE
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.ire = new org.apache.airavata.model.error.InvalidRequestException();
@@ -95304,10 +96835,15 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, launchExperiment_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getExperimentStatus_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.writeFieldEnd();
+ }
if (struct.ire != null) {
oprot.writeFieldBegin(IRE_FIELD_DESC);
struct.ire.write(oprot);
@@ -95339,34 +96875,40 @@ public class Airavata {
}
- private static class launchExperiment_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public launchExperiment_resultTupleScheme getScheme() {
- return new launchExperiment_resultTupleScheme();
+ private static class getExperimentStatus_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getExperimentStatus_resultTupleScheme getScheme() {
+ return new getExperimentStatus_resultTupleScheme();
}
}
- private static class launchExperiment_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<launchExperiment_result> {
+ private static class getExperimentStatus_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getExperimentStatus_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, launchExperiment_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getExperimentStatus_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.isSetIre()) {
+ if (struct.isSetSuccess()) {
optionals.set(0);
}
- if (struct.isSetEnf()) {
+ if (struct.isSetIre()) {
optionals.set(1);
}
- if (struct.isSetAce()) {
+ if (struct.isSetEnf()) {
optionals.set(2);
}
- if (struct.isSetAse()) {
+ if (struct.isSetAce()) {
optionals.set(3);
}
- if (struct.isSetAe()) {
+ if (struct.isSetAse()) {
optionals.set(4);
}
- oprot.writeBitSet(optionals, 5);
+ if (struct.isSetAe()) {
+ optionals.set(5);
+ }
+ oprot.writeBitSet(optionals, 6);
+ if (struct.isSetSuccess()) {
+ struct.success.write(oprot);
+ }
if (struct.isSetIre()) {
struct.ire.write(oprot);
}
@@ -95385,30 +96927,35 @@ public class Airavata {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, launchExperiment_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getExperimentStatus_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(5);
+ java.util.BitSet incoming = iprot.readBitSet(6);
if (incoming.get(0)) {
+ struct.success = new org.apache.airavata.model.status.ExperimentStatus();
+ struct.success.read(iprot);
+ struct.setSuccessIsSet(true);
+ }
+ if (incoming.get(1)) {
struct.ire = new org.apache.airavata.model.error.InvalidRequestException();
struct.ire.read(iprot);
struct.setIreIsSet(true);
}
- if (incoming.get(1)) {
+ if (incoming.get(2)) {
struct.enf = new org.apache.airavata.model.error.ExperimentNotFoundException();
struct.enf.read(iprot);
struct.setEnfIsSet(true);
}
- if (incoming.get(2)) {
+ if (incoming.get(3)) {
struct.ace = new org.apache.airavata.model.error.AiravataClientException();
struct.ace.read(iprot);
struct.setAceIsSet(true);
}
- if (incoming.get(3)) {
+ if (incoming.get(4)) {
struct.ase = new org.apache.airavata.model.error.AiravataSystemException();
struct.ase.read(iprot);
struct.setAseIsSet(true);
}
- if (incoming.get(4)) {
+ if (incoming.get(5)) {
struct.ae = new org.apache.airavata.model.error.AuthorizationException();
struct.ae.read(iprot);
struct.setAeIsSet(true);
@@ -95421,14 +96968,14 @@ public class Airavata {
}
}
- public static class getExperimentStatus_args implements org.apache.thrift.TBase<getExperimentStatus_args, getExperimentStatus_args._Fields>, java.io.Serializable, Cloneable, Comparable<getExperimentStatus_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getExperimentStatus_args");
+ public static class getExperimentOutputs_args implements org.apache.thrift.TBase<getExperimentOutputs_args, getExperimentOutputs_args._Fields>, java.io.Serializable, Cloneable, Comparable<getExperimentOutputs_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getExperimentOutputs_args");
private static final org.apache.thrift.protocol.TField AUTHZ_TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField("authzToken", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField AIRAVATA_EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("airavataExperimentId", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getExperimentStatus_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getExperimentStatus_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getExperimentOutputs_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getExperimentOutputs_argsTupleSchemeFactory();
public org.apache.airavata.model.security.AuthzToken authzToken; // required
public java.lang.String airavataExperimentId; // required
@@ -95503,13 +97050,13 @@ public class Airavata {
tmpMap.put(_Fields.AIRAVATA_EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("airavataExperimentId", 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(getExperimentStatus_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getExperimentOutputs_args.class, metaDataMap);
}
- public getExperimentStatus_args() {
+ public getExperimentOutputs_args() {
}
- public getExperimentStatus_args(
+ public getExperimentOutputs_args(
org.apache.airavata.model.security.AuthzToken authzToken,
java.lang.String airavataExperimentId)
{
@@ -95521,7 +97068,7 @@ public class Airavata {
/**
* Performs a deep copy on <i>other</i>.
*/
- public getExperimentStatus_args(getExperimentStatus_args other) {
+ public getExperimentOutputs_args(getExperimentOutputs_args other) {
if (other.isSetAuthzToken()) {
this.authzToken = new org.apache.airavata.model.security.AuthzToken(other.authzToken);
}
@@ -95530,8 +97077,8 @@ public class Airavata {
}
}
- public getExperimentStatus_args deepCopy() {
- return new getExperimentStatus_args(this);
+ public getExperimentOutputs_args deepCopy() {
+ return new getExperimentOutputs_args(this);
}
@Override
@@ -95544,7 +97091,7 @@ public class Airavata {
return this.authzToken;
}
- public getExperimentStatus_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
+ public getExperimentOutputs_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
this.authzToken = authzToken;
return this;
}
@@ -95568,7 +97115,7 @@ public class Airavata {
return this.airavataExperimentId;
}
- public getExperimentStatus_args setAiravataExperimentId(java.lang.String airavataExperimentId) {
+ public getExperimentOutputs_args setAiravataExperimentId(java.lang.String airavataExperimentId) {
this.airavataExperimentId = airavataExperimentId;
return this;
}
@@ -95640,12 +97187,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getExperimentStatus_args)
- return this.equals((getExperimentStatus_args)that);
+ if (that instanceof getExperimentOutputs_args)
+ return this.equals((getExperimentOutputs_args)that);
return false;
}
- public boolean equals(getExperimentStatus_args that) {
+ public boolean equals(getExperimentOutputs_args that) {
if (that == null)
return false;
if (this == that)
@@ -95688,7 +97235,7 @@ public class Airavata {
}
@Override
- public int compareTo(getExperimentStatus_args other) {
+ public int compareTo(getExperimentOutputs_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -95732,7 +97279,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getExperimentStatus_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getExperimentOutputs_args(");
boolean first = true;
sb.append("authzToken:");
@@ -95784,15 +97331,15 @@ public class Airavata {
}
}
- private static class getExperimentStatus_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getExperimentStatus_argsStandardScheme getScheme() {
- return new getExperimentStatus_argsStandardScheme();
+ private static class getExperimentOutputs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getExperimentOutputs_argsStandardScheme getScheme() {
+ return new getExperimentOutputs_argsStandardScheme();
}
}
- private static class getExperimentStatus_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getExperimentStatus_args> {
+ private static class getExperimentOutputs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getExperimentOutputs_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getExperimentStatus_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getExperimentOutputs_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -95830,7 +97377,7 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getExperimentStatus_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getExperimentOutputs_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -95850,23 +97397,23 @@ public class Airavata {
}
- private static class getExperimentStatus_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getExperimentStatus_argsTupleScheme getScheme() {
- return new getExperimentStatus_argsTupleScheme();
+ private static class getExperimentOutputs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getExperimentOutputs_argsTupleScheme getScheme() {
+ return new getExperimentOutputs_argsTupleScheme();
}
}
- private static class getExperimentStatus_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getExperimentStatus_args> {
+ private static class getExperimentOutputs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getExperimentOutputs_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getExperimentStatus_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getExperimentOutputs_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken.write(oprot);
oprot.writeString(struct.airavataExperimentId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getExperimentStatus_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getExperimentOutputs_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken = new org.apache.airavata.model.security.AuthzToken();
struct.authzToken.read(iprot);
@@ -95881,20 +97428,20 @@ public class Airavata {
}
}
- public static class getExperimentStatus_result implements org.apache.thrift.TBase<getExperimentStatus_result, getExperimentStatus_result._Fields>, java.io.Serializable, Cloneable, Comparable<getExperimentStatus_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getExperimentStatus_result");
+ public static class getExperimentOutputs_result implements org.apache.thrift.TBase<getExperimentOutputs_result, getExperimentOutputs_result._Fields>, java.io.Serializable, Cloneable, Comparable<getExperimentOutputs_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getExperimentOutputs_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 IRE_FIELD_DESC = new org.apache.thrift.protocol.TField("ire", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField ENF_FIELD_DESC = new org.apache.thrift.protocol.TField("enf", org.apache.thrift.protocol.TType.STRUCT, (short)2);
private static final org.apache.thrift.protocol.TField ACE_FIELD_DESC = new org.apache.thrift.protocol.TField("ace", org.apache.thrift.protocol.TType.STRUCT, (short)3);
private static final org.apache.thrift.protocol.TField ASE_FIELD_DESC = new org.apache.thrift.protocol.TField("ase", org.apache.thrift.protocol.TType.STRUCT, (short)4);
private static final org.apache.thrift.protocol.TField AE_FIELD_DESC = new org.apache.thrift.protocol.TField("ae", org.apache.thrift.protocol.TType.STRUCT, (short)5);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getExperimentStatus_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getExperimentStatus_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getExperimentOutputs_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getExperimentOutputs_resultTupleSchemeFactory();
- public org.apache.airavata.model.status.ExperimentStatus success; // required
+ public java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> success; // required
public org.apache.airavata.model.error.InvalidRequestException ire; // required
public org.apache.airavata.model.error.ExperimentNotFoundException enf; // required
public org.apache.airavata.model.error.AiravataClientException ace; // required
@@ -95979,7 +97526,8 @@ public class Airavata {
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.ExperimentStatus.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.application.io.OutputDataObjectType.class))));
tmpMap.put(_Fields.IRE, new org.apache.thrift.meta_data.FieldMetaData("ire", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.InvalidRequestException.class)));
tmpMap.put(_Fields.ENF, new org.apache.thrift.meta_data.FieldMetaData("enf", org.apache.thrift.TFieldRequirementType.DEFAULT,
@@ -95991,14 +97539,14 @@ public class Airavata {
tmpMap.put(_Fields.AE, new org.apache.thrift.meta_data.FieldMetaData("ae", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AuthorizationException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getExperimentStatus_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getExperimentOutputs_result.class, metaDataMap);
}
- public getExperimentStatus_result() {
+ public getExperimentOutputs_result() {
}
- public getExperimentStatus_result(
- org.apache.airavata.model.status.ExperimentStatus success,
+ public getExperimentOutputs_result(
+ java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> success,
org.apache.airavata.model.error.InvalidRequestException ire,
org.apache.airavata.model.error.ExperimentNotFoundException enf,
org.apache.airavata.model.error.AiravataClientException ace,
@@ -96017,9 +97565,13 @@ public class Airavata {
/**
* Performs a deep copy on <i>other</i>.
*/
- public getExperimentStatus_result(getExperimentStatus_result other) {
+ public getExperimentOutputs_result(getExperimentOutputs_result other) {
if (other.isSetSuccess()) {
- this.success = new org.apache.airavata.model.status.ExperimentStatus(other.success);
+ java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> __this__success = new java.util.ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(other.success.size());
+ for (org.apache.airavata.model.application.io.OutputDataObjectType other_element : other.success) {
+ __this__success.add(new org.apache.airavata.model.application.io.OutputDataObjectType(other_element));
+ }
+ this.success = __this__success;
}
if (other.isSetIre()) {
this.ire = new org.apache.airavata.model.error.InvalidRequestException(other.ire);
@@ -96038,8 +97590,8 @@ public class Airavata {
}
}
- public getExperimentStatus_result deepCopy() {
- return new getExperimentStatus_result(this);
+ public getExperimentOutputs_result deepCopy() {
+ return new getExperimentOutputs_result(this);
}
@Override
@@ -96052,11 +97604,26 @@ public class Airavata {
this.ae = null;
}
- public org.apache.airavata.model.status.ExperimentStatus getSuccess() {
+ public int getSuccessSize() {
+ return (this.success == null) ? 0 : this.success.size();
+ }
+
+ public java.util.Iterator<org.apache.airavata.model.application.io.OutputDataObjectType> getSuccessIterator() {
+ return (this.success == null) ? null : this.success.iterator();
+ }
+
+ public void addToSuccess(org.apache.airavata.model.application.io.OutputDataObjectType elem) {
+ if (this.success == null) {
+ this.success = new java.util.ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>();
+ }
+ this.success.add(elem);
+ }
+
+ public java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> getSuccess() {
return this.success;
}
- public getExperimentStatus_result setSuccess(org.apache.airavata.model.status.ExperimentStatus success) {
+ public getExperimentOutputs_result setSuccess(java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> success) {
this.success = success;
return this;
}
@@ -96080,7 +97647,7 @@ public class Airavata {
return this.ire;
}
- public getExperimentStatus_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
+ public getExperimentOutputs_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
this.ire = ire;
return this;
}
@@ -96104,7 +97671,7 @@ public class Airavata {
return this.enf;
}
- public getExperimentStatus_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
+ public getExperimentOutputs_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
this.enf = enf;
return this;
}
@@ -96128,7 +97695,7 @@ public class Airavata {
return this.ace;
}
- public getExperimentStatus_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
+ public getExperimentOutputs_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
this.ace = ace;
return this;
}
@@ -96152,7 +97719,7 @@ public class Airavata {
return this.ase;
}
- public getExperimentStatus_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
+ public getExperimentOutputs_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
this.ase = ase;
return this;
}
@@ -96176,7 +97743,7 @@ public class Airavata {
return this.ae;
}
- public getExperimentStatus_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
+ public getExperimentOutputs_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
this.ae = ae;
return this;
}
@@ -96202,7 +97769,7 @@ public class Airavata {
if (value == null) {
unsetSuccess();
} else {
- setSuccess((org.apache.airavata.model.status.ExperimentStatus)value);
+ setSuccess((java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType>)value);
}
break;
@@ -96300,12 +97867,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getExperimentStatus_result)
- return this.equals((getExperimentStatus_result)that);
+ if (that instanceof getExperimentOutputs_result)
+ return this.equals((getExperimentOutputs_result)that);
return false;
}
- public boolean equals(getExperimentStatus_result that) {
+ public boolean equals(getExperimentOutputs_result that) {
if (that == null)
return false;
if (this == that)
@@ -96400,7 +97967,7 @@ public class Airavata {
}
@Override
- public int compareTo(getExperimentStatus_result other) {
+ public int compareTo(getExperimentOutputs_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -96484,7 +98051,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getExperimentStatus_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getExperimentOutputs_result(");
boolean first = true;
sb.append("success:");
@@ -96541,9 +98108,6 @@ public class Airavata {
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 {
@@ -96562,15 +98126,15 @@ public class Airavata {
}
}
- private static class getExperimentStatus_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getExperimentStatus_resultStandardScheme getScheme() {
- return new getExperimentStatus_resultStandardScheme();
+ private static class getExperimentOutputs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getExperimentOutputs_resultStandardScheme getScheme() {
+ return new getExperimentOutputs_resultStandardScheme();
}
}
- private static class getExperimentStatus_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getExperimentStatus_result> {
+ private static class getExperimentOutputs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getExperimentOutputs_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getExperimentStatus_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getExperimentOutputs_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -96581,9 +98145,19 @@ public class Airavata {
}
switch (schemeField.id) {
case 0: // SUCCESS
- if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.success = new org.apache.airavata.model.status.ExperimentStatus();
- struct.success.read(iprot);
+ if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+ {
+ org.apache.thrift.protocol.TList _list120 = iprot.readListBegin();
+ struct.success = new java.util.ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list120.size);
+ org.apache.airavata.model.application.io.OutputDataObjectType _elem121;
+ for (int _i122 = 0; _i122 < _list120.size; ++_i122)
+ {
+ _elem121 = new org.apache.airavata.model.application.io.OutputDataObjectType();
+ _elem121.read(iprot);
+ struct.success.add(_elem121);
+ }
+ iprot.readListEnd();
+ }
struct.setSuccessIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
@@ -96645,13 +98219,20 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getExperimentStatus_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getExperimentOutputs_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.application.io.OutputDataObjectType _iter123 : struct.success)
+ {
+ _iter123.write(oprot);
+ }
+ oprot.writeListEnd();
+ }
oprot.writeFieldEnd();
}
if (struct.ire != null) {
@@ -96685,16 +98266,16 @@ public class Airavata {
}
- private static class getExperimentStatus_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getExperimentStatus_resultTupleScheme getScheme() {
- return new getExperimentStatus_resultTupleScheme();
+ private static class getExperimentOutputs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getExperimentOutputs_resultTupleScheme getScheme() {
+ return new getExperimentOutputs_resultTupleScheme();
}
}
- private static class getExperimentStatus_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getExperimentStatus_result> {
+ private static class getExperimentOutputs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getExperimentOutputs_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getExperimentStatus_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getExperimentOutputs_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()) {
@@ -96717,7 +98298,13 @@ public class Airavata {
}
oprot.writeBitSet(optionals, 6);
if (struct.isSetSuccess()) {
- struct.success.write(oprot);
+ {
+ oprot.writeI32(struct.success.size());
+ for (org.apache.airavata.model.application.io.OutputDataObjectType _iter124 : struct.success)
+ {
+ _iter124.write(oprot);
+ }
+ }
}
if (struct.isSetIre()) {
struct.ire.write(oprot);
@@ -96737,12 +98324,21 @@ public class Airavata {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getExperimentStatus_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getExperimentOutputs_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(6);
if (incoming.get(0)) {
- struct.success = new org.apache.airavata.model.status.ExperimentStatus();
- struct.success.read(iprot);
+ {
+ org.apache.thrift.protocol.TList _list125 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new java.util.ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list125.size);
+ org.apache.airavata.model.application.io.OutputDataObjectType _elem126;
+ for (int _i127 = 0; _i127 < _list125.size; ++_i127)
+ {
+ _elem126 = new org.apache.airavata.model.application.io.OutputDataObjectType();
+ _elem126.read(iprot);
+ struct.success.add(_elem126);
+ }
+ }
struct.setSuccessIsSet(true);
}
if (incoming.get(1)) {
@@ -96778,14 +98374,14 @@ public class Airavata {
}
}
- public static class getExperimentOutputs_args implements org.apache.thrift.TBase<getExperimentOutputs_args, getExperimentOutputs_args._Fields>, java.io.Serializable, Cloneable, Comparable<getExperimentOutputs_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getExperimentOutputs_args");
+ public static class getIntermediateOutputs_args implements org.apache.thrift.TBase<getIntermediateOutputs_args, getIntermediateOutputs_args._Fields>, java.io.Serializable, Cloneable, Comparable<getIntermediateOutputs_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getIntermediateOutputs_args");
private static final org.apache.thrift.protocol.TField AUTHZ_TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField("authzToken", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField AIRAVATA_EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("airavataExperimentId", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getExperimentOutputs_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getExperimentOutputs_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getIntermediateOutputs_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getIntermediateOutputs_argsTupleSchemeFactory();
public org.apache.airavata.model.security.AuthzToken authzToken; // required
public java.lang.String airavataExperimentId; // required
@@ -96860,13 +98456,13 @@ public class Airavata {
tmpMap.put(_Fields.AIRAVATA_EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("airavataExperimentId", 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(getExperimentOutputs_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getIntermediateOutputs_args.class, metaDataMap);
}
- public getExperimentOutputs_args() {
+ public getIntermediateOutputs_args() {
}
- public getExperimentOutputs_args(
+ public getIntermediateOutputs_args(
org.apache.airavata.model.security.AuthzToken authzToken,
java.lang.String airavataExperimentId)
{
@@ -96878,7 +98474,7 @@ public class Airavata {
/**
* Performs a deep copy on <i>other</i>.
*/
- public getExperimentOutputs_args(getExperimentOutputs_args other) {
+ public getIntermediateOutputs_args(getIntermediateOutputs_args other) {
if (other.isSetAuthzToken()) {
this.authzToken = new org.apache.airavata.model.security.AuthzToken(other.authzToken);
}
@@ -96887,8 +98483,8 @@ public class Airavata {
}
}
- public getExperimentOutputs_args deepCopy() {
- return new getExperimentOutputs_args(this);
+ public getIntermediateOutputs_args deepCopy() {
+ return new getIntermediateOutputs_args(this);
}
@Override
@@ -96901,7 +98497,7 @@ public class Airavata {
return this.authzToken;
}
- public getExperimentOutputs_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
+ public getIntermediateOutputs_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
this.authzToken = authzToken;
return this;
}
@@ -96925,7 +98521,7 @@ public class Airavata {
return this.airavataExperimentId;
}
- public getExperimentOutputs_args setAiravataExperimentId(java.lang.String airavataExperimentId) {
+ public getIntermediateOutputs_args setAiravataExperimentId(java.lang.String airavataExperimentId) {
this.airavataExperimentId = airavataExperimentId;
return this;
}
@@ -96997,12 +98593,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getExperimentOutputs_args)
- return this.equals((getExperimentOutputs_args)that);
+ if (that instanceof getIntermediateOutputs_args)
+ return this.equals((getIntermediateOutputs_args)that);
return false;
}
- public boolean equals(getExperimentOutputs_args that) {
+ public boolean equals(getIntermediateOutputs_args that) {
if (that == null)
return false;
if (this == that)
@@ -97045,7 +98641,7 @@ public class Airavata {
}
@Override
- public int compareTo(getExperimentOutputs_args other) {
+ public int compareTo(getIntermediateOutputs_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -97089,7 +98685,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getExperimentOutputs_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getIntermediateOutputs_args(");
boolean first = true;
sb.append("authzToken:");
@@ -97141,15 +98737,15 @@ public class Airavata {
}
}
- private static class getExperimentOutputs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getExperimentOutputs_argsStandardScheme getScheme() {
- return new getExperimentOutputs_argsStandardScheme();
+ private static class getIntermediateOutputs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getIntermediateOutputs_argsStandardScheme getScheme() {
+ return new getIntermediateOutputs_argsStandardScheme();
}
}
- private static class getExperimentOutputs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getExperimentOutputs_args> {
+ private static class getIntermediateOutputs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getIntermediateOutputs_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getExperimentOutputs_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getIntermediateOutputs_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -97187,7 +98783,7 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getExperimentOutputs_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getIntermediateOutputs_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -97207,23 +98803,23 @@ public class Airavata {
}
- private static class getExperimentOutputs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getExperimentOutputs_argsTupleScheme getScheme() {
- return new getExperimentOutputs_argsTupleScheme();
+ private static class getIntermediateOutputs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getIntermediateOutputs_argsTupleScheme getScheme() {
+ return new getIntermediateOutputs_argsTupleScheme();
}
}
- private static class getExperimentOutputs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getExperimentOutputs_args> {
+ private static class getIntermediateOutputs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getIntermediateOutputs_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getExperimentOutputs_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getIntermediateOutputs_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken.write(oprot);
oprot.writeString(struct.airavataExperimentId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getExperimentOutputs_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getIntermediateOutputs_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken = new org.apache.airavata.model.security.AuthzToken();
struct.authzToken.read(iprot);
@@ -97238,8 +98834,8 @@ public class Airavata {
}
}
- public static class getExperimentOutputs_result implements org.apache.thrift.TBase<getExperimentOutputs_result, getExperimentOutputs_result._Fields>, java.io.Serializable, Cloneable, Comparable<getExperimentOutputs_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getExperimentOutputs_result");
+ public static class getIntermediateOutputs_result implements org.apache.thrift.TBase<getIntermediateOutputs_result, getIntermediateOutputs_result._Fields>, java.io.Serializable, Cloneable, Comparable<getIntermediateOutputs_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getIntermediateOutputs_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 IRE_FIELD_DESC = new org.apache.thrift.protocol.TField("ire", org.apache.thrift.protocol.TType.STRUCT, (short)1);
@@ -97248,8 +98844,8 @@ public class Airavata {
private static final org.apache.thrift.protocol.TField ASE_FIELD_DESC = new org.apache.thrift.protocol.TField("ase", org.apache.thrift.protocol.TType.STRUCT, (short)4);
private static final org.apache.thrift.protocol.TField AE_FIELD_DESC = new org.apache.thrift.protocol.TField("ae", org.apache.thrift.protocol.TType.STRUCT, (short)5);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getExperimentOutputs_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getExperimentOutputs_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getIntermediateOutputs_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getIntermediateOutputs_resultTupleSchemeFactory();
public java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> success; // required
public org.apache.airavata.model.error.InvalidRequestException ire; // required
@@ -97349,13 +98945,13 @@ public class Airavata {
tmpMap.put(_Fields.AE, new org.apache.thrift.meta_data.FieldMetaData("ae", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AuthorizationException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getExperimentOutputs_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getIntermediateOutputs_result.class, metaDataMap);
}
- public getExperimentOutputs_result() {
+ public getIntermediateOutputs_result() {
}
- public getExperimentOutputs_result(
+ public getIntermediateOutputs_result(
java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> success,
org.apache.airavata.model.error.InvalidRequestException ire,
org.apache.airavata.model.error.ExperimentNotFoundException enf,
@@ -97375,7 +98971,7 @@ public class Airavata {
/**
* Performs a deep copy on <i>other</i>.
*/
- public getExperimentOutputs_result(getExperimentOutputs_result other) {
+ public getIntermediateOutputs_result(getIntermediateOutputs_result other) {
if (other.isSetSuccess()) {
java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> __this__success = new java.util.ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(other.success.size());
for (org.apache.airavata.model.application.io.OutputDataObjectType other_element : other.success) {
@@ -97400,8 +98996,8 @@ public class Airavata {
}
}
- public getExperimentOutputs_result deepCopy() {
- return new getExperimentOutputs_result(this);
+ public getIntermediateOutputs_result deepCopy() {
+ return new getIntermediateOutputs_result(this);
}
@Override
@@ -97433,7 +99029,7 @@ public class Airavata {
return this.success;
}
- public getExperimentOutputs_result setSuccess(java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> success) {
+ public getIntermediateOutputs_result setSuccess(java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> success) {
this.success = success;
return this;
}
@@ -97457,7 +99053,7 @@ public class Airavata {
return this.ire;
}
- public getExperimentOutputs_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
+ public getIntermediateOutputs_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
this.ire = ire;
return this;
}
@@ -97481,7 +99077,7 @@ public class Airavata {
return this.enf;
}
- public getExperimentOutputs_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
+ public getIntermediateOutputs_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
this.enf = enf;
return this;
}
@@ -97505,7 +99101,7 @@ public class Airavata {
return this.ace;
}
- public getExperimentOutputs_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
+ public getIntermediateOutputs_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
this.ace = ace;
return this;
}
@@ -97529,7 +99125,7 @@ public class Airavata {
return this.ase;
}
- public getExperimentOutputs_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
+ public getIntermediateOutputs_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
this.ase = ase;
return this;
}
@@ -97553,7 +99149,7 @@ public class Airavata {
return this.ae;
}
- public getExperimentOutputs_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
+ public getIntermediateOutputs_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
this.ae = ae;
return this;
}
@@ -97677,12 +99273,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getExperimentOutputs_result)
- return this.equals((getExperimentOutputs_result)that);
+ if (that instanceof getIntermediateOutputs_result)
+ return this.equals((getIntermediateOutputs_result)that);
return false;
}
- public boolean equals(getExperimentOutputs_result that) {
+ public boolean equals(getIntermediateOutputs_result that) {
if (that == null)
return false;
if (this == that)
@@ -97777,7 +99373,7 @@ public class Airavata {
}
@Override
- public int compareTo(getExperimentOutputs_result other) {
+ public int compareTo(getIntermediateOutputs_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -97861,7 +99457,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getExperimentOutputs_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getIntermediateOutputs_result(");
boolean first = true;
sb.append("success:");
@@ -97936,15 +99532,15 @@ public class Airavata {
}
}
- private static class getExperimentOutputs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getExperimentOutputs_resultStandardScheme getScheme() {
- return new getExperimentOutputs_resultStandardScheme();
+ private static class getIntermediateOutputs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getIntermediateOutputs_resultStandardScheme getScheme() {
+ return new getIntermediateOutputs_resultStandardScheme();
}
}
- private static class getExperimentOutputs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getExperimentOutputs_result> {
+ private static class getIntermediateOutputs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getIntermediateOutputs_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getExperimentOutputs_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getIntermediateOutputs_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -97957,14 +99553,14 @@ public class Airavata {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TList _list120 = iprot.readListBegin();
- struct.success = new java.util.ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list120.size);
- org.apache.airavata.model.application.io.OutputDataObjectType _elem121;
- for (int _i122 = 0; _i122 < _list120.size; ++_i122)
+ org.apache.thrift.protocol.TList _list128 = iprot.readListBegin();
+ struct.success = new java.util.ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list128.size);
+ org.apache.airavata.model.application.io.OutputDataObjectType _elem129;
+ for (int _i130 = 0; _i130 < _list128.size; ++_i130)
{
- _elem121 = new org.apache.airavata.model.application.io.OutputDataObjectType();
- _elem121.read(iprot);
- struct.success.add(_elem121);
+ _elem129 = new org.apache.airavata.model.application.io.OutputDataObjectType();
+ _elem129.read(iprot);
+ struct.success.add(_elem129);
}
iprot.readListEnd();
}
@@ -98029,7 +99625,7 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getExperimentOutputs_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getIntermediateOutputs_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -98037,9 +99633,9 @@ public class Airavata {
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.application.io.OutputDataObjectType _iter123 : struct.success)
+ for (org.apache.airavata.model.application.io.OutputDataObjectType _iter131 : struct.success)
{
- _iter123.write(oprot);
+ _iter131.write(oprot);
}
oprot.writeListEnd();
}
@@ -98076,16 +99672,16 @@ public class Airavata {
}
- private static class getExperimentOutputs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getExperimentOutputs_resultTupleScheme getScheme() {
- return new getExperimentOutputs_resultTupleScheme();
+ private static class getIntermediateOutputs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getIntermediateOutputs_resultTupleScheme getScheme() {
+ return new getIntermediateOutputs_resultTupleScheme();
}
}
- private static class getExperimentOutputs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getExperimentOutputs_result> {
+ private static class getIntermediateOutputs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getIntermediateOutputs_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getExperimentOutputs_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getIntermediateOutputs_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()) {
@@ -98110,9 +99706,9 @@ public class Airavata {
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (org.apache.airavata.model.application.io.OutputDataObjectType _iter124 : struct.success)
+ for (org.apache.airavata.model.application.io.OutputDataObjectType _iter132 : struct.success)
{
- _iter124.write(oprot);
+ _iter132.write(oprot);
}
}
}
@@ -98134,19 +99730,19 @@ public class Airavata {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getExperimentOutputs_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getIntermediateOutputs_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(6);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list125 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new java.util.ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list125.size);
- org.apache.airavata.model.application.io.OutputDataObjectType _elem126;
- for (int _i127 = 0; _i127 < _list125.size; ++_i127)
+ org.apache.thrift.protocol.TList _list133 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new java.util.ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list133.size);
+ org.apache.airavata.model.application.io.OutputDataObjectType _elem134;
+ for (int _i135 = 0; _i135 < _list133.size; ++_i135)
{
- _elem126 = new org.apache.airavata.model.application.io.OutputDataObjectType();
- _elem126.read(iprot);
- struct.success.add(_elem126);
+ _elem134 = new org.apache.airavata.model.application.io.OutputDataObjectType();
+ _elem134.read(iprot);
+ struct.success.add(_elem134);
}
}
struct.setSuccessIsSet(true);
@@ -98184,14 +99780,14 @@ public class Airavata {
}
}
- public static class getIntermediateOutputs_args implements org.apache.thrift.TBase<getIntermediateOutputs_args, getIntermediateOutputs_args._Fields>, java.io.Serializable, Cloneable, Comparable<getIntermediateOutputs_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getIntermediateOutputs_args");
+ public static class getJobStatuses_args implements org.apache.thrift.TBase<getJobStatuses_args, getJobStatuses_args._Fields>, java.io.Serializable, Cloneable, Comparable<getJobStatuses_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getJobStatuses_args");
private static final org.apache.thrift.protocol.TField AUTHZ_TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField("authzToken", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField AIRAVATA_EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("airavataExperimentId", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getIntermediateOutputs_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getIntermediateOutputs_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getJobStatuses_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getJobStatuses_argsTupleSchemeFactory();
public org.apache.airavata.model.security.AuthzToken authzToken; // required
public java.lang.String airavataExperimentId; // required
@@ -98266,13 +99862,13 @@ public class Airavata {
tmpMap.put(_Fields.AIRAVATA_EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("airavataExperimentId", 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(getIntermediateOutputs_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getJobStatuses_args.class, metaDataMap);
}
- public getIntermediateOutputs_args() {
+ public getJobStatuses_args() {
}
- public getIntermediateOutputs_args(
+ public getJobStatuses_args(
org.apache.airavata.model.security.AuthzToken authzToken,
java.lang.String airavataExperimentId)
{
@@ -98284,7 +99880,7 @@ public class Airavata {
/**
* Performs a deep copy on <i>other</i>.
*/
- public getIntermediateOutputs_args(getIntermediateOutputs_args other) {
+ public getJobStatuses_args(getJobStatuses_args other) {
if (other.isSetAuthzToken()) {
this.authzToken = new org.apache.airavata.model.security.AuthzToken(other.authzToken);
}
@@ -98293,8 +99889,8 @@ public class Airavata {
}
}
- public getIntermediateOutputs_args deepCopy() {
- return new getIntermediateOutputs_args(this);
+ public getJobStatuses_args deepCopy() {
+ return new getJobStatuses_args(this);
}
@Override
@@ -98307,7 +99903,7 @@ public class Airavata {
return this.authzToken;
}
- public getIntermediateOutputs_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
+ public getJobStatuses_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
this.authzToken = authzToken;
return this;
}
@@ -98331,7 +99927,7 @@ public class Airavata {
return this.airavataExperimentId;
}
- public getIntermediateOutputs_args setAiravataExperimentId(java.lang.String airavataExperimentId) {
+ public getJobStatuses_args setAiravataExperimentId(java.lang.String airavataExperimentId) {
this.airavataExperimentId = airavataExperimentId;
return this;
}
@@ -98403,12 +99999,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getIntermediateOutputs_args)
- return this.equals((getIntermediateOutputs_args)that);
+ if (that instanceof getJobStatuses_args)
+ return this.equals((getJobStatuses_args)that);
return false;
}
- public boolean equals(getIntermediateOutputs_args that) {
+ public boolean equals(getJobStatuses_args that) {
if (that == null)
return false;
if (this == that)
@@ -98451,7 +100047,7 @@ public class Airavata {
}
@Override
- public int compareTo(getIntermediateOutputs_args other) {
+ public int compareTo(getJobStatuses_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -98495,7 +100091,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getIntermediateOutputs_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getJobStatuses_args(");
boolean first = true;
sb.append("authzToken:");
@@ -98547,15 +100143,15 @@ public class Airavata {
}
}
- private static class getIntermediateOutputs_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getIntermediateOutputs_argsStandardScheme getScheme() {
- return new getIntermediateOutputs_argsStandardScheme();
+ private static class getJobStatuses_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getJobStatuses_argsStandardScheme getScheme() {
+ return new getJobStatuses_argsStandardScheme();
}
}
- private static class getIntermediateOutputs_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getIntermediateOutputs_args> {
+ private static class getJobStatuses_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getJobStatuses_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getIntermediateOutputs_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getJobStatuses_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -98593,7 +100189,7 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getIntermediateOutputs_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getJobStatuses_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -98613,23 +100209,23 @@ public class Airavata {
}
- private static class getIntermediateOutputs_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getIntermediateOutputs_argsTupleScheme getScheme() {
- return new getIntermediateOutputs_argsTupleScheme();
+ private static class getJobStatuses_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getJobStatuses_argsTupleScheme getScheme() {
+ return new getJobStatuses_argsTupleScheme();
}
}
- private static class getIntermediateOutputs_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getIntermediateOutputs_args> {
+ private static class getJobStatuses_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getJobStatuses_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getIntermediateOutputs_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getJobStatuses_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken.write(oprot);
oprot.writeString(struct.airavataExperimentId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getIntermediateOutputs_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getJobStatuses_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken = new org.apache.airavata.model.security.AuthzToken();
struct.authzToken.read(iprot);
@@ -98644,20 +100240,20 @@ public class Airavata {
}
}
- public static class getIntermediateOutputs_result implements org.apache.thrift.TBase<getIntermediateOutputs_result, getIntermediateOutputs_result._Fields>, java.io.Serializable, Cloneable, Comparable<getIntermediateOutputs_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getIntermediateOutputs_result");
+ public static class getJobStatuses_result implements org.apache.thrift.TBase<getJobStatuses_result, getJobStatuses_result._Fields>, java.io.Serializable, Cloneable, Comparable<getJobStatuses_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getJobStatuses_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.MAP, (short)0);
private static final org.apache.thrift.protocol.TField IRE_FIELD_DESC = new org.apache.thrift.protocol.TField("ire", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField ENF_FIELD_DESC = new org.apache.thrift.protocol.TField("enf", org.apache.thrift.protocol.TType.STRUCT, (short)2);
private static final org.apache.thrift.protocol.TField ACE_FIELD_DESC = new org.apache.thrift.protocol.TField("ace", org.apache.thrift.protocol.TType.STRUCT, (short)3);
private static final org.apache.thrift.protocol.TField ASE_FIELD_DESC = new org.apache.thrift.protocol.TField("ase", org.apache.thrift.protocol.TType.STRUCT, (short)4);
private static final org.apache.thrift.protocol.TField AE_FIELD_DESC = new org.apache.thrift.protocol.TField("ae", org.apache.thrift.protocol.TType.STRUCT, (short)5);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getIntermediateOutputs_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getIntermediateOutputs_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getJobStatuses_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getJobStatuses_resultTupleSchemeFactory();
- public java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> success; // required
+ public java.util.Map<java.lang.String,org.apache.airavata.model.status.JobStatus> success; // required
public org.apache.airavata.model.error.InvalidRequestException ire; // required
public org.apache.airavata.model.error.ExperimentNotFoundException enf; // required
public org.apache.airavata.model.error.AiravataClientException ace; // required
@@ -98742,8 +100338,9 @@ public class Airavata {
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.application.io.OutputDataObjectType.class))));
+ new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP,
+ 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.status.JobStatus.class))));
tmpMap.put(_Fields.IRE, new org.apache.thrift.meta_data.FieldMetaData("ire", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.InvalidRequestException.class)));
tmpMap.put(_Fields.ENF, new org.apache.thrift.meta_data.FieldMetaData("enf", org.apache.thrift.TFieldRequirementType.DEFAULT,
@@ -98755,14 +100352,14 @@ public class Airavata {
tmpMap.put(_Fields.AE, new org.apache.thrift.meta_data.FieldMetaData("ae", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AuthorizationException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getIntermediateOutputs_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getJobStatuses_result.class, metaDataMap);
}
- public getIntermediateOutputs_result() {
+ public getJobStatuses_result() {
}
- public getIntermediateOutputs_result(
- java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> success,
+ public getJobStatuses_result(
+ java.util.Map<java.lang.String,org.apache.airavata.model.status.JobStatus> success,
org.apache.airavata.model.error.InvalidRequestException ire,
org.apache.airavata.model.error.ExperimentNotFoundException enf,
org.apache.airavata.model.error.AiravataClientException ace,
@@ -98781,11 +100378,19 @@ public class Airavata {
/**
* Performs a deep copy on <i>other</i>.
*/
- public getIntermediateOutputs_result(getIntermediateOutputs_result other) {
+ public getJobStatuses_result(getJobStatuses_result other) {
if (other.isSetSuccess()) {
- java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> __this__success = new java.util.ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(other.success.size());
- for (org.apache.airavata.model.application.io.OutputDataObjectType other_element : other.success) {
- __this__success.add(new org.apache.airavata.model.application.io.OutputDataObjectType(other_element));
+ java.util.Map<java.lang.String,org.apache.airavata.model.status.JobStatus> __this__success = new java.util.HashMap<java.lang.String,org.apache.airavata.model.status.JobStatus>(other.success.size());
+ for (java.util.Map.Entry<java.lang.String, org.apache.airavata.model.status.JobStatus> other_element : other.success.entrySet()) {
+
+ java.lang.String other_element_key = other_element.getKey();
+ org.apache.airavata.model.status.JobStatus other_element_value = other_element.getValue();
+
+ java.lang.String __this__success_copy_key = other_element_key;
+
+ org.apache.airavata.model.status.JobStatus __this__success_copy_value = new org.apache.airavata.model.status.JobStatus(other_element_value);
+
+ __this__success.put(__this__success_copy_key, __this__success_copy_value);
}
this.success = __this__success;
}
@@ -98806,8 +100411,8 @@ public class Airavata {
}
}
- public getIntermediateOutputs_result deepCopy() {
- return new getIntermediateOutputs_result(this);
+ public getJobStatuses_result deepCopy() {
+ return new getJobStatuses_result(this);
}
@Override
@@ -98824,22 +100429,18 @@ public class Airavata {
return (this.success == null) ? 0 : this.success.size();
}
- public java.util.Iterator<org.apache.airavata.model.application.io.OutputDataObjectType> getSuccessIterator() {
- return (this.success == null) ? null : this.success.iterator();
- }
-
- public void addToSuccess(org.apache.airavata.model.application.io.OutputDataObjectType elem) {
+ public void putToSuccess(java.lang.String key, org.apache.airavata.model.status.JobStatus val) {
if (this.success == null) {
- this.success = new java.util.ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>();
+ this.success = new java.util.HashMap<java.lang.String,org.apache.airavata.model.status.JobStatus>();
}
- this.success.add(elem);
+ this.success.put(key, val);
}
- public java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> getSuccess() {
+ public java.util.Map<java.lang.String,org.apache.airavata.model.status.JobStatus> getSuccess() {
return this.success;
}
- public getIntermediateOutputs_result setSuccess(java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType> success) {
+ public getJobStatuses_result setSuccess(java.util.Map<java.lang.String,org.apache.airavata.model.status.JobStatus> success) {
this.success = success;
return this;
}
@@ -98863,7 +100464,7 @@ public class Airavata {
return this.ire;
}
- public getIntermediateOutputs_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
+ public getJobStatuses_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
this.ire = ire;
return this;
}
@@ -98887,7 +100488,7 @@ public class Airavata {
return this.enf;
}
- public getIntermediateOutputs_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
+ public getJobStatuses_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
this.enf = enf;
return this;
}
@@ -98911,7 +100512,7 @@ public class Airavata {
return this.ace;
}
- public getIntermediateOutputs_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
+ public getJobStatuses_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
this.ace = ace;
return this;
}
@@ -98935,7 +100536,7 @@ public class Airavata {
return this.ase;
}
- public getIntermediateOutputs_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
+ public getJobStatuses_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
this.ase = ase;
return this;
}
@@ -98959,7 +100560,7 @@ public class Airavata {
return this.ae;
}
- public getIntermediateOutputs_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
+ public getJobStatuses_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
this.ae = ae;
return this;
}
@@ -98985,7 +100586,7 @@ public class Airavata {
if (value == null) {
unsetSuccess();
} else {
- setSuccess((java.util.List<org.apache.airavata.model.application.io.OutputDataObjectType>)value);
+ setSuccess((java.util.Map<java.lang.String,org.apache.airavata.model.status.JobStatus>)value);
}
break;
@@ -99083,12 +100684,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getIntermediateOutputs_result)
- return this.equals((getIntermediateOutputs_result)that);
+ if (that instanceof getJobStatuses_result)
+ return this.equals((getJobStatuses_result)that);
return false;
}
- public boolean equals(getIntermediateOutputs_result that) {
+ public boolean equals(getJobStatuses_result that) {
if (that == null)
return false;
if (this == that)
@@ -99183,7 +100784,7 @@ public class Airavata {
}
@Override
- public int compareTo(getIntermediateOutputs_result other) {
+ public int compareTo(getJobStatuses_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -99267,7 +100868,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getIntermediateOutputs_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getJobStatuses_result(");
boolean first = true;
sb.append("success:");
@@ -99342,15 +100943,15 @@ public class Airavata {
}
}
- private static class getIntermediateOutputs_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getIntermediateOutputs_resultStandardScheme getScheme() {
- return new getIntermediateOutputs_resultStandardScheme();
+ private static class getJobStatuses_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getJobStatuses_resultStandardScheme getScheme() {
+ return new getJobStatuses_resultStandardScheme();
}
}
- private static class getIntermediateOutputs_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getIntermediateOutputs_result> {
+ private static class getJobStatuses_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getJobStatuses_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getIntermediateOutputs_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getJobStatuses_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -99361,18 +100962,20 @@ public class Airavata {
}
switch (schemeField.id) {
case 0: // SUCCESS
- if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+ if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
- org.apache.thrift.protocol.TList _list128 = iprot.readListBegin();
- struct.success = new java.util.ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list128.size);
- org.apache.airavata.model.application.io.OutputDataObjectType _elem129;
- for (int _i130 = 0; _i130 < _list128.size; ++_i130)
+ org.apache.thrift.protocol.TMap _map136 = iprot.readMapBegin();
+ struct.success = new java.util.HashMap<java.lang.String,org.apache.airavata.model.status.JobStatus>(2*_map136.size);
+ java.lang.String _key137;
+ org.apache.airavata.model.status.JobStatus _val138;
+ for (int _i139 = 0; _i139 < _map136.size; ++_i139)
{
- _elem129 = new org.apache.airavata.model.application.io.OutputDataObjectType();
- _elem129.read(iprot);
- struct.success.add(_elem129);
+ _key137 = iprot.readString();
+ _val138 = new org.apache.airavata.model.status.JobStatus();
+ _val138.read(iprot);
+ struct.success.put(_key137, _val138);
}
- iprot.readListEnd();
+ iprot.readMapEnd();
}
struct.setSuccessIsSet(true);
} else {
@@ -99435,19 +101038,20 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getIntermediateOutputs_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getJobStatuses_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.application.io.OutputDataObjectType _iter131 : struct.success)
+ oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
+ for (java.util.Map.Entry<java.lang.String, org.apache.airavata.model.status.JobStatus> _iter140 : struct.success.entrySet())
{
- _iter131.write(oprot);
+ oprot.writeString(_iter140.getKey());
+ _iter140.getValue().write(oprot);
}
- oprot.writeListEnd();
+ oprot.writeMapEnd();
}
oprot.writeFieldEnd();
}
@@ -99482,16 +101086,16 @@ public class Airavata {
}
- private static class getIntermediateOutputs_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getIntermediateOutputs_resultTupleScheme getScheme() {
- return new getIntermediateOutputs_resultTupleScheme();
+ private static class getJobStatuses_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getJobStatuses_resultTupleScheme getScheme() {
+ return new getJobStatuses_resultTupleScheme();
}
}
- private static class getIntermediateOutputs_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getIntermediateOutputs_result> {
+ private static class getJobStatuses_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getJobStatuses_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getIntermediateOutputs_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getJobStatuses_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()) {
@@ -99516,9 +101120,10 @@ public class Airavata {
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (org.apache.airavata.model.application.io.OutputDataObjectType _iter132 : struct.success)
+ for (java.util.Map.Entry<java.lang.String, org.apache.airavata.model.status.JobStatus> _iter141 : struct.success.entrySet())
{
- _iter132.write(oprot);
+ oprot.writeString(_iter141.getKey());
+ _iter141.getValue().write(oprot);
}
}
}
@@ -99540,19 +101145,21 @@ public class Airavata {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getIntermediateOutputs_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getJobStatuses_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(6);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list133 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new java.util.ArrayList<org.apache.airavata.model.application.io.OutputDataObjectType>(_list133.size);
- org.apache.airavata.model.application.io.OutputDataObjectType _elem134;
- for (int _i135 = 0; _i135 < _list133.size; ++_i135)
+ org.apache.thrift.protocol.TMap _map142 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new java.util.HashMap<java.lang.String,org.apache.airavata.model.status.JobStatus>(2*_map142.size);
+ java.lang.String _key143;
+ org.apache.airavata.model.status.JobStatus _val144;
+ for (int _i145 = 0; _i145 < _map142.size; ++_i145)
{
- _elem134 = new org.apache.airavata.model.application.io.OutputDataObjectType();
- _elem134.read(iprot);
- struct.success.add(_elem134);
+ _key143 = iprot.readString();
+ _val144 = new org.apache.airavata.model.status.JobStatus();
+ _val144.read(iprot);
+ struct.success.put(_key143, _val144);
}
}
struct.setSuccessIsSet(true);
@@ -99590,14 +101197,14 @@ public class Airavata {
}
}
- public static class getJobStatuses_args implements org.apache.thrift.TBase<getJobStatuses_args, getJobStatuses_args._Fields>, java.io.Serializable, Cloneable, Comparable<getJobStatuses_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getJobStatuses_args");
+ public static class getJobDetails_args implements org.apache.thrift.TBase<getJobDetails_args, getJobDetails_args._Fields>, java.io.Serializable, Cloneable, Comparable<getJobDetails_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getJobDetails_args");
private static final org.apache.thrift.protocol.TField AUTHZ_TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField("authzToken", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField AIRAVATA_EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("airavataExperimentId", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getJobStatuses_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getJobStatuses_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getJobDetails_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getJobDetails_argsTupleSchemeFactory();
public org.apache.airavata.model.security.AuthzToken authzToken; // required
public java.lang.String airavataExperimentId; // required
@@ -99672,13 +101279,13 @@ public class Airavata {
tmpMap.put(_Fields.AIRAVATA_EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("airavataExperimentId", 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(getJobStatuses_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getJobDetails_args.class, metaDataMap);
}
- public getJobStatuses_args() {
+ public getJobDetails_args() {
}
- public getJobStatuses_args(
+ public getJobDetails_args(
org.apache.airavata.model.security.AuthzToken authzToken,
java.lang.String airavataExperimentId)
{
@@ -99690,7 +101297,7 @@ public class Airavata {
/**
* Performs a deep copy on <i>other</i>.
*/
- public getJobStatuses_args(getJobStatuses_args other) {
+ public getJobDetails_args(getJobDetails_args other) {
if (other.isSetAuthzToken()) {
this.authzToken = new org.apache.airavata.model.security.AuthzToken(other.authzToken);
}
@@ -99699,8 +101306,8 @@ public class Airavata {
}
}
- public getJobStatuses_args deepCopy() {
- return new getJobStatuses_args(this);
+ public getJobDetails_args deepCopy() {
+ return new getJobDetails_args(this);
}
@Override
@@ -99713,7 +101320,7 @@ public class Airavata {
return this.authzToken;
}
- public getJobStatuses_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
+ public getJobDetails_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
this.authzToken = authzToken;
return this;
}
@@ -99737,7 +101344,7 @@ public class Airavata {
return this.airavataExperimentId;
}
- public getJobStatuses_args setAiravataExperimentId(java.lang.String airavataExperimentId) {
+ public getJobDetails_args setAiravataExperimentId(java.lang.String airavataExperimentId) {
this.airavataExperimentId = airavataExperimentId;
return this;
}
@@ -99809,12 +101416,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getJobStatuses_args)
- return this.equals((getJobStatuses_args)that);
+ if (that instanceof getJobDetails_args)
+ return this.equals((getJobDetails_args)that);
return false;
}
- public boolean equals(getJobStatuses_args that) {
+ public boolean equals(getJobDetails_args that) {
if (that == null)
return false;
if (this == that)
@@ -99857,7 +101464,7 @@ public class Airavata {
}
@Override
- public int compareTo(getJobStatuses_args other) {
+ public int compareTo(getJobDetails_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -99901,7 +101508,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getJobStatuses_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getJobDetails_args(");
boolean first = true;
sb.append("authzToken:");
@@ -99953,15 +101560,15 @@ public class Airavata {
}
}
- private static class getJobStatuses_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getJobStatuses_argsStandardScheme getScheme() {
- return new getJobStatuses_argsStandardScheme();
+ private static class getJobDetails_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getJobDetails_argsStandardScheme getScheme() {
+ return new getJobDetails_argsStandardScheme();
}
}
- private static class getJobStatuses_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getJobStatuses_args> {
+ private static class getJobDetails_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getJobDetails_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getJobStatuses_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getJobDetails_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -99999,7 +101606,7 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getJobStatuses_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getJobDetails_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -100019,23 +101626,23 @@ public class Airavata {
}
- private static class getJobStatuses_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getJobStatuses_argsTupleScheme getScheme() {
- return new getJobStatuses_argsTupleScheme();
+ private static class getJobDetails_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getJobDetails_argsTupleScheme getScheme() {
+ return new getJobDetails_argsTupleScheme();
}
}
- private static class getJobStatuses_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getJobStatuses_args> {
+ private static class getJobDetails_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getJobDetails_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getJobStatuses_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getJobDetails_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken.write(oprot);
oprot.writeString(struct.airavataExperimentId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getJobStatuses_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getJobDetails_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken = new org.apache.airavata.model.security.AuthzToken();
struct.authzToken.read(iprot);
@@ -100050,20 +101657,20 @@ public class Airavata {
}
}
- public static class getJobStatuses_result implements org.apache.thrift.TBase<getJobStatuses_result, getJobStatuses_result._Fields>, java.io.Serializable, Cloneable, Comparable<getJobStatuses_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getJobStatuses_result");
+ public static class getJobDetails_result implements org.apache.thrift.TBase<getJobDetails_result, getJobDetails_result._Fields>, java.io.Serializable, Cloneable, Comparable<getJobDetails_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getJobDetails_result");
- private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (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 IRE_FIELD_DESC = new org.apache.thrift.protocol.TField("ire", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField ENF_FIELD_DESC = new org.apache.thrift.protocol.TField("enf", org.apache.thrift.protocol.TType.STRUCT, (short)2);
private static final org.apache.thrift.protocol.TField ACE_FIELD_DESC = new org.apache.thrift.protocol.TField("ace", org.apache.thrift.protocol.TType.STRUCT, (short)3);
private static final org.apache.thrift.protocol.TField ASE_FIELD_DESC = new org.apache.thrift.protocol.TField("ase", org.apache.thrift.protocol.TType.STRUCT, (short)4);
private static final org.apache.thrift.protocol.TField AE_FIELD_DESC = new org.apache.thrift.protocol.TField("ae", org.apache.thrift.protocol.TType.STRUCT, (short)5);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getJobStatuses_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getJobStatuses_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getJobDetails_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getJobDetails_resultTupleSchemeFactory();
- public java.util.Map<java.lang.String,org.apache.airavata.model.status.JobStatus> success; // required
+ public java.util.List<org.apache.airavata.model.job.JobModel> success; // required
public org.apache.airavata.model.error.InvalidRequestException ire; // required
public org.apache.airavata.model.error.ExperimentNotFoundException enf; // required
public org.apache.airavata.model.error.AiravataClientException ace; // required
@@ -100148,9 +101755,8 @@ public class Airavata {
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.MapMetaData(org.apache.thrift.protocol.TType.MAP,
- 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.status.JobStatus.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.job.JobModel.class))));
tmpMap.put(_Fields.IRE, new org.apache.thrift.meta_data.FieldMetaData("ire", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.InvalidRequestException.class)));
tmpMap.put(_Fields.ENF, new org.apache.thrift.meta_data.FieldMetaData("enf", org.apache.thrift.TFieldRequirementType.DEFAULT,
@@ -100162,14 +101768,14 @@ public class Airavata {
tmpMap.put(_Fields.AE, new org.apache.thrift.meta_data.FieldMetaData("ae", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AuthorizationException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getJobStatuses_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getJobDetails_result.class, metaDataMap);
}
- public getJobStatuses_result() {
+ public getJobDetails_result() {
}
- public getJobStatuses_result(
- java.util.Map<java.lang.String,org.apache.airavata.model.status.JobStatus> success,
+ public getJobDetails_result(
+ java.util.List<org.apache.airavata.model.job.JobModel> success,
org.apache.airavata.model.error.InvalidRequestException ire,
org.apache.airavata.model.error.ExperimentNotFoundException enf,
org.apache.airavata.model.error.AiravataClientException ace,
@@ -100188,19 +101794,11 @@ public class Airavata {
/**
* Performs a deep copy on <i>other</i>.
*/
- public getJobStatuses_result(getJobStatuses_result other) {
+ public getJobDetails_result(getJobDetails_result other) {
if (other.isSetSuccess()) {
- java.util.Map<java.lang.String,org.apache.airavata.model.status.JobStatus> __this__success = new java.util.HashMap<java.lang.String,org.apache.airavata.model.status.JobStatus>(other.success.size());
- for (java.util.Map.Entry<java.lang.String, org.apache.airavata.model.status.JobStatus> other_element : other.success.entrySet()) {
-
- java.lang.String other_element_key = other_element.getKey();
- org.apache.airavata.model.status.JobStatus other_element_value = other_element.getValue();
-
- java.lang.String __this__success_copy_key = other_element_key;
-
- org.apache.airavata.model.status.JobStatus __this__success_copy_value = new org.apache.airavata.model.status.JobStatus(other_element_value);
-
- __this__success.put(__this__success_copy_key, __this__success_copy_value);
+ java.util.List<org.apache.airavata.model.job.JobModel> __this__success = new java.util.ArrayList<org.apache.airavata.model.job.JobModel>(other.success.size());
+ for (org.apache.airavata.model.job.JobModel other_element : other.success) {
+ __this__success.add(new org.apache.airavata.model.job.JobModel(other_element));
}
this.success = __this__success;
}
@@ -100221,8 +101819,8 @@ public class Airavata {
}
}
- public getJobStatuses_result deepCopy() {
- return new getJobStatuses_result(this);
+ public getJobDetails_result deepCopy() {
+ return new getJobDetails_result(this);
}
@Override
@@ -100239,18 +101837,22 @@ public class Airavata {
return (this.success == null) ? 0 : this.success.size();
}
- public void putToSuccess(java.lang.String key, org.apache.airavata.model.status.JobStatus val) {
+ public java.util.Iterator<org.apache.airavata.model.job.JobModel> getSuccessIterator() {
+ return (this.success == null) ? null : this.success.iterator();
+ }
+
+ public void addToSuccess(org.apache.airavata.model.job.JobModel elem) {
if (this.success == null) {
- this.success = new java.util.HashMap<java.lang.String,org.apache.airavata.model.status.JobStatus>();
+ this.success = new java.util.ArrayList<org.apache.airavata.model.job.JobModel>();
}
- this.success.put(key, val);
+ this.success.add(elem);
}
- public java.util.Map<java.lang.String,org.apache.airavata.model.status.JobStatus> getSuccess() {
+ public java.util.List<org.apache.airavata.model.job.JobModel> getSuccess() {
return this.success;
}
- public getJobStatuses_result setSuccess(java.util.Map<java.lang.String,org.apache.airavata.model.status.JobStatus> success) {
+ public getJobDetails_result setSuccess(java.util.List<org.apache.airavata.model.job.JobModel> success) {
this.success = success;
return this;
}
@@ -100274,7 +101876,7 @@ public class Airavata {
return this.ire;
}
- public getJobStatuses_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
+ public getJobDetails_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
this.ire = ire;
return this;
}
@@ -100298,7 +101900,7 @@ public class Airavata {
return this.enf;
}
- public getJobStatuses_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
+ public getJobDetails_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
this.enf = enf;
return this;
}
@@ -100322,7 +101924,7 @@ public class Airavata {
return this.ace;
}
- public getJobStatuses_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
+ public getJobDetails_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
this.ace = ace;
return this;
}
@@ -100346,7 +101948,7 @@ public class Airavata {
return this.ase;
}
- public getJobStatuses_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
+ public getJobDetails_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
this.ase = ase;
return this;
}
@@ -100370,7 +101972,7 @@ public class Airavata {
return this.ae;
}
- public getJobStatuses_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
+ public getJobDetails_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
this.ae = ae;
return this;
}
@@ -100396,7 +101998,7 @@ public class Airavata {
if (value == null) {
unsetSuccess();
} else {
- setSuccess((java.util.Map<java.lang.String,org.apache.airavata.model.status.JobStatus>)value);
+ setSuccess((java.util.List<org.apache.airavata.model.job.JobModel>)value);
}
break;
@@ -100494,12 +102096,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getJobStatuses_result)
- return this.equals((getJobStatuses_result)that);
+ if (that instanceof getJobDetails_result)
+ return this.equals((getJobDetails_result)that);
return false;
}
- public boolean equals(getJobStatuses_result that) {
+ public boolean equals(getJobDetails_result that) {
if (that == null)
return false;
if (this == that)
@@ -100594,7 +102196,7 @@ public class Airavata {
}
@Override
- public int compareTo(getJobStatuses_result other) {
+ public int compareTo(getJobDetails_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -100678,7 +102280,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getJobStatuses_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("getJobDetails_result(");
boolean first = true;
sb.append("success:");
@@ -100753,15 +102355,15 @@ public class Airavata {
}
}
- private static class getJobStatuses_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getJobStatuses_resultStandardScheme getScheme() {
- return new getJobStatuses_resultStandardScheme();
+ private static class getJobDetails_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getJobDetails_resultStandardScheme getScheme() {
+ return new getJobDetails_resultStandardScheme();
}
}
- private static class getJobStatuses_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getJobStatuses_result> {
+ private static class getJobDetails_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getJobDetails_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getJobStatuses_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getJobDetails_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -100772,20 +102374,18 @@ public class Airavata {
}
switch (schemeField.id) {
case 0: // SUCCESS
- if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
+ if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
- org.apache.thrift.protocol.TMap _map136 = iprot.readMapBegin();
- struct.success = new java.util.HashMap<java.lang.String,org.apache.airavata.model.status.JobStatus>(2*_map136.size);
- java.lang.String _key137;
- org.apache.airavata.model.status.JobStatus _val138;
- for (int _i139 = 0; _i139 < _map136.size; ++_i139)
+ org.apache.thrift.protocol.TList _list146 = iprot.readListBegin();
+ struct.success = new java.util.ArrayList<org.apache.airavata.model.job.JobModel>(_list146.size);
+ org.apache.airavata.model.job.JobModel _elem147;
+ for (int _i148 = 0; _i148 < _list146.size; ++_i148)
{
- _key137 = iprot.readString();
- _val138 = new org.apache.airavata.model.status.JobStatus();
- _val138.read(iprot);
- struct.success.put(_key137, _val138);
+ _elem147 = new org.apache.airavata.model.job.JobModel();
+ _elem147.read(iprot);
+ struct.success.add(_elem147);
}
- iprot.readMapEnd();
+ iprot.readListEnd();
}
struct.setSuccessIsSet(true);
} else {
@@ -100848,20 +102448,19 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getJobStatuses_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getJobDetails_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.success != null) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
- oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
- for (java.util.Map.Entry<java.lang.String, org.apache.airavata.model.status.JobStatus> _iter140 : struct.success.entrySet())
+ oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
+ for (org.apache.airavata.model.job.JobModel _iter149 : struct.success)
{
- oprot.writeString(_iter140.getKey());
- _iter140.getValue().write(oprot);
+ _iter149.write(oprot);
}
- oprot.writeMapEnd();
+ oprot.writeListEnd();
}
oprot.writeFieldEnd();
}
@@ -100896,16 +102495,16 @@ public class Airavata {
}
- private static class getJobStatuses_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getJobStatuses_resultTupleScheme getScheme() {
- return new getJobStatuses_resultTupleScheme();
+ private static class getJobDetails_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public getJobDetails_resultTupleScheme getScheme() {
+ return new getJobDetails_resultTupleScheme();
}
}
- private static class getJobStatuses_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getJobStatuses_result> {
+ private static class getJobDetails_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getJobDetails_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getJobStatuses_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getJobDetails_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()) {
@@ -100930,10 +102529,9 @@ public class Airavata {
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (java.util.Map.Entry<java.lang.String, org.apache.airavata.model.status.JobStatus> _iter141 : struct.success.entrySet())
+ for (org.apache.airavata.model.job.JobModel _iter150 : struct.success)
{
- oprot.writeString(_iter141.getKey());
- _iter141.getValue().write(oprot);
+ _iter150.write(oprot);
}
}
}
@@ -100955,21 +102553,19 @@ public class Airavata {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getJobStatuses_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getJobDetails_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(6);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TMap _map142 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new java.util.HashMap<java.lang.String,org.apache.airavata.model.status.JobStatus>(2*_map142.size);
- java.lang.String _key143;
- org.apache.airavata.model.status.JobStatus _val144;
- for (int _i145 = 0; _i145 < _map142.size; ++_i145)
+ org.apache.thrift.protocol.TList _list151 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new java.util.ArrayList<org.apache.airavata.model.job.JobModel>(_list151.size);
+ org.apache.airavata.model.job.JobModel _elem152;
+ for (int _i153 = 0; _i153 < _list151.size; ++_i153)
{
- _key143 = iprot.readString();
- _val144 = new org.apache.airavata.model.status.JobStatus();
- _val144.read(iprot);
- struct.success.put(_key143, _val144);
+ _elem152 = new org.apache.airavata.model.job.JobModel();
+ _elem152.read(iprot);
+ struct.success.add(_elem152);
}
}
struct.setSuccessIsSet(true);
@@ -101007,22 +102603,28 @@ public class Airavata {
}
}
- public static class getJobDetails_args implements org.apache.thrift.TBase<getJobDetails_args, getJobDetails_args._Fields>, java.io.Serializable, Cloneable, Comparable<getJobDetails_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getJobDetails_args");
+ public static class cloneExperiment_args implements org.apache.thrift.TBase<cloneExperiment_args, cloneExperiment_args._Fields>, java.io.Serializable, Cloneable, Comparable<cloneExperiment_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("cloneExperiment_args");
private static final org.apache.thrift.protocol.TField AUTHZ_TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField("authzToken", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.protocol.TField AIRAVATA_EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("airavataExperimentId", org.apache.thrift.protocol.TType.STRING, (short)2);
+ private static final org.apache.thrift.protocol.TField EXISTING_EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("existingExperimentID", org.apache.thrift.protocol.TType.STRING, (short)2);
+ private static final org.apache.thrift.protocol.TField NEW_EXPERIMENT_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("newExperimentName", org.apache.thrift.protocol.TType.STRING, (short)3);
+ private static final org.apache.thrift.protocol.TField NEW_EXPERIMENT_PROJECT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("newExperimentProjectId", org.apache.thrift.protocol.TType.STRING, (short)4);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getJobDetails_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getJobDetails_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new cloneExperiment_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new cloneExperiment_argsTupleSchemeFactory();
public org.apache.airavata.model.security.AuthzToken authzToken; // required
- public java.lang.String airavataExperimentId; // required
+ public java.lang.String existingExperimentID; // required
+ public java.lang.String newExperimentName; // required
+ public java.lang.String newExperimentProjectId; // 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 {
AUTHZ_TOKEN((short)1, "authzToken"),
- AIRAVATA_EXPERIMENT_ID((short)2, "airavataExperimentId");
+ EXISTING_EXPERIMENT_ID((short)2, "existingExperimentID"),
+ NEW_EXPERIMENT_NAME((short)3, "newExperimentName"),
+ NEW_EXPERIMENT_PROJECT_ID((short)4, "newExperimentProjectId");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -101039,8 +102641,12 @@ public class Airavata {
switch(fieldId) {
case 1: // AUTHZ_TOKEN
return AUTHZ_TOKEN;
- case 2: // AIRAVATA_EXPERIMENT_ID
- return AIRAVATA_EXPERIMENT_ID;
+ case 2: // EXISTING_EXPERIMENT_ID
+ return EXISTING_EXPERIMENT_ID;
+ case 3: // NEW_EXPERIMENT_NAME
+ return NEW_EXPERIMENT_NAME;
+ case 4: // NEW_EXPERIMENT_PROJECT_ID
+ return NEW_EXPERIMENT_PROJECT_ID;
default:
return null;
}
@@ -101086,51 +102692,67 @@ public class Airavata {
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.AUTHZ_TOKEN, new org.apache.thrift.meta_data.FieldMetaData("authzToken", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.security.AuthzToken.class)));
- tmpMap.put(_Fields.AIRAVATA_EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("airavataExperimentId", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ tmpMap.put(_Fields.EXISTING_EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("existingExperimentID", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+ tmpMap.put(_Fields.NEW_EXPERIMENT_NAME, new org.apache.thrift.meta_data.FieldMetaData("newExperimentName", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+ tmpMap.put(_Fields.NEW_EXPERIMENT_PROJECT_ID, new org.apache.thrift.meta_data.FieldMetaData("newExperimentProjectId", org.apache.thrift.TFieldRequirementType.DEFAULT,
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(getJobDetails_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(cloneExperiment_args.class, metaDataMap);
}
- public getJobDetails_args() {
+ public cloneExperiment_args() {
}
- public getJobDetails_args(
+ public cloneExperiment_args(
org.apache.airavata.model.security.AuthzToken authzToken,
- java.lang.String airavataExperimentId)
+ java.lang.String existingExperimentID,
+ java.lang.String newExperimentName,
+ java.lang.String newExperimentProjectId)
{
this();
this.authzToken = authzToken;
- this.airavataExperimentId = airavataExperimentId;
+ this.existingExperimentID = existingExperimentID;
+ this.newExperimentName = newExperimentName;
+ this.newExperimentProjectId = newExperimentProjectId;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public getJobDetails_args(getJobDetails_args other) {
+ public cloneExperiment_args(cloneExperiment_args other) {
if (other.isSetAuthzToken()) {
this.authzToken = new org.apache.airavata.model.security.AuthzToken(other.authzToken);
}
- if (other.isSetAiravataExperimentId()) {
- this.airavataExperimentId = other.airavataExperimentId;
+ if (other.isSetExistingExperimentID()) {
+ this.existingExperimentID = other.existingExperimentID;
+ }
+ if (other.isSetNewExperimentName()) {
+ this.newExperimentName = other.newExperimentName;
+ }
+ if (other.isSetNewExperimentProjectId()) {
+ this.newExperimentProjectId = other.newExperimentProjectId;
}
}
- public getJobDetails_args deepCopy() {
- return new getJobDetails_args(this);
+ public cloneExperiment_args deepCopy() {
+ return new cloneExperiment_args(this);
}
@Override
public void clear() {
this.authzToken = null;
- this.airavataExperimentId = null;
+ this.existingExperimentID = null;
+ this.newExperimentName = null;
+ this.newExperimentProjectId = null;
}
public org.apache.airavata.model.security.AuthzToken getAuthzToken() {
return this.authzToken;
}
- public getJobDetails_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
+ public cloneExperiment_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
this.authzToken = authzToken;
return this;
}
@@ -101150,27 +102772,75 @@ public class Airavata {
}
}
- public java.lang.String getAiravataExperimentId() {
- return this.airavataExperimentId;
+ public java.lang.String getExistingExperimentID() {
+ return this.existingExperimentID;
}
- public getJobDetails_args setAiravataExperimentId(java.lang.String airavataExperimentId) {
- this.airavataExperimentId = airavataExperimentId;
+ public cloneExperiment_args setExistingExperimentID(java.lang.String existingExperimentID) {
+ this.existingExperimentID = existingExperimentID;
return this;
}
- public void unsetAiravataExperimentId() {
- this.airavataExperimentId = null;
+ public void unsetExistingExperimentID() {
+ this.existingExperimentID = null;
}
- /** Returns true if field airavataExperimentId is set (has been assigned a value) and false otherwise */
- public boolean isSetAiravataExperimentId() {
- return this.airavataExperimentId != null;
+ /** Returns true if field existingExperimentID is set (has been assigned a value) and false otherwise */
+ public boolean isSetExistingExperimentID() {
+ return this.existingExperimentID != null;
}
- public void setAiravataExperimentIdIsSet(boolean value) {
+ public void setExistingExperimentIDIsSet(boolean value) {
if (!value) {
- this.airavataExperimentId = null;
+ this.existingExperimentID = null;
+ }
+ }
+
+ public java.lang.String getNewExperimentName() {
+ return this.newExperimentName;
+ }
+
+ public cloneExperiment_args setNewExperimentName(java.lang.String newExperimentName) {
+ this.newExperimentName = newExperimentName;
+ return this;
+ }
+
+ public void unsetNewExperimentName() {
+ this.newExperimentName = null;
+ }
+
+ /** Returns true if field newExperimentName is set (has been assigned a value) and false otherwise */
+ public boolean isSetNewExperimentName() {
+ return this.newExperimentName != null;
+ }
+
+ public void setNewExperimentNameIsSet(boolean value) {
+ if (!value) {
+ this.newExperimentName = null;
+ }
+ }
+
+ public java.lang.String getNewExperimentProjectId() {
+ return this.newExperimentProjectId;
+ }
+
+ public cloneExperiment_args setNewExperimentProjectId(java.lang.String newExperimentProjectId) {
+ this.newExperimentProjectId = newExperimentProjectId;
+ return this;
+ }
+
+ public void unsetNewExperimentProjectId() {
+ this.newExperimentProjectId = null;
+ }
+
+ /** Returns true if field newExperimentProjectId is set (has been assigned a value) and false otherwise */
+ public boolean isSetNewExperimentProjectId() {
+ return this.newExperimentProjectId != null;
+ }
+
+ public void setNewExperimentProjectIdIsSet(boolean value) {
+ if (!value) {
+ this.newExperimentProjectId = null;
}
}
@@ -101184,11 +102854,27 @@ public class Airavata {
}
break;
- case AIRAVATA_EXPERIMENT_ID:
+ case EXISTING_EXPERIMENT_ID:
if (value == null) {
- unsetAiravataExperimentId();
+ unsetExistingExperimentID();
} else {
- setAiravataExperimentId((java.lang.String)value);
+ setExistingExperimentID((java.lang.String)value);
+ }
+ break;
+
+ case NEW_EXPERIMENT_NAME:
+ if (value == null) {
+ unsetNewExperimentName();
+ } else {
+ setNewExperimentName((java.lang.String)value);
+ }
+ break;
+
+ case NEW_EXPERIMENT_PROJECT_ID:
+ if (value == null) {
+ unsetNewExperimentProjectId();
+ } else {
+ setNewExperimentProjectId((java.lang.String)value);
}
break;
@@ -101200,8 +102886,14 @@ public class Airavata {
case AUTHZ_TOKEN:
return getAuthzToken();
- case AIRAVATA_EXPERIMENT_ID:
- return getAiravataExperimentId();
+ case EXISTING_EXPERIMENT_ID:
+ return getExistingExperimentID();
+
+ case NEW_EXPERIMENT_NAME:
+ return getNewExperimentName();
+
+ case NEW_EXPERIMENT_PROJECT_ID:
+ return getNewExperimentProjectId();
}
throw new java.lang.IllegalStateException();
@@ -101216,8 +102908,12 @@ public class Airavata {
switch (field) {
case AUTHZ_TOKEN:
return isSetAuthzToken();
- case AIRAVATA_EXPERIMENT_ID:
- return isSetAiravataExperimentId();
+ case EXISTING_EXPERIMENT_ID:
+ return isSetExistingExperimentID();
+ case NEW_EXPERIMENT_NAME:
+ return isSetNewExperimentName();
+ case NEW_EXPERIMENT_PROJECT_ID:
+ return isSetNewExperimentProjectId();
}
throw new java.lang.IllegalStateException();
}
@@ -101226,12 +102922,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getJobDetails_args)
- return this.equals((getJobDetails_args)that);
+ if (that instanceof cloneExperiment_args)
+ return this.equals((cloneExperiment_args)that);
return false;
}
- public boolean equals(getJobDetails_args that) {
+ public boolean equals(cloneExperiment_args that) {
if (that == null)
return false;
if (this == that)
@@ -101246,12 +102942,30 @@ public class Airavata {
return false;
}
- boolean this_present_airavataExperimentId = true && this.isSetAiravataExperimentId();
- boolean that_present_airavataExperimentId = true && that.isSetAiravataExperimentId();
- if (this_present_airavataExperimentId || that_present_airavataExperimentId) {
- if (!(this_present_airavataExperimentId && that_present_airavataExperimentId))
+ boolean this_present_existingExperimentID = true && this.isSetExistingExperimentID();
+ boolean that_present_existingExperimentID = true && that.isSetExistingExperimentID();
+ if (this_present_existingExperimentID || that_present_existingExperimentID) {
+ if (!(this_present_existingExperimentID && that_present_existingExperimentID))
return false;
- if (!this.airavataExperimentId.equals(that.airavataExperimentId))
+ if (!this.existingExperimentID.equals(that.existingExperimentID))
+ return false;
+ }
+
+ boolean this_present_newExperimentName = true && this.isSetNewExperimentName();
+ boolean that_present_newExperimentName = true && that.isSetNewExperimentName();
+ if (this_present_newExperimentName || that_present_newExperimentName) {
+ if (!(this_present_newExperimentName && that_present_newExperimentName))
+ return false;
+ if (!this.newExperimentName.equals(that.newExperimentName))
+ return false;
+ }
+
+ boolean this_present_newExperimentProjectId = true && this.isSetNewExperimentProjectId();
+ boolean that_present_newExperimentProjectId = true && that.isSetNewExperimentProjectId();
+ if (this_present_newExperimentProjectId || that_present_newExperimentProjectId) {
+ if (!(this_present_newExperimentProjectId && that_present_newExperimentProjectId))
+ return false;
+ if (!this.newExperimentProjectId.equals(that.newExperimentProjectId))
return false;
}
@@ -101266,15 +102980,23 @@ public class Airavata {
if (isSetAuthzToken())
hashCode = hashCode * 8191 + authzToken.hashCode();
- hashCode = hashCode * 8191 + ((isSetAiravataExperimentId()) ? 131071 : 524287);
- if (isSetAiravataExperimentId())
- hashCode = hashCode * 8191 + airavataExperimentId.hashCode();
+ hashCode = hashCode * 8191 + ((isSetExistingExperimentID()) ? 131071 : 524287);
+ if (isSetExistingExperimentID())
+ hashCode = hashCode * 8191 + existingExperimentID.hashCode();
+
+ hashCode = hashCode * 8191 + ((isSetNewExperimentName()) ? 131071 : 524287);
+ if (isSetNewExperimentName())
+ hashCode = hashCode * 8191 + newExperimentName.hashCode();
+
+ hashCode = hashCode * 8191 + ((isSetNewExperimentProjectId()) ? 131071 : 524287);
+ if (isSetNewExperimentProjectId())
+ hashCode = hashCode * 8191 + newExperimentProjectId.hashCode();
return hashCode;
}
@Override
- public int compareTo(getJobDetails_args other) {
+ public int compareTo(cloneExperiment_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -101291,12 +103013,32 @@ public class Airavata {
return lastComparison;
}
}
- lastComparison = java.lang.Boolean.valueOf(isSetAiravataExperimentId()).compareTo(other.isSetAiravataExperimentId());
+ lastComparison = java.lang.Boolean.valueOf(isSetExistingExperimentID()).compareTo(other.isSetExistingExperimentID());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetAiravataExperimentId()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.airavataExperimentId, other.airavataExperimentId);
+ if (isSetExistingExperimentID()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.existingExperimentID, other.existingExperimentID);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = java.lang.Boolean.valueOf(isSetNewExperimentName()).compareTo(other.isSetNewExperimentName());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetNewExperimentName()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.newExperimentName, other.newExperimentName);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
+ lastComparison = java.lang.Boolean.valueOf(isSetNewExperimentProjectId()).compareTo(other.isSetNewExperimentProjectId());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetNewExperimentProjectId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.newExperimentProjectId, other.newExperimentProjectId);
if (lastComparison != 0) {
return lastComparison;
}
@@ -101318,7 +103060,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getJobDetails_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("cloneExperiment_args(");
boolean first = true;
sb.append("authzToken:");
@@ -101329,11 +103071,27 @@ public class Airavata {
}
first = false;
if (!first) sb.append(", ");
- sb.append("airavataExperimentId:");
- if (this.airavataExperimentId == null) {
+ sb.append("existingExperimentID:");
+ if (this.existingExperimentID == null) {
sb.append("null");
} else {
- sb.append(this.airavataExperimentId);
+ sb.append(this.existingExperimentID);
+ }
+ first = false;
+ if (!first) sb.append(", ");
+ sb.append("newExperimentName:");
+ if (this.newExperimentName == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.newExperimentName);
+ }
+ first = false;
+ if (!first) sb.append(", ");
+ sb.append("newExperimentProjectId:");
+ if (this.newExperimentProjectId == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.newExperimentProjectId);
}
first = false;
sb.append(")");
@@ -101345,9 +103103,6 @@ public class Airavata {
if (authzToken == null) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'authzToken' was not present! Struct: " + toString());
}
- if (airavataExperimentId == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'airavataExperimentId' was not present! Struct: " + toString());
- }
// check for sub-struct validity
if (authzToken != null) {
authzToken.validate();
@@ -101370,15 +103125,15 @@ public class Airavata {
}
}
- private static class getJobDetails_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getJobDetails_argsStandardScheme getScheme() {
- return new getJobDetails_argsStandardScheme();
+ private static class cloneExperiment_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public cloneExperiment_argsStandardScheme getScheme() {
+ return new cloneExperiment_argsStandardScheme();
}
}
- private static class getJobDetails_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<getJobDetails_args> {
+ private static class cloneExperiment_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<cloneExperiment_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getJobDetails_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, cloneExperiment_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -101397,10 +103152,26 @@ public class Airavata {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 2: // AIRAVATA_EXPERIMENT_ID
+ case 2: // EXISTING_EXPERIMENT_ID
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.airavataExperimentId = iprot.readString();
- struct.setAiravataExperimentIdIsSet(true);
+ struct.existingExperimentID = iprot.readString();
+ struct.setExistingExperimentIDIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ case 3: // NEW_EXPERIMENT_NAME
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+ struct.newExperimentName = iprot.readString();
+ struct.setNewExperimentNameIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
+ case 4: // NEW_EXPERIMENT_PROJECT_ID
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+ struct.newExperimentProjectId = iprot.readString();
+ struct.setNewExperimentProjectIdIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -101416,7 +103187,7 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getJobDetails_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, cloneExperiment_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -101425,9 +103196,19 @@ public class Airavata {
struct.authzToken.write(oprot);
oprot.writeFieldEnd();
}
- if (struct.airavataExperimentId != null) {
- oprot.writeFieldBegin(AIRAVATA_EXPERIMENT_ID_FIELD_DESC);
- oprot.writeString(struct.airavataExperimentId);
+ if (struct.existingExperimentID != null) {
+ oprot.writeFieldBegin(EXISTING_EXPERIMENT_ID_FIELD_DESC);
+ oprot.writeString(struct.existingExperimentID);
+ oprot.writeFieldEnd();
+ }
+ if (struct.newExperimentName != null) {
+ oprot.writeFieldBegin(NEW_EXPERIMENT_NAME_FIELD_DESC);
+ oprot.writeString(struct.newExperimentName);
+ oprot.writeFieldEnd();
+ }
+ if (struct.newExperimentProjectId != null) {
+ oprot.writeFieldBegin(NEW_EXPERIMENT_PROJECT_ID_FIELD_DESC);
+ oprot.writeString(struct.newExperimentProjectId);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
@@ -101436,29 +103217,59 @@ public class Airavata {
}
- private static class getJobDetails_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getJobDetails_argsTupleScheme getScheme() {
- return new getJobDetails_argsTupleScheme();
+ private static class cloneExperiment_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public cloneExperiment_argsTupleScheme getScheme() {
+ return new cloneExperiment_argsTupleScheme();
}
}
- private static class getJobDetails_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<getJobDetails_args> {
+ private static class cloneExperiment_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<cloneExperiment_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getJobDetails_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, cloneExperiment_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken.write(oprot);
- oprot.writeString(struct.airavataExperimentId);
+ java.util.BitSet optionals = new java.util.BitSet();
+ if (struct.isSetExistingExperimentID()) {
+ optionals.set(0);
+ }
+ if (struct.isSetNewExperimentName()) {
+ optionals.set(1);
+ }
+ if (struct.isSetNewExperimentProjectId()) {
+ optionals.set(2);
+ }
+ oprot.writeBitSet(optionals, 3);
+ if (struct.isSetExistingExperimentID()) {
+ oprot.writeString(struct.existingExperimentID);
+ }
+ if (struct.isSetNewExperimentName()) {
+ oprot.writeString(struct.newExperimentName);
+ }
+ if (struct.isSetNewExperimentProjectId()) {
+ oprot.writeString(struct.newExperimentProjectId);
+ }
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getJobDetails_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, cloneExperiment_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken = new org.apache.airavata.model.security.AuthzToken();
struct.authzToken.read(iprot);
struct.setAuthzTokenIsSet(true);
- struct.airavataExperimentId = iprot.readString();
- struct.setAiravataExperimentIdIsSet(true);
+ java.util.BitSet incoming = iprot.readBitSet(3);
+ if (incoming.get(0)) {
+ struct.existingExperimentID = iprot.readString();
+ struct.setExistingExperimentIDIsSet(true);
+ }
+ if (incoming.get(1)) {
+ struct.newExperimentName = iprot.readString();
+ struct.setNewExperimentNameIsSet(true);
+ }
+ if (incoming.get(2)) {
+ struct.newExperimentProjectId = iprot.readString();
+ struct.setNewExperimentProjectIdIsSet(true);
+ }
}
}
@@ -101467,25 +103278,27 @@ public class Airavata {
}
}
- public static class getJobDetails_result implements org.apache.thrift.TBase<getJobDetails_result, getJobDetails_result._Fields>, java.io.Serializable, Cloneable, Comparable<getJobDetails_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getJobDetails_result");
+ public static class cloneExperiment_result implements org.apache.thrift.TBase<cloneExperiment_result, cloneExperiment_result._Fields>, java.io.Serializable, Cloneable, Comparable<cloneExperiment_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("cloneExperiment_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.STRING, (short)0);
private static final org.apache.thrift.protocol.TField IRE_FIELD_DESC = new org.apache.thrift.protocol.TField("ire", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField ENF_FIELD_DESC = new org.apache.thrift.protocol.TField("enf", org.apache.thrift.protocol.TType.STRUCT, (short)2);
private static final org.apache.thrift.protocol.TField ACE_FIELD_DESC = new org.apache.thrift.protocol.TField("ace", org.apache.thrift.protocol.TType.STRUCT, (short)3);
private static final org.apache.thrift.protocol.TField ASE_FIELD_DESC = new org.apache.thrift.protocol.TField("ase", org.apache.thrift.protocol.TType.STRUCT, (short)4);
private static final org.apache.thrift.protocol.TField AE_FIELD_DESC = new org.apache.thrift.protocol.TField("ae", org.apache.thrift.protocol.TType.STRUCT, (short)5);
+ private static final org.apache.thrift.protocol.TField PNFE_FIELD_DESC = new org.apache.thrift.protocol.TField("pnfe", org.apache.thrift.protocol.TType.STRUCT, (short)6);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getJobDetails_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getJobDetails_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new cloneExperiment_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new cloneExperiment_resultTupleSchemeFactory();
- public java.util.List<org.apache.airavata.model.job.JobModel> success; // required
+ public java.lang.String success; // required
public org.apache.airavata.model.error.InvalidRequestException ire; // required
public org.apache.airavata.model.error.ExperimentNotFoundException enf; // required
public org.apache.airavata.model.error.AiravataClientException ace; // required
public org.apache.airavata.model.error.AiravataSystemException ase; // required
public org.apache.airavata.model.error.AuthorizationException ae; // required
+ public org.apache.airavata.model.error.ProjectNotFoundException pnfe; // 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 {
@@ -101494,7 +103307,8 @@ public class Airavata {
ENF((short)2, "enf"),
ACE((short)3, "ace"),
ASE((short)4, "ase"),
- AE((short)5, "ae");
+ AE((short)5, "ae"),
+ PNFE((short)6, "pnfe");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -101521,6 +103335,8 @@ public class Airavata {
return ASE;
case 5: // AE
return AE;
+ case 6: // PNFE
+ return PNFE;
default:
return null;
}
@@ -101565,8 +103381,7 @@ public class Airavata {
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.job.JobModel.class))));
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
tmpMap.put(_Fields.IRE, new org.apache.thrift.meta_data.FieldMetaData("ire", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.InvalidRequestException.class)));
tmpMap.put(_Fields.ENF, new org.apache.thrift.meta_data.FieldMetaData("enf", org.apache.thrift.TFieldRequirementType.DEFAULT,
@@ -101577,20 +103392,23 @@ public class Airavata {
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AiravataSystemException.class)));
tmpMap.put(_Fields.AE, new org.apache.thrift.meta_data.FieldMetaData("ae", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AuthorizationException.class)));
+ tmpMap.put(_Fields.PNFE, new org.apache.thrift.meta_data.FieldMetaData("pnfe", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.ProjectNotFoundException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getJobDetails_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(cloneExperiment_result.class, metaDataMap);
}
- public getJobDetails_result() {
+ public cloneExperiment_result() {
}
- public getJobDetails_result(
- java.util.List<org.apache.airavata.model.job.JobModel> success,
+ public cloneExperiment_result(
+ java.lang.String success,
org.apache.airavata.model.error.InvalidRequestException ire,
org.apache.airavata.model.error.ExperimentNotFoundException enf,
org.apache.airavata.model.error.AiravataClientException ace,
org.apache.airavata.model.error.AiravataSystemException ase,
- org.apache.airavata.model.error.AuthorizationException ae)
+ org.apache.airavata.model.error.AuthorizationException ae,
+ org.apache.airavata.model.error.ProjectNotFoundException pnfe)
{
this();
this.success = success;
@@ -101599,18 +103417,15 @@ public class Airavata {
this.ace = ace;
this.ase = ase;
this.ae = ae;
+ this.pnfe = pnfe;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public getJobDetails_result(getJobDetails_result other) {
+ public cloneExperiment_result(cloneExperiment_result other) {
if (other.isSetSuccess()) {
- java.util.List<org.apache.airavata.model.job.JobModel> __this__success = new java.util.ArrayList<org.apache.airavata.model.job.JobModel>(other.success.size());
- for (org.apache.airavata.model.job.JobModel other_element : other.success) {
- __this__success.add(new org.apache.airavata.model.job.JobModel(other_element));
- }
- this.success = __this__success;
+ this.success = other.success;
}
if (other.isSetIre()) {
this.ire = new org.apache.airavata.model.error.InvalidRequestException(other.ire);
@@ -101627,10 +103442,13 @@ public class Airavata {
if (other.isSetAe()) {
this.ae = new org.apache.airavata.model.error.AuthorizationException(other.ae);
}
+ if (other.isSetPnfe()) {
+ this.pnfe = new org.apache.airavata.model.error.ProjectNotFoundException(other.pnfe);
+ }
}
- public getJobDetails_result deepCopy() {
- return new getJobDetails_result(this);
+ public cloneExperiment_result deepCopy() {
+ return new cloneExperiment_result(this);
}
@Override
@@ -101641,28 +103459,14 @@ public class Airavata {
this.ace = null;
this.ase = null;
this.ae = null;
+ this.pnfe = null;
}
- public int getSuccessSize() {
- return (this.success == null) ? 0 : this.success.size();
- }
-
- public java.util.Iterator<org.apache.airavata.model.job.JobModel> getSuccessIterator() {
- return (this.success == null) ? null : this.success.iterator();
- }
-
- public void addToSuccess(org.apache.airavata.model.job.JobModel elem) {
- if (this.success == null) {
- this.success = new java.util.ArrayList<org.apache.airavata.model.job.JobModel>();
- }
- this.success.add(elem);
- }
-
- public java.util.List<org.apache.airavata.model.job.JobModel> getSuccess() {
+ public java.lang.String getSuccess() {
return this.success;
}
- public getJobDetails_result setSuccess(java.util.List<org.apache.airavata.model.job.JobModel> success) {
+ public cloneExperiment_result setSuccess(java.lang.String success) {
this.success = success;
return this;
}
@@ -101686,7 +103490,7 @@ public class Airavata {
return this.ire;
}
- public getJobDetails_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
+ public cloneExperiment_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
this.ire = ire;
return this;
}
@@ -101710,7 +103514,7 @@ public class Airavata {
return this.enf;
}
- public getJobDetails_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
+ public cloneExperiment_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
this.enf = enf;
return this;
}
@@ -101734,7 +103538,7 @@ public class Airavata {
return this.ace;
}
- public getJobDetails_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
+ public cloneExperiment_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
this.ace = ace;
return this;
}
@@ -101758,7 +103562,7 @@ public class Airavata {
return this.ase;
}
- public getJobDetails_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
+ public cloneExperiment_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
this.ase = ase;
return this;
}
@@ -101782,7 +103586,7 @@ public class Airavata {
return this.ae;
}
- public getJobDetails_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
+ public cloneExperiment_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
this.ae = ae;
return this;
}
@@ -101802,13 +103606,37 @@ public class Airavata {
}
}
+ public org.apache.airavata.model.error.ProjectNotFoundException getPnfe() {
+ return this.pnfe;
+ }
+
+ public cloneExperiment_result setPnfe(org.apache.airavata.model.error.ProjectNotFoundException pnfe) {
+ this.pnfe = pnfe;
+ return this;
+ }
+
+ public void unsetPnfe() {
+ this.pnfe = null;
+ }
+
+ /** Returns true if field pnfe is set (has been assigned a value) and false otherwise */
+ public boolean isSetPnfe() {
+ return this.pnfe != null;
+ }
+
+ public void setPnfeIsSet(boolean value) {
+ if (!value) {
+ this.pnfe = null;
+ }
+ }
+
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
unsetSuccess();
} else {
- setSuccess((java.util.List<org.apache.airavata.model.job.JobModel>)value);
+ setSuccess((java.lang.String)value);
}
break;
@@ -101852,6 +103680,14 @@ public class Airavata {
}
break;
+ case PNFE:
+ if (value == null) {
+ unsetPnfe();
+ } else {
+ setPnfe((org.apache.airavata.model.error.ProjectNotFoundException)value);
+ }
+ break;
+
}
}
@@ -101875,6 +103711,9 @@ public class Airavata {
case AE:
return getAe();
+ case PNFE:
+ return getPnfe();
+
}
throw new java.lang.IllegalStateException();
}
@@ -101898,6 +103737,8 @@ public class Airavata {
return isSetAse();
case AE:
return isSetAe();
+ case PNFE:
+ return isSetPnfe();
}
throw new java.lang.IllegalStateException();
}
@@ -101906,12 +103747,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof getJobDetails_result)
- return this.equals((getJobDetails_result)that);
+ if (that instanceof cloneExperiment_result)
+ return this.equals((cloneExperiment_result)that);
return false;
}
- public boolean equals(getJobDetails_result that) {
+ public boolean equals(cloneExperiment_result that) {
if (that == null)
return false;
if (this == that)
@@ -101971,6 +103812,15 @@ public class Airavata {
return false;
}
+ boolean this_present_pnfe = true && this.isSetPnfe();
+ boolean that_present_pnfe = true && that.isSetPnfe();
+ if (this_present_pnfe || that_present_pnfe) {
+ if (!(this_present_pnfe && that_present_pnfe))
+ return false;
+ if (!this.pnfe.equals(that.pnfe))
+ return false;
+ }
+
return true;
}
@@ -102002,11 +103852,15 @@ public class Airavata {
if (isSetAe())
hashCode = hashCode * 8191 + ae.hashCode();
+ hashCode = hashCode * 8191 + ((isSetPnfe()) ? 131071 : 524287);
+ if (isSetPnfe())
+ hashCode = hashCode * 8191 + pnfe.hashCode();
+
return hashCode;
}
@Override
- public int compareTo(getJobDetails_result other) {
+ public int compareTo(cloneExperiment_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -102073,6 +103927,16 @@ public class Airavata {
return lastComparison;
}
}
+ lastComparison = java.lang.Boolean.valueOf(isSetPnfe()).compareTo(other.isSetPnfe());
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ if (isSetPnfe()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pnfe, other.pnfe);
+ if (lastComparison != 0) {
+ return lastComparison;
+ }
+ }
return 0;
}
@@ -102090,7 +103954,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("getJobDetails_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("cloneExperiment_result(");
boolean first = true;
sb.append("success:");
@@ -102140,6 +104004,14 @@ public class Airavata {
sb.append(this.ae);
}
first = false;
+ if (!first) sb.append(", ");
+ sb.append("pnfe:");
+ if (this.pnfe == null) {
+ sb.append("null");
+ } else {
+ sb.append(this.pnfe);
+ }
+ first = false;
sb.append(")");
return sb.toString();
}
@@ -102165,15 +104037,15 @@ public class Airavata {
}
}
- private static class getJobDetails_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getJobDetails_resultStandardScheme getScheme() {
- return new getJobDetails_resultStandardScheme();
+ private static class cloneExperiment_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public cloneExperiment_resultStandardScheme getScheme() {
+ return new cloneExperiment_resultStandardScheme();
}
}
- private static class getJobDetails_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<getJobDetails_result> {
+ private static class cloneExperiment_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<cloneExperiment_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getJobDetails_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, cloneExperiment_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -102184,19 +104056,8 @@ public class Airavata {
}
switch (schemeField.id) {
case 0: // SUCCESS
- if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
- {
- org.apache.thrift.protocol.TList _list146 = iprot.readListBegin();
- struct.success = new java.util.ArrayList<org.apache.airavata.model.job.JobModel>(_list146.size);
- org.apache.airavata.model.job.JobModel _elem147;
- for (int _i148 = 0; _i148 < _list146.size; ++_i148)
- {
- _elem147 = new org.apache.airavata.model.job.JobModel();
- _elem147.read(iprot);
- struct.success.add(_elem147);
- }
- iprot.readListEnd();
- }
+ 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);
@@ -102247,6 +104108,15 @@ public class Airavata {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
+ case 6: // PNFE
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.pnfe = new org.apache.airavata.model.error.ProjectNotFoundException();
+ struct.pnfe.read(iprot);
+ struct.setPnfeIsSet(true);
+ } else {
+ org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+ }
+ break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -102258,20 +104128,13 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getJobDetails_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, cloneExperiment_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.job.JobModel _iter149 : struct.success)
- {
- _iter149.write(oprot);
- }
- oprot.writeListEnd();
- }
+ oprot.writeString(struct.success);
oprot.writeFieldEnd();
}
if (struct.ire != null) {
@@ -102299,22 +104162,27 @@ public class Airavata {
struct.ae.write(oprot);
oprot.writeFieldEnd();
}
+ if (struct.pnfe != null) {
+ oprot.writeFieldBegin(PNFE_FIELD_DESC);
+ struct.pnfe.write(oprot);
+ oprot.writeFieldEnd();
+ }
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
- private static class getJobDetails_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public getJobDetails_resultTupleScheme getScheme() {
- return new getJobDetails_resultTupleScheme();
+ private static class cloneExperiment_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public cloneExperiment_resultTupleScheme getScheme() {
+ return new cloneExperiment_resultTupleScheme();
}
}
- private static class getJobDetails_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<getJobDetails_result> {
+ private static class cloneExperiment_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<cloneExperiment_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getJobDetails_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, cloneExperiment_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()) {
@@ -102335,15 +104203,12 @@ public class Airavata {
if (struct.isSetAe()) {
optionals.set(5);
}
- oprot.writeBitSet(optionals, 6);
+ if (struct.isSetPnfe()) {
+ optionals.set(6);
+ }
+ oprot.writeBitSet(optionals, 7);
if (struct.isSetSuccess()) {
- {
- oprot.writeI32(struct.success.size());
- for (org.apache.airavata.model.job.JobModel _iter150 : struct.success)
- {
- _iter150.write(oprot);
- }
- }
+ oprot.writeString(struct.success);
}
if (struct.isSetIre()) {
struct.ire.write(oprot);
@@ -102360,24 +104225,17 @@ public class Airavata {
if (struct.isSetAe()) {
struct.ae.write(oprot);
}
+ if (struct.isSetPnfe()) {
+ struct.pnfe.write(oprot);
+ }
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getJobDetails_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, cloneExperiment_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(6);
+ java.util.BitSet incoming = iprot.readBitSet(7);
if (incoming.get(0)) {
- {
- org.apache.thrift.protocol.TList _list151 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
- struct.success = new java.util.ArrayList<org.apache.airavata.model.job.JobModel>(_list151.size);
- org.apache.airavata.model.job.JobModel _elem152;
- for (int _i153 = 0; _i153 < _list151.size; ++_i153)
- {
- _elem152 = new org.apache.airavata.model.job.JobModel();
- _elem152.read(iprot);
- struct.success.add(_elem152);
- }
- }
+ struct.success = iprot.readString();
struct.setSuccessIsSet(true);
}
if (incoming.get(1)) {
@@ -102405,6 +104263,11 @@ public class Airavata {
struct.ae.read(iprot);
struct.setAeIsSet(true);
}
+ if (incoming.get(6)) {
+ struct.pnfe = new org.apache.airavata.model.error.ProjectNotFoundException();
+ struct.pnfe.read(iprot);
+ struct.setPnfeIsSet(true);
+ }
}
}
@@ -102413,16 +104276,16 @@ public class Airavata {
}
}
- public static class cloneExperiment_args implements org.apache.thrift.TBase<cloneExperiment_args, cloneExperiment_args._Fields>, java.io.Serializable, Cloneable, Comparable<cloneExperiment_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("cloneExperiment_args");
+ public static class cloneExperimentByAdmin_args implements org.apache.thrift.TBase<cloneExperimentByAdmin_args, cloneExperimentByAdmin_args._Fields>, java.io.Serializable, Cloneable, Comparable<cloneExperimentByAdmin_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("cloneExperimentByAdmin_args");
private static final org.apache.thrift.protocol.TField AUTHZ_TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField("authzToken", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField EXISTING_EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("existingExperimentID", org.apache.thrift.protocol.TType.STRING, (short)2);
private static final org.apache.thrift.protocol.TField NEW_EXPERIMENT_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("newExperimentName", org.apache.thrift.protocol.TType.STRING, (short)3);
private static final org.apache.thrift.protocol.TField NEW_EXPERIMENT_PROJECT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("newExperimentProjectId", org.apache.thrift.protocol.TType.STRING, (short)4);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new cloneExperiment_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new cloneExperiment_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new cloneExperimentByAdmin_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new cloneExperimentByAdmin_argsTupleSchemeFactory();
public org.apache.airavata.model.security.AuthzToken authzToken; // required
public java.lang.String existingExperimentID; // required
@@ -102509,13 +104372,13 @@ public class Airavata {
tmpMap.put(_Fields.NEW_EXPERIMENT_PROJECT_ID, new org.apache.thrift.meta_data.FieldMetaData("newExperimentProjectId", org.apache.thrift.TFieldRequirementType.DEFAULT,
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(cloneExperiment_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(cloneExperimentByAdmin_args.class, metaDataMap);
}
- public cloneExperiment_args() {
+ public cloneExperimentByAdmin_args() {
}
- public cloneExperiment_args(
+ public cloneExperimentByAdmin_args(
org.apache.airavata.model.security.AuthzToken authzToken,
java.lang.String existingExperimentID,
java.lang.String newExperimentName,
@@ -102531,7 +104394,7 @@ public class Airavata {
/**
* Performs a deep copy on <i>other</i>.
*/
- public cloneExperiment_args(cloneExperiment_args other) {
+ public cloneExperimentByAdmin_args(cloneExperimentByAdmin_args other) {
if (other.isSetAuthzToken()) {
this.authzToken = new org.apache.airavata.model.security.AuthzToken(other.authzToken);
}
@@ -102546,8 +104409,8 @@ public class Airavata {
}
}
- public cloneExperiment_args deepCopy() {
- return new cloneExperiment_args(this);
+ public cloneExperimentByAdmin_args deepCopy() {
+ return new cloneExperimentByAdmin_args(this);
}
@Override
@@ -102562,7 +104425,7 @@ public class Airavata {
return this.authzToken;
}
- public cloneExperiment_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
+ public cloneExperimentByAdmin_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
this.authzToken = authzToken;
return this;
}
@@ -102586,7 +104449,7 @@ public class Airavata {
return this.existingExperimentID;
}
- public cloneExperiment_args setExistingExperimentID(java.lang.String existingExperimentID) {
+ public cloneExperimentByAdmin_args setExistingExperimentID(java.lang.String existingExperimentID) {
this.existingExperimentID = existingExperimentID;
return this;
}
@@ -102610,7 +104473,7 @@ public class Airavata {
return this.newExperimentName;
}
- public cloneExperiment_args setNewExperimentName(java.lang.String newExperimentName) {
+ public cloneExperimentByAdmin_args setNewExperimentName(java.lang.String newExperimentName) {
this.newExperimentName = newExperimentName;
return this;
}
@@ -102634,7 +104497,7 @@ public class Airavata {
return this.newExperimentProjectId;
}
- public cloneExperiment_args setNewExperimentProjectId(java.lang.String newExperimentProjectId) {
+ public cloneExperimentByAdmin_args setNewExperimentProjectId(java.lang.String newExperimentProjectId) {
this.newExperimentProjectId = newExperimentProjectId;
return this;
}
@@ -102732,12 +104595,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof cloneExperiment_args)
- return this.equals((cloneExperiment_args)that);
+ if (that instanceof cloneExperimentByAdmin_args)
+ return this.equals((cloneExperimentByAdmin_args)that);
return false;
}
- public boolean equals(cloneExperiment_args that) {
+ public boolean equals(cloneExperimentByAdmin_args that) {
if (that == null)
return false;
if (this == that)
@@ -102806,7 +104669,7 @@ public class Airavata {
}
@Override
- public int compareTo(cloneExperiment_args other) {
+ public int compareTo(cloneExperimentByAdmin_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -102870,7 +104733,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("cloneExperiment_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("cloneExperimentByAdmin_args(");
boolean first = true;
sb.append("authzToken:");
@@ -102935,15 +104798,15 @@ public class Airavata {
}
}
- private static class cloneExperiment_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public cloneExperiment_argsStandardScheme getScheme() {
- return new cloneExperiment_argsStandardScheme();
+ private static class cloneExperimentByAdmin_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public cloneExperimentByAdmin_argsStandardScheme getScheme() {
+ return new cloneExperimentByAdmin_argsStandardScheme();
}
}
- private static class cloneExperiment_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<cloneExperiment_args> {
+ private static class cloneExperimentByAdmin_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<cloneExperimentByAdmin_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, cloneExperiment_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, cloneExperimentByAdmin_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -102997,7 +104860,7 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, cloneExperiment_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, cloneExperimentByAdmin_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -103027,16 +104890,16 @@ public class Airavata {
}
- private static class cloneExperiment_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public cloneExperiment_argsTupleScheme getScheme() {
- return new cloneExperiment_argsTupleScheme();
+ private static class cloneExperimentByAdmin_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public cloneExperimentByAdmin_argsTupleScheme getScheme() {
+ return new cloneExperimentByAdmin_argsTupleScheme();
}
}
- private static class cloneExperiment_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<cloneExperiment_args> {
+ private static class cloneExperimentByAdmin_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<cloneExperimentByAdmin_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, cloneExperiment_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, cloneExperimentByAdmin_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken.write(oprot);
java.util.BitSet optionals = new java.util.BitSet();
@@ -103062,7 +104925,7 @@ public class Airavata {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, cloneExperiment_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, cloneExperimentByAdmin_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken = new org.apache.airavata.model.security.AuthzToken();
struct.authzToken.read(iprot);
@@ -103088,8 +104951,8 @@ public class Airavata {
}
}
- public static class cloneExperiment_result implements org.apache.thrift.TBase<cloneExperiment_result, cloneExperiment_result._Fields>, java.io.Serializable, Cloneable, Comparable<cloneExperiment_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("cloneExperiment_result");
+ public static class cloneExperimentByAdmin_result implements org.apache.thrift.TBase<cloneExperimentByAdmin_result, cloneExperimentByAdmin_result._Fields>, java.io.Serializable, Cloneable, Comparable<cloneExperimentByAdmin_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("cloneExperimentByAdmin_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 IRE_FIELD_DESC = new org.apache.thrift.protocol.TField("ire", org.apache.thrift.protocol.TType.STRUCT, (short)1);
@@ -103099,8 +104962,8 @@ public class Airavata {
private static final org.apache.thrift.protocol.TField AE_FIELD_DESC = new org.apache.thrift.protocol.TField("ae", org.apache.thrift.protocol.TType.STRUCT, (short)5);
private static final org.apache.thrift.protocol.TField PNFE_FIELD_DESC = new org.apache.thrift.protocol.TField("pnfe", org.apache.thrift.protocol.TType.STRUCT, (short)6);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new cloneExperiment_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new cloneExperiment_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new cloneExperimentByAdmin_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new cloneExperimentByAdmin_resultTupleSchemeFactory();
public java.lang.String success; // required
public org.apache.airavata.model.error.InvalidRequestException ire; // required
@@ -103205,13 +105068,13 @@ public class Airavata {
tmpMap.put(_Fields.PNFE, new org.apache.thrift.meta_data.FieldMetaData("pnfe", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.ProjectNotFoundException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(cloneExperiment_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(cloneExperimentByAdmin_result.class, metaDataMap);
}
- public cloneExperiment_result() {
+ public cloneExperimentByAdmin_result() {
}
- public cloneExperiment_result(
+ public cloneExperimentByAdmin_result(
java.lang.String success,
org.apache.airavata.model.error.InvalidRequestException ire,
org.apache.airavata.model.error.ExperimentNotFoundException enf,
@@ -103233,7 +105096,7 @@ public class Airavata {
/**
* Performs a deep copy on <i>other</i>.
*/
- public cloneExperiment_result(cloneExperiment_result other) {
+ public cloneExperimentByAdmin_result(cloneExperimentByAdmin_result other) {
if (other.isSetSuccess()) {
this.success = other.success;
}
@@ -103257,8 +105120,8 @@ public class Airavata {
}
}
- public cloneExperiment_result deepCopy() {
- return new cloneExperiment_result(this);
+ public cloneExperimentByAdmin_result deepCopy() {
+ return new cloneExperimentByAdmin_result(this);
}
@Override
@@ -103276,7 +105139,7 @@ public class Airavata {
return this.success;
}
- public cloneExperiment_result setSuccess(java.lang.String success) {
+ public cloneExperimentByAdmin_result setSuccess(java.lang.String success) {
this.success = success;
return this;
}
@@ -103300,7 +105163,7 @@ public class Airavata {
return this.ire;
}
- public cloneExperiment_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
+ public cloneExperimentByAdmin_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
this.ire = ire;
return this;
}
@@ -103324,7 +105187,7 @@ public class Airavata {
return this.enf;
}
- public cloneExperiment_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
+ public cloneExperimentByAdmin_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
this.enf = enf;
return this;
}
@@ -103348,7 +105211,7 @@ public class Airavata {
return this.ace;
}
- public cloneExperiment_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
+ public cloneExperimentByAdmin_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
this.ace = ace;
return this;
}
@@ -103372,7 +105235,7 @@ public class Airavata {
return this.ase;
}
- public cloneExperiment_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
+ public cloneExperimentByAdmin_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
this.ase = ase;
return this;
}
@@ -103396,7 +105259,7 @@ public class Airavata {
return this.ae;
}
- public cloneExperiment_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
+ public cloneExperimentByAdmin_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
this.ae = ae;
return this;
}
@@ -103420,7 +105283,7 @@ public class Airavata {
return this.pnfe;
}
- public cloneExperiment_result setPnfe(org.apache.airavata.model.error.ProjectNotFoundException pnfe) {
+ public cloneExperimentByAdmin_result setPnfe(org.apache.airavata.model.error.ProjectNotFoundException pnfe) {
this.pnfe = pnfe;
return this;
}
@@ -103557,12 +105420,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof cloneExperiment_result)
- return this.equals((cloneExperiment_result)that);
+ if (that instanceof cloneExperimentByAdmin_result)
+ return this.equals((cloneExperimentByAdmin_result)that);
return false;
}
- public boolean equals(cloneExperiment_result that) {
+ public boolean equals(cloneExperimentByAdmin_result that) {
if (that == null)
return false;
if (this == that)
@@ -103670,7 +105533,7 @@ public class Airavata {
}
@Override
- public int compareTo(cloneExperiment_result other) {
+ public int compareTo(cloneExperimentByAdmin_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -103764,7 +105627,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("cloneExperiment_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("cloneExperimentByAdmin_result(");
boolean first = true;
sb.append("success:");
@@ -103847,15 +105710,15 @@ public class Airavata {
}
}
- private static class cloneExperiment_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public cloneExperiment_resultStandardScheme getScheme() {
- return new cloneExperiment_resultStandardScheme();
+ private static class cloneExperimentByAdmin_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public cloneExperimentByAdmin_resultStandardScheme getScheme() {
+ return new cloneExperimentByAdmin_resultStandardScheme();
}
}
- private static class cloneExperiment_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<cloneExperiment_result> {
+ private static class cloneExperimentByAdmin_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<cloneExperimentByAdmin_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, cloneExperiment_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, cloneExperimentByAdmin_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -103938,7 +105801,7 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, cloneExperiment_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, cloneExperimentByAdmin_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -103983,16 +105846,16 @@ public class Airavata {
}
- private static class cloneExperiment_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public cloneExperiment_resultTupleScheme getScheme() {
- return new cloneExperiment_resultTupleScheme();
+ private static class cloneExperimentByAdmin_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public cloneExperimentByAdmin_resultTupleScheme getScheme() {
+ return new cloneExperimentByAdmin_resultTupleScheme();
}
}
- private static class cloneExperiment_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<cloneExperiment_result> {
+ private static class cloneExperimentByAdmin_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<cloneExperimentByAdmin_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, cloneExperiment_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, cloneExperimentByAdmin_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()) {
@@ -104041,7 +105904,7 @@ public class Airavata {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, cloneExperiment_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, cloneExperimentByAdmin_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(7);
if (incoming.get(0)) {
@@ -104086,28 +105949,25 @@ public class Airavata {
}
}
- public static class cloneExperimentByAdmin_args implements org.apache.thrift.TBase<cloneExperimentByAdmin_args, cloneExperimentByAdmin_args._Fields>, java.io.Serializable, Cloneable, Comparable<cloneExperimentByAdmin_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("cloneExperimentByAdmin_args");
+ public static class terminateExperiment_args implements org.apache.thrift.TBase<terminateExperiment_args, terminateExperiment_args._Fields>, java.io.Serializable, Cloneable, Comparable<terminateExperiment_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("terminateExperiment_args");
private static final org.apache.thrift.protocol.TField AUTHZ_TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField("authzToken", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.protocol.TField EXISTING_EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("existingExperimentID", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.protocol.TField NEW_EXPERIMENT_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("newExperimentName", org.apache.thrift.protocol.TType.STRING, (short)3);
- private static final org.apache.thrift.protocol.TField NEW_EXPERIMENT_PROJECT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("newExperimentProjectId", org.apache.thrift.protocol.TType.STRING, (short)4);
+ private static final org.apache.thrift.protocol.TField AIRAVATA_EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("airavataExperimentId", org.apache.thrift.protocol.TType.STRING, (short)2);
+ private static final org.apache.thrift.protocol.TField GATEWAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("gatewayId", org.apache.thrift.protocol.TType.STRING, (short)3);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new cloneExperimentByAdmin_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new cloneExperimentByAdmin_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new terminateExperiment_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new terminateExperiment_argsTupleSchemeFactory();
public org.apache.airavata.model.security.AuthzToken authzToken; // required
- public java.lang.String existingExperimentID; // required
- public java.lang.String newExperimentName; // required
- public java.lang.String newExperimentProjectId; // required
+ public java.lang.String airavataExperimentId; // required
+ public java.lang.String gatewayId; // 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 {
AUTHZ_TOKEN((short)1, "authzToken"),
- EXISTING_EXPERIMENT_ID((short)2, "existingExperimentID"),
- NEW_EXPERIMENT_NAME((short)3, "newExperimentName"),
- NEW_EXPERIMENT_PROJECT_ID((short)4, "newExperimentProjectId");
+ AIRAVATA_EXPERIMENT_ID((short)2, "airavataExperimentId"),
+ GATEWAY_ID((short)3, "gatewayId");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -104124,12 +105984,10 @@ public class Airavata {
switch(fieldId) {
case 1: // AUTHZ_TOKEN
return AUTHZ_TOKEN;
- case 2: // EXISTING_EXPERIMENT_ID
- return EXISTING_EXPERIMENT_ID;
- case 3: // NEW_EXPERIMENT_NAME
- return NEW_EXPERIMENT_NAME;
- case 4: // NEW_EXPERIMENT_PROJECT_ID
- return NEW_EXPERIMENT_PROJECT_ID;
+ case 2: // AIRAVATA_EXPERIMENT_ID
+ return AIRAVATA_EXPERIMENT_ID;
+ case 3: // GATEWAY_ID
+ return GATEWAY_ID;
default:
return null;
}
@@ -104175,67 +106033,59 @@ public class Airavata {
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.AUTHZ_TOKEN, new org.apache.thrift.meta_data.FieldMetaData("authzToken", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.security.AuthzToken.class)));
- tmpMap.put(_Fields.EXISTING_EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("existingExperimentID", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
- tmpMap.put(_Fields.NEW_EXPERIMENT_NAME, new org.apache.thrift.meta_data.FieldMetaData("newExperimentName", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.AIRAVATA_EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("airavataExperimentId", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
- tmpMap.put(_Fields.NEW_EXPERIMENT_PROJECT_ID, new org.apache.thrift.meta_data.FieldMetaData("newExperimentProjectId", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.GATEWAY_ID, new org.apache.thrift.meta_data.FieldMetaData("gatewayId", org.apache.thrift.TFieldRequirementType.DEFAULT,
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(cloneExperimentByAdmin_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(terminateExperiment_args.class, metaDataMap);
}
- public cloneExperimentByAdmin_args() {
+ public terminateExperiment_args() {
}
- public cloneExperimentByAdmin_args(
+ public terminateExperiment_args(
org.apache.airavata.model.security.AuthzToken authzToken,
- java.lang.String existingExperimentID,
- java.lang.String newExperimentName,
- java.lang.String newExperimentProjectId)
+ java.lang.String airavataExperimentId,
+ java.lang.String gatewayId)
{
this();
this.authzToken = authzToken;
- this.existingExperimentID = existingExperimentID;
- this.newExperimentName = newExperimentName;
- this.newExperimentProjectId = newExperimentProjectId;
+ this.airavataExperimentId = airavataExperimentId;
+ this.gatewayId = gatewayId;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public cloneExperimentByAdmin_args(cloneExperimentByAdmin_args other) {
+ public terminateExperiment_args(terminateExperiment_args other) {
if (other.isSetAuthzToken()) {
this.authzToken = new org.apache.airavata.model.security.AuthzToken(other.authzToken);
}
- if (other.isSetExistingExperimentID()) {
- this.existingExperimentID = other.existingExperimentID;
- }
- if (other.isSetNewExperimentName()) {
- this.newExperimentName = other.newExperimentName;
+ if (other.isSetAiravataExperimentId()) {
+ this.airavataExperimentId = other.airavataExperimentId;
}
- if (other.isSetNewExperimentProjectId()) {
- this.newExperimentProjectId = other.newExperimentProjectId;
+ if (other.isSetGatewayId()) {
+ this.gatewayId = other.gatewayId;
}
}
- public cloneExperimentByAdmin_args deepCopy() {
- return new cloneExperimentByAdmin_args(this);
+ public terminateExperiment_args deepCopy() {
+ return new terminateExperiment_args(this);
}
@Override
public void clear() {
this.authzToken = null;
- this.existingExperimentID = null;
- this.newExperimentName = null;
- this.newExperimentProjectId = null;
+ this.airavataExperimentId = null;
+ this.gatewayId = null;
}
public org.apache.airavata.model.security.AuthzToken getAuthzToken() {
return this.authzToken;
}
- public cloneExperimentByAdmin_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
+ public terminateExperiment_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
this.authzToken = authzToken;
return this;
}
@@ -104255,75 +106105,51 @@ public class Airavata {
}
}
- public java.lang.String getExistingExperimentID() {
- return this.existingExperimentID;
- }
-
- public cloneExperimentByAdmin_args setExistingExperimentID(java.lang.String existingExperimentID) {
- this.existingExperimentID = existingExperimentID;
- return this;
- }
-
- public void unsetExistingExperimentID() {
- this.existingExperimentID = null;
- }
-
- /** Returns true if field existingExperimentID is set (has been assigned a value) and false otherwise */
- public boolean isSetExistingExperimentID() {
- return this.existingExperimentID != null;
- }
-
- public void setExistingExperimentIDIsSet(boolean value) {
- if (!value) {
- this.existingExperimentID = null;
- }
- }
-
- public java.lang.String getNewExperimentName() {
- return this.newExperimentName;
+ public java.lang.String getAiravataExperimentId() {
+ return this.airavataExperimentId;
}
- public cloneExperimentByAdmin_args setNewExperimentName(java.lang.String newExperimentName) {
- this.newExperimentName = newExperimentName;
+ public terminateExperiment_args setAiravataExperimentId(java.lang.String airavataExperimentId) {
+ this.airavataExperimentId = airavataExperimentId;
return this;
}
- public void unsetNewExperimentName() {
- this.newExperimentName = null;
+ public void unsetAiravataExperimentId() {
+ this.airavataExperimentId = null;
}
- /** Returns true if field newExperimentName is set (has been assigned a value) and false otherwise */
- public boolean isSetNewExperimentName() {
- return this.newExperimentName != null;
+ /** Returns true if field airavataExperimentId is set (has been assigned a value) and false otherwise */
+ public boolean isSetAiravataExperimentId() {
+ return this.airavataExperimentId != null;
}
- public void setNewExperimentNameIsSet(boolean value) {
+ public void setAiravataExperimentIdIsSet(boolean value) {
if (!value) {
- this.newExperimentName = null;
+ this.airavataExperimentId = null;
}
}
- public java.lang.String getNewExperimentProjectId() {
- return this.newExperimentProjectId;
+ public java.lang.String getGatewayId() {
+ return this.gatewayId;
}
- public cloneExperimentByAdmin_args setNewExperimentProjectId(java.lang.String newExperimentProjectId) {
- this.newExperimentProjectId = newExperimentProjectId;
+ public terminateExperiment_args setGatewayId(java.lang.String gatewayId) {
+ this.gatewayId = gatewayId;
return this;
}
- public void unsetNewExperimentProjectId() {
- this.newExperimentProjectId = null;
+ public void unsetGatewayId() {
+ this.gatewayId = null;
}
- /** Returns true if field newExperimentProjectId is set (has been assigned a value) and false otherwise */
- public boolean isSetNewExperimentProjectId() {
- return this.newExperimentProjectId != null;
+ /** Returns true if field gatewayId is set (has been assigned a value) and false otherwise */
+ public boolean isSetGatewayId() {
+ return this.gatewayId != null;
}
- public void setNewExperimentProjectIdIsSet(boolean value) {
+ public void setGatewayIdIsSet(boolean value) {
if (!value) {
- this.newExperimentProjectId = null;
+ this.gatewayId = null;
}
}
@@ -104337,27 +106163,19 @@ public class Airavata {
}
break;
- case EXISTING_EXPERIMENT_ID:
- if (value == null) {
- unsetExistingExperimentID();
- } else {
- setExistingExperimentID((java.lang.String)value);
- }
- break;
-
- case NEW_EXPERIMENT_NAME:
+ case AIRAVATA_EXPERIMENT_ID:
if (value == null) {
- unsetNewExperimentName();
+ unsetAiravataExperimentId();
} else {
- setNewExperimentName((java.lang.String)value);
+ setAiravataExperimentId((java.lang.String)value);
}
break;
- case NEW_EXPERIMENT_PROJECT_ID:
+ case GATEWAY_ID:
if (value == null) {
- unsetNewExperimentProjectId();
+ unsetGatewayId();
} else {
- setNewExperimentProjectId((java.lang.String)value);
+ setGatewayId((java.lang.String)value);
}
break;
@@ -104369,14 +106187,11 @@ public class Airavata {
case AUTHZ_TOKEN:
return getAuthzToken();
- case EXISTING_EXPERIMENT_ID:
- return getExistingExperimentID();
-
- case NEW_EXPERIMENT_NAME:
- return getNewExperimentName();
+ case AIRAVATA_EXPERIMENT_ID:
+ return getAiravataExperimentId();
- case NEW_EXPERIMENT_PROJECT_ID:
- return getNewExperimentProjectId();
+ case GATEWAY_ID:
+ return getGatewayId();
}
throw new java.lang.IllegalStateException();
@@ -104391,12 +106206,10 @@ public class Airavata {
switch (field) {
case AUTHZ_TOKEN:
return isSetAuthzToken();
- case EXISTING_EXPERIMENT_ID:
- return isSetExistingExperimentID();
- case NEW_EXPERIMENT_NAME:
- return isSetNewExperimentName();
- case NEW_EXPERIMENT_PROJECT_ID:
- return isSetNewExperimentProjectId();
+ case AIRAVATA_EXPERIMENT_ID:
+ return isSetAiravataExperimentId();
+ case GATEWAY_ID:
+ return isSetGatewayId();
}
throw new java.lang.IllegalStateException();
}
@@ -104405,12 +106218,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof cloneExperimentByAdmin_args)
- return this.equals((cloneExperimentByAdmin_args)that);
+ if (that instanceof terminateExperiment_args)
+ return this.equals((terminateExperiment_args)that);
return false;
}
- public boolean equals(cloneExperimentByAdmin_args that) {
+ public boolean equals(terminateExperiment_args that) {
if (that == null)
return false;
if (this == that)
@@ -104425,30 +106238,21 @@ public class Airavata {
return false;
}
- boolean this_present_existingExperimentID = true && this.isSetExistingExperimentID();
- boolean that_present_existingExperimentID = true && that.isSetExistingExperimentID();
- if (this_present_existingExperimentID || that_present_existingExperimentID) {
- if (!(this_present_existingExperimentID && that_present_existingExperimentID))
- return false;
- if (!this.existingExperimentID.equals(that.existingExperimentID))
- return false;
- }
-
- boolean this_present_newExperimentName = true && this.isSetNewExperimentName();
- boolean that_present_newExperimentName = true && that.isSetNewExperimentName();
- if (this_present_newExperimentName || that_present_newExperimentName) {
- if (!(this_present_newExperimentName && that_present_newExperimentName))
+ boolean this_present_airavataExperimentId = true && this.isSetAiravataExperimentId();
+ boolean that_present_airavataExperimentId = true && that.isSetAiravataExperimentId();
+ if (this_present_airavataExperimentId || that_present_airavataExperimentId) {
+ if (!(this_present_airavataExperimentId && that_present_airavataExperimentId))
return false;
- if (!this.newExperimentName.equals(that.newExperimentName))
+ if (!this.airavataExperimentId.equals(that.airavataExperimentId))
return false;
}
- boolean this_present_newExperimentProjectId = true && this.isSetNewExperimentProjectId();
- boolean that_present_newExperimentProjectId = true && that.isSetNewExperimentProjectId();
- if (this_present_newExperimentProjectId || that_present_newExperimentProjectId) {
- if (!(this_present_newExperimentProjectId && that_present_newExperimentProjectId))
+ boolean this_present_gatewayId = true && this.isSetGatewayId();
+ boolean that_present_gatewayId = true && that.isSetGatewayId();
+ if (this_present_gatewayId || that_present_gatewayId) {
+ if (!(this_present_gatewayId && that_present_gatewayId))
return false;
- if (!this.newExperimentProjectId.equals(that.newExperimentProjectId))
+ if (!this.gatewayId.equals(that.gatewayId))
return false;
}
@@ -104463,23 +106267,19 @@ public class Airavata {
if (isSetAuthzToken())
hashCode = hashCode * 8191 + authzToken.hashCode();
- hashCode = hashCode * 8191 + ((isSetExistingExperimentID()) ? 131071 : 524287);
- if (isSetExistingExperimentID())
- hashCode = hashCode * 8191 + existingExperimentID.hashCode();
-
- hashCode = hashCode * 8191 + ((isSetNewExperimentName()) ? 131071 : 524287);
- if (isSetNewExperimentName())
- hashCode = hashCode * 8191 + newExperimentName.hashCode();
+ hashCode = hashCode * 8191 + ((isSetAiravataExperimentId()) ? 131071 : 524287);
+ if (isSetAiravataExperimentId())
+ hashCode = hashCode * 8191 + airavataExperimentId.hashCode();
- hashCode = hashCode * 8191 + ((isSetNewExperimentProjectId()) ? 131071 : 524287);
- if (isSetNewExperimentProjectId())
- hashCode = hashCode * 8191 + newExperimentProjectId.hashCode();
+ hashCode = hashCode * 8191 + ((isSetGatewayId()) ? 131071 : 524287);
+ if (isSetGatewayId())
+ hashCode = hashCode * 8191 + gatewayId.hashCode();
return hashCode;
}
@Override
- public int compareTo(cloneExperimentByAdmin_args other) {
+ public int compareTo(terminateExperiment_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -104496,32 +106296,22 @@ public class Airavata {
return lastComparison;
}
}
- lastComparison = java.lang.Boolean.valueOf(isSetExistingExperimentID()).compareTo(other.isSetExistingExperimentID());
- if (lastComparison != 0) {
- return lastComparison;
- }
- if (isSetExistingExperimentID()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.existingExperimentID, other.existingExperimentID);
- if (lastComparison != 0) {
- return lastComparison;
- }
- }
- lastComparison = java.lang.Boolean.valueOf(isSetNewExperimentName()).compareTo(other.isSetNewExperimentName());
+ lastComparison = java.lang.Boolean.valueOf(isSetAiravataExperimentId()).compareTo(other.isSetAiravataExperimentId());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetNewExperimentName()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.newExperimentName, other.newExperimentName);
+ if (isSetAiravataExperimentId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.airavataExperimentId, other.airavataExperimentId);
if (lastComparison != 0) {
return lastComparison;
}
}
- lastComparison = java.lang.Boolean.valueOf(isSetNewExperimentProjectId()).compareTo(other.isSetNewExperimentProjectId());
+ lastComparison = java.lang.Boolean.valueOf(isSetGatewayId()).compareTo(other.isSetGatewayId());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetNewExperimentProjectId()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.newExperimentProjectId, other.newExperimentProjectId);
+ if (isSetGatewayId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.gatewayId, other.gatewayId);
if (lastComparison != 0) {
return lastComparison;
}
@@ -104543,7 +106333,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("cloneExperimentByAdmin_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("terminateExperiment_args(");
boolean first = true;
sb.append("authzToken:");
@@ -104554,27 +106344,19 @@ public class Airavata {
}
first = false;
if (!first) sb.append(", ");
- sb.append("existingExperimentID:");
- if (this.existingExperimentID == null) {
- sb.append("null");
- } else {
- sb.append(this.existingExperimentID);
- }
- first = false;
- if (!first) sb.append(", ");
- sb.append("newExperimentName:");
- if (this.newExperimentName == null) {
+ sb.append("airavataExperimentId:");
+ if (this.airavataExperimentId == null) {
sb.append("null");
} else {
- sb.append(this.newExperimentName);
+ sb.append(this.airavataExperimentId);
}
first = false;
if (!first) sb.append(", ");
- sb.append("newExperimentProjectId:");
- if (this.newExperimentProjectId == null) {
+ sb.append("gatewayId:");
+ if (this.gatewayId == null) {
sb.append("null");
} else {
- sb.append(this.newExperimentProjectId);
+ sb.append(this.gatewayId);
}
first = false;
sb.append(")");
@@ -104608,15 +106390,15 @@ public class Airavata {
}
}
- private static class cloneExperimentByAdmin_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public cloneExperimentByAdmin_argsStandardScheme getScheme() {
- return new cloneExperimentByAdmin_argsStandardScheme();
+ private static class terminateExperiment_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public terminateExperiment_argsStandardScheme getScheme() {
+ return new terminateExperiment_argsStandardScheme();
}
}
- private static class cloneExperimentByAdmin_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<cloneExperimentByAdmin_args> {
+ private static class terminateExperiment_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<terminateExperiment_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, cloneExperimentByAdmin_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, terminateExperiment_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -104635,26 +106417,18 @@ public class Airavata {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 2: // EXISTING_EXPERIMENT_ID
- if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.existingExperimentID = iprot.readString();
- struct.setExistingExperimentIDIsSet(true);
- } else {
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
- }
- break;
- case 3: // NEW_EXPERIMENT_NAME
+ case 2: // AIRAVATA_EXPERIMENT_ID
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.newExperimentName = iprot.readString();
- struct.setNewExperimentNameIsSet(true);
+ struct.airavataExperimentId = iprot.readString();
+ struct.setAiravataExperimentIdIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 4: // NEW_EXPERIMENT_PROJECT_ID
+ case 3: // GATEWAY_ID
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.newExperimentProjectId = iprot.readString();
- struct.setNewExperimentProjectIdIsSet(true);
+ struct.gatewayId = iprot.readString();
+ struct.setGatewayIdIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -104670,7 +106444,7 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, cloneExperimentByAdmin_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, terminateExperiment_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -104679,19 +106453,14 @@ public class Airavata {
struct.authzToken.write(oprot);
oprot.writeFieldEnd();
}
- if (struct.existingExperimentID != null) {
- oprot.writeFieldBegin(EXISTING_EXPERIMENT_ID_FIELD_DESC);
- oprot.writeString(struct.existingExperimentID);
- oprot.writeFieldEnd();
- }
- if (struct.newExperimentName != null) {
- oprot.writeFieldBegin(NEW_EXPERIMENT_NAME_FIELD_DESC);
- oprot.writeString(struct.newExperimentName);
+ if (struct.airavataExperimentId != null) {
+ oprot.writeFieldBegin(AIRAVATA_EXPERIMENT_ID_FIELD_DESC);
+ oprot.writeString(struct.airavataExperimentId);
oprot.writeFieldEnd();
}
- if (struct.newExperimentProjectId != null) {
- oprot.writeFieldBegin(NEW_EXPERIMENT_PROJECT_ID_FIELD_DESC);
- oprot.writeString(struct.newExperimentProjectId);
+ if (struct.gatewayId != null) {
+ oprot.writeFieldBegin(GATEWAY_ID_FIELD_DESC);
+ oprot.writeString(struct.gatewayId);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
@@ -104700,58 +106469,48 @@ public class Airavata {
}
- private static class cloneExperimentByAdmin_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public cloneExperimentByAdmin_argsTupleScheme getScheme() {
- return new cloneExperimentByAdmin_argsTupleScheme();
+ private static class terminateExperiment_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public terminateExperiment_argsTupleScheme getScheme() {
+ return new terminateExperiment_argsTupleScheme();
}
}
- private static class cloneExperimentByAdmin_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<cloneExperimentByAdmin_args> {
+ private static class terminateExperiment_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<terminateExperiment_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, cloneExperimentByAdmin_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, terminateExperiment_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken.write(oprot);
java.util.BitSet optionals = new java.util.BitSet();
- if (struct.isSetExistingExperimentID()) {
+ if (struct.isSetAiravataExperimentId()) {
optionals.set(0);
}
- if (struct.isSetNewExperimentName()) {
+ if (struct.isSetGatewayId()) {
optionals.set(1);
}
- if (struct.isSetNewExperimentProjectId()) {
- optionals.set(2);
- }
- oprot.writeBitSet(optionals, 3);
- if (struct.isSetExistingExperimentID()) {
- oprot.writeString(struct.existingExperimentID);
- }
- if (struct.isSetNewExperimentName()) {
- oprot.writeString(struct.newExperimentName);
+ oprot.writeBitSet(optionals, 2);
+ if (struct.isSetAiravataExperimentId()) {
+ oprot.writeString(struct.airavataExperimentId);
}
- if (struct.isSetNewExperimentProjectId()) {
- oprot.writeString(struct.newExperimentProjectId);
+ if (struct.isSetGatewayId()) {
+ oprot.writeString(struct.gatewayId);
}
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, cloneExperimentByAdmin_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, terminateExperiment_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken = new org.apache.airavata.model.security.AuthzToken();
struct.authzToken.read(iprot);
struct.setAuthzTokenIsSet(true);
- java.util.BitSet incoming = iprot.readBitSet(3);
+ java.util.BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
- struct.existingExperimentID = iprot.readString();
- struct.setExistingExperimentIDIsSet(true);
+ struct.airavataExperimentId = iprot.readString();
+ struct.setAiravataExperimentIdIsSet(true);
}
if (incoming.get(1)) {
- struct.newExperimentName = iprot.readString();
- struct.setNewExperimentNameIsSet(true);
- }
- if (incoming.get(2)) {
- struct.newExperimentProjectId = iprot.readString();
- struct.setNewExperimentProjectIdIsSet(true);
+ struct.gatewayId = iprot.readString();
+ struct.setGatewayIdIsSet(true);
}
}
}
@@ -104761,37 +106520,31 @@ public class Airavata {
}
}
- public static class cloneExperimentByAdmin_result implements org.apache.thrift.TBase<cloneExperimentByAdmin_result, cloneExperimentByAdmin_result._Fields>, java.io.Serializable, Cloneable, Comparable<cloneExperimentByAdmin_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("cloneExperimentByAdmin_result");
+ public static class terminateExperiment_result implements org.apache.thrift.TBase<terminateExperiment_result, terminateExperiment_result._Fields>, java.io.Serializable, Cloneable, Comparable<terminateExperiment_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("terminateExperiment_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 IRE_FIELD_DESC = new org.apache.thrift.protocol.TField("ire", org.apache.thrift.protocol.TType.STRUCT, (short)1);
private static final org.apache.thrift.protocol.TField ENF_FIELD_DESC = new org.apache.thrift.protocol.TField("enf", org.apache.thrift.protocol.TType.STRUCT, (short)2);
private static final org.apache.thrift.protocol.TField ACE_FIELD_DESC = new org.apache.thrift.protocol.TField("ace", org.apache.thrift.protocol.TType.STRUCT, (short)3);
private static final org.apache.thrift.protocol.TField ASE_FIELD_DESC = new org.apache.thrift.protocol.TField("ase", org.apache.thrift.protocol.TType.STRUCT, (short)4);
private static final org.apache.thrift.protocol.TField AE_FIELD_DESC = new org.apache.thrift.protocol.TField("ae", org.apache.thrift.protocol.TType.STRUCT, (short)5);
- private static final org.apache.thrift.protocol.TField PNFE_FIELD_DESC = new org.apache.thrift.protocol.TField("pnfe", org.apache.thrift.protocol.TType.STRUCT, (short)6);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new cloneExperimentByAdmin_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new cloneExperimentByAdmin_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new terminateExperiment_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new terminateExperiment_resultTupleSchemeFactory();
- public java.lang.String success; // required
public org.apache.airavata.model.error.InvalidRequestException ire; // required
public org.apache.airavata.model.error.ExperimentNotFoundException enf; // required
public org.apache.airavata.model.error.AiravataClientException ace; // required
public org.apache.airavata.model.error.AiravataSystemException ase; // required
public org.apache.airavata.model.error.AuthorizationException ae; // required
- public org.apache.airavata.model.error.ProjectNotFoundException pnfe; // 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"),
IRE((short)1, "ire"),
ENF((short)2, "enf"),
ACE((short)3, "ace"),
ASE((short)4, "ase"),
- AE((short)5, "ae"),
- PNFE((short)6, "pnfe");
+ AE((short)5, "ae");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -104806,8 +106559,6 @@ public class Airavata {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
- case 0: // SUCCESS
- return SUCCESS;
case 1: // IRE
return IRE;
case 2: // ENF
@@ -104818,8 +106569,6 @@ public class Airavata {
return ASE;
case 5: // AE
return AE;
- case 6: // PNFE
- return PNFE;
default:
return null;
}
@@ -104863,8 +106612,6 @@ public class Airavata {
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.IRE, new org.apache.thrift.meta_data.FieldMetaData("ire", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.InvalidRequestException.class)));
tmpMap.put(_Fields.ENF, new org.apache.thrift.meta_data.FieldMetaData("enf", org.apache.thrift.TFieldRequirementType.DEFAULT,
@@ -104875,41 +106622,32 @@ public class Airavata {
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AiravataSystemException.class)));
tmpMap.put(_Fields.AE, new org.apache.thrift.meta_data.FieldMetaData("ae", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AuthorizationException.class)));
- tmpMap.put(_Fields.PNFE, new org.apache.thrift.meta_data.FieldMetaData("pnfe", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.ProjectNotFoundException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(cloneExperimentByAdmin_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(terminateExperiment_result.class, metaDataMap);
}
- public cloneExperimentByAdmin_result() {
+ public terminateExperiment_result() {
}
- public cloneExperimentByAdmin_result(
- java.lang.String success,
+ public terminateExperiment_result(
org.apache.airavata.model.error.InvalidRequestException ire,
org.apache.airavata.model.error.ExperimentNotFoundException enf,
org.apache.airavata.model.error.AiravataClientException ace,
org.apache.airavata.model.error.AiravataSystemException ase,
- org.apache.airavata.model.error.AuthorizationException ae,
- org.apache.airavata.model.error.ProjectNotFoundException pnfe)
+ org.apache.airavata.model.error.AuthorizationException ae)
{
this();
- this.success = success;
this.ire = ire;
this.enf = enf;
this.ace = ace;
this.ase = ase;
this.ae = ae;
- this.pnfe = pnfe;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public cloneExperimentByAdmin_result(cloneExperimentByAdmin_result other) {
- if (other.isSetSuccess()) {
- this.success = other.success;
- }
+ public terminateExperiment_result(terminateExperiment_result other) {
if (other.isSetIre()) {
this.ire = new org.apache.airavata.model.error.InvalidRequestException(other.ire);
}
@@ -104925,55 +106663,26 @@ public class Airavata {
if (other.isSetAe()) {
this.ae = new org.apache.airavata.model.error.AuthorizationException(other.ae);
}
- if (other.isSetPnfe()) {
- this.pnfe = new org.apache.airavata.model.error.ProjectNotFoundException(other.pnfe);
- }
}
- public cloneExperimentByAdmin_result deepCopy() {
- return new cloneExperimentByAdmin_result(this);
+ public terminateExperiment_result deepCopy() {
+ return new terminateExperiment_result(this);
}
@Override
public void clear() {
- this.success = null;
this.ire = null;
this.enf = null;
this.ace = null;
this.ase = null;
this.ae = null;
- this.pnfe = null;
- }
-
- public java.lang.String getSuccess() {
- return this.success;
- }
-
- public cloneExperimentByAdmin_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.model.error.InvalidRequestException getIre() {
return this.ire;
}
- public cloneExperimentByAdmin_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
+ public terminateExperiment_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
this.ire = ire;
return this;
}
@@ -104997,7 +106706,7 @@ public class Airavata {
return this.enf;
}
- public cloneExperimentByAdmin_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
+ public terminateExperiment_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
this.enf = enf;
return this;
}
@@ -105021,7 +106730,7 @@ public class Airavata {
return this.ace;
}
- public cloneExperimentByAdmin_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
+ public terminateExperiment_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
this.ace = ace;
return this;
}
@@ -105045,7 +106754,7 @@ public class Airavata {
return this.ase;
}
- public cloneExperimentByAdmin_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
+ public terminateExperiment_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
this.ase = ase;
return this;
}
@@ -105069,7 +106778,7 @@ public class Airavata {
return this.ae;
}
- public cloneExperimentByAdmin_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
+ public terminateExperiment_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
this.ae = ae;
return this;
}
@@ -105089,40 +106798,8 @@ public class Airavata {
}
}
- public org.apache.airavata.model.error.ProjectNotFoundException getPnfe() {
- return this.pnfe;
- }
-
- public cloneExperimentByAdmin_result setPnfe(org.apache.airavata.model.error.ProjectNotFoundException pnfe) {
- this.pnfe = pnfe;
- return this;
- }
-
- public void unsetPnfe() {
- this.pnfe = null;
- }
-
- /** Returns true if field pnfe is set (has been assigned a value) and false otherwise */
- public boolean isSetPnfe() {
- return this.pnfe != null;
- }
-
- public void setPnfeIsSet(boolean value) {
- if (!value) {
- this.pnfe = null;
- }
- }
-
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 IRE:
if (value == null) {
unsetIre();
@@ -105163,22 +106840,11 @@ public class Airavata {
}
break;
- case PNFE:
- if (value == null) {
- unsetPnfe();
- } else {
- setPnfe((org.apache.airavata.model.error.ProjectNotFoundException)value);
- }
- break;
-
}
}
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
- case SUCCESS:
- return getSuccess();
-
case IRE:
return getIre();
@@ -105194,9 +106860,6 @@ public class Airavata {
case AE:
return getAe();
- case PNFE:
- return getPnfe();
-
}
throw new java.lang.IllegalStateException();
}
@@ -105208,8 +106871,6 @@ public class Airavata {
}
switch (field) {
- case SUCCESS:
- return isSetSuccess();
case IRE:
return isSetIre();
case ENF:
@@ -105220,8 +106881,6 @@ public class Airavata {
return isSetAse();
case AE:
return isSetAe();
- case PNFE:
- return isSetPnfe();
}
throw new java.lang.IllegalStateException();
}
@@ -105230,26 +106889,17 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof cloneExperimentByAdmin_result)
- return this.equals((cloneExperimentByAdmin_result)that);
+ if (that instanceof terminateExperiment_result)
+ return this.equals((terminateExperiment_result)that);
return false;
}
- public boolean equals(cloneExperimentByAdmin_result that) {
+ public boolean equals(terminateExperiment_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_ire = true && this.isSetIre();
boolean that_present_ire = true && that.isSetIre();
if (this_present_ire || that_present_ire) {
@@ -105295,15 +106945,6 @@ public class Airavata {
return false;
}
- boolean this_present_pnfe = true && this.isSetPnfe();
- boolean that_present_pnfe = true && that.isSetPnfe();
- if (this_present_pnfe || that_present_pnfe) {
- if (!(this_present_pnfe && that_present_pnfe))
- return false;
- if (!this.pnfe.equals(that.pnfe))
- return false;
- }
-
return true;
}
@@ -105311,10 +106952,6 @@ public class Airavata {
public int hashCode() {
int hashCode = 1;
- hashCode = hashCode * 8191 + ((isSetSuccess()) ? 131071 : 524287);
- if (isSetSuccess())
- hashCode = hashCode * 8191 + success.hashCode();
-
hashCode = hashCode * 8191 + ((isSetIre()) ? 131071 : 524287);
if (isSetIre())
hashCode = hashCode * 8191 + ire.hashCode();
@@ -105335,31 +106972,17 @@ public class Airavata {
if (isSetAe())
hashCode = hashCode * 8191 + ae.hashCode();
- hashCode = hashCode * 8191 + ((isSetPnfe()) ? 131071 : 524287);
- if (isSetPnfe())
- hashCode = hashCode * 8191 + pnfe.hashCode();
-
return hashCode;
}
@Override
- public int compareTo(cloneExperimentByAdmin_result other) {
+ public int compareTo(terminateExperiment_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(isSetIre()).compareTo(other.isSetIre());
if (lastComparison != 0) {
return lastComparison;
@@ -105410,16 +107033,6 @@ public class Airavata {
return lastComparison;
}
}
- lastComparison = java.lang.Boolean.valueOf(isSetPnfe()).compareTo(other.isSetPnfe());
- if (lastComparison != 0) {
- return lastComparison;
- }
- if (isSetPnfe()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pnfe, other.pnfe);
- if (lastComparison != 0) {
- return lastComparison;
- }
- }
return 0;
}
@@ -105437,17 +107050,9 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("cloneExperimentByAdmin_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("terminateExperiment_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("ire:");
if (this.ire == null) {
sb.append("null");
@@ -105487,14 +107092,6 @@ public class Airavata {
sb.append(this.ae);
}
first = false;
- if (!first) sb.append(", ");
- sb.append("pnfe:");
- if (this.pnfe == null) {
- sb.append("null");
- } else {
- sb.append(this.pnfe);
- }
- first = false;
sb.append(")");
return sb.toString();
}
@@ -105520,15 +107117,15 @@ public class Airavata {
}
}
- private static class cloneExperimentByAdmin_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public cloneExperimentByAdmin_resultStandardScheme getScheme() {
- return new cloneExperimentByAdmin_resultStandardScheme();
+ private static class terminateExperiment_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public terminateExperiment_resultStandardScheme getScheme() {
+ return new terminateExperiment_resultStandardScheme();
}
}
- private static class cloneExperimentByAdmin_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<cloneExperimentByAdmin_result> {
+ private static class terminateExperiment_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<terminateExperiment_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, cloneExperimentByAdmin_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, terminateExperiment_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -105538,14 +107135,6 @@ public class Airavata {
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: // IRE
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.ire = new org.apache.airavata.model.error.InvalidRequestException();
@@ -105591,15 +107180,6 @@ public class Airavata {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 6: // PNFE
- if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.pnfe = new org.apache.airavata.model.error.ProjectNotFoundException();
- struct.pnfe.read(iprot);
- struct.setPnfeIsSet(true);
- } else {
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
- }
- break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -105611,15 +107191,10 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, cloneExperimentByAdmin_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, terminateExperiment_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.ire != null) {
oprot.writeFieldBegin(IRE_FIELD_DESC);
struct.ire.write(oprot);
@@ -105645,54 +107220,40 @@ public class Airavata {
struct.ae.write(oprot);
oprot.writeFieldEnd();
}
- if (struct.pnfe != null) {
- oprot.writeFieldBegin(PNFE_FIELD_DESC);
- struct.pnfe.write(oprot);
- oprot.writeFieldEnd();
- }
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
- private static class cloneExperimentByAdmin_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public cloneExperimentByAdmin_resultTupleScheme getScheme() {
- return new cloneExperimentByAdmin_resultTupleScheme();
+ private static class terminateExperiment_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public terminateExperiment_resultTupleScheme getScheme() {
+ return new terminateExperiment_resultTupleScheme();
}
}
- private static class cloneExperimentByAdmin_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<cloneExperimentByAdmin_result> {
+ private static class terminateExperiment_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<terminateExperiment_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, cloneExperimentByAdmin_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, terminateExperiment_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.isSetIre()) {
- optionals.set(1);
+ optionals.set(0);
}
if (struct.isSetEnf()) {
- optionals.set(2);
+ optionals.set(1);
}
if (struct.isSetAce()) {
- optionals.set(3);
+ optionals.set(2);
}
if (struct.isSetAse()) {
- optionals.set(4);
+ optionals.set(3);
}
if (struct.isSetAe()) {
- optionals.set(5);
- }
- if (struct.isSetPnfe()) {
- optionals.set(6);
- }
- oprot.writeBitSet(optionals, 7);
- if (struct.isSetSuccess()) {
- oprot.writeString(struct.success);
+ optionals.set(4);
}
+ oprot.writeBitSet(optionals, 5);
if (struct.isSetIre()) {
struct.ire.write(oprot);
}
@@ -105708,49 +107269,37 @@ public class Airavata {
if (struct.isSetAe()) {
struct.ae.write(oprot);
}
- if (struct.isSetPnfe()) {
- struct.pnfe.write(oprot);
- }
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, cloneExperimentByAdmin_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, terminateExperiment_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(7);
+ java.util.BitSet incoming = iprot.readBitSet(5);
if (incoming.get(0)) {
- struct.success = iprot.readString();
- struct.setSuccessIsSet(true);
- }
- if (incoming.get(1)) {
struct.ire = new org.apache.airavata.model.error.InvalidRequestException();
struct.ire.read(iprot);
struct.setIreIsSet(true);
}
- if (incoming.get(2)) {
+ if (incoming.get(1)) {
struct.enf = new org.apache.airavata.model.error.ExperimentNotFoundException();
struct.enf.read(iprot);
struct.setEnfIsSet(true);
}
- if (incoming.get(3)) {
+ if (incoming.get(2)) {
struct.ace = new org.apache.airavata.model.error.AiravataClientException();
struct.ace.read(iprot);
struct.setAceIsSet(true);
}
- if (incoming.get(4)) {
+ if (incoming.get(3)) {
struct.ase = new org.apache.airavata.model.error.AiravataSystemException();
struct.ase.read(iprot);
struct.setAseIsSet(true);
}
- if (incoming.get(5)) {
+ if (incoming.get(4)) {
struct.ae = new org.apache.airavata.model.error.AuthorizationException();
struct.ae.read(iprot);
struct.setAeIsSet(true);
}
- if (incoming.get(6)) {
- struct.pnfe = new org.apache.airavata.model.error.ProjectNotFoundException();
- struct.pnfe.read(iprot);
- struct.setPnfeIsSet(true);
- }
}
}
@@ -105759,25 +107308,25 @@ public class Airavata {
}
}
- public static class terminateExperiment_args implements org.apache.thrift.TBase<terminateExperiment_args, terminateExperiment_args._Fields>, java.io.Serializable, Cloneable, Comparable<terminateExperiment_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("terminateExperiment_args");
+ public static class registerApplicationModule_args implements org.apache.thrift.TBase<registerApplicationModule_args, registerApplicationModule_args._Fields>, java.io.Serializable, Cloneable, Comparable<registerApplicationModule_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("registerApplicationModule_args");
private static final org.apache.thrift.protocol.TField AUTHZ_TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField("authzToken", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.protocol.TField AIRAVATA_EXPERIMENT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("airavataExperimentId", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.protocol.TField GATEWAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("gatewayId", org.apache.thrift.protocol.TType.STRING, (short)3);
+ private static final org.apache.thrift.protocol.TField GATEWAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("gatewayId", org.apache.thrift.protocol.TType.STRING, (short)2);
+ private static final org.apache.thrift.protocol.TField APPLICATION_MODULE_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationModule", org.apache.thrift.protocol.TType.STRUCT, (short)3);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new terminateExperiment_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new terminateExperiment_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new registerApplicationModule_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new registerApplicationModule_argsTupleSchemeFactory();
public org.apache.airavata.model.security.AuthzToken authzToken; // required
- public java.lang.String airavataExperimentId; // required
public java.lang.String gatewayId; // required
+ public org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule applicationModule; // 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 {
AUTHZ_TOKEN((short)1, "authzToken"),
- AIRAVATA_EXPERIMENT_ID((short)2, "airavataExperimentId"),
- GATEWAY_ID((short)3, "gatewayId");
+ GATEWAY_ID((short)2, "gatewayId"),
+ APPLICATION_MODULE((short)3, "applicationModule");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -105794,10 +107343,10 @@ public class Airavata {
switch(fieldId) {
case 1: // AUTHZ_TOKEN
return AUTHZ_TOKEN;
- case 2: // AIRAVATA_EXPERIMENT_ID
- return AIRAVATA_EXPERIMENT_ID;
- case 3: // GATEWAY_ID
+ case 2: // GATEWAY_ID
return GATEWAY_ID;
+ case 3: // APPLICATION_MODULE
+ return APPLICATION_MODULE;
default:
return null;
}
@@ -105843,59 +107392,59 @@ public class Airavata {
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.AUTHZ_TOKEN, new org.apache.thrift.meta_data.FieldMetaData("authzToken", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.security.AuthzToken.class)));
- tmpMap.put(_Fields.AIRAVATA_EXPERIMENT_ID, new org.apache.thrift.meta_data.FieldMetaData("airavataExperimentId", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
- tmpMap.put(_Fields.GATEWAY_ID, new org.apache.thrift.meta_data.FieldMetaData("gatewayId", org.apache.thrift.TFieldRequirementType.DEFAULT,
+ tmpMap.put(_Fields.GATEWAY_ID, new org.apache.thrift.meta_data.FieldMetaData("gatewayId", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+ tmpMap.put(_Fields.APPLICATION_MODULE, new org.apache.thrift.meta_data.FieldMetaData("applicationModule", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(terminateExperiment_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(registerApplicationModule_args.class, metaDataMap);
}
- public terminateExperiment_args() {
+ public registerApplicationModule_args() {
}
- public terminateExperiment_args(
+ public registerApplicationModule_args(
org.apache.airavata.model.security.AuthzToken authzToken,
- java.lang.String airavataExperimentId,
- java.lang.String gatewayId)
+ java.lang.String gatewayId,
+ org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule applicationModule)
{
this();
this.authzToken = authzToken;
- this.airavataExperimentId = airavataExperimentId;
this.gatewayId = gatewayId;
+ this.applicationModule = applicationModule;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public terminateExperiment_args(terminateExperiment_args other) {
+ public registerApplicationModule_args(registerApplicationModule_args other) {
if (other.isSetAuthzToken()) {
this.authzToken = new org.apache.airavata.model.security.AuthzToken(other.authzToken);
}
- if (other.isSetAiravataExperimentId()) {
- this.airavataExperimentId = other.airavataExperimentId;
- }
if (other.isSetGatewayId()) {
this.gatewayId = other.gatewayId;
}
+ if (other.isSetApplicationModule()) {
+ this.applicationModule = new org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule(other.applicationModule);
+ }
}
- public terminateExperiment_args deepCopy() {
- return new terminateExperiment_args(this);
+ public registerApplicationModule_args deepCopy() {
+ return new registerApplicationModule_args(this);
}
@Override
public void clear() {
this.authzToken = null;
- this.airavataExperimentId = null;
this.gatewayId = null;
+ this.applicationModule = null;
}
public org.apache.airavata.model.security.AuthzToken getAuthzToken() {
return this.authzToken;
}
- public terminateExperiment_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
+ public registerApplicationModule_args setAuthzToken(org.apache.airavata.model.security.AuthzToken authzToken) {
this.authzToken = authzToken;
return this;
}
@@ -105915,51 +107464,51 @@ public class Airavata {
}
}
- public java.lang.String getAiravataExperimentId() {
- return this.airavataExperimentId;
+ public java.lang.String getGatewayId() {
+ return this.gatewayId;
}
- public terminateExperiment_args setAiravataExperimentId(java.lang.String airavataExperimentId) {
- this.airavataExperimentId = airavataExperimentId;
+ public registerApplicationModule_args setGatewayId(java.lang.String gatewayId) {
+ this.gatewayId = gatewayId;
return this;
}
- public void unsetAiravataExperimentId() {
- this.airavataExperimentId = null;
+ public void unsetGatewayId() {
+ this.gatewayId = null;
}
- /** Returns true if field airavataExperimentId is set (has been assigned a value) and false otherwise */
- public boolean isSetAiravataExperimentId() {
- return this.airavataExperimentId != null;
+ /** Returns true if field gatewayId is set (has been assigned a value) and false otherwise */
+ public boolean isSetGatewayId() {
+ return this.gatewayId != null;
}
- public void setAiravataExperimentIdIsSet(boolean value) {
+ public void setGatewayIdIsSet(boolean value) {
if (!value) {
- this.airavataExperimentId = null;
+ this.gatewayId = null;
}
}
- public java.lang.String getGatewayId() {
- return this.gatewayId;
+ public org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule getApplicationModule() {
+ return this.applicationModule;
}
- public terminateExperiment_args setGatewayId(java.lang.String gatewayId) {
- this.gatewayId = gatewayId;
+ public registerApplicationModule_args setApplicationModule(org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule applicationModule) {
+ this.applicationModule = applicationModule;
return this;
}
- public void unsetGatewayId() {
- this.gatewayId = null;
+ public void unsetApplicationModule() {
+ this.applicationModule = null;
}
- /** Returns true if field gatewayId is set (has been assigned a value) and false otherwise */
- public boolean isSetGatewayId() {
- return this.gatewayId != null;
+ /** Returns true if field applicationModule is set (has been assigned a value) and false otherwise */
+ public boolean isSetApplicationModule() {
+ return this.applicationModule != null;
}
- public void setGatewayIdIsSet(boolean value) {
+ public void setApplicationModuleIsSet(boolean value) {
if (!value) {
- this.gatewayId = null;
+ this.applicationModule = null;
}
}
@@ -105973,19 +107522,19 @@ public class Airavata {
}
break;
- case AIRAVATA_EXPERIMENT_ID:
+ case GATEWAY_ID:
if (value == null) {
- unsetAiravataExperimentId();
+ unsetGatewayId();
} else {
- setAiravataExperimentId((java.lang.String)value);
+ setGatewayId((java.lang.String)value);
}
break;
- case GATEWAY_ID:
+ case APPLICATION_MODULE:
if (value == null) {
- unsetGatewayId();
+ unsetApplicationModule();
} else {
- setGatewayId((java.lang.String)value);
+ setApplicationModule((org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule)value);
}
break;
@@ -105997,12 +107546,12 @@ public class Airavata {
case AUTHZ_TOKEN:
return getAuthzToken();
- case AIRAVATA_EXPERIMENT_ID:
- return getAiravataExperimentId();
-
case GATEWAY_ID:
return getGatewayId();
+ case APPLICATION_MODULE:
+ return getApplicationModule();
+
}
throw new java.lang.IllegalStateException();
}
@@ -106016,10 +107565,10 @@ public class Airavata {
switch (field) {
case AUTHZ_TOKEN:
return isSetAuthzToken();
- case AIRAVATA_EXPERIMENT_ID:
- return isSetAiravataExperimentId();
case GATEWAY_ID:
return isSetGatewayId();
+ case APPLICATION_MODULE:
+ return isSetApplicationModule();
}
throw new java.lang.IllegalStateException();
}
@@ -106028,12 +107577,12 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof terminateExperiment_args)
- return this.equals((terminateExperiment_args)that);
+ if (that instanceof registerApplicationModule_args)
+ return this.equals((registerApplicationModule_args)that);
return false;
}
- public boolean equals(terminateExperiment_args that) {
+ public boolean equals(registerApplicationModule_args that) {
if (that == null)
return false;
if (this == that)
@@ -106048,15 +107597,6 @@ public class Airavata {
return false;
}
- boolean this_present_airavataExperimentId = true && this.isSetAiravataExperimentId();
- boolean that_present_airavataExperimentId = true && that.isSetAiravataExperimentId();
- if (this_present_airavataExperimentId || that_present_airavataExperimentId) {
- if (!(this_present_airavataExperimentId && that_present_airavataExperimentId))
- return false;
- if (!this.airavataExperimentId.equals(that.airavataExperimentId))
- return false;
- }
-
boolean this_present_gatewayId = true && this.isSetGatewayId();
boolean that_present_gatewayId = true && that.isSetGatewayId();
if (this_present_gatewayId || that_present_gatewayId) {
@@ -106066,6 +107606,15 @@ public class Airavata {
return false;
}
+ boolean this_present_applicationModule = true && this.isSetApplicationModule();
+ boolean that_present_applicationModule = true && that.isSetApplicationModule();
+ if (this_present_applicationModule || that_present_applicationModule) {
+ if (!(this_present_applicationModule && that_present_applicationModule))
+ return false;
+ if (!this.applicationModule.equals(that.applicationModule))
+ return false;
+ }
+
return true;
}
@@ -106077,19 +107626,19 @@ public class Airavata {
if (isSetAuthzToken())
hashCode = hashCode * 8191 + authzToken.hashCode();
- hashCode = hashCode * 8191 + ((isSetAiravataExperimentId()) ? 131071 : 524287);
- if (isSetAiravataExperimentId())
- hashCode = hashCode * 8191 + airavataExperimentId.hashCode();
-
hashCode = hashCode * 8191 + ((isSetGatewayId()) ? 131071 : 524287);
if (isSetGatewayId())
hashCode = hashCode * 8191 + gatewayId.hashCode();
+ hashCode = hashCode * 8191 + ((isSetApplicationModule()) ? 131071 : 524287);
+ if (isSetApplicationModule())
+ hashCode = hashCode * 8191 + applicationModule.hashCode();
+
return hashCode;
}
@Override
- public int compareTo(terminateExperiment_args other) {
+ public int compareTo(registerApplicationModule_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -106106,22 +107655,22 @@ public class Airavata {
return lastComparison;
}
}
- lastComparison = java.lang.Boolean.valueOf(isSetAiravataExperimentId()).compareTo(other.isSetAiravataExperimentId());
+ lastComparison = java.lang.Boolean.valueOf(isSetGatewayId()).compareTo(other.isSetGatewayId());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetAiravataExperimentId()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.airavataExperimentId, other.airavataExperimentId);
+ if (isSetGatewayId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.gatewayId, other.gatewayId);
if (lastComparison != 0) {
return lastComparison;
}
}
- lastComparison = java.lang.Boolean.valueOf(isSetGatewayId()).compareTo(other.isSetGatewayId());
+ lastComparison = java.lang.Boolean.valueOf(isSetApplicationModule()).compareTo(other.isSetApplicationModule());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetGatewayId()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.gatewayId, other.gatewayId);
+ if (isSetApplicationModule()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationModule, other.applicationModule);
if (lastComparison != 0) {
return lastComparison;
}
@@ -106143,7 +107692,7 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("terminateExperiment_args(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("registerApplicationModule_args(");
boolean first = true;
sb.append("authzToken:");
@@ -106154,19 +107703,19 @@ public class Airavata {
}
first = false;
if (!first) sb.append(", ");
- sb.append("airavataExperimentId:");
- if (this.airavataExperimentId == null) {
+ sb.append("gatewayId:");
+ if (this.gatewayId == null) {
sb.append("null");
} else {
- sb.append(this.airavataExperimentId);
+ sb.append(this.gatewayId);
}
first = false;
if (!first) sb.append(", ");
- sb.append("gatewayId:");
- if (this.gatewayId == null) {
+ sb.append("applicationModule:");
+ if (this.applicationModule == null) {
sb.append("null");
} else {
- sb.append(this.gatewayId);
+ sb.append(this.applicationModule);
}
first = false;
sb.append(")");
@@ -106178,10 +107727,19 @@ public class Airavata {
if (authzToken == null) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'authzToken' was not present! Struct: " + toString());
}
+ if (gatewayId == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'gatewayId' was not present! Struct: " + toString());
+ }
+ if (applicationModule == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'applicationModule' was not present! Struct: " + toString());
+ }
// check for sub-struct validity
if (authzToken != null) {
authzToken.validate();
}
+ if (applicationModule != null) {
+ applicationModule.validate();
+ }
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -106200,15 +107758,15 @@ public class Airavata {
}
}
- private static class terminateExperiment_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public terminateExperiment_argsStandardScheme getScheme() {
- return new terminateExperiment_argsStandardScheme();
+ private static class registerApplicationModule_argsStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public registerApplicationModule_argsStandardScheme getScheme() {
+ return new registerApplicationModule_argsStandardScheme();
}
}
- private static class terminateExperiment_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<terminateExperiment_args> {
+ private static class registerApplicationModule_argsStandardScheme extends org.apache.thrift.scheme.StandardScheme<registerApplicationModule_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, terminateExperiment_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, registerApplicationModule_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -106227,18 +107785,19 @@ public class Airavata {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 2: // AIRAVATA_EXPERIMENT_ID
+ case 2: // GATEWAY_ID
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.airavataExperimentId = iprot.readString();
- struct.setAiravataExperimentIdIsSet(true);
+ struct.gatewayId = iprot.readString();
+ struct.setGatewayIdIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 3: // GATEWAY_ID
- if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.gatewayId = iprot.readString();
- struct.setGatewayIdIsSet(true);
+ case 3: // APPLICATION_MODULE
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
+ struct.applicationModule = new org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule();
+ struct.applicationModule.read(iprot);
+ struct.setApplicationModuleIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -106254,7 +107813,7 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, terminateExperiment_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, registerApplicationModule_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -106263,65 +107822,49 @@ public class Airavata {
struct.authzToken.write(oprot);
oprot.writeFieldEnd();
}
- if (struct.airavataExperimentId != null) {
- oprot.writeFieldBegin(AIRAVATA_EXPERIMENT_ID_FIELD_DESC);
- oprot.writeString(struct.airavataExperimentId);
- oprot.writeFieldEnd();
- }
if (struct.gatewayId != null) {
oprot.writeFieldBegin(GATEWAY_ID_FIELD_DESC);
oprot.writeString(struct.gatewayId);
oprot.writeFieldEnd();
}
+ if (struct.applicationModule != null) {
+ oprot.writeFieldBegin(APPLICATION_MODULE_FIELD_DESC);
+ struct.applicationModule.write(oprot);
+ oprot.writeFieldEnd();
+ }
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
- private static class terminateExperiment_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public terminateExperiment_argsTupleScheme getScheme() {
- return new terminateExperiment_argsTupleScheme();
+ private static class registerApplicationModule_argsTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public registerApplicationModule_argsTupleScheme getScheme() {
+ return new registerApplicationModule_argsTupleScheme();
}
}
- private static class terminateExperiment_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<terminateExperiment_args> {
+ private static class registerApplicationModule_argsTupleScheme extends org.apache.thrift.scheme.TupleScheme<registerApplicationModule_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, terminateExperiment_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, registerApplicationModule_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken.write(oprot);
- java.util.BitSet optionals = new java.util.BitSet();
- if (struct.isSetAiravataExperimentId()) {
- optionals.set(0);
- }
- if (struct.isSetGatewayId()) {
- optionals.set(1);
- }
- oprot.writeBitSet(optionals, 2);
- if (struct.isSetAiravataExperimentId()) {
- oprot.writeString(struct.airavataExperimentId);
- }
- if (struct.isSetGatewayId()) {
- oprot.writeString(struct.gatewayId);
- }
+ oprot.writeString(struct.gatewayId);
+ struct.applicationModule.write(oprot);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, terminateExperiment_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, registerApplicationModule_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.authzToken = new org.apache.airavata.model.security.AuthzToken();
struct.authzToken.read(iprot);
struct.setAuthzTokenIsSet(true);
- java.util.BitSet incoming = iprot.readBitSet(2);
- if (incoming.get(0)) {
- struct.airavataExperimentId = iprot.readString();
- struct.setAiravataExperimentIdIsSet(true);
- }
- if (incoming.get(1)) {
- struct.gatewayId = iprot.readString();
- struct.setGatewayIdIsSet(true);
- }
+ struct.gatewayId = iprot.readString();
+ struct.setGatewayIdIsSet(true);
+ struct.applicationModule = new org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule();
+ struct.applicationModule.read(iprot);
+ struct.setApplicationModuleIsSet(true);
}
}
@@ -106330,31 +107873,31 @@ public class Airavata {
}
}
- public static class terminateExperiment_result implements org.apache.thrift.TBase<terminateExperiment_result, terminateExperiment_result._Fields>, java.io.Serializable, Cloneable, Comparable<terminateExperiment_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("terminateExperiment_result");
+ public static class registerApplicationModule_result implements org.apache.thrift.TBase<registerApplicationModule_result, registerApplicationModule_result._Fields>, java.io.Serializable, Cloneable, Comparable<registerApplicationModule_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("registerApplicationModule_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 IRE_FIELD_DESC = new org.apache.thrift.protocol.TField("ire", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.protocol.TField ENF_FIELD_DESC = new org.apache.thrift.protocol.TField("enf", org.apache.thrift.protocol.TType.STRUCT, (short)2);
- private static final org.apache.thrift.protocol.TField ACE_FIELD_DESC = new org.apache.thrift.protocol.TField("ace", org.apache.thrift.protocol.TType.STRUCT, (short)3);
- private static final org.apache.thrift.protocol.TField ASE_FIELD_DESC = new org.apache.thrift.protocol.TField("ase", org.apache.thrift.protocol.TType.STRUCT, (short)4);
- private static final org.apache.thrift.protocol.TField AE_FIELD_DESC = new org.apache.thrift.protocol.TField("ae", org.apache.thrift.protocol.TType.STRUCT, (short)5);
+ private static final org.apache.thrift.protocol.TField ACE_FIELD_DESC = new org.apache.thrift.protocol.TField("ace", org.apache.thrift.protocol.TType.STRUCT, (short)2);
+ private static final org.apache.thrift.protocol.TField ASE_FIELD_DESC = new org.apache.thrift.protocol.TField("ase", org.apache.thrift.protocol.TType.STRUCT, (short)3);
+ private static final org.apache.thrift.protocol.TField AE_FIELD_DESC = new org.apache.thrift.protocol.TField("ae", org.apache.thrift.protocol.TType.STRUCT, (short)4);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new terminateExperiment_resultStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new terminateExperiment_resultTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new registerApplicationModule_resultStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new registerApplicationModule_resultTupleSchemeFactory();
+ public java.lang.String success; // required
public org.apache.airavata.model.error.InvalidRequestException ire; // required
- public org.apache.airavata.model.error.ExperimentNotFoundException enf; // required
public org.apache.airavata.model.error.AiravataClientException ace; // required
public org.apache.airavata.model.error.AiravataSystemException ase; // required
public org.apache.airavata.model.error.AuthorizationException ae; // 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"),
IRE((short)1, "ire"),
- ENF((short)2, "enf"),
- ACE((short)3, "ace"),
- ASE((short)4, "ase"),
- AE((short)5, "ae");
+ ACE((short)2, "ace"),
+ ASE((short)3, "ase"),
+ AE((short)4, "ae");
private static final java.util.Map<java.lang.String, _Fields> byName = new java.util.HashMap<java.lang.String, _Fields>();
@@ -106369,15 +107912,15 @@ public class Airavata {
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
+ case 0: // SUCCESS
+ return SUCCESS;
case 1: // IRE
return IRE;
- case 2: // ENF
- return ENF;
- case 3: // ACE
+ case 2: // ACE
return ACE;
- case 4: // ASE
+ case 3: // ASE
return ASE;
- case 5: // AE
+ case 4: // AE
return AE;
default:
return null;
@@ -106422,10 +107965,10 @@ public class Airavata {
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.IRE, new org.apache.thrift.meta_data.FieldMetaData("ire", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.InvalidRequestException.class)));
- tmpMap.put(_Fields.ENF, new org.apache.thrift.meta_data.FieldMetaData("enf", org.apache.thrift.TFieldRequirementType.DEFAULT,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.ExperimentNotFoundException.class)));
tmpMap.put(_Fields.ACE, new org.apache.thrift.meta_data.FieldMetaData("ace", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AiravataClientException.class)));
tmpMap.put(_Fields.ASE, new org.apache.thrift.meta_data.FieldMetaData("ase", org.apache.thrift.TFieldRequirementType.DEFAULT,
@@ -106433,22 +107976,22 @@ public class Airavata {
tmpMap.put(_Fields.AE, new org.apache.thrift.meta_data.FieldMetaData("ae", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.error.AuthorizationException.class)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(terminateExperiment_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(registerApplicationModule_result.class, metaDataMap);
}
- public terminateExperiment_result() {
+ public registerApplicationModule_result() {
}
- public terminateExperiment_result(
+ public registerApplicationModule_result(
+ java.lang.String success,
org.apache.airavata.model.error.InvalidRequestException ire,
- org.apache.airavata.model.error.ExperimentNotFoundException enf,
org.apache.airavata.model.error.AiravataClientException ace,
org.apache.airavata.model.error.AiravataSystemException ase,
org.apache.airavata.model.error.AuthorizationException ae)
{
this();
+ this.success = success;
this.ire = ire;
- this.enf = enf;
this.ace = ace;
this.ase = ase;
this.ae = ae;
@@ -106457,13 +108000,13 @@ public class Airavata {
/**
* Performs a deep copy on <i>other</i>.
*/
- public terminateExperiment_result(terminateExperiment_result other) {
+ public registerApplicationModule_result(registerApplicationModule_result other) {
+ if (other.isSetSuccess()) {
+ this.success = other.success;
+ }
if (other.isSetIre()) {
this.ire = new org.apache.airavata.model.error.InvalidRequestException(other.ire);
}
- if (other.isSetEnf()) {
- this.enf = new org.apache.airavata.model.error.ExperimentNotFoundException(other.enf);
- }
if (other.isSetAce()) {
this.ace = new org.apache.airavata.model.error.AiravataClientException(other.ace);
}
@@ -106475,64 +108018,64 @@ public class Airavata {
}
}
- public terminateExperiment_result deepCopy() {
- return new terminateExperiment_result(this);
+ public registerApplicationModule_result deepCopy() {
+ return new registerApplicationModule_result(this);
}
@Override
public void clear() {
+ this.success = null;
this.ire = null;
- this.enf = null;
this.ace = null;
this.ase = null;
this.ae = null;
}
- public org.apache.airavata.model.error.InvalidRequestException getIre() {
- return this.ire;
+ public java.lang.String getSuccess() {
+ return this.success;
}
- public terminateExperiment_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
- this.ire = ire;
+ public registerApplicationModule_result setSuccess(java.lang.String success) {
+ this.success = success;
return this;
}
- public void unsetIre() {
- this.ire = null;
+ public void unsetSuccess() {
+ this.success = null;
}
- /** Returns true if field ire is set (has been assigned a value) and false otherwise */
- public boolean isSetIre() {
- return this.ire != 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 setIreIsSet(boolean value) {
+ public void setSuccessIsSet(boolean value) {
if (!value) {
- this.ire = null;
+ this.success = null;
}
}
- public org.apache.airavata.model.error.ExperimentNotFoundException getEnf() {
- return this.enf;
+ public org.apache.airavata.model.error.InvalidRequestException getIre() {
+ return this.ire;
}
- public terminateExperiment_result setEnf(org.apache.airavata.model.error.ExperimentNotFoundException enf) {
- this.enf = enf;
+ public registerApplicationModule_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
+ this.ire = ire;
return this;
}
- public void unsetEnf() {
- this.enf = null;
+ public void unsetIre() {
+ this.ire = null;
}
- /** Returns true if field enf is set (has been assigned a value) and false otherwise */
- public boolean isSetEnf() {
- return this.enf != null;
+ /** Returns true if field ire is set (has been assigned a value) and false otherwise */
+ public boolean isSetIre() {
+ return this.ire != null;
}
- public void setEnfIsSet(boolean value) {
+ public void setIreIsSet(boolean value) {
if (!value) {
- this.enf = null;
+ this.ire = null;
}
}
@@ -106540,7 +108083,7 @@ public class Airavata {
return this.ace;
}
- public terminateExperiment_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
+ public registerApplicationModule_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
this.ace = ace;
return this;
}
@@ -106564,7 +108107,7 @@ public class Airavata {
return this.ase;
}
- public terminateExperiment_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
+ public registerApplicationModule_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
this.ase = ase;
return this;
}
@@ -106588,7 +108131,7 @@ public class Airavata {
return this.ae;
}
- public terminateExperiment_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
+ public registerApplicationModule_result setAe(org.apache.airavata.model.error.AuthorizationException ae) {
this.ae = ae;
return this;
}
@@ -106610,19 +108153,19 @@ public class Airavata {
public void setFieldValue(_Fields field, java.lang.Object value) {
switch (field) {
- case IRE:
+ case SUCCESS:
if (value == null) {
- unsetIre();
+ unsetSuccess();
} else {
- setIre((org.apache.airavata.model.error.InvalidRequestException)value);
+ setSuccess((java.lang.String)value);
}
break;
- case ENF:
+ case IRE:
if (value == null) {
- unsetEnf();
+ unsetIre();
} else {
- setEnf((org.apache.airavata.model.error.ExperimentNotFoundException)value);
+ setIre((org.apache.airavata.model.error.InvalidRequestException)value);
}
break;
@@ -106655,12 +108198,12 @@ public class Airavata {
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
+ case SUCCESS:
+ return getSuccess();
+
case IRE:
return getIre();
- case ENF:
- return getEnf();
-
case ACE:
return getAce();
@@ -106681,10 +108224,10 @@ public class Airavata {
}
switch (field) {
+ case SUCCESS:
+ return isSetSuccess();
case IRE:
return isSetIre();
- case ENF:
- return isSetEnf();
case ACE:
return isSetAce();
case ASE:
@@ -106699,17 +108242,26 @@ public class Airavata {
public boolean equals(java.lang.Object that) {
if (that == null)
return false;
- if (that instanceof terminateExperiment_result)
- return this.equals((terminateExperiment_result)that);
+ if (that instanceof registerApplicationModule_result)
+ return this.equals((registerApplicationModule_result)that);
return false;
}
- public boolean equals(terminateExperiment_result that) {
+ public boolean equals(registerApplicationModule_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_ire = true && this.isSetIre();
boolean that_present_ire = true && that.isSetIre();
if (this_present_ire || that_present_ire) {
@@ -106719,15 +108271,6 @@ public class Airavata {
return false;
}
- boolean this_present_enf = true && this.isSetEnf();
- boolean that_present_enf = true && that.isSetEnf();
- if (this_present_enf || that_present_enf) {
- if (!(this_present_enf && that_present_enf))
- return false;
- if (!this.enf.equals(that.enf))
- return false;
- }
-
boolean this_present_ace = true && this.isSetAce();
boolean that_present_ace = true && that.isSetAce();
if (this_present_ace || that_present_ace) {
@@ -106762,14 +108305,14 @@ public class Airavata {
public int hashCode() {
int hashCode = 1;
+ hashCode = hashCode * 8191 + ((isSetSuccess()) ? 131071 : 524287);
+ if (isSetSuccess())
+ hashCode = hashCode * 8191 + success.hashCode();
+
hashCode = hashCode * 8191 + ((isSetIre()) ? 131071 : 524287);
if (isSetIre())
hashCode = hashCode * 8191 + ire.hashCode();
- hashCode = hashCode * 8191 + ((isSetEnf()) ? 131071 : 524287);
- if (isSetEnf())
- hashCode = hashCode * 8191 + enf.hashCode();
-
hashCode = hashCode * 8191 + ((isSetAce()) ? 131071 : 524287);
if (isSetAce())
hashCode = hashCode * 8191 + ace.hashCode();
@@ -106786,29 +108329,29 @@ public class Airavata {
}
@Override
- public int compareTo(terminateExperiment_result other) {
+ public int compareTo(registerApplicationModule_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
- lastComparison = java.lang.Boolean.valueOf(isSetIre()).compareTo(other.isSetIre());
+ lastComparison = java.lang.Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetIre()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ire, other.ire);
+ if (isSetSuccess()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success);
if (lastComparison != 0) {
return lastComparison;
}
}
- lastComparison = java.lang.Boolean.valueOf(isSetEnf()).compareTo(other.isSetEnf());
+ lastComparison = java.lang.Boolean.valueOf(isSetIre()).compareTo(other.isSetIre());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetEnf()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.enf, other.enf);
+ if (isSetIre()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ire, other.ire);
if (lastComparison != 0) {
return lastComparison;
}
@@ -106860,22 +108403,22 @@ public class Airavata {
@Override
public java.lang.String toString() {
- java.lang.StringBuilder sb = new java.lang.StringBuilder("terminateExperiment_result(");
+ java.lang.StringBuilder sb = new java.lang.StringBuilder("registerApplicationModule_result(");
boolean first = true;
- sb.append("ire:");
- if (this.ire == null) {
+ sb.append("success:");
+ if (this.success == null) {
sb.append("null");
} else {
- sb.append(this.ire);
+ sb.append(this.success);
}
first = false;
if (!first) sb.append(", ");
- sb.append("enf:");
- if (this.enf == null) {
+ sb.append("ire:");
+ if (this.ire == null) {
sb.append("null");
} else {
- sb.append(this.enf);
+ sb.append(this.ire);
}
first = false;
if (!first) sb.append(", ");
@@ -106927,15 +108470,15 @@ public class Airavata {
}
}
- private static class terminateExperiment_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public terminateExperiment_resultStandardScheme getScheme() {
- return new terminateExperiment_resultStandardScheme();
+ private static class registerApplicationModule_resultStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public registerApplicationModule_resultStandardScheme getScheme() {
+ return new registerApplicationModule_resultStandardScheme();
}
}
- private static class terminateExperiment_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<terminateExperiment_result> {
+ private static class registerApplicationModule_resultStandardScheme extends org.apache.thrift.scheme.StandardScheme<registerApplicationModule_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, terminateExperiment_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, registerApplicationModule_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -106945,25 +108488,24 @@ public class Airavata {
break;
}
switch (schemeField.id) {
- case 1: // IRE
- if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.ire = new org.apache.airavata.model.error.InvalidRequestException();
- struct.ire.read(iprot);
- struct.setIreIsSet(true);
+ 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 2: // ENF
+ case 1: // IRE
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.enf = new org.apache.airavata.model.error.ExperimentNotFoundException();
- struct.enf.read(iprot);
- struct.setEnfIsSet(true);
+ struct.ire = new org.apache.airavata.model.error.InvalidRequestException();
+ struct.ire.read(iprot);
+ struct.setIreIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 3: // ACE
+ case 2: // ACE
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.ace = new org.apache.airavata.model.error.AiravataClientException();
struct.ace.read(iprot);
@@ -106972,7 +108514,7 @@ public class Airavata {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 4: // ASE
+ case 3: // ASE
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.ase = new org.apache.airavata.model.error.AiravataSystemException();
struct.ase.read(iprot);
@@ -106981,7 +108523,7 @@ public class Airavata {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
- case 5: // AE
+ case 4: // AE
if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
struct.ae = new org.apache.airavata.model.error.AuthorizationException();
struct.ae.read(iprot);
@@ -107001,20 +108543,20 @@ public class Airavata {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, terminateExperiment_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, registerApplicationModule_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.ire != null) {
oprot.writeFieldBegin(IRE_FIELD_DESC);
struct.ire.write(oprot);
oprot.writeFieldEnd();
}
- if (struct.enf != null) {
- oprot.writeFieldBegin(ENF_FIELD_DESC);
- struct.enf.write(oprot);
- oprot.writeFieldEnd();
- }
if (struct.ace != null) {
oprot.writeFieldBegin(ACE_FIELD_DESC);
struct.ace.write(oprot);
@@ -107036,22 +108578,22 @@ public class Airavata {
}
- private static class terminateExperiment_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
- public terminateExperiment_resultTupleScheme getScheme() {
- return new terminateExperiment_resultTupleScheme();
+ private static class registerApplicationModule_resultTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
+ public registerApplicationModule_resultTupleScheme getScheme() {
+ return new registerApplicationModule_resultTupleScheme();
}
}
- private static class terminateExperiment_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<terminateExperiment_result> {
+ private static class registerApplicationModule_resultTupleScheme extends org.apache.thrift.scheme.TupleScheme<registerApplicationModule_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, terminateExperiment_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, registerApplicationModule_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.isSetIre()) {
+ if (struct.isSetSuccess()) {
optionals.set(0);
}
- if (struct.isSetEnf()) {
+ if (struct.isSetIre()) {
optionals.set(1);
}
if (struct.isSetAce()) {
@@ -107064,12 +108606,12 @@ public class Airavata {
optionals.set(4);
}
oprot.writeBitSet(optionals, 5);
+ if (struct.isSetSuccess()) {
+ oprot.writeString(struct.success);
+ }
if (struct.isSetIre()) {
struct.ire.write(oprot);
}
- if (struct.isSetEnf()) {
- struct.enf.write(oprot);
- }
if (struct.isSetAce()) {
struct.ace.write(oprot);
}
@@ -107082,19 +108624,18 @@ public class Airavata {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, terminateExperiment_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, registerApplicationModule_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(5);
if (incoming.get(0)) {
+ struct.success = iprot.readString();
+ struct.setSuccessIsSet(true);
+ }
+ if (incoming.get(1)) {
struct.ire = new org.apache.airavata.model.error.InvalidRequestException();
struct.ire.read(iprot);
struct.setIreIsSet(true);
}
- if (incoming.get(1)) {
- struct.enf = new org.apache.airavata.model.error.ExperimentNotFoundException();
- struct.enf.read(iprot);
- struct.setEnfIsSet(true);
- }
if (incoming.get(2)) {
struct.ace = new org.apache.airavata.model.error.AiravataClientException();
struct.ace.read(iprot);
@@ -107118,25 +108659,22 @@ public class Airavata {
}
}
- public static class registerApplicationModule_args implements org.apache.thrift.TBase<registerApplicationModule_args, registerApplicationModule_args._Fields>, java.io.Serializable, Cloneable, Comparable<registerApplicationModule_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("registerApplicationModule_args");
+ public static class getApplicationModule_args implements org.apache.thrift.TBase<getApplicationModule_args, getApplicationModule_args._Fields>, java.io.Serializable, Cloneable, Comparable<getApplicationModule_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getApplicationModule_args");
private static final org.apache.thrift.protocol.TField AUTHZ_TOKEN_FIELD_DESC = new org.apache.thrift.protocol.TField("authzToken", org.apache.thrift.protocol.TType.STRUCT, (short)1);
- private static final org.apache.thrift.protocol.TField GATEWAY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("gatewayId", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.protocol.TField APPLICATION_MODULE_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationModule", org.apache.thrift.protocol.TType.STRUCT, (short)3);
+ private static final org.apache.thrift.protocol.TField APP_MODULE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("appModuleId", org.apache.thrift.protocol.TType.STRING, (short)2);
- private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new registerApplicationModule_argsStandardSchemeFactory();
- private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new registerApplicationModule_argsTupleSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new getApplicationModule_argsStandardSchemeFactory();
+ private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new getApplicationModule_argsTupleSchemeFactory();
public org.apache.airavata.model.security.AuthzToken authzToken; // required
- public java.lang.String gatewayId; // required
- public org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule applicationModule; // required
+ public java.lang.String appModuleId; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
... 142466 lines suppressed ...
--
To stop receiving notification emails like this one, please contact
machristie@apache.org.