You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2014/12/19 12:18:27 UTC
stratos git commit: Removing lowerLimit from jsons and verifiers
Repository: stratos
Updated Branches:
refs/heads/master 62ff2f02b -> e142f2ded
Removing lowerLimit from jsons and verifiers
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/e142f2de
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/e142f2de
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/e142f2de
Branch: refs/heads/master
Commit: e142f2dedae3147e843f00c7af6455bfe4a8e3ca
Parents: 62ff2f0
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Fri Dec 19 16:50:38 2014 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Fri Dec 19 16:50:38 2014 +0530
----------------------------------------------------------------------
.../schema/configure/autoscalingpolicies.json | 27 --------------------
.../samples/ec2/autoscale-policy 2.json | 9 +++----
2 files changed, 3 insertions(+), 33 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/e142f2de/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/autoscalingpolicies.json
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/autoscalingpolicies.json b/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/autoscalingpolicies.json
index e3c8f56..32e79da 100644
--- a/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/autoscalingpolicies.json
+++ b/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/autoscalingpolicies.json
@@ -61,15 +61,6 @@
"collapsed": false
},
"properties":{
- "lowerLimit": {
- "type":"number",
- "id": "root/loadThresholds/requestsInFlight/lowerLimit",
- "title": "Lower Limit",
- "name": "Lower Limit",
- "default":5,
- "format": "number",
- "required":false
- },
"upperLimit": {
"type":"number",
"id": "root/loadThresholds/requestsInFlight/upperLimit",
@@ -92,15 +83,6 @@
"collapsed": false
},
"properties":{
- "lowerLimit": {
- "type":"number",
- "id": "root/loadThresholds/memoryConsumption/lowerLimit",
- "title": "Lower Limit",
- "name": "Lower Limit",
- "default":50,
- "format": "number",
- "required":false
- },
"upperLimit": {
"type":"number",
"id": "root/loadThresholds/memoryConsumption/upperLimit",
@@ -123,15 +105,6 @@
"collapsed": false
},
"properties":{
- "lowerLimit": {
- "type":"number",
- "id": "root/loadThresholds/loadAverage/lowerLimit",
- "title": "Lower Limit",
- "name": "Lower Limit",
- "default":20,
- "format": "number",
- "required":false
- },
"upperLimit": {
"type":"number",
"id": "root/loadThresholds/loadAverage/upperLimit",
http://git-wip-us.apache.org/repos/asf/stratos/blob/e142f2de/tools/automation-sripts/grouping-automation-script/samples/ec2/autoscale-policy 2.json
----------------------------------------------------------------------
diff --git a/tools/automation-sripts/grouping-automation-script/samples/ec2/autoscale-policy 2.json b/tools/automation-sripts/grouping-automation-script/samples/ec2/autoscale-policy 2.json
index f18d134..8ac8212 100755
--- a/tools/automation-sripts/grouping-automation-script/samples/ec2/autoscale-policy 2.json
+++ b/tools/automation-sripts/grouping-automation-script/samples/ec2/autoscale-policy 2.json
@@ -2,16 +2,13 @@
"id": "autoscale_policy_mysql",
"loadThresholds": {
"requestsInFlight": {
- "upperLimit": 30,
- "lowerLimit": 5
+ "threshold": 30
},
"memoryConsumption": {
- "upperLimit": 40,
- "lowerLimit": 15
+ "threshold": 40
},
"loadAverage": {
- "upperLimit": 150,
- "lowerLimit": 100
+ "threshold": 150
}
}
}