airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [44/51] [partial] airavata-php-gateway git commit: removing files from wrong merge
Date Tue, 13 Dec 2016 22:09:57 GMT
http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/NOTICE
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/NOTICE
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/NOTICE
deleted file mode 100644
index fa7cba5..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/NOTICE
+++ /dev/null
@@ -1,163 +0,0 @@
-Apache Airavata
-Copyright 2014 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
-
-===============================================================================
-Apache Xerces Java Notice:
-
-   Portions of this software were originally based on the following:
-     - software copyright (c) 1999, IBM Corporation., http://www.ibm.com.
-     - software copyright (c) 1999, Sun Microsystems., http://www.sun.com.
-     - voluntary contributions made by Paul Eng on behalf of the
-       Apache Software Foundation that were originally developed at iClick, Inc.,
-       software copyright (c) 1999.
-
-================================================================================
-Apache XmlBeans Notice: 
-
-   Portions of this software were originally based on the following:
-     - software copyright (c) 2000-2003, BEA Systems, <http://www.bea.com/>.
-
-   Aside from contributions to the Apache XMLBeans project, this
-   software also includes:
-
-    - one or more source files from the Apache Xerces-J and Apache Axis
-      products, Copyright (c) 1999-2003 Apache Software Foundation
-
-    - W3C XML Schema documents Copyright 2001-2003 (c) World Wide Web
-      Consortium (Massachusetts Institute of Technology, European Research
-      Consortium for Informatics and Mathematics, Keio University)
-
-    - resolver.jar from Apache Xml Commons project,
-      Copyright (c) 2001-2003 Apache Software Foundation
-
-    - Piccolo XML Parser for Java from http://piccolo.sourceforge.net/,
-      Copyright 2002 Yuval Oren under the terms of the Apache Software License 2.0
-
-    - JSR-173 Streaming API for XML from http://sourceforge.net/projects/xmlpullparser/,
-      Copyright 2005 BEA under the terms of the Apache Software License 2.0
-      
-=========================================================================================
-Apache Axis2 Notice: (axis2-*, mex-1.5.1-impl)
-
-Portions Copyright 2006 International Business Machines Corp.
-Portions Copyright 2005-2007 WSO2, Inc.
-
-This product also includes schemas and specification developed by:
-- the W3C consortium (http://www.w3c.org)
-
-This product also includes WS-* schemas developed by International
-Business Machines Corporation, Microsoft Corporation, BEA Systems, 
-TIBCO Software, SAP AG, Sonic Software, and VeriSign
-
-This product also includes a WSDL developed by salesforce.com
-- Copyright 1999-2006 salesforce.com, inc.
-Portions of the included xmlbeans library were originally based on the following:
-- software copyright (c) 2000-2003, BEA Systems, <http://www.bea.com/>.
-
-====================================================================================
-Apache Derby Notice:
-
-Portions of Derby were originally developed by
-International Business Machines Corporation and are
-licensed to the Apache Software Foundation under the
-"Software Grant and Corporate Contribution License Agreement",
-informally known as the "Derby CLA".
-The following copyright notice(s) were affixed to portions of the code
-with which this file is now or was at one time distributed
-and are placed here unaltered.
-
-(C) Copyright 1997,2004 International Business Machines Corporation.  All rights reserved.
-
-(C) Copyright IBM Corp. 2003. 
-
-=======================
-
-The portion of the functionTests under 'nist' was originally 
-developed by the National Institute of Standards and Technology (NIST), 
-an agency of the United States Department of Commerce, and adapted by
-International Business Machines Corporation in accordance with the NIST
-Software Acknowledgment and Redistribution document at
-http://www.itl.nist.gov/div897/ctg/sql_form.htm
-
-========================
-
-The JDBC apis for small devices and JDBC3 (under java/stubs/jsr169 and
-java/stubs/jdbc3) were produced by trimming sources supplied by the
-Apache Harmony project. In addition, the Harmony SerialBlob and
-SerialClob implementations are used. The following notice covers the Harmony sources:
-
-Portions of Harmony were originally developed by
-Intel Corporation and are licensed to the Apache Software
-Foundation under the "Software Grant and Corporate Contribution
-License Agreement", informally known as the "Intel Harmony CLA".
-
-=============================================================================
-Apache Woden Notice:
-
-   This product also includes software developed by :
-   
-     - IBM Corporation (http://www.ibm.com),
-         WSDL4J was the initial code contribution for the Apache Woden
-         project and some of the WSDL4J design and code has been reused.
-     - The W3C Consortium (http://www.w3c.org),
-         Common W3C XML Schema and DTD files are packaged with Apache Woden.
-
-   Please read the different LICENSE files present in the root directory of
-   this distribution.
-
-=========================================================================
-Woodstox Notice: 
-
-This product includes software developed by the Woodstox Project 
-(http://woodstox.codehaus.org/)
-
-This product currently only contains code developed by authors
-of specific components, as identified by the source code files.
-
-Since product implements StAX API, it has dependencies to StAX API
-classes.
-
-For additional credits (generally to people who reported problems)
-see CREDITS file.
-
-===========================================================================
-Apache xml-commons xml-apis Notice:
-
-   Portions of this software were originally based on the following:
-     - software copyright (c) 1999, IBM Corporation., http://www.ibm.com.
-     - software copyright (c) 1999, Sun Microsystems., http://www.sun.com.
-     - software copyright (c) 2000 World Wide Web Consortium, http://www.w3.org
-
-================================================================================================
-Apache  Xalan Notice: 
-
-Portions of this software was originally based on the following:
-     - software copyright (c) 1999-2002, Lotus Development Corporation., http://www.lotus.com.
-     - software copyright (c) 2001-2002, Sun Microsystems., http://www.sun.com.
-     - software copyright (c) 2003, IBM Corporation., http://www.ibm.com.
-     - voluntary contributions made by Ovidiu Predescu (ovidiu@cup.hp.com) on behalf of the

-       Apache Software Foundation and was originally developed at Hewlett Packard Company.

-================================================================================================
-Apache  OpenJPA Notice: 
-
-OpenJPA includes software developed by the SERP project
-Copyright (c) 2002-2006, A. Abram White. All rights reserved.
-
-OpenJPA includes the persistence and orm schemas from the JPA specifications.
-Copyright 2005-2009 Sun Microsystems, Inc. All rights reserved.
-OpenJPA elects to include this software in this distribution under the
-CDDL license.  You can obtain a copy of the License at:
-    https://glassfish.dev.java.net/public/CDDL+GPL.html
-The source code is available at:
-    https://glassfish.dev.java.net/source/browse/glassfish/
-
-OpenJPA includes software written by Miroslav Nachev
-OpenJPA uses test code written by Charles Tillman.
-================================================================================================
-Apache XmlSchema Notice:
-
-Portions Copyright 2006 International Business Machines Corp.
-================================================================================================

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/README
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/README
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/README
deleted file mode 100644
index e4a4864..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/README
+++ /dev/null
@@ -1,7 +0,0 @@
-Apache Airavata Thrift C++ Software Development Kit.
-
-Prerequisites:
-Since C++ thrift libraries are platform dependent, we encourage you to compile apache thrift
locally.
-
-Conveniance Binaries:
-Airavata will bundle conveniance binaries, but again we encourage to build from source.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/airavata-client-properties.ini
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/airavata-client-properties.ini
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/airavata-client-properties.ini
deleted file mode 100644
index 87d3139..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/airavata-client-properties.ini
+++ /dev/null
@@ -1,21 +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.
-
-[airavata]
-AIRAVATA_SERVER = "localhost"
-AIRAVATA_PORT = 9930
-AIRAVATA_TIMEOUT = 5000

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/compile.sh
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/compile.sh
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/compile.sh
deleted file mode 100755
index b9a920a..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/compile.sh
+++ /dev/null
@@ -1,21 +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.
-
-g++ -I/home/ixxi-2013/Desktop/airavata-trunk/airavata/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/
-L/usr/local/lib -w -Wno-write-strings   -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H  `pkg-config
--cflags glib-2.0` createProject.cpp `pkg-config --libs glib-2.0` -lthrift -o createProject
-g++ -I/home/ixxi-2013/Desktop/airavata-trunk/airavata/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/
-L/usr/local/lib -w -Wno-write-strings   -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H  `pkg-config
--cflags glib-2.0` createExperiment.cpp `pkg-config --libs glib-2.0` -lthrift -o createExperiment
-g++ -I/home/ixxi-2013/Desktop/airavata-trunk/airavata/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/
-L/usr/local/lib -w -Wno-write-strings   -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H  `pkg-config
--cflags glib-2.0` launchExperiment.cpp `pkg-config --libs glib-2.0` -lthrift -o launchExperiment
-g++ -I/home/ixxi-2013/Desktop/airavata-trunk/airavata/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/
-L/usr/local/lib -w -Wno-write-strings   -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H  `pkg-config
--cflags glib-2.0` getExperimentStatus.cpp `pkg-config --libs glib-2.0` -lthrift -o getExperimentStatus
-g++ -I/home/ixxi-2013/Desktop/airavata-trunk/airavata/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/
-L/usr/local/lib -w -Wno-write-strings   -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H  `pkg-config
--cflags glib-2.0` getExperimentOutputs.cpp `pkg-config --libs glib-2.0` -lthrift -o getExperimentOutputs

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/createExperiment.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/createExperiment.cpp
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/createExperiment.cpp
deleted file mode 100644
index bf8c4d1..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/createExperiment.cpp
+++ /dev/null
@@ -1,174 +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.
- */
-
-#include <glib.h>
-#include <iostream>
-#include <stdint.h>
-#include <sys/time.h>
-
-#define _WIN32_WINNT 0x501
-
-#include <thrift/transport/TTransport.h>
-#include <thrift/transport/TBufferTransports.cpp>
-#include <thrift/transport/TSocket.cpp>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/protocol/TBinaryProtocol.h>
-#include <thrift/protocol/TBinaryProtocol.tcc>
-#include <thrift/TApplicationException.cpp>
-#include <thrift/transport/TTransportException.cpp>
-#include <thrift/protocol/TProtocolException.h>
-#include "../lib/airavata/Airavata.h"
-#include "../lib/airavata/Airavata.cpp"
-#include "../lib/airavata/airavataDataModel_types.h"
-#include "../lib/airavata/airavataDataModel_types.cpp"
-#include "../lib/airavata/airavataErrors_types.h"
-#include "../lib/airavata/airavataErrors_types.cpp"
-#include "../lib.airavata.registry.core.experiment.odel_types.h"
-#include "../lib.airavata.registry.core.experiment.odel_types.cpp"
-#include "../lib/airavata/workspaceModel_types.h"
-#include "../lib/airavata/workspaceModel_types.cpp"
-#include "../lib/airavata/airavataAPI_types.h"
-#include "../lib/airavata/airavataAPI_types.cpp"
-#include "../lib/airavata/applicationDeploymentModel_types.h"
-#include "../lib/airavata/applicationDeploymentModel_types.cpp"
-#include "../lib/airavata/applicationInterfaceModel_types.h"
-#include "../lib/airavata/applicationInterfaceModel_types.cpp"
-#include "../lib/airavata/gatewayResourceProfileModel_types.h"
-#include "../lib/airavata/gatewayResourceProfileModel_types.cpp"
-#include "../lib/airavata/computeResourceModel_types.h"
-#include "../lib/airavata/computeResourceModel_types.cpp"
-
-
-typedef struct {
-        gchar *airavata_server;
-        gint airavata_port, airavata_timeout;
-} Settings;
-
-using namespace std;
-using namespace apache::thrift;
-using namespace apache::thrift::protocol;
-using namespace apache::thrift::transport;
-using namespace apache::airavata::api;
-using namespace apache::airavata::model::workspace::experiment;
-
-void readConfigFile(char* cfgfile, string& airavata_server, int& airavata_port, int&
airavata_timeout) {
-
-        Settings *conf;
-        GKeyFile *keyfile;
-        GKeyFileFlags flags;
-        GError *error = NULL;        
-        keyfile = g_key_file_new ();        				
-        if (!g_key_file_load_from_file (keyfile, cfgfile, flags, &error)) {
-                g_error (error->message);
-        } else {                
-                conf = g_slice_new (Settings);
-                conf->airavata_server    = g_key_file_get_string(keyfile, "airavata",
"AIRAVATA_SERVER", NULL);
-                airavata_server = conf->airavata_server;
-                conf->airavata_port      = g_key_file_get_integer(keyfile, "airavata",
"AIRAVATA_PORT", NULL);
-                airavata_port = conf->airavata_port;
-                conf->airavata_timeout  = g_key_file_get_integer(keyfile, "airavata",
"AIRAVATA_TIMEOUT", NULL);
-                airavata_timeout = conf->airavata_timeout;                
-        }				
-
-}
-
-
-int main(int argc, char **argv)
-{
-        
-        int airavata_port, airavata_timeout;
-        string airavata_server;
-				char* cfgfile;
-				cfgfile = "./airavata-client-properties.ini";
-        readConfigFile(cfgfile, airavata_server, airavata_port, airavata_timeout);				
-				airavata_server.erase(0,1);
-				airavata_server.erase(airavata_server.length()-1,1);			
-			  boost::shared_ptr<TSocket> socket(new TSocket(airavata_server, airavata_port));
-				socket->setSendTimeout(airavata_timeout);
-  			boost::shared_ptr<TTransport> transport(new TBufferedTransport(socket));	
-  			boost::shared_ptr<TProtocol> protocol(new TBinaryProtocol(transport));
-				AiravataClient airavataclient(protocol);
-				transport->open();
-				
-				if(argc !=4){
-					cout << "Usage: ./createExperiment <username> <experiment_name> <project_ID>";
-					return 0;
-				}
-				/* ComputationalResourceScheduling data for Trestles*/
-        ComputationalResourceScheduling cmRST;
-        cmRST.__set_resourceHostId("trestles.sdsc.edu");
-        cmRST.__set_computationalProjectAccount("sds128");
-        cmRST.__set_totalCPUCount(1);
-        cmRST.__set_nodeCount(1);
-        cmRST.__set_numberOfThreads(0);
-        cmRST.__set_queueName("normal");
-        cmRST.__set_wallTimeLimit(15);
-        cmRST.__set_jobStartTime(0);
-        cmRST.__set_totalPhysicalMemory(0);
-
-
-				UserConfigurationData userConfigurationData;
-        userConfigurationData.__set_airavataAutoSchedule(0);
-        userConfigurationData.__set_overrideManualScheduledParams(0);
-        userConfigurationData.__set_computationalResourceScheduling(cmRST);
-       
-				
-				/*Application ID for Trestles */
-        char* appId = "SimpleEcho2";        
-
-				 /* Experiment input and output data. */
-        DataObjectType input;
-        input.__set_key("echo_input");
-        input.__set_value("echo_output=Hello World");
-        input.__set_type(DataType::STRING);
-				std::vector<DataObjectType> exInputs;
-				exInputs.push_back(input);				
-        DataObjectType output;
-        output.__set_key("echo_output");
-        output.__set_value("");
-        output.__set_type(DataType::STRING);
-				std::vector<DataObjectType> exOutputs;
-				exOutputs.push_back(output);
-        
-        
-				char* user = argv[1];
-        char* exp_name = argv[2];
-        char* proj = argv[3];
-
-        Experiment experiment;
-        experiment.__set_projectID(proj);
-        experiment.__set_userName(user);
-        experiment.__set_name(exp_name);
-        experiment.__set_applicationId(appId);
-        experiment.__set_userConfigurationData(userConfigurationData);
-        experiment.__set_experimentInputs(exInputs);
-        experiment.__set_experimentOutputs(exOutputs);
-								
-				string _return = "";
-        airavataclient.createExperiment(_return, experiment);
-
-        if (_return!="")
-        {
-            
-            cout << "Experiment " << _return <<" created! \n    ";
-        }
-        else
-        {
-            cout << "Failed to create experiment. \n";
-        }
-				transport->close();
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/createProject.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/createProject.cpp
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/createProject.cpp
deleted file mode 100644
index da2d02c..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/createProject.cpp
+++ /dev/null
@@ -1,117 +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.
- */
-
-#include <glib.h>
-#include <iostream>
-#include <stdint.h>
-#include <sys/time.h>
-
-#define _WIN32_WINNT 0x501
-
-#include <thrift/transport/TTransport.h>
-#include <thrift/transport/TBufferTransports.cpp>
-#include <thrift/transport/TSocket.cpp>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/protocol/TBinaryProtocol.h>
-#include <thrift/protocol/TBinaryProtocol.tcc>
-#include <thrift/TApplicationException.cpp>
-#include <thrift/transport/TTransportException.cpp>
-#include <thrift/protocol/TProtocolException.h>
-#include "../lib/airavata/Airavata.h"
-#include "../lib/airavata/Airavata.cpp"
-#include "../lib/airavata/airavataDataModel_types.h"
-#include "../lib/airavata/airavataDataModel_types.cpp"
-#include "../lib/airavata/airavataErrors_types.h"
-#include "../lib/airavata/airavataErrors_types.cpp"
-#include "../lib.airavata.registry.core.experiment.odel_types.h"
-#include "../lib.airavata.registry.core.experiment.odel_types.cpp"
-#include "../lib/airavata/workspaceModel_types.h"
-#include "../lib/airavata/workspaceModel_types.cpp"
-#include "../lib/airavata/airavataAPI_types.h"
-#include "../lib/airavata/airavataAPI_types.cpp"
-#include "../lib/airavata/applicationDeploymentModel_types.h"
-#include "../lib/airavata/applicationDeploymentModel_types.cpp"
-#include "../lib/airavata/applicationInterfaceModel_types.h"
-#include "../lib/airavata/applicationInterfaceModel_types.cpp"
-#include "../lib/airavata/gatewayResourceProfileModel_types.h"
-#include "../lib/airavata/gatewayResourceProfileModel_types.cpp"
-#include "../lib/airavata/computeResourceModel_types.h"
-#include "../lib/airavata/computeResourceModel_types.cpp"
-
-
-typedef struct {
-        gchar *airavata_server, *app_catalog_server;
-        gint airavata_port, app_catalog_port, airavata_timeout;
-} Settings;
-
-using namespace std;
-using namespace apache::thrift;
-using namespace apache::thrift::protocol;
-using namespace apache::thrift::transport;
-using namespace apache::airavata::api;
-
-void readConfigFile(char* cfgfile, string& airavata_server, int& airavata_port, int&
airavata_timeout) {
-
-        Settings *conf;
-        GKeyFile *keyfile;
-        GKeyFileFlags flags;
-        GError *error = NULL;        
-        keyfile = g_key_file_new ();        				
-        if (!g_key_file_load_from_file (keyfile, cfgfile, flags, &error)) {
-                g_error (error->message);
-        } else {                
-                conf = g_slice_new (Settings);
-                conf->airavata_server    = g_key_file_get_string(keyfile, "airavata",
"AIRAVATA_SERVER", NULL);
-                airavata_server = conf->airavata_server;
-                conf->airavata_port      = g_key_file_get_integer(keyfile, "airavata",
"AIRAVATA_PORT", NULL);
-                airavata_port = conf->airavata_port;
-                conf->airavata_timeout  = g_key_file_get_integer(keyfile, "airavata",
"AIRAVATA_TIMEOUT", NULL);
-                airavata_timeout = conf->airavata_timeout;                
-        }				
-
-}
-
-
-int main(int argc, char **argv)
-{
-        
-        int airavata_port, airavata_timeout;
-        string airavata_server;
-				char* cfgfile;
-				cfgfile = "./airavata-client-properties.ini";
-        readConfigFile(cfgfile, airavata_server, airavata_port, airavata_timeout);				
-				airavata_server.erase(0,1);
-				airavata_server.erase(airavata_server.length()-1,1);			
-			  boost::shared_ptr<TSocket> socket(new TSocket(airavata_server, airavata_port));
-				socket->setSendTimeout(airavata_timeout);
-  			boost::shared_ptr<TTransport> transport(new TBufferedTransport(socket));	
-  			boost::shared_ptr<TProtocol> protocol(new TBinaryProtocol(transport));
-				AiravataClient airavataclient(protocol);
-				transport->open();
-				
-				apache::airavata::model::workspace::Project project;
-				if(argc !=3){
-					cout << "Usage: ./createProject <owner> <projectName>";
-					return 0;
-				}
-				project.owner=argv[1];
-				project.name=argv[2];
-				std::string _return;
-				airavataclient.createProject(_return,project);
-				cout << _return << "\n";
-				transport->close();
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/getExperimentOutputs.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/getExperimentOutputs.cpp
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/getExperimentOutputs.cpp
deleted file mode 100644
index a4b9797..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/getExperimentOutputs.cpp
+++ /dev/null
@@ -1,121 +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.
- */
-
-#include <glib.h>
-#include <iostream>
-#include <stdint.h>
-#include <sys/time.h>
-
-#define _WIN32_WINNT 0x501
-
-#include <thrift/transport/TTransport.h>
-#include <thrift/transport/TBufferTransports.cpp>
-#include <thrift/transport/TSocket.cpp>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/protocol/TBinaryProtocol.h>
-#include <thrift/protocol/TBinaryProtocol.tcc>
-#include <thrift/TApplicationException.cpp>
-#include <thrift/transport/TTransportException.cpp>
-#include <thrift/protocol/TProtocolException.h>
-#include "../lib/airavata/Airavata.h"
-#include "../lib/airavata/Airavata.cpp"
-#include "../lib/airavata/airavataDataModel_types.h"
-#include "../lib/airavata/airavataDataModel_types.cpp"
-#include "../lib/airavata/airavataErrors_types.h"
-#include "../lib/airavata/airavataErrors_types.cpp"
-#include "../lib.airavata.registry.core.experiment.odel_types.h"
-#include "../lib.airavata.registry.core.experiment.odel_types.cpp"
-#include "../lib/airavata/workspaceModel_types.h"
-#include "../lib/airavata/workspaceModel_types.cpp"
-#include "../lib/airavata/airavataAPI_types.h"
-#include "../lib/airavata/airavataAPI_types.cpp"
-#include "../lib/airavata/applicationDeploymentModel_types.h"
-#include "../lib/airavata/applicationDeploymentModel_types.cpp"
-#include "../lib/airavata/applicationInterfaceModel_types.h"
-#include "../lib/airavata/applicationInterfaceModel_types.cpp"
-#include "../lib/airavata/gatewayResourceProfileModel_types.h"
-#include "../lib/airavata/gatewayResourceProfileModel_types.cpp"
-#include "../lib/airavata/computeResourceModel_types.h"
-#include "../lib/airavata/computeResourceModel_types.cpp"
-
-
-typedef struct {
-        gchar *airavata_server, *app_catalog_server;
-        gint airavata_port, app_catalog_port, airavata_timeout;
-} Settings;
-
-using namespace std;
-using namespace apache::thrift;
-using namespace apache::thrift::protocol;
-using namespace apache::thrift::transport;
-using namespace apache::airavata::api;
-using namespace apache::airavata::model::workspace::experiment;
-
-void readConfigFile(char* cfgfile, string& airavata_server, int& airavata_port, int&
airavata_timeout) {
-
-        Settings *conf;
-        GKeyFile *keyfile;
-        GKeyFileFlags flags;
-        GError *error = NULL;        
-        keyfile = g_key_file_new ();        				
-        if (!g_key_file_load_from_file (keyfile, cfgfile, flags, &error)) {
-                g_error (error->message);
-        } else {                
-                conf = g_slice_new (Settings);
-                conf->airavata_server    = g_key_file_get_string(keyfile, "airavata",
"AIRAVATA_SERVER", NULL);
-                airavata_server = conf->airavata_server;
-                conf->airavata_port      = g_key_file_get_integer(keyfile, "airavata",
"AIRAVATA_PORT", NULL);
-                airavata_port = conf->airavata_port;
-                conf->airavata_timeout  = g_key_file_get_integer(keyfile, "airavata",
"AIRAVATA_TIMEOUT", NULL);
-                airavata_timeout = conf->airavata_timeout;                
-        }				
-
-}
-
-
-int main(int argc, char **argv)
-{
-        
-        int airavata_port, airavata_timeout;
-        string airavata_server;
-				char* cfgfile;
-				cfgfile = "./airavata-client-properties.ini";
-        readConfigFile(cfgfile, airavata_server, airavata_port, airavata_timeout);				
-				airavata_server.erase(0,1);
-				airavata_server.erase(airavata_server.length()-1,1);			
-			  boost::shared_ptr<TSocket> socket(new TSocket(airavata_server, airavata_port));
-				socket->setSendTimeout(airavata_timeout);
-  			boost::shared_ptr<TTransport> transport(new TBufferedTransport(socket));	
-  			boost::shared_ptr<TProtocol> protocol(new TBinaryProtocol(transport));
-				AiravataClient airavataclient(protocol);
-				transport->open();
-				
-				
-				if(argc !=2){
-					cout << "Usage: ./getExperimentOutputs <experimentID>";
-					return 0;
-				}
-				char* expId = argv[1];			
-				std::vector<DataObjectType> _return;
-   			airavataclient.getExperimentOutputs(_return, expId);
-				int i;
-				for(i=0; i<_return.size();i++){
-					cout << _return[i].value <<"\n";
-				}
-				transport->close();
-				
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/getExperimentStatus.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/getExperimentStatus.cpp
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/getExperimentStatus.cpp
deleted file mode 100644
index f340734..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/getExperimentStatus.cpp
+++ /dev/null
@@ -1,118 +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.
- */
-
-#include <glib.h>
-#include <iostream>
-#include <stdint.h>
-#include <sys/time.h>
-
-#define _WIN32_WINNT 0x501
-
-#include <thrift/transport/TTransport.h>
-#include <thrift/transport/TBufferTransports.cpp>
-#include <thrift/transport/TSocket.cpp>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/protocol/TBinaryProtocol.h>
-#include <thrift/protocol/TBinaryProtocol.tcc>
-#include <thrift/TApplicationException.cpp>
-#include <thrift/transport/TTransportException.cpp>
-#include <thrift/protocol/TProtocolException.h>
-#include "../lib/airavata/Airavata.h"
-#include "../lib/airavata/Airavata.cpp"
-#include "../lib/airavata/airavataDataModel_types.h"
-#include "../lib/airavata/airavataDataModel_types.cpp"
-#include "../lib/airavata/airavataErrors_types.h"
-#include "../lib/airavata/airavataErrors_types.cpp"
-#include "../lib.airavata.registry.core.experiment.odel_types.h"
-#include "../lib.airavata.registry.core.experiment.odel_types.cpp"
-#include "../lib/airavata/workspaceModel_types.h"
-#include "../lib/airavata/workspaceModel_types.cpp"
-#include "../lib/airavata/airavataAPI_types.h"
-#include "../lib/airavata/airavataAPI_types.cpp"
-#include "../lib/airavata/applicationDeploymentModel_types.h"
-#include "../lib/airavata/applicationDeploymentModel_types.cpp"
-#include "../lib/airavata/applicationInterfaceModel_types.h"
-#include "../lib/airavata/applicationInterfaceModel_types.cpp"
-#include "../lib/airavata/gatewayResourceProfileModel_types.h"
-#include "../lib/airavata/gatewayResourceProfileModel_types.cpp"
-#include "../lib/airavata/computeResourceModel_types.h"
-#include "../lib/airavata/computeResourceModel_types.cpp"
-
-
-typedef struct {
-        gchar *airavata_server, *app_catalog_server;
-        gint airavata_port, app_catalog_port, airavata_timeout;
-} Settings;
-
-using namespace std;
-using namespace apache::thrift;
-using namespace apache::thrift::protocol;
-using namespace apache::thrift::transport;
-using namespace apache::airavata::api;
-using namespace apache::airavata::model::workspace::experiment;
-
-void readConfigFile(char* cfgfile, string& airavata_server, int& airavata_port, int&
airavata_timeout) {
-
-        Settings *conf;
-        GKeyFile *keyfile;
-        GKeyFileFlags flags;
-        GError *error = NULL;        
-        keyfile = g_key_file_new ();        				
-        if (!g_key_file_load_from_file (keyfile, cfgfile, flags, &error)) {
-                g_error (error->message);
-        } else {                
-                conf = g_slice_new (Settings);
-                conf->airavata_server    = g_key_file_get_string(keyfile, "airavata",
"AIRAVATA_SERVER", NULL);
-                airavata_server = conf->airavata_server;
-                conf->airavata_port      = g_key_file_get_integer(keyfile, "airavata",
"AIRAVATA_PORT", NULL);
-                airavata_port = conf->airavata_port;
-                conf->airavata_timeout  = g_key_file_get_integer(keyfile, "airavata",
"AIRAVATA_TIMEOUT", NULL);
-                airavata_timeout = conf->airavata_timeout;                
-        }				
-
-}
-
-
-int main(int argc, char **argv)
-{
-        
-        int airavata_port, airavata_timeout;
-        string airavata_server;
-				char* cfgfile;
-				cfgfile = "./airavata-client-properties.ini";
-        readConfigFile(cfgfile, airavata_server, airavata_port, airavata_timeout);				
-				airavata_server.erase(0,1);
-				airavata_server.erase(airavata_server.length()-1,1);			
-			  boost::shared_ptr<TSocket> socket(new TSocket(airavata_server, airavata_port));
-				socket->setSendTimeout(airavata_timeout);
-  			boost::shared_ptr<TTransport> transport(new TBufferedTransport(socket));	
-  			boost::shared_ptr<TProtocol> protocol(new TBinaryProtocol(transport));
-				AiravataClient airavataclient(protocol);
-				transport->open();
-				
-				
-				if(argc !=2){
-					cout << "Usage: ./getExperimentStatus <experimentID>";
-					return 0;
-				}
-				char* expId = argv[1];			
-				ExperimentStatus _return;		
-   			airavataclient.getExperimentStatus(_return, expId);
-   			cout << _return.experimentState <<"\n";
-				transport->close();
-				
-}

http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/d55608f1/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/launchExperiment.cpp
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/launchExperiment.cpp
b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/launchExperiment.cpp
deleted file mode 100644
index 2dc95a6..0000000
--- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/client_samples/launchExperiment.cpp
+++ /dev/null
@@ -1,116 +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.
- */
-
-#include <glib.h>
-#include <iostream>
-#include <stdint.h>
-#include <sys/time.h>
-
-#define _WIN32_WINNT 0x501
-
-#include <thrift/transport/TTransport.h>
-#include <thrift/transport/TBufferTransports.cpp>
-#include <thrift/transport/TSocket.cpp>
-#include <thrift/protocol/TProtocol.h>
-#include <thrift/protocol/TBinaryProtocol.h>
-#include <thrift/protocol/TBinaryProtocol.tcc>
-#include <thrift/TApplicationException.cpp>
-#include <thrift/transport/TTransportException.cpp>
-#include <thrift/protocol/TProtocolException.h>
-#include "../lib/airavata/Airavata.h"
-#include "../lib/airavata/Airavata.cpp"
-#include "../lib/airavata/airavataDataModel_types.h"
-#include "../lib/airavata/airavataDataModel_types.cpp"
-#include "../lib/airavata/airavataErrors_types.h"
-#include "../lib/airavata/airavataErrors_types.cpp"
-#include "../lib.airavata.registry.core.experiment.odel_types.h"
-#include "../lib.airavata.registry.core.experiment.odel_types.cpp"
-#include "../lib/airavata/workspaceModel_types.h"
-#include "../lib/airavata/workspaceModel_types.cpp"
-#include "../lib/airavata/airavataAPI_types.h"
-#include "../lib/airavata/airavataAPI_types.cpp"
-#include "../lib/airavata/applicationDeploymentModel_types.h"
-#include "../lib/airavata/applicationDeploymentModel_types.cpp"
-#include "../lib/airavata/applicationInterfaceModel_types.h"
-#include "../lib/airavata/applicationInterfaceModel_types.cpp"
-#include "../lib/airavata/gatewayResourceProfileModel_types.h"
-#include "../lib/airavata/gatewayResourceProfileModel_types.cpp"
-#include "../lib/airavata/computeResourceModel_types.h"
-#include "../lib/airavata/computeResourceModel_types.cpp"
-
-
-typedef struct {
-        gchar *airavata_server, *app_catalog_server;
-        gint airavata_port, app_catalog_port, airavata_timeout;
-} Settings;
-
-using namespace std;
-using namespace apache::thrift;
-using namespace apache::thrift::protocol;
-using namespace apache::thrift::transport;
-using namespace apache::airavata::api;
-
-void readConfigFile(char* cfgfile, string& airavata_server, int& airavata_port, int&
airavata_timeout) {
-
-        Settings *conf;
-        GKeyFile *keyfile;
-        GKeyFileFlags flags;
-        GError *error = NULL;        
-        keyfile = g_key_file_new ();        				
-        if (!g_key_file_load_from_file (keyfile, cfgfile, flags, &error)) {
-                g_error (error->message);
-        } else {                
-                conf = g_slice_new (Settings);
-                conf->airavata_server    = g_key_file_get_string(keyfile, "airavata",
"AIRAVATA_SERVER", NULL);
-                airavata_server = conf->airavata_server;
-                conf->airavata_port      = g_key_file_get_integer(keyfile, "airavata",
"AIRAVATA_PORT", NULL);
-                airavata_port = conf->airavata_port;
-                conf->airavata_timeout  = g_key_file_get_integer(keyfile, "airavata",
"AIRAVATA_TIMEOUT", NULL);
-                airavata_timeout = conf->airavata_timeout;                
-        }				
-
-}
-
-
-int main(int argc, char **argv)
-{
-        
-        int airavata_port, airavata_timeout;
-        string airavata_server;
-				char* cfgfile;
-				cfgfile = "./airavata-client-properties.ini";
-        readConfigFile(cfgfile, airavata_server, airavata_port, airavata_timeout);				
-				airavata_server.erase(0,1);
-				airavata_server.erase(airavata_server.length()-1,1);			
-			  boost::shared_ptr<TSocket> socket(new TSocket(airavata_server, airavata_port));
-				socket->setSendTimeout(airavata_timeout);
-  			boost::shared_ptr<TTransport> transport(new TBufferedTransport(socket));	
-  			boost::shared_ptr<TProtocol> protocol(new TBinaryProtocol(transport));
-				AiravataClient airavataclient(protocol);
-				transport->open();
-				
-				
-				if(argc !=2){
-					cout << "Usage: ./launchExperiment <experimentID>";
-					return 0;
-				}
-				char* expId = argv[1];					
-   			airavataclient.launchExperiment(expId, "airavataToken");
-   			cout << "Experiment " << expId << " is launched.\n";
-				transport->close();
-				
-}


Mime
View raw message