From 48c912df5cc69f58592d96a93e8b72900587dc89 Mon Sep 17 00:00:00 2001 From: "Cheung, Pat (kc1472)" Date: Thu, 22 Aug 2019 18:42:29 +0000 Subject: GRAPI DG enhancement Adding async and concurrency enhancement to GRAPI Issue-ID: SDNC-854 Signed-off-by: Cheung, Pat (kc1472) Change-Id: Ia6d2db17dbc85bed4e91cfeb345877baa1494c4b Former-commit-id: 8d5a350ab0128e46a81042341f2024a88631d35a --- ...IC-RESOURCE-API_self-serve-vf-module-assign.xml | 141 +- ...RESOURCE-API_self-serve-vf-module-mdsal-put.xml | 75 ++ .../GENERIC-RESOURCE-API_self-serve-vnf-assign.xml | 196 +-- ...NERIC-RESOURCE-API_self-serve-vnf-mdsal-put.xml | 67 + ...RCE-API_vf-module-topology-operation-assign.xml | 1392 ++++++++++++++++---- ...URCE-API_vf-module-topology-operation-async.xml | 28 + ...C-RESOURCE-API_vf-module-topology-operation.xml | 9 +- ...-RESOURCE-API_vnf-topology-operation-assign.xml | 1023 ++++++++++---- ...C-RESOURCE-API_vnf-topology-operation-async.xml | 28 + ...GENERIC-RESOURCE-API_vnf-topology-operation.xml | 9 +- 10 files changed, 2202 insertions(+), 766 deletions(-) create mode 100644 platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-mdsal-put.xml create mode 100644 platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-mdsal-put.xml create mode 100644 platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-async.xml create mode 100644 platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation-async.xml (limited to 'platform-logic/generic-resource-api/src/main/xml') diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-assign.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-assign.xml index de88ad7d..d2bb3a0c 100644 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-assign.xml +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-assign.xml @@ -245,75 +245,13 @@ ss.capability.execution-order - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + @@ -330,75 +268,13 @@ ss.capability.execution-order - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + @@ -417,6 +293,7 @@ ss.capability.execution-order + diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-mdsal-put.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-mdsal-put.xml new file mode 100644 index 00000000..76b60872 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-mdsal-put.xml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-assign.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-assign.xml index c8b52b29..96db3efe 100644 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-assign.xml +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-assign.xml @@ -223,154 +223,62 @@ ss.capability.execution-order[] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-mdsal-put.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-mdsal-put.xml new file mode 100644 index 00000000..a35b4c1b --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-mdsal-put.xml @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-assign.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-assign.xml index b7888ede..5f1fd438 100755 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-assign.xml +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-assign.xml @@ -1,6 +1,6 @@ + xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='1-4-2-20181108R1'> @@ -22,29 +22,77 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -52,11 +100,27 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -75,11 +139,27 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -88,11 +168,27 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -101,11 +197,19 @@ + value='`$vf-module-topology-operation-input.request-information.request-action`' /> + + + + + + + + @@ -129,12 +233,28 @@ - - - - + + - + + + + + + + + + + + + + + + + + + @@ -161,18 +281,50 @@ cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region" pfx='aai.cloud-region' local-only='false' > - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -195,11 +347,27 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -267,8 +435,26 @@ - - + + + + + + + + + + + + + + + + + + + + @@ -288,20 +474,52 @@ - - + + + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -311,9 +529,22 @@ - + - + + + + + + + + + + + + + + @@ -364,15 +595,29 @@ - - - - + - + + + + + + + + + + + + + + + + + + @@ -431,28 +676,56 @@ - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -494,14 +767,28 @@ - - - - + - + + + + + + + + + + + + + + + + + + @@ -533,13 +820,27 @@ and network_role = $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-role' pfx='db.vnf-related-network-role[]'> - - - - - + + - + + + + + + + + + + + + + + + + + + @@ -576,14 +877,28 @@ - - - - - + + - + + + + + + + + + + + + + + + + + + @@ -662,22 +977,33 @@ - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + @@ -722,22 +1048,50 @@ - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -757,22 +1111,50 @@ - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -797,22 +1179,50 @@ $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`" /> - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -829,22 +1239,50 @@ - - - - - - + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + @@ -875,12 +1313,26 @@ - - - - + - + + + + + + + + + + + + + + + + + + @@ -902,22 +1354,50 @@ $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id`" /> - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -935,12 +1415,26 @@ - - - - + - + + + + + + + + + + + + + + + + + + @@ -962,22 +1456,50 @@ $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$network-role-index].vnfc-subnet[$subnet-role-index].vnfc-ip-assignments[$address-family-index].subnet-id`" /> - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -1003,22 +1525,50 @@ $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-id`" /> - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -1045,22 +1595,50 @@ $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].related-networks.related-network[$related-network-index].vlan-tags.vlan-interface`" /> - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -1085,23 +1663,51 @@ $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id`" /> - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -1120,22 +1726,50 @@ - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -1162,22 +1796,50 @@ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`" /> - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -1199,22 +1861,50 @@ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-role-index].connection-point.connection-point-id`" /> - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -1237,22 +1927,50 @@ - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -1279,22 +1997,50 @@ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`" /> - - - - + - + + + + + + + + + + + + + + + + + + - - - - + - + + + + + + + + + + + + + + + + + + @@ -1316,20 +2062,50 @@ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-networks.vnfc-network-data[$vnfc-network-role-index].connection-point.connection-point-id`" /> - - - + - + + + + + + + + + + + + + + + + + + - - - + - + + + + + + + + + + + + + + + + + + @@ -1347,11 +2123,26 @@ - - + + + + + + + + + + + + + + + + + @@ -1417,9 +2208,74 @@ key="INSERT INTO VIPR_CONFIGURATION (vnf_id, vnf_name, ecomp_service_instance_id + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1430,4 +2286,4 @@ key="INSERT INTO VIPR_CONFIGURATION (vnf_id, vnf_name, ecomp_service_instance_id - + \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-async.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-async.xml new file mode 100644 index 00000000..4c89d83b --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-async.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation.xml index 24863d44..dae4b9b9 100644 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation.xml +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation.xml @@ -6,7 +6,14 @@ - + + + + + + + + diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation-assign.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation-assign.xml index 1433b7b5..0b90096b 100755 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation-assign.xml +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation-assign.xml @@ -22,29 +22,77 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -53,11 +101,27 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -68,6 +132,14 @@ + + + + + + + + @@ -84,19 +156,35 @@ - + - - - - + + - + + + + + + + + + + + + + + + + + + @@ -116,20 +204,52 @@ key="instance-group.id = $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id" pfx='aai.instance-group' local-only='false' > - - - - + + - + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -140,20 +260,53 @@ key="collection.collection-id = $aai.instance-group.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value" pfx='aai.collection' local-only='false' > - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -175,13 +328,30 @@ - - - - + + - + + ' in MD-SAL service instance ' + + $network-service-instance`" /> + + + + + + + + + + + + + + + + + + @@ -235,18 +405,50 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -262,11 +464,27 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -287,11 +505,27 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -385,7 +619,10 @@ depth='all'" pfx='aai.cloud-region' local-only='false' > - + + + + @@ -393,16 +630,28 @@ + + + + + + + + + + + + + + - - - - - - + + + + @@ -410,12 +659,21 @@ + + + + + + + + + + + + + + - - - - - @@ -439,7 +697,10 @@ - + + + + @@ -447,12 +708,21 @@ + + + + + + + + + + + + + + - - - - - @@ -460,7 +730,10 @@ key='SELECT * from VF_TO_NETWORK_ROLE_MAPPING WHERE vf_customization_uuid = $vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid' pfx='db.vf-network-role-mapping[]'> - + + + + @@ -468,12 +741,21 @@ + + + + + + + + + + + + + + - - - - - @@ -507,7 +789,10 @@ pfx='aai.l3-network' local-only='false' > - + + + + @@ -515,18 +800,28 @@ + + + + + + + + + + + + + + - - - - - - + + + + @@ -534,12 +829,21 @@ + + + + + + + + + + + + + + - - - - - @@ -622,7 +926,10 @@ - + + + + @@ -630,12 +937,21 @@ + + + + + + + + + + + + + + - - - - - @@ -733,7 +1049,10 @@ and network_role = $db.vf-network-role-mapping[$role-index].network-role' pfx='db.vnf-related-network-role[]'> - + + + + @@ -741,12 +1060,21 @@ + + + + + + + + + + + + + + - - - - - @@ -771,7 +1099,14 @@ - + + + + @@ -779,16 +1114,21 @@ + + + + + + + + + + + + + + - - - - - @@ -808,7 +1148,10 @@ - + + + + @@ -816,16 +1159,28 @@ + + + + + + + + + + + + + + - - - - - - + + + + @@ -833,12 +1188,21 @@ + + + + + + + + + + + + + + - - - - - @@ -865,7 +1229,10 @@ - + + + + @@ -873,16 +1240,29 @@ + + + + + + + + + + + + + + - - - - - - + + + + @@ -890,13 +1270,21 @@ + + + + + + + + + + + + + + - - - - - @@ -919,7 +1307,10 @@ pfx='aai.vlan-tag' local-only='false' > - + + + + @@ -927,12 +1318,21 @@ + + + + + + + + + + + + + + - - - - - @@ -984,7 +1384,11 @@ - + + + + @@ -992,13 +1396,21 @@ + + + + + + + + + + + + + + - - - - - @@ -1027,7 +1439,10 @@ - + + + + @@ -1035,16 +1450,28 @@ + + + + + + + + + + + + + + - - - - - - + + + + @@ -1052,12 +1479,21 @@ + + + + + + + + + + + + + + - - - - - @@ -1079,7 +1515,10 @@ - + + + + @@ -1087,16 +1526,28 @@ + + + + + + + + + + + + + + - - - - - - + + + + @@ -1104,12 +1555,21 @@ + + + + + + + + + + + + + + - - - - - @@ -1141,7 +1601,10 @@ - + + + + @@ -1149,16 +1612,28 @@ + + + + + + + + + + + + + + - - - - - - + + + + @@ -1166,12 +1641,21 @@ + + + + + + + + + + + + + + - - - - - @@ -1186,7 +1670,10 @@ value="`'/aai/v$/network/instance-groups/instance-group/' + $vnf-topology-operation-input.vnf-request-input.vnf-network-instance-group-ids[$inst-group-index].vnf-network-instance-group-id`" /> - + + + + @@ -1194,16 +1681,28 @@ + + + + + + + + + + + + + + - - - - - - + + + + @@ -1211,12 +1710,21 @@ + + + + + + + + + + + + + + - - - - - @@ -1234,9 +1742,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation-async.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation-async.xml new file mode 100644 index 00000000..69175f2f --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation-async.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation.xml index cabcce51..ecee104f 100644 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation.xml +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation.xml @@ -6,7 +6,14 @@ - + + + + + + + + -- cgit 1.2.3-korg