From 4aaa0f9eaa40aabd3333e0e93d8bff14e645d1f8 Mon Sep 17 00:00:00 2001 From: "Cheung, Pat (kc1472)" Date: Mon, 4 Mar 2019 19:59:03 +0000 Subject: Dublin release DGs to support pnf-topology-operation with assign svc-action Change-Id: Ia257c03cd8e3b2dd8f801b67a0d55ab7f7ed1ba6 Issue-ID: SDNC-635 Signed-off-by: Cheung, Pat (kc1472) Former-commit-id: 6120758d9eaf6d6aae57d94f236ff7ddda3503c7 --- .../properties/generic-resource-api-dg.properties | 2 + ...RESOURCE-API_pnf-topology-operation-assign.json | 424 ++++++ ...ENERIC-RESOURCE-API_pnf-topology-operation.json | 302 +++++ ...GENERIC-RESOURCE-API_self-serve-pnf-assign.json | 1375 ++++++++++++++++++++ ...-RESOURCE-API_self-serve-pnf-ra-assignment.json | 1074 +++++++++++++++ .../GENERIC-RESOURCE-API_validate-pnf-input.json | 573 ++++++++ ...-RESOURCE-API_pnf-topology-operation-assign.xml | 71 + ...GENERIC-RESOURCE-API_pnf-topology-operation.xml | 38 + .../GENERIC-RESOURCE-API_self-serve-pnf-assign.xml | 400 ++++++ ...C-RESOURCE-API_self-serve-pnf-ra-assignment.xml | 234 ++++ .../GENERIC-RESOURCE-API_validate-pnf-input.xml | 86 ++ .../src/main/json/self-serve-pnf-assignments.json | 112 ++ 12 files changed, 4691 insertions(+) create mode 100644 platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_pnf-topology-operation-assign.json create mode 100644 platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_pnf-topology-operation.json create mode 100644 platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-assign.json create mode 100644 platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.json create mode 100644 platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-pnf-input.json create mode 100644 platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_pnf-topology-operation-assign.xml create mode 100644 platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_pnf-topology-operation.xml create mode 100644 platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-pnf-assign.xml create mode 100644 platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.xml create mode 100644 platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-pnf-input.xml create mode 100644 platform-logic/restapi-templates/src/main/json/self-serve-pnf-assignments.json diff --git a/installation/src/main/properties/generic-resource-api-dg.properties b/installation/src/main/properties/generic-resource-api-dg.properties index 16d5987f..8c21e687 100644 --- a/installation/src/main/properties/generic-resource-api-dg.properties +++ b/installation/src/main/properties/generic-resource-api-dg.properties @@ -31,6 +31,7 @@ restapi.sotn-attachment.templatefile=sotn-attachment-allotted-resource.json restapi.sdwan-attachment.templatefile=sdwan-attachment-allotted-resource.json restapi.oof-getpath.templatefile=oof-getpath.json restapi.naming.gen-name.templatefile=naming-ms-post-gen-name.json +restapi.ss.pnf.templatefile=self-serve-pnf-assignments.json restapi.ss.vnf.templatefile=self-serve-vnf-assignments.json restapi.ss.vfmodule.templatefile=self-serve-vfmodule-assignments.json restapi.ss.mS.vlan.tag.assign.templatefile=self-serve-mS-vlan-tag-assignments.json @@ -59,6 +60,7 @@ restapi.services=/restconf/config/GENERIC-RESOURCE-API:services/service/{service restapi.service.vnf.vfmodule-resource=/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data/vnfs/vnf/{vnf-id}/vnf-data/vf-modules/vf-module/{vf-module-id} restapi.connection-attachment-allottedresource=/restconf/config/GENERIC-RESOURCE-API:connection-attachment-allotted-resources/connection-attachment-allotted-resource/{allotted-resource-id}/ restapi.naming.gen-name.service=/web/service/v1/genNetworkElementName +restapi.ss-pnf-assignments=/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data/pnfs/pnf/{pnf-id}/ restapi.ss-vnf-assignments=/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data/vnfs/vnf/{vnf-id}/ restapi.ss-vfmodule-assignments=/restconf/config/GENERIC-RESOURCE-API:services/service/{service-instance-id}/service-data/vnfs/vnf/{vnf-id}/vnf-data/vf-modules/vf-module/{vf-module-id}/ restapi.ss-mS-vlan-tag-assign=/vlantagapi/v1/{action} diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_pnf-topology-operation-assign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_pnf-topology-operation-assign.json new file mode 100644 index 00000000..2e3a1c2e --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_pnf-topology-operation-assign.json @@ -0,0 +1,424 @@ +[ + { + "id": "d3b3a7ea.d04d08", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 133.3333282470703, + "y": 79.63588523864746, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "46bb10f7.5c3fb" + ] + ] + }, + { + "id": "46bb10f7.5c3fb", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 248.61903381347656, + "y": 121.54066467285156, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "11b944cd.c96c5b" + ] + ] + }, + { + "id": "11b944cd.c96c5b", + "type": "method", + "name": "method pnf-topology-operation-assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 243.92864990234375, + "y": 165.55255317687988, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "ce6b8a58.b8d3e8" + ] + ] + }, + { + "id": "7e923496.314c4c", + "type": "comment", + "name": "pnf-topology-operation-assign", + "info": "", + "comments": "", + "x": 535.5948638916016, + "y": 41.38888931274414, + "z": "6dfe2c1.a0003d4", + "wires": [] + }, + { + "id": "2c8dd484.c334bc", + "type": "switchNode", + "name": "switch request-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 627.2143096923828, + "y": 309.0287160873413, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "e97259d0.1af158", + "413f5d48.571fc4" + ] + ] + }, + { + "id": "e97259d0.1af158", + "type": "outcome", + "name": "CreatePnfInstance", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 880.9286041259766, + "y": 286.1715974807739, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "f6bc9eb4.5cc37" + ] + ] + }, + { + "id": "413f5d48.571fc4", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 842.9285697937012, + "y": 331.88592529296875, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "514d78e9.baa838" + ] + ] + }, + { + "id": "f6bc9eb4.5cc37", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1065.785732269287, + "y": 286.17162704467773, + "z": "6dfe2c1.a0003d4", + "wires": [ + [] + ] + }, + { + "id": "514d78e9.baa838", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1082.9285774230957, + "y": 331.8858833312988, + "z": "6dfe2c1.a0003d4", + "wires": [] + }, + { + "id": "4388ff9d.ce7d6", + "type": "get-resource", + "name": "get-resource VF_MODEL", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 639.5476150512695, + "y": 400.17158603668213, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "512ab575.220ccc", + "3a1614d2.3eacec" + ] + ] + }, + { + "id": "6dc29919.0f2208", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1080.9760932922363, + "y": 423.60007190704346, + "z": "6dfe2c1.a0003d4", + "wires": [] + }, + { + "id": "512ab575.220ccc", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 840.3333129882812, + "y": 380.55242347717285, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "d5d2d14c.f67aa" + ] + ] + }, + { + "id": "3a1614d2.3eacec", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 848.9047431945801, + "y": 424.83813667297363, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "6dc29919.0f2208" + ] + ] + }, + { + "id": "d5d2d14c.f67aa", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1080.333293914795, + "y": 378.695330619812, + "z": "6dfe2c1.a0003d4", + "wires": [] + }, + { + "id": "95465986.653a28", + "type": "execute", + "name": "execute PropertiesNode", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 635.1190948486328, + "y": 182.314471244812, + "z": "6dfe2c1.a0003d4", + "wires": [ + [] + ] + }, + { + "id": "ce6b8a58.b8d3e8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 353.41272735595703, + "y": 309.5079708099365, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "2c8dd484.c334bc", + "4388ff9d.ce7d6", + "95465986.653a28", + "6cdfcbff.124fe4", + "4f7127f2.481f58" + ] + ] + }, + { + "id": "6cdfcbff.124fe4", + "type": "switchNode", + "name": "switch input cloud-owner", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 635.8333511352539, + "y": 237.55254077911377, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "fbe3ca5c.624b78", + "12f9e0f5.d15d1f" + ] + ] + }, + { + "id": "fbe3ca5c.624b78", + "type": "other", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 819.1667251586914, + "y": 207.55252933502197, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "c50e0e6c.80923" + ] + ] + }, + { + "id": "12f9e0f5.d15d1f", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 818.9286308288574, + "y": 248.5050230026245, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "6843bdbc.1eb674" + ] + ] + }, + { + "id": "c50e0e6c.80923", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 954.1666793823242, + "y": 205.88586902618408, + "z": "6dfe2c1.a0003d4", + "wires": [ + [] + ] + }, + { + "id": "6843bdbc.1eb674", + "type": "set", + "name": "set prop.cloud-region.cloud-owner", + "xml": "\n\n", + "comments": "", + "x": 1035.8333358764648, + "y": 247.55255031585693, + "z": "6dfe2c1.a0003d4", + "wires": [] + }, + { + "id": "940a3bec.b79db8", + "type": "call", + "name": "call self-serve-pnf-assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 848.5553359985352, + "y": 596.4128832817078, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "ee11637d.64cc5" + ] + ] + }, + { + "id": "22ef4f33.3ca9c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n\n", + "comments": "", + "x": 1232.6267127990723, + "y": 596.4128336906433, + "z": "6dfe2c1.a0003d4", + "wires": [] + }, + { + "id": "d7499e88.a3c54", + "type": "comment", + "name": "SELF-SERVE FORK", + "info": "", + "comments": "", + "x": 758.174690246582, + "y": 547.6151220798492, + "z": "6dfe2c1.a0003d4", + "wires": [] + }, + { + "id": "ee11637d.64cc5", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1053.8529167175293, + "y": 595.9009146690369, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "22ef4f33.3ca9c" + ] + ] + }, + { + "id": "8085154e.65e6a8", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 820.9642715454102, + "y": 750.5674510002136, + "z": "6dfe2c1.a0003d4", + "wires": [] + }, + { + "id": "4326ce02.3a255", + "type": "set", + "name": "set pnf-level-oper-status to PendingCreate", + "xml": "\n\n\n", + "comments": "", + "x": 959.0277328491211, + "y": 649.15491771698, + "z": "6dfe2c1.a0003d4", + "wires": [] + }, + { + "id": "b05b3263.f3526", + "type": "execute", + "name": "printContext", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 810.8689994812012, + "y": 698.3447003364563, + "z": "6dfe2c1.a0003d4", + "wires": [ + [] + ] + }, + { + "id": "4f7127f2.481f58", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 599.535530090332, + "y": 667.8531589508057, + "z": "6dfe2c1.a0003d4", + "wires": [ + [ + "940a3bec.b79db8", + "8085154e.65e6a8", + "b05b3263.f3526" + ] + ] + } +] \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_pnf-topology-operation.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_pnf-topology-operation.json new file mode 100644 index 00000000..95599658 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_pnf-topology-operation.json @@ -0,0 +1,302 @@ +[ + { + "id": "a75a636d.6f381", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 151.42859649658203, + "y": 90.00000190734863, + "z": "304db441.66b4dc", + "wires": [ + [ + "bc77da8a.d3eb38" + ] + ] + }, + { + "id": "bc77da8a.d3eb38", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 265.7143020629883, + "y": 130.2381134033203, + "z": "304db441.66b4dc", + "wires": [ + [ + "5d578276.4bfefc" + ] + ] + }, + { + "id": "5d578276.4bfefc", + "type": "method", + "name": "method pnf-topology-operation", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 217.8572235107422, + "y": 169.99999618530273, + "z": "304db441.66b4dc", + "wires": [ + [ + "8685d57b.911a08" + ] + ] + }, + { + "id": "24fd3171.4300ae", + "type": "comment", + "name": "pnf-topology-operation", + "info": "", + "comments": "", + "x": 545.7734527587891, + "y": 37.58634567260742, + "z": "304db441.66b4dc", + "wires": [] + }, + { + "id": "8685d57b.911a08", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 234.02387237548828, + "y": 376.26495265960693, + "z": "304db441.66b4dc", + "wires": [ + [ + "53481fdc.accfe", + "142ac2ac.46ecad", + "1bd90137.06db9f" + ] + ] + }, + { + "id": "53481fdc.accfe", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n", + "comments": "", + "x": 519.380973815918, + "y": 530.7146434783936, + "z": "304db441.66b4dc", + "wires": [] + }, + { + "id": "142ac2ac.46ecad", + "type": "switchNode", + "name": "switch svc-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 529.4285430908203, + "y": 374.4761962890625, + "z": "304db441.66b4dc", + "wires": [ + [ + "19927cce.f2a7f3", + "9c8ad773.ef9d68", + "a0c10c00.06af18", + "4205ab8c.75bdf4", + "5cc63376.4006fc", + "bec05d4a.4c7b6" + ] + ] + }, + { + "id": "19927cce.f2a7f3", + "type": "outcome", + "name": "assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 726.8094863891602, + "y": 268.5239009857178, + "z": "304db441.66b4dc", + "wires": [ + [ + "ff0b4bca.7ccaa8" + ] + ] + }, + { + "id": "9c8ad773.ef9d68", + "type": "outcome", + "name": "unassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 730.8571090698242, + "y": 398.7146244049072, + "z": "304db441.66b4dc", + "wires": [ + [ + "34401634.f821aa" + ] + ] + }, + { + "id": "4205ab8c.75bdf4", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 724.142744064331, + "y": 484.3332748413086, + "z": "304db441.66b4dc", + "wires": [ + [ + "fa0f4334.3fb5" + ] + ] + }, + { + "id": "fa0f4334.3fb5", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 910.3331890106201, + "y": 484.3333396911621, + "z": "304db441.66b4dc", + "wires": [] + }, + { + "id": "1bd90137.06db9f", + "type": "call", + "name": "call GENERIC-RESOURCE-API:validate-pnf-input", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 633.8452301025391, + "y": 227.38104057312012, + "z": "304db441.66b4dc", + "wires": [ + [] + ] + }, + { + "id": "ff0b4bca.7ccaa8", + "type": "call", + "name": "call GENERIC-RESOURCE-API:pnf-topology-operation-assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1068.9523391723633, + "y": 268.0953617095947, + "z": "304db441.66b4dc", + "wires": [ + [] + ] + }, + { + "id": "90a49ca8.b5074", + "type": "call", + "name": "call GENERIC-RESOURCE-API:pnf-topology-operation-deactivate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1080.2856063842773, + "y": 352.4287099838257, + "z": "304db441.66b4dc", + "wires": [ + [] + ] + }, + { + "id": "34401634.f821aa", + "type": "call", + "name": "call GENERIC-RESOURCE-API:pnf-topology-operation-unassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1075.952205657959, + "y": 398.42875576019287, + "z": "304db441.66b4dc", + "wires": [ + [] + ] + }, + { + "id": "a0c10c00.06af18", + "type": "outcome", + "name": "deactivate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 735.9522476196289, + "y": 353.09538555145264, + "z": "304db441.66b4dc", + "wires": [ + [ + "90a49ca8.b5074" + ] + ] + }, + { + "id": "38e4cbe2.ef1884", + "type": "call", + "name": "call GENERIC-RESOURCE-API:pnf-topology-operation-activate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1073.0951843261719, + "y": 309.9999933242798, + "z": "304db441.66b4dc", + "wires": [ + [] + ] + }, + { + "id": "5cc63376.4006fc", + "type": "outcome", + "name": "activate", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 729.7618255615234, + "y": 310.66666889190674, + "z": "304db441.66b4dc", + "wires": [ + [ + "38e4cbe2.ef1884" + ] + ] + }, + { + "id": "bec05d4a.4c7b6", + "type": "outcome", + "name": "changeassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 745.7143363952637, + "y": 441.42855644226074, + "z": "304db441.66b4dc", + "wires": [ + [ + "27aa457b.765b8a" + ] + ] + }, + { + "id": "27aa457b.765b8a", + "type": "call", + "name": "call GENERIC-RESOURCE-API:pnf-topology-operation-changeassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1086.5237045288086, + "y": 441.1427230834961, + "z": "304db441.66b4dc", + "wires": [ + [] + ] + } +] \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-assign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-assign.json new file mode 100644 index 00000000..2c57c178 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-assign.json @@ -0,0 +1,1375 @@ +[ + { + "id": "ecff213c.e8aaa", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 137.5, + "y": 90, + "z": "37882b3b.b21224", + "wires": [ + [ + "23b17adc.1c80e6" + ] + ] + }, + { + "id": "e6160663.8edf48", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 167.9761962890625, + "y": 212.2777862548828, + "z": "37882b3b.b21224", + "wires": [ + [ + "f97d0f53.e9029", + "2d2db8c6.748ba8", + "ff2d06ee.623348", + "ca8257f6.464808", + "b9417a96.c89598", + "97cbe59f.102fe8", + "71acdeef.4b572", + "b26b3f10.8cd93", + "2c0f97dd.67d808", + "192a8a0a.311bd6" + ] + ] + }, + { + "id": "7bdd8af6.d4d404", + "type": "method", + "name": "method self-serve-pnf-assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 254.26190948486328, + "y": 144.70635509490967, + "z": "37882b3b.b21224", + "wires": [ + [ + "e6160663.8edf48" + ] + ] + }, + { + "id": "23b17adc.1c80e6", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 412.73819732666016, + "y": 90.19049263000488, + "z": "37882b3b.b21224", + "wires": [ + [ + "7bdd8af6.d4d404" + ] + ] + }, + { + "id": "2d2db8c6.748ba8", + "type": "switchNode", + "name": "switch pnf-parameters-data.param_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 449.0357971191406, + "y": 1492.5120153427124, + "z": "37882b3b.b21224", + "wires": [ + [ + "eb4e37ba.25e208" + ] + ] + }, + { + "id": "eb4e37ba.25e208", + "type": "other", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 711.0358276367188, + "y": 1492.5120153427124, + "z": "37882b3b.b21224", + "wires": [ + [ + "ed282b71.ede0f8" + ] + ] + }, + { + "id": "21ad94d1.be148c", + "type": "call", + "name": "call GENERIC-RESOURCE-API:self-serve-pnf-ra-assignment", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1226.3214874267578, + "y": 1542.0834465026855, + "z": "37882b3b.b21224", + "wires": [ + [ + "ffcba76.e3a6658" + ] + ] + }, + { + "id": "afb8d713.9ea788", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1698.0357284545898, + "y": 1541.6548500061035, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "6f90ee45.cde4f", + "type": "for", + "name": "foreach pnf-parameters-data.param[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 681.3574600219727, + "y": 1800.0120840072632, + "z": "37882b3b.b21224", + "wires": [ + [ + "c123dce6.984a6", + "a008f4ce.816ac8" + ] + ] + }, + { + "id": "f97d0f53.e9029", + "type": "set", + "name": "set ss.capability.execution-order[]", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 430.02384185791016, + "y": 1271.0001401901245, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "ff2d06ee.623348", + "type": "for", + "name": "foreach capability[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 381.14300537109375, + "y": 1644.4049034118652, + "z": "37882b3b.b21224", + "wires": [ + [ + "34d7033c.1d850c", + "bcdcac9e.1dcf8", + "6f90ee45.cde4f", + "7e8acf11.757ce" + ] + ] + }, + { + "id": "a008f4ce.816ac8", + "type": "switchNode", + "name": "switch capability-name", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 985.7502822875977, + "y": 1845.6548767089844, + "z": "37882b3b.b21224", + "wires": [ + [ + "fbc7d0d6.d0f9a" + ] + ] + }, + { + "id": "fbc7d0d6.d0f9a", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1176.2502822875977, + "y": 1845.9048767089844, + "z": "37882b3b.b21224", + "wires": [ + [ + "1d5ac87a.53fd58" + ] + ] + }, + { + "id": "ffcba76.e3a6658", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1543.8928337097168, + "y": 1541.5120401382446, + "z": "37882b3b.b21224", + "wires": [ + [ + "afb8d713.9ea788" + ] + ] + }, + { + "id": "34d7033c.1d850c", + "type": "set", + "name": "set ss.capability-name", + "xml": "\n\n", + "comments": "", + "x": 637.5000610351562, + "y": 1644.3573551177979, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "c123dce6.984a6", + "type": "set", + "name": "tmp.param.capability-name", + "xml": "\n", + "comments": "", + "x": 997.107307434082, + "y": 1800.2620868682861, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "bcdcac9e.1dcf8", + "type": "set", + "name": "set ss.capability-action = assign", + "xml": "\n\n", + "comments": "", + "x": 666.2142028808594, + "y": 1691.2739391326904, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "7e8acf11.757ce", + "type": "set", + "name": "set capability-dg with 'self-serve-' + capability-name", + "xml": "\n\n", + "comments": "", + "x": 728.7262954711914, + "y": 1744.7501831054688, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "ca8257f6.464808", + "type": "set", + "name": "set sdnc-generated-cloud-resources = true", + "xml": "\n\n", + "comments": "", + "x": 458.9881362915039, + "y": 1324.7501487731934, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "9217be7a.bbdb1", + "type": "block", + "name": "block", + "xml": "", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 715.428539276123, + "y": 605.4643030166626, + "z": "37882b3b.b21224", + "wires": [ + [ + "3723f166.b9d03e", + "74858ef1.51481", + "a4d6abfb.adbf88", + "7c366e89.adcd7", + "16c17b92.58b8f4", + "2ef35e2.ce87ea2", + "25981633.c7dc4a", + "152546f0.c6dac9", + "6f7c97df.b99708" + ] + ] + }, + { + "id": "3723f166.b9d03e", + "type": "set", + "name": "set pnf-topology data", + "xml": "\n\n\n\n", + "comments": "", + "x": 930.9284820556641, + "y": 606.523811340332, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "ca44a755.ad1c68", + "type": "set", + "name": "set pnf-parameters-data", + "xml": "\n\n", + "comments": "", + "x": 1117.3217163085938, + "y": 1492.380844116211, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "a4d6abfb.adbf88", + "type": "set", + "name": "set pnf-level-oper-status to PendingCreate", + "xml": "\n\n\n\n", + "comments": "", + "x": 996.2184371948242, + "y": 1180.504020690918, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "74858ef1.51481", + "type": "set", + "name": "copy input data", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 913.5953521728516, + "y": 1130.3096599578857, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "b0cbcbbb.b2c498", + "type": "set", + "name": "set from DB", + "xml": "\n", + "comments": "", + "x": 1327.9286727905273, + "y": 718.8810405731201, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "7c366e89.adcd7", + "type": "switchNode", + "name": "switch input model-invariant-uuid", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 968.7857475280762, + "y": 741.7054843902588, + "z": "37882b3b.b21224", + "wires": [ + [ + "ae90c040.3cc39", + "5f2c6ed0.29635" + ] + ] + }, + { + "id": "ae90c040.3cc39", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1177.4524192810059, + "y": 718.8484477996826, + "z": "37882b3b.b21224", + "wires": [ + [ + "b0cbcbbb.b2c498" + ] + ] + }, + { + "id": "5f2c6ed0.29635", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1178.881015777588, + "y": 763.1340389251709, + "z": "37882b3b.b21224", + "wires": [ + [ + "f383b18b.bfab9" + ] + ] + }, + { + "id": "f383b18b.bfab9", + "type": "set", + "name": "set from input", + "xml": "\n", + "comments": "", + "x": 1333.1667518615723, + "y": 762.5626111030579, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "4d3a329b.f2f90c", + "type": "set", + "name": "set from DB", + "xml": "\n", + "comments": "", + "x": 1328.8809432983398, + "y": 807.419716835022, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "16c17b92.58b8f4", + "type": "switchNode", + "name": "switch input model-uuid", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 938.4047660827637, + "y": 830.2442216873169, + "z": "37882b3b.b21224", + "wires": [ + [ + "59c0725a.54805c", + "bfa95def.afc74" + ] + ] + }, + { + "id": "59c0725a.54805c", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1178.4047393798828, + "y": 807.3871536254883, + "z": "37882b3b.b21224", + "wires": [ + [ + "4d3a329b.f2f90c" + ] + ] + }, + { + "id": "bfa95def.afc74", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1179.8333358764648, + "y": 851.6727447509766, + "z": "37882b3b.b21224", + "wires": [ + [ + "f2189dfb.909da" + ] + ] + }, + { + "id": "f2189dfb.909da", + "type": "set", + "name": "set from input", + "xml": "\n", + "comments": "", + "x": 1334.1190719604492, + "y": 851.1013169288635, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "24e86468.e8cd5c", + "type": "set", + "name": "set from DB", + "xml": "\n", + "comments": "", + "x": 1326.0238761901855, + "y": 896.2769241333008, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "2ef35e2.ce87ea2", + "type": "switchNode", + "name": "switch input model-version", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 949.5476379394531, + "y": 919.1013689041138, + "z": "37882b3b.b21224", + "wires": [ + [ + "9b0d0090.c86a6", + "43470848.9d99c8" + ] + ] + }, + { + "id": "9b0d0090.c86a6", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1175.547622680664, + "y": 896.2443313598633, + "z": "37882b3b.b21224", + "wires": [ + [ + "24e86468.e8cd5c" + ] + ] + }, + { + "id": "43470848.9d99c8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1176.976219177246, + "y": 940.5299224853516, + "z": "37882b3b.b21224", + "wires": [ + [ + "1db4f705.93ccc9" + ] + ] + }, + { + "id": "1db4f705.93ccc9", + "type": "set", + "name": "set from input", + "xml": "\n\n", + "comments": "", + "x": 1331.2619552612305, + "y": 939.9584946632385, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "1dc78c79.a450c4", + "type": "set", + "name": "set from DB", + "xml": "\n\n", + "comments": "", + "x": 1326.0238761901855, + "y": 983.4197463989258, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "25981633.c7dc4a", + "type": "switchNode", + "name": "switch input model-name", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 944.5476379394531, + "y": 1006.2441911697388, + "z": "37882b3b.b21224", + "wires": [ + [ + "443be686.54dde8", + "f6a73c6d.1c44a" + ] + ] + }, + { + "id": "443be686.54dde8", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1175.547622680664, + "y": 983.3871536254883, + "z": "37882b3b.b21224", + "wires": [ + [ + "1dc78c79.a450c4" + ] + ] + }, + { + "id": "f6a73c6d.1c44a", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1176.976219177246, + "y": 1027.6727447509766, + "z": "37882b3b.b21224", + "wires": [ + [ + "963f984e.4e1598" + ] + ] + }, + { + "id": "963f984e.4e1598", + "type": "set", + "name": "set from input", + "xml": "\n\n", + "comments": "", + "x": 1331.2619552612305, + "y": 1027.1013169288635, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "152546f0.c6dac9", + "type": "set", + "name": "set pnf-id", + "xml": "\n\n", + "comments": "", + "x": 894.9047088623047, + "y": 658.0388488769531, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "6f7c97df.b99708", + "type": "set", + "name": "set model-customization-uuid", + "xml": "\n\n", + "comments": "", + "x": 957.3332252502441, + "y": 1079.0863952636719, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "b26b3f10.8cd93", + "type": "switchNode", + "name": "switch service-data.pnfs.pnf_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 441.58329010009766, + "y": 292.4285001754761, + "z": "37882b3b.b21224", + "wires": [ + [ + "548784a8.6fc1bc", + "97bdaa3b.0e9cb8", + "f611eac6.477cc8" + ] + ] + }, + { + "id": "548784a8.6fc1bc", + "type": "other", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 683.7976760864258, + "y": 230.98793125152588, + "z": "37882b3b.b21224", + "wires": [ + [ + "d33ee57f.a3ecb8" + ] + ] + }, + { + "id": "1c98dcd.f3b3f23", + "type": "set", + "name": "set pnf-index=0", + "xml": "\n\n", + "comments": "", + "x": 1019.083381652832, + "y": 230.48800563812256, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "97bdaa3b.0e9cb8", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 684.976203918457, + "y": 352.607120513916, + "z": "37882b3b.b21224", + "wires": [ + [ + "231e0e98.80a622" + ] + ] + }, + { + "id": "6ac25c2c.af1c14", + "type": "switchNode", + "name": "switch resource-resolution-data.status", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 843.3693580627441, + "y": 2105.3293199539185, + "z": "37882b3b.b21224", + "wires": [ + [ + "3502dbdf.32a874", + "cc3acc09.1c768" + ] + ] + }, + { + "id": "3502dbdf.32a874", + "type": "other", + "name": "PENDING", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1112.7265739440918, + "y": 2105.3292760849, + "z": "37882b3b.b21224", + "wires": [ + [ + "829e3fb9.d93a7" + ] + ] + }, + { + "id": "cc3acc09.1c768", + "type": "other", + "name": "FAILED", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1106.2623901367188, + "y": 2156.2936067581177, + "z": "37882b3b.b21224", + "wires": [ + [ + "829e3fb9.d93a7" + ] + ] + }, + { + "id": "829e3fb9.d93a7", + "type": "call", + "name": "call ss.capability-dg", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1321.3811225891113, + "y": 2157.0554580688477, + "z": "37882b3b.b21224", + "wires": [ + [ + "3962ddfe.4c5df2", + "3e772b22.e1c734" + ] + ] + }, + { + "id": "bdafebf6.f2fbb8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1888.9286193847656, + "y": 2413.532018661499, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "3962ddfe.4c5df2", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1506.2736320495605, + "y": 2157.055519104004, + "z": "37882b3b.b21224", + "wires": [ + [ + "c929724.d0d769" + ] + ] + }, + { + "id": "c929724.d0d769", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1669.5477485656738, + "y": 2156.3650598526, + "z": "37882b3b.b21224", + "wires": [ + [ + "bdafebf6.f2fbb8", + "b6818d14.aad68", + "ae39be90.d76b7", + "60ef7bf2.fa7a14", + "e7c0edc.af4641" + ] + ] + }, + { + "id": "ae39be90.d76b7", + "type": "execute", + "name": "generate ss-pnf url replace service-instance-id", + "xml": "\n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 1992.8808403015137, + "y": 2209.88161945343, + "z": "37882b3b.b21224", + "wires": [ + [] + ] + }, + { + "id": "e7c0edc.af4641", + "type": "execute", + "name": "execute RestApiCallNode - PUT pnf", + "xml": "\n \n \n \n \n \n \n \n\n", + "comments": "", + "outputs": 1, + "x": 1962.3451347351074, + "y": 2312.7388410568237, + "z": "37882b3b.b21224", + "wires": [ + [ + "2aae309b.44db4", + "6c63be99.6e9df" + ] + ] + }, + { + "id": "2aae309b.44db4", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2236.9388008117676, + "y": 2366.736994743347, + "z": "37882b3b.b21224", + "wires": [ + [ + "47b71a3e.97bf84" + ] + ] + }, + { + "id": "6c63be99.6e9df", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2229.3674354553223, + "y": 2313.237014770508, + "z": "37882b3b.b21224", + "wires": [ + [ + "47b71a3e.97bf84" + ] + ] + }, + { + "id": "b6818d14.aad68", + "type": "set", + "name": "set pf data for restapi-call-node", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1945.3331413269043, + "y": 2155.976131439209, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "60ef7bf2.fa7a14", + "type": "execute", + "name": "generate ss-pnf url - replace pnf-id", + "xml": "\n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 1957.16654586792, + "y": 2260.69038772583, + "z": "37882b3b.b21224", + "wires": [ + [] + ] + }, + { + "id": "97cbe59f.102fe8", + "type": "execute", + "name": "printContext", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 344.42456817626953, + "y": 2600.920820236206, + "z": "37882b3b.b21224", + "wires": [ + [] + ] + }, + { + "id": "b9417a96.c89598", + "type": "set", + "name": "set ss.capability-type = pnf", + "xml": "\n\n", + "comments": "", + "x": 409.89292907714844, + "y": 1375.5357942581177, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "ed282b71.ede0f8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 875.8927993774414, + "y": 1492.892912864685, + "z": "37882b3b.b21224", + "wires": [ + [ + "ca44a755.ad1c68", + "21ad94d1.be148c", + "31272402.ad905c" + ] + ] + }, + { + "id": "b109eefc.1d872", + "type": "for", + "name": "for each existing PNF", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1032.0357284545898, + "y": 352.78579807281494, + "z": "37882b3b.b21224", + "wires": [ + [ + "b986a80e.96c248" + ] + ] + }, + { + "id": "b986a80e.96c248", + "type": "switchNode", + "name": "switch pnf-id: input vs service-data", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1309.321434020996, + "y": 352.85728549957275, + "z": "37882b3b.b21224", + "wires": [ + [ + "cb09cf77.62df4" + ] + ] + }, + { + "id": "cb09cf77.62df4", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1532.1072006225586, + "y": 352.4287576675415, + "z": "37882b3b.b21224", + "wires": [ + [ + "747e7c3c.174b44" + ] + ] + }, + { + "id": "747e7c3c.174b44", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1664.5714530944824, + "y": 352.46431827545166, + "z": "37882b3b.b21224", + "wires": [ + [ + "2a95ccf.7794434", + "8c6ecdd5.9e28b", + "4b25e8bd.e53158" + ] + ] + }, + { + "id": "2a95ccf.7794434", + "type": "break", + "name": "break", + "xml": "\n", + "comments": "", + "x": 1832.464241027832, + "y": 438.4642963409424, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "923b1ffd.af18b", + "type": "set", + "name": "set new pnf_length = 1", + "xml": "\n\n", + "comments": "", + "x": 1042.642951965332, + "y": 275.82148838043213, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "8c6ecdd5.9e28b", + "type": "set", + "name": "set pnf-index = idx", + "xml": "\n\n", + "comments": "", + "x": 1863.0357971191406, + "y": 395.2499752044678, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "71acdeef.4b572", + "type": "set", + "name": "set is-new-pnf = true", + "xml": "\n\n", + "comments": "", + "x": 395.8929214477539, + "y": 212.32144355773926, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "4b25e8bd.e53158", + "type": "set", + "name": "set is-new-pnf = false", + "xml": "\n\n", + "comments": "", + "x": 1871.0714836120605, + "y": 351.9643201828003, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "231e0e98.80a622", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 822.2500228881836, + "y": 352.2500162124634, + "z": "37882b3b.b21224", + "wires": [ + [ + "b109eefc.1d872", + "12659093.1463bf" + ] + ] + }, + { + "id": "12659093.1463bf", + "type": "switchNode", + "name": "switch is-new-pnf", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1019.7500152587891, + "y": 438.8214178085327, + "z": "37882b3b.b21224", + "wires": [ + [ + "273b5e8f.735eb2" + ] + ] + }, + { + "id": "273b5e8f.735eb2", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1199.6071701049805, + "y": 438.39286518096924, + "z": "37882b3b.b21224", + "wires": [ + [ + "35d2b6f5.5b532a" + ] + ] + }, + { + "id": "d33ee57f.a3ecb8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 837.7499923706055, + "y": 230.99999713897705, + "z": "37882b3b.b21224", + "wires": [ + [ + "1c98dcd.f3b3f23", + "923b1ffd.af18b" + ] + ] + }, + { + "id": "f611eac6.477cc8", + "type": "other", + "name": "0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 682.2499923706055, + "y": 290.7499990463257, + "z": "37882b3b.b21224", + "wires": [ + [ + "d33ee57f.a3ecb8" + ] + ] + }, + { + "id": "2c0f97dd.67d808", + "type": "switchNode", + "name": "switch is-new-pnf", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 383.75000381469727, + "y": 606.2500057220459, + "z": "37882b3b.b21224", + "wires": [ + [ + "a0d4e067.649e6" + ] + ] + }, + { + "id": "a0d4e067.649e6", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 563.6071586608887, + "y": 605.8214530944824, + "z": "37882b3b.b21224", + "wires": [ + [ + "9217be7a.bbdb1" + ] + ] + }, + { + "id": "42f65de7.c91174", + "type": "set", + "name": "set new pnf_length++", + "xml": "\n\n", + "comments": "", + "x": 1547.5, + "y": 485, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "35d2b6f5.5b532a", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1345.4999771118164, + "y": 437.99996185302734, + "z": "37882b3b.b21224", + "wires": [ + [ + "42f65de7.c91174", + "5e6b2c5e.23b7b4" + ] + ] + }, + { + "id": "5e6b2c5e.23b7b4", + "type": "set", + "name": "set pnf-index = pnf_length", + "xml": "\n\n", + "comments": "", + "x": 1556.9999809265137, + "y": 437.49996185302734, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "47b71a3e.97bf84", + "type": "set", + "name": "set error-message", + "xml": "\n", + "comments": "", + "x": 2449.285758972168, + "y": 2312.107021331787, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "1d5ac87a.53fd58", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 577.5000228881836, + "y": 2105.142770767212, + "z": "37882b3b.b21224", + "wires": [ + [ + "6ac25c2c.af1c14", + "cb3f6813.5ca268" + ] + ] + }, + { + "id": "cb3f6813.5ca268", + "type": "break", + "name": "break", + "xml": "\n", + "comments": "", + "x": 741.7857627868652, + "y": 2481.4284267425537, + "z": "37882b3b.b21224", + "wires": [] + }, + { + "id": "3e772b22.e1c734", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1517.5000228881836, + "y": 2277.5000324249268, + "z": "37882b3b.b21224", + "wires": [ + [ + "7440700b.da7e" + ] + ] + }, + { + "id": "7440700b.da7e", + "type": "record", + "name": "record", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1661.2500228881836, + "y": 2276.2500324249268, + "z": "37882b3b.b21224", + "wires": [ + [] + ] + }, + { + "id": "31272402.ad905c", + "type": "record", + "name": "record", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1054.1071319580078, + "y": 1592.5000228881836, + "z": "37882b3b.b21224", + "wires": [ + [] + ] + }, + { + "id": "45a102ef.9c38fc", + "type": "execute", + "name": "execute PropertiesNode", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 817.5000381469727, + "y": 1432.4286422729492, + "z": "37882b3b.b21224", + "wires": [ + [] + ] + }, + { + "id": "192a8a0a.311bd6", + "type": "switchNode", + "name": "switch prop.controller.user", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 406.21427372523704, + "y": 1432.8572630201065, + "z": "37882b3b.b21224", + "wires": [ + [ + "98f24d4.445dfb" + ] + ] + }, + { + "id": "98f24d4.445dfb", + "type": "failure", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 606.0713691711426, + "y": 1432.428677558899, + "z": "37882b3b.b21224", + "wires": [ + [ + "45a102ef.9c38fc" + ] + ] + } +] \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.json new file mode 100644 index 00000000..616ca732 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.json @@ -0,0 +1,1074 @@ +[ + { + "id": "81013586.72b878", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 152.5, + "y": 73.75, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "16d29a69.fd75d6" + ] + ] + }, + { + "id": "16d29a69.fd75d6", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 428.5, + "y": 74.75, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "fb8a3acf.eacc88" + ] + ] + }, + { + "id": "fb8a3acf.eacc88", + "type": "method", + "name": "self-serve-pnf-ra-assignment", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 745.5, + "y": 74.75, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "11ad89b0.4aa4c6" + ] + ] + }, + { + "id": "11ad89b0.4aa4c6", + "type": "block", + "name": "block atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 241.66664123535156, + "y": 155.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "6a8abb82.762c24", + "d5ddf680.bc1228", + "d7d846c4.3b1898", + "62bc77a8.9608f8", + "ef795e5f.2b62e", + "cd9ccb1d.ad27d8", + "e4653dfe.029a3", + "ed802b4f.e3de88", + "4ae0bbb3.7d20c4", + "3049bbb0.b6b734", + "9eebb178.0f2de", + "507cc1d.a43bf4", + "22187a30.f13be6", + "c7fb6ab.3a33598", + "7905fcc3.ff7874" + ] + ] + }, + { + "id": "d5ddf680.bc1228", + "type": "set", + "name": "set", + "xml": "\n \n \n \n \n \n", + "comments": "", + "x": 427.4166603088379, + "y": 199.83333015441895, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "1893855c.d16e5b", + "type": "get-resource", + "name": "get-resource VF_MODEL", + "xml": "\n \n\n", + "comments": "", + "outputs": 1, + "x": 966.3094635009766, + "y": 591.3689861297607, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "a87dd4cc.178e18", + "ba66fea4.81fad", + "c6434f37.1962d" + ] + ] + }, + { + "id": "a87dd4cc.178e18", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1211.3095626831055, + "y": 540.654709815979, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "ab46b2b3.a771c" + ] + ] + }, + { + "id": "ab46b2b3.a771c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1384.3095626831055, + "y": 539.654709815979, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "879b8f8b.c19ed", + "type": "set", + "name": "set tmp.sdnc-model-name, tmp.sdnc-model-version, tmp.sdnc-artifact-name", + "xml": "\n\n\n\n\n\n\n\n", + "comments": "", + "x": 1586.7380638122559, + "y": 640.797513961792, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "c7b5dfc8.8b235", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "outputs": 1, + "x": 487.30946350097656, + "y": 592.3689861297607, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "e98bb0b9.b2422" + ] + ] + }, + { + "id": "ba66fea4.81fad", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1217.3095626831055, + "y": 589.654709815979, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "c7b5dfc8.8b235" + ] + ] + }, + { + "id": "e98bb0b9.b2422", + "type": "outcome", + "name": "true", + "xml": "", + "comments": "", + "outputs": 1, + "x": 736.3094635009766, + "y": 592.3689861297607, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "1893855c.d16e5b" + ] + ] + }, + { + "id": "62bc77a8.9608f8", + "type": "for", + "name": "for pnf-topology-operation-input", + "xml": "", + "comments": "", + "outputs": 1, + "x": 503.16664123535156, + "y": 392.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "72f58635.66b448" + ] + ] + }, + { + "id": "72f58635.66b448", + "type": "block", + "name": "block atomic", + "xml": "", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 725.1666412353516, + "y": 391.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "86d3f258.93e3b" + ] + ] + }, + { + "id": "d041de83.d9577", + "type": "set", + "name": "set tmp.sdnc-model-name", + "xml": "\n\n", + "comments": "", + "x": 1376.1666412353516, + "y": 324.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "2a96bf97.393f3", + "type": "outcome", + "name": "sdnc_model_name", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1122.1666412353516, + "y": 324.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "d041de83.d9577" + ] + ] + }, + { + "id": "86d3f258.93e3b", + "type": "switchNode", + "name": "switch", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 884.1666412353516, + "y": 391.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "2a96bf97.393f3", + "ff1ab59.1eb4148", + "733b67e2.c4f3c8", + "e6ecce71.c3cfb" + ] + ] + }, + { + "id": "ff1ab59.1eb4148", + "type": "outcome", + "name": "sdnc_model_version", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1125.1666412353516, + "y": 370.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "9cc66f84.f4ee2" + ] + ] + }, + { + "id": "733b67e2.c4f3c8", + "type": "outcome", + "name": "sdnc_artifact_name", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1124.1666412353516, + "y": 419.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "f2663e84.97046" + ] + ] + }, + { + "id": "9cc66f84.f4ee2", + "type": "set", + "name": "set tmp.sdnc-model-version", + "xml": "\n\n\n", + "comments": "", + "x": 1380.1666412353516, + "y": 370.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "f2663e84.97046", + "type": "set", + "name": "set tmp.sdnc-artifact-name", + "xml": "\n\n\n", + "comments": "", + "x": 1376.1666412353516, + "y": 419.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "ab5de2cd.b8552", + "type": "set", + "name": "set name-value other JsonString", + "xml": "\n\n\n", + "comments": "", + "x": 1293.416648864746, + "y": 470.58335041999817, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "e6ecce71.c3cfb", + "type": "outcome", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1084.166648864746, + "y": 468.6547546386719, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "ab5de2cd.b8552" + ] + ] + }, + { + "id": "cd9ccb1d.ad27d8", + "type": "set", + "name": "set configAssignment JsonString", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 497.16664123535156, + "y": 711.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "e4653dfe.029a3", + "type": "execute", + "name": "execute BlueprintProcessingClient", + "xml": "\n \n \n \n \n \n \n \n ", + "comments": "", + "outputs": 1, + "x": 504.83331298828125, + "y": 865.75, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "e9f0b05a.ea9a7", + "9906e0de.d8aa9" + ] + ] + }, + { + "id": "e9f0b05a.ea9a7", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 744.8333129882812, + "y": 839.75, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "f76d9cc.08daa6" + ] + ] + }, + { + "id": "f76d9cc.08daa6", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 926.8333129882812, + "y": 860.75, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "4ae0bbb3.7d20c4", + "type": "for", + "name": "for resource-accumulator-resolved-data loop", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 529.1666412353516, + "y": 1083.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "f7dcae4c.80d6" + ] + ] + }, + { + "id": "a560f52e.73b478", + "type": "set", + "name": "set from resource-accumulator-resolved-data", + "xml": "\n\t\n\t\n\t\n\t\n", + "comments": "", + "x": 1759.1666412353516, + "y": 1135.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "3049bbb0.b6b734", + "type": "for", + "name": "for capability-data", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 454.16664123535156, + "y": 1425.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "c321b6db.f91618" + ] + ] + }, + { + "id": "c321b6db.f91618", + "type": "for", + "name": "for key-mapping", + "xml": "", + "comments": "", + "outputs": 1, + "x": 663.1666412353516, + "y": 1425.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "4bdfbe92.58a07" + ] + ] + }, + { + "id": "ed802b4f.e3de88", + "type": "execute", + "name": "execute jsonStringToCtx", + "xml": "\n\t\n\t\n\t\n\n", + "comments": "", + "outputs": 1, + "x": 473.16664123535156, + "y": 1004.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [] + ] + }, + { + "id": "6a8abb82.762c24", + "type": "execute", + "name": "execute generateUUID", + "xml": " \n \n ", + "comments": "", + "outputs": 1, + "x": 479.16664123535156, + "y": 155.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "da110978.037e18" + ] + ] + }, + { + "id": "da110978.037e18", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 657.1666412353516, + "y": 153.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "25f8a570.76c1ea" + ] + ] + }, + { + "id": "25f8a570.76c1ea", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 804.1666412353516, + "y": 154.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "b8f9dea4.7ec9d", + "type": "for", + "name": "for pnf-parameters-data.param[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1502.1666412353516, + "y": 1084.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "9d5dafdb.8e745" + ] + ] + }, + { + "id": "f7dcae4c.80d6", + "type": "block", + "name": "block atomic", + "xml": "", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 808.1666412353516, + "y": 1084.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "4b875a14.db0584", + "a6645a90.aff8b8", + "ac27262.137afd8" + ] + ] + }, + { + "id": "d7d846c4.3b1898", + "type": "switchNode", + "name": "switch pnf-parameters-data.param_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 531.1666412353516, + "y": 253.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "270f1448.0f808c", + "df2ab314.6f53a" + ] + ] + }, + { + "id": "270f1448.0f808c", + "type": "outcome", + "name": "null", + "xml": "", + "comments": "", + "outputs": 1, + "x": 769.1666412353516, + "y": 221.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "bc1bcfe4.47473" + ] + ] + }, + { + "id": "df2ab314.6f53a", + "type": "other", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 768.1666412353516, + "y": 285.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "6ae0c2e2.e112ec" + ] + ] + }, + { + "id": "bc1bcfe4.47473", + "type": "set", + "name": "set pre service param len as 0", + "xml": "\n \n \n", + "comments": "", + "x": 982.1666412353516, + "y": 221.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "6ae0c2e2.e112ec", + "type": "set", + "name": "set pre service param len", + "xml": "\n \n ", + "comments": "", + "x": 967.1666412353516, + "y": 285.0833339691162, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "9d5dafdb.8e745", + "type": "switchNode", + "name": "switch param[].name - input vs. jsonContextPrefix", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1881.1666412353516, + "y": 1084.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "d54adb3d.c51348" + ] + ] + }, + { + "id": "d54adb3d.c51348", + "type": "not-found", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2165.1666412353516, + "y": 1084.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "bf4269c.812a398" + ] + ] + }, + { + "id": "bf4269c.812a398", + "type": "set", + "name": "set for existing param name", + "xml": "\n\n\n", + "comments": "", + "x": 2375.1666412353516, + "y": 1084.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "ac27262.137afd8", + "type": "switchNode", + "name": "switch tmp.mso.param.found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1050.1666412353516, + "y": 1136.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "80869ef9.b42b6" + ] + ] + }, + { + "id": "80869ef9.b42b6", + "type": "not-found", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1284.1666412353516, + "y": 1135.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "aa6d15b3.b54808" + ] + ] + }, + { + "id": "4b875a14.db0584", + "type": "set", + "name": "set for existing param name", + "xml": "\n\n", + "comments": "", + "x": 1031.6666412353516, + "y": 1022.5833282470703, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "a6645a90.aff8b8", + "type": "switchNode", + "name": "switch check length > 0", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1026.6666412353516, + "y": 1084.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "3e9847d7.a9a428" + ] + ] + }, + { + "id": "3e9847d7.a9a428", + "type": "not-found", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1273.6666412353516, + "y": 1084.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "b8f9dea4.7ec9d" + ] + ] + }, + { + "id": "b72432c2.1cb81", + "type": "for", + "name": "for payload", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1845.1666412353516, + "y": 1443.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "8a6d87a5.167378" + ] + ] + }, + { + "id": "993132bf.1fc03", + "type": "set", + "name": "set resource-key", + "xml": "\n\n\n\n", + "comments": "", + "x": 2194.1666412353516, + "y": 1379.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "92dd255a.846018", + "type": "set", + "name": "set output-data ", + "xml": "\n\n\n\n\n", + "comments": "", + "x": 1418.1666412353516, + "y": 1323.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "4bdfbe92.58a07", + "type": "for", + "name": "for output-key-mapping", + "xml": "", + "comments": "", + "outputs": 1, + "x": 886.1666412353516, + "y": 1425.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "c7cc9512.4faa18" + ] + ] + }, + { + "id": "c7cc9512.4faa18", + "type": "block", + "name": "block atomic", + "xml": "", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1137.1666412353516, + "y": 1425.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "92dd255a.846018", + "17ff9631.56b25a", + "72c5b1f7.aa391", + "69144068.7c5f8" + ] + ] + }, + { + "id": "17ff9631.56b25a", + "type": "set", + "name": "set length", + "xml": "\n\t\n", + "comments": "", + "x": 1406.1666412353516, + "y": 1461.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "9906e0de.d8aa9", + "type": "failure", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 749.8333129882812, + "y": 901.75, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "f76d9cc.08daa6" + ] + ] + }, + { + "id": "72c5b1f7.aa391", + "type": "switchNode", + "name": "switch payload_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1442.1666412353516, + "y": 1394.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "4ffaaf1f.506fd", + "797447ba.d290d8" + ] + ] + }, + { + "id": "4ffaaf1f.506fd", + "type": "outcome", + "name": "true", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1663.1666412353516, + "y": 1325.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [] + ] + }, + { + "id": "797447ba.d290d8", + "type": "other", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1670.1666412353516, + "y": 1443.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "b72432c2.1cb81" + ] + ] + }, + { + "id": "c6434f37.1962d", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1213.4523658752441, + "y": 640.6546821594238, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "879b8f8b.c19ed" + ] + ] + }, + { + "id": "831efa97.1c0588", + "type": "set", + "name": "set length", + "xml": "\n\t\n", + "comments": "", + "x": 2183.1666412353516, + "y": 1443.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "da21f5c1.b6dc88", + "type": "set", + "name": "increment length", + "xml": "\n\t\n", + "comments": "", + "x": 2201.1666412353516, + "y": 1517.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "69144068.7c5f8", + "type": "set", + "name": "increment length", + "xml": "\n\t\n\n", + "comments": "", + "x": 1427.1666412353516, + "y": 1528.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "aa6d15b3.b54808", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1461.1666412353516, + "y": 1134.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "a560f52e.73b478", + "2dccbddc.c39b12" + ] + ] + }, + { + "id": "2dccbddc.c39b12", + "type": "set", + "name": "increment length", + "xml": "\n\t\n", + "comments": "", + "x": 1676.1666412353516, + "y": 1194.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "8a6d87a5.167378", + "type": "block", + "name": "block atomic", + "xml": "", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2001.1666412353516, + "y": 1444.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [ + "993132bf.1fc03", + "831efa97.1c0588", + "da21f5c1.b6dc88" + ] + ] + }, + { + "id": "9eebb178.0f2de", + "type": "record", + "name": "record", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 427.4999809265137, + "y": 787.083324432373, + "z": "2b4129e2.7e3f56", + "wires": [ + [] + ] + }, + { + "id": "507cc1d.a43bf4", + "type": "record", + "name": "record", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 424.1666488647461, + "y": 942.0833320617676, + "z": "2b4129e2.7e3f56", + "wires": [ + [] + ] + }, + { + "id": "c7fb6ab.3a33598", + "type": "execute", + "name": "printContext", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 432.50000762939453, + "y": 1746.2500267028809, + "z": "2b4129e2.7e3f56", + "wires": [ + [] + ] + }, + { + "id": "22187a30.f13be6", + "type": "set", + "name": "set pathname", + "xml": "\n\n", + "comments": "", + "x": 438.75000762939453, + "y": 1693.7500247955322, + "z": "2b4129e2.7e3f56", + "wires": [] + }, + { + "id": "7905fcc3.ff7874", + "type": "record", + "name": "record", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 416.25000381469727, + "y": 1647.5000247955322, + "z": "2b4129e2.7e3f56", + "wires": [ + [] + ] + } +] \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-pnf-input.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-pnf-input.json new file mode 100644 index 00000000..13054675 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_validate-pnf-input.json @@ -0,0 +1,573 @@ +[ + { + "id": "94367b34.4993c8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 244.44442749023438, + "y": 363.3055624961853, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "e96f0aba.6a2158", + "145655c7.5c421a", + "740fde80.5f9e8", + "a75da30.d5ab06", + "6154264e.c73678", + "4710ed3d.659744" + ] + ] + }, + { + "id": "e96f0aba.6a2158", + "type": "switchNode", + "name": "switch svc-request-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 502.20633697509766, + "y": 321.13589811325073, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "b12a28ac.b7b9b8" + ] + ] + }, + { + "id": "b12a28ac.b7b9b8", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 727.9206314086914, + "y": 321.135901927948, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "8cc94a69.eb44f8" + ] + ] + }, + { + "id": "8cc94a69.eb44f8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 879.3491973876953, + "y": 321.13590002059937, + "z": "8b598434.ddbeb8", + "wires": [] + }, + { + "id": "145655c7.5c421a", + "type": "switchNode", + "name": "switch svc-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 490.7777001517161, + "y": 279.7073296819415, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "35e01edd.5783a2" + ] + ] + }, + { + "id": "35e01edd.5783a2", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 726.4920518057688, + "y": 278.27872746331354, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "6beabba6.32f4f4" + ] + ] + }, + { + "id": "6beabba6.32f4f4", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 876.492025102888, + "y": 278.2787370000567, + "z": "8b598434.ddbeb8", + "wires": [] + }, + { + "id": "740fde80.5f9e8", + "type": "switchNode", + "name": "switch request-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 500.7777535574778, + "y": 363.9930447850909, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "ef526c4a.39c59" + ] + ] + }, + { + "id": "ef526c4a.39c59", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 727.9206270490376, + "y": 363.99305568422596, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "c2c067b2.6d5ab8" + ] + ] + }, + { + "id": "c2c067b2.6d5ab8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 879.3491930280416, + "y": 363.99305377687733, + "z": "8b598434.ddbeb8", + "wires": [] + }, + { + "id": "79e4afb1.99cc8", + "type": "switchNode", + "name": "switch model-customization-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1119.242275238037, + "y": 511.4218182563782, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "e37ed67.814bf28" + ] + ] + }, + { + "id": "e37ed67.814bf28", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1324.242275238037, + "y": 511.4218010902405, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "d757cb77.2c7958" + ] + ] + }, + { + "id": "d757cb77.2c7958", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1475.670841217041, + "y": 511.42179918289185, + "z": "8b598434.ddbeb8", + "wires": [] + }, + { + "id": "a14b5bac.e97828", + "type": "switchNode", + "name": "switch tenant", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1065.0993537902832, + "y": 552.8503289222717, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "9f4a40d4.27fdf" + ] + ] + }, + { + "id": "9f4a40d4.27fdf", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1322.8136711120605, + "y": 552.8503632545471, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "21e1ea3d.d3d876" + ] + ] + }, + { + "id": "21e1ea3d.d3d876", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1474.2422370910645, + "y": 552.8503613471985, + "z": "8b598434.ddbeb8", + "wires": [] + }, + { + "id": "c290417a.999bd", + "type": "comment", + "name": "Validation of required fields", + "info": "", + "comments": "", + "x": 650.7777099609375, + "y": 235.42161226272583, + "z": "8b598434.ddbeb8", + "wires": [] + }, + { + "id": "a75da30.d5ab06", + "type": "switchNode", + "name": "switch svc-action", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 484.7658462524414, + "y": 553.1003041267395, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "ade91738.c2dee8" + ] + ] + }, + { + "id": "ade91738.c2dee8", + "type": "outcome", + "name": "assign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 661.8491668701172, + "y": 552.6836438179016, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "9de99c30.2439d" + ] + ] + }, + { + "id": "9de99c30.2439d", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 858.5157775878906, + "y": 552.6836438179016, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "79e4afb1.99cc8", + "a14b5bac.e97828", + "5a47ef2e.17f48" + ] + ] + }, + { + "id": "621027e3.a05c68", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 163.19443729945579, + "y": 107.9692120552063, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "fd592892.32a8c8" + ] + ] + }, + { + "id": "fd592892.32a8c8", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 276.48014286586204, + "y": 148.20732355117798, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "80133c43.3b152" + ] + ] + }, + { + "id": "80133c43.3b152", + "type": "method", + "name": "method validate-pnf-input", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 211.87306431361594, + "y": 189.21920824050903, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "94367b34.4993c8" + ] + ] + }, + { + "id": "f8dbb90e.a422b8", + "type": "comment", + "name": "validate-pnf-input", + "info": "", + "comments": "", + "x": 557.5392935616628, + "y": 55.55555582046509, + "z": "8b598434.ddbeb8", + "wires": [] + }, + { + "id": "6154264e.c73678", + "type": "switchNode", + "name": "switch service-instance-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 513.8015845162527, + "y": 408.05557107925415, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "2ce54a7d.5835b6" + ] + ] + }, + { + "id": "2ce54a7d.5835b6", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 726.2301657540456, + "y": 408.0555672645569, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "53191b49.840e74" + ] + ] + }, + { + "id": "53191b49.840e74", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 877.6587317330495, + "y": 408.05556535720825, + "z": "8b598434.ddbeb8", + "wires": [] + }, + { + "id": "4710ed3d.659744", + "type": "switchNode", + "name": "switch pnf-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 471.3015937805176, + "y": 451.555561542511, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "a413f663.792248" + ] + ] + }, + { + "id": "a413f663.792248", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 726.5873031616211, + "y": 450.12699365615845, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "9bbe7c79.3b76c" + ] + ] + }, + { + "id": "9bbe7c79.3b76c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 878.015869140625, + "y": 450.1269917488098, + "z": "8b598434.ddbeb8", + "wires": [] + }, + { + "id": "5a47ef2e.17f48", + "type": "switchNode", + "name": "switch aic-cloud-region", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1094.444435119629, + "y": 595.1269860267639, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "38bfd2ff.c329ae" + ] + ] + }, + { + "id": "38bfd2ff.c329ae", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1321.1587524414062, + "y": 595.1270203590393, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "be8a7d3e.b1956" + ] + ] + }, + { + "id": "be8a7d3e.b1956", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1472.5873184204102, + "y": 595.1270184516907, + "z": "8b598434.ddbeb8", + "wires": [] + }, + { + "id": "cbe7b870.eb2778", + "type": "switchNode", + "name": "switch model-customization-id", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1089.9205780029297, + "y": 710.317467212677, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "a468752f.474808" + ] + ] + }, + { + "id": "a468752f.474808", + "type": "outcome", + "name": "NULL", + "xml": "", + "comments": "", + "outputs": 1, + "x": 1294.9205780029297, + "y": 710.3174500465393, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "b9bc06be.f3a6e8" + ] + ] + }, + { + "id": "b9bc06be.f3a6e8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1446.3491439819336, + "y": 710.3174481391907, + "z": "8b598434.ddbeb8", + "wires": [] + }, + { + "id": "23854a15.854736", + "type": "outcome", + "name": "changeassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 679.8607978820801, + "y": 710.2460265159607, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "9784e04d.64388" + ] + ] + }, + { + "id": "9784e04d.64388", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 859.8607864379883, + "y": 710.2459931373596, + "z": "8b598434.ddbeb8", + "wires": [ + [ + "cbe7b870.eb2778" + ] + ] + }, + { + "id": "cc3011b2.e59d9", + "type": "comment", + "name": "model-customization-uuid validation moved to changeassign DG", + "info": "", + "comments": "", + "x": 739.4444274902344, + "y": 675.5555663108826, + "z": "8b598434.ddbeb8", + "wires": [] + } +] \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_pnf-topology-operation-assign.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_pnf-topology-operation-assign.xml new file mode 100644 index 00000000..f25087e9 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_pnf-topology-operation-assign.xml @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_pnf-topology-operation.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_pnf-topology-operation.xml new file mode 100644 index 00000000..8ab8729f --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_pnf-topology-operation.xml @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-pnf-assign.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-pnf-assign.xml new file mode 100644 index 00000000..55d851c9 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-pnf-assign.xml @@ -0,0 +1,400 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.xml new file mode 100644 index 00000000..707de84b --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_self-serve-pnf-ra-assignment.xml @@ -0,0 +1,234 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-pnf-input.xml b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-pnf-input.xml new file mode 100644 index 00000000..3c1ae0dd --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/xml/GENERIC-RESOURCE-API_validate-pnf-input.xml @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/platform-logic/restapi-templates/src/main/json/self-serve-pnf-assignments.json b/platform-logic/restapi-templates/src/main/json/self-serve-pnf-assignments.json new file mode 100644 index 00000000..4e15e910 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/self-serve-pnf-assignments.json @@ -0,0 +1,112 @@ +{ + "pnf": [{ + "pnf-id": ${pf.pnf-id}, + "pnf-data": { + "sdnc-request-header": { + "svc-request-id": ${pf.pnf-data.sdnc-request-header.svc-request-id}, + "svc-action": ${pf.pnf-data.sdnc-request-header.svc-action}, + "svc-notification-url": ${pf.pnf-data.sdnc-request-header.svc-notification-url} + }, + "request-information": { + "request-id": ${pf.pnf-data.request-information.request-id}, + "request-action": ${pf.pnf-data.request-information.request-action}, + "source": ${pf.pnf-data.request-information.source}, + "notification-url": ${pf.pnf-data.request-information.notification-url}, + "order-number": ${pf.pnf-data.request-information.order-number}, + "order-version": ${pf.pnf-data.request-information.order-version} + }, + "service-information": { + "service-id": ${pf.pnf-data.service-information.service-id}, + "subscription-service-type": ${pf.pnf-data.service-information.subscription-service-type}, + "onap-model-information": { + "model-invariant-uuid": ${pf.pnf-data.service-information.onap-model-information.model-invariant-uuid}, + "model-customization-uuid": ${pf.pnf-data.service-information.onap-model-information.model-customization-uuid}, + "model-uuid": ${pf.pnf-data.service-information.onap-model-information.model-uuid}, + "model-version": ${pf.pnf-data.service-information.onap-model-information.model-version}, + "model-name": ${pf.pnf-data.service-information.onap-model-information.model-name} + }, + "service-instance-id": ${pf.pnf-data.service-information.service-instance-id}, + "global-customer-id": ${pf.pnf-data.service-information.global-customer-id}, + "subscriber-name": ${pf.pnf-data.service-information.subscriber-name} + }, + "pnf-details": { + "pnf-id": ${pf.pnf-data.pnf-details.pnf-id}, + "pnf-type": ${pf.pnf-data.pnf-details.pnf-type}, + "pnf-name": ${pf.pnf-data.pnf-details.pnf-name}, + "onap-model-information": { + "model-invariant-uuid": ${pf.pnf-data.pnf-details.onap-model-information.model-invariant-uuid}, + "model-customization-uuid": ${pf.pnf-data.pnf-details.onap-model-information.model-customization-uuid}, + "model-uuid": ${pf.pnf-data.pnf-details.onap-model-information.model-uuid}, + "model-version": ${pf.pnf-data.pnf-details.onap-model-information.model-version}, + "model-name": ${pf.pnf-data.pnf-details.onap-model-information.model-name} + } + }, + "pnf-request-input": { + "request-version": ${pf.pnf-data.pnf-request-input.request-version}, + "pnf-name": ${pf.pnf-data.pnf-request-input.pnf-name}, + "tenant": ${pf.pnf-data.pnf-request-input.tenant}, + "aic-cloud-region": ${pf.pnf-data.pnf-request-input.aic-cloud-region}, + "aic-clli": ${pf.pnf-data.pnf-request-input.aic-clli}, + "pnf-input-parameters": { + "param": [ + ${repeat:pf.pnf-data.pnf-request-input.pnf-input-parameters.param_length: + { + "name": ${pf.pnf-data.pnf-request-input.pnf-input-parameters.param[${1}].name}, + "value": ${pf.pnf-data.pnf-request-input.pnf-input-parameters.param[${1}].value} + }, + } + ] + } + }, + "pnf-topology": { + "pnf-topology-identifier-structure": { + "pnf-id": ${pf.pnf-data.pnf-topology.pnf-topology-identifier-structure.pnf-id}, + "pnf-name": ${pf.pnf-data.pnf-topology.pnf-topology-identifier-structure.pnf-name}, + "pnf-type": ${pf.pnf-data.pnf-topology.pnf-topology-identifier-structure.pnf-type} + }, + "onap-model-information": { + "model-invariant-uuid": ${pf.pnf-data.pnf-topology.onap-model-information.model-invariant-uuid}, + "model-customization-uuid": ${pf.pnf-data.pnf-topology.onap-model-information.model-customization-uuid}, + "model-uuid": ${pf.pnf-data.pnf-topology.onap-model-information.model-uuid}, + "model-version": ${pf.pnf-data.pnf-topology.onap-model-information.model-version}, + "model-name": ${pf.pnf-data.pnf-topology.onap-model-information.model-name} + }, + "pnf-parameters-data": { + "param": [ + ${repeat:pf.pnf-data.pnf-topology.pnf-parameters-data.param_length: + { + "name": ${pf.pnf-data.pnf-topology.pnf-parameters-data.param[${1}].name}, + "value": ${pf.pnf-data.pnf-topology.pnf-parameters-data.param[${1}].value}, + "resource-resolution-data": { + "resource-key": [ + ${repeat:pf.pnf-data.pnf-topology.pnf-parameters-data.param[${1}].resource-resolution-data.resource-key_length: + { + "name": ${pf.pnf-data.pnf-topology.pnf-parameters-data.param[${1}].resource-resolution-data.resource-key[${2}].name}, + "value": ${pf.pnf-data.pnf-topology.pnf-parameters-data.param[${1}].resource-resolution-data.resource-key[${2}].value} + }, + } + ], + "status": ${pf.pnf-data.pnf-topology.pnf-parameters-data.param[${1}].resource-resolution-data.status}, + "capability-name": ${pf.pnf-data.pnf-topology.pnf-parameters-data.param[${1}].resource-resolution-data.capability-name} + }, + }, + } + ] + }, + "tenant": ${pf.pnf-data.pnf-topology.tenant}, + "aic-cloud-region": ${pf.pnf-data.pnf-topology.aic-cloud-region}, + "aic-clli": ${pf.pnf-data.pnf-topology.aic-clli} + "sdnc-generated-cloud-resources": ${pf.pnf-data.pnf-topology.sdnc-generated-cloud-resources} + }, + "pnf-level-oper-status": { + "order-status": ${pf.pnf-data.pnf-level-oper-status.order-status}, + "last-rpc-action": ${pf.pnf-data.pnf-level-oper-status.last-rpc-action}, + "last-action": ${pf.pnf-data.pnf-level-oper-status.last-action}, + "last-svc-request-id": ${pf.pnf-data.pnf-level-oper-status.last-svc-request-id}, + "last-order-status": ${pf.pnf-data.pnf-level-oper-status.last-order-status}, + "create-timestamp": ${pf.pnf-data.pnf-level-oper-status.create-timestamp}, + "modify-timestamp": ${pf.pnf-data.pnf-level-oper-status.modify-timestamp} + } + } + }] +} -- cgit 1.2.3-korg