aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2019-04-15 21:54:09 -0500
committerjhh <jorge.hernandez-herrero@att.com>2019-04-15 21:54:54 -0500
commit3eacb0750ddee68300dcc8f3918436106c8803e2 (patch)
tree1c2d254511808be2d25f3d76b02ed7fb5bc16957
parenta3188c948acf949984414ca7baf0c32685922d4d (diff)
Change json files from typeVersion to type_version
Change-Id: I8544977c47c3b428b2d2cea568122f8927d8a4db Issue-ID: POLICY-1647 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
-rw-r--r--feature-lifecycle/src/test/resources/tosca-policy-operational-firewall.json2
-rw-r--r--feature-lifecycle/src/test/resources/tosca-policy-operational-restart.json2
-rw-r--r--feature-lifecycle/src/test/resources/tosca-policy-operational-restart.v2.json2
3 files changed, 3 insertions, 3 deletions
diff --git a/feature-lifecycle/src/test/resources/tosca-policy-operational-firewall.json b/feature-lifecycle/src/test/resources/tosca-policy-operational-firewall.json
index 7bfb16bb..a7f55890 100644
--- a/feature-lifecycle/src/test/resources/tosca-policy-operational-firewall.json
+++ b/feature-lifecycle/src/test/resources/tosca-policy-operational-firewall.json
@@ -1,6 +1,6 @@
{
"type": "onap.policies.controlloop.Operational",
- "typeVersion": "1.0.0",
+ "type_version": "1.0.0",
"properties": {
"content": "controlLoop%3A%0D%0A++version%3A+2.0.0%0D%0A++controlLoopName%3A+ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a%0D%0A++trigger_policy%3A+unique-policy-id-1-modifyConfig%0D%0A++timeout%3A+1200%0D%0A++abatement%3A+false%0D%0A+%0D%0Apolicies%3A%0D%0A++-+id%3A+unique-policy-id-1-modifyConfig%0D%0A++++name%3A+modify+packet+gen+config%0D%0A++++description%3A%0D%0A++++actor%3A+APPC%0D%0A++++recipe%3A+ModifyConfig%0D%0A++++target%3A%0D%0A++++++%23+TBD+-+Cannot+be+known+until+instantiation+is+done%0D%0A++++++resourceID%3A+Eace933104d443b496b8.nodes.heat.vpg%0D%0A++++++type%3A+VNF%0D%0A++++retry%3A+0%0D%0A++++timeout%3A+300%0D%0A++++success%3A+final_success%0D%0A++++failure%3A+final_failure%0D%0A++++failure_timeout%3A+final_failure_timeout%0D%0A++++failure_retries%3A+final_failure_retries%0D%0A++++failure_exception%3A+final_failure_exception%0D%0A++++failure_guard%3A+final_failure_guard"
},
diff --git a/feature-lifecycle/src/test/resources/tosca-policy-operational-restart.json b/feature-lifecycle/src/test/resources/tosca-policy-operational-restart.json
index 5258ca1c..98e8bb8f 100644
--- a/feature-lifecycle/src/test/resources/tosca-policy-operational-restart.json
+++ b/feature-lifecycle/src/test/resources/tosca-policy-operational-restart.json
@@ -1,6 +1,6 @@
{
"type": "onap.policies.controlloop.Operational",
- "typeVersion": "1.0.0",
+ "type_version": "1.0.0",
"properties": {
"content": "controlLoop%3A%0A%20%20version%3A%202.0.0%0A%20%20controlLoopName%3A%20ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e%0A%20%20trigger_policy%3A%20unique-policy-id-1-restart%0A%20%20timeout%3A%203600%0A%20%20abatement%3A%20true%0A%20%0Apolicies%3A%0A%20%20-%20id%3A%20unique-policy-id-1-restart%0A%20%20%20%20name%3A%20Restart%20the%20VM%0A%20%20%20%20description%3A%0A%20%20%20%20actor%3A%20APPC%0A%20%20%20%20recipe%3A%20Restart%0A%20%20%20%20target%3A%0A%20%20%20%20%20%20type%3A%20VM%0A%20%20%20%20retry%3A%203%0A%20%20%20%20timeout%3A%201200%0A%20%20%20%20success%3A%20final_success%0A%20%20%20%20failure%3A%20final_failure%0A%20%20%20%20failure_timeout%3A%20final_failure_timeout%0A%20%20%20%20failure_retries%3A%20final_failure_retries%0A%20%20%20%20failure_exception%3A%20final_failure_exception%0A%20%20%20%20failure_guard%3A%20final_failure_guard"
},
diff --git a/feature-lifecycle/src/test/resources/tosca-policy-operational-restart.v2.json b/feature-lifecycle/src/test/resources/tosca-policy-operational-restart.v2.json
index 39d16181..69594c76 100644
--- a/feature-lifecycle/src/test/resources/tosca-policy-operational-restart.v2.json
+++ b/feature-lifecycle/src/test/resources/tosca-policy-operational-restart.v2.json
@@ -1,6 +1,6 @@
{
"type": "onap.policies.controlloop.Operational",
- "typeVersion": "1.0.0",
+ "type_version": "1.0.0",
"properties": {
"content": "controlLoop%3A%0A%20%20version%3A%202.0.0%0A%20%20controlLoopName%3A%20ControlLoop-vCPEv2-48f0c2c3-a172-4192-9ae3-052274181b6e%0A%20%20trigger_policy%3A%20unique-policy-id-1-restart%0A%20%20timeout%3A%203600%0A%20%20abatement%3A%20true%0A%20%0Apolicies%3A%0A%20%20-%20id%3A%20unique-policy-id-1-restart%0A%20%20%20%20name%3A%20Restart%20the%20VM%0A%20%20%20%20description%3A%0A%20%20%20%20actor%3A%20APPC%0A%20%20%20%20recipe%3A%20Restart%0A%20%20%20%20target%3A%0A%20%20%20%20%20%20type%3A%20VM%0A%20%20%20%20retry%3A%203%0A%20%20%20%20timeout%3A%201200%0A%20%20%20%20success%3A%20final_success%0A%20%20%20%20failure%3A%20final_failure%0A%20%20%20%20failure_timeout%3A%20final_failure_timeout%0A%20%20%20%20failure_retries%3A%20final_failure_retries%0A%20%20%20%20failure_exception%3A%20final_failure_exception%0A%20%20%20%20failure_guard%3A%20final_failure_guard"
},