diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-03-12 14:41:49 -0400 |
---|---|---|
committer | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-03-17 19:09:37 +0000 |
commit | 281859327610680edd33851cf0763902b1473141 (patch) | |
tree | 46ec6845003acb5b055eba12a39366fa3af1305d /main/src/test/resources/policies/vCPE.policy.operational.output.json | |
parent | 951b2903c19c8499cffe9d39ecde0bf0a44c774b (diff) |
Add test policytype and policies
Some example policies for vDNS, vFW and vCPE use
cases using DCAE TCA.
The .input are the expected REST body from the
calling client (eg. CLAMP).
While the .output are the expected REST body for the return
response from policy.
The .tosca.yaml are what the DBAO will look like internally.
Upgraded to support policy/model merge.
Fixed missing tca_policy field in monitoring policies.
Update for policy-id.
Issue-ID: POLICY-1273
Change-Id: Ib087b184c3ac9a058fe600c6c8a28cca3a71fbea
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'main/src/test/resources/policies/vCPE.policy.operational.output.json')
-rw-r--r-- | main/src/test/resources/policies/vCPE.policy.operational.output.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/test/resources/policies/vCPE.policy.operational.output.json b/main/src/test/resources/policies/vCPE.policy.operational.output.json new file mode 100644 index 00000000..7d26e8e6 --- /dev/null +++ b/main/src/test/resources/policies/vCPE.policy.operational.output.json @@ -0,0 +1,5 @@ +{ + "policy-id" : "operational.restart", + "policy-version" : "1", + "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" +}
\ No newline at end of file |