airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject airavata git commit: returning boolean for updateNotification
Date Fri, 29 Apr 2016 20:13:49 GMT
Repository: airavata
Updated Branches:
  refs/heads/develop ffd1954af -> f5cf05756


returning boolean for updateNotification


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

Branch: refs/heads/develop
Commit: f5cf05756577142c8a111e1bdd09fccf0b5e02f2
Parents: ffd1954
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Fri Apr 29 16:13:46 2016 -0400
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Fri Apr 29 16:13:46 2016 -0400

----------------------------------------------------------------------
 .../core/experiment/catalog/resources/NotificationResource.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/f5cf0575/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/NotificationResource.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/NotificationResource.java
b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/NotificationResource.java
index c6daa67..ba6f032 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/NotificationResource.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/experiment/catalog/resources/NotificationResource.java
@@ -131,7 +131,7 @@ public class NotificationResource extends AbstractExpCatResource {
             em = ExpCatResourceUtils.getEntityManager();
             em.getTransaction().begin();
             QueryGenerator generator = new QueryGenerator(NOTIFICATION);
-            generator.setParameter(NotificationConstants.GATEWAY_ID, gatewayId);
+            generator.setParameter(NotificationConstants.NOTIFICATION_ID, name);
             Query q = generator.deleteQuery(em);
             q.executeUpdate();
             em.getTransaction().commit();


Mime
View raw message