You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sc...@apache.org on 2017/02/07 19:15:58 UTC

airavata git commit: fixing gatewayReportingGatewayId wrongly set issue

Repository: airavata
Updated Branches:
  refs/heads/develop 8eca75cb1 -> 52ae8349b


fixing gatewayReportingGatewayId wrongly set issue


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

Branch: refs/heads/develop
Commit: 52ae8349b941d699bfb1e74f743452510a880a75
Parents: 8eca75c
Author: scnakandala <su...@gmail.com>
Authored: Tue Feb 7 14:15:50 2017 -0500
Committer: scnakandala <su...@gmail.com>
Committed: Tue Feb 7 14:15:50 2017 -0500

----------------------------------------------------------------------
 .../registry/core/app/catalog/util/AppCatalogThriftConversion.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/52ae8349/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/util/AppCatalogThriftConversion.java
----------------------------------------------------------------------
diff --git a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/util/AppCatalogThriftConversion.java b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/util/AppCatalogThriftConversion.java
index 78026a5..4cb76ca 100644
--- a/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/util/AppCatalogThriftConversion.java
+++ b/modules/registry/registry-core/src/main/java/org/apache/airavata/registry/core/app/catalog/util/AppCatalogThriftConversion.java
@@ -848,7 +848,7 @@ public class AppCatalogThriftConversion {
         preference.setAllocationProjectNumber(resource.getProjectNumber());
         preference.setLoginUserName(resource.getLoginUserName());
         preference.setResourceSpecificCredentialStoreToken(resource.getResourceCSToken());
-        preference.setUsageReportingGatewayId(resource.getGatewayId());
+        preference.setUsageReportingGatewayId(resource.getUsageReportingGatewayId());
         preference.setQualityOfService(resource.getQualityOfService());
         preference.setReservation(resource.getReservation());
         if (resource.getReservationStartTime() != null) {