Repository: incubator-stratos Updated Branches: refs/heads/master 3c4212c3e -> 7e10ae239
udpating the samples in the config page Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/7e10ae23 Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/7e10ae23 Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/7e10ae23 Branch: refs/heads/master Commit: 7e10ae2392af3954b14c648139638c8c6bb77e43 Parents: 3c4212c Author: rekathiru <[email protected]> Authored: Thu Feb 20 13:07:48 2014 +0530 Committer: rekathiru <[email protected]> Committed: Thu Feb 20 13:07:48 2014 +0530 ---------------------------------------------------------------------- .../partials/configure_stratos_wizard.hbs | 52 ++++++++++++++------ 1 file changed, 36 insertions(+), 16 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/7e10ae23/components/org.apache.stratos.manager.console/console/themes/theme1/partials/configure_stratos_wizard.hbs ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager.console/console/themes/theme1/partials/configure_stratos_wizard.hbs b/components/org.apache.stratos.manager.console/console/themes/theme1/partials/configure_stratos_wizard.hbs index c6b1503..788e912 100644 --- a/components/org.apache.stratos.manager.console/console/themes/theme1/partials/configure_stratos_wizard.hbs +++ b/components/org.apache.stratos.manager.console/console/themes/theme1/partials/configure_stratos_wizard.hbs @@ -246,16 +246,18 @@ <pre> { "partition":{ - "id": "P1", + "id": "zone-1", "provider": "ec2", "property": [ { "name": "region", "value": "ap-southeast-1" + }, + { + "name": "zone", + "value": "ap-southeast-1a" } - ], - "partitionMin": "1", - "partitionMax": "3" + ] } } </pre> @@ -304,18 +306,36 @@ Example configuration: <pre> {"deploymentPolicy": { - "id": "economyDep", - "partitionGroup": { - "id": "ec2", - "partitionAlgo": "one-after-another", - "partition": [ + "id": "economyDeployment", + "partitionGroup": [ { - "id": "P2", - "partitionMax": "3", - "partitionMin": "1" + "id": "ec2-region1", + "partitionAlgo": "one-after-another", + "partition": [ + { + "id": "zone-1", + "partitionMax": "3", + "partitionMin": "1" + }, + { + "id": "zone-2", + "partitionMax": "5", + "partitionMin": "1" + } + ] + }, + { + "id": "ec2-region2", + "partitionAlgo": "round-robin", + "partition": [ + { + "id": "region-1", + "partitionMax": "6", + "partitionMin": "2" + } + ] } - ] - } + ] } } </pre> @@ -415,9 +435,9 @@ { "serviceDefinitionBean": { "serviceName": "appserver", "cartridgeType": "as", - "deploymentPolicyName": "isuruh-ec2", + "deploymentPolicyName": "economyDeployment", "autoscalingPolicyName": "economyPolicy", - "clusterDomain": "as.isuruh.domain", + "clusterDomain": "as.stratos.domain", "clusterSubDomain": "subdomain", "tenantRange": "*" }
