You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ga...@apache.org on 2015/02/15 18:23:02 UTC
[1/2] stratos git commit: Update the samples with deployment policy
Repository: stratos
Updated Branches:
refs/heads/4.1.0-beta-deployment-policy-fix 96f3fcdcf -> 30a47842a
Update the samples with deployment policy
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/89789398
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/89789398
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/89789398
Branch: refs/heads/4.1.0-beta-deployment-policy-fix
Commit: 89789398da1d1ad20b985028cfdfe91ec415ee50
Parents: 96f3fcd
Author: Gayan Gunarathne <ga...@wso2.com>
Authored: Sun Feb 15 21:52:23 2015 +0530
Committer: Gayan Gunarathne <ga...@wso2.com>
Committed: Sun Feb 15 21:52:23 2015 +0530
----------------------------------------------------------------------
samples/applications/single-cartridge/artifacts/application.json | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/89789398/samples/applications/single-cartridge/artifacts/application.json
----------------------------------------------------------------------
diff --git a/samples/applications/single-cartridge/artifacts/application.json b/samples/applications/single-cartridge/artifacts/application.json
index d449c1d..8c2c09a 100644
--- a/samples/applications/single-cartridge/artifacts/application.json
+++ b/samples/applications/single-cartridge/artifacts/application.json
@@ -11,6 +11,7 @@
"subscribableInfo":{
"alias":"php1",
"autoscalingPolicy":"autoscale-policy-1",
+ "deploymentPolicy":"deployment-policy-1",
"artifactRepository":{
"privateRepo":false,
"repoUrl":"https://github.com/imesh/stratos-php-applications.git",
[2/2] stratos git commit: Update the samples with deployment policy
Posted by ga...@apache.org.
Update the samples with deployment policy
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/30a47842
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/30a47842
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/30a47842
Branch: refs/heads/4.1.0-beta-deployment-policy-fix
Commit: 30a47842a13fd603e4bd93291d0c534f2fbe9874
Parents: 8978939
Author: Gayan Gunarathne <ga...@wso2.com>
Authored: Sun Feb 15 21:52:55 2015 +0530
Committer: Gayan Gunarathne <ga...@wso2.com>
Committed: Sun Feb 15 21:52:55 2015 +0530
----------------------------------------------------------------------
.../artifacts/deployment-policy.json | 15 +++++++++++++++
.../complex-app/artifacts/deployment-policy.json | 15 +++++++++++++++
.../artifacts/deployment-policy.json | 15 +++++++++++++++
.../sample-groups/artifacts/deployment-policy.json | 15 +++++++++++++++
.../artifacts/deployment-policy.json | 15 +++++++++++++++
.../artifacts/deployment-policy.json | 15 +++++++++++++++
.../group-scaling/artifacts/deployment-policy.json | 15 +++++++++++++++
.../artifacts/deployment-policy.json | 15 +++++++++++++++
.../nested-group/artifacts/deployment-policy.json | 15 +++++++++++++++
.../artifacts/deployment-policy.json | 15 +++++++++++++++
.../single-group-v1/artifacts/deployment-policy.json | 15 +++++++++++++++
.../single-group-v2/artifacts/deployment-policy.json | 15 +++++++++++++++
.../single-group-v3/artifacts/deployment-policy.json | 15 +++++++++++++++
13 files changed, 195 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/30a47842/samples/applications/complex-app-with-lb/artifacts/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/complex-app-with-lb/artifacts/deployment-policy.json b/samples/applications/complex-app-with-lb/artifacts/deployment-policy.json
new file mode 100644
index 0000000..d858aed
--- /dev/null
+++ b/samples/applications/complex-app-with-lb/artifacts/deployment-policy.json
@@ -0,0 +1,15 @@
+{
+ "id": "deployment-policy-2",
+ "networkPartition": [
+ {
+ "id": "network-partition-1",
+ "partitionAlgo": "one-after-another",
+ "partitions": [
+ {
+ "id": "partition-1",
+ "max": 5
+ }
+ ]
+ }
+ ]
+}
http://git-wip-us.apache.org/repos/asf/stratos/blob/30a47842/samples/applications/complex-app/artifacts/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/complex-app/artifacts/deployment-policy.json b/samples/applications/complex-app/artifacts/deployment-policy.json
new file mode 100644
index 0000000..d858aed
--- /dev/null
+++ b/samples/applications/complex-app/artifacts/deployment-policy.json
@@ -0,0 +1,15 @@
+{
+ "id": "deployment-policy-2",
+ "networkPartition": [
+ {
+ "id": "network-partition-1",
+ "partitionAlgo": "one-after-another",
+ "partitions": [
+ {
+ "id": "partition-1",
+ "max": 5
+ }
+ ]
+ }
+ ]
+}
http://git-wip-us.apache.org/repos/asf/stratos/blob/30a47842/samples/applications/dependent-scaling/sample-cartridges/artifacts/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/dependent-scaling/sample-cartridges/artifacts/deployment-policy.json b/samples/applications/dependent-scaling/sample-cartridges/artifacts/deployment-policy.json
new file mode 100644
index 0000000..d858aed
--- /dev/null
+++ b/samples/applications/dependent-scaling/sample-cartridges/artifacts/deployment-policy.json
@@ -0,0 +1,15 @@
+{
+ "id": "deployment-policy-2",
+ "networkPartition": [
+ {
+ "id": "network-partition-1",
+ "partitionAlgo": "one-after-another",
+ "partitions": [
+ {
+ "id": "partition-1",
+ "max": 5
+ }
+ ]
+ }
+ ]
+}
http://git-wip-us.apache.org/repos/asf/stratos/blob/30a47842/samples/applications/dependent-scaling/sample-groups/artifacts/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/dependent-scaling/sample-groups/artifacts/deployment-policy.json b/samples/applications/dependent-scaling/sample-groups/artifacts/deployment-policy.json
new file mode 100644
index 0000000..d858aed
--- /dev/null
+++ b/samples/applications/dependent-scaling/sample-groups/artifacts/deployment-policy.json
@@ -0,0 +1,15 @@
+{
+ "id": "deployment-policy-2",
+ "networkPartition": [
+ {
+ "id": "network-partition-1",
+ "partitionAlgo": "one-after-another",
+ "partitions": [
+ {
+ "id": "partition-1",
+ "max": 5
+ }
+ ]
+ }
+ ]
+}
http://git-wip-us.apache.org/repos/asf/stratos/blob/30a47842/samples/applications/group-cartridges/artifacts/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-cartridges/artifacts/deployment-policy.json b/samples/applications/group-cartridges/artifacts/deployment-policy.json
new file mode 100644
index 0000000..d858aed
--- /dev/null
+++ b/samples/applications/group-cartridges/artifacts/deployment-policy.json
@@ -0,0 +1,15 @@
+{
+ "id": "deployment-policy-2",
+ "networkPartition": [
+ {
+ "id": "network-partition-1",
+ "partitionAlgo": "one-after-another",
+ "partitions": [
+ {
+ "id": "partition-1",
+ "max": 5
+ }
+ ]
+ }
+ ]
+}
http://git-wip-us.apache.org/repos/asf/stratos/blob/30a47842/samples/applications/group-scaling-v1/artifacts/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling-v1/artifacts/deployment-policy.json b/samples/applications/group-scaling-v1/artifacts/deployment-policy.json
new file mode 100644
index 0000000..d858aed
--- /dev/null
+++ b/samples/applications/group-scaling-v1/artifacts/deployment-policy.json
@@ -0,0 +1,15 @@
+{
+ "id": "deployment-policy-2",
+ "networkPartition": [
+ {
+ "id": "network-partition-1",
+ "partitionAlgo": "one-after-another",
+ "partitions": [
+ {
+ "id": "partition-1",
+ "max": 5
+ }
+ ]
+ }
+ ]
+}
http://git-wip-us.apache.org/repos/asf/stratos/blob/30a47842/samples/applications/group-scaling/artifacts/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/group-scaling/artifacts/deployment-policy.json b/samples/applications/group-scaling/artifacts/deployment-policy.json
new file mode 100644
index 0000000..d858aed
--- /dev/null
+++ b/samples/applications/group-scaling/artifacts/deployment-policy.json
@@ -0,0 +1,15 @@
+{
+ "id": "deployment-policy-2",
+ "networkPartition": [
+ {
+ "id": "network-partition-1",
+ "partitionAlgo": "one-after-another",
+ "partitions": [
+ {
+ "id": "partition-1",
+ "max": 5
+ }
+ ]
+ }
+ ]
+}
http://git-wip-us.apache.org/repos/asf/stratos/blob/30a47842/samples/applications/more-complex-app/artifacts/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/more-complex-app/artifacts/deployment-policy.json b/samples/applications/more-complex-app/artifacts/deployment-policy.json
new file mode 100644
index 0000000..d858aed
--- /dev/null
+++ b/samples/applications/more-complex-app/artifacts/deployment-policy.json
@@ -0,0 +1,15 @@
+{
+ "id": "deployment-policy-2",
+ "networkPartition": [
+ {
+ "id": "network-partition-1",
+ "partitionAlgo": "one-after-another",
+ "partitions": [
+ {
+ "id": "partition-1",
+ "max": 5
+ }
+ ]
+ }
+ ]
+}
http://git-wip-us.apache.org/repos/asf/stratos/blob/30a47842/samples/applications/nested-group/artifacts/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/nested-group/artifacts/deployment-policy.json b/samples/applications/nested-group/artifacts/deployment-policy.json
new file mode 100644
index 0000000..d858aed
--- /dev/null
+++ b/samples/applications/nested-group/artifacts/deployment-policy.json
@@ -0,0 +1,15 @@
+{
+ "id": "deployment-policy-2",
+ "networkPartition": [
+ {
+ "id": "network-partition-1",
+ "partitionAlgo": "one-after-another",
+ "partitions": [
+ {
+ "id": "partition-1",
+ "max": 5
+ }
+ ]
+ }
+ ]
+}
http://git-wip-us.apache.org/repos/asf/stratos/blob/30a47842/samples/applications/single-group-group-scaling/artifacts/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/single-group-group-scaling/artifacts/deployment-policy.json b/samples/applications/single-group-group-scaling/artifacts/deployment-policy.json
new file mode 100644
index 0000000..d858aed
--- /dev/null
+++ b/samples/applications/single-group-group-scaling/artifacts/deployment-policy.json
@@ -0,0 +1,15 @@
+{
+ "id": "deployment-policy-2",
+ "networkPartition": [
+ {
+ "id": "network-partition-1",
+ "partitionAlgo": "one-after-another",
+ "partitions": [
+ {
+ "id": "partition-1",
+ "max": 5
+ }
+ ]
+ }
+ ]
+}
http://git-wip-us.apache.org/repos/asf/stratos/blob/30a47842/samples/applications/single-group-v1/artifacts/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/single-group-v1/artifacts/deployment-policy.json b/samples/applications/single-group-v1/artifacts/deployment-policy.json
new file mode 100644
index 0000000..d858aed
--- /dev/null
+++ b/samples/applications/single-group-v1/artifacts/deployment-policy.json
@@ -0,0 +1,15 @@
+{
+ "id": "deployment-policy-2",
+ "networkPartition": [
+ {
+ "id": "network-partition-1",
+ "partitionAlgo": "one-after-another",
+ "partitions": [
+ {
+ "id": "partition-1",
+ "max": 5
+ }
+ ]
+ }
+ ]
+}
http://git-wip-us.apache.org/repos/asf/stratos/blob/30a47842/samples/applications/single-group-v2/artifacts/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/single-group-v2/artifacts/deployment-policy.json b/samples/applications/single-group-v2/artifacts/deployment-policy.json
new file mode 100644
index 0000000..d858aed
--- /dev/null
+++ b/samples/applications/single-group-v2/artifacts/deployment-policy.json
@@ -0,0 +1,15 @@
+{
+ "id": "deployment-policy-2",
+ "networkPartition": [
+ {
+ "id": "network-partition-1",
+ "partitionAlgo": "one-after-another",
+ "partitions": [
+ {
+ "id": "partition-1",
+ "max": 5
+ }
+ ]
+ }
+ ]
+}
http://git-wip-us.apache.org/repos/asf/stratos/blob/30a47842/samples/applications/single-group-v3/artifacts/deployment-policy.json
----------------------------------------------------------------------
diff --git a/samples/applications/single-group-v3/artifacts/deployment-policy.json b/samples/applications/single-group-v3/artifacts/deployment-policy.json
new file mode 100644
index 0000000..d858aed
--- /dev/null
+++ b/samples/applications/single-group-v3/artifacts/deployment-policy.json
@@ -0,0 +1,15 @@
+{
+ "id": "deployment-policy-2",
+ "networkPartition": [
+ {
+ "id": "network-partition-1",
+ "partitionAlgo": "one-after-another",
+ "partitions": [
+ {
+ "id": "partition-1",
+ "max": 5
+ }
+ ]
+ }
+ ]
+}