You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sa...@apache.org on 2014/07/22 17:06:04 UTC
[39/50] [abbrv] Adding missing ASF V2 license headers
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationCatalogDataModel_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationCatalogDataModel_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationCatalogDataModel_types.h
deleted file mode 100644
index 814bcd3..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationCatalogDataModel_types.h
+++ /dev/null
@@ -1,713 +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 applicationCatalogDataModel_TYPES_H
-#define applicationCatalogDataModel_TYPES_H
-
-#include <thrift/Thrift.h>
-#include <thrift/TApplicationException.h>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/transport/TTransport.h>
-
-#include <thrift/cxxfunctional.h>
-
-
-
-
-struct ResourceJobManager {
- enum type {
- FORK = 0,
- PBS = 1,
- UGE = 2,
- SLURM = 3
- };
-};
-
-extern const std::map<int, const char*> _ResourceJobManager_VALUES_TO_NAMES;
-
-struct JobSubmissionProtocol {
- enum type {
- SSH = 0,
- GSISSH = 1,
- GRAM = 2,
- UNICORE = 3
- };
-};
-
-extern const std::map<int, const char*> _JobSubmissionProtocol_VALUES_TO_NAMES;
-
-struct DataMovementProtocol {
- enum type {
- SCP = 0,
- SFTP = 1,
- GridFTP = 2,
- UNICORE_STORAGE_SERVICE = 3
- };
-};
-
-extern const std::map<int, const char*> _DataMovementProtocol_VALUES_TO_NAMES;
-
-struct SecurityProtocol {
- enum type {
- USERNAME_PASSWORD = 0,
- SSH_KEYS = 1,
- GSI = 2,
- KERBEROS = 3,
- OAUTH = 4
- };
-};
-
-extern const std::map<int, const char*> _SecurityProtocol_VALUES_TO_NAMES;
-
-typedef struct _SCPDataMovement__isset {
- _SCPDataMovement__isset() : sshPort(true) {}
- bool sshPort;
-} _SCPDataMovement__isset;
-
-class SCPDataMovement {
- public:
-
- static const char* ascii_fingerprint; // = "FEB6B2CD28861B4EED855CACA1FEF2CB";
- static const uint8_t binary_fingerprint[16]; // = {0xFE,0xB6,0xB2,0xCD,0x28,0x86,0x1B,0x4E,0xED,0x85,0x5C,0xAC,0xA1,0xFE,0xF2,0xCB};
-
- SCPDataMovement() : dataMovementDataID("DO_NOT_SET_AT_CLIENTS"), securityProtocol((SecurityProtocol::type)0), sshPort(22) {
- }
-
- virtual ~SCPDataMovement() throw() {}
-
- std::string dataMovementDataID;
- SecurityProtocol::type securityProtocol;
- int32_t sshPort;
-
- _SCPDataMovement__isset __isset;
-
- void __set_dataMovementDataID(const std::string& val) {
- dataMovementDataID = val;
- }
-
- void __set_securityProtocol(const SecurityProtocol::type val) {
- securityProtocol = val;
- }
-
- void __set_sshPort(const int32_t val) {
- sshPort = val;
- __isset.sshPort = true;
- }
-
- bool operator == (const SCPDataMovement & rhs) const
- {
- if (!(dataMovementDataID == rhs.dataMovementDataID))
- return false;
- if (!(securityProtocol == rhs.securityProtocol))
- return false;
- if (__isset.sshPort != rhs.__isset.sshPort)
- return false;
- else if (__isset.sshPort && !(sshPort == rhs.sshPort))
- return false;
- return true;
- }
- bool operator != (const SCPDataMovement &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const SCPDataMovement & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(SCPDataMovement &a, SCPDataMovement &b);
-
-
-class GridFTPDataMovement {
- public:
-
- static const char* ascii_fingerprint; // = "790EE8B1D56A3B9B76C41DD063726E75";
- static const uint8_t binary_fingerprint[16]; // = {0x79,0x0E,0xE8,0xB1,0xD5,0x6A,0x3B,0x9B,0x76,0xC4,0x1D,0xD0,0x63,0x72,0x6E,0x75};
-
- GridFTPDataMovement() : dataMovementDataID("DO_NOT_SET_AT_CLIENTS"), securityProtocol((SecurityProtocol::type)0) {
- }
-
- virtual ~GridFTPDataMovement() throw() {}
-
- std::string dataMovementDataID;
- SecurityProtocol::type securityProtocol;
- std::vector<std::string> gridFTPEndPoint;
-
- void __set_dataMovementDataID(const std::string& val) {
- dataMovementDataID = val;
- }
-
- void __set_securityProtocol(const SecurityProtocol::type val) {
- securityProtocol = val;
- }
-
- void __set_gridFTPEndPoint(const std::vector<std::string> & val) {
- gridFTPEndPoint = val;
- }
-
- bool operator == (const GridFTPDataMovement & rhs) const
- {
- if (!(dataMovementDataID == rhs.dataMovementDataID))
- return false;
- if (!(securityProtocol == rhs.securityProtocol))
- return false;
- if (!(gridFTPEndPoint == rhs.gridFTPEndPoint))
- return false;
- return true;
- }
- bool operator != (const GridFTPDataMovement &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const GridFTPDataMovement & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(GridFTPDataMovement &a, GridFTPDataMovement &b);
-
-typedef struct _SSHJobSubmission__isset {
- _SSHJobSubmission__isset() : sshPort(true) {}
- bool sshPort;
-} _SSHJobSubmission__isset;
-
-class SSHJobSubmission {
- public:
-
- static const char* ascii_fingerprint; // = "FEB6B2CD28861B4EED855CACA1FEF2CB";
- static const uint8_t binary_fingerprint[16]; // = {0xFE,0xB6,0xB2,0xCD,0x28,0x86,0x1B,0x4E,0xED,0x85,0x5C,0xAC,0xA1,0xFE,0xF2,0xCB};
-
- SSHJobSubmission() : jobSubmissionDataID("DO_NOT_SET_AT_CLIENTS"), resourceJobManager((ResourceJobManager::type)0), sshPort(22) {
- }
-
- virtual ~SSHJobSubmission() throw() {}
-
- std::string jobSubmissionDataID;
- ResourceJobManager::type resourceJobManager;
- int32_t sshPort;
-
- _SSHJobSubmission__isset __isset;
-
- void __set_jobSubmissionDataID(const std::string& val) {
- jobSubmissionDataID = val;
- }
-
- void __set_resourceJobManager(const ResourceJobManager::type val) {
- resourceJobManager = val;
- }
-
- void __set_sshPort(const int32_t val) {
- sshPort = val;
- __isset.sshPort = true;
- }
-
- bool operator == (const SSHJobSubmission & rhs) const
- {
- if (!(jobSubmissionDataID == rhs.jobSubmissionDataID))
- return false;
- if (!(resourceJobManager == rhs.resourceJobManager))
- return false;
- if (__isset.sshPort != rhs.__isset.sshPort)
- return false;
- else if (__isset.sshPort && !(sshPort == rhs.sshPort))
- return false;
- return true;
- }
- bool operator != (const SSHJobSubmission &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const SSHJobSubmission & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(SSHJobSubmission &a, SSHJobSubmission &b);
-
-typedef struct _GlobusJobSubmission__isset {
- _GlobusJobSubmission__isset() : globusGateKeeperEndPoint(false) {}
- bool globusGateKeeperEndPoint;
-} _GlobusJobSubmission__isset;
-
-class GlobusJobSubmission {
- public:
-
- static const char* ascii_fingerprint; // = "DF4253F78D7B543C16FA461660D38A03";
- static const uint8_t binary_fingerprint[16]; // = {0xDF,0x42,0x53,0xF7,0x8D,0x7B,0x54,0x3C,0x16,0xFA,0x46,0x16,0x60,0xD3,0x8A,0x03};
-
- GlobusJobSubmission() : jobSubmissionDataID("DO_NOT_SET_AT_CLIENTS"), securityProtocol((SecurityProtocol::type)0), resourceJobManager((ResourceJobManager::type)0) {
- }
-
- virtual ~GlobusJobSubmission() throw() {}
-
- std::string jobSubmissionDataID;
- SecurityProtocol::type securityProtocol;
- ResourceJobManager::type resourceJobManager;
- std::vector<std::string> globusGateKeeperEndPoint;
-
- _GlobusJobSubmission__isset __isset;
-
- void __set_jobSubmissionDataID(const std::string& val) {
- jobSubmissionDataID = val;
- }
-
- void __set_securityProtocol(const SecurityProtocol::type val) {
- securityProtocol = val;
- }
-
- void __set_resourceJobManager(const ResourceJobManager::type val) {
- resourceJobManager = val;
- }
-
- void __set_globusGateKeeperEndPoint(const std::vector<std::string> & val) {
- globusGateKeeperEndPoint = val;
- __isset.globusGateKeeperEndPoint = true;
- }
-
- bool operator == (const GlobusJobSubmission & rhs) const
- {
- if (!(jobSubmissionDataID == rhs.jobSubmissionDataID))
- return false;
- if (!(securityProtocol == rhs.securityProtocol))
- return false;
- if (!(resourceJobManager == rhs.resourceJobManager))
- return false;
- if (__isset.globusGateKeeperEndPoint != rhs.__isset.globusGateKeeperEndPoint)
- return false;
- else if (__isset.globusGateKeeperEndPoint && !(globusGateKeeperEndPoint == rhs.globusGateKeeperEndPoint))
- return false;
- return true;
- }
- bool operator != (const GlobusJobSubmission &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const GlobusJobSubmission & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(GlobusJobSubmission &a, GlobusJobSubmission &b);
-
-typedef struct _GSISSHJobSubmission__isset {
- _GSISSHJobSubmission__isset() : sshPort(true), exports(false), preJobCommands(false), postJobCommands(false), installedPath(false), monitorMode(false) {}
- bool sshPort;
- bool exports;
- bool preJobCommands;
- bool postJobCommands;
- bool installedPath;
- bool monitorMode;
-} _GSISSHJobSubmission__isset;
-
-class GSISSHJobSubmission {
- public:
-
- static const char* ascii_fingerprint; // = "6969A7F145C4403B2F9081A498E933FD";
- static const uint8_t binary_fingerprint[16]; // = {0x69,0x69,0xA7,0xF1,0x45,0xC4,0x40,0x3B,0x2F,0x90,0x81,0xA4,0x98,0xE9,0x33,0xFD};
-
- GSISSHJobSubmission() : jobSubmissionDataID("DO_NOT_SET_AT_CLIENTS"), resourceJobManager((ResourceJobManager::type)0), sshPort(22), installedPath(), monitorMode() {
- }
-
- virtual ~GSISSHJobSubmission() throw() {}
-
- std::string jobSubmissionDataID;
- ResourceJobManager::type resourceJobManager;
- int32_t sshPort;
- std::set<std::string> exports;
- std::vector<std::string> preJobCommands;
- std::vector<std::string> postJobCommands;
- std::string installedPath;
- std::string monitorMode;
-
- _GSISSHJobSubmission__isset __isset;
-
- void __set_jobSubmissionDataID(const std::string& val) {
- jobSubmissionDataID = val;
- }
-
- void __set_resourceJobManager(const ResourceJobManager::type val) {
- resourceJobManager = val;
- }
-
- void __set_sshPort(const int32_t val) {
- sshPort = val;
- __isset.sshPort = true;
- }
-
- void __set_exports(const std::set<std::string> & val) {
- exports = val;
- __isset.exports = true;
- }
-
- void __set_preJobCommands(const std::vector<std::string> & val) {
- preJobCommands = val;
- __isset.preJobCommands = true;
- }
-
- void __set_postJobCommands(const std::vector<std::string> & val) {
- postJobCommands = val;
- __isset.postJobCommands = true;
- }
-
- void __set_installedPath(const std::string& val) {
- installedPath = val;
- __isset.installedPath = true;
- }
-
- void __set_monitorMode(const std::string& val) {
- monitorMode = val;
- __isset.monitorMode = true;
- }
-
- bool operator == (const GSISSHJobSubmission & rhs) const
- {
- if (!(jobSubmissionDataID == rhs.jobSubmissionDataID))
- return false;
- if (!(resourceJobManager == rhs.resourceJobManager))
- return false;
- if (__isset.sshPort != rhs.__isset.sshPort)
- return false;
- else if (__isset.sshPort && !(sshPort == rhs.sshPort))
- return false;
- if (__isset.exports != rhs.__isset.exports)
- return false;
- else if (__isset.exports && !(exports == rhs.exports))
- return false;
- if (__isset.preJobCommands != rhs.__isset.preJobCommands)
- return false;
- else if (__isset.preJobCommands && !(preJobCommands == rhs.preJobCommands))
- return false;
- if (__isset.postJobCommands != rhs.__isset.postJobCommands)
- return false;
- else if (__isset.postJobCommands && !(postJobCommands == rhs.postJobCommands))
- return false;
- if (__isset.installedPath != rhs.__isset.installedPath)
- return false;
- else if (__isset.installedPath && !(installedPath == rhs.installedPath))
- return false;
- if (__isset.monitorMode != rhs.__isset.monitorMode)
- return false;
- else if (__isset.monitorMode && !(monitorMode == rhs.monitorMode))
- return false;
- return true;
- }
- bool operator != (const GSISSHJobSubmission &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const GSISSHJobSubmission & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(GSISSHJobSubmission &a, GSISSHJobSubmission &b);
-
-typedef struct _ComputeResourceDescription__isset {
- _ComputeResourceDescription__isset() : hostAliases(false), ipAddresses(false), resourceDescription(false), scratchLocation(false), preferredJobSubmissionProtocol(false) {}
- bool hostAliases;
- bool ipAddresses;
- bool resourceDescription;
- bool scratchLocation;
- bool preferredJobSubmissionProtocol;
-} _ComputeResourceDescription__isset;
-
-class ComputeResourceDescription {
- public:
-
- static const char* ascii_fingerprint; // = "BA89EA8A5D740F97C53BA51CA49FEC18";
- static const uint8_t binary_fingerprint[16]; // = {0xBA,0x89,0xEA,0x8A,0x5D,0x74,0x0F,0x97,0xC5,0x3B,0xA5,0x1C,0xA4,0x9F,0xEC,0x18};
-
- ComputeResourceDescription() : isEmpty(false), resourceId("DO_NOT_SET_AT_CLIENTS"), hostName(), resourceDescription(), scratchLocation(), preferredJobSubmissionProtocol() {
- }
-
- virtual ~ComputeResourceDescription() throw() {}
-
- bool isEmpty;
- std::string resourceId;
- std::string hostName;
- std::set<std::string> hostAliases;
- std::set<std::string> ipAddresses;
- std::string resourceDescription;
- std::string scratchLocation;
- std::string preferredJobSubmissionProtocol;
- std::map<std::string, JobSubmissionProtocol::type> jobSubmissionProtocols;
- std::map<std::string, DataMovementProtocol::type> dataMovementProtocols;
-
- _ComputeResourceDescription__isset __isset;
-
- void __set_isEmpty(const bool val) {
- isEmpty = val;
- }
-
- void __set_resourceId(const std::string& val) {
- resourceId = val;
- }
-
- void __set_hostName(const std::string& val) {
- hostName = val;
- }
-
- void __set_hostAliases(const std::set<std::string> & val) {
- hostAliases = val;
- __isset.hostAliases = true;
- }
-
- void __set_ipAddresses(const std::set<std::string> & val) {
- ipAddresses = val;
- __isset.ipAddresses = true;
- }
-
- void __set_resourceDescription(const std::string& val) {
- resourceDescription = val;
- __isset.resourceDescription = true;
- }
-
- void __set_scratchLocation(const std::string& val) {
- scratchLocation = val;
- __isset.scratchLocation = true;
- }
-
- void __set_preferredJobSubmissionProtocol(const std::string& val) {
- preferredJobSubmissionProtocol = val;
- __isset.preferredJobSubmissionProtocol = true;
- }
-
- void __set_jobSubmissionProtocols(const std::map<std::string, JobSubmissionProtocol::type> & val) {
- jobSubmissionProtocols = val;
- }
-
- void __set_dataMovementProtocols(const std::map<std::string, DataMovementProtocol::type> & val) {
- dataMovementProtocols = val;
- }
-
- bool operator == (const ComputeResourceDescription & rhs) const
- {
- if (!(isEmpty == rhs.isEmpty))
- return false;
- if (!(resourceId == rhs.resourceId))
- return false;
- if (!(hostName == rhs.hostName))
- return false;
- if (__isset.hostAliases != rhs.__isset.hostAliases)
- return false;
- else if (__isset.hostAliases && !(hostAliases == rhs.hostAliases))
- return false;
- if (__isset.ipAddresses != rhs.__isset.ipAddresses)
- return false;
- else if (__isset.ipAddresses && !(ipAddresses == rhs.ipAddresses))
- return false;
- if (__isset.resourceDescription != rhs.__isset.resourceDescription)
- return false;
- else if (__isset.resourceDescription && !(resourceDescription == rhs.resourceDescription))
- return false;
- if (__isset.scratchLocation != rhs.__isset.scratchLocation)
- return false;
- else if (__isset.scratchLocation && !(scratchLocation == rhs.scratchLocation))
- return false;
- if (__isset.preferredJobSubmissionProtocol != rhs.__isset.preferredJobSubmissionProtocol)
- return false;
- else if (__isset.preferredJobSubmissionProtocol && !(preferredJobSubmissionProtocol == rhs.preferredJobSubmissionProtocol))
- return false;
- if (!(jobSubmissionProtocols == rhs.jobSubmissionProtocols))
- return false;
- if (!(dataMovementProtocols == rhs.dataMovementProtocols))
- return false;
- return true;
- }
- bool operator != (const ComputeResourceDescription &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ComputeResourceDescription & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(ComputeResourceDescription &a, ComputeResourceDescription &b);
-
-typedef struct _ApplicationDescriptor__isset {
- _ApplicationDescriptor__isset() : applicationDescriptorData(false) {}
- bool applicationDescriptorData;
-} _ApplicationDescriptor__isset;
-
-class ApplicationDescriptor {
- public:
-
- static const char* ascii_fingerprint; // = "5B708A954C550ECA9C1A49D3C5CAFAB9";
- static const uint8_t binary_fingerprint[16]; // = {0x5B,0x70,0x8A,0x95,0x4C,0x55,0x0E,0xCA,0x9C,0x1A,0x49,0xD3,0xC5,0xCA,0xFA,0xB9};
-
- ApplicationDescriptor() : applicationDescriptorId("DO_NOT_SET_AT_CLIENTS"), applicationDescriptorData() {
- }
-
- virtual ~ApplicationDescriptor() throw() {}
-
- std::string applicationDescriptorId;
- std::string applicationDescriptorData;
-
- _ApplicationDescriptor__isset __isset;
-
- void __set_applicationDescriptorId(const std::string& val) {
- applicationDescriptorId = val;
- }
-
- void __set_applicationDescriptorData(const std::string& val) {
- applicationDescriptorData = val;
- __isset.applicationDescriptorData = true;
- }
-
- bool operator == (const ApplicationDescriptor & rhs) const
- {
- if (!(applicationDescriptorId == rhs.applicationDescriptorId))
- return false;
- if (__isset.applicationDescriptorData != rhs.__isset.applicationDescriptorData)
- return false;
- else if (__isset.applicationDescriptorData && !(applicationDescriptorData == rhs.applicationDescriptorData))
- return false;
- return true;
- }
- bool operator != (const ApplicationDescriptor &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ApplicationDescriptor & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(ApplicationDescriptor &a, ApplicationDescriptor &b);
-
-
-class ApplicationDeployment {
- public:
-
- static const char* ascii_fingerprint; // = "960C379A1227D22F43E92F77C32827B9";
- static const uint8_t binary_fingerprint[16]; // = {0x96,0x0C,0x37,0x9A,0x12,0x27,0xD2,0x2F,0x43,0xE9,0x2F,0x77,0xC3,0x28,0x27,0xB9};
-
- ApplicationDeployment() : deploymentId("DO_NOT_SET_AT_CLIENTS") {
- }
-
- virtual ~ApplicationDeployment() throw() {}
-
- std::string deploymentId;
- ComputeResourceDescription computeResourceDescription;
- ApplicationDescriptor applicationDescriptor;
-
- void __set_deploymentId(const std::string& val) {
- deploymentId = val;
- }
-
- void __set_computeResourceDescription(const ComputeResourceDescription& val) {
- computeResourceDescription = val;
- }
-
- void __set_applicationDescriptor(const ApplicationDescriptor& val) {
- applicationDescriptor = val;
- }
-
- bool operator == (const ApplicationDeployment & rhs) const
- {
- if (!(deploymentId == rhs.deploymentId))
- return false;
- if (!(computeResourceDescription == rhs.computeResourceDescription))
- return false;
- if (!(applicationDescriptor == rhs.applicationDescriptor))
- return false;
- return true;
- }
- bool operator != (const ApplicationDeployment &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ApplicationDeployment & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(ApplicationDeployment &a, ApplicationDeployment &b);
-
-typedef struct _ApplicationInterface__isset {
- _ApplicationInterface__isset() : applicationInterfaceData(false), applicationDeployments(false) {}
- bool applicationInterfaceData;
- bool applicationDeployments;
-} _ApplicationInterface__isset;
-
-class ApplicationInterface {
- public:
-
- static const char* ascii_fingerprint; // = "EEF3E81C0A64CA93FD2422A6CF9ABA97";
- static const uint8_t binary_fingerprint[16]; // = {0xEE,0xF3,0xE8,0x1C,0x0A,0x64,0xCA,0x93,0xFD,0x24,0x22,0xA6,0xCF,0x9A,0xBA,0x97};
-
- ApplicationInterface() : applicationInterfaceId("DO_NOT_SET_AT_CLIENTS"), applicationInterfaceData() {
- }
-
- virtual ~ApplicationInterface() throw() {}
-
- std::string applicationInterfaceId;
- std::string applicationInterfaceData;
- std::vector<ApplicationDeployment> applicationDeployments;
-
- _ApplicationInterface__isset __isset;
-
- void __set_applicationInterfaceId(const std::string& val) {
- applicationInterfaceId = val;
- }
-
- void __set_applicationInterfaceData(const std::string& val) {
- applicationInterfaceData = val;
- __isset.applicationInterfaceData = true;
- }
-
- void __set_applicationDeployments(const std::vector<ApplicationDeployment> & val) {
- applicationDeployments = val;
- __isset.applicationDeployments = true;
- }
-
- bool operator == (const ApplicationInterface & rhs) const
- {
- if (!(applicationInterfaceId == rhs.applicationInterfaceId))
- return false;
- if (__isset.applicationInterfaceData != rhs.__isset.applicationInterfaceData)
- return false;
- else if (__isset.applicationInterfaceData && !(applicationInterfaceData == rhs.applicationInterfaceData))
- return false;
- if (__isset.applicationDeployments != rhs.__isset.applicationDeployments)
- return false;
- else if (__isset.applicationDeployments && !(applicationDeployments == rhs.applicationDeployments))
- return false;
- return true;
- }
- bool operator != (const ApplicationInterface &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ApplicationInterface & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(ApplicationInterface &a, ApplicationInterface &b);
-
-
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.cpp
index 52c0dac..2a53e66 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.cpp
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.h
index a0ba25e..90f7153 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_constants.h
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_types.cpp
index 6eee268..d29ca2d 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_types.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_types.cpp
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_types.h
index 62439bb..04956e4 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_types.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationDeploymentModel_types.h
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_constants.cpp
index da96617..acaa665 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_constants.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_constants.cpp
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_constants.h
index cf2a471..64c406d 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_constants.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_constants.h
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_types.cpp
index 7b0c4ba..81b5cb0 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_types.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_types.cpp
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_types.h
index 5627cfa..25a7499 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_types.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/applicationInterfaceModel_types.h
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_constants.cpp
index 4ea6bcb..4fc7df9 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_constants.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_constants.cpp
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_constants.h
index abdab96..21d3b3f 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_constants.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_constants.h
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_types.cpp
index 08eb394..98e32e6 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_types.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_types.cpp
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
@@ -621,6 +638,104 @@ void swap(GridFTPDataMovement &a, GridFTPDataMovement &b) {
swap(a.gridFTPEndPoints, b.gridFTPEndPoints);
}
+const char* UnicoreDataMovement::ascii_fingerprint = "D9F4CFE2F293A8B1052FD3031DD2C847";
+const uint8_t UnicoreDataMovement::binary_fingerprint[16] = {0xD9,0xF4,0xCF,0xE2,0xF2,0x93,0xA8,0xB1,0x05,0x2F,0xD3,0x03,0x1D,0xD2,0xC8,0x47};
+
+uint32_t UnicoreDataMovement::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_dataMovementInterfaceId = false;
+ bool isset_securityProtocol = false;
+ bool isset_unicoreEndPointURL = 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->dataMovementInterfaceId);
+ isset_dataMovementInterfaceId = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 2:
+ if (ftype == ::apache::thrift::protocol::T_I32) {
+ int32_t ecast18;
+ xfer += iprot->readI32(ecast18);
+ this->securityProtocol = (SecurityProtocol::type)ecast18;
+ isset_securityProtocol = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 3:
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
+ xfer += iprot->readString(this->unicoreEndPointURL);
+ isset_unicoreEndPointURL = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ if (!isset_dataMovementInterfaceId)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ if (!isset_securityProtocol)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ if (!isset_unicoreEndPointURL)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ return xfer;
+}
+
+uint32_t UnicoreDataMovement::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ xfer += oprot->writeStructBegin("UnicoreDataMovement");
+
+ xfer += oprot->writeFieldBegin("dataMovementInterfaceId", ::apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeString(this->dataMovementInterfaceId);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldBegin("securityProtocol", ::apache::thrift::protocol::T_I32, 2);
+ xfer += oprot->writeI32((int32_t)this->securityProtocol);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldBegin("unicoreEndPointURL", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString(this->unicoreEndPointURL);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+void swap(UnicoreDataMovement &a, UnicoreDataMovement &b) {
+ using ::std::swap;
+ swap(a.dataMovementInterfaceId, b.dataMovementInterfaceId);
+ swap(a.securityProtocol, b.securityProtocol);
+ swap(a.unicoreEndPointURL, b.unicoreEndPointURL);
+}
+
const char* LOCALSubmission::ascii_fingerprint = "A5A35C842CBE1CA9D6A13C5974C6FB8F";
const uint8_t LOCALSubmission::binary_fingerprint[16] = {0xA5,0xA3,0x5C,0x84,0x2C,0xBE,0x1C,0xA9,0xD6,0xA1,0x3C,0x59,0x74,0xC6,0xFB,0x8F};
@@ -801,9 +916,9 @@ uint32_t SSHJobSubmission::read(::apache::thrift::protocol::TProtocol* iprot) {
break;
case 2:
if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast18;
- xfer += iprot->readI32(ecast18);
- this->securityProtocol = (SecurityProtocol::type)ecast18;
+ int32_t ecast19;
+ xfer += iprot->readI32(ecast19);
+ this->securityProtocol = (SecurityProtocol::type)ecast19;
isset_securityProtocol = true;
} else {
xfer += iprot->skip(ftype);
@@ -927,9 +1042,9 @@ uint32_t GlobusJobSubmission::read(::apache::thrift::protocol::TProtocol* iprot)
break;
case 2:
if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast19;
- xfer += iprot->readI32(ecast19);
- this->securityProtocol = (SecurityProtocol::type)ecast19;
+ int32_t ecast20;
+ xfer += iprot->readI32(ecast20);
+ this->securityProtocol = (SecurityProtocol::type)ecast20;
isset_securityProtocol = true;
} else {
xfer += iprot->skip(ftype);
@@ -939,14 +1054,14 @@ uint32_t GlobusJobSubmission::read(::apache::thrift::protocol::TProtocol* iprot)
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->globusGateKeeperEndPoint.clear();
- uint32_t _size20;
- ::apache::thrift::protocol::TType _etype23;
- xfer += iprot->readListBegin(_etype23, _size20);
- this->globusGateKeeperEndPoint.resize(_size20);
- uint32_t _i24;
- for (_i24 = 0; _i24 < _size20; ++_i24)
+ uint32_t _size21;
+ ::apache::thrift::protocol::TType _etype24;
+ xfer += iprot->readListBegin(_etype24, _size21);
+ this->globusGateKeeperEndPoint.resize(_size21);
+ uint32_t _i25;
+ for (_i25 = 0; _i25 < _size21; ++_i25)
{
- xfer += iprot->readString(this->globusGateKeeperEndPoint[_i24]);
+ xfer += iprot->readString(this->globusGateKeeperEndPoint[_i25]);
}
xfer += iprot->readListEnd();
}
@@ -987,10 +1102,10 @@ uint32_t GlobusJobSubmission::write(::apache::thrift::protocol::TProtocol* oprot
xfer += oprot->writeFieldBegin("globusGateKeeperEndPoint", ::apache::thrift::protocol::T_LIST, 3);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->globusGateKeeperEndPoint.size()));
- std::vector<std::string> ::const_iterator _iter25;
- for (_iter25 = this->globusGateKeeperEndPoint.begin(); _iter25 != this->globusGateKeeperEndPoint.end(); ++_iter25)
+ std::vector<std::string> ::const_iterator _iter26;
+ for (_iter26 = this->globusGateKeeperEndPoint.begin(); _iter26 != this->globusGateKeeperEndPoint.end(); ++_iter26)
{
- xfer += oprot->writeString((*_iter25));
+ xfer += oprot->writeString((*_iter26));
}
xfer += oprot->writeListEnd();
}
@@ -1009,6 +1124,104 @@ void swap(GlobusJobSubmission &a, GlobusJobSubmission &b) {
swap(a.__isset, b.__isset);
}
+const char* UnicoreJobSubmission::ascii_fingerprint = "D9F4CFE2F293A8B1052FD3031DD2C847";
+const uint8_t UnicoreJobSubmission::binary_fingerprint[16] = {0xD9,0xF4,0xCF,0xE2,0xF2,0x93,0xA8,0xB1,0x05,0x2F,0xD3,0x03,0x1D,0xD2,0xC8,0x47};
+
+uint32_t UnicoreJobSubmission::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_jobSubmissionInterfaceId = false;
+ bool isset_securityProtocol = false;
+ bool isset_unicoreEndPointURL = 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->jobSubmissionInterfaceId);
+ isset_jobSubmissionInterfaceId = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 2:
+ if (ftype == ::apache::thrift::protocol::T_I32) {
+ int32_t ecast27;
+ xfer += iprot->readI32(ecast27);
+ this->securityProtocol = (SecurityProtocol::type)ecast27;
+ isset_securityProtocol = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ case 3:
+ if (ftype == ::apache::thrift::protocol::T_STRING) {
+ xfer += iprot->readString(this->unicoreEndPointURL);
+ isset_unicoreEndPointURL = true;
+ } else {
+ xfer += iprot->skip(ftype);
+ }
+ break;
+ default:
+ xfer += iprot->skip(ftype);
+ break;
+ }
+ xfer += iprot->readFieldEnd();
+ }
+
+ xfer += iprot->readStructEnd();
+
+ if (!isset_jobSubmissionInterfaceId)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ if (!isset_securityProtocol)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ if (!isset_unicoreEndPointURL)
+ throw TProtocolException(TProtocolException::INVALID_DATA);
+ return xfer;
+}
+
+uint32_t UnicoreJobSubmission::write(::apache::thrift::protocol::TProtocol* oprot) const {
+ uint32_t xfer = 0;
+ xfer += oprot->writeStructBegin("UnicoreJobSubmission");
+
+ xfer += oprot->writeFieldBegin("jobSubmissionInterfaceId", ::apache::thrift::protocol::T_STRING, 1);
+ xfer += oprot->writeString(this->jobSubmissionInterfaceId);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldBegin("securityProtocol", ::apache::thrift::protocol::T_I32, 2);
+ xfer += oprot->writeI32((int32_t)this->securityProtocol);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldBegin("unicoreEndPointURL", ::apache::thrift::protocol::T_STRING, 3);
+ xfer += oprot->writeString(this->unicoreEndPointURL);
+ xfer += oprot->writeFieldEnd();
+
+ xfer += oprot->writeFieldStop();
+ xfer += oprot->writeStructEnd();
+ return xfer;
+}
+
+void swap(UnicoreJobSubmission &a, UnicoreJobSubmission &b) {
+ using ::std::swap;
+ swap(a.jobSubmissionInterfaceId, b.jobSubmissionInterfaceId);
+ swap(a.securityProtocol, b.securityProtocol);
+ swap(a.unicoreEndPointURL, b.unicoreEndPointURL);
+}
+
const char* JobSubmissionInterface::ascii_fingerprint = "A0A4DD7B8243FB842E64EAC6E5DA6C7B";
const uint8_t JobSubmissionInterface::binary_fingerprint[16] = {0xA0,0xA4,0xDD,0x7B,0x82,0x43,0xFB,0x84,0x2E,0x64,0xEA,0xC6,0xE5,0xDA,0x6C,0x7B};
@@ -1045,9 +1258,9 @@ uint32_t JobSubmissionInterface::read(::apache::thrift::protocol::TProtocol* ipr
break;
case 2:
if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast26;
- xfer += iprot->readI32(ecast26);
- this->jobSubmissionProtocol = (JobSubmissionProtocol::type)ecast26;
+ int32_t ecast28;
+ xfer += iprot->readI32(ecast28);
+ this->jobSubmissionProtocol = (JobSubmissionProtocol::type)ecast28;
isset_jobSubmissionProtocol = true;
} else {
xfer += iprot->skip(ftype);
@@ -1143,9 +1356,9 @@ uint32_t DataMovementInterface::read(::apache::thrift::protocol::TProtocol* ipro
break;
case 2:
if (ftype == ::apache::thrift::protocol::T_I32) {
- int32_t ecast27;
- xfer += iprot->readI32(ecast27);
- this->dataMovementProtocol = (DataMovementProtocol::type)ecast27;
+ int32_t ecast29;
+ xfer += iprot->readI32(ecast29);
+ this->dataMovementProtocol = (DataMovementProtocol::type)ecast29;
isset_dataMovementProtocol = true;
} else {
xfer += iprot->skip(ftype);
@@ -1250,15 +1463,15 @@ uint32_t ComputeResourceDescription::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_SET) {
{
this->hostAliases.clear();
- uint32_t _size28;
- ::apache::thrift::protocol::TType _etype31;
- xfer += iprot->readSetBegin(_etype31, _size28);
- uint32_t _i32;
- for (_i32 = 0; _i32 < _size28; ++_i32)
+ uint32_t _size30;
+ ::apache::thrift::protocol::TType _etype33;
+ xfer += iprot->readSetBegin(_etype33, _size30);
+ uint32_t _i34;
+ for (_i34 = 0; _i34 < _size30; ++_i34)
{
- std::string _elem33;
- xfer += iprot->readString(_elem33);
- this->hostAliases.insert(_elem33);
+ std::string _elem35;
+ xfer += iprot->readString(_elem35);
+ this->hostAliases.insert(_elem35);
}
xfer += iprot->readSetEnd();
}
@@ -1271,15 +1484,15 @@ uint32_t ComputeResourceDescription::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_SET) {
{
this->ipAddresses.clear();
- uint32_t _size34;
- ::apache::thrift::protocol::TType _etype37;
- xfer += iprot->readSetBegin(_etype37, _size34);
- uint32_t _i38;
- for (_i38 = 0; _i38 < _size34; ++_i38)
+ uint32_t _size36;
+ ::apache::thrift::protocol::TType _etype39;
+ xfer += iprot->readSetBegin(_etype39, _size36);
+ uint32_t _i40;
+ for (_i40 = 0; _i40 < _size36; ++_i40)
{
- std::string _elem39;
- xfer += iprot->readString(_elem39);
- this->ipAddresses.insert(_elem39);
+ std::string _elem41;
+ xfer += iprot->readString(_elem41);
+ this->ipAddresses.insert(_elem41);
}
xfer += iprot->readSetEnd();
}
@@ -1300,14 +1513,14 @@ uint32_t ComputeResourceDescription::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->batchQueues.clear();
- uint32_t _size40;
- ::apache::thrift::protocol::TType _etype43;
- xfer += iprot->readListBegin(_etype43, _size40);
- this->batchQueues.resize(_size40);
- uint32_t _i44;
- for (_i44 = 0; _i44 < _size40; ++_i44)
+ uint32_t _size42;
+ ::apache::thrift::protocol::TType _etype45;
+ xfer += iprot->readListBegin(_etype45, _size42);
+ this->batchQueues.resize(_size42);
+ uint32_t _i46;
+ for (_i46 = 0; _i46 < _size42; ++_i46)
{
- xfer += this->batchQueues[_i44].read(iprot);
+ xfer += this->batchQueues[_i46].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -1320,19 +1533,19 @@ uint32_t ComputeResourceDescription::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_MAP) {
{
this->fileSystems.clear();
- uint32_t _size45;
- ::apache::thrift::protocol::TType _ktype46;
- ::apache::thrift::protocol::TType _vtype47;
- xfer += iprot->readMapBegin(_ktype46, _vtype47, _size45);
- uint32_t _i49;
- for (_i49 = 0; _i49 < _size45; ++_i49)
+ uint32_t _size47;
+ ::apache::thrift::protocol::TType _ktype48;
+ ::apache::thrift::protocol::TType _vtype49;
+ xfer += iprot->readMapBegin(_ktype48, _vtype49, _size47);
+ uint32_t _i51;
+ for (_i51 = 0; _i51 < _size47; ++_i51)
{
- FileSystems::type _key50;
- int32_t ecast52;
- xfer += iprot->readI32(ecast52);
- _key50 = (FileSystems::type)ecast52;
- std::string& _val51 = this->fileSystems[_key50];
- xfer += iprot->readString(_val51);
+ FileSystems::type _key52;
+ int32_t ecast54;
+ xfer += iprot->readI32(ecast54);
+ _key52 = (FileSystems::type)ecast54;
+ std::string& _val53 = this->fileSystems[_key52];
+ xfer += iprot->readString(_val53);
}
xfer += iprot->readMapEnd();
}
@@ -1345,14 +1558,14 @@ uint32_t ComputeResourceDescription::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->jobSubmissionInterfaces.clear();
- uint32_t _size53;
- ::apache::thrift::protocol::TType _etype56;
- xfer += iprot->readListBegin(_etype56, _size53);
- this->jobSubmissionInterfaces.resize(_size53);
- uint32_t _i57;
- for (_i57 = 0; _i57 < _size53; ++_i57)
+ uint32_t _size55;
+ ::apache::thrift::protocol::TType _etype58;
+ xfer += iprot->readListBegin(_etype58, _size55);
+ this->jobSubmissionInterfaces.resize(_size55);
+ uint32_t _i59;
+ for (_i59 = 0; _i59 < _size55; ++_i59)
{
- xfer += this->jobSubmissionInterfaces[_i57].read(iprot);
+ xfer += this->jobSubmissionInterfaces[_i59].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -1365,14 +1578,14 @@ uint32_t ComputeResourceDescription::read(::apache::thrift::protocol::TProtocol*
if (ftype == ::apache::thrift::protocol::T_LIST) {
{
this->dataMovementInterfaces.clear();
- uint32_t _size58;
- ::apache::thrift::protocol::TType _etype61;
- xfer += iprot->readListBegin(_etype61, _size58);
- this->dataMovementInterfaces.resize(_size58);
- uint32_t _i62;
- for (_i62 = 0; _i62 < _size58; ++_i62)
+ uint32_t _size60;
+ ::apache::thrift::protocol::TType _etype63;
+ xfer += iprot->readListBegin(_etype63, _size60);
+ this->dataMovementInterfaces.resize(_size60);
+ uint32_t _i64;
+ for (_i64 = 0; _i64 < _size60; ++_i64)
{
- xfer += this->dataMovementInterfaces[_i62].read(iprot);
+ xfer += this->dataMovementInterfaces[_i64].read(iprot);
}
xfer += iprot->readListEnd();
}
@@ -1413,10 +1626,10 @@ uint32_t ComputeResourceDescription::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldBegin("hostAliases", ::apache::thrift::protocol::T_SET, 3);
{
xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->hostAliases.size()));
- std::set<std::string> ::const_iterator _iter63;
- for (_iter63 = this->hostAliases.begin(); _iter63 != this->hostAliases.end(); ++_iter63)
+ std::set<std::string> ::const_iterator _iter65;
+ for (_iter65 = this->hostAliases.begin(); _iter65 != this->hostAliases.end(); ++_iter65)
{
- xfer += oprot->writeString((*_iter63));
+ xfer += oprot->writeString((*_iter65));
}
xfer += oprot->writeSetEnd();
}
@@ -1426,10 +1639,10 @@ uint32_t ComputeResourceDescription::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldBegin("ipAddresses", ::apache::thrift::protocol::T_SET, 4);
{
xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->ipAddresses.size()));
- std::set<std::string> ::const_iterator _iter64;
- for (_iter64 = this->ipAddresses.begin(); _iter64 != this->ipAddresses.end(); ++_iter64)
+ std::set<std::string> ::const_iterator _iter66;
+ for (_iter66 = this->ipAddresses.begin(); _iter66 != this->ipAddresses.end(); ++_iter66)
{
- xfer += oprot->writeString((*_iter64));
+ xfer += oprot->writeString((*_iter66));
}
xfer += oprot->writeSetEnd();
}
@@ -1444,10 +1657,10 @@ uint32_t ComputeResourceDescription::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldBegin("batchQueues", ::apache::thrift::protocol::T_LIST, 6);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->batchQueues.size()));
- std::vector<BatchQueue> ::const_iterator _iter65;
- for (_iter65 = this->batchQueues.begin(); _iter65 != this->batchQueues.end(); ++_iter65)
+ std::vector<BatchQueue> ::const_iterator _iter67;
+ for (_iter67 = this->batchQueues.begin(); _iter67 != this->batchQueues.end(); ++_iter67)
{
- xfer += (*_iter65).write(oprot);
+ xfer += (*_iter67).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -1457,11 +1670,11 @@ uint32_t ComputeResourceDescription::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldBegin("fileSystems", ::apache::thrift::protocol::T_MAP, 7);
{
xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I32, ::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->fileSystems.size()));
- std::map<FileSystems::type, std::string> ::const_iterator _iter66;
- for (_iter66 = this->fileSystems.begin(); _iter66 != this->fileSystems.end(); ++_iter66)
+ std::map<FileSystems::type, std::string> ::const_iterator _iter68;
+ for (_iter68 = this->fileSystems.begin(); _iter68 != this->fileSystems.end(); ++_iter68)
{
- xfer += oprot->writeI32((int32_t)_iter66->first);
- xfer += oprot->writeString(_iter66->second);
+ xfer += oprot->writeI32((int32_t)_iter68->first);
+ xfer += oprot->writeString(_iter68->second);
}
xfer += oprot->writeMapEnd();
}
@@ -1471,10 +1684,10 @@ uint32_t ComputeResourceDescription::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldBegin("jobSubmissionInterfaces", ::apache::thrift::protocol::T_LIST, 8);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->jobSubmissionInterfaces.size()));
- std::vector<JobSubmissionInterface> ::const_iterator _iter67;
- for (_iter67 = this->jobSubmissionInterfaces.begin(); _iter67 != this->jobSubmissionInterfaces.end(); ++_iter67)
+ std::vector<JobSubmissionInterface> ::const_iterator _iter69;
+ for (_iter69 = this->jobSubmissionInterfaces.begin(); _iter69 != this->jobSubmissionInterfaces.end(); ++_iter69)
{
- xfer += (*_iter67).write(oprot);
+ xfer += (*_iter69).write(oprot);
}
xfer += oprot->writeListEnd();
}
@@ -1484,10 +1697,10 @@ uint32_t ComputeResourceDescription::write(::apache::thrift::protocol::TProtocol
xfer += oprot->writeFieldBegin("dataMovementInterfaces", ::apache::thrift::protocol::T_LIST, 9);
{
xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->dataMovementInterfaces.size()));
- std::vector<DataMovementInterface> ::const_iterator _iter68;
- for (_iter68 = this->dataMovementInterfaces.begin(); _iter68 != this->dataMovementInterfaces.end(); ++_iter68)
+ std::vector<DataMovementInterface> ::const_iterator _iter70;
+ for (_iter70 = this->dataMovementInterfaces.begin(); _iter70 != this->dataMovementInterfaces.end(); ++_iter70)
{
- xfer += (*_iter68).write(oprot);
+ xfer += (*_iter70).write(oprot);
}
xfer += oprot->writeListEnd();
}
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_types.h
index d6675b6..6498d96 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_types.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/computeResourceModel_types.h
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
@@ -391,6 +408,57 @@ class GridFTPDataMovement {
void swap(GridFTPDataMovement &a, GridFTPDataMovement &b);
+class UnicoreDataMovement {
+ public:
+
+ static const char* ascii_fingerprint; // = "D9F4CFE2F293A8B1052FD3031DD2C847";
+ static const uint8_t binary_fingerprint[16]; // = {0xD9,0xF4,0xCF,0xE2,0xF2,0x93,0xA8,0xB1,0x05,0x2F,0xD3,0x03,0x1D,0xD2,0xC8,0x47};
+
+ UnicoreDataMovement() : dataMovementInterfaceId("DO_NOT_SET_AT_CLIENTS"), securityProtocol((SecurityProtocol::type)0), unicoreEndPointURL() {
+ }
+
+ virtual ~UnicoreDataMovement() throw() {}
+
+ std::string dataMovementInterfaceId;
+ SecurityProtocol::type securityProtocol;
+ std::string unicoreEndPointURL;
+
+ void __set_dataMovementInterfaceId(const std::string& val) {
+ dataMovementInterfaceId = val;
+ }
+
+ void __set_securityProtocol(const SecurityProtocol::type val) {
+ securityProtocol = val;
+ }
+
+ void __set_unicoreEndPointURL(const std::string& val) {
+ unicoreEndPointURL = val;
+ }
+
+ bool operator == (const UnicoreDataMovement & rhs) const
+ {
+ if (!(dataMovementInterfaceId == rhs.dataMovementInterfaceId))
+ return false;
+ if (!(securityProtocol == rhs.securityProtocol))
+ return false;
+ if (!(unicoreEndPointURL == rhs.unicoreEndPointURL))
+ return false;
+ return true;
+ }
+ bool operator != (const UnicoreDataMovement &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const UnicoreDataMovement & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+void swap(UnicoreDataMovement &a, UnicoreDataMovement &b);
+
+
class LOCALSubmission {
public:
@@ -610,6 +678,57 @@ class GlobusJobSubmission {
void swap(GlobusJobSubmission &a, GlobusJobSubmission &b);
+class UnicoreJobSubmission {
+ public:
+
+ static const char* ascii_fingerprint; // = "D9F4CFE2F293A8B1052FD3031DD2C847";
+ static const uint8_t binary_fingerprint[16]; // = {0xD9,0xF4,0xCF,0xE2,0xF2,0x93,0xA8,0xB1,0x05,0x2F,0xD3,0x03,0x1D,0xD2,0xC8,0x47};
+
+ UnicoreJobSubmission() : jobSubmissionInterfaceId("DO_NOT_SET_AT_CLIENTS"), securityProtocol((SecurityProtocol::type)0), unicoreEndPointURL() {
+ }
+
+ virtual ~UnicoreJobSubmission() throw() {}
+
+ std::string jobSubmissionInterfaceId;
+ SecurityProtocol::type securityProtocol;
+ std::string unicoreEndPointURL;
+
+ void __set_jobSubmissionInterfaceId(const std::string& val) {
+ jobSubmissionInterfaceId = val;
+ }
+
+ void __set_securityProtocol(const SecurityProtocol::type val) {
+ securityProtocol = val;
+ }
+
+ void __set_unicoreEndPointURL(const std::string& val) {
+ unicoreEndPointURL = val;
+ }
+
+ bool operator == (const UnicoreJobSubmission & rhs) const
+ {
+ if (!(jobSubmissionInterfaceId == rhs.jobSubmissionInterfaceId))
+ return false;
+ if (!(securityProtocol == rhs.securityProtocol))
+ return false;
+ if (!(unicoreEndPointURL == rhs.unicoreEndPointURL))
+ return false;
+ return true;
+ }
+ bool operator != (const UnicoreJobSubmission &rhs) const {
+ return !(*this == rhs);
+ }
+
+ bool operator < (const UnicoreJobSubmission & ) const;
+
+ uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
+ uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
+
+};
+
+void swap(UnicoreJobSubmission &a, UnicoreJobSubmission &b);
+
+
class JobSubmissionInterface {
public:
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_constants.cpp
index 2536b3a..6ac0ea5 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_constants.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_constants.cpp
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_constants.h
index 907d112..76d84af 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_constants.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_constants.h
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_types.cpp
index 08010d0..3910926 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_types.cpp
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_types.cpp
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_types.h
index 42a6005..5481830 100644
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_types.h
+++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/experimentModel_types.h
@@ -1,3 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gatewayProfileModel_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gatewayProfileModel_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gatewayProfileModel_constants.cpp
deleted file mode 100644
index 8627ee3..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gatewayProfileModel_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 "gatewayProfileModel_constants.h"
-
-
-
-const gatewayProfileModelConstants g_gatewayProfileModel_constants;
-
-gatewayProfileModelConstants::gatewayProfileModelConstants() {
- DEFAULT_ID = "DO_NOT_SET_AT_CLIENTS";
-
-}
-
-
-
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gatewayProfileModel_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gatewayProfileModel_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gatewayProfileModel_constants.h
deleted file mode 100644
index 4061d03..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gatewayProfileModel_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 gatewayProfileModel_CONSTANTS_H
-#define gatewayProfileModel_CONSTANTS_H
-
-#include "gatewayProfileModel_types.h"
-
-
-
-class gatewayProfileModelConstants {
- public:
- gatewayProfileModelConstants();
-
- std::string DEFAULT_ID;
-};
-
-extern const gatewayProfileModelConstants g_gatewayProfileModel_constants;
-
-
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata/blob/a66dbe4a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gatewayProfileModel_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gatewayProfileModel_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gatewayProfileModel_types.cpp
deleted file mode 100644
index 896a770..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/gatewayProfileModel_types.cpp
+++ /dev/null
@@ -1,293 +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 "gatewayProfileModel_types.h"
-
-#include <algorithm>
-
-
-
-const char* ComputeResourcePreference::ascii_fingerprint = "9C98338B7E052CD4DEECB22F243D6DAE";
-const uint8_t ComputeResourcePreference::binary_fingerprint[16] = {0x9C,0x98,0x33,0x8B,0x7E,0x05,0x2C,0xD4,0xDE,0xEC,0xB2,0x2F,0x24,0x3D,0x6D,0xAE};
-
-uint32_t ComputeResourcePreference::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_computeResourceId = false;
- bool isset_overridebyAiravata = 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->computeResourceId);
- isset_computeResourceId = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_BOOL) {
- xfer += iprot->readBool(this->overridebyAiravata);
- isset_overridebyAiravata = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->preferredJobSubmissionProtocol);
- this->__isset.preferredJobSubmissionProtocol = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->preferredDataMovementProtocol);
- this->__isset.preferredDataMovementProtocol = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->preferredBatchQueue);
- this->__isset.preferredBatchQueue = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 6:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->scratchLocation);
- this->__isset.scratchLocation = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 7:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->allocationProjectNumber);
- this->__isset.allocationProjectNumber = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_computeResourceId)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_overridebyAiravata)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t ComputeResourcePreference::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("ComputeResourcePreference");
-
- xfer += oprot->writeFieldBegin("computeResourceId", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->computeResourceId);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("overridebyAiravata", ::apache::thrift::protocol::T_BOOL, 2);
- xfer += oprot->writeBool(this->overridebyAiravata);
- xfer += oprot->writeFieldEnd();
-
- if (this->__isset.preferredJobSubmissionProtocol) {
- xfer += oprot->writeFieldBegin("preferredJobSubmissionProtocol", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->preferredJobSubmissionProtocol);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.preferredDataMovementProtocol) {
- xfer += oprot->writeFieldBegin("preferredDataMovementProtocol", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeString(this->preferredDataMovementProtocol);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.preferredBatchQueue) {
- xfer += oprot->writeFieldBegin("preferredBatchQueue", ::apache::thrift::protocol::T_STRING, 5);
- xfer += oprot->writeString(this->preferredBatchQueue);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.scratchLocation) {
- xfer += oprot->writeFieldBegin("scratchLocation", ::apache::thrift::protocol::T_STRING, 6);
- xfer += oprot->writeString(this->scratchLocation);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.allocationProjectNumber) {
- xfer += oprot->writeFieldBegin("allocationProjectNumber", ::apache::thrift::protocol::T_STRING, 7);
- xfer += oprot->writeString(this->allocationProjectNumber);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(ComputeResourcePreference &a, ComputeResourcePreference &b) {
- using ::std::swap;
- swap(a.computeResourceId, b.computeResourceId);
- swap(a.overridebyAiravata, b.overridebyAiravata);
- swap(a.preferredJobSubmissionProtocol, b.preferredJobSubmissionProtocol);
- swap(a.preferredDataMovementProtocol, b.preferredDataMovementProtocol);
- swap(a.preferredBatchQueue, b.preferredBatchQueue);
- swap(a.scratchLocation, b.scratchLocation);
- swap(a.allocationProjectNumber, b.allocationProjectNumber);
- swap(a.__isset, b.__isset);
-}
-
-const char* GatewayProfile::ascii_fingerprint = "D6477904C48AAB4DC8F09369D670B400";
-const uint8_t GatewayProfile::binary_fingerprint[16] = {0xD6,0x47,0x79,0x04,0xC4,0x8A,0xAB,0x4D,0xC8,0xF0,0x93,0x69,0xD6,0x70,0xB4,0x00};
-
-uint32_t GatewayProfile::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_gatewayID = false;
- bool isset_gatewayName = 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->gatewayID);
- isset_gatewayID = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->gatewayName);
- isset_gatewayName = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->gatewayDescription);
- this->__isset.gatewayDescription = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->computeResourcePreferences.clear();
- uint32_t _size0;
- ::apache::thrift::protocol::TType _etype3;
- xfer += iprot->readListBegin(_etype3, _size0);
- this->computeResourcePreferences.resize(_size0);
- uint32_t _i4;
- for (_i4 = 0; _i4 < _size0; ++_i4)
- {
- xfer += this->computeResourcePreferences[_i4].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.computeResourcePreferences = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_gatewayID)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_gatewayName)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t GatewayProfile::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- xfer += oprot->writeStructBegin("GatewayProfile");
-
- xfer += oprot->writeFieldBegin("gatewayID", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->gatewayID);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("gatewayName", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->gatewayName);
- xfer += oprot->writeFieldEnd();
-
- if (this->__isset.gatewayDescription) {
- xfer += oprot->writeFieldBegin("gatewayDescription", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->gatewayDescription);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.computeResourcePreferences) {
- xfer += oprot->writeFieldBegin("computeResourcePreferences", ::apache::thrift::protocol::T_LIST, 4);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->computeResourcePreferences.size()));
- std::vector<ComputeResourcePreference> ::const_iterator _iter5;
- for (_iter5 = this->computeResourcePreferences.begin(); _iter5 != this->computeResourcePreferences.end(); ++_iter5)
- {
- xfer += (*_iter5).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(GatewayProfile &a, GatewayProfile &b) {
- using ::std::swap;
- swap(a.gatewayID, b.gatewayID);
- swap(a.gatewayName, b.gatewayName);
- swap(a.gatewayDescription, b.gatewayDescription);
- swap(a.computeResourcePreferences, b.computeResourcePreferences);
- swap(a.__isset, b.__isset);
-}
-
-