airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sma...@apache.org
Subject svn commit: r1476717 - /airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/DescriptorUtil.java
Date Sun, 28 Apr 2013 03:31:01 GMT
Author: smarru
Date: Sun Apr 28 03:31:01 2013
New Revision: 1476717

URL: http://svn.apache.org/r1476717
Log:
Changing the name to UnicoreBESEPR to remove ambiguity with native unicore port configuration

Modified:
    airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/DescriptorUtil.java

Modified: airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/DescriptorUtil.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/DescriptorUtil.java?rev=1476717&r1=1476716&r2=1476717&view=diff
==============================================================================
--- airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/DescriptorUtil.java
(original)
+++ airavata/trunk/modules/rest/mappings/src/main/java/org/apache/airavata/rest/mappings/utils/DescriptorUtil.java
Sun Apr 28 03:31:01 2013
@@ -54,7 +54,7 @@ public class DescriptorUtil {
              ((UnicoreHostType) host.getType()).
                      setGridFTPEndPointArray(new String[]{hostEndpoint});
              ((UnicoreHostType) host.getType()).
-                     setUnicoreHostAddressArray(new String[]{gatekeeperEndpoint});
+                     setUnicoreBESEndPointArray(new String[]{gatekeeperEndpoint});
         }
         return host;
     }
@@ -146,7 +146,7 @@ public class DescriptorUtil {
         } else if (hostDescriptionType instanceof  UnicoreHostType) {
         	UnicoreHostType unicoreHostType = (UnicoreHostType) hostDescriptionType;
              hostType.add(HostTypes.UNICORE_HOST_TYPE);
-             String[] unicoreGateKeeperEndPointArray = unicoreHostType.getUnicoreHostAddressArray();
+             String[] unicoreGateKeeperEndPointArray = unicoreHostType.getUnicoreBESEndPointArray();
              for (int i = 0; i < unicoreGateKeeperEndPointArray.length ; i++){
                  gateKeeperEndPoint.add(unicoreGateKeeperEndPointArray[i]);
              }
@@ -203,7 +203,7 @@ public class DescriptorUtil {
             } else if (hostDescriptor.getHostType().get(0).equals(HostTypes.UNICORE_HOST_TYPE))
{
                  hostDescription.getType().changeType(UnicoreHostType.type);
                  if (!hostDescriptor.getGateKeeperEndPoint().isEmpty() && hostDescriptor.getGateKeeperEndPoint()
!= null){
-                     ((UnicoreHostType) hostDescription.getType()).addUnicoreHostAddress(hostDescriptor.getGateKeeperEndPoint().get(0));
+                     ((UnicoreHostType) hostDescription.getType()).addUnicoreBESEndPoint(hostDescriptor.getGateKeeperEndPoint().get(0));
                  }
                  if (!hostDescriptor.getGridFTPEndPoint().isEmpty() && hostDescriptor.getGridFTPEndPoint()
!= null){
                      ((UnicoreHostType) hostDescription.getType()).addGridFTPEndPoint(hostDescriptor.getGridFTPEndPoint().get(0));



Mime
View raw message