airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adham...@apache.org
Subject airavata git commit: Removing gfac dependency from worker core
Date Mon, 17 Apr 2017 17:08:50 GMT
Repository: airavata
Updated Branches:
  refs/heads/feature-workload-mgmt 336fb3161 -> 9efc26668


Removing gfac dependency from worker core


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

Branch: refs/heads/feature-workload-mgmt
Commit: 9efc26668ea59b5ad0f88cd571682263700c4b74
Parents: 336fb31
Author: Ajinkya Dhamnaskar <adhamnas@apache.org>
Authored: Mon Apr 17 13:08:46 2017 -0400
Committer: Ajinkya Dhamnaskar <adhamnas@apache.org>
Committed: Mon Apr 17 13:08:46 2017 -0400

----------------------------------------------------------------------
 .../airavata/worker/core/cluster/OutputParser.java      | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/9efc2666/modules/worker/worker-core/src/main/java/org/apache/airavata/worker/core/cluster/OutputParser.java
----------------------------------------------------------------------
diff --git a/modules/worker/worker-core/src/main/java/org/apache/airavata/worker/core/cluster/OutputParser.java
b/modules/worker/worker-core/src/main/java/org/apache/airavata/worker/core/cluster/OutputParser.java
index e9b74b5..62313ff 100644
--- a/modules/worker/worker-core/src/main/java/org/apache/airavata/worker/core/cluster/OutputParser.java
+++ b/modules/worker/worker-core/src/main/java/org/apache/airavata/worker/core/cluster/OutputParser.java
@@ -19,9 +19,9 @@
  */
 package org.apache.airavata.worker.core.cluster;
 
-import org.apache.airavata.gfac.core.GFacException;
-import org.apache.airavata.gfac.core.SSHApiException;
+import org.apache.airavata.worker.core.exceptions.SSHApiException;
 import org.apache.airavata.model.status.JobStatus;
+import org.apache.airavata.worker.core.exceptions.WorkerException;
 
 import java.util.Map;
 
@@ -32,7 +32,7 @@ public interface OutputParser {
      * @param rawOutput
      * @return
      */
-    public String parseJobSubmission(String rawOutput)throws GFacException;
+    public String parseJobSubmission(String rawOutput)throws WorkerException;
 
 
     /**
@@ -48,14 +48,14 @@ public interface OutputParser {
      * @param jobID
      * @param rawOutput
      */
-    public JobStatus parseJobStatus(String jobID, String rawOutput)throws GFacException;
+    public JobStatus parseJobStatus(String jobID, String rawOutput)throws WorkerException;
 
     /**
      * This can be used to parseSingleJob a big output and get multipleJob statuses
      * @param statusMap list of status map will return and key will be the job ID
      * @param rawOutput
      */
-    public void parseJobStatuses(String userName, Map<String, JobStatus> statusMap,
String rawOutput)throws GFacException;
+    public void parseJobStatuses(String userName, Map<String, JobStatus> statusMap,
String rawOutput)throws WorkerException;
 
     /**
      * filter the jobId value of given JobName from rawOutput
@@ -64,5 +64,5 @@ public interface OutputParser {
      * @return
      * @throws SSHApiException
      */
-    public String parseJobId(String jobName, String rawOutput) throws GFacException;
+    public String parseJobId(String jobName, String rawOutput) throws WorkerException;
 }


Mime
View raw message