summaryrefslogtreecommitdiffstats
path: root/holmes-actions/src/test/resources/ccvpn2.data.json
diff options
context:
space:
mode:
authorirama <rama.subba.reddy.s@huawei.com>2019-03-28 10:32:44 +0530
committerRama SubbaReddy <rama.subba.reddy.s@huawei.com>2019-03-28 05:15:30 +0000
commit695d66a9635dd15c5fc8a16165f5651f50755c86 (patch)
treedc4760da2308fe8a86aa240c456b3213ff924106 /holmes-actions/src/test/resources/ccvpn2.data.json
parent555a3d9b10af05f2dc64b2a230f80fc436432a7a (diff)
Update AAI Assistant Tools for CCVPN Extension
Implementaion to support intelligent surveillance function in CCVPN extension Issue-ID: HOLMES-194 Change-Id: Ic1b6acc5efb72a1f65f27ce5c27d2d6b6f47b7ce Signed-off-by: irama <rama.subba.reddy.s@huawei.com>
Diffstat (limited to 'holmes-actions/src/test/resources/ccvpn2.data.json')
-rw-r--r--holmes-actions/src/test/resources/ccvpn2.data.json98
1 files changed, 98 insertions, 0 deletions
diff --git a/holmes-actions/src/test/resources/ccvpn2.data.json b/holmes-actions/src/test/resources/ccvpn2.data.json
new file mode 100644
index 0000000..23faa60
--- /dev/null
+++ b/holmes-actions/src/test/resources/ccvpn2.data.json
@@ -0,0 +1,98 @@
+{
+ "site-resources": {
+ "site-resource": [
+ {
+ "site-resource-id": "3801b392-f596-4f7b-93d6-4d0a33b014bc",
+ "site-resource-name": "HkHubONSDEMOBJHKCustomer",
+ "description": "HongkongLabDesc",
+ "type": "single-gateway",
+ "role": "dsvpn-hub",
+ "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/499hkg9933NNN/service-data/vnfs/vnf/3801b392-f596-4f7b-93d6-4d0a33b014bc/vnf-data/",
+ "operational-status": "Online",
+ "resource-version": "1553193393081",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "complex",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v14/cloud-infrastructure/complexes/complex/3801b392-f596-4f7b-93d6-4d0a33b014bc",
+ "relationship-data": {
+ "relationship-key": "complex.physical-location-id",
+ "relationship-value": "3801b392-f596-4f7b-93d6-4d0a33b014bc"
+ }
+ },
+ {
+ "related-to": "vnf-instance",
+ "relationship-label": "org.onap.relationships.inventory.PartOf",
+ "related-link": "/aai/v14/business/customers/customer/ONSDEMOBJHKCustomer/service-subscriptions/service-subscription/service-ccvpn/vnf-instances/vnf-instance/499hkg9933NNN",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "ONSDEMOBJHKCustomer"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "service-ccvpn"
+ },
+ {
+ "relationship-key": "service-instance.service-instance-id",
+ "relationship-value": "499hkg9933NNN"
+ }
+ ],
+ "related-to-property": {
+ "property-key": "service-instance.service-instance-name",
+ "property-value": "499hkg9933NNN"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ },
+ "499hkg9933NNN": {
+ "site-resource-id": "3801b392-f596-4f7b-93d6-4d0a33b014bc",
+ "site-resource-name": "HkHubONSDEMOBJHKCustomer",
+ "description": "HongkongLabDesc",
+ "type": "single-gateway",
+ "role": "dsvpn-hub",
+ "selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/499hkg9933NNN/service-data/vnfs/vnf/3801b392-f596-4f7b-93d6-4d0a33b014bc/vnf-data/",
+ "operational-status": "Online",
+ "resource-version": "1553193393081",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "complex",
+ "relationship-label": "org.onap.relationships.inventory.Uses",
+ "related-link": "/aai/v14/cloud-infrastructure/complexes/complex/3801b392-f596-4f7b-93d6-4d0a33b014bc",
+ "relationship-data": {
+ "relationship-key": "complex.physical-location-id",
+ "relationship-value": "3801b392-f596-4f7b-93d6-4d0a33b014bc"
+ }
+ },
+ {
+ "related-to": "service-instance",
+ "relationship-label": "org.onap.relationships.inventory.PartOf",
+ "related-link": "/aai/v14/business/customers/customer/ONSDEMOBJHKCustomer/service-subscriptions/service-subscription/service-ccvpn/service-instances/service-instance/499hkg9933NNN",
+ "relationship-data": [
+ {
+ "relationship-key": "customer.global-customer-id",
+ "relationship-value": "ONSDEMOBJHKCustomer"
+ },
+ {
+ "relationship-key": "service-subscription.service-type",
+ "relationship-value": "service-ccvpn"
+ },
+ {
+ "relationship-key": "service-instance.service-instance-id",
+ "relationship-value": "499hkg9933NNN"
+ }
+ ],
+ "related-to-property": {
+ "property-key": "service-instance.service-instance-name",
+ "property-value": "499hkg9933NNN"
+ }
+ }
+ ]
+ }
+ }
+} \ No newline at end of file