You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/08/13 14:02:39 UTC

[3/6] stratos git commit: Changing comment

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 <an...@gmail.com>
Authored: Thu Aug 13 09:42:09 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
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
      */