Repository: incubator-stratos
Updated Branches:
  refs/heads/master e75043e6a -> 6089f8a69


Removed JSON templates. We should add those in Wiki


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

Branch: refs/heads/master
Commit: 79ca4220a9a4afd4b9ab46ae4db3f36a24a53f82
Parents: e75043e
Author: M. Isuru Tharanga Chrishantha Perera <[email protected]>
Authored: Mon Mar 31 10:20:50 2014 +0530
Committer: M. Isuru Tharanga Chrishantha Perera <[email protected]>
Committed: Mon Mar 31 10:20:50 2014 +0530

----------------------------------------------------------------------
 tools/templates/json/autoscale-policy.json      | 28 --------
 tools/templates/json/cartridge.json             | 49 --------------
 tools/templates/json/deployment-policy.json     | 16 -----
 .../templates/json/load-balancer-cartridge.json | 67 --------------------
 tools/templates/json/partition.json             | 14 ----
 tools/templates/json/subscribe.json             | 12 ----
 6 files changed, 186 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/79ca4220/tools/templates/json/autoscale-policy.json
----------------------------------------------------------------------
diff --git a/tools/templates/json/autoscale-policy.json 
b/tools/templates/json/autoscale-policy.json
deleted file mode 100644
index 326fa25..0000000
--- a/tools/templates/json/autoscale-policy.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
-    "autoscalePolicy": {
-        "id": "autoscale-policy-id",
-        "loadThresholds": {
-            "requestsInFlight": {
-                "average": "6000",
-                "gradient": "0",
-                "secondDerivative": "0",
-                "scaleDownMarginOfGradient": "1.0",
-                "scaleDownMarginOfSecondDerivative": "0.2"
-            },
-            "memoryConsumption": {
-                "average": "6000",
-                "gradient": "0",
-                "secondDerivative": "0",
-                "scaleDownMarginOfGradient": "1.0",
-                "scaleDownMarginOfSecondDerivative": "0.2"
-            },
-            "loadAverage": {
-                "average": "6000",
-                "gradient": "0",
-                "secondDerivative": "0",
-                "scaleDownMarginOfGradient": "1.0",
-                "scaleDownMarginOfSecondDerivative": "0.2"
-            }
-        }
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/79ca4220/tools/templates/json/cartridge.json
----------------------------------------------------------------------
diff --git a/tools/templates/json/cartridge.json 
b/tools/templates/json/cartridge.json
deleted file mode 100644
index 6851787..0000000
--- a/tools/templates/json/cartridge.json
+++ /dev/null
@@ -1,49 +0,0 @@
-{
-    "cartridgeDefinitionBean": {
-        "type": "cartridge-name",
-        "provider": "cartridge-provider-name",
-        "host": "cartridge-provider-host",
-        "displayName": "cartridge-display-name",
-        "description": "cartridge-description",
-        "version": "1",
-        "multiTenant": "false",
-        "portMapping": [
-            {
-                "protocol": "http",
-                "port": "80",
-                "proxyPort": "8280"
-            },
-            {
-                "protocol": "https",
-                "port": "443",
-                "proxyPort": "8243"
-            }
-        ],
-        "deployment": {
-        },
-        "iaasProvider": [
-            {
-                "type": "provider-name",
-                "imageId": "region/image-id",
-                "maxInstanceLimit": "4",
-                "property": [
-                    {
-                        "name": "instanceType",
-                        "value": "instance-type"
-                    },
-                    {
-                        "name": "keyPair",
-                        "value": "key-pair-name"
-                    }
-                ]
-            }
-        ],
-        "loadBalancer": {
-            "type": "lb",
-            "property": {
-                "name": "default.load.balancer",
-                "value": "true"
-            }
-        }
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/79ca4220/tools/templates/json/deployment-policy.json
----------------------------------------------------------------------
diff --git a/tools/templates/json/deployment-policy.json 
b/tools/templates/json/deployment-policy.json
deleted file mode 100644
index 1f01c7d..0000000
--- a/tools/templates/json/deployment-policy.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
-    "deploymentPolicy": {
-        "id": "deployment-policy-id",
-        "partitionGroup": {
-            "id": "partition-group-id",
-            "partitionAlgo": "one-after-another",
-            "partition": [
-                {
-                    "id": "partition-id",
-                    "partitionMax": "3",
-                    "partitionMin": "1"
-                }
-            ]
-        }
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/79ca4220/tools/templates/json/load-balancer-cartridge.json
----------------------------------------------------------------------
diff --git a/tools/templates/json/load-balancer-cartridge.json 
b/tools/templates/json/load-balancer-cartridge.json
deleted file mode 100644
index 4175933..0000000
--- a/tools/templates/json/load-balancer-cartridge.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
-    "cartridgeDefinitionBean": {
-        "type": "lb",
-        "provider": "apache",
-        "host": "lb.stratos.apache.org",
-        "displayName": "Apache Stratos Load Balancer Cartridge",
-        "description": "Apache Stratos Load Balancer Cartridge",
-        "version": "4",
-        "defaultAutoscalingPolicy": "autoscale-policy-id",
-        "multiTenant": "false",
-        "portMapping": [
-            {
-                "protocol": "http",
-                "port": "8280",
-                "proxyPort": "8280"
-            },
-            {
-                "protocol": "https",
-                "port": "8243",
-                "proxyPort": "8243"
-            }
-        ],
-        "deployment": {
-        },
-        "iaasProvider": [
-            {
-                "type": "provider-name",
-                "imageId": "region/lb-image-id",
-                "maxInstanceLimit": "5",
-                "property": [
-                    {
-                        "name": "instanceType",
-                        "value": "m1.medium"
-                    },
-                    {
-                        "name": "keyPair",
-                        "value": "key-pair-name"
-                    }
-                ]
-            }
-        ],
-        "loadBalancer": {
-        },
-        "property": [
-            {
-                "name": "load.balancer",
-                "value": "true"
-            },
-            {
-                "name": "payload_parameter.MB_IP",
-                "value": "message-broker-ip"
-            },
-            {
-                "name": "payload_parameter.MB_PORT",
-                "value": "mb-port"
-            },
-            {
-                "name": "payload_parameter.CEP_IP",
-                "value": "cep-ip"
-            },
-            {
-                "name": "payload_parameter.CEP_PORT",
-                "value": "cep-port"
-            }
-        ]
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/79ca4220/tools/templates/json/partition.json
----------------------------------------------------------------------
diff --git a/tools/templates/json/partition.json 
b/tools/templates/json/partition.json
deleted file mode 100644
index 181ee84..0000000
--- a/tools/templates/json/partition.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
-    "partition":{
-        "id": "partition-id",
-        "provider": "provider-name",
-        "property": [
-            {
-                "name": "region",
-                "value": "region-name"
-            }
-        ],
-        "partitionMin": "1",
-        "partitionMax": "3"
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/79ca4220/tools/templates/json/subscribe.json
----------------------------------------------------------------------
diff --git a/tools/templates/json/subscribe.json 
b/tools/templates/json/subscribe.json
deleted file mode 100644
index 70c33c1..0000000
--- a/tools/templates/json/subscribe.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
-    "cartridgeInfoBean": {
-        "cartridgeType": "cartridge-name",
-        "alias": "subscription-alias",
-        "repoURL": "https://path/to/remote/repo.git";,
-        "privateRepo": "false",
-        "repoUsername": "",
-        "repoPassword": "",
-        "autoscalePolicy": "autoscale-policy-id",
-        "deploymentPolicy": "deployment-policy-id"
-    }
-}
\ No newline at end of file

Reply via email to