You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2016/12/13 22:09:51 UTC
[38/51] [partial] airavata-php-gateway git commit: removing files
from wrong merge
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavataErrors_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavataErrors_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavataErrors_types.h
deleted file mode 100644
index b7f648d..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavataErrors_types.h
+++ /dev/null
@@ -1,526 +0,0 @@
-/**
- * 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)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef airavataErrors_TYPES_H
-#define airavataErrors_TYPES_H
-
-#include <thrift/Thrift.h>
-#include <thrift/TApplicationException.h>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/transport/TTransport.h>
-
-#include <thrift/cxxfunctional.h>
-#include "experimentModel_types.h"
-
-
-namespace apache { namespace airavata { namespace api { namespace error {
-
-struct AiravataErrorType {
- enum type {
- UNKNOWN = 0,
- PERMISSION_DENIED = 1,
- INTERNAL_ERROR = 2,
- AUTHENTICATION_FAILURE = 3,
- INVALID_AUTHORIZATION = 4,
- AUTHORIZATION_EXPIRED = 5,
- UNKNOWN_GATEWAY_ID = 6,
- UNSUPPORTED_OPERATION = 7
- };
-};
-
-extern const std::map<int, const char*> _AiravataErrorType_VALUES_TO_NAMES;
-
-
-class ExperimentNotFoundException : public ::apache::thrift::TException {
- public:
-
- static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
- static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
-
- ExperimentNotFoundException() : message() {
- }
-
- virtual ~ExperimentNotFoundException() throw() {}
-
- std::string message;
-
- void __set_message(const std::string& val) {
- message = val;
- }
-
- bool operator == (const ExperimentNotFoundException & rhs) const
- {
- if (!(message == rhs.message))
- return false;
- return true;
- }
- bool operator != (const ExperimentNotFoundException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ExperimentNotFoundException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(ExperimentNotFoundException &a, ExperimentNotFoundException &b);
-
-
-class ProjectNotFoundException : public ::apache::thrift::TException {
- public:
-
- static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
- static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
-
- ProjectNotFoundException() : message() {
- }
-
- virtual ~ProjectNotFoundException() throw() {}
-
- std::string message;
-
- void __set_message(const std::string& val) {
- message = val;
- }
-
- bool operator == (const ProjectNotFoundException & rhs) const
- {
- if (!(message == rhs.message))
- return false;
- return true;
- }
- bool operator != (const ProjectNotFoundException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ProjectNotFoundException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(ProjectNotFoundException &a, ProjectNotFoundException &b);
-
-
-class InvalidRequestException : public ::apache::thrift::TException {
- public:
-
- static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
- static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
-
- InvalidRequestException() : message() {
- }
-
- virtual ~InvalidRequestException() throw() {}
-
- std::string message;
-
- void __set_message(const std::string& val) {
- message = val;
- }
-
- bool operator == (const InvalidRequestException & rhs) const
- {
- if (!(message == rhs.message))
- return false;
- return true;
- }
- bool operator != (const InvalidRequestException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const InvalidRequestException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(InvalidRequestException &a, InvalidRequestException &b);
-
-
-class TimedOutException : public ::apache::thrift::TException {
- public:
-
- static const char* ascii_fingerprint; // = "99914B932BD37A50B983C5E7C90AE93B";
- static const uint8_t binary_fingerprint[16]; // = {0x99,0x91,0x4B,0x93,0x2B,0xD3,0x7A,0x50,0xB9,0x83,0xC5,0xE7,0xC9,0x0A,0xE9,0x3B};
-
- TimedOutException() {
- }
-
- virtual ~TimedOutException() throw() {}
-
-
- bool operator == (const TimedOutException & /* rhs */) const
- {
- return true;
- }
- bool operator != (const TimedOutException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const TimedOutException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(TimedOutException &a, TimedOutException &b);
-
-
-class AuthenticationException : public ::apache::thrift::TException {
- public:
-
- static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
- static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
-
- AuthenticationException() : message() {
- }
-
- virtual ~AuthenticationException() throw() {}
-
- std::string message;
-
- void __set_message(const std::string& val) {
- message = val;
- }
-
- bool operator == (const AuthenticationException & rhs) const
- {
- if (!(message == rhs.message))
- return false;
- return true;
- }
- bool operator != (const AuthenticationException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const AuthenticationException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(AuthenticationException &a, AuthenticationException &b);
-
-
-class AuthorizationException : public ::apache::thrift::TException {
- public:
-
- static const char* ascii_fingerprint; // = "EFB929595D312AC8F305D5A794CFEDA1";
- static const uint8_t binary_fingerprint[16]; // = {0xEF,0xB9,0x29,0x59,0x5D,0x31,0x2A,0xC8,0xF3,0x05,0xD5,0xA7,0x94,0xCF,0xED,0xA1};
-
- AuthorizationException() : message() {
- }
-
- virtual ~AuthorizationException() throw() {}
-
- std::string message;
-
- void __set_message(const std::string& val) {
- message = val;
- }
-
- bool operator == (const AuthorizationException & rhs) const
- {
- if (!(message == rhs.message))
- return false;
- return true;
- }
- bool operator != (const AuthorizationException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const AuthorizationException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(AuthorizationException &a, AuthorizationException &b);
-
-typedef struct _AiravataClientException__isset {
- _AiravataClientException__isset() : parameter(false) {}
- bool parameter;
-} _AiravataClientException__isset;
-
-class AiravataClientException : public ::apache::thrift::TException {
- public:
-
- static const char* ascii_fingerprint; // = "24652790C81ECE22B629CB60A19F1E93";
- static const uint8_t binary_fingerprint[16]; // = {0x24,0x65,0x27,0x90,0xC8,0x1E,0xCE,0x22,0xB6,0x29,0xCB,0x60,0xA1,0x9F,0x1E,0x93};
-
- AiravataClientException() : airavataErrorType((AiravataErrorType::type)0), parameter() {
- }
-
- virtual ~AiravataClientException() throw() {}
-
- AiravataErrorType::type airavataErrorType;
- std::string parameter;
-
- _AiravataClientException__isset __isset;
-
- void __set_airavataErrorType(const AiravataErrorType::type val) {
- airavataErrorType = val;
- }
-
- void __set_parameter(const std::string& val) {
- parameter = val;
- __isset.parameter = true;
- }
-
- bool operator == (const AiravataClientException & rhs) const
- {
- if (!(airavataErrorType == rhs.airavataErrorType))
- return false;
- if (__isset.parameter != rhs.__isset.parameter)
- return false;
- else if (__isset.parameter && !(parameter == rhs.parameter))
- return false;
- return true;
- }
- bool operator != (const AiravataClientException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const AiravataClientException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(AiravataClientException &a, AiravataClientException &b);
-
-typedef struct _ValidatorResult__isset {
- _ValidatorResult__isset() : errorDetails(false) {}
- bool errorDetails;
-} _ValidatorResult__isset;
-
-class ValidatorResult {
- public:
-
- static const char* ascii_fingerprint; // = "EB04A806CFFC9025AEE48CFFDC378A86";
- static const uint8_t binary_fingerprint[16]; // = {0xEB,0x04,0xA8,0x06,0xCF,0xFC,0x90,0x25,0xAE,0xE4,0x8C,0xFF,0xDC,0x37,0x8A,0x86};
-
- ValidatorResult() : result(0), errorDetails() {
- }
-
- virtual ~ValidatorResult() throw() {}
-
- bool result;
- std::string errorDetails;
-
- _ValidatorResult__isset __isset;
-
- void __set_result(const bool val) {
- result = val;
- }
-
- void __set_errorDetails(const std::string& val) {
- errorDetails = val;
- __isset.errorDetails = true;
- }
-
- bool operator == (const ValidatorResult & rhs) const
- {
- if (!(result == rhs.result))
- return false;
- if (__isset.errorDetails != rhs.__isset.errorDetails)
- return false;
- else if (__isset.errorDetails && !(errorDetails == rhs.errorDetails))
- return false;
- return true;
- }
- bool operator != (const ValidatorResult &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ValidatorResult & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(ValidatorResult &a, ValidatorResult &b);
-
-
-class ValidationResults {
- public:
-
- static const char* ascii_fingerprint; // = "E73BC8630EE405DA5FB801ED852143D2";
- static const uint8_t binary_fingerprint[16]; // = {0xE7,0x3B,0xC8,0x63,0x0E,0xE4,0x05,0xDA,0x5F,0xB8,0x01,0xED,0x85,0x21,0x43,0xD2};
-
- ValidationResults() : validationState(0) {
- }
-
- virtual ~ValidationResults() throw() {}
-
- bool validationState;
- std::vector<ValidatorResult> validationResultList;
-
- void __set_validationState(const bool val) {
- validationState = val;
- }
-
- void __set_validationResultList(const std::vector<ValidatorResult> & val) {
- validationResultList = val;
- }
-
- bool operator == (const ValidationResults & rhs) const
- {
- if (!(validationState == rhs.validationState))
- return false;
- if (!(validationResultList == rhs.validationResultList))
- return false;
- return true;
- }
- bool operator != (const ValidationResults &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ValidationResults & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(ValidationResults &a, ValidationResults &b);
-
-typedef struct _LaunchValidationException__isset {
- _LaunchValidationException__isset() : errorMessage(false) {}
- bool errorMessage;
-} _LaunchValidationException__isset;
-
-class LaunchValidationException : public ::apache::thrift::TException {
- public:
-
- static const char* ascii_fingerprint; // = "99E9D28CC9613B8567277FD2B86021FA";
- static const uint8_t binary_fingerprint[16]; // = {0x99,0xE9,0xD2,0x8C,0xC9,0x61,0x3B,0x85,0x67,0x27,0x7F,0xD2,0xB8,0x60,0x21,0xFA};
-
- LaunchValidationException() : errorMessage() {
- }
-
- virtual ~LaunchValidationException() throw() {}
-
- ValidationResults validationResult;
- std::string errorMessage;
-
- _LaunchValidationException__isset __isset;
-
- void __set_validationResult(const ValidationResults& val) {
- validationResult = val;
- }
-
- void __set_errorMessage(const std::string& val) {
- errorMessage = val;
- __isset.errorMessage = true;
- }
-
- bool operator == (const LaunchValidationException & rhs) const
- {
- if (!(validationResult == rhs.validationResult))
- return false;
- if (__isset.errorMessage != rhs.__isset.errorMessage)
- return false;
- else if (__isset.errorMessage && !(errorMessage == rhs.errorMessage))
- return false;
- return true;
- }
- bool operator != (const LaunchValidationException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const LaunchValidationException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(LaunchValidationException &a, LaunchValidationException &b);
-
-typedef struct _AiravataSystemException__isset {
- _AiravataSystemException__isset() : message(false) {}
- bool message;
-} _AiravataSystemException__isset;
-
-class AiravataSystemException : public ::apache::thrift::TException {
- public:
-
- static const char* ascii_fingerprint; // = "24652790C81ECE22B629CB60A19F1E93";
- static const uint8_t binary_fingerprint[16]; // = {0x24,0x65,0x27,0x90,0xC8,0x1E,0xCE,0x22,0xB6,0x29,0xCB,0x60,0xA1,0x9F,0x1E,0x93};
-
- AiravataSystemException() : airavataErrorType((AiravataErrorType::type)0), message() {
- }
-
- virtual ~AiravataSystemException() throw() {}
-
- AiravataErrorType::type airavataErrorType;
- std::string message;
-
- _AiravataSystemException__isset __isset;
-
- void __set_airavataErrorType(const AiravataErrorType::type val) {
- airavataErrorType = val;
- }
-
- void __set_message(const std::string& val) {
- message = val;
- __isset.message = true;
- }
-
- bool operator == (const AiravataSystemException & rhs) const
- {
- if (!(airavataErrorType == rhs.airavataErrorType))
- return false;
- if (__isset.message != rhs.__isset.message)
- return false;
- else if (__isset.message && !(message == rhs.message))
- return false;
- return true;
- }
- bool operator != (const AiravataSystemException &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const AiravataSystemException & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
-};
-
-void swap(AiravataSystemException &a, AiravataSystemException &b);
-
-}}}} // namespace
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.cpp
deleted file mode 100644
index 9a13809..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * 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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "airavata_api_constants.h"
-
-namespace apache { namespace airavata { namespace api {
-
-const airavata_apiConstants g_airavata_api_constants;
-
-airavata_apiConstants::airavata_apiConstants() {
- AIRAVATA_API_VERSION = "0.16.0";
-
-}
-
-}}} // namespace
-
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.h
deleted file mode 100644
index 7304f11..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_constants.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * 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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef airavata_api_CONSTANTS_H
-#define airavata_api_CONSTANTS_H
-
-#include "airavata_api_types.h"
-
-namespace apache { namespace airavata { namespace api {
-
-class airavata_apiConstants {
- public:
- airavata_apiConstants();
-
- std::string AIRAVATA_API_VERSION;
-};
-
-extern const airavata_apiConstants g_airavata_api_constants;
-
-}}} // namespace
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.cpp
deleted file mode 100644
index 1cbdcaa..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * 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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "airavata_api_types.h"
-
-#include <algorithm>
-#include <ostream>
-
-#include <thrift/TToString.h>
-
-namespace apache { namespace airavata { namespace api {
-
-}}} // namespace
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.h
deleted file mode 100644
index 2ef1717..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_api_types.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/**
- * 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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef airavata_api_TYPES_H
-#define airavata_api_TYPES_H
-
-#include <iosfwd>
-
-#include <thrift/Thrift.h>
-#include <thrift/TApplicationException.h>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/transport/TTransport.h>
-
-#include <thrift/cxxfunctional.h>
-#include "airavata_errors_types.h"
-#include "security_model_types.h"
-#include "airavata_data_models_types.h"
-#include "status_models_types.h"
-#include "job_model_types.h"
-#include "experiment_model_types.h"
-#include "workspace_model_types.h"
-#include "scheduling_model_types.h"
-#include "application_io_models_types.h"
-#include "application_deployment_model_types.h"
-#include "application_interface_model_types.h"
-#include "compute_resource_model_types.h"
-#include "credential_summary_types.h"
-#include "storage_resource_model_types.h"
-#include "gateway_resource_profile_model_types.h"
-#include "user_resource_profile_model_types.h"
-#include "data_movement_models_types.h"
-#include "workflow_data_model_types.h"
-#include "replica_catalog_models_types.h"
-#include "group_manager_model_types.h"
-
-
-namespace apache { namespace airavata { namespace api {
-
-}}} // namespace
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.cpp
deleted file mode 100644
index 989f7eb..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * 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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "airavata_commons_constants.h"
-
-namespace apache { namespace airavata { namespace model { namespace commons {
-
-const airavata_commonsConstants g_airavata_commons_constants;
-
-airavata_commonsConstants::airavata_commonsConstants() {
- DEFAULT_ID = "DO_NOT_SET_AT_CLIENTS";
-
-}
-
-}}}} // namespace
-
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.h
deleted file mode 100644
index 0832be0..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_constants.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/**
- * 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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef airavata_commons_CONSTANTS_H
-#define airavata_commons_CONSTANTS_H
-
-#include "airavata_commons_types.h"
-
-namespace apache { namespace airavata { namespace model { namespace commons {
-
-class airavata_commonsConstants {
- public:
- airavata_commonsConstants();
-
- std::string DEFAULT_ID;
-};
-
-extern const airavata_commonsConstants g_airavata_commons_constants;
-
-}}}} // namespace
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_types.cpp
deleted file mode 100644
index 7f23bb7..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_types.cpp
+++ /dev/null
@@ -1,492 +0,0 @@
-/**
- * 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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "airavata_commons_types.h"
-
-#include <algorithm>
-#include <ostream>
-
-#include <thrift/TToString.h>
-
-namespace apache { namespace airavata { namespace model { namespace commons {
-
-
-ErrorModel::~ErrorModel() throw() {
-}
-
-
-void ErrorModel::__set_errorId(const std::string& val) {
- this->errorId = val;
-}
-
-void ErrorModel::__set_creationTime(const int64_t val) {
- this->creationTime = val;
-__isset.creationTime = true;
-}
-
-void ErrorModel::__set_actualErrorMessage(const std::string& val) {
- this->actualErrorMessage = val;
-__isset.actualErrorMessage = true;
-}
-
-void ErrorModel::__set_userFriendlyMessage(const std::string& val) {
- this->userFriendlyMessage = val;
-__isset.userFriendlyMessage = true;
-}
-
-void ErrorModel::__set_transientOrPersistent(const bool val) {
- this->transientOrPersistent = val;
-__isset.transientOrPersistent = true;
-}
-
-void ErrorModel::__set_rootCauseErrorIdList(const std::vector<std::string> & val) {
- this->rootCauseErrorIdList = val;
-__isset.rootCauseErrorIdList = true;
-}
-
-uint32_t ErrorModel::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- apache::thrift::protocol::TInputRecursionTracker tracker(*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_errorId = 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->errorId);
- isset_errorId = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_I64) {
- xfer += iprot->readI64(this->creationTime);
- this->__isset.creationTime = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 3:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->actualErrorMessage);
- this->__isset.actualErrorMessage = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 4:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->userFriendlyMessage);
- this->__isset.userFriendlyMessage = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 5:
- if (ftype == ::apache::thrift::protocol::T_BOOL) {
- xfer += iprot->readBool(this->transientOrPersistent);
- this->__isset.transientOrPersistent = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 6:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->rootCauseErrorIdList.clear();
- uint32_t _size0;
- ::apache::thrift::protocol::TType _etype3;
- xfer += iprot->readListBegin(_etype3, _size0);
- this->rootCauseErrorIdList.resize(_size0);
- uint32_t _i4;
- for (_i4 = 0; _i4 < _size0; ++_i4)
- {
- xfer += iprot->readString(this->rootCauseErrorIdList[_i4]);
- }
- xfer += iprot->readListEnd();
- }
- this->__isset.rootCauseErrorIdList = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_errorId)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t ErrorModel::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("ErrorModel");
-
- xfer += oprot->writeFieldBegin("errorId", ::apache::thrift::protocol::T_STRING, 1);
- xfer += oprot->writeString(this->errorId);
- xfer += oprot->writeFieldEnd();
-
- if (this->__isset.creationTime) {
- xfer += oprot->writeFieldBegin("creationTime", ::apache::thrift::protocol::T_I64, 2);
- xfer += oprot->writeI64(this->creationTime);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.actualErrorMessage) {
- xfer += oprot->writeFieldBegin("actualErrorMessage", ::apache::thrift::protocol::T_STRING, 3);
- xfer += oprot->writeString(this->actualErrorMessage);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.userFriendlyMessage) {
- xfer += oprot->writeFieldBegin("userFriendlyMessage", ::apache::thrift::protocol::T_STRING, 4);
- xfer += oprot->writeString(this->userFriendlyMessage);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.transientOrPersistent) {
- xfer += oprot->writeFieldBegin("transientOrPersistent", ::apache::thrift::protocol::T_BOOL, 5);
- xfer += oprot->writeBool(this->transientOrPersistent);
- xfer += oprot->writeFieldEnd();
- }
- if (this->__isset.rootCauseErrorIdList) {
- xfer += oprot->writeFieldBegin("rootCauseErrorIdList", ::apache::thrift::protocol::T_LIST, 6);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast<uint32_t>(this->rootCauseErrorIdList.size()));
- std::vector<std::string> ::const_iterator _iter5;
- for (_iter5 = this->rootCauseErrorIdList.begin(); _iter5 != this->rootCauseErrorIdList.end(); ++_iter5)
- {
- xfer += oprot->writeString((*_iter5));
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(ErrorModel &a, ErrorModel &b) {
- using ::std::swap;
- swap(a.errorId, b.errorId);
- swap(a.creationTime, b.creationTime);
- swap(a.actualErrorMessage, b.actualErrorMessage);
- swap(a.userFriendlyMessage, b.userFriendlyMessage);
- swap(a.transientOrPersistent, b.transientOrPersistent);
- swap(a.rootCauseErrorIdList, b.rootCauseErrorIdList);
- swap(a.__isset, b.__isset);
-}
-
-ErrorModel::ErrorModel(const ErrorModel& other6) {
- errorId = other6.errorId;
- creationTime = other6.creationTime;
- actualErrorMessage = other6.actualErrorMessage;
- userFriendlyMessage = other6.userFriendlyMessage;
- transientOrPersistent = other6.transientOrPersistent;
- rootCauseErrorIdList = other6.rootCauseErrorIdList;
- __isset = other6.__isset;
-}
-ErrorModel& ErrorModel::operator=(const ErrorModel& other7) {
- errorId = other7.errorId;
- creationTime = other7.creationTime;
- actualErrorMessage = other7.actualErrorMessage;
- userFriendlyMessage = other7.userFriendlyMessage;
- transientOrPersistent = other7.transientOrPersistent;
- rootCauseErrorIdList = other7.rootCauseErrorIdList;
- __isset = other7.__isset;
- return *this;
-}
-void ErrorModel::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
- out << "ErrorModel(";
- out << "errorId=" << to_string(errorId);
- out << ", " << "creationTime="; (__isset.creationTime ? (out << to_string(creationTime)) : (out << "<null>"));
- out << ", " << "actualErrorMessage="; (__isset.actualErrorMessage ? (out << to_string(actualErrorMessage)) : (out << "<null>"));
- out << ", " << "userFriendlyMessage="; (__isset.userFriendlyMessage ? (out << to_string(userFriendlyMessage)) : (out << "<null>"));
- out << ", " << "transientOrPersistent="; (__isset.transientOrPersistent ? (out << to_string(transientOrPersistent)) : (out << "<null>"));
- out << ", " << "rootCauseErrorIdList="; (__isset.rootCauseErrorIdList ? (out << to_string(rootCauseErrorIdList)) : (out << "<null>"));
- out << ")";
-}
-
-
-ValidatorResult::~ValidatorResult() throw() {
-}
-
-
-void ValidatorResult::__set_result(const bool val) {
- this->result = val;
-}
-
-void ValidatorResult::__set_errorDetails(const std::string& val) {
- this->errorDetails = val;
-__isset.errorDetails = true;
-}
-
-uint32_t ValidatorResult::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- apache::thrift::protocol::TInputRecursionTracker tracker(*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_result = 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_BOOL) {
- xfer += iprot->readBool(this->result);
- isset_result = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_STRING) {
- xfer += iprot->readString(this->errorDetails);
- this->__isset.errorDetails = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_result)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t ValidatorResult::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("ValidatorResult");
-
- xfer += oprot->writeFieldBegin("result", ::apache::thrift::protocol::T_BOOL, 1);
- xfer += oprot->writeBool(this->result);
- xfer += oprot->writeFieldEnd();
-
- if (this->__isset.errorDetails) {
- xfer += oprot->writeFieldBegin("errorDetails", ::apache::thrift::protocol::T_STRING, 2);
- xfer += oprot->writeString(this->errorDetails);
- xfer += oprot->writeFieldEnd();
- }
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(ValidatorResult &a, ValidatorResult &b) {
- using ::std::swap;
- swap(a.result, b.result);
- swap(a.errorDetails, b.errorDetails);
- swap(a.__isset, b.__isset);
-}
-
-ValidatorResult::ValidatorResult(const ValidatorResult& other8) {
- result = other8.result;
- errorDetails = other8.errorDetails;
- __isset = other8.__isset;
-}
-ValidatorResult& ValidatorResult::operator=(const ValidatorResult& other9) {
- result = other9.result;
- errorDetails = other9.errorDetails;
- __isset = other9.__isset;
- return *this;
-}
-void ValidatorResult::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
- out << "ValidatorResult(";
- out << "result=" << to_string(result);
- out << ", " << "errorDetails="; (__isset.errorDetails ? (out << to_string(errorDetails)) : (out << "<null>"));
- out << ")";
-}
-
-
-ValidationResults::~ValidationResults() throw() {
-}
-
-
-void ValidationResults::__set_validationState(const bool val) {
- this->validationState = val;
-}
-
-void ValidationResults::__set_validationResultList(const std::vector<ValidatorResult> & val) {
- this->validationResultList = val;
-}
-
-uint32_t ValidationResults::read(::apache::thrift::protocol::TProtocol* iprot) {
-
- apache::thrift::protocol::TInputRecursionTracker tracker(*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_validationState = false;
- bool isset_validationResultList = 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_BOOL) {
- xfer += iprot->readBool(this->validationState);
- isset_validationState = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- case 2:
- if (ftype == ::apache::thrift::protocol::T_LIST) {
- {
- this->validationResultList.clear();
- uint32_t _size10;
- ::apache::thrift::protocol::TType _etype13;
- xfer += iprot->readListBegin(_etype13, _size10);
- this->validationResultList.resize(_size10);
- uint32_t _i14;
- for (_i14 = 0; _i14 < _size10; ++_i14)
- {
- xfer += this->validationResultList[_i14].read(iprot);
- }
- xfer += iprot->readListEnd();
- }
- isset_validationResultList = true;
- } else {
- xfer += iprot->skip(ftype);
- }
- break;
- default:
- xfer += iprot->skip(ftype);
- break;
- }
- xfer += iprot->readFieldEnd();
- }
-
- xfer += iprot->readStructEnd();
-
- if (!isset_validationState)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- if (!isset_validationResultList)
- throw TProtocolException(TProtocolException::INVALID_DATA);
- return xfer;
-}
-
-uint32_t ValidationResults::write(::apache::thrift::protocol::TProtocol* oprot) const {
- uint32_t xfer = 0;
- apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot);
- xfer += oprot->writeStructBegin("ValidationResults");
-
- xfer += oprot->writeFieldBegin("validationState", ::apache::thrift::protocol::T_BOOL, 1);
- xfer += oprot->writeBool(this->validationState);
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldBegin("validationResultList", ::apache::thrift::protocol::T_LIST, 2);
- {
- xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast<uint32_t>(this->validationResultList.size()));
- std::vector<ValidatorResult> ::const_iterator _iter15;
- for (_iter15 = this->validationResultList.begin(); _iter15 != this->validationResultList.end(); ++_iter15)
- {
- xfer += (*_iter15).write(oprot);
- }
- xfer += oprot->writeListEnd();
- }
- xfer += oprot->writeFieldEnd();
-
- xfer += oprot->writeFieldStop();
- xfer += oprot->writeStructEnd();
- return xfer;
-}
-
-void swap(ValidationResults &a, ValidationResults &b) {
- using ::std::swap;
- swap(a.validationState, b.validationState);
- swap(a.validationResultList, b.validationResultList);
-}
-
-ValidationResults::ValidationResults(const ValidationResults& other16) {
- validationState = other16.validationState;
- validationResultList = other16.validationResultList;
-}
-ValidationResults& ValidationResults::operator=(const ValidationResults& other17) {
- validationState = other17.validationState;
- validationResultList = other17.validationResultList;
- return *this;
-}
-void ValidationResults::printTo(std::ostream& out) const {
- using ::apache::thrift::to_string;
- out << "ValidationResults(";
- out << "validationState=" << to_string(validationState);
- out << ", " << "validationResultList=" << to_string(validationResultList);
- out << ")";
-}
-
-}}}} // namespace
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_types.h
deleted file mode 100644
index c0bf1fd..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_commons_types.h
+++ /dev/null
@@ -1,230 +0,0 @@
-/**
- * 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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef airavata_commons_TYPES_H
-#define airavata_commons_TYPES_H
-
-#include <iosfwd>
-
-#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 commons {
-
-class ErrorModel;
-
-class ValidatorResult;
-
-class ValidationResults;
-
-typedef struct _ErrorModel__isset {
- _ErrorModel__isset() : creationTime(false), actualErrorMessage(false), userFriendlyMessage(false), transientOrPersistent(true), rootCauseErrorIdList(false) {}
- bool creationTime :1;
- bool actualErrorMessage :1;
- bool userFriendlyMessage :1;
- bool transientOrPersistent :1;
- bool rootCauseErrorIdList :1;
-} _ErrorModel__isset;
-
-class ErrorModel {
- public:
-
- ErrorModel(const ErrorModel&);
- ErrorModel& operator=(const ErrorModel&);
- ErrorModel() : errorId("DO_NOT_SET_AT_CLIENTS"), creationTime(0), actualErrorMessage(), userFriendlyMessage(), transientOrPersistent(false) {
- }
-
- virtual ~ErrorModel() throw();
- std::string errorId;
- int64_t creationTime;
- std::string actualErrorMessage;
- std::string userFriendlyMessage;
- bool transientOrPersistent;
- std::vector<std::string> rootCauseErrorIdList;
-
- _ErrorModel__isset __isset;
-
- void __set_errorId(const std::string& val);
-
- void __set_creationTime(const int64_t val);
-
- void __set_actualErrorMessage(const std::string& val);
-
- void __set_userFriendlyMessage(const std::string& val);
-
- void __set_transientOrPersistent(const bool val);
-
- void __set_rootCauseErrorIdList(const std::vector<std::string> & val);
-
- bool operator == (const ErrorModel & rhs) const
- {
- if (!(errorId == rhs.errorId))
- return false;
- if (__isset.creationTime != rhs.__isset.creationTime)
- return false;
- else if (__isset.creationTime && !(creationTime == rhs.creationTime))
- return false;
- if (__isset.actualErrorMessage != rhs.__isset.actualErrorMessage)
- return false;
- else if (__isset.actualErrorMessage && !(actualErrorMessage == rhs.actualErrorMessage))
- return false;
- if (__isset.userFriendlyMessage != rhs.__isset.userFriendlyMessage)
- return false;
- else if (__isset.userFriendlyMessage && !(userFriendlyMessage == rhs.userFriendlyMessage))
- return false;
- if (__isset.transientOrPersistent != rhs.__isset.transientOrPersistent)
- return false;
- else if (__isset.transientOrPersistent && !(transientOrPersistent == rhs.transientOrPersistent))
- return false;
- if (__isset.rootCauseErrorIdList != rhs.__isset.rootCauseErrorIdList)
- return false;
- else if (__isset.rootCauseErrorIdList && !(rootCauseErrorIdList == rhs.rootCauseErrorIdList))
- return false;
- return true;
- }
- bool operator != (const ErrorModel &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ErrorModel & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
- virtual void printTo(std::ostream& out) const;
-};
-
-void swap(ErrorModel &a, ErrorModel &b);
-
-inline std::ostream& operator<<(std::ostream& out, const ErrorModel& obj)
-{
- obj.printTo(out);
- return out;
-}
-
-typedef struct _ValidatorResult__isset {
- _ValidatorResult__isset() : errorDetails(false) {}
- bool errorDetails :1;
-} _ValidatorResult__isset;
-
-class ValidatorResult {
- public:
-
- ValidatorResult(const ValidatorResult&);
- ValidatorResult& operator=(const ValidatorResult&);
- ValidatorResult() : result(0), errorDetails() {
- }
-
- virtual ~ValidatorResult() throw();
- bool result;
- std::string errorDetails;
-
- _ValidatorResult__isset __isset;
-
- void __set_result(const bool val);
-
- void __set_errorDetails(const std::string& val);
-
- bool operator == (const ValidatorResult & rhs) const
- {
- if (!(result == rhs.result))
- return false;
- if (__isset.errorDetails != rhs.__isset.errorDetails)
- return false;
- else if (__isset.errorDetails && !(errorDetails == rhs.errorDetails))
- return false;
- return true;
- }
- bool operator != (const ValidatorResult &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ValidatorResult & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
- virtual void printTo(std::ostream& out) const;
-};
-
-void swap(ValidatorResult &a, ValidatorResult &b);
-
-inline std::ostream& operator<<(std::ostream& out, const ValidatorResult& obj)
-{
- obj.printTo(out);
- return out;
-}
-
-
-class ValidationResults {
- public:
-
- ValidationResults(const ValidationResults&);
- ValidationResults& operator=(const ValidationResults&);
- ValidationResults() : validationState(0) {
- }
-
- virtual ~ValidationResults() throw();
- bool validationState;
- std::vector<ValidatorResult> validationResultList;
-
- void __set_validationState(const bool val);
-
- void __set_validationResultList(const std::vector<ValidatorResult> & val);
-
- bool operator == (const ValidationResults & rhs) const
- {
- if (!(validationState == rhs.validationState))
- return false;
- if (!(validationResultList == rhs.validationResultList))
- return false;
- return true;
- }
- bool operator != (const ValidationResults &rhs) const {
- return !(*this == rhs);
- }
-
- bool operator < (const ValidationResults & ) const;
-
- uint32_t read(::apache::thrift::protocol::TProtocol* iprot);
- uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const;
-
- virtual void printTo(std::ostream& out) const;
-};
-
-void swap(ValidationResults &a, ValidationResults &b);
-
-inline std::ostream& operator<<(std::ostream& out, const ValidationResults& obj)
-{
- obj.printTo(out);
- return out;
-}
-
-}}}} // namespace
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_constants.cpp
deleted file mode 100644
index d4a991b..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_constants.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * 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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "airavata_data_models_constants.h"
-
-namespace apache { namespace airavata { namespace model {
-
-const airavata_data_modelsConstants g_airavata_data_models_constants;
-
-airavata_data_modelsConstants::airavata_data_modelsConstants() {
-}
-
-}}} // namespace
-
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_constants.h
deleted file mode 100644
index 0d871ec..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_constants.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * 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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef airavata_data_models_CONSTANTS_H
-#define airavata_data_models_CONSTANTS_H
-
-#include "airavata_data_models_types.h"
-
-namespace apache { namespace airavata { namespace model {
-
-class airavata_data_modelsConstants {
- public:
- airavata_data_modelsConstants();
-
-};
-
-extern const airavata_data_modelsConstants g_airavata_data_models_constants;
-
-}}} // namespace
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.cpp
deleted file mode 100644
index 637fcf6..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * 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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "airavata_data_models_types.h"
-
-#include <algorithm>
-#include <ostream>
-
-#include <thrift/TToString.h>
-
-namespace apache { namespace airavata { namespace model {
-
-}}} // namespace
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.h
deleted file mode 100644
index 002a06b..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_data_models_types.h
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * 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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef airavata_data_models_TYPES_H
-#define airavata_data_models_TYPES_H
-
-#include <iosfwd>
-
-#include <thrift/Thrift.h>
-#include <thrift/TApplicationException.h>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/transport/TTransport.h>
-
-#include <thrift/cxxfunctional.h>
-#include "airavata_commons_types.h"
-#include "workspace_model_types.h"
-#include "airavata_errors_types.h"
-#include "messaging_events_types.h"
-#include "security_model_types.h"
-#include "experiment_model_types.h"
-#include "job_model_types.h"
-#include "task_model_types.h"
-#include "process_model_types.h"
-#include "scheduling_model_types.h"
-#include "status_models_types.h"
-#include "data_movement_models_types.h"
-#include "replica_catalog_models_types.h"
-#include "user_profile_model_types.h"
-#include "group_manager_model_types.h"
-
-
-namespace apache { namespace airavata { namespace model {
-
-}}} // namespace
-
-#endif
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.cpp
deleted file mode 100644
index c721378..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-/**
- * 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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#include "airavata_errors_constants.h"
-
-namespace apache { namespace airavata { namespace api { namespace error {
-
-const airavata_errorsConstants g_airavata_errors_constants;
-
-airavata_errorsConstants::airavata_errorsConstants() {
-}
-
-}}}} // namespace
-
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.h
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.h b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.h
deleted file mode 100644
index ee97b5b..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/airavata/airavata_errors_constants.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/**
- * 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.3)
- *
- * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
- * @generated
- */
-#ifndef airavata_errors_CONSTANTS_H
-#define airavata_errors_CONSTANTS_H
-
-#include "airavata_errors_types.h"
-
-namespace apache { namespace airavata { namespace api { namespace error {
-
-class airavata_errorsConstants {
- public:
- airavata_errorsConstants();
-
-};
-
-extern const airavata_errorsConstants g_airavata_errors_constants;
-
-}}}} // namespace
-
-#endif