From 8e136272ffd5555c66ac4b8b6310eb974ca86e19 Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Tue, 27 Aug 2019 09:53:59 -0400 Subject: Revert "GRAPI DG enhancement" This reverts commit 48c912df5cc69f58592d96a93e8b72900587dc89 [formerly 8d5a350ab0128e46a81042341f2024a88631d35a]. This change breaks the flow in a few ways: - loses fix to case where now GW preload is found. - depends on an adaptor that is not part of ONAP (MSOAdaptor) - uses a rest api template that does not exist. Change-Id: I7db150174484309e2ec3b49365403ca0d4f7ac6f Issue-ID: SDNC-870 Issue-ID: SDNC-871 Signed-off-by: Timoney, Dan (dt5972) Former-commit-id: ffce554d009b58c71e433d9edc3ba6476f4ce9ce --- ...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, 766 insertions(+), 2202 deletions(-) delete mode 100644 platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-mdsal-put.xml delete mode 100644 platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-mdsal-put.xml delete mode 100644 platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-async.xml delete 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 d2bb3a0c..de88ad7d 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,13 +245,75 @@ ss.capability.execution-order - + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + @@ -268,13 +330,75 @@ ss.capability.execution-order - + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + @@ -293,7 +417,6 @@ 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 deleted file mode 100644 index 76b60872..00000000 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vf-module-mdsal-put.xml +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ 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 96db3efe..c8b52b29 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,62 +223,154 @@ 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 deleted file mode 100644 index a35b4c1b..00000000 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-vnf-mdsal-put.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ 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 5f1fd438..b7888ede 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='${project.version}'> @@ -22,77 +22,29 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -100,27 +52,11 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -139,27 +75,11 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -168,27 +88,11 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -197,19 +101,11 @@ + value='`$vf-module-topology-operation-input.sdnc-request-header.request-action`' /> - - - - - - - - @@ -233,28 +129,12 @@ - - - + - - - - - - - - - - - - - - - - - - + @@ -281,50 +161,18 @@ cloud-region.cloud-region-id = $vf-module-topology-operation-input.vf-module-request-input.aic-cloud-region" pfx='aai.cloud-region' local-only='false' > - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -347,27 +195,11 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -435,26 +267,8 @@ - - - - - - - - - - - - - - - - - - - - + + @@ -474,52 +288,20 @@ - - - - - - - - - - - - - - - - - - - - + + - + + + + - - - - - - - - - - - - - - - - - - + @@ -529,22 +311,9 @@ - + - - - - - - - - - - - - - - + @@ -595,29 +364,15 @@ - + + + + - - - - - - - - - - - - - - - - - - + @@ -676,56 +431,28 @@ - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - - - - - - - - - - - - - - - - - - + @@ -767,28 +494,14 @@ - + + + + - - - - - - - - - - - - - - - - - - + @@ -820,27 +533,13 @@ 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[]'> - - + + + + + - - - - - - - - - - - - - - - - - - + @@ -877,28 +576,14 @@ - - + + + + + - - - - - - - - - - - - - - - - - - + @@ -977,33 +662,22 @@ - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - + @@ -1048,50 +722,22 @@ - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - - - - - - - - - - - - - - - - - - + @@ -1111,50 +757,22 @@ - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - - - - - - - - - - - - - - - - - - + @@ -1179,50 +797,22 @@ $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id`" /> - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - - - - - - - - - - - - - - - - - - + @@ -1239,50 +829,22 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + @@ -1313,26 +875,12 @@ - + + + + - - - - - - - - - - - - - - - - - - + @@ -1354,50 +902,22 @@ $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`" /> - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - - - - - - - - - - - - - - - - - - + @@ -1415,26 +935,12 @@ - + + + + - - - - - - - - - - - - - - - - - - + @@ -1456,50 +962,22 @@ $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`" /> - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - - - - - - - - - - - - - - - - - - + @@ -1525,50 +1003,22 @@ $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-resource-assignments.vnf-networks.vnf-network[$vnf-network-index].network-id`" /> - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - - - - - - - - - - - - - - - - - - + @@ -1595,50 +1045,22 @@ $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`" /> - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - - - - - - - - - - - - - - - - - - + @@ -1663,51 +1085,23 @@ $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-networks.vm-network[$network-role-index].network-id`" /> - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - - - - - - - - - - - - - - - - - - + @@ -1726,50 +1120,22 @@ - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - - - - - - - - - - - - - - - - - - + @@ -1796,50 +1162,22 @@ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`" /> - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - - - - - - - - - - - - - - - - - - + @@ -1861,50 +1199,22 @@ + $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`" /> - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - - - - - - - - - - - - - - - - - - + @@ -1927,50 +1237,22 @@ - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - - - - - - - - - - - - - - - - - - + @@ -1997,50 +1279,22 @@ + $tmp.vf-module-topology.vf-module-assignments.vms.vm[$vm-type-index].vm-names.vnfc-names[$vnfc-index].vnfc-name`" /> - + + + + - - - - - - - - - - - - - - - - - - + - + + + + - - - - - - - - - - - - - - - - - - + @@ -2062,50 +1316,20 @@ + $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`" /> - + + + - - - - - - - - - - - - - - - - - - + - + + + - - - - - - - - - - - - - - - - - - + @@ -2123,26 +1347,11 @@ + - - - - - - - - - - - - - - - - - + @@ -2208,74 +1417,9 @@ key="INSERT INTO VIPR_CONFIGURATION (vnf_id, vnf_name, ecomp_service_instance_id - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2286,4 +1430,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 deleted file mode 100644 index 4c89d83b..00000000 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vf-module-topology-operation-async.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ 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 dae4b9b9..24863d44 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,14 +6,7 @@ - - - - - - - - + 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 0b90096b..1433b7b5 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,77 +22,29 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -101,27 +53,11 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -132,14 +68,6 @@ - - - - - - - - @@ -156,35 +84,19 @@ - + - - - + - - - - - - - - - - - - - - - - - - + @@ -204,52 +116,20 @@ 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' > - - - + - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -260,53 +140,20 @@ key="collection.collection-id = $aai.instance-group.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value" pfx='aai.collection' local-only='false' > - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -328,30 +175,13 @@ - - - + - - - - - - - - - - - - - - - - - - + + ' in MD-SAL'`" /> + @@ -405,50 +235,18 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -464,27 +262,11 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -505,27 +287,11 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -619,10 +385,7 @@ depth='all'" pfx='aai.cloud-region' local-only='false' > - - - - + @@ -630,28 +393,16 @@ - - - - - - - - - - - - - - + + + + + - - - - + @@ -659,21 +410,12 @@ - - - - - - - - - - - - - - + + + + + @@ -697,10 +439,7 @@ - - - - + @@ -708,21 +447,12 @@ - - - - - - - - - - - - - - + + + + + @@ -730,10 +460,7 @@ 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[]'> - - - - + @@ -741,21 +468,12 @@ - - - - - - - - - - - - - - + + + + + @@ -789,10 +507,7 @@ pfx='aai.l3-network' local-only='false' > - - - - + @@ -800,28 +515,18 @@ - - - - - - - - - - - - - - + + + + + - - - - + @@ -829,21 +534,12 @@ - - - - - - - - - - - - - - + + + + + @@ -926,10 +622,7 @@ - - - - + @@ -937,21 +630,12 @@ - - - - - - - - - - - - - - + + + + + @@ -1049,10 +733,7 @@ and network_role = $db.vf-network-role-mapping[$role-index].network-role' pfx='db.vnf-related-network-role[]'> - - - - + @@ -1060,21 +741,12 @@ - - - - - - - - - - - - - - + + + + + @@ -1099,14 +771,7 @@ - - - - + @@ -1114,21 +779,16 @@ - - - - - - - - - - - - - - + + + + + @@ -1148,10 +808,7 @@ - - - - + @@ -1159,28 +816,16 @@ - - - - - - - - - - - - - - + + + + + - - - - + @@ -1188,21 +833,12 @@ - - - - - - - - - - - - - - + + + + + @@ -1229,10 +865,7 @@ - - - - + @@ -1240,29 +873,16 @@ - - - - - - - - - - - - - - + + + + + - - - - + @@ -1270,21 +890,13 @@ - - - - - - - - - - - - - - + + + + + @@ -1307,10 +919,7 @@ pfx='aai.vlan-tag' local-only='false' > - - - - + @@ -1318,21 +927,12 @@ - - - - - - - - - - - - - - + + + + + @@ -1384,11 +984,7 @@ - - - - + @@ -1396,21 +992,13 @@ - - - - - - - - - - - - - - + + + + + @@ -1439,10 +1027,7 @@ - - - - + @@ -1450,28 +1035,16 @@ - - - - - - - - - - - - - - + + + + + - - - - + @@ -1479,21 +1052,12 @@ - - - - - - - - - - - - - - + + + + + @@ -1515,10 +1079,7 @@ - - - - + @@ -1526,28 +1087,16 @@ - - - - - - - - - - - - - - + + + + + - - - - + @@ -1555,21 +1104,12 @@ - - - - - - - - - - - - - - + + + + + @@ -1601,10 +1141,7 @@ - - - - + @@ -1612,28 +1149,16 @@ - - - - - - - - - - - - - - + + + + + - - - - + @@ -1641,21 +1166,12 @@ - - - - - - - - - - - - - - + + + + + @@ -1670,10 +1186,7 @@ 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`" /> - - - - + @@ -1681,28 +1194,16 @@ - - - - - - - - - - - - - - + + + + + - - - - + @@ -1710,21 +1211,12 @@ - - - - - - - - - - - - - - + + + + + @@ -1742,84 +1234,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 deleted file mode 100644 index 69175f2f..00000000 --- a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_vnf-topology-operation-async.xml +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - \ 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 ecee104f..cabcce51 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,14 +6,7 @@ - - - - - - - - + -- cgit 1.2.3-korg