You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2014/11/13 18:28:16 UTC
[3/4] airavata git commit: Adding getAllApplicationDescriptions
methods and fixing a type in model
http://git-wip-us.apache.org/repos/asf/airavata/blob/e1af2643/airavata-api/airavata-api-stubs/src/main/java/org/apache/airavata/api/Airavata.java
----------------------------------------------------------------------
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 d6f2c44..a3c673f 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
@@ -493,7 +493,7 @@ import org.slf4j.LoggerFactory;
*/
public boolean updateApplicationModule(String appModuleId, org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule applicationModule) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
- public List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> getAllModules() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+ public List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> getAllAppModules() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
/**
* Delete a Application Module.
@@ -570,6 +570,15 @@ import org.slf4j.LoggerFactory;
public boolean deleteApplicationDeployment(String appDeploymentId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
/**
+ * Fetch all Application Deployment Descriptions.
+ *
+ * @return list<applicationDeployment.
+ * Returns the list of all application Deployment Objects.
+ *
+ */
+ public List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> getAllApplicationDeployments() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException;
+
+ /**
* Fetch a list of Deployed Compute Hosts.
*
* @param appModuleId
@@ -1467,7 +1476,7 @@ import org.slf4j.LoggerFactory;
public void updateApplicationModule(String appModuleId, org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule applicationModule, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
- public void getAllModules(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+ public void getAllAppModules(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void deleteApplicationModule(String appModuleId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
@@ -1479,6 +1488,8 @@ import org.slf4j.LoggerFactory;
public void deleteApplicationDeployment(String appDeploymentId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+ public void getAllApplicationDeployments(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
+
public void getAppModuleDeployedResources(String appModuleId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void registerApplicationInterface(org.apache.airavata.model.appcatalog.appinterface.ApplicationInterfaceDescription applicationInterface, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
@@ -2640,22 +2651,22 @@ import org.slf4j.LoggerFactory;
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateApplicationModule failed: unknown result");
}
- public List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> getAllModules() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+ public List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> getAllAppModules() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
{
- send_getAllModules();
- return recv_getAllModules();
+ send_getAllAppModules();
+ return recv_getAllAppModules();
}
- public void send_getAllModules() throws org.apache.thrift.TException
+ public void send_getAllAppModules() throws org.apache.thrift.TException
{
- getAllModules_args args = new getAllModules_args();
- sendBase("getAllModules", args);
+ getAllAppModules_args args = new getAllAppModules_args();
+ sendBase("getAllAppModules", args);
}
- public List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> recv_getAllModules() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+ public List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> recv_getAllAppModules() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
{
- getAllModules_result result = new getAllModules_result();
- receiveBase(result, "getAllModules");
+ getAllAppModules_result result = new getAllAppModules_result();
+ receiveBase(result, "getAllAppModules");
if (result.isSetSuccess()) {
return result.success;
}
@@ -2668,7 +2679,7 @@ import org.slf4j.LoggerFactory;
if (result.ase != null) {
throw result.ase;
}
- throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllModules failed: unknown result");
+ throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllAppModules failed: unknown result");
}
public boolean deleteApplicationModule(String appModuleId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
@@ -2832,6 +2843,37 @@ import org.slf4j.LoggerFactory;
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteApplicationDeployment failed: unknown result");
}
+ public List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> getAllApplicationDeployments() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+ {
+ send_getAllApplicationDeployments();
+ return recv_getAllApplicationDeployments();
+ }
+
+ public void send_getAllApplicationDeployments() throws org.apache.thrift.TException
+ {
+ getAllApplicationDeployments_args args = new getAllApplicationDeployments_args();
+ sendBase("getAllApplicationDeployments", args);
+ }
+
+ public List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> recv_getAllApplicationDeployments() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
+ {
+ getAllApplicationDeployments_result result = new getAllApplicationDeployments_result();
+ receiveBase(result, "getAllApplicationDeployments");
+ 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;
+ }
+ throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllApplicationDeployments failed: unknown result");
+ }
+
public List<String> getAppModuleDeployedResources(String appModuleId) throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException
{
send_getAppModuleDeployedResources(appModuleId);
@@ -5894,21 +5936,21 @@ import org.slf4j.LoggerFactory;
}
}
- public void getAllModules(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
+ public void getAllAppModules(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
- getAllModules_call method_call = new getAllModules_call(resultHandler, this, ___protocolFactory, ___transport);
+ getAllAppModules_call method_call = new getAllAppModules_call(resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
- public static class getAllModules_call extends org.apache.thrift.async.TAsyncMethodCall {
- public getAllModules_call(org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
+ public static class getAllAppModules_call extends org.apache.thrift.async.TAsyncMethodCall {
+ public getAllAppModules_call(org.apache.thrift.async.AsyncMethodCallback 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);
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
- prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllModules", org.apache.thrift.protocol.TMessageType.CALL, 0));
- getAllModules_args args = new getAllModules_args();
+ prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllAppModules", org.apache.thrift.protocol.TMessageType.CALL, 0));
+ getAllAppModules_args args = new getAllAppModules_args();
args.write(prot);
prot.writeMessageEnd();
}
@@ -5919,7 +5961,7 @@ import org.slf4j.LoggerFactory;
}
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_getAllModules();
+ return (new Client(prot)).recv_getAllAppModules();
}
}
@@ -6086,6 +6128,35 @@ import org.slf4j.LoggerFactory;
}
}
+ public void getAllApplicationDeployments(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
+ checkReady();
+ getAllApplicationDeployments_call method_call = new getAllApplicationDeployments_call(resultHandler, this, ___protocolFactory, ___transport);
+ this.___currentMethod = method_call;
+ ___manager.call(method_call);
+ }
+
+ public static class getAllApplicationDeployments_call extends org.apache.thrift.async.TAsyncMethodCall {
+ public getAllApplicationDeployments_call(org.apache.thrift.async.AsyncMethodCallback 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);
+ }
+
+ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
+ prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllApplicationDeployments", org.apache.thrift.protocol.TMessageType.CALL, 0));
+ getAllApplicationDeployments_args args = new getAllApplicationDeployments_args();
+ args.write(prot);
+ prot.writeMessageEnd();
+ }
+
+ public List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> getResult() throws org.apache.airavata.model.error.InvalidRequestException, org.apache.airavata.model.error.AiravataClientException, org.apache.airavata.model.error.AiravataSystemException, org.apache.thrift.TException {
+ if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
+ throw new 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_getAllApplicationDeployments();
+ }
+ }
+
public void getAppModuleDeployedResources(String appModuleId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getAppModuleDeployedResources_call method_call = new getAppModuleDeployedResources_call(appModuleId, resultHandler, this, ___protocolFactory, ___transport);
@@ -8210,12 +8281,13 @@ import org.slf4j.LoggerFactory;
processMap.put("registerApplicationModule", new registerApplicationModule());
processMap.put("getApplicationModule", new getApplicationModule());
processMap.put("updateApplicationModule", new updateApplicationModule());
- processMap.put("getAllModules", new getAllModules());
+ processMap.put("getAllAppModules", new getAllAppModules());
processMap.put("deleteApplicationModule", new deleteApplicationModule());
processMap.put("registerApplicationDeployment", new registerApplicationDeployment());
processMap.put("getApplicationDeployment", new getApplicationDeployment());
processMap.put("updateApplicationDeployment", new updateApplicationDeployment());
processMap.put("deleteApplicationDeployment", new deleteApplicationDeployment());
+ processMap.put("getAllApplicationDeployments", new getAllApplicationDeployments());
processMap.put("getAppModuleDeployedResources", new getAppModuleDeployedResources());
processMap.put("registerApplicationInterface", new registerApplicationInterface());
processMap.put("getApplicationInterface", new getApplicationInterface());
@@ -9165,23 +9237,23 @@ import org.slf4j.LoggerFactory;
}
}
- public static class getAllModules<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllModules_args> {
- public getAllModules() {
- super("getAllModules");
+ public static class getAllAppModules<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllAppModules_args> {
+ public getAllAppModules() {
+ super("getAllAppModules");
}
- public getAllModules_args getEmptyArgsInstance() {
- return new getAllModules_args();
+ public getAllAppModules_args getEmptyArgsInstance() {
+ return new getAllAppModules_args();
}
protected boolean isOneway() {
return false;
}
- public getAllModules_result getResult(I iface, getAllModules_args args) throws org.apache.thrift.TException {
- getAllModules_result result = new getAllModules_result();
+ public getAllAppModules_result getResult(I iface, getAllAppModules_args args) throws org.apache.thrift.TException {
+ getAllAppModules_result result = new getAllAppModules_result();
try {
- result.success = iface.getAllModules();
+ result.success = iface.getAllAppModules();
} catch (org.apache.airavata.model.error.InvalidRequestException ire) {
result.ire = ire;
} catch (org.apache.airavata.model.error.AiravataClientException ace) {
@@ -9336,6 +9408,34 @@ import org.slf4j.LoggerFactory;
}
}
+ public static class getAllApplicationDeployments<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllApplicationDeployments_args> {
+ public getAllApplicationDeployments() {
+ super("getAllApplicationDeployments");
+ }
+
+ public getAllApplicationDeployments_args getEmptyArgsInstance() {
+ return new getAllApplicationDeployments_args();
+ }
+
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public getAllApplicationDeployments_result getResult(I iface, getAllApplicationDeployments_args args) throws org.apache.thrift.TException {
+ getAllApplicationDeployments_result result = new getAllApplicationDeployments_result();
+ try {
+ result.success = iface.getAllApplicationDeployments();
+ } 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;
+ }
+ return result;
+ }
+ }
+
public static class getAppModuleDeployedResources<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAppModuleDeployedResources_args> {
public getAppModuleDeployedResources() {
super("getAppModuleDeployedResources");
@@ -11141,12 +11241,13 @@ import org.slf4j.LoggerFactory;
processMap.put("registerApplicationModule", new registerApplicationModule());
processMap.put("getApplicationModule", new getApplicationModule());
processMap.put("updateApplicationModule", new updateApplicationModule());
- processMap.put("getAllModules", new getAllModules());
+ processMap.put("getAllAppModules", new getAllAppModules());
processMap.put("deleteApplicationModule", new deleteApplicationModule());
processMap.put("registerApplicationDeployment", new registerApplicationDeployment());
processMap.put("getApplicationDeployment", new getApplicationDeployment());
processMap.put("updateApplicationDeployment", new updateApplicationDeployment());
processMap.put("deleteApplicationDeployment", new deleteApplicationDeployment());
+ processMap.put("getAllApplicationDeployments", new getAllApplicationDeployments());
processMap.put("getAppModuleDeployedResources", new getAppModuleDeployedResources());
processMap.put("registerApplicationInterface", new registerApplicationInterface());
processMap.put("getApplicationInterface", new getApplicationInterface());
@@ -13328,20 +13429,20 @@ import org.slf4j.LoggerFactory;
}
}
- public static class getAllModules<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getAllModules_args, List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> {
- public getAllModules() {
- super("getAllModules");
+ public static class getAllAppModules<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getAllAppModules_args, List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> {
+ public getAllAppModules() {
+ super("getAllAppModules");
}
- public getAllModules_args getEmptyArgsInstance() {
- return new getAllModules_args();
+ public getAllAppModules_args getEmptyArgsInstance() {
+ return new getAllAppModules_args();
}
public AsyncMethodCallback<List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
final org.apache.thrift.AsyncProcessFunction fcall = this;
return new AsyncMethodCallback<List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>>() {
public void onComplete(List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> o) {
- getAllModules_result result = new getAllModules_result();
+ getAllAppModules_result result = new getAllAppModules_result();
result.success = o;
try {
fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
@@ -13354,7 +13455,7 @@ import org.slf4j.LoggerFactory;
public void onError(Exception e) {
byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
org.apache.thrift.TBase msg;
- getAllModules_result result = new getAllModules_result();
+ getAllAppModules_result result = new getAllAppModules_result();
if (e instanceof org.apache.airavata.model.error.InvalidRequestException) {
result.ire = (org.apache.airavata.model.error.InvalidRequestException) e;
result.setIreIsSet(true);
@@ -13390,8 +13491,8 @@ import org.slf4j.LoggerFactory;
return false;
}
- public void start(I iface, getAllModules_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> resultHandler) throws TException {
- iface.getAllModules(resultHandler);
+ public void start(I iface, getAllAppModules_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>> resultHandler) throws TException {
+ iface.getAllAppModules(resultHandler);
}
}
@@ -13733,6 +13834,73 @@ import org.slf4j.LoggerFactory;
}
}
+ public static class getAllApplicationDeployments<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getAllApplicationDeployments_args, List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>> {
+ public getAllApplicationDeployments() {
+ super("getAllApplicationDeployments");
+ }
+
+ public getAllApplicationDeployments_args getEmptyArgsInstance() {
+ return new getAllApplicationDeployments_args();
+ }
+
+ public AsyncMethodCallback<List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>> getResultHandler(final AsyncFrameBuffer fb, final int seqid) {
+ final org.apache.thrift.AsyncProcessFunction fcall = this;
+ return new AsyncMethodCallback<List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>>() {
+ public void onComplete(List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> o) {
+ getAllApplicationDeployments_result result = new getAllApplicationDeployments_result();
+ result.success = o;
+ try {
+ fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid);
+ return;
+ } catch (Exception e) {
+ LOGGER.error("Exception writing to internal frame buffer", e);
+ }
+ fb.close();
+ }
+ public void onError(Exception e) {
+ byte msgType = org.apache.thrift.protocol.TMessageType.REPLY;
+ org.apache.thrift.TBase msg;
+ getAllApplicationDeployments_result result = new getAllApplicationDeployments_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
+ {
+ msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION;
+ msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage());
+ }
+ try {
+ fcall.sendResponse(fb,msg,msgType,seqid);
+ return;
+ } catch (Exception ex) {
+ LOGGER.error("Exception writing to internal frame buffer", ex);
+ }
+ fb.close();
+ }
+ };
+ }
+
+ protected boolean isOneway() {
+ return false;
+ }
+
+ public void start(I iface, getAllApplicationDeployments_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>> resultHandler) throws TException {
+ iface.getAllApplicationDeployments(resultHandler);
+ }
+ }
+
public static class getAppModuleDeployedResources<I extends AsyncIface> extends org.apache.thrift.AsyncProcessFunction<I, getAppModuleDeployedResources_args, List<String>> {
public getAppModuleDeployedResources() {
super("getAppModuleDeployedResources");
@@ -51625,14 +51793,14 @@ import org.slf4j.LoggerFactory;
}
- public static class getAllModules_args implements org.apache.thrift.TBase<getAllModules_args, getAllModules_args._Fields>, java.io.Serializable, Cloneable, Comparable<getAllModules_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllModules_args");
+ public static class getAllAppModules_args implements org.apache.thrift.TBase<getAllAppModules_args, getAllAppModules_args._Fields>, java.io.Serializable, Cloneable, Comparable<getAllAppModules_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllAppModules_args");
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new getAllModules_argsStandardSchemeFactory());
- schemes.put(TupleScheme.class, new getAllModules_argsTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new getAllAppModules_argsStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new getAllAppModules_argsTupleSchemeFactory());
}
@@ -51695,20 +51863,20 @@ import org.slf4j.LoggerFactory;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllModules_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllAppModules_args.class, metaDataMap);
}
- public getAllModules_args() {
+ public getAllAppModules_args() {
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public getAllModules_args(getAllModules_args other) {
+ public getAllAppModules_args(getAllAppModules_args other) {
}
- public getAllModules_args deepCopy() {
- return new getAllModules_args(this);
+ public getAllAppModules_args deepCopy() {
+ return new getAllAppModules_args(this);
}
@Override
@@ -51741,12 +51909,12 @@ import org.slf4j.LoggerFactory;
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof getAllModules_args)
- return this.equals((getAllModules_args)that);
+ if (that instanceof getAllAppModules_args)
+ return this.equals((getAllAppModules_args)that);
return false;
}
- public boolean equals(getAllModules_args that) {
+ public boolean equals(getAllAppModules_args that) {
if (that == null)
return false;
@@ -51759,7 +51927,7 @@ import org.slf4j.LoggerFactory;
}
@Override
- public int compareTo(getAllModules_args other) {
+ public int compareTo(getAllAppModules_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -51783,7 +51951,7 @@ import org.slf4j.LoggerFactory;
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("getAllModules_args(");
+ StringBuilder sb = new StringBuilder("getAllAppModules_args(");
boolean first = true;
sb.append(")");
@@ -51811,15 +51979,15 @@ import org.slf4j.LoggerFactory;
}
}
- private static class getAllModules_argsStandardSchemeFactory implements SchemeFactory {
- public getAllModules_argsStandardScheme getScheme() {
- return new getAllModules_argsStandardScheme();
+ private static class getAllAppModules_argsStandardSchemeFactory implements SchemeFactory {
+ public getAllAppModules_argsStandardScheme getScheme() {
+ return new getAllAppModules_argsStandardScheme();
}
}
- private static class getAllModules_argsStandardScheme extends StandardScheme<getAllModules_args> {
+ private static class getAllAppModules_argsStandardScheme extends StandardScheme<getAllAppModules_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getAllModules_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getAllAppModules_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -51840,7 +52008,7 @@ import org.slf4j.LoggerFactory;
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getAllModules_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getAllAppModules_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -51850,29 +52018,29 @@ import org.slf4j.LoggerFactory;
}
- private static class getAllModules_argsTupleSchemeFactory implements SchemeFactory {
- public getAllModules_argsTupleScheme getScheme() {
- return new getAllModules_argsTupleScheme();
+ private static class getAllAppModules_argsTupleSchemeFactory implements SchemeFactory {
+ public getAllAppModules_argsTupleScheme getScheme() {
+ return new getAllAppModules_argsTupleScheme();
}
}
- private static class getAllModules_argsTupleScheme extends TupleScheme<getAllModules_args> {
+ private static class getAllAppModules_argsTupleScheme extends TupleScheme<getAllAppModules_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getAllModules_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getAllAppModules_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getAllModules_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getAllAppModules_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
}
}
}
- public static class getAllModules_result implements org.apache.thrift.TBase<getAllModules_result, getAllModules_result._Fields>, java.io.Serializable, Cloneable, Comparable<getAllModules_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllModules_result");
+ public static class getAllAppModules_result implements org.apache.thrift.TBase<getAllAppModules_result, getAllAppModules_result._Fields>, java.io.Serializable, Cloneable, Comparable<getAllAppModules_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllAppModules_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);
@@ -51881,8 +52049,8 @@ import org.slf4j.LoggerFactory;
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new getAllModules_resultStandardSchemeFactory());
- schemes.put(TupleScheme.class, new getAllModules_resultTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new getAllAppModules_resultStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new getAllAppModules_resultTupleSchemeFactory());
}
public List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> success; // required
@@ -51971,13 +52139,13 @@ import org.slf4j.LoggerFactory;
tmpMap.put(_Fields.ASE, new org.apache.thrift.meta_data.FieldMetaData("ase", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllModules_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllAppModules_result.class, metaDataMap);
}
- public getAllModules_result() {
+ public getAllAppModules_result() {
}
- public getAllModules_result(
+ public getAllAppModules_result(
List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> success,
org.apache.airavata.model.error.InvalidRequestException ire,
org.apache.airavata.model.error.AiravataClientException ace,
@@ -51993,7 +52161,7 @@ import org.slf4j.LoggerFactory;
/**
* Performs a deep copy on <i>other</i>.
*/
- public getAllModules_result(getAllModules_result other) {
+ public getAllAppModules_result(getAllAppModules_result other) {
if (other.isSetSuccess()) {
List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> __this__success = new ArrayList<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule>(other.success.size());
for (org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule other_element : other.success) {
@@ -52012,8 +52180,8 @@ import org.slf4j.LoggerFactory;
}
}
- public getAllModules_result deepCopy() {
- return new getAllModules_result(this);
+ public getAllAppModules_result deepCopy() {
+ return new getAllAppModules_result(this);
}
@Override
@@ -52043,7 +52211,7 @@ import org.slf4j.LoggerFactory;
return this.success;
}
- public getAllModules_result setSuccess(List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> success) {
+ public getAllAppModules_result setSuccess(List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationModule> success) {
this.success = success;
return this;
}
@@ -52067,7 +52235,7 @@ import org.slf4j.LoggerFactory;
return this.ire;
}
- public getAllModules_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
+ public getAllAppModules_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
this.ire = ire;
return this;
}
@@ -52091,7 +52259,7 @@ import org.slf4j.LoggerFactory;
return this.ace;
}
- public getAllModules_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
+ public getAllAppModules_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
this.ace = ace;
return this;
}
@@ -52115,7 +52283,7 @@ import org.slf4j.LoggerFactory;
return this.ase;
}
- public getAllModules_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
+ public getAllAppModules_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
this.ase = ase;
return this;
}
@@ -52213,12 +52381,12 @@ import org.slf4j.LoggerFactory;
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof getAllModules_result)
- return this.equals((getAllModules_result)that);
+ if (that instanceof getAllAppModules_result)
+ return this.equals((getAllAppModules_result)that);
return false;
}
- public boolean equals(getAllModules_result that) {
+ public boolean equals(getAllAppModules_result that) {
if (that == null)
return false;
@@ -52267,7 +52435,7 @@ import org.slf4j.LoggerFactory;
}
@Override
- public int compareTo(getAllModules_result other) {
+ public int compareTo(getAllAppModules_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -52331,7 +52499,7 @@ import org.slf4j.LoggerFactory;
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("getAllModules_result(");
+ StringBuilder sb = new StringBuilder("getAllAppModules_result(");
boolean first = true;
sb.append("success:");
@@ -52390,15 +52558,15 @@ import org.slf4j.LoggerFactory;
}
}
- private static class getAllModules_resultStandardSchemeFactory implements SchemeFactory {
- public getAllModules_resultStandardScheme getScheme() {
- return new getAllModules_resultStandardScheme();
+ private static class getAllAppModules_resultStandardSchemeFactory implements SchemeFactory {
+ public getAllAppModules_resultStandardScheme getScheme() {
+ return new getAllAppModules_resultStandardScheme();
}
}
- private static class getAllModules_resultStandardScheme extends StandardScheme<getAllModules_result> {
+ private static class getAllAppModules_resultStandardScheme extends StandardScheme<getAllAppModules_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getAllModules_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getAllAppModules_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -52465,7 +52633,7 @@ import org.slf4j.LoggerFactory;
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getAllModules_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getAllAppModules_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -52502,16 +52670,16 @@ import org.slf4j.LoggerFactory;
}
- private static class getAllModules_resultTupleSchemeFactory implements SchemeFactory {
- public getAllModules_resultTupleScheme getScheme() {
- return new getAllModules_resultTupleScheme();
+ private static class getAllAppModules_resultTupleSchemeFactory implements SchemeFactory {
+ public getAllAppModules_resultTupleScheme getScheme() {
+ return new getAllAppModules_resultTupleScheme();
}
}
- private static class getAllModules_resultTupleScheme extends TupleScheme<getAllModules_result> {
+ private static class getAllAppModules_resultTupleScheme extends TupleScheme<getAllAppModules_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getAllModules_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getAllAppModules_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
@@ -52548,7 +52716,7 @@ import org.slf4j.LoggerFactory;
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getAllModules_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getAllAppModules_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(4);
if (incoming.get(0)) {
@@ -57731,22 +57899,20 @@ import org.slf4j.LoggerFactory;
}
- public static class getAppModuleDeployedResources_args implements org.apache.thrift.TBase<getAppModuleDeployedResources_args, getAppModuleDeployedResources_args._Fields>, java.io.Serializable, Cloneable, Comparable<getAppModuleDeployedResources_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAppModuleDeployedResources_args");
+ public static class getAllApplicationDeployments_args implements org.apache.thrift.TBase<getAllApplicationDeployments_args, getAllApplicationDeployments_args._Fields>, java.io.Serializable, Cloneable, Comparable<getAllApplicationDeployments_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllApplicationDeployments_args");
- 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)1);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new getAppModuleDeployedResources_argsStandardSchemeFactory());
- schemes.put(TupleScheme.class, new getAppModuleDeployedResources_argsTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new getAllApplicationDeployments_argsStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new getAllApplicationDeployments_argsTupleSchemeFactory());
}
- public String appModuleId; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
- APP_MODULE_ID((short)1, "appModuleId");
+;
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@@ -57761,8 +57927,6 @@ import org.slf4j.LoggerFactory;
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
- case 1: // APP_MODULE_ID
- return APP_MODULE_ID;
default:
return null;
}
@@ -57801,87 +57965,37 @@ import org.slf4j.LoggerFactory;
return _fieldName;
}
}
-
- // isset id assignments
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
- tmpMap.put(_Fields.APP_MODULE_ID, new org.apache.thrift.meta_data.FieldMetaData("appModuleId", org.apache.thrift.TFieldRequirementType.REQUIRED,
- new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAppModuleDeployedResources_args.class, metaDataMap);
- }
-
- public getAppModuleDeployedResources_args() {
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllApplicationDeployments_args.class, metaDataMap);
}
- public getAppModuleDeployedResources_args(
- String appModuleId)
- {
- this();
- this.appModuleId = appModuleId;
+ public getAllApplicationDeployments_args() {
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public getAppModuleDeployedResources_args(getAppModuleDeployedResources_args other) {
- if (other.isSetAppModuleId()) {
- this.appModuleId = other.appModuleId;
- }
+ public getAllApplicationDeployments_args(getAllApplicationDeployments_args other) {
}
- public getAppModuleDeployedResources_args deepCopy() {
- return new getAppModuleDeployedResources_args(this);
+ public getAllApplicationDeployments_args deepCopy() {
+ return new getAllApplicationDeployments_args(this);
}
@Override
public void clear() {
- this.appModuleId = null;
- }
-
- public String getAppModuleId() {
- return this.appModuleId;
- }
-
- public getAppModuleDeployedResources_args setAppModuleId(String appModuleId) {
- this.appModuleId = appModuleId;
- return this;
- }
-
- public void unsetAppModuleId() {
- this.appModuleId = null;
- }
-
- /** Returns true if field appModuleId is set (has been assigned a value) and false otherwise */
- public boolean isSetAppModuleId() {
- return this.appModuleId != null;
- }
-
- public void setAppModuleIdIsSet(boolean value) {
- if (!value) {
- this.appModuleId = null;
- }
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
- case APP_MODULE_ID:
- if (value == null) {
- unsetAppModuleId();
- } else {
- setAppModuleId((String)value);
- }
- break;
-
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
- case APP_MODULE_ID:
- return getAppModuleId();
-
}
throw new IllegalStateException();
}
@@ -57893,8 +58007,6 @@ import org.slf4j.LoggerFactory;
}
switch (field) {
- case APP_MODULE_ID:
- return isSetAppModuleId();
}
throw new IllegalStateException();
}
@@ -57903,24 +58015,15 @@ import org.slf4j.LoggerFactory;
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof getAppModuleDeployedResources_args)
- return this.equals((getAppModuleDeployedResources_args)that);
+ if (that instanceof getAllApplicationDeployments_args)
+ return this.equals((getAllApplicationDeployments_args)that);
return false;
}
- public boolean equals(getAppModuleDeployedResources_args that) {
+ public boolean equals(getAllApplicationDeployments_args that) {
if (that == null)
return false;
- boolean this_present_appModuleId = true && this.isSetAppModuleId();
- boolean that_present_appModuleId = true && that.isSetAppModuleId();
- if (this_present_appModuleId || that_present_appModuleId) {
- if (!(this_present_appModuleId && that_present_appModuleId))
- return false;
- if (!this.appModuleId.equals(that.appModuleId))
- return false;
- }
-
return true;
}
@@ -57930,23 +58033,13 @@ import org.slf4j.LoggerFactory;
}
@Override
- public int compareTo(getAppModuleDeployedResources_args other) {
+ public int compareTo(getAllApplicationDeployments_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
- lastComparison = Boolean.valueOf(isSetAppModuleId()).compareTo(other.isSetAppModuleId());
- if (lastComparison != 0) {
- return lastComparison;
- }
- if (isSetAppModuleId()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.appModuleId, other.appModuleId);
- if (lastComparison != 0) {
- return lastComparison;
- }
- }
return 0;
}
@@ -57964,25 +58057,15 @@ import org.slf4j.LoggerFactory;
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("getAppModuleDeployedResources_args(");
+ StringBuilder sb = new StringBuilder("getAllApplicationDeployments_args(");
boolean first = true;
- sb.append("appModuleId:");
- if (this.appModuleId == null) {
- sb.append("null");
- } else {
- sb.append(this.appModuleId);
- }
- first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
- if (appModuleId == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'appModuleId' was not present! Struct: " + toString());
- }
// check for sub-struct validity
}
@@ -58002,15 +58085,15 @@ import org.slf4j.LoggerFactory;
}
}
- private static class getAppModuleDeployedResources_argsStandardSchemeFactory implements SchemeFactory {
- public getAppModuleDeployedResources_argsStandardScheme getScheme() {
- return new getAppModuleDeployedResources_argsStandardScheme();
+ private static class getAllApplicationDeployments_argsStandardSchemeFactory implements SchemeFactory {
+ public getAllApplicationDeployments_argsStandardScheme getScheme() {
+ return new getAllApplicationDeployments_argsStandardScheme();
}
}
- private static class getAppModuleDeployedResources_argsStandardScheme extends StandardScheme<getAppModuleDeployedResources_args> {
+ private static class getAllApplicationDeployments_argsStandardScheme extends StandardScheme<getAllApplicationDeployments_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getAppModuleDeployedResources_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getAllApplicationDeployments_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -58020,14 +58103,6 @@ import org.slf4j.LoggerFactory;
break;
}
switch (schemeField.id) {
- case 1: // APP_MODULE_ID
- if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
- struct.appModuleId = iprot.readString();
- struct.setAppModuleIdIsSet(true);
- } else {
- org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
- }
- break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -58039,47 +58114,39 @@ import org.slf4j.LoggerFactory;
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getAppModuleDeployedResources_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getAllApplicationDeployments_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
- if (struct.appModuleId != null) {
- oprot.writeFieldBegin(APP_MODULE_ID_FIELD_DESC);
- oprot.writeString(struct.appModuleId);
- oprot.writeFieldEnd();
- }
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
- private static class getAppModuleDeployedResources_argsTupleSchemeFactory implements SchemeFactory {
- public getAppModuleDeployedResources_argsTupleScheme getScheme() {
- return new getAppModuleDeployedResources_argsTupleScheme();
+ private static class getAllApplicationDeployments_argsTupleSchemeFactory implements SchemeFactory {
+ public getAllApplicationDeployments_argsTupleScheme getScheme() {
+ return new getAllApplicationDeployments_argsTupleScheme();
}
}
- private static class getAppModuleDeployedResources_argsTupleScheme extends TupleScheme<getAppModuleDeployedResources_args> {
+ private static class getAllApplicationDeployments_argsTupleScheme extends TupleScheme<getAllApplicationDeployments_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getAppModuleDeployedResources_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getAllApplicationDeployments_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
- oprot.writeString(struct.appModuleId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getAppModuleDeployedResources_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getAllApplicationDeployments_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
- struct.appModuleId = iprot.readString();
- struct.setAppModuleIdIsSet(true);
}
}
}
- public static class getAppModuleDeployedResources_result implements org.apache.thrift.TBase<getAppModuleDeployedResources_result, getAppModuleDeployedResources_result._Fields>, java.io.Serializable, Cloneable, Comparable<getAppModuleDeployedResources_result> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAppModuleDeployedResources_result");
+ public static class getAllApplicationDeployments_result implements org.apache.thrift.TBase<getAllApplicationDeployments_result, getAllApplicationDeployments_result._Fields>, java.io.Serializable, Cloneable, Comparable<getAllApplicationDeployments_result> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllApplicationDeployments_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);
@@ -58088,11 +58155,11 @@ import org.slf4j.LoggerFactory;
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new getAppModuleDeployedResources_resultStandardSchemeFactory());
- schemes.put(TupleScheme.class, new getAppModuleDeployedResources_resultTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new getAllApplicationDeployments_resultStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new getAllApplicationDeployments_resultTupleSchemeFactory());
}
- public List<String> success; // required
+ public List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> success; // required
public org.apache.airavata.model.error.InvalidRequestException ire; // required
public org.apache.airavata.model.error.AiravataClientException ace; // required
public org.apache.airavata.model.error.AiravataSystemException ase; // required
@@ -58170,7 +58237,7 @@ import org.slf4j.LoggerFactory;
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new 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.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
+ new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription.class))));
tmpMap.put(_Fields.IRE, new org.apache.thrift.meta_data.FieldMetaData("ire", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
tmpMap.put(_Fields.ACE, new org.apache.thrift.meta_data.FieldMetaData("ace", org.apache.thrift.TFieldRequirementType.DEFAULT,
@@ -58178,14 +58245,14 @@ import org.slf4j.LoggerFactory;
tmpMap.put(_Fields.ASE, new org.apache.thrift.meta_data.FieldMetaData("ase", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAppModuleDeployedResources_result.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllApplicationDeployments_result.class, metaDataMap);
}
- public getAppModuleDeployedResources_result() {
+ public getAllApplicationDeployments_result() {
}
- public getAppModuleDeployedResources_result(
- List<String> success,
+ public getAllApplicationDeployments_result(
+ List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> success,
org.apache.airavata.model.error.InvalidRequestException ire,
org.apache.airavata.model.error.AiravataClientException ace,
org.apache.airavata.model.error.AiravataSystemException ase)
@@ -58200,9 +58267,12 @@ import org.slf4j.LoggerFactory;
/**
* Performs a deep copy on <i>other</i>.
*/
- public getAppModuleDeployedResources_result(getAppModuleDeployedResources_result other) {
+ public getAllApplicationDeployments_result(getAllApplicationDeployments_result other) {
if (other.isSetSuccess()) {
- List<String> __this__success = new ArrayList<String>(other.success);
+ List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> __this__success = new ArrayList<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>(other.success.size());
+ for (org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription other_element : other.success) {
+ __this__success.add(new org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription(other_element));
+ }
this.success = __this__success;
}
if (other.isSetIre()) {
@@ -58216,8 +58286,8 @@ import org.slf4j.LoggerFactory;
}
}
- public getAppModuleDeployedResources_result deepCopy() {
- return new getAppModuleDeployedResources_result(this);
+ public getAllApplicationDeployments_result deepCopy() {
+ return new getAllApplicationDeployments_result(this);
}
@Override
@@ -58232,22 +58302,22 @@ import org.slf4j.LoggerFactory;
return (this.success == null) ? 0 : this.success.size();
}
- public java.util.Iterator<String> getSuccessIterator() {
+ public java.util.Iterator<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> getSuccessIterator() {
return (this.success == null) ? null : this.success.iterator();
}
- public void addToSuccess(String elem) {
+ public void addToSuccess(org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription elem) {
if (this.success == null) {
- this.success = new ArrayList<String>();
+ this.success = new ArrayList<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>();
}
this.success.add(elem);
}
- public List<String> getSuccess() {
+ public List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> getSuccess() {
return this.success;
}
- public getAppModuleDeployedResources_result setSuccess(List<String> success) {
+ public getAllApplicationDeployments_result setSuccess(List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription> success) {
this.success = success;
return this;
}
@@ -58271,7 +58341,7 @@ import org.slf4j.LoggerFactory;
return this.ire;
}
- public getAppModuleDeployedResources_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
+ public getAllApplicationDeployments_result setIre(org.apache.airavata.model.error.InvalidRequestException ire) {
this.ire = ire;
return this;
}
@@ -58295,7 +58365,7 @@ import org.slf4j.LoggerFactory;
return this.ace;
}
- public getAppModuleDeployedResources_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
+ public getAllApplicationDeployments_result setAce(org.apache.airavata.model.error.AiravataClientException ace) {
this.ace = ace;
return this;
}
@@ -58319,7 +58389,7 @@ import org.slf4j.LoggerFactory;
return this.ase;
}
- public getAppModuleDeployedResources_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
+ public getAllApplicationDeployments_result setAse(org.apache.airavata.model.error.AiravataSystemException ase) {
this.ase = ase;
return this;
}
@@ -58345,7 +58415,7 @@ import org.slf4j.LoggerFactory;
if (value == null) {
unsetSuccess();
} else {
- setSuccess((List<String>)value);
+ setSuccess((List<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>)value);
}
break;
@@ -58417,12 +58487,12 @@ import org.slf4j.LoggerFactory;
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof getAppModuleDeployedResources_result)
- return this.equals((getAppModuleDeployedResources_result)that);
+ if (that instanceof getAllApplicationDeployments_result)
+ return this.equals((getAllApplicationDeployments_result)that);
return false;
}
- public boolean equals(getAppModuleDeployedResources_result that) {
+ public boolean equals(getAllApplicationDeployments_result that) {
if (that == null)
return false;
@@ -58471,7 +58541,7 @@ import org.slf4j.LoggerFactory;
}
@Override
- public int compareTo(getAppModuleDeployedResources_result other) {
+ public int compareTo(getAllApplicationDeployments_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
@@ -58535,7 +58605,7 @@ import org.slf4j.LoggerFactory;
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("getAppModuleDeployedResources_result(");
+ StringBuilder sb = new StringBuilder("getAllApplicationDeployments_result(");
boolean first = true;
sb.append("success:");
@@ -58594,15 +58664,15 @@ import org.slf4j.LoggerFactory;
}
}
- private static class getAppModuleDeployedResources_resultStandardSchemeFactory implements SchemeFactory {
- public getAppModuleDeployedResources_resultStandardScheme getScheme() {
- return new getAppModuleDeployedResources_resultStandardScheme();
+ private static class getAllApplicationDeployments_resultStandardSchemeFactory implements SchemeFactory {
+ public getAllApplicationDeployments_resultStandardScheme getScheme() {
+ return new getAllApplicationDeployments_resultStandardScheme();
}
}
- private static class getAppModuleDeployedResources_resultStandardScheme extends StandardScheme<getAppModuleDeployedResources_result> {
+ private static class getAllApplicationDeployments_resultStandardScheme extends StandardScheme<getAllApplicationDeployments_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getAppModuleDeployedResources_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getAllApplicationDeployments_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -58616,11 +58686,12 @@ import org.slf4j.LoggerFactory;
if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
{
org.apache.thrift.protocol.TList _list122 = iprot.readListBegin();
- struct.success = new ArrayList<String>(_list122.size);
+ struct.success = new ArrayList<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>(_list122.size);
for (int _i123 = 0; _i123 < _list122.size; ++_i123)
{
- String _elem124;
- _elem124 = iprot.readString();
+ org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription _elem124;
+ _elem124 = new org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription();
+ _elem124.read(iprot);
struct.success.add(_elem124);
}
iprot.readListEnd();
@@ -58668,17 +58739,17 @@ import org.slf4j.LoggerFactory;
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getAppModuleDeployedResources_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getAllApplicationDeployments_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.STRING, struct.success.size()));
- for (String _iter125 : struct.success)
+ oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size()));
+ for (org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription _iter125 : struct.success)
{
- oprot.writeString(_iter125);
+ _iter125.write(oprot);
}
oprot.writeListEnd();
}
@@ -58705,16 +58776,16 @@ import org.slf4j.LoggerFactory;
}
- private static class getAppModuleDeployedResources_resultTupleSchemeFactory implements SchemeFactory {
- public getAppModuleDeployedResources_resultTupleScheme getScheme() {
- return new getAppModuleDeployedResources_resultTupleScheme();
+ private static class getAllApplicationDeployments_resultTupleSchemeFactory implements SchemeFactory {
+ public getAllApplicationDeployments_resultTupleScheme getScheme() {
+ return new getAllApplicationDeployments_resultTupleScheme();
}
}
- private static class getAppModuleDeployedResources_resultTupleScheme extends TupleScheme<getAppModuleDeployedResources_result> {
+ private static class getAllApplicationDeployments_resultTupleScheme extends TupleScheme<getAllApplicationDeployments_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getAppModuleDeployedResources_result struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getAllApplicationDeployments_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
@@ -58733,9 +58804,9 @@ import org.slf4j.LoggerFactory;
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
- for (String _iter126 : struct.success)
+ for (org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription _iter126 : struct.success)
{
- oprot.writeString(_iter126);
+ _iter126.write(oprot);
}
}
}
@@ -58751,17 +58822,18 @@ import org.slf4j.LoggerFactory;
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getAppModuleDeployedResources_result struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getAllApplicationDeployments_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(4);
if (incoming.get(0)) {
{
- org.apache.thrift.protocol.TList _list127 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
- struct.success = new ArrayList<String>(_list127.size);
+ org.apache.thrift.protocol.TList _list127 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+ struct.success = new ArrayList<org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription>(_list127.size);
for (int _i128 = 0; _i128 < _list127.size; ++_i128)
{
- String _elem129;
- _elem129 = iprot.readString();
+ org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription _elem129;
+ _elem129 = new org.apache.airavata.model.appcatalog.appdeployment.ApplicationDeploymentDescription();
+ _elem129.read(iprot);
struct.success.add(_elem129);
}
}
@@ -58787,22 +58859,22 @@ import org.slf4j.LoggerFactory;
}
- public static class registerApplicationInterface_args implements org.apache.thrift.TBase<registerApplicationInterface_args, registerApplicationInterface_args._Fields>, java.io.Serializable, Cloneable, Comparable<registerApplicationInterface_args> {
- private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("registerApplicationInterface_args");
+ public static class getAppModuleDeployedResources_args implements org.apache.thrift.TBase<getAppModuleDeployedResources_args, getAppModuleDeployedResources_args._Fields>, java.io.Serializable, Cloneable, Comparable<getAppModuleDeployedResources_args> {
+ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAppModuleDeployedResources_args");
- private static final org.apache.thrift.protocol.TField APPLICATION_INTERFACE_FIELD_DESC = new org.apache.thrift.protocol.TField("applicationInterface", org.apache.thrift.protocol.TType.STRUCT, (short)1);
+ 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)1);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
- schemes.put(StandardScheme.class, new registerApplicationInterface_argsStandardSchemeFactory());
- schemes.put(TupleScheme.class, new registerApplicationInterface_argsTupleSchemeFactory());
+ schemes.put(StandardScheme.class, new getAppModuleDeployedResources_argsStandardSchemeFactory());
+ schemes.put(TupleScheme.class, new getAppModuleDeployedResources_argsTupleSchemeFactory());
}
- public org.apache.airavata.model.appcatalog.appinterface.ApplicationInterfaceDescription applicationInterface; // required
+ public String appModuleId; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
@SuppressWarnings("all") public enum _Fields implements org.apache.thrift.TFieldIdEnum {
- APPLICATION_INTERFACE((short)1, "applicationInterface");
+ APP_MODULE_ID((short)1, "appModuleId");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@@ -58817,8 +58889,8 @@ import org.slf4j.LoggerFactory;
*/
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
- case 1: // APPLICATION_INTERFACE
- return APPLICATION_INTERFACE;
+ case 1: // APP_MODULE_ID
+ return APP_MODULE_ID;
default:
return null;
}
@@ -58862,71 +58934,71 @@ import org.slf4j.LoggerFactory;
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
- tmpMap.put(_Fields.APPLICATION_INTERFACE, new org.apache.thrift.meta_data.FieldMetaData("applicationInterface", org.apache.thrift.TFieldRequirementType.REQUIRED,
- new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, org.apache.airavata.model.appcatalog.appinterface.ApplicationInterfaceDescription.class)));
+ tmpMap.put(_Fields.APP_MODULE_ID, new org.apache.thrift.meta_data.FieldMetaData("appModuleId", org.apache.thrift.TFieldRequirementType.REQUIRED,
+ new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
- org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(registerApplicationInterface_args.class, metaDataMap);
+ org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAppModuleDeployedResources_args.class, metaDataMap);
}
- public registerApplicationInterface_args() {
+ public getAppModuleDeployedResources_args() {
}
- public registerApplicationInterface_args(
- org.apache.airavata.model.appcatalog.appinterface.ApplicationInterfaceDescription applicationInterface)
+ public getAppModuleDeployedResources_args(
+ String appModuleId)
{
this();
- this.applicationInterface = applicationInterface;
+ this.appModuleId = appModuleId;
}
/**
* Performs a deep copy on <i>other</i>.
*/
- public registerApplicationInterface_args(registerApplicationInterface_args other) {
- if (other.isSetApplicationInterface()) {
- this.applicationInterface = new org.apache.airavata.model.appcatalog.appinterface.ApplicationInterfaceDescription(other.applicationInterface);
+ public getAppModuleDeployedResources_args(getAppModuleDeployedResources_args other) {
+ if (other.isSetAppModuleId()) {
+ this.appModuleId = other.appModuleId;
}
}
- public registerApplicationInterface_args deepCopy() {
- return new registerApplicationInterface_args(this);
+ public getAppModuleDeployedResources_args deepCopy() {
+ return new getAppModuleDeployedResources_args(this);
}
@Override
public void clear() {
- this.applicationInterface = null;
+ this.appModuleId = null;
}
- public org.apache.airavata.model.appcatalog.appinterface.ApplicationInterfaceDescription getApplicationInterface() {
- return this.applicationInterface;
+ public String getAppModuleId() {
+ return this.appModuleId;
}
- public registerApplicationInterface_args setApplicationInterface(org.apache.airavata.model.appcatalog.appinterface.ApplicationInterfaceDescription applicationInterface) {
- this.applicationInterface = applicationInterface;
+ public getAppModuleDeployedResources_args setAppModuleId(String appModuleId) {
+ this.appModuleId = appModuleId;
return this;
}
- public void unsetApplicationInterface() {
- this.applicationInterface = null;
+ public void unsetAppModuleId() {
+ this.appModuleId = null;
}
- /** Returns true if field applicationInterface is set (has been assigned a value) and false otherwise */
- public boolean isSetApplicationInterface() {
- return this.applicationInterface != null;
+ /** Returns true if field appModuleId is set (has been assigned a value) and false otherwise */
+ public boolean isSetAppModuleId() {
+ return this.appModuleId != null;
}
- public void setApplicationInterfaceIsSet(boolean value) {
+ public void setAppModuleIdIsSet(boolean value) {
if (!value) {
- this.applicationInterface = null;
+ this.appModuleId = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
- case APPLICATION_INTERFACE:
+ case APP_MODULE_ID:
if (value == null) {
- unsetApplicationInterface();
+ unsetAppModuleId();
} else {
- setApplicationInterface((org.apache.airavata.model.appcatalog.appinterface.ApplicationInterfaceDescription)value);
+ setAppModuleId((String)value);
}
break;
@@ -58935,8 +59007,8 @@ import org.slf4j.LoggerFactory;
public Object getFieldValue(_Fields field) {
switch (field) {
- case APPLICATION_INTERFACE:
- return getApplicationInterface();
+ case APP_MODULE_ID:
+ return getAppModuleId();
}
throw new IllegalStateException();
@@ -58949,8 +59021,8 @@ import org.slf4j.LoggerFactory;
}
switch (field) {
- case APPLICATION_INTERFACE:
- return isSetApplicationInterface();
+ case APP_MODULE_ID:
+ return isSetAppModuleId();
}
throw new IllegalStateException();
}
@@ -58959,21 +59031,21 @@ import org.slf4j.LoggerFactory;
public boolean equals(Object that) {
if (that == null)
return false;
- if (that instanceof registerApplicationInterface_args)
- return this.equals((registerApplicationInterface_args)that);
+ if (that instanceof getAppModuleDeployedResources_args)
+ return this.equals((getAppModuleDeployedResources_args)that);
return false;
}
- public boolean equals(registerApplicationInterface_args that) {
+ public boolean equals(getAppModuleDeployedResources_args that) {
if (that == null)
return false;
- boolean this_present_applicationInterface = true && this.isSetApplicationInterface();
- boolean that_present_applicationInterface = true && that.isSetApplicationInterface();
- if (this_present_applicationInterface || that_present_applicationInterface) {
- if (!(this_present_applicationInterface && that_present_applicationInterface))
+ boolean this_present_appModuleId = true && this.isSetAppModuleId();
+ boolean that_present_appModuleId = true && that.isSetAppModuleId();
+ if (this_present_appModuleId || that_present_appModuleId) {
+ if (!(this_present_appModuleId && that_present_appModuleId))
return false;
- if (!this.applicationInterface.equals(that.applicationInterface))
+ if (!this.appModuleId.equals(that.appModuleId))
return false;
}
@@ -58986,19 +59058,19 @@ import org.slf4j.LoggerFactory;
}
@Override
- public int compareTo(registerApplicationInterface_args other) {
+ public int compareTo(getAppModuleDeployedResources_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
- lastComparison = Boolean.valueOf(isSetApplicationInterface()).compareTo(other.isSetApplicationInterface());
+ lastComparison = Boolean.valueOf(isSetAppModuleId()).compareTo(other.isSetAppModuleId());
if (lastComparison != 0) {
return lastComparison;
}
- if (isSetApplicationInterface()) {
- lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.applicationInterface, other.applicationInterface);
+ if (isSetAppModuleId()) {
+ lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.appModuleId, other.appModuleId);
if (lastComparison != 0) {
return lastComparison;
}
@@ -59020,14 +59092,14 @@ import org.slf4j.LoggerFactory;
@Override
public String toString() {
- StringBuilder sb = new StringBuilder("registerApplicationInterface_args(");
+ StringBuilder sb = new StringBuilder("getAppModuleDeployedResources_args(");
boolean first = true;
- sb.append("applicationInterface:");
- if (this.applicationInterface == null) {
+ sb.append("appModuleId:");
+ if (this.appModuleId == null) {
sb.append("null");
} else {
- sb.append(this.applicationInterface);
+ sb.append(this.appModuleId);
}
first = false;
sb.append(")");
@@ -59036,13 +59108,10 @@ import org.slf4j.LoggerFactory;
public void validate() throws org.apache.thrift.TException {
// check for required fields
- if (applicationInterface == null) {
- throw new org.apache.thrift.protocol.TProtocolException("Required field 'applicationInterface' was not present! Struct: " + toString());
+ if (appModuleId == null) {
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'appModuleId' was not present! Struct: " + toString());
}
// check for sub-struct validity
- if (applicationInterface != null) {
- applicationInterface.validate();
- }
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
@@ -59061,15 +59130,15 @@ import org.slf4j.LoggerFactory;
}
}
- private static class registerApplicationInterface_argsStandardSchemeFactory implements SchemeFactory {
- public registerApplicationInterface_argsStandardScheme getScheme() {
- return new registerApplicationInterface_argsStandardScheme();
+ private static class getAppModuleDeployedResources_argsStandardSchemeFactory implements SchemeFactory {
+ public getAppModuleDeployedResources_argsStandardScheme getScheme() {
+ return new getAppModuleDeployedResources_argsStandardScheme();
}
}
- private static class registerApplicationInterface_argsStandardScheme extends StandardScheme<registerApplicationInterface_args> {
+ private static class getAppModuleDeployedResources_argsStandardScheme extends StandardScheme<getAppModuleDeployedResources_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, registerApplicationInterface_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getAppModuleDeployedResources_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -59079,11 +59148,10 @@ import org.slf4j.LoggerFactory;
break;
}
switch (schemeField.id) {
- case 1: // APPLICATION_INTERFACE
- if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) {
- struct.applicationInterface = new org.apache.airavata.model.appcatalog.appinterface.ApplicationInterfaceDescription();
- struct.applicationInterface.read(iprot);
- struct.setApplicationInterfaceIsSet(true);
+ case 1: // APP_MODULE_ID
+ if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+ struct.appModuleId = iprot.readString();
+ struct.setAppModuleIdIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@@ -59099,13 +59167,13 @@ import org.slf4j.LoggerFactory;
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, registerApplicationInterface_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getAppModuleDeployedResources_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
- if (struct.applicationInterface != null) {
- oprot.writeFieldBegin(APPLICATION_INTERFACE_FIELD_DESC);
- struct.applicationInterface.write(oprot);
+ if (struct.appModuleId != null) {
+ oprot.writeFieldBegin(APP_MODULE_ID_FIELD_DESC);
+ oprot.writeString(struct.appModuleId);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
@@ -59114,46 +59182,45 @@ import org.slf4j.LoggerFactory;
}
- private static class registerApplicationInterface_argsTupleSchemeFactory implements SchemeFactory {
- public registerApplicationInterface_argsTupleScheme getScheme() {
- return new registerApplicationInterface_argsTupleScheme();
+ private static class getAppModuleDeployedResources_argsTupleSchemeFactory implements SchemeFactory {
+ public getAppModuleDeployedResources_argsTupleScheme getScheme() {
+ return new getAppModuleDeployedResources_argsTupleScheme();
}
}
- private static class registerApplicationInterface_argsTupleScheme extends TupleScheme<registerApplicationInterface_args> {
+ private static class getAppModuleDeployedResources_argsTupleScheme extends TupleScheme<getAppModuleDeployedResources_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, registerApplicationInterface_args struct) throws org.apache.thrift.TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getAppModuleDeployedResources_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
- struct.applicationInterface.write(oprot);
+ oprot.writeString(struct.appModuleId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, registerApplicationInterface_args struct) throws org.apache.thrift.TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getAppModuleDeployedResources_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
- struct.applicationInterface = new org.apache.airavata.model.appcatalog.appinterface.ApplicationInterfaceDescription();
- struct.applicationInterface.read(iprot);
- struct.setApplicationInterfaceIsSet(true);
+ struct.appModuleId = iprot.readString();
+ struct.setAppModuleIdIsSet(true);
}
}
}
- public static class registerApplicatio
<TRUNCATED>