aboutsummaryrefslogtreecommitdiffstats
path: root/models-examples/src
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-05-08 13:45:57 -0500
committerjhh <jorge.hernandez-herrero@att.com>2020-05-08 13:45:57 -0500
commit4e67242253d6254c06ea7daa0bc5eb18176ca573 (patch)
tree648100ddfefe0e31ebf4d5bd0726fe95c24d5f61 /models-examples/src
parent59278e17a3911518c5e3601b6a38bfbbcbcf0fc8 (diff)
Add missing payload section in vFW examples
Issue-ID: POLICY-2552 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I7acc7a7771ded3bc76c3fe420c93c077d84f0d31
Diffstat (limited to 'models-examples/src')
-rw-r--r--models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json3
-rw-r--r--models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml2
-rw-r--r--models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml4
3 files changed, 8 insertions, 1 deletions
diff --git a/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json b/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json
index bee87c63e..2b41b7dce 100644
--- a/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json
+++ b/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.json
@@ -27,6 +27,9 @@
"entityIds": {
"resourceID": "bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38"
}
+ },
+ "payload": {
+ "streams": "{\"active-streams\": 5 }"
}
},
"timeout": 300,
diff --git a/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml b/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml
index 5ad7ef613..e96e86a4b 100644
--- a/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vFirewall.policy.operational.input.tosca.yaml
@@ -22,6 +22,8 @@ topology_template:
targetType: VNF
entityIds:
resourceID: bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38
+ payload:
+ streams: '{"active-streams": 5 }'
timeout: 300
retries: 0
success: final_success
diff --git a/models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml b/models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml
index 22aced815..f758399b2 100644
--- a/models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vFirewall.policy.operational.output.tosca.yaml
@@ -28,6 +28,8 @@ topology_template:
targetType: VNF
entityIds:
resourceID: Eace933104d443b496b8.nodes.heat.vpg
+ payload:
+ streams: '{"active-streams": 5 }'
retry: 0
timeout: 300
success: final_success
@@ -35,4 +37,4 @@ topology_template:
failure_timeout: final_failure_timeout
failure_retries: final_failure_retries
failure_exception: final_failure_exception
- failure_guard: final_failure_guard \ No newline at end of file
+ failure_guard: final_failure_guard