Repository: stratos
Updated Branches:
  refs/heads/master 6b130b3fa -> c4235bfee


Modified service group into cartridge group


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

Branch: refs/heads/master
Commit: e414299516c95094fe6e9e25a35ea2d54f39b28e
Parents: 21f7931
Author: Dinithi <[email protected]>
Authored: Tue May 19 13:35:33 2015 +0530
Committer: Dinithi <[email protected]>
Committed: Tue May 19 13:35:33 2015 +0530

----------------------------------------------------------------------
 .../org/apache/stratos/autoscaler/util/AutoscalerUtil.java     | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/e4142995/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/util/AutoscalerUtil.java
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/util/AutoscalerUtil.java
 
b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/util/AutoscalerUtil.java
index ce71418..71661a7 100644
--- 
a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/util/AutoscalerUtil.java
+++ 
b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/util/AutoscalerUtil.java
@@ -870,7 +870,8 @@ public class AutoscalerUtil {
             for (String splittedStartupOrder : splittedStartupOrders) {
                 if (!splittedStartupOrder.trim().startsWith("cartridge.") && 
!splittedStartupOrder.trim().startsWith("group.")) {
                     // invalid startup order; should prefixed by either 
'cartridge.' or 'group.'
-                    throw new InvalidServiceGroupException("Invalid Service 
Group: startup order [" + startupOrder + "] for group " + groupName +
+                    throw new InvalidServiceGroupException("Invalid cartridge 
group: startup order [" + startupOrder +
+                            "] for group " + groupName +
                             ", should prefixed by either 'cartridge.' or 
'group.'");
                 }
             }
@@ -892,7 +893,8 @@ public class AutoscalerUtil {
             for (String splittedDependent : splittedDependents) {
                 if (!splittedDependent.trim().startsWith("cartridge.") && 
!splittedDependent.trim().startsWith("group.")) {
                     // invalid startup order; should prefixed by either 
'cartridge.' or 'group.'
-                    throw new InvalidServiceGroupException("Invalid Service 
Group: Scaling Dependency [" + scalingDependent + "] for group " + groupName +
+                    throw new InvalidServiceGroupException("Invalid cartridge 
group: Scaling Dependency [" +
+                            scalingDependent + "] for group " + groupName +
                             ", should prefixed by either 'cartridge.' or 
'group.'");
                 }
             }

Reply via email to