You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/03/08 07:33:07 UTC
[06/15] stratos git commit: improve network partion section
improve network partion section
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/8185cce8
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/8185cce8
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/8185cce8
Branch: refs/heads/master
Commit: 8185cce848f74d7ca5a3fc48d4de9c8a84c5377e
Parents: f9fd371
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Sat Mar 7 19:21:23 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Sun Mar 8 12:02:55 2015 +0530
----------------------------------------------------------------------
.../console/configure_form.jag | 4 ++--
.../controllers/forms/schema/configure/partitions.json | 12 ++++++++----
2 files changed, 10 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/8185cce8/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 9ed9882..8397881 100644
--- a/components/org.apache.stratos.manager.console/console/configure_form.jag
+++ b/components/org.apache.stratos.manager.console/console/configure_form.jag
@@ -69,8 +69,8 @@ if(isEdit == false && elements.action != 'new') {
switch (formtype) {
case "partitions":
- formTitle = "Partition Definition",
- buttonText = "Partition Definition";
+ formTitle = "Network Partition Definition",
+ buttonText = "Network Partition Definition";
list_data = util.RESTCalls.getPartitions();
if (list_data && list_data.length === 0) {
list_data = null;
http://git-wip-us.apache.org/repos/asf/stratos/blob/8185cce8/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/partitions.json
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/partitions.json b/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/partitions.json
index c3e7eb0..88f11a0 100644
--- a/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/partitions.json
+++ b/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/partitions.json
@@ -2,8 +2,8 @@
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "root",
"type": "object",
- "title":"Partition Definition",
- "name": "Partition Policy",
+ "title":"Network Partition Definition",
+ "name": "Network Partition Policy",
"options": {
"disable_properties": true,
"disable_collapse": true
@@ -11,18 +11,22 @@
"properties": {
"id": {
"id": "root/id",
- "type": "string"
+ "type": "string",
+ "title":"Network Partition Id"
},
"activeByDefault": {
"id": "root/activeByDefault",
- "type": "boolean"
+ "type": "boolean",
+ "title":"Active By Default"
},
"partitions": {
"id": "root/partitions",
"type": "array",
+ "title":"Partitions",
"items": {
"id": "root/partitions/0",
"type": "object",
+ "title":"Partition",
"properties": {
"id": {
"id": "root/partitions/0/id",