[ { "id": "a6385a9d.53bbd8", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 210, "y": 41.42857360839844, "z": "50509cff.314024", "wires": [ [ "68771f71.1c988" ] ] }, { "id": "c2830c02.352ca", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 253.72620391845703, "y": 160.20636367797852, "z": "50509cff.314024", "wires": [ [ "7a7eb5ea.d9c27c", "cadde72f.768658", "61da759.184e28c", "8603e753.202d08", "ee44abff.0a52c8" ] ] }, { "id": "df83a576.0a03c8", "type": "method", "name": "method self-serve-vnf-unassign", "xml": "\n", "comments": "", "outputs": 1, "x": 326.7619094848633, "y": 96.1349287033081, "z": "50509cff.314024", "wires": [ [ "c2830c02.352ca" ] ] }, { "id": "68771f71.1c988", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 485.23819732666016, "y": 41.61906623840332, "z": "50509cff.314024", "wires": [ [ "df83a576.0a03c8" ] ] }, { "id": "d04042ce.4a948", "type": "for", "name": "foreach vnf-parameters-data.param[]", "xml": "\n", "comments": "", "outputs": 1, "x": 842.4645538330078, "y": 386.1309928894043, "z": "50509cff.314024", "wires": [ [ "bcabf14.e18d21", "5506226b.04018c" ] ] }, { "id": "20db9a83.47e506", "type": "switchNode", "name": "switch resource-resolution-data.status", "xml": "\n", "comments": "", "outputs": 1, "x": 579.1789703369141, "y": 782.9287061691284, "z": "50509cff.314024", "wires": [ [ "af96cd32.20d99", "8025d892.0ac388", "acbf2cb7.1041" ] ] }, { "id": "af96cd32.20d99", "type": "other", "name": "SUCCESS", "xml": "\n", "comments": "", "outputs": 1, "x": 854.5719718933105, "y": 783.6429615020752, "z": "50509cff.314024", "wires": [ [ "cd65f121.8b137" ] ] }, { "id": "7a7eb5ea.d9c27c", "type": "for", "name": "foreach capability-order[]", "xml": "\n", "comments": "", "outputs": 1, "x": 508.0357894897461, "y": 241.32139778137207, "z": "50509cff.314024", "wires": [ [ "697d23ef.8a2fbc", "5b9beee2.2b424", "d04042ce.4a948", "9b2708ec.431508" ] ] }, { "id": "bcabf14.e18d21", "type": "switchNode", "name": "switch param capability-name == execution", "xml": "\n", "comments": "", "outputs": 1, "x": 1198.3574676513672, "y": 429.85712242126465, "z": "50509cff.314024", "wires": [ [ "4c332048.14e83" ] ] }, { "id": "4c332048.14e83", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1461.8574676513672, "y": 430.10712242126465, "z": "50509cff.314024", "wires": [ [ "20db9a83.47e506" ] ] }, { "id": "cd65f121.8b137", "type": "call", "name": "call ss.capability-dg", "xml": "\n", "comments": "", "outputs": 1, "x": 1059.6907043457031, "y": 783.4048128128052, "z": "50509cff.314024", "wires": [ [ "7c9a62de.b663cc" ] ] }, { "id": "697d23ef.8a2fbc", "type": "set", "name": "ss.capability-name", "xml": "\n\n\n\n", "comments": "", "x": 788.3928451538086, "y": 241.2738494873047, "z": "50509cff.314024", "wires": [] }, { "id": "5506226b.04018c", "type": "set", "name": "tmp.param.capability-name", "xml": "\n\n", "comments": "", "x": 1147.7144927978516, "y": 384.4643325805664, "z": "50509cff.314024", "wires": [] }, { "id": "5b9beee2.2b424", "type": "set", "name": "set ss.capability.action = unassign", "xml": "\n\n", "comments": "", "x": 835.1069869995117, "y": 288.19043350219727, "z": "50509cff.314024", "wires": [] }, { "id": "7c9a62de.b663cc", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1244.5832138061523, "y": 783.4048738479614, "z": "50509cff.314024", "wires": [ [ "5ae85112.18d99" ] ] }, { "id": "9b2708ec.431508", "type": "set", "name": "set capability-dg", "xml": "\n\n", "comments": "", "x": 779.5356750488281, "y": 337.08334732055664, "z": "50509cff.314024", "wires": [] }, { "id": "bad23ec5.376d3", "type": "execute", "name": "generate ss-vnf url replace service-instance-id", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 1727.4405975341797, "y": 837.2865991592407, "z": "50509cff.314024", "wires": [ [] ] }, { "id": "fbec284e.585d38", "type": "execute", "name": "execute RestApiCallNode - PUT vnf", "xml": "\n \n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1696.9048919677734, "y": 940.1438207626343, "z": "50509cff.314024", "wires": [ [ "c47e36eb.d05728", "b96d7225.bf08f" ] ] }, { "id": "c47e36eb.d05728", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 1971.4985580444336, "y": 994.1419744491577, "z": "50509cff.314024", "wires": [ [ "e88954ca.906d58" ] ] }, { "id": "b96d7225.bf08f", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1963.9271926879883, "y": 940.6419944763184, "z": "50509cff.314024", "wires": [ [ "e88954ca.906d58" ] ] }, { "id": "e88954ca.906d58", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2166.0595169067383, "y": 940.2862491607666, "z": "50509cff.314024", "wires": [ [ "80bd3596.06daa8" ] ] }, { "id": "80bd3596.06daa8", "type": "configure", "name": "set error-message", "xml": "\n\n", "comments": "", "outputs": 1, "x": 2384.345283508301, "y": 940.4291124343872, "z": "50509cff.314024", "wires": [ [] ] }, { "id": "5acff27f.210b1c", "type": "set", "name": "set vf data for restapi-call-node", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "x": 1679.8928985595703, "y": 783.3811111450195, "z": "50509cff.314024", "wires": [] }, { "id": "3ed081d1.8cc08e", "type": "execute", "name": "generate ss-vnf url - replace vnf-id", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 1691.726303100586, "y": 888.0953674316406, "z": "50509cff.314024", "wires": [ [] ] }, { "id": "5ae85112.18d99", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1405.535888671875, "y": 783.1429853439331, "z": "50509cff.314024", "wires": [ [ "bad23ec5.376d3", "fbec284e.585d38", "5acff27f.210b1c", "3ed081d1.8cc08e", "4e5f969d.6392c8" ] ] }, { "id": "4e5f969d.6392c8", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n", "comments": "", "x": 1626.4408569335938, "y": 1067.9167687892914, "z": "50509cff.314024", "wires": [] }, { "id": "8603e753.202d08", "type": "execute", "name": "printContext", "xml": "\n\n", "comments": "", "outputs": 1, "x": 469.1193313598633, "y": 1437.488163948059, "z": "50509cff.314024", "wires": [ [] ] }, { "id": "cadde72f.768658", "type": "set", "name": "set ss.capability.execution-order[]", "xml": "\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 533.2500381469727, "y": 160.4285774230957, "z": "50509cff.314024", "wires": [] }, { "id": "8025d892.0ac388", "type": "other", "name": "DELETED", "xml": "\n", "comments": "", "outputs": 1, "x": 855.0714416503906, "y": 850.1785583496094, "z": "50509cff.314024", "wires": [ [ "3057289e.008328" ] ] }, { "id": "61da759.184e28c", "type": "set", "name": "set ss.capability-type = vnf", "xml": "\n\n", "comments": "", "x": 512.8571395874023, "y": 200.00000762939453, "z": "50509cff.314024", "wires": [] }, { "id": "6b6d2942.d47c48", "type": "returnFailure", "name": "return failure", "xml": "\n\n", "comments": "", "x": 1237.1428833007812, "y": 960.3929593222483, "z": "50509cff.314024", "wires": [] }, { "id": "3057289e.008328", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1011.5714340209961, "y": 850.1785469055176, "z": "50509cff.314024", "wires": [ [] ] }, { "id": "acbf2cb7.1041", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 846.1428375244141, "y": 908.3928604125977, "z": "50509cff.314024", "wires": [ [ "c1c0b7f6.69a4e8" ] ] }, { "id": "70287cdc.85b194", "type": "record", "name": "record", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 1216.4285888671875, "y": 908.3929659979685, "z": "50509cff.314024", "wires": [ [] ] }, { "id": "c1c0b7f6.69a4e8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1032.8571319580078, "y": 908.3929119110107, "z": "50509cff.314024", "wires": [ [ "70287cdc.85b194", "6b6d2942.d47c48" ] ] }, { "id": "1c8c4c56.6f0bc4", "type": "for", "name": "for each vnf", "xml": "\n", "comments": "", "outputs": 1, "x": 1036.6666145324707, "y": 1267.381091117859, "z": "50509cff.314024", "wires": [ [ "39ffbb9b.5384c4" ] ] }, { "id": "48bdb965.fbf268", "type": "comment", "name": "Remove VNF from service data", "info": "", "comments": "", "x": 448.825382232666, "y": 1225.9527435302734, "z": "50509cff.314024", "wires": [] }, { "id": "39ffbb9b.5384c4", "type": "set", "name": "move vnf to remove one", "xml": "\n\t\n\t\n\t\n", "comments": "", "x": 1270.2577476501465, "y": 1266.4050426483154, "z": "50509cff.314024", "wires": [] }, { "id": "ee44abff.0a52c8", "type": "switchNode", "name": "switch vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 492.92447662353516, "y": 1268.9607200622559, "z": "50509cff.314024", "wires": [ [ "3c166715.7796b8", "62f98baa.f6f574" ] ] }, { "id": "3c166715.7796b8", "type": "outcome", "name": "1", "xml": "\n", "comments": "", "outputs": 1, "x": 669.9245185852051, "y": 1229.6273069381714, "z": "50509cff.314024", "wires": [ [ "8af99073.0156" ] ] }, { "id": "8af99073.0156", "type": "set", "name": "Remove vnfs", "xml": "\n\t\n\n", "comments": "", "x": 833.5910148620605, "y": 1229.6274061203003, "z": "50509cff.314024", "wires": [] }, { "id": "62f98baa.f6f574", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 671.4484100341797, "y": 1313.103446006775, "z": "50509cff.314024", "wires": [ [ "b4f726ae.38e868" ] ] }, { "id": "c1ef091a.99d9e8", "type": "set", "name": "set new vnf length", "xml": "\n\t\n\n\t\n", "comments": "", "x": 1056.220703125, "y": 1357.9606647491455, "z": "50509cff.314024", "wires": [] }, { "id": "2c024236.55d4ae", "type": "set", "name": "Remove the last vnf in the list", "xml": "\n\t\n\n", "comments": "", "x": 1091.92435836792, "y": 1313.0716857910156, "z": "50509cff.314024", "wires": [] }, { "id": "b4f726ae.38e868", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 837.2577514648438, "y": 1313.6272268295288, "z": "50509cff.314024", "wires": [ [ "1c8c4c56.6f0bc4", "2c024236.55d4ae", "c1ef091a.99d9e8" ] ] } ]