airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject git commit: app-catalog CPI - AIRAVATA-1228
Date Sun, 29 Jun 2014 04:19:43 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 8ebb254ff -> 3d5b9a67f


app-catalog CPI - AIRAVATA-1228


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

Branch: refs/heads/master
Commit: 3d5b9a67f5be5d6229a05c960ab09fdf26721489
Parents: 8ebb254
Author: Chathuri Wimalasena <kamalasini@gmail.com>
Authored: Sun Jun 29 00:19:37 2014 -0400
Committer: Chathuri Wimalasena <kamalasini@gmail.com>
Committed: Sun Jun 29 00:19:37 2014 -0400

----------------------------------------------------------------------
 .../org/airavata/appcatalog/cpi/AppCatalog.java |  4 +-
 .../appcatalog/cpi/ApplicationDeployment.java   |  4 ++
 .../appcatalog/cpi/ApplicationInterface.java    |  4 ++
 .../appcatalog/cpi/ComputeResource.java         | 53 ++++++++++++++++++++
 4 files changed, 64 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/3d5b9a67/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/AppCatalog.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/AppCatalog.java
b/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/AppCatalog.java
index 56cfbe7..e6e2bab 100644
--- a/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/AppCatalog.java
+++ b/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/AppCatalog.java
@@ -1,5 +1,7 @@
 package org.airavata.appcatalog.cpi;
 
 public interface AppCatalog {
-
+    ComputeResource getComputeResource();
+    ApplicationInterface getApplicationInterface();
+    ApplicationDeployment getApplicationDeployment();
 }

http://git-wip-us.apache.org/repos/asf/airavata/blob/3d5b9a67/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationDeployment.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationDeployment.java
b/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationDeployment.java
new file mode 100644
index 0000000..ac73134
--- /dev/null
+++ b/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationDeployment.java
@@ -0,0 +1,4 @@
+package org.airavata.appcatalog.cpi;
+
+public interface ApplicationDeployment {
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/3d5b9a67/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationInterface.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationInterface.java
b/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationInterface.java
new file mode 100644
index 0000000..8fde2dd
--- /dev/null
+++ b/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ApplicationInterface.java
@@ -0,0 +1,4 @@
+package org.airavata.appcatalog.cpi;
+
+public interface ApplicationInterface {
+}

http://git-wip-us.apache.org/repos/asf/airavata/blob/3d5b9a67/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ComputeResource.java
----------------------------------------------------------------------
diff --git a/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ComputeResource.java
b/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ComputeResource.java
new file mode 100644
index 0000000..9ca2454
--- /dev/null
+++ b/modules/app-catalog/app-catalog-cpi/src/main/java/org/airavata/appcatalog/cpi/ComputeResource.java
@@ -0,0 +1,53 @@
+package org.airavata.appcatalog.cpi;
+
+import org.apache.airavata.model.computehost.*;
+
+import java.util.List;
+import java.util.Map;
+
+public interface ComputeResource {
+    String addComputeResource (ComputeResourceDescription description);
+
+    String addSSHJobSubmission (SSHJobSubmission sshJobSubmission);
+
+    void addSSHJobSubmissionProtocol(String computeResourceId, String jobSubmissionId);
+
+    String addGSISSHJobSubmission (GSISSHJobSubmission gsisshJobSubmission);
+
+    void addGSISSHJobSubmissionProtocol (String computeResourceId, String jobSubmissionId);
+
+    String addGlobusJobSubmission (GlobusJobSubmission globusJobSubmission);
+
+    void addGlobusJobSubmissionProtocol (String computeResourceId, String jobSubmissionId);
+
+    String addScpDataMovement (SCPDataMovement scpDataMovement);
+
+    void addScpDataMovementProtocol (String computeResourceId, String dataMoveId);
+
+    String addGridFTPDataMovement (GridFTPDataMovement gridFTPDataMovement);
+
+    void addGridFTPDataMovementProtocol (String computeResourceId, String dataMoveId);
+
+    ComputeResourceDescription getComputeResource (String resourceId);
+
+    List<ComputeResourceDescription> getComputeResourceList (Map<String, String>
filters);
+
+    GSISSHJobSubmission getGSISSHJobSubmission (String submissionId);
+
+    List<GSISSHJobSubmission> getGSISSHJobSubmissionList (Map<String, String>
filters);
+
+    GlobusJobSubmission getGlobusJobSubmission (String submissionId);
+
+    List<GlobusJobSubmission> getGlobusJobSubmissionList (Map<String, String>
filters);
+
+    SCPDataMovement getSCPDataMovement (String dataMoveId);
+
+    List<SCPDataMovement> getSCPDataMovementList (Map<String, String> filters);
+
+    GridFTPDataMovement getGridFTPDataMovement (String dataMoveId);
+
+    List<GridFTPDataMovement> getGridFTPDataMovementList (Map<String, String>
filters);
+
+    boolean isComputeResourceExists (String resourceId);
+
+}


Mime
View raw message