Changing comment
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/c539fd7f Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/c539fd7f Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/c539fd7f Branch: refs/heads/master Commit: c539fd7ff7190255e9812404515d5384d0864917 Parents: bc43528 Author: anuruddhal <[email protected]> Authored: Thu Aug 13 09:42:09 2015 +0530 Committer: Imesh Gunaratne <[email protected]> Committed: Thu Aug 13 17:32:32 2015 +0530 ---------------------------------------------------------------------- .../autoscaler/applications/ApplicationUtils.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/c539fd7f/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/ApplicationUtils.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/ApplicationUtils.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/ApplicationUtils.java index b9d04e0..6996768 100644 --- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/ApplicationUtils.java +++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/applications/ApplicationUtils.java @@ -77,10 +77,8 @@ public class ApplicationUtils { } /** - * This method creates payload string with port mappings in following format. - * PORT_MAPPINGS='NAME:mgt-console|PROTOCOL:https|PORT:30649|PROXY_PORT:0|TYPE:NodePort; - * NAME:pt-http|PROTOCOL:http|PORT:30650|PROXY_PORT:0|TYPE:NodePort; - * NAME:pt-https|PROTOCOL:https|PORT:30651|PROXY_PORT:0|TYPE:NodePort + * This method creates payload string with port numbers in + * 'PORTS': '9443|8280|8243' format * @param cartridge * @return String containing port mapping */ @@ -106,8 +104,11 @@ public class ApplicationUtils { } /** - * This method creates payload string with port numbers in - * 'PORTS': '9443|8280|8243' format + * This method creates payload string with port mappings in following format. + * PORT_MAPPINGS='NAME:mgt-console|PROTOCOL:https|PORT:30649|PROXY_PORT:0|TYPE:NodePort; + * NAME:pt-http|PROTOCOL:http|PORT:30650|PROXY_PORT:0|TYPE:NodePort; + * NAME:pt-https|PROTOCOL:https|PORT:30651|PROXY_PORT:0|TYPE:NodePort + * * @param cartridge * @return */
