You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ra...@apache.org on 2014/10/10 13:45:21 UTC
[02/14] 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/5db40af9
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/5db40af9
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/5db40af9
Branch: refs/heads/container-autoscaling
Commit: 5db40af957f8f0625508a3b17768636cb23abebf
Parents: 2a5cabe
Author: R-Rajkumar <rr...@gmail.com>
Authored: Thu Oct 9 10:51:38 2014 +0530
Committer: R-Rajkumar <rr...@gmail.com>
Committed: Thu Oct 9 10:51:38 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/5db40af9/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;