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/07/12 06:08:50 UTC
[32/47] removed unnecessary files, updated ini file
http://git-wip-us.apache.org/repos/asf/airavata/blob/00b8aaf0/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationDeploymentModel_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationDeploymentModel_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationDeploymentModel_types.cpp
deleted file mode 100644
index 6eee268..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationDeploymentModel_types.cpp
+++ /dev/null
@@ -1,497 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "applicationDeploymentModel_types.h"
-
-#include <algorithm>
-
-namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appdeployment {
-
-int _kApplicationParallelismTypeValues[] = {
- ApplicationParallelismType::SERIAL,
- ApplicationParallelismType::MPI,
- ApplicationParallelismType::OPENMP,
- ApplicationParallelismType::OPENMP_MPI
-};
-const char* _kApplicationParallelismTypeNames[] = {
- "SERIAL",
- "MPI",
- "OPENMP",
- "OPENMP_MPI"
-};
-const std::map<int, const char*> _ApplicationParallelismType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(4, _kApplicationParallelismTypeValues, _kApplicationParallelismTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));
-
-const char* SetEnvPaths::ascii_fingerprint = "07A9615F837F7D0A952B595DD3020972";
-const uint8_t SetEnvPaths::binary_fingerprint[16] = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
-
-uint32_t SetEnvPaths::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
- bool isset_name = false;
- bool isset_value = false;
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->name);
- isset_name = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->value);
- isset_value = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_name)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_value)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t SetEnvPaths::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("SetEnvPaths");
-
- xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->name);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("value", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->value);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(SetEnvPaths &a, SetEnvPaths &b) {
- using ::std::swap;
- swap(a.name, b.name);
- swap(a.value, b.value);
-}
-
-const char* ApplicationModule::ascii_fingerprint = "FED0FBEAA0C90D1589E8B650561B7675";
-const uint8_t ApplicationModule::binary_fingerprint[16] = {0xFE,0xD0,0xFB,0xEA,0xA0,0xC9,0x0D,0x15,0x89,0xE8,0xB6,0x50,0x56,0x1B,0x76,0x75};
-
-uint32_t ApplicationModule::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
- bool isset_appModuleId = false;
- bool isset_appModuleName = false;
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->appModuleId);
- isset_appModuleId = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->appModuleName);
- isset_appModuleName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->appModuleVersion);
- this->__isset.appModuleVersion = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->appModuleDescription);
- this->__isset.appModuleDescription = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_appModuleId)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_appModuleName)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t ApplicationModule::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("ApplicationModule");
-
- xfer += oprot->writeFieldBegin("appModuleId", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->appModuleId);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("appModuleName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->appModuleName);
- xfer += oprot->writeFieldEnd();
-
- if (this->__isset.appModuleVersion) {
- xfer += oprot->writeFieldBegin("appModuleVersion", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->appModuleVersion);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.appModuleDescription) {
- xfer += oprot->writeFieldBegin("appModuleDescription", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeString(this->appModuleDescription);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(ApplicationModule &a, ApplicationModule &b) {
- using ::std::swap;
- swap(a.appModuleId, b.appModuleId);
- swap(a.appModuleName, b.appModuleName);
- swap(a.appModuleVersion, b.appModuleVersion);
- swap(a.appModuleDescription, b.appModuleDescription);
- swap(a.__isset, b.__isset);
-}
-
-const char* ApplicationDeploymentDescription::ascii_fingerprint = "179A145BD54BBE10649DEF31C71143C9";
-const uint8_t ApplicationDeploymentDescription::binary_fingerprint[16] = {0x17,0x9A,0x14,0x5B,0xD5,0x4B,0xBE,0x10,0x64,0x9D,0xEF,0x31,0xC7,0x11,0x43,0xC9};
-
-uint32_t ApplicationDeploymentDescription::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
- bool isset_appDeploymentId = false;
- bool isset_appModuleId = false;
- bool isset_computeHostId = false;
- bool isset_executablePath = false;
- bool isset_parallelism = false;
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->appDeploymentId);
- isset_appDeploymentId = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->appModuleId);
- isset_appModuleId = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->computeHostId);
- isset_computeHostId = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->executablePath);
- isset_executablePath = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast0;
- xfer += iprot->readI32(ecast0);
- this->parallelism = (ApplicationParallelismType::type)ecast0;
- isset_parallelism = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 6:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->appDeploymentDescription);
- this->__isset.appDeploymentDescription = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 7:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->moduleLoadCmds.clear();
- uint32_t _size1;
- ::apache::thrift::protocol::TType _etype4;
- xfer += iprot->readListBegin(_etype4, _size1);
- this->moduleLoadCmds.resize(_size1);
- uint32_t _i5;
- for (_i5 = 0; _i5 < _size1; ++_i5)
- {
- xfer += iprot->readString(this->moduleLoadCmds[_i5]);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.moduleLoadCmds = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 8:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->libPrependPaths.clear();
- uint32_t _size6;
- ::apache::thrift::protocol::TType _etype9;
- xfer += iprot->readListBegin(_etype9, _size6);
- this->libPrependPaths.resize(_size6);
- uint32_t _i10;
- for (_i10 = 0; _i10 < _size6; ++_i10)
- {
- xfer += this->libPrependPaths[_i10].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.libPrependPaths = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 9:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->libAppendPaths.clear();
- uint32_t _size11;
- ::apache::thrift::protocol::TType _etype14;
- xfer += iprot->readListBegin(_etype14, _size11);
- this->libAppendPaths.resize(_size11);
- uint32_t _i15;
- for (_i15 = 0; _i15 < _size11; ++_i15)
- {
- xfer += this->libAppendPaths[_i15].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.libAppendPaths = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 10:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->setEnvironment.clear();
- uint32_t _size16;
- ::apache::thrift::protocol::TType _etype19;
- xfer += iprot->readListBegin(_etype19, _size16);
- this->setEnvironment.resize(_size16);
- uint32_t _i20;
- for (_i20 = 0; _i20 < _size16; ++_i20)
- {
- xfer += this->setEnvironment[_i20].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.setEnvironment = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_appDeploymentId)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_appModuleId)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_computeHostId)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_executablePath)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_parallelism)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t ApplicationDeploymentDescription::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("ApplicationDeploymentDescription");
-
- xfer += oprot->writeFieldBegin("appDeploymentId", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->appDeploymentId);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("appModuleId", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->appModuleId);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("computeHostId", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->computeHostId);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("executablePath", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeString(this->executablePath);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("parallelism", ::apache::thrift::protocol::T_I32, 5);
- xfer += oprot->writeI32((int32_t)this->parallelism);
- xfer += oprot->writeFieldEnd();
-
- if (this->__isset.appDeploymentDescription) {
- xfer += oprot->writeFieldBegin("appDeploymentDescription", ::apache::thrift::protocol::T_STRING, 6);
- xfer += oprot->writeString(this->appDeploymentDescription);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.moduleLoadCmds) {
- xfer += oprot->writeFieldBegin("moduleLoadCmds", ::apache::thrift::protocol::T_LIST, 7);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->moduleLoadCmds.size()));
- std::vector<std::string> ::const_iterator _iter21;
- for (_iter21 = this->moduleLoadCmds.begin(); _iter21 != this->moduleLoadCmds.end(); ++_iter21)
- {
- xfer += oprot->writeString((*_iter21));
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.libPrependPaths) {
- xfer += oprot->writeFieldBegin("libPrependPaths", ::apache::thrift::protocol::T_LIST, 8);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->libPrependPaths.size()));
- std::vector<SetEnvPaths> ::const_iterator _iter22;
- for (_iter22 = this->libPrependPaths.begin(); _iter22 != this->libPrependPaths.end(); ++_iter22)
- {
- xfer += (*_iter22).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.libAppendPaths) {
- xfer += oprot->writeFieldBegin("libAppendPaths", ::apache::thrift::protocol::T_LIST, 9);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->libAppendPaths.size()));
- std::vector<SetEnvPaths> ::const_iterator _iter23;
- for (_iter23 = this->libAppendPaths.begin(); _iter23 != this->libAppendPaths.end(); ++_iter23)
- {
- xfer += (*_iter23).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.setEnvironment) {
- xfer += oprot->writeFieldBegin("setEnvironment", ::apache::thrift::protocol::T_LIST, 10);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->setEnvironment.size()));
- std::vector<SetEnvPaths> ::const_iterator _iter24;
- for (_iter24 = this->setEnvironment.begin(); _iter24 != this->setEnvironment.end(); ++_iter24)
- {
- xfer += (*_iter24).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(ApplicationDeploymentDescription &a, ApplicationDeploymentDescription &b) {
- using ::std::swap;
- swap(a.appDeploymentId, b.appDeploymentId);
- swap(a.appModuleId, b.appModuleId);
- swap(a.computeHostId, b.computeHostId);
- swap(a.executablePath, b.executablePath);
- swap(a.parallelism, b.parallelism);
- swap(a.appDeploymentDescription, b.appDeploymentDescription);
- swap(a.moduleLoadCmds, b.moduleLoadCmds);
- swap(a.libPrependPaths, b.libPrependPaths);
- swap(a.libAppendPaths, b.libAppendPaths);
- swap(a.setEnvironment, b.setEnvironment);
- swap(a.__isset, b.__isset);
-}
-
-}}}}} // namespace
http://git-wip-us.apache.org/repos/asf/airavata/blob/00b8aaf0/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationDeploymentModel_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationDeploymentModel_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationDeploymentModel_types.h
deleted file mode 100644
index 62439bb..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationDeploymentModel_types.h
+++ /dev/null
@@ -1,275 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef applicationDeploymentModel_TYPES_H
-#define applicationDeploymentModel_TYPES_H
-
-#include <thrift/Thrift.h>
-#include <thrift/TApplicationException.h>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/transport/TTransport.h>
-
-#include <thrift/cxxfunctional.h>
-
-
-namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appdeployment {
-
-struct ApplicationParallelismType {
- enum type {
- SERIAL = 0,
- MPI = 1,
- OPENMP = 2,
- OPENMP_MPI = 3
- };
-};
-
-extern const std::map<int, const char*> _ApplicationParallelismType_VALUES_TO_NAMES;
-
-
-class SetEnvPaths {
- public:
-
- static const char* ascii_fingerprint; // = "07A9615F837F7D0A952B595DD3020972";
- static const uint8_t binary_fingerprint[16]; // = {0x07,0xA9,0x61,0x5F,0x83,0x7F,0x7D,0x0A,0x95,0x2B,0x59,0x5D,0xD3,0x02,0x09,0x72};
-
- SetEnvPaths() : name(), value() {
- }
-
- virtual ~SetEnvPaths() throw() {}
-
- std::string name;
- std::string value;
-
- void __set_name(const std::string& val) {
- name = val;
- }
-
- void __set_value(const std::string& val) {
- value = val;
- }
-
- bool operator == (const SetEnvPaths & rhs) const
- {
- if (!(name == rhs.name))
- return false;
- if (!(value == rhs.value))
- return false;
- return true;
- }
- bool operator != (const SetEnvPaths &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const SetEnvPaths & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(SetEnvPaths &a, SetEnvPaths &b);
-
-typedef struct _ApplicationModule__isset {
- _ApplicationModule__isset() : appModuleVersion(false), appModuleDescription(false) {}
- bool appModuleVersion;
- bool appModuleDescription;
-} _ApplicationModule__isset;
-
-class ApplicationModule {
- public:
-
- static const char* ascii_fingerprint; // = "FED0FBEAA0C90D1589E8B650561B7675";
- static const uint8_t binary_fingerprint[16]; // = {0xFE,0xD0,0xFB,0xEA,0xA0,0xC9,0x0D,0x15,0x89,0xE8,0xB6,0x50,0x56,0x1B,0x76,0x75};
-
- ApplicationModule() : appModuleId("DO_NOT_SET_AT_CLIENTS"), appModuleName(), appModuleVersion(), appModuleDescription() {
- }
-
- virtual ~ApplicationModule() throw() {}
-
- std::string appModuleId;
- std::string appModuleName;
- std::string appModuleVersion;
- std::string appModuleDescription;
-
- _ApplicationModule__isset __isset;
-
- void __set_appModuleId(const std::string& val) {
- appModuleId = val;
- }
-
- void __set_appModuleName(const std::string& val) {
- appModuleName = val;
- }
-
- void __set_appModuleVersion(const std::string& val) {
- appModuleVersion = val;
- __isset.appModuleVersion = true;
- }
-
- void __set_appModuleDescription(const std::string& val) {
- appModuleDescription = val;
- __isset.appModuleDescription = true;
- }
-
- bool operator == (const ApplicationModule & rhs) const
- {
- if (!(appModuleId == rhs.appModuleId))
- return false;
- if (!(appModuleName == rhs.appModuleName))
- return false;
- if (__isset.appModuleVersion != rhs.__isset.appModuleVersion)
- return false;
- else if (__isset.appModuleVersion && !(appModuleVersion == rhs.appModuleVersion))
- return false;
- if (__isset.appModuleDescription != rhs.__isset.appModuleDescription)
- return false;
- else if (__isset.appModuleDescription && !(appModuleDescription == rhs.appModuleDescription))
- return false;
- return true;
- }
- bool operator != (const ApplicationModule &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ApplicationModule & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(ApplicationModule &a, ApplicationModule &b);
-
-typedef struct _ApplicationDeploymentDescription__isset {
- _ApplicationDeploymentDescription__isset() : appDeploymentDescription(false), moduleLoadCmds(false), libPrependPaths(false), libAppendPaths(false), setEnvironment(false) {}
- bool appDeploymentDescription;
- bool moduleLoadCmds;
- bool libPrependPaths;
- bool libAppendPaths;
- bool setEnvironment;
-} _ApplicationDeploymentDescription__isset;
-
-class ApplicationDeploymentDescription {
- public:
-
- static const char* ascii_fingerprint; // = "179A145BD54BBE10649DEF31C71143C9";
- static const uint8_t binary_fingerprint[16]; // = {0x17,0x9A,0x14,0x5B,0xD5,0x4B,0xBE,0x10,0x64,0x9D,0xEF,0x31,0xC7,0x11,0x43,0xC9};
-
- ApplicationDeploymentDescription() : appDeploymentId("DO_NOT_SET_AT_CLIENTS"), appModuleId(), computeHostId(), executablePath(), parallelism((ApplicationParallelismType::type)0), appDeploymentDescription() {
- parallelism = (ApplicationParallelismType::type)0;
-
- }
-
- virtual ~ApplicationDeploymentDescription() throw() {}
-
- std::string appDeploymentId;
- std::string appModuleId;
- std::string computeHostId;
- std::string executablePath;
- ApplicationParallelismType::type parallelism;
- std::string appDeploymentDescription;
- std::vector<std::string> moduleLoadCmds;
- std::vector<SetEnvPaths> libPrependPaths;
- std::vector<SetEnvPaths> libAppendPaths;
- std::vector<SetEnvPaths> setEnvironment;
-
- _ApplicationDeploymentDescription__isset __isset;
-
- void __set_appDeploymentId(const std::string& val) {
- appDeploymentId = val;
- }
-
- void __set_appModuleId(const std::string& val) {
- appModuleId = val;
- }
-
- void __set_computeHostId(const std::string& val) {
- computeHostId = val;
- }
-
- void __set_executablePath(const std::string& val) {
- executablePath = val;
- }
-
- void __set_parallelism(const ApplicationParallelismType::type val) {
- parallelism = val;
- }
-
- void __set_appDeploymentDescription(const std::string& val) {
- appDeploymentDescription = val;
- __isset.appDeploymentDescription = true;
- }
-
- void __set_moduleLoadCmds(const std::vector<std::string> & val) {
- moduleLoadCmds = val;
- __isset.moduleLoadCmds = true;
- }
-
- void __set_libPrependPaths(const std::vector<SetEnvPaths> & val) {
- libPrependPaths = val;
- __isset.libPrependPaths = true;
- }
-
- void __set_libAppendPaths(const std::vector<SetEnvPaths> & val) {
- libAppendPaths = val;
- __isset.libAppendPaths = true;
- }
-
- void __set_setEnvironment(const std::vector<SetEnvPaths> & val) {
- setEnvironment = val;
- __isset.setEnvironment = true;
- }
-
- bool operator == (const ApplicationDeploymentDescription & rhs) const
- {
- if (!(appDeploymentId == rhs.appDeploymentId))
- return false;
- if (!(appModuleId == rhs.appModuleId))
- return false;
- if (!(computeHostId == rhs.computeHostId))
- return false;
- if (!(executablePath == rhs.executablePath))
- return false;
- if (!(parallelism == rhs.parallelism))
- return false;
- if (__isset.appDeploymentDescription != rhs.__isset.appDeploymentDescription)
- return false;
- else if (__isset.appDeploymentDescription && !(appDeploymentDescription == rhs.appDeploymentDescription))
- return false;
- if (__isset.moduleLoadCmds != rhs.__isset.moduleLoadCmds)
- return false;
- else if (__isset.moduleLoadCmds && !(moduleLoadCmds == rhs.moduleLoadCmds))
- return false;
- if (__isset.libPrependPaths != rhs.__isset.libPrependPaths)
- return false;
- else if (__isset.libPrependPaths && !(libPrependPaths == rhs.libPrependPaths))
- return false;
- if (__isset.libAppendPaths != rhs.__isset.libAppendPaths)
- return false;
- else if (__isset.libAppendPaths && !(libAppendPaths == rhs.libAppendPaths))
- return false;
- if (__isset.setEnvironment != rhs.__isset.setEnvironment)
- return false;
- else if (__isset.setEnvironment && !(setEnvironment == rhs.setEnvironment))
- return false;
- return true;
- }
- bool operator != (const ApplicationDeploymentDescription &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ApplicationDeploymentDescription & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(ApplicationDeploymentDescription &a, ApplicationDeploymentDescription &b);
-
-}}}}} // namespace
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata/blob/00b8aaf0/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_constants.cpp
deleted file mode 100644
index da96617..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_constants.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "applicationInterfaceModel_constants.h"
-
-namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appinterface {
-
-const applicationInterfaceModelConstants g_applicationInterfaceModel_constants;
-
-applicationInterfaceModelConstants::applicationInterfaceModelConstants() {
- DEFAULT_ID = "DO_NOT_SET_AT_CLIENTS";
-
-}
-
-}}}}} // namespace
-
http://git-wip-us.apache.org/repos/asf/airavata/blob/00b8aaf0/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_constants.h
deleted file mode 100644
index cf2a471..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_constants.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef applicationInterfaceModel_CONSTANTS_H
-#define applicationInterfaceModel_CONSTANTS_H
-
-#include "applicationInterfaceModel_types.h"
-
-namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appinterface {
-
-class applicationInterfaceModelConstants {
- public:
- applicationInterfaceModelConstants();
-
- std::string DEFAULT_ID;
-};
-
-extern const applicationInterfaceModelConstants g_applicationInterfaceModel_constants;
-
-}}}}} // namespace
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata/blob/00b8aaf0/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_types.cpp
deleted file mode 100644
index 7b0c4ba..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_types.cpp
+++ /dev/null
@@ -1,470 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "applicationInterfaceModel_types.h"
-
-#include <algorithm>
-
-namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appinterface {
-
-int _kDataTypeValues[] = {
- DataType::STRING,
- DataType::INTEGER,
- DataType::FLOAT,
- DataType::URI
-};
-const char* _kDataTypeNames[] = {
- "STRING",
- "INTEGER",
- "FLOAT",
- "URI"
-};
-const std::map<int, const char*> _DataType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(4, _kDataTypeValues, _kDataTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL));
-
-const char* InputDataObjectType::ascii_fingerprint = "24F962C1CE4BE9FBD0F5D5EE9D1D5C00";
-const uint8_t InputDataObjectType::binary_fingerprint[16] = {0x24,0xF9,0x62,0xC1,0xCE,0x4B,0xE9,0xFB,0xD0,0xF5,0xD5,0xEE,0x9D,0x1D,0x5C,0x00};
-
-uint32_t InputDataObjectType::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
- bool isset_name = false;
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->name);
- isset_name = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->value);
- this->__isset.value = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast0;
- xfer += iprot->readI32(ecast0);
- this->type = (DataType::type)ecast0;
- this->__isset.type = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->applicationArgument);
- this->__isset.applicationArgument = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
- if (ftype == ::apache::thrift::protocol::T_BOOL) {
- xfer += iprot->readBool(this->standardInput);
- this->__isset.standardInput = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 6:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->userFriendlyDescription);
- this->__isset.userFriendlyDescription = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 7:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->metaData);
- this->__isset.metaData = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_name)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t InputDataObjectType::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("InputDataObjectType");
-
- xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->name);
- xfer += oprot->writeFieldEnd();
-
- if (this->__isset.value) {
- xfer += oprot->writeFieldBegin("value", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->value);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.type) {
- xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 3);
- xfer += oprot->writeI32((int32_t)this->type);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.applicationArgument) {
- xfer += oprot->writeFieldBegin("applicationArgument", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeString(this->applicationArgument);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.standardInput) {
- xfer += oprot->writeFieldBegin("standardInput", ::apache::thrift::protocol::T_BOOL, 5);
- xfer += oprot->writeBool(this->standardInput);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.userFriendlyDescription) {
- xfer += oprot->writeFieldBegin("userFriendlyDescription", ::apache::thrift::protocol::T_STRING, 6);
- xfer += oprot->writeString(this->userFriendlyDescription);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.metaData) {
- xfer += oprot->writeFieldBegin("metaData", ::apache::thrift::protocol::T_STRING, 7);
- xfer += oprot->writeString(this->metaData);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(InputDataObjectType &a, InputDataObjectType &b) {
- using ::std::swap;
- swap(a.name, b.name);
- swap(a.value, b.value);
- swap(a.type, b.type);
- swap(a.applicationArgument, b.applicationArgument);
- swap(a.standardInput, b.standardInput);
- swap(a.userFriendlyDescription, b.userFriendlyDescription);
- swap(a.metaData, b.metaData);
- swap(a.__isset, b.__isset);
-}
-
-const char* OutputDataObjectType::ascii_fingerprint = "B33AE596EF78C48424CF96BCA5D1DF99";
-const uint8_t OutputDataObjectType::binary_fingerprint[16] = {0xB3,0x3A,0xE5,0x96,0xEF,0x78,0xC4,0x84,0x24,0xCF,0x96,0xBC,0xA5,0xD1,0xDF,0x99};
-
-uint32_t OutputDataObjectType::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
- bool isset_name = false;
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->name);
- isset_name = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->value);
- this->__isset.value = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast1;
- xfer += iprot->readI32(ecast1);
- this->type = (DataType::type)ecast1;
- this->__isset.type = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_name)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t OutputDataObjectType::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("OutputDataObjectType");
-
- xfer += oprot->writeFieldBegin("name", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->name);
- xfer += oprot->writeFieldEnd();
-
- if (this->__isset.value) {
- xfer += oprot->writeFieldBegin("value", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->value);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.type) {
- xfer += oprot->writeFieldBegin("type", ::apache::thrift::protocol::T_I32, 3);
- xfer += oprot->writeI32((int32_t)this->type);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(OutputDataObjectType &a, OutputDataObjectType &b) {
- using ::std::swap;
- swap(a.name, b.name);
- swap(a.value, b.value);
- swap(a.type, b.type);
- swap(a.__isset, b.__isset);
-}
-
-const char* ApplicationInterfaceDescription::ascii_fingerprint = "355A0972969341C2A113049339427849";
-const uint8_t ApplicationInterfaceDescription::binary_fingerprint[16] = {0x35,0x5A,0x09,0x72,0x96,0x93,0x41,0xC2,0xA1,0x13,0x04,0x93,0x39,0x42,0x78,0x49};
-
-uint32_t ApplicationInterfaceDescription::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- uint32_t xfer = 0;
- std::string fname;
- ::apache::thrift::protocol::TType ftype;
- int16_t fid;
-
- xfer += iprot->readStructBegin(fname);
-
- using ::apache::thrift::protocol::TProtocolException;
-
- bool isset_applicationInterfaceId = false;
- bool isset_applicationName = false;
-
- while (true)
- {
- xfer += iprot->readFieldBegin(fname, ftype, fid);
- if (ftype == ::apache::thrift::protocol::T_STOP) {
- break;
- }
- switch (fid)
- {
- case 1:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->applicationInterfaceId);
- isset_applicationInterfaceId = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->applicationName);
- isset_applicationName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->applicationDesription);
- this->__isset.applicationDesription = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->applicationModules.clear();
- uint32_t _size2;
- ::apache::thrift::protocol::TType _etype5;
- xfer += iprot->readListBegin(_etype5, _size2);
- this->applicationModules.resize(_size2);
- uint32_t _i6;
- for (_i6 = 0; _i6 < _size2; ++_i6)
- {
- xfer += iprot->readString(this->applicationModules[_i6]);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.applicationModules = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->applicationInputs.clear();
- uint32_t _size7;
- ::apache::thrift::protocol::TType _etype10;
- xfer += iprot->readListBegin(_etype10, _size7);
- this->applicationInputs.resize(_size7);
- uint32_t _i11;
- for (_i11 = 0; _i11 < _size7; ++_i11)
- {
- xfer += this->applicationInputs[_i11].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.applicationInputs = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 6:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->applicationOutputs.clear();
- uint32_t _size12;
- ::apache::thrift::protocol::TType _etype15;
- xfer += iprot->readListBegin(_etype15, _size12);
- this->applicationOutputs.resize(_size12);
- uint32_t _i16;
- for (_i16 = 0; _i16 < _size12; ++_i16)
- {
- xfer += this->applicationOutputs[_i16].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.applicationOutputs = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_applicationInterfaceId)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_applicationName)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t ApplicationInterfaceDescription::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("ApplicationInterfaceDescription");
-
- xfer += oprot->writeFieldBegin("applicationInterfaceId", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->applicationInterfaceId);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("applicationName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->applicationName);
- xfer += oprot->writeFieldEnd();
-
- if (this->__isset.applicationDesription) {
- xfer += oprot->writeFieldBegin("applicationDesription", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->applicationDesription);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.applicationModules) {
- xfer += oprot->writeFieldBegin("applicationModules", ::apache::thrift::protocol::T_LIST, 4);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->applicationModules.size()));
- std::vector<std::string> ::const_iterator _iter17;
- for (_iter17 = this->applicationModules.begin(); _iter17 != this->applicationModules.end(); ++_iter17)
- {
- xfer += oprot->writeString((*_iter17));
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.applicationInputs) {
- xfer += oprot->writeFieldBegin("applicationInputs", ::apache::thrift::protocol::T_LIST, 5);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->applicationInputs.size()));
- std::vector<InputDataObjectType> ::const_iterator _iter18;
- for (_iter18 = this->applicationInputs.begin(); _iter18 != this->applicationInputs.end(); ++_iter18)
- {
- xfer += (*_iter18).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.applicationOutputs) {
- xfer += oprot->writeFieldBegin("applicationOutputs", ::apache::thrift::protocol::T_LIST, 6);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->applicationOutputs.size()));
- std::vector<OutputDataObjectType> ::const_iterator _iter19;
- for (_iter19 = this->applicationOutputs.begin(); _iter19 != this->applicationOutputs.end(); ++_iter19)
- {
- xfer += (*_iter19).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(ApplicationInterfaceDescription &a, ApplicationInterfaceDescription &b) {
- using ::std::swap;
- swap(a.applicationInterfaceId, b.applicationInterfaceId);
- swap(a.applicationName, b.applicationName);
- swap(a.applicationDesription, b.applicationDesription);
- swap(a.applicationModules, b.applicationModules);
- swap(a.applicationInputs, b.applicationInputs);
- swap(a.applicationOutputs, b.applicationOutputs);
- swap(a.__isset, b.__isset);
-}
-
-}}}}} // namespace
http://git-wip-us.apache.org/repos/asf/airavata/blob/00b8aaf0/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_types.h
deleted file mode 100644
index 5627cfa..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/applicationInterfaceModel_types.h
+++ /dev/null
@@ -1,298 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef applicationInterfaceModel_TYPES_H
-#define applicationInterfaceModel_TYPES_H
-
-#include <thrift/Thrift.h>
-#include <thrift/TApplicationException.h>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/transport/TTransport.h>
-
-#include <thrift/cxxfunctional.h>
-
-
-namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace appinterface {
-
-struct DataType {
- enum type {
- STRING = 0,
- INTEGER = 1,
- FLOAT = 2,
- URI = 3
- };
-};
-
-extern const std::map<int, const char*> _DataType_VALUES_TO_NAMES;
-
-typedef struct _InputDataObjectType__isset {
- _InputDataObjectType__isset() : value(false), type(false), applicationArgument(false), standardInput(true), userFriendlyDescription(false), metaData(false) {}
- bool value;
- bool type;
- bool applicationArgument;
- bool standardInput;
- bool userFriendlyDescription;
- bool metaData;
-} _InputDataObjectType__isset;
-
-class InputDataObjectType {
- public:
-
- static const char* ascii_fingerprint; // = "24F962C1CE4BE9FBD0F5D5EE9D1D5C00";
- static const uint8_t binary_fingerprint[16]; // = {0x24,0xF9,0x62,0xC1,0xCE,0x4B,0xE9,0xFB,0xD0,0xF5,0xD5,0xEE,0x9D,0x1D,0x5C,0x00};
-
- InputDataObjectType() : name(), value(), type((DataType::type)0), applicationArgument(), standardInput(false), userFriendlyDescription(), metaData() {
- }
-
- virtual ~InputDataObjectType() throw() {}
-
- std::string name;
- std::string value;
- DataType::type type;
- std::string applicationArgument;
- bool standardInput;
- std::string userFriendlyDescription;
- std::string metaData;
-
- _InputDataObjectType__isset __isset;
-
- void __set_name(const std::string& val) {
- name = val;
- }
-
- void __set_value(const std::string& val) {
- value = val;
- __isset.value = true;
- }
-
- void __set_type(const DataType::type val) {
- type = val;
- __isset.type = true;
- }
-
- void __set_applicationArgument(const std::string& val) {
- applicationArgument = val;
- __isset.applicationArgument = true;
- }
-
- void __set_standardInput(const bool val) {
- standardInput = val;
- __isset.standardInput = true;
- }
-
- void __set_userFriendlyDescription(const std::string& val) {
- userFriendlyDescription = val;
- __isset.userFriendlyDescription = true;
- }
-
- void __set_metaData(const std::string& val) {
- metaData = val;
- __isset.metaData = true;
- }
-
- bool operator == (const InputDataObjectType & rhs) const
- {
- if (!(name == rhs.name))
- return false;
- if (__isset.value != rhs.__isset.value)
- return false;
- else if (__isset.value && !(value == rhs.value))
- return false;
- if (__isset.type != rhs.__isset.type)
- return false;
- else if (__isset.type && !(type == rhs.type))
- return false;
- if (__isset.applicationArgument != rhs.__isset.applicationArgument)
- return false;
- else if (__isset.applicationArgument && !(applicationArgument == rhs.applicationArgument))
- return false;
- if (__isset.standardInput != rhs.__isset.standardInput)
- return false;
- else if (__isset.standardInput && !(standardInput == rhs.standardInput))
- return false;
- if (__isset.userFriendlyDescription != rhs.__isset.userFriendlyDescription)
- return false;
- else if (__isset.userFriendlyDescription && !(userFriendlyDescription == rhs.userFriendlyDescription))
- return false;
- if (__isset.metaData != rhs.__isset.metaData)
- return false;
- else if (__isset.metaData && !(metaData == rhs.metaData))
- return false;
- return true;
- }
- bool operator != (const InputDataObjectType &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const InputDataObjectType & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(InputDataObjectType &a, InputDataObjectType &b);
-
-typedef struct _OutputDataObjectType__isset {
- _OutputDataObjectType__isset() : value(false), type(false) {}
- bool value;
- bool type;
-} _OutputDataObjectType__isset;
-
-class OutputDataObjectType {
- public:
-
- static const char* ascii_fingerprint; // = "B33AE596EF78C48424CF96BCA5D1DF99";
- static const uint8_t binary_fingerprint[16]; // = {0xB3,0x3A,0xE5,0x96,0xEF,0x78,0xC4,0x84,0x24,0xCF,0x96,0xBC,0xA5,0xD1,0xDF,0x99};
-
- OutputDataObjectType() : name(), value(), type((DataType::type)0) {
- }
-
- virtual ~OutputDataObjectType() throw() {}
-
- std::string name;
- std::string value;
- DataType::type type;
-
- _OutputDataObjectType__isset __isset;
-
- void __set_name(const std::string& val) {
- name = val;
- }
-
- void __set_value(const std::string& val) {
- value = val;
- __isset.value = true;
- }
-
- void __set_type(const DataType::type val) {
- type = val;
- __isset.type = true;
- }
-
- bool operator == (const OutputDataObjectType & rhs) const
- {
- if (!(name == rhs.name))
- return false;
- if (__isset.value != rhs.__isset.value)
- return false;
- else if (__isset.value && !(value == rhs.value))
- return false;
- if (__isset.type != rhs.__isset.type)
- return false;
- else if (__isset.type && !(type == rhs.type))
- return false;
- return true;
- }
- bool operator != (const OutputDataObjectType &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const OutputDataObjectType & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(OutputDataObjectType &a, OutputDataObjectType &b);
-
-typedef struct _ApplicationInterfaceDescription__isset {
- _ApplicationInterfaceDescription__isset() : applicationDesription(false), applicationModules(false), applicationInputs(false), applicationOutputs(false) {}
- bool applicationDesription;
- bool applicationModules;
- bool applicationInputs;
- bool applicationOutputs;
-} _ApplicationInterfaceDescription__isset;
-
-class ApplicationInterfaceDescription {
- public:
-
- static const char* ascii_fingerprint; // = "355A0972969341C2A113049339427849";
- static const uint8_t binary_fingerprint[16]; // = {0x35,0x5A,0x09,0x72,0x96,0x93,0x41,0xC2,0xA1,0x13,0x04,0x93,0x39,0x42,0x78,0x49};
-
- ApplicationInterfaceDescription() : applicationInterfaceId("DO_NOT_SET_AT_CLIENTS"), applicationName(), applicationDesription() {
- }
-
- virtual ~ApplicationInterfaceDescription() throw() {}
-
- std::string applicationInterfaceId;
- std::string applicationName;
- std::string applicationDesription;
- std::vector<std::string> applicationModules;
- std::vector<InputDataObjectType> applicationInputs;
- std::vector<OutputDataObjectType> applicationOutputs;
-
- _ApplicationInterfaceDescription__isset __isset;
-
- void __set_applicationInterfaceId(const std::string& val) {
- applicationInterfaceId = val;
- }
-
- void __set_applicationName(const std::string& val) {
- applicationName = val;
- }
-
- void __set_applicationDesription(const std::string& val) {
- applicationDesription = val;
- __isset.applicationDesription = true;
- }
-
- void __set_applicationModules(const std::vector<std::string> & val) {
- applicationModules = val;
- __isset.applicationModules = true;
- }
-
- void __set_applicationInputs(const std::vector<InputDataObjectType> & val) {
- applicationInputs = val;
- __isset.applicationInputs = true;
- }
-
- void __set_applicationOutputs(const std::vector<OutputDataObjectType> & val) {
- applicationOutputs = val;
- __isset.applicationOutputs = true;
- }
-
- bool operator == (const ApplicationInterfaceDescription & rhs) const
- {
- if (!(applicationInterfaceId == rhs.applicationInterfaceId))
- return false;
- if (!(applicationName == rhs.applicationName))
- return false;
- if (__isset.applicationDesription != rhs.__isset.applicationDesription)
- return false;
- else if (__isset.applicationDesription && !(applicationDesription == rhs.applicationDesription))
- return false;
- if (__isset.applicationModules != rhs.__isset.applicationModules)
- return false;
- else if (__isset.applicationModules && !(applicationModules == rhs.applicationModules))
- return false;
- if (__isset.applicationInputs != rhs.__isset.applicationInputs)
- return false;
- else if (__isset.applicationInputs && !(applicationInputs == rhs.applicationInputs))
- return false;
- if (__isset.applicationOutputs != rhs.__isset.applicationOutputs)
- return false;
- else if (__isset.applicationOutputs && !(applicationOutputs == rhs.applicationOutputs))
- return false;
- return true;
- }
- bool operator != (const ApplicationInterfaceDescription &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ApplicationInterfaceDescription & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(ApplicationInterfaceDescription &a, ApplicationInterfaceDescription &b);
-
-}}}}} // namespace
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata/blob/00b8aaf0/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/computeResourceModel_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/computeResourceModel_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/computeResourceModel_constants.cpp
deleted file mode 100644
index 4ea6bcb..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/computeResourceModel_constants.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "computeResourceModel_constants.h"
-
-namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace computeresource {
-
-const computeResourceModelConstants g_computeResourceModel_constants;
-
-computeResourceModelConstants::computeResourceModelConstants() {
- DEFAULT_ID = "DO_NOT_SET_AT_CLIENTS";
-
-}
-
-}}}}} // namespace
-
http://git-wip-us.apache.org/repos/asf/airavata/blob/00b8aaf0/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/computeResourceModel_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/computeResourceModel_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/computeResourceModel_constants.h
deleted file mode 100644
index abdab96..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/computeResourceModel_constants.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * Autogenerated by Thrift Compiler (0.9.1)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef computeResourceModel_CONSTANTS_H
-#define computeResourceModel_CONSTANTS_H
-
-#include "computeResourceModel_types.h"
-
-namespace apache { namespace airavata { namespace model { namespace appcatalog { namespace computeresource {
-
-class computeResourceModelConstants {
- public:
- computeResourceModelConstants();
-
- std::string DEFAULT_ID;
-};
-
-extern const computeResourceModelConstants g_computeResourceModel_constants;
-
-}}}}} // namespace
-
-#endif