Updated Branches:
  refs/heads/master 360e0ca9a -> 13a672acf

Temp. fix to change port separate in event subscriber


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

Branch: refs/heads/master
Commit: 0cf2a8a39e8c145e809f23d15ff047289c2133d5
Parents: b38067f
Author: Imesh Gunaratne <[email protected]>
Authored: Thu Dec 19 00:05:29 2013 +0530
Committer: Imesh Gunaratne <[email protected]>
Committed: Thu Dec 19 00:05:29 2013 +0530

----------------------------------------------------------------------
 .../org/apache/stratos/cartridge/agent/event/subscriber/Main.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/0cf2a8a3/products/cartridge-agent/modules/event-subscriber/src/main/java/org/apache/stratos/cartridge/agent/event/subscriber/Main.java
----------------------------------------------------------------------
diff --git 
a/products/cartridge-agent/modules/event-subscriber/src/main/java/org/apache/stratos/cartridge/agent/event/subscriber/Main.java
 
b/products/cartridge-agent/modules/event-subscriber/src/main/java/org/apache/stratos/cartridge/agent/event/subscriber/Main.java
index 2914eec..0cd1d2f 100644
--- 
a/products/cartridge-agent/modules/event-subscriber/src/main/java/org/apache/stratos/cartridge/agent/event/subscriber/Main.java
+++ 
b/products/cartridge-agent/modules/event-subscriber/src/main/java/org/apache/stratos/cartridge/agent/event/subscriber/Main.java
@@ -119,6 +119,7 @@ public class Main {
         if (StringUtils.isBlank(ports)) {
             throw new RuntimeException("No ports found");
         }
+        ports = ports.replace("|", ",");
         String[] portsArray = ports.split(",");
 
         long startTime = System.currentTimeMillis();

Reply via email to