You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ra...@apache.org on 2015/03/06 12:18:33 UTC
stratos git commit: updating sample application policies
Repository: stratos
Updated Branches:
refs/heads/master 9f564f29d -> 6c98e416b
updating sample application policies
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/6c98e416
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/6c98e416
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/6c98e416
Branch: refs/heads/master
Commit: 6c98e416b5d5526696c63d315e3998d1029e7789
Parents: 9f564f2
Author: R-Rajkumar <rr...@gmail.com>
Authored: Fri Mar 6 16:48:18 2015 +0530
Committer: R-Rajkumar <rr...@gmail.com>
Committed: Fri Mar 6 16:48:18 2015 +0530
----------------------------------------------------------------------
.../application-policy-2.json | 21 +++++++++++++-------
.../application-policy.json | 2 +-
2 files changed, 15 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/6c98e416/samples/application-policies/application-policy-2.json
----------------------------------------------------------------------
diff --git a/samples/application-policies/application-policy-2.json b/samples/application-policies/application-policy-2.json
index fad2c28..43e8016 100644
--- a/samples/application-policies/application-policy-2.json
+++ b/samples/application-policies/application-policy-2.json
@@ -1,9 +1,16 @@
{
- "id" : "application-policy-2",
- "networkPartition":[
- {
- "id":"network-partition-3",
- "activeByDefault":"true"
- }
- ]
+ "id": "application-policy-2",
+ "algorithm":"all-at-once",
+ "networkPartitions":[
+ "network-partition-3"
+ ],
+ "properties":[
+ {
+ "key1" : "value1"
+ },
+ {
+ "key2" : "value2"
+ }
+ ]
}
+
http://git-wip-us.apache.org/repos/asf/stratos/blob/6c98e416/samples/application-policies/application-policy.json
----------------------------------------------------------------------
diff --git a/samples/application-policies/application-policy.json b/samples/application-policies/application-policy.json
index 2e231b2..f7e7c92 100644
--- a/samples/application-policies/application-policy.json
+++ b/samples/application-policies/application-policy.json
@@ -1,6 +1,6 @@
{
"id": "application-policy-1",
- "algorithm":"all-at-once",
+ "algorithm":"one-after-another",
"networkPartitions":[
"network-partition-1"
],