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 2015/11/12 22:38:08 UTC

airavata git commit: adding empty implementations to fix the build

Repository: airavata
Updated Branches:
  refs/heads/develop e2799d45d -> 96687a6b7


adding empty implementations to fix the build


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/96687a6b
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/96687a6b
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/96687a6b

Branch: refs/heads/develop
Commit: 96687a6b7c4837e87fe8761eaf953b3d5e477afa
Parents: e2799d4
Author: smarru <sm...@apache.org>
Authored: Thu Nov 12 16:38:02 2015 -0500
Committer: smarru <sm...@apache.org>
Committed: Thu Nov 12 16:38:02 2015 -0500

----------------------------------------------------------------------
 .../server/handler/AiravataServerHandler.java   | 66 ++++++++++++++++++++
 1 file changed, 66 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/96687a6b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
----------------------------------------------------------------------
diff --git a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
index 9f0e7cc..569efcd 100644
--- a/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
+++ b/airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
@@ -43,6 +43,7 @@ import org.apache.airavata.model.appcatalog.computeresource.*;
 import org.apache.airavata.model.appcatalog.gatewayprofile.ComputeResourcePreference;
 import org.apache.airavata.model.appcatalog.gatewayprofile.DataStoragePreference;
 import org.apache.airavata.model.appcatalog.gatewayprofile.GatewayResourceProfile;
+import org.apache.airavata.model.appcatalog.storageresource.StorageResourceDescription;
 import org.apache.airavata.model.application.io.InputDataObjectType;
 import org.apache.airavata.model.application.io.OutputDataObjectType;
 import org.apache.airavata.model.error.*;
@@ -2473,6 +2474,71 @@ public class AiravataServerHandler implements Airavata.Iface {
     }
 
     /**
+     * Register a Storage Resource.
+     *
+     * @param authzToken
+     * @param storageResourceDescription Storge Resource Object created from the datamodel.
+     * @return storageResourceId
+     * Returns a server-side generated airavata storage resource globally unique identifier.
+     */
+    @Override
+    public String registerStorageResource(AuthzToken authzToken, StorageResourceDescription storageResourceDescription) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
+        return null;
+    }
+
+    /**
+     * Fetch the given Storage Resource.
+     *
+     * @param authzToken
+     * @param storageResourceId The identifier for the requested storage resource
+     * @return storageResourceDescription
+     * Storage Resource Object created from the datamodel..
+     */
+    @Override
+    public StorageResourceDescription getStorageResource(AuthzToken authzToken, String storageResourceId) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
+        return null;
+    }
+
+    /**
+     * Fetch all registered Storage Resources.
+     *
+     * @param authzToken
+     * @return A map of registered compute resource id's and thier corresponding hostnames.
+     * Compute Resource Object created from the datamodel..
+     */
+    @Override
+    public Map<String, String> getAllStorageResourceNames(AuthzToken authzToken) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
+        return null;
+    }
+
+    /**
+     * Update a Compute Resource.
+     *
+     * @param authzToken
+     * @param storageResourceId          The identifier for the requested compute resource to be updated.
+     * @param storageResourceDescription Storage Resource Object created from the datamodel.
+     * @return status
+     * Returns a success/failure of the update.
+     */
+    @Override
+    public boolean updateStorageResource(AuthzToken authzToken, String storageResourceId, StorageResourceDescription storageResourceDescription) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
+        return false;
+    }
+
+    /**
+     * Delete a Storage Resource.
+     *
+     * @param authzToken
+     * @param storageResourceId The identifier for the requested compute resource to be deleted.
+     * @return status
+     * Returns a success/failure of the deletion.
+     */
+    @Override
+    public boolean deleteStorageResource(AuthzToken authzToken, String storageResourceId) throws InvalidRequestException, AiravataClientException, AiravataSystemException, AuthorizationException, TException {
+        return false;
+    }
+
+    /**
      * Add a Local Job Submission details to a compute resource
      * App catalog will return a jobSubmissionInterfaceId which will be added to the jobSubmissionInterfaces.
      *