X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=holmes-actions%2Fsrc%2Ftest%2Fresources%2Fccvpn.data.json;h=5f47cd1d2d0b7baa8b212759fa255169764aebc3;hb=5728f2d081afbf4c89d2128ba952200877155f7d;hp=ecdb7d5aebc8e748c18cce82431b26ddafdb40f1;hpb=96e0893e38e4bb8c69947f255ac27fb89a72122f;p=holmes%2Fcommon.git diff --git a/holmes-actions/src/test/resources/ccvpn.data.json b/holmes-actions/src/test/resources/ccvpn.data.json index ecdb7d5..5f47cd1 100644 --- a/holmes-actions/src/test/resources/ccvpn.data.json +++ b/holmes-actions/src/test/resources/ccvpn.data.json @@ -1,176 +1,153 @@ { + "resource-version": "1536316872154", + "link-type": "VL", "logic-link": { - "results": [ - { - "p-interface": { - "interface-name": "{ifName}", - "network-ref": "some ref", - "transparent": "some value", - "operational-status ": "{status}", - "speed-value": "some speed", - "relationship-list": { - "relationship": [ + "p-interface": { + "interface-name": "{ifName}", + "network-ref": "some ref", + "transparent": "some value", + "operational-status ": "{status}", + "speed-value": "some speed", + "relationship-list": { + "relationship": [ + { + "related-to": "logical-link", + "related-link": "url of logical-link", + "relationship-data": [ { - "related-to": "logical-link", - "related-link": "url of logical-link", - "relationship-data": [ - { - "relationship-key": "logical-link.link-name", - "relationship-value": "logic-link-1" - } - ] + "relationship-key": "logical-link.link-name", + "relationship-value": "logic-link-1" } ] } - } + ] } - ] + } }, "vpn-binding": { - "results": [ - { - "p-interface": { - "interface-name": "{ifName}", - "network-ref": "some ref", - "transparent": "some value", - "operational-status ": "{status}", - "speed-value": "some speed", - "relationship-list": { - "relationship": [ + "p-interface": { + "interface-name": "{ifName}", + "network-ref": "some ref", + "transparent": "some value", + "operational-status ": "{status}", + "speed-value": "some speed", + "relationship-list": { + "relationship": [ + { + "related-to": "vpn-binding", + "related-link": "url of vpn-binding", + "relationship-data": [ { - "related-to": "vpn-binding", - "related-link": "url of vpn-binding", - "relationship-data": [ - { - "relationship-key": "vpn-binding.vpn-id", - "relationship-value": "some id" - } - ] + "relationship-key": "vpn-binding.vpn-id", + "relationship-value": "some id" } ] } - } + ] } - ] + } }, "connectivity": { - "results": [ - { - "vpn-binding": { - "vpn-id": "{vpnId}", - "vpn-name": "some name", - "access-provider-id": "provider id", - "access-client-id": "client id", - "access-topology-id": "topology id", - "src-access-node-id": "src node id", - "src-access-ltp-id": "src ltp id", - "dst-access-node-id": "dst node id", - "dst-access-ltp-id": "dst ltp id", - "operational-status": "some status", - "relationship-list": { - "relationship": [ + "vpn-binding": { + "vpn-id": "{vpnId}", + "vpn-name": "some name", + "access-provider-id": "provider id", + "access-client-id": "client id", + "access-topology-id": "topology id", + "src-access-node-id": "src node id", + "src-access-ltp-id": "src ltp id", + "dst-access-node-id": "dst node id", + "dst-access-ltp-id": "dst ltp id", + "operational-status": "some status", + "relationship-list": { + "relationship": [ + { + "related-to": "connectivity", + "related-link": "url of connectivity", + "relationship-data": [ { - "related-to": "connectivity", - "related-link": "url of connectivity", - "relationship-data": [ - { - "relationship-key": "connectivity. connectivity-id", - "relationship-value": "some id" - } - ] + "relationship-key": "connectivity.connectivity-id", + "relationship-value": "some id" } ] } - } + ] } - ] + } }, "service-instance-by-connectivity": { - "results": [ - { - "connectivity": { - "connectivity-id": "{connectivityId}", - "bandwidth-profile-name": "some profile", - "vpn-type": "some type", - "cir": "cir value", - "eir": "eir value", - "cbs": "cbs value", - "ebs": "ebs value", - "color-aware": "color value", - "coupling-flag": "flag value", - "etht-svc-name": "some name", - "access-provider-id": "provider id", - "access-client-id": "client id", - "access-topology-id": "topology id", - "access-node-id": "node id", - "access-ltp-id": "ltp id", - "connectivity-selflink": "some URL", - "cvlan ": "some tag", - "operational-status": "some status", - "relationship-list": { - "relationship": [ + "connectivity": { + "connectivity-id": "{connectivityId}", + "bandwidth-profile-name": "some profile", + "vpn-type": "some type", + "cir": "cir value", + "eir": "eir value", + "cbs": "cbs value", + "ebs": "ebs value", + "color-aware": "color value", + "coupling-flag": "flag value", + "etht-svc-name": "some name", + "access-provider-id": "provider id", + "access-client-id": "client id", + "access-topology-id": "topology id", + "access-node-id": "node id", + "access-ltp-id": "ltp id", + "connectivity-selflink": "some URL", + "cvlan ": "some tag", + "operational-status": "some status", + "relationship-list": { + "relationship": [ + { + "related-to": "service-instance", + "related-link": "/aai/v14/business/customers/customer/e151059a-d924-4629-845f-264db19e50b4/service-subscriptions/service-subscription/volte/service-instances/service-instance/service-1", + "relationship-data": [ { - "related-to": "service-instance", - "related-link": "/aai/v14/business/customers/customer/{global-customer-id}/service-subscriptions/service-subscription/{service-type}/service-instances?service-instance-id=service-1", - "relationship-data": [ - { - "relationship-key": "service-instance.service-instance-id", - "relationship-value": "some id" - } - ] + "relationship-key": "service-instance.service-instance-id", + "relationship-value": "some id" } ] } - } + ] } - ] + } }, "service-instances-by-service-type": { - "results": [ - { - "service-subscription": { - "service-type": "{service-type}", - "temp-ub-sub-account-id": "some sub account", - "service-instances": { - "service-instance": [ - { - "service-instance-id": "some id 1", - "service-instance-name": "some name 1", - "environment-context": "some context 1", - "workload-context": "some workload 1", - "relationship-list": { - "relationship": [ - ] - } - }, - { - "service-instance-id": "some id 2", - "service-instance-name": "some name 2", - "environment-context": "some context 2", - "workload-context": "some workload 2", - "relationship-list": { - "relationship": [ - ] - } - }, - { - "service-instance-id": "some id 3", - "service-instance-name": "some name 3", - "environment-context": "some context 3", - "workload-context": "some workload 3", - "relationship-list": { - "relationship": [ - ] - } - } - ] - }, - "relationship-list": { - "relationship": [ - ] - } + "service-instance-id": "some id 1", + "service-instance-name": "some name 1", + "environment-context": "some context 1", + "workload-context": "some workload 1", + "relationship-list": { + "relationship": [ + ] + } + }, + "service-instance": { + "service-instance-id": "176d9eba-1662-4289-8396-0097b50fd485", + "service-type": "E2E Service", + "service-role": "E2E Service", + "model-invariant-id": "c22a9483-d2b6-49cc-b1f7-ef34c93572a1", + "model-version-id": "71d0e396-e246-4c23-aa57-6da2043d6209", + "input-parameters": "This is the service instance recreation input looked up by CL.", + "resource-version": "1528975017336", + "relationship-list": { + "relationship": [ + { + "related-to": "pnf", + "related-link": "/aai/v11/network/pnfs/pnf/MME-0001", + "relationship-data": [ + { + "relationship-key": "pnf.pnf-id", + "relationship-value": "176d9eba-1662-4289-8396-0097b50fd466" + } + ], + "related-to-property": [ + { + "property-key": "pnf.pnf-name", + "property-value": "MME-0001" + } + ] } - } - ] + ] + } } } \ No newline at end of file