airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scnakand...@apache.org
Subject [3/3] airavata git commit: fixing storage resource data movement interface issues
Date Fri, 11 Dec 2015 19:37:02 GMT
fixing storage resource data movement interface issues


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

Branch: refs/heads/master
Commit: 55a1053a5ccf97af3e99cdead06d7be05d83af33
Parents: a30e5ea
Author: scnakandala <supun.nakandala@gmail.com>
Authored: Fri Dec 11 14:36:49 2015 -0500
Committer: scnakandala <supun.nakandala@gmail.com>
Committed: Fri Dec 11 14:36:49 2015 -0500

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


http://git-wip-us.apache.org/repos/asf/airavata/blob/55a1053a/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 4cb47b8..a634d72 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
@@ -118,8 +118,7 @@ public class AppCatalogThriftConversion {
         description.setHostName(resource.getHostName());
         description.setStorageResourceDescription(resource.getResourceDescription());
         description.setEnabled(resource.isEnabled());
-        DataMovementInterfaceResource dmiResource = new DataMovementInterfaceResource();
-        List<AppCatalogResource> dmiList = dmiResource.get(AppCatAbstractResource.StorageInterfaceConstants.STORAGE_RESOURCE_ID,
resource.getStorageResourceId());
+        List<AppCatalogResource> dmiList = resource.get(AppCatAbstractResource.StorageInterfaceConstants.STORAGE_RESOURCE_ID,
resource.getStorageResourceId());
         if (dmiList != null && !dmiList.isEmpty()){
             description.setDataMovementInterfaces(getDataMovementInterfaces(dmiList));
         }


Mime
View raw message