summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/mock
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/mock')
-rw-r--r--usecaseui-portal/src/app/mock/json/uui-lcm_services_updateService.json5
-rw-r--r--usecaseui-portal/src/app/mock/json/uui-sotn_getAllottedResources.json122
-rw-r--r--usecaseui-portal/src/app/mock/json/uui-sotn_getConnectivityInfo.json94
-rw-r--r--usecaseui-portal/src/app/mock/json/uui-sotn_getExtAaiId.json3
-rw-r--r--usecaseui-portal/src/app/mock/json/uui-sotn_getHostUrl.json8
-rw-r--r--usecaseui-portal/src/app/mock/json/uui-sotn_getPinterfaceByVpnId.json82
-rw-r--r--usecaseui-portal/src/app/mock/json/uui-sotn_getPnfInfo.json29
7 files changed, 343 insertions, 0 deletions
diff --git a/usecaseui-portal/src/app/mock/json/uui-lcm_services_updateService.json b/usecaseui-portal/src/app/mock/json/uui-lcm_services_updateService.json
new file mode 100644
index 00000000..d99f7709
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/uui-lcm_services_updateService.json
@@ -0,0 +1,5 @@
+{
+
+ "operationId": "e151059a-d924-4629-845f-264db19e50b4"
+
+} \ No newline at end of file
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
diff --git a/usecaseui-portal/src/app/mock/json/uui-sotn_getConnectivityInfo.json b/usecaseui-portal/src/app/mock/json/uui-sotn_getConnectivityInfo.json
new file mode 100644
index 00000000..967ec98b
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/uui-sotn_getConnectivityInfo.json
@@ -0,0 +1,94 @@
+{
+ "connectivity": [
+ {
+ "connectivity-id": "4424ea5a-3603-4040-baa9-4046ed533fe5",
+ "bandwidth-profile-name": "vpn1",
+ "vpn-type": "ethernet",
+ "color-aware": "true",
+ "coupling-flag": "true",
+ "etht-svc-name": "vpn1",
+ "access-provider-id": "",
+ "access-client-id": "",
+ "access-topology-id": "",
+ "access-node-id": "",
+ "access-ltp-id": "",
+ "connectivity-selflink": "restconf/config/GENERIC-RESOURCE-API:services/service/32cd906f-ee7a-4ecf-b1c3-2fce4d59f8c0/service-data/networks/network/4424ea5a-3603-4040-baa9-4046ed533fe5/network-data/",
+ "operational-status": "Active",
+ "model-customization-id": "2bafc8aa-c60c-4a17-a658-db4cbca07fac",
+ "model-invariant-id": "5d0ada6b-de04-4624-9410-3baab839cd6f",
+ "model-version-id": "15e21930-3248-4148-b071-a2a9be1f9889",
+ "resource-version": "1537623789475",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "vpn-binding",
+ "relationship-label": "org.onap.relationships.inventory.PartOf",
+ "related-link": "/aai/v13/network/vpn-bindings/vpn-binding/11.11.11.11-vpn1",
+ "relationship-data": [
+ {
+ "relationship-key": "vpn-binding.vpn-id",
+ "relationship-value": "11.11.11.11-vpn1"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vpn-binding.vpn-name",
+ "property-value": "11.11.11.11-vpn1"
+ },
+ {
+ "property-key": "vpn-binding.vpn-type",
+ "property-value": "ethernet"
+ }
+ ]
+ },
+ {
+ "related-to": "service-instance",
+ "relationship-label": "org.onap.relationships.inventory.PartOf",
+ "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": "vpn-binding",
+ "relationship-label": "org.onap.relationships.inventory.PartOf",
+ "related-link": "/aai/v13/network/vpn-bindings/vpn-binding/12.12.12.12-vpn1",
+ "relationship-data": [
+ {
+ "relationship-key": "vpn-binding.vpn-id",
+ "relationship-value": "12.12.12.12-vpn1"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "vpn-binding.vpn-name",
+ "property-value": "12.12.12.12-vpn1"
+ },
+ {
+ "property-key": "vpn-binding.vpn-type",
+ "property-value": "ethernet"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/json/uui-sotn_getExtAaiId.json b/usecaseui-portal/src/app/mock/json/uui-sotn_getExtAaiId.json
new file mode 100644
index 00000000..418e772d
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/uui-sotn_getExtAaiId.json
@@ -0,0 +1,3 @@
+{
+ "resource-version":"cmcc_1.0"
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/json/uui-sotn_getHostUrl.json b/usecaseui-portal/src/app/mock/json/uui-sotn_getHostUrl.json
new file mode 100644
index 00000000..e84b42d8
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/uui-sotn_getHostUrl.json
@@ -0,0 +1,8 @@
+{
+ "esr-system-info-id": "gongjie666",
+ "service-url": "http://10.10.10.10:8080/",
+ "user-name": "demo",
+ "password": "demo123456!",
+ "system-type": "ONAP",
+ "resource-version": "1536221798873"
+}
diff --git a/usecaseui-portal/src/app/mock/json/uui-sotn_getPinterfaceByVpnId.json b/usecaseui-portal/src/app/mock/json/uui-sotn_getPinterfaceByVpnId.json
new file mode 100644
index 00000000..04ff2a6d
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/uui-sotn_getPinterfaceByVpnId.json
@@ -0,0 +1,82 @@
+{
+ "vpn-binding": [
+ {
+ "vpn-id": "pnf1000-vpn1",
+ "vpn-name": "pnf1000-vpn1",
+ "vpn-type": "ethernet",
+ "access-provider-id": "5555",
+ "access-client-id": "6666",
+ "access-topology-id": "100",
+ "src-access-node-id": "10.10.10.10",
+ "src-access-ltp-id": "14",
+ "dst-access-node-id": "10.10.10.10",
+ "dst-access-ltp-id": "2",
+ "operational-status": "Created",
+ "model-customization-id": "",
+ "model-invariant-id": "",
+ "model-version-id": "",
+ "resource-version": "1536135677693",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "connectivity",
+ "relationship-label": "org.onap.relationships.inventory.PartOf",
+ "related-link": "/aai/v13/network/connectivities/connectivity/4efe6dff-acfc-4d13-a3fd-1177d3c08e84",
+ "relationship-data": [
+ {
+ "relationship-key": "connectivity.connectivity-id",
+ "relationship-value": "4efe6dff-acfc-4d13-a3fd-1177d3c08e84"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "connectivity.etht-svc-name",
+ "property-value": "SOTNVPNInfra"
+ }
+ ]
+ },
+ {
+ "related-to": "p-interface",
+ "relationship-label": "org.onap.relationships.inventory.BindsTo",
+ "related-link": "/aai/v13/network/pnfs/pnf/pnf1000/p-interfaces/p-interface/nodeId-79.79.79.79-ltpId-2",
+ "relationship-data": [
+ {
+ "relationship-key": "pnf.pnf-name",
+ "relationship-value": "pnf1000"
+ },
+ {
+ "relationship-key": "p-interface.interface-name",
+ "relationship-value": "nodeId-79.79.79.79-ltpId-2"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "p-interface.prov-status"
+ }
+ ]
+ },
+ {
+ "related-to": "p-interface",
+ "relationship-label": "org.onap.relationships.inventory.BindsTo",
+ "related-link": "/aai/v13/network/pnfs/pnf/pnf1000/p-interfaces/p-interface/nodeId-79.79.79.79-ltpId-1",
+ "relationship-data": [
+ {
+ "relationship-key": "pnf.pnf-name",
+ "relationship-value": "pnf1000"
+ },
+ {
+ "relationship-key": "p-interface.interface-name",
+ "relationship-value": "nodeId-79.79.79.79-ltpId-1"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "p-interface.prov-status"
+ }
+ ]
+ }
+ ]
+ }
+ }
+ ]
+} \ No newline at end of file
diff --git a/usecaseui-portal/src/app/mock/json/uui-sotn_getPnfInfo.json b/usecaseui-portal/src/app/mock/json/uui-sotn_getPnfInfo.json
new file mode 100644
index 00000000..c337bd97
--- /dev/null
+++ b/usecaseui-portal/src/app/mock/json/uui-sotn_getPnfInfo.json
@@ -0,0 +1,29 @@
+{
+ "pnf-name": "pnf1000",
+ "pnf-id": "79.79.79.79",
+ "in-maint": true,
+ "resource-version": "1536028638695",
+ "admin-status": "up",
+ "operational-status": "up",
+ "relationship-list": {
+ "relationship": [
+ {
+ "related-to": "network-resource",
+ "relationship-label": "tosca.relationships.network.LinksTo",
+ "related-link": "/aai/v13/network/network-resources/network-resource/1000",
+ "relationship-data": [
+ {
+ "relationship-key": "network-resource.network-id",
+ "relationship-value": "1000"
+ }
+ ],
+ "related-to-property": [
+ {
+ "property-key": "network-resource.network-id",
+ "property-value": "1000"
+ }
+ ]
+ }
+ ]
+ }
+} \ No newline at end of file