Return-Path: X-Original-To: apmail-airavata-commits-archive@www.apache.org Delivered-To: apmail-airavata-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1537D11CA5 for ; Mon, 7 Jul 2014 04:51:27 +0000 (UTC) Received: (qmail 42683 invoked by uid 500); 7 Jul 2014 04:51:27 -0000 Delivered-To: apmail-airavata-commits-archive@airavata.apache.org Received: (qmail 42568 invoked by uid 500); 7 Jul 2014 04:51:27 -0000 Mailing-List: contact commits-help@airavata.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airavata.apache.org Delivered-To: mailing list commits@airavata.apache.org Received: (qmail 42552 invoked by uid 99); 7 Jul 2014 04:51:26 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2014 04:51:26 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id AE5169A0B1C; Mon, 7 Jul 2014 04:51:26 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: smarru@apache.org To: commits@airavata.apache.org Date: Mon, 07 Jul 2014 04:51:28 -0000 Message-Id: <34bbf71aac9347c789e6607f686f0303@git.apache.org> In-Reply-To: <25ac2cceeecc4539b7cf97d9e7f1276e@git.apache.org> References: <25ac2cceeecc4539b7cf97d9e7f1276e@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [3/7] Gateway Profile API Funcations - AIRAVATA-1296 http://git-wip-us.apache.org/repos/asf/airavata/blob/5328757d/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/Airavata_server.skeleton.cpp ---------------------------------------------------------------------- diff --git a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/Airavata_server.skeleton.cpp b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/Airavata_server.skeleton.cpp index 9a98c8a..901402d 100644 --- a/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/Airavata_server.skeleton.cpp +++ b/airavata-api/airavata-client-sdks/airavata-cpp-sdk/src/main/resources/lib/Airavata_server.skeleton.cpp @@ -317,6 +317,51 @@ class AiravataHandler : virtual public AiravataIf { printf("deleteDataMovementInterface\n"); } + void registerGatewayResourceProfile(std::string& _return, const ::GatewayResourceProfile& gatewayResourceProfile) { + // Your implementation goes here + printf("registerGatewayResourceProfile\n"); + } + + void getGatewayResourceProfile( ::GatewayResourceProfile& _return, const std::string& gatewayID) { + // Your implementation goes here + printf("getGatewayResourceProfile\n"); + } + + bool updateGatewayResourceProfile(const std::string& gatewayID, const ::GatewayResourceProfile& gatewayResourceProfile) { + // Your implementation goes here + printf("updateGatewayResourceProfile\n"); + } + + bool deleteGatewayResourceProfile(const std::string& gatewayID) { + // Your implementation goes here + printf("deleteGatewayResourceProfile\n"); + } + + bool addGatewayComputeResourcePreference(const std::string& gatewayID, const std::string& computeResourceId, const ::ComputeResourcePreference& computeResourcePreference) { + // Your implementation goes here + printf("addGatewayComputeResourcePreference\n"); + } + + void getGatewayComputeResourcePreference( ::ComputeResourcePreference& _return, const std::string& gatewayID, const std::string& computeResourceId) { + // Your implementation goes here + printf("getGatewayComputeResourcePreference\n"); + } + + void getAllGatewayComputeResourcePreferences(std::vector< ::ComputeResourcePreference> & _return, const std::string& gatewayID) { + // Your implementation goes here + printf("getAllGatewayComputeResourcePreferences\n"); + } + + bool updateGatewayComputeResourcePreference(const std::string& gatewayID, const std::string& computeResourceId, const ::ComputeResourcePreference& computeResourcePreference) { + // Your implementation goes here + printf("updateGatewayComputeResourcePreference\n"); + } + + bool deleteGatewayComputeResourcePreference(const std::string& gatewayID, const std::string& computeResourceId) { + // Your implementation goes here + printf("deleteGatewayComputeResourcePreference\n"); + } + }; int main(int argc, char **argv) {