airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dimuthu...@apache.org
Subject [airavata] branch develop updated: Fixing the bug of not listing parsers by gateway id
Date Tue, 08 Jan 2019 21:59:46 GMT
This is an automated email from the ASF dual-hosted git repository.

dimuthuupe pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata.git


The following commit(s) were added to refs/heads/develop by this push:
     new 11e8463  Fixing the bug of not listing parsers by gateway id
11e8463 is described below

commit 11e846363cdb4822692f82bac71ccc2441e541da
Author: Dimuthu Wannipurage <dimuthu.upeksha2@gmail.com>
AuthorDate: Tue Jan 8 16:59:34 2019 -0500

    Fixing the bug of not listing parsers by gateway id
---
 .../java/org/apache/airavata/registry/core/utils/QueryConstants.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/utils/QueryConstants.java
b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/utils/QueryConstants.java
index 2c65c88..9fc4ccb 100644
--- a/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/utils/QueryConstants.java
+++ b/modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/utils/QueryConstants.java
@@ -172,8 +172,8 @@ public interface QueryConstants {
     String FIND_PARSING_TEMPLATES_FOR_APPLICATION_INTERFACE_ID = "SELECT PT FROM " + ParsingTemplateEntity.class.getSimpleName()
+ " PT " +
             "WHERE PT.applicationInterface = :" + DBConstants.ParsingTemplate.APPLICATION_INTERFACE_ID;
     String FIND_ALL_PARSING_TEMPLATES_FOR_GATEWAY_ID = "SELECT PT FROM " + ParsingTemplateEntity.class.getSimpleName()
+ " PT " +
-            "WHERE PT.gateway = :" + DBConstants.ParsingTemplate.GATEWAY_ID;
+            "WHERE PT.gatewayId = :" + DBConstants.ParsingTemplate.GATEWAY_ID;
 
     String FIND_ALL_PARSERS_FOR_GATEWAY_ID = "SELECT P FROM " + ParserEntity.class.getSimpleName()
+ " P " +
-            "WHERE P.gateway = :" + DBConstants.Parser.GATEWAY_ID;
+            "WHERE P.gatewayId = :" + DBConstants.Parser.GATEWAY_ID;
 }


Mime
View raw message