You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by da...@apache.org on 2015/05/15 14:06:44 UTC

stratos git commit: add extra properties to schema

Repository: stratos
Updated Branches:
  refs/heads/master d06401f70 -> 56ecda7a2


add extra properties to schema


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/56ecda7a
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/56ecda7a
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/56ecda7a

Branch: refs/heads/master
Commit: 56ecda7a238cb9efccd2c8da6431a23cc7d308a8
Parents: d06401f
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Fri May 15 17:35:41 2015 +0530
Committer: Dakshika Jayathilaka <si...@gmail.com>
Committed: Fri May 15 17:35:59 2015 +0530

----------------------------------------------------------------------
 .../forms/schema/configure/cartridges.json      | 110 +++++++++++++++++++
 1 file changed, 110 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/56ecda7a/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/cartridges.json
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/cartridges.json b/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/cartridges.json
index 29689da..fbfdaee 100644
--- a/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/cartridges.json
+++ b/components/org.apache.stratos.manager.console/console/controllers/forms/schema/configure/cartridges.json
@@ -175,6 +175,72 @@
                             "format": "number"
                         }
                     }
+                },
+                {
+                    "type": "object",
+                    "id": "root/portMapping/2",
+                    "required": false,
+                    "format": "grid",
+                    "title": "Port Mapping",
+                    "name": "Port Mapping",
+                    "properties": {
+                        "protocol": {
+                            "type": "string",
+                            "id": "root/portMapping/2/protocol",
+                            "title": "Protocol",
+                            "name": "Protocol",
+                            "default": "https"
+                        },
+                        "port": {
+                            "type": "number",
+                            "id": "root/portMapping/2/port",
+                            "title": "Port",
+                            "name": "Port",
+                            "default": "8243",
+                            "format": "number"
+                        },
+                        "proxyPort": {
+                            "type": "number",
+                            "id": "root/portMapping/2/proxyPort",
+                            "title": "Proxy Port",
+                            "name": "Proxy Port",
+                            "default": "8243",
+                            "format": "number"
+                        }
+                    }
+                },
+                {
+                    "type": "object",
+                    "id": "root/portMapping/3",
+                    "required": false,
+                    "format": "grid",
+                    "title": "Port Mapping",
+                    "name": "Port Mapping",
+                    "properties": {
+                        "protocol": {
+                            "type": "string",
+                            "id": "root/portMapping/3/protocol",
+                            "title": "Protocol",
+                            "name": "Protocol",
+                            "default": "https"
+                        },
+                        "port": {
+                            "type": "number",
+                            "id": "root/portMapping/3/port",
+                            "title": "Port",
+                            "name": "Port",
+                            "default": "8243",
+                            "format": "number"
+                        },
+                        "proxyPort": {
+                            "type": "number",
+                            "id": "root/portMapping/3/proxyPort",
+                            "title": "Proxy Port",
+                            "name": "Proxy Port",
+                            "default": "8243",
+                            "format": "number"
+                        }
+                    }
                 }
             ]
         },
@@ -259,6 +325,50 @@
                                         "required": false
                                     }
                                 }
+                            },
+                            {
+                                "type": "object",
+                                "id": "root/iaasProvider/0/property/2",
+                                "required": false,
+                                "format": "grid",
+                                "title": "Properties",
+                                "name": "Properties",
+                                "properties": {
+                                    "name": {
+                                        "type": "string",
+                                        "id": "root/iaasProvider/0/property/2/name",
+                                        "default": "keyPair",
+                                        "required": false
+                                    },
+                                    "value": {
+                                        "type": "string",
+                                        "id": "root/iaasProvider/0/property/2/value",
+                                        "default": "xxxxxx",
+                                        "required": false
+                                    }
+                                }
+                            },
+                            {
+                                "type": "object",
+                                "id": "root/iaasProvider/0/property/3",
+                                "required": false,
+                                "format": "grid",
+                                "title": "Properties",
+                                "name": "Properties",
+                                "properties": {
+                                    "name": {
+                                        "type": "string",
+                                        "id": "root/iaasProvider/0/property/3/name",
+                                        "default": "keyPair",
+                                        "required": false
+                                    },
+                                    "value": {
+                                        "type": "string",
+                                        "id": "root/iaasProvider/0/property/3/value",
+                                        "default": "xxxxxx",
+                                        "required": false
+                                    }
+                                }
                             }
                         ]
                     },