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/11 07:50:52 UTC
[04/18] stratos git commit: remove deployment policies from
configuration section
remove deployment policies from configuration section
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/6f20cbe9
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/6f20cbe9
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/6f20cbe9
Branch: refs/heads/4.1.0-test
Commit: 6f20cbe96294f404686ea78e46a169def831dc73
Parents: e6d8c6a
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Wed Dec 10 16:23:29 2014 +0530
Committer: Dakshika Jayathilaka <si...@gmail.com>
Committed: Wed Dec 10 16:23:29 2014 +0530
----------------------------------------------------------------------
.../console/configure_form.jag | 22 --------------------
.../configure/configure_requests.jag | 3 ---
2 files changed, 25 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/6f20cbe9/components/org.apache.stratos.manager.console/console/configure_form.jag
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/configure_form.jag b/components/org.apache.stratos.manager.console/console/configure_form.jag
index cb56aca..4464298 100644
--- a/components/org.apache.stratos.manager.console/console/configure_form.jag
+++ b/components/org.apache.stratos.manager.console/console/configure_form.jag
@@ -85,28 +85,6 @@ switch (formtype) {
}
break;
- case "deployments":
- list_data = util.RESTCalls.getPolicyDeployment();
- if(list_data == null) {
- list_data = util.RESTCalls.getPartitions()
- if(list_data.partition && list_data.partition.length === 0){
- list_data = null;
- dependancy = 'partitions';
- }else{
- list_data = null;
- }
- }else{
- formDataEdit = list_data.deploymentPolicy;
- for (specNumber in list_data.deploymentPolicy) {
- if (list_data.deploymentPolicy[specNumber].id == elements.action) {
- formDataEdit = list_data.deploymentPolicy[specNumber];
- }
-
- }
- //TODO need to add listing with corrected JSON
- }
- break;
-
case "loadbalancer":
list_data = util.RESTCalls.getLbCartridges();
if (list_data.cartridge && list_data.cartridge.length === 0) {
http://git-wip-us.apache.org/repos/asf/stratos/blob/6f20cbe9/components/org.apache.stratos.manager.console/console/controllers/configure/configure_requests.jag
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/controllers/configure/configure_requests.jag b/components/org.apache.stratos.manager.console/console/controllers/configure/configure_requests.jag
index 30b2263..feb01cd 100644
--- a/components/org.apache.stratos.manager.console/console/controllers/configure/configure_requests.jag
+++ b/components/org.apache.stratos.manager.console/console/controllers/configure/configure_requests.jag
@@ -33,9 +33,6 @@ try {
case "autoscalingpolicies":
formSubmit = util.RESTCalls.deployAutoscalePolicyDefinition(formPayload);
break;
- case "deployments":
- formSubmit = util.RESTCalls.deployDeploymentPolicyDefinition(formPayload);
- break;
case "loadbalancer":
formSubmit = util.RESTCalls.deployLbDefinition(formPayload);
break;