diff options
author | liamfallon <liam.fallon@est.tech> | 2019-03-15 12:36:38 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2019-03-15 12:36:38 +0000 |
commit | 8fdf84c7f2bd03332e69d13e35414020053c2977 (patch) | |
tree | d2ce197064b2a23ac06ac8195a4e1ef7603ee3ed /models-tosca/src/test/resources/policies/vCPE.policy.operational.input.json | |
parent | 4c28d2cdbf03be9dfe51caa05d45ba341b4c94cd (diff) |
Add serialization for Tosca Model
Added tests for Yaml policy monitoring
Added provider interface calls in provider and structure for handling legacy APIs.
Issue-ID: POLICY-1195
Change-Id: I4825272e0713b9e6a4b89753828de8905bcffbd1
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'models-tosca/src/test/resources/policies/vCPE.policy.operational.input.json')
-rw-r--r-- | models-tosca/src/test/resources/policies/vCPE.policy.operational.input.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/models-tosca/src/test/resources/policies/vCPE.policy.operational.input.json b/models-tosca/src/test/resources/policies/vCPE.policy.operational.input.json new file mode 100644 index 000000000..393cb0282 --- /dev/null +++ b/models-tosca/src/test/resources/policies/vCPE.policy.operational.input.json @@ -0,0 +1,4 @@ +{ + "policy-id" : "operational.restart", + "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 |