aboutsummaryrefslogtreecommitdiffstats
path: root/test/policy-local-files
diff options
context:
space:
mode:
authorAnkitkumar Patel <ankit@research.att.com>2018-03-28 14:27:53 -0400
committerAnkitkumar Patel <ankit@research.att.com>2018-03-28 14:29:57 -0400
commitad29f38cbcb164a7f328b26daf789dbff90deb98 (patch)
tree4074957d65fcbadee2fb2fad0aa71263b15c8a87 /test/policy-local-files
parentcf5fe0f8b49f6f354a77fb28b56465a2e18e820d (diff)
Update the SO sync and async responses.
Updated the sync and async responses and addes testcases related to policy adaptors. Issue-ID: OPTFRA-208 Change-Id: Ia0f88df1b897b6158674f3c3a7ef239f2328dcfc Signed-off-by: Ankitkumar Patel <ankit@research.att.com>
Diffstat (limited to 'test/policy-local-files')
-rw-r--r--test/policy-local-files/QueryPolicy_vCPE_2.json23
-rw-r--r--test/policy-local-files/meta-valid-policies.txt1
2 files changed, 24 insertions, 0 deletions
diff --git a/test/policy-local-files/QueryPolicy_vCPE_2.json b/test/policy-local-files/QueryPolicy_vCPE_2.json
new file mode 100644
index 0000000..7f1db83
--- /dev/null
+++ b/test/policy-local-files/QueryPolicy_vCPE_2.json
@@ -0,0 +1,23 @@
+{
+ "service": "optimizationQueryPolicy",
+ "policyName": "oofBeijing.queryPolicy_vCPE",
+ "description": "Optimization query policy for vCPE",
+ "templateVersion": "0.0.1",
+ "version": "oofBeijing",
+ "priority": "5",
+ "riskType": "test",
+ "riskLevel": "2",
+ "guard": "False",
+ "content": {
+ "queryProperties": [
+ {"attribute":"locationId", "attribute_location": "customerLocation", "value": ""},
+ {"attribute":"id", "attribute_location": "vpnInfo.vpnId", "value": ""},
+ {"attribute":"upstreamBW", "attribute_location": "vpnInfo.upstreamBW", "value": ""},
+ {"attribute":"customerLatitude", "attribute_location": "customerLatitude", "value": 1.1},
+ {"attribute":"customerLongitude", "attribute_location": "customerLongitude", "value": 2.2}
+ ],
+ "serviceName": "vCPE",
+ "policyScope": ["vCPE", "US", "INTERNATIONAL", "ip", "vGMuxInfra", "vG", "optimizationQueryPolicy"],
+ "policyType": "optimizationQueryPolicy"
+ }
+}
diff --git a/test/policy-local-files/meta-valid-policies.txt b/test/policy-local-files/meta-valid-policies.txt
index 7fc72ea..772ec1a 100644
--- a/test/policy-local-files/meta-valid-policies.txt
+++ b/test/policy-local-files/meta-valid-policies.txt
@@ -5,6 +5,7 @@ Distance_vGMuxInfra_1.json
Distance_vG_1.json
Placement_Optimization_1.json
QueryPolicy_vCPE.json
+QueryPolicy_vCPE_2.json
hpa_policy_vGMuxInfra_1.json
hpa_policy_vG_1.json
vnfPolicy_vG.json