diff options
author | Vidyashree-Huawei <vidyashree.rama@huawei.com> | 2020-04-10 17:36:09 +0530 |
---|---|---|
committer | Sébastien Determe <sebastien.determe@intl.att.com> | 2020-04-14 08:13:46 +0000 |
commit | 3ec03cca444a2810005053a308ed0f3ecb00b063 (patch) | |
tree | 228da36cb151a5676d7adf454299b9b280c80d48 /src/test/resources/tosca/operational-policy-properties.json | |
parent | d2e5008edc93220a1117df5c864d828fbae9cc8d (diff) |
CDS attributes are not shown properly in UI
Handled for legacy and operational policy
Change-Id: I504c4aa2531b19b09965ad1dbc03c9944931f77b
Issue-ID: CLAMP-809
Signed-off-by: Vidyashree-Huawei <vidyashree.rama@huawei.com>
Diffstat (limited to 'src/test/resources/tosca/operational-policy-properties.json')
-rw-r--r-- | src/test/resources/tosca/operational-policy-properties.json | 52 |
1 files changed, 47 insertions, 5 deletions
diff --git a/src/test/resources/tosca/operational-policy-properties.json b/src/test/resources/tosca/operational-policy-properties.json index a2de76a9..2777a158 100644 --- a/src/test/resources/tosca/operational-policy-properties.json +++ b/src/test/resources/tosca/operational-policy-properties.json @@ -10,7 +10,7 @@ { "actor": { "actor": "APPC", - "type": "Restart", + "recipe": "Restart", "payload": "requestParameters: '{\"usePreload\":true,\"userParams\":[]}'\r\nconfigurationParameters: '[{\"ip-addr\":\"$.vf-module-topology.vf-module-parameters.param[10].value\",\"oam-ip-addr\":\"$.vf-module-topology.vf-module-parameters.param[15].value\",\"enabled\":\"$.vf-module-topology.vf-module-parameters.param[22].value\"}]'" }, "id": "policy1", @@ -27,11 +27,11 @@ "resourceID": "vLoadBalancerMS" } }, - { + { "actor": { - "actor": "SO", - "type": "VF Module Create", - "payload": "" + "actor": "SO", + "recipe": "VF Module Create", + "payload": "" }, "id": "policy2", "retry": "0", @@ -51,6 +51,48 @@ "modelVersion": "1", "modelCustomizationId": "1bffdc31-a37d-4dee-b65c-dde623a76e52" } + }, + { + "actor": { + "actor": "CDS", + "recipe": { + "recipe": "resource-assignment", + "payload": { + "artifact_name": "baseconfiguration", + "artifact_version": "1.0.0", + "mode": "async", + "data": { + "resource-assignment-properties": { + "request-id": "request-id", + "service-instance-id": "service-instance-id", + "vnf-id": "vnf-id", + "action-name": "action-name", + "scope-type": "scope-type", + "hostname": "hostname", + "vnf_name": "vnf_name" + } + } + } + } + }, + "id": "policy3", + "retry": "0", + "timeout": "0", + "success": "final_success", + "failure": "final_failure", + "failure_timeout": "final_failure_timeout", + "failure_retries": "final_failure_retries", + "failure_exception": "final_failure_exception", + "failure_guard": "final_failure_guard", + "target": { + "type": "VFMODULE", + "resourceID": "Vloadbalancerms..vpkg..module-1", + "modelInvariantId": "ca052563-eb92-4b5b-ad41-9111768ce043", + "modelVersionId": "1e725ccc-b823-4f67-82b9-4f4367070dbc", + "modelName": "Vloadbalancerms..vpkg..module-1", + "modelVersion": "1", + "modelCustomizationId": "1bffdc31-a37d-4dee-b65c-dde623a76e52" + } } ] }, |