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/08/01 04:29:16 UTC

[3/3] stratos git commit: adding wso-as.json

adding wso-as.json


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

Branch: refs/heads/master
Commit: 30dcd78def18c2936642cfdc12a2fdcd3e0ac074
Parents: 1717090
Author: Punnadi Gunarathna <pu...@wso2.com>
Authored: Wed Jun 24 14:09:07 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Sat Aug 1 07:59:00 2015 +0530

----------------------------------------------------------------------
 samples/cartridges/kubernetes/wso2-as.json | 57 +++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/30dcd78d/samples/cartridges/kubernetes/wso2-as.json
----------------------------------------------------------------------
diff --git a/samples/cartridges/kubernetes/wso2-as.json b/samples/cartridges/kubernetes/wso2-as.json
new file mode 100755
index 0000000..52e4fea
--- /dev/null
+++ b/samples/cartridges/kubernetes/wso2-as.json
@@ -0,0 +1,57 @@
+{
+    "type": "wso2as",
+    "provider": "wso2",
+    "category": "framework",
+    "host": "wso2as.stratos.org",
+    "displayName": "WSO2 AS 5.2.1",
+    "description": "WSO2 AS 5.2.1 Cartridge",
+    "version": "5.2.1",
+    "multiTenant": "false",
+    "loadBalancingIPType": "public",
+    "portMapping": [
+        {
+            "name": "http-9763",
+            "protocol": "http",
+            "port": "9763",
+            "proxyPort": "8280"
+        },
+        {
+            "name": "http-9443",
+            "protocol": "https",
+            "port": "9443",
+            "proxyPort": "8243"
+        }
+
+    ],
+    "deployment": {
+        "baseDir": "/var/www"
+    },
+    "iaasProvider": [
+        {
+            "type": "kubernetes",
+            "imageId": "wso2/as:5.2.1",
+            "networkInterfaces": [
+            ],
+            "property": [
+            ]
+        }
+    ],
+    "property": [
+        {
+            "name": "KUBERNETES_CONTAINER_CPU",
+            "value": "0"
+        },
+        {
+            "name": "KUBERNETES_CONTAINER_MEMORY",
+            "value": "0"
+        },
+        {
+            "name": "KUBERNETES_SERVICE_SESSION_AFFINITY",
+            "value": "ClientIP"
+        },
+        {
+            "name": "payload_parameter.START_CMD",
+            "value": "PCA"
+        }
+    ]
+}