Improve and update application policy schema
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/e69fa4b0 Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/e69fa4b0 Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/e69fa4b0 Branch: refs/heads/master-deployment-policy-fix-merge Commit: e69fa4b0ca48740f9cd230a56eb800b09720c34e Parents: dfb7cac Author: Dakshika Jayathilaka <[email protected]> Authored: Sat Mar 14 05:55:56 2015 +0530 Committer: Dakshika Jayathilaka <[email protected]> Committed: Sat Mar 14 05:55:56 2015 +0530 ---------------------------------------------------------------------- .../schema/configure/applicationpolicies.json | 21 +++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/stratos/blob/e69fa4b0/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/applicationpolicies.json ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/applicationpolicies.json b/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/applicationpolicies.json index 051adab..8113dd5 100644 --- a/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/applicationpolicies.json +++ b/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/applicationpolicies.json @@ -11,27 +11,40 @@ "properties": { "id": { "id": "root/id", - "type": "string" + "type": "string", + "title": "Application Policy Id ", + "name": "Application Policy Id", }, "algorithm": { "id": "root/algorithm", - "type": "string" + "type": "string", + "title": "Application Policy Algorithm ", + "name": "Application Policy Algorithm", + "enum": ["one-after-another","all-at-once","weighted-one-after-another"], }, "networkPartitions": { "id": "root/networkPartitions", "type": "array", + "title": "Network Partitions ", + "name": "Network Partitions", "items": { "id": "root/networkPartitions/0", - "type": "string" + "type": "string", + "title": "Network Partitions ", + "name": "Network Partitions" } }, "properties": { "id": "root/properties", "type": "array", + "title": "Properties ", + "name": "Properties", "items": [ { "id": "root/properties/0", "type": "object", + "title": "Properties ", + "name": "Properties", "properties": { "name": { "id": "root/properties/0/name", @@ -46,6 +59,8 @@ { "id": "root/properties/1", "type": "object", + "title": "Properties ", + "name": "Properties", "properties": { "name": { "id": "root/properties/1/name",
