airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject git commit: fixing possible issue when retrieving job details
Date Wed, 12 Mar 2014 17:19:27 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 95fb3eb64 -> ef3e2e4c2


fixing possible issue when retrieving job details


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

Branch: refs/heads/master
Commit: ef3e2e4c21b485f46a260699ffe13eb42fb69059
Parents: 95fb3eb
Author: chathuri <chathuri@apache.org>
Authored: Wed Mar 12 13:19:21 2014 -0400
Committer: chathuri <chathuri@apache.org>
Committed: Wed Mar 12 13:19:21 2014 -0400

----------------------------------------------------------------------
 .../persistance/registry/jpa/resources/TaskDetailResource.java      | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/ef3e2e4c/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/TaskDetailResource.java
----------------------------------------------------------------------
diff --git a/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/TaskDetailResource.java
b/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/TaskDetailResource.java
index 4faa9af..21895f0 100644
--- a/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/TaskDetailResource.java
+++ b/modules/registry/airavata-jpa-registry/src/main/java/org/apache/airavata/persistance/registry/jpa/resources/TaskDetailResource.java
@@ -247,6 +247,7 @@ public class TaskDetailResource extends AbstractResource {
             case JOB_DETAIL:
                 generator = new QueryGenerator(JOB_DETAIL);
                 generator.setParameter(JobDetailConstants.JOB_ID, name);
+                generator.setParameter(JobDetailConstants.TASK_ID, taskId);
                 q = generator.selectQuery(em);
                 JobDetail jobDetail = (JobDetail)q.getSingleResult();
                 JobDetailResource jobDetailResource = (JobDetailResource)Utils.getResource(ResourceType.JOB_DETAIL,
jobDetail);


Mime
View raw message