[ { "id": "e733d3b3.88487", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 156.42857360839844, "y": 56.28571701049805, "z": "3fe07db1.f5a992", "wires": [ [ "5099214f.ff319" ] ] }, { "id": "5099214f.ff319", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' 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}'>", "outputs": 1, "x": 293.74993896484375, "y": 101.71427631378174, "z": "3fe07db1.f5a992", "wires": [ [ "9032d171.479ce" ] ] }, { "id": "9032d171.479ce", "type": "method", "name": "self-serve-generate-name", "xml": "<method rpc='self-serve-generate-name' mode='sync'>\n", "comments": "", "outputs": 1, "x": 284.2856903076172, "y": 148.50000190734863, "z": "3fe07db1.f5a992", "wires": [ [ "f89a758d.f2d688" ] ] }, { "id": "f89a758d.f2d688", "type": "block", "name": "block atomic", "xml": "<block atomic=\"true\">\n", "atomic": "false", "comments": "", "outputs": 1, "x": 324.71427154541016, "y": 204.3214168548584, "z": "3fe07db1.f5a992", "wires": [ [ "7a192e4.9f28dd", "62de1a2e.d966a4", "ac6c94b3.d6b0d8", "c8dd1dbe.9238c" ] ] }, { "id": "7a192e4.9f28dd", "type": "call", "name": "call capability-param-resolution", "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-capability-param-resolution' mode='sync' >\n", "comments": "", "outputs": 1, "x": 612.1785354614258, "y": 328.28571128845215, "z": "3fe07db1.f5a992", "wires": [ [] ] }, { "id": "62de1a2e.d966a4", "type": "switchNode", "name": "switch capability-type", "xml": "<switch test=\"`$ss.capability-type`\">\n", "comments": "", "outputs": 1, "x": 576.571418762207, "y": 456.21424102783203, "z": "3fe07db1.f5a992", "wires": [ [ "77ff4341.7d270c", "efdb53b3.8a016", "c9749fd.9fd3e6" ] ] }, { "id": "77ff4341.7d270c", "type": "not-found", "name": "vnf", "xml": "<outcome value='vnf'>\n", "comments": "", "outputs": 1, "x": 792.8570251464844, "y": 386.9285945892334, "z": "3fe07db1.f5a992", "wires": [ [ "929d479d.ee2d38" ] ] }, { "id": "52d699f7.aeb4b8", "type": "comment", "name": "For Generate Name DG Capability ", "info": "Support Bulk assign and single delete\nAlso calls Naming gen mS for assign/un-assign\n\nAdded by Ajay Singh(as396y)", "comments": "", "x": 842.2500152587891, "y": 47.82143592834473, "z": "3fe07db1.f5a992", "wires": [] }, { "id": "cb16a161.c8808", "type": "execute", "name": "execute PropertiesNode", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", "comments": "", "outputs": 1, "x": 1002.8571145193919, "y": 258.5714135851181, "z": "3fe07db1.f5a992", "wires": [ [] ] }, { "id": "ac6c94b3.d6b0d8", "type": "switchNode", "name": "switch prop.controller.user", "xml": "<switch test='`$prop.controller.user`'>\n", "comments": "", "outputs": 1, "x": 591.5713500976562, "y": 259.0000343322754, "z": "3fe07db1.f5a992", "wires": [ [ "6148eeff.8135c" ] ] }, { "id": "6148eeff.8135c", "type": "failure", "name": "NULL", "xml": "<outcome value=''>\n", "comments": "", "outputs": 1, "x": 791.4284455435618, "y": 258.5714488710678, "z": "3fe07db1.f5a992", "wires": [ [ "cb16a161.c8808" ] ] }, { "id": "929d479d.ee2d38", "type": "call", "name": "call self-serve-vnf-generate-name", "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vnf-generate-name' mode='sync' >\n", "comments": "", "outputs": 1, "x": 1026.4285125732422, "y": 388.214319229126, "z": "3fe07db1.f5a992", "wires": [ [] ] }, { "id": "efdb53b3.8a016", "type": "not-found", "name": "vf-module", "xml": "<outcome value='vf-module'>\n", "comments": "", "outputs": 1, "x": 805.0000076293945, "y": 456.7857322692871, "z": "3fe07db1.f5a992", "wires": [ [ "fa5e8ac7.51e088" ] ] }, { "id": "fa5e8ac7.51e088", "type": "call", "name": "call self-serve-vf-module-generate-name", "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-vf-module-generate-name' mode='sync' >\n", "comments": "", "outputs": 1, "x": 1069.8215026855469, "y": 455.5714797973633, "z": "3fe07db1.f5a992", "wires": [ [] ] }, { "id": "c9749fd.9fd3e6", "type": "not-found", "name": "pnf", "xml": "<outcome value='pnf'>\n", "comments": "", "outputs": 1, "x": 792.1428756713867, "y": 524.5000152587891, "z": "3fe07db1.f5a992", "wires": [ [ "4a09f790.f1dc68" ] ] }, { "id": "4a09f790.f1dc68", "type": "call", "name": "call self-serve-pnf-generate-name", "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-pnf-generate-name' mode='sync' >\n", "comments": "", "outputs": 1, "x": 1025.7143630981445, "y": 523.7857398986816, "z": "3fe07db1.f5a992", "wires": [ [] ] }, { "id": "c8dd1dbe.9238c", "type": "execute", "name": "printContext", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='`$pathname`' />\n", "comments": "", "outputs": 1, "x": 537.5000152587891, "y": 694.6428542137146, "z": "3fe07db1.f5a992", "wires": [ [] ] } ]