You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2014/07/07 06:51:28 UTC
[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) {