You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ga...@apache.org on 2015/01/23 05:28:54 UTC

[3/3] stratos git commit: Add Load Balancer access URLs to clusters in the REST API GET Application Runtime method

Add Load Balancer access URLs to clusters in the REST API GET Application Runtime method


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

Branch: refs/heads/master
Commit: fa83ca93892930ead59c8bd9c996c9749b783b14
Parents: 32353da
Author: Gayan Gunarathne <ga...@wso2.com>
Authored: Thu Jan 22 19:45:44 2015 +0530
Committer: Gayan Gunarathne <ga...@wso2.com>
Committed: Thu Jan 22 19:45:44 2015 +0530

----------------------------------------------------------------------
 .../stratos/rest/endpoint/util/converter/ObjectConverter.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/fa83ca93/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/util/converter/ObjectConverter.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/util/converter/ObjectConverter.java b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/util/converter/ObjectConverter.java
index 9779e1d..11656a4 100644
--- a/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/util/converter/ObjectConverter.java
+++ b/components/org.apache.stratos.rest.endpoint/src/main/java/org/apache/stratos/rest/endpoint/util/converter/ObjectConverter.java
@@ -703,7 +703,7 @@ public class ObjectConverter {
 			            for (PortMapping portMapping : portMappings) {
 				            if (clusterContext.isKubernetesClusterIdSpecified()) {
 					            String accessUrl = portMapping.getProtocol()+"://" + clusterContext.getHostName() +":"+
-					                               portMapping.getProxyPort();
+					                               portMapping.getKubernetesServicePort();
 					            accessUrls.add(accessUrl);
 				            }
 				            else {