From 3b3fb006f53be86ae501b220cb686dfddc3413a3 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Mon, 16 Sep 2019 16:39:06 +0800 Subject: feat:mock local json data for ccvpn detail page Change-Id: I96ce2196781da06eae5ba3054bfe710fc5f34a93 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber --- .../mock/json/uui-sotn_getAllottedResources.json | 122 +++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 usecaseui-portal/src/app/mock/json/uui-sotn_getAllottedResources.json (limited to 'usecaseui-portal/src/app/mock/json/uui-sotn_getAllottedResources.json') diff --git a/usecaseui-portal/src/app/mock/json/uui-sotn_getAllottedResources.json b/usecaseui-portal/src/app/mock/json/uui-sotn_getAllottedResources.json new file mode 100644 index 00000000..6c109296 --- /dev/null +++ b/usecaseui-portal/src/app/mock/json/uui-sotn_getAllottedResources.json @@ -0,0 +1,122 @@ +{ + "allotted-resource": [ + { + "id": "8beee9a7-abf0-4c98-8073-1d4d03e50033", + "description": "sdwan-attachment", + "selflink": "", + "model-invariant-id": "3d369bb8-5546-41d4-a3e7-a2557295ae40", + "model-version-id": "78ed8099-90a5-49b4-a400-89f38a7cbe6e", + "resource-version": "1537857961665", + "orchestration-status": "", + "operational-status": "", + "type": "", + "role": "spoke", + "allotted-resource-name": "sdwan ar", + "access-provider-id": "", + "access-client-id": "", + "access-topology-id": "", + "access-node-id": "", + "access-ltp-id": "", + "cvlan": "", + "vpn-name": "SDWANVPNInfra", + "relationship-list": { + "relationship": [ + { + "related-to": "service-instance", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v13/business/customers/customer/demo/service-subscriptions/service-subscription/ccvpn/service-instances/service-instance/15e88f8e-473f-4d88-92f8-6739a42baa2g", + "relationship-data": [ + { + "relationship-key": "customer.global-customer-id", + "relationship-value": "demo" + }, + { + "relationship-key": "service-subscription.service-type", + "relationship-value": "ccvpn" + }, + { + "relationship-key": "service-instance.service-instance-id", + "relationship-value": "15e88f8e-473f-4d88-92f8-6739a42baa2g" + } + ], + "related-to-property": [ + { + "property-key": "service-instance.service-instance-name", + "property-value": "SDWANVPNInfra" + } + ] + } + ] + } + }, + { + "id": "28f2b69e-c489-48fa-b974-166104eb15c9", + "description": "sotn-attachment", + "selflink": "", + "model-invariant-id": "d92ce7ca-ca87-4830-972e-83ae9857ded7", + "model-version-id": "3704879e-b07e-4a15-b8fd-f047f966a261", + "resource-version": "1537858263268", + "orchestration-status": "", + "operational-status": "", + "type": "", + "role": "spoke", + "allotted-resource-name": "sotn ar", + "access-provider-id": "", + "access-client-id": "", + "access-topology-id": "", + "access-node-id": "", + "access-ltp-id": "", + "cvlan": "", + "vpn-name": "SOTNVPNInfra", + "relationship-list": { + "relationship": [ + { + "related-to": "service-instance", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v13/business/customers/customer/demo/service-subscriptions/service-subscription/ccvpn/service-instances/service-instance/32cd906f-ee7a-4ecf-b1c3-2fce4d59f8c0", + "relationship-data": [ + { + "relationship-key": "customer.global-customer-id", + "relationship-value": "demo" + }, + { + "relationship-key": "service-subscription.service-type", + "relationship-value": "ccvpn" + }, + { + "relationship-key": "service-instance.service-instance-id", + "relationship-value": "32cd906f-ee7a-4ecf-b1c3-2fce4d59f8c0" + } + ], + "related-to-property": [ + { + "property-key": "service-instance.service-instance-name", + "property-value": "SOTNVPNInfra" + } + ] + }, + { + "related-to": "p-interface", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v13/network/pnfs/pnf/11.11.11.11/p-interfaces/p-interface/nodeId-11.11.11.11-ltpId-36", + "relationship-data": [ + { + "relationship-key": "pnf.pnf-name", + "relationship-value": "11.11.11.11" + }, + { + "relationship-key": "p-interface.interface-name", + "relationship-value": "nodeId-79.79.79.79-ltpId-2" + } + ], + "related-to-property": [ + { + "property-key": "p-interface.prov-status" + } + ] + } + ] + } + } + ] +} \ No newline at end of file -- cgit 1.2.3-korg