You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ni...@apache.org on 2014/10/11 06:13:06 UTC

[20/50] [abbrv] git commit: adding constants for drool files names

adding constants for drool files names


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

Branch: refs/heads/master
Commit: 6e0eca9a0d8b03477d7d7d994eb5c7c913158a0b
Parents: 36c40b0
Author: R-Rajkumar <rr...@gmail.com>
Authored: Thu Oct 9 10:51:38 2014 +0530
Committer: Nirmal Fernando <ni...@gmail.com>
Committed: Sat Oct 11 09:30:56 2014 +0530

----------------------------------------------------------------------
 .../org/apache/stratos/common/constants/StratosConstants.java | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/6e0eca9a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/constants/StratosConstants.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/constants/StratosConstants.java b/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/constants/StratosConstants.java
index 1e36c15..5d3ad8c 100644
--- a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/constants/StratosConstants.java
+++ b/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/constants/StratosConstants.java
@@ -150,8 +150,15 @@ public class StratosConstants {
     public static final String KUBERNETES_DEPLOYER_TYPE = "kubernetes";
     public static final String KUBERNETES_MASTER_IP = "KUBERNETES_MASTER_IP";
     public static final String KUBERNETES_MIN_REPLICAS = "KUBERNETES_REPLICAS_MIN";
+    public static final String KUBERNETES_MAX_REPLICAS = "KUBERNETES_REPLICAS_MAX";
     public static final String KUBERNETES_PORT_RANGE = "KUBERNETES_PORT_RANGE";
     public static final String ALLOCATED_SERVICE_HOST_PORT = "ALLOCATED_SERVICE_HOST_PORT";
+    
+    //drools related constants
+    public static final String CONTAINER_SCALE_CHECK_DROOL_FILE = "container-scaling.drl";
+    public static final String VM_SCALE_CHECK_DROOL_FILE = "scaling.drl";
+    public static final String CONTAINER_MIN_CHECK_DROOL_FILE = "container-mincheck.drl";
+    public static final String VM_MIN_CHECK_DROOL_FILE = "mincheck.drl";
 
     // Policy and definition related constants
     public static final int PUBLIC_DEFINITION = 0;