[ { "id": "62b65505.f8b4b4", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 89, "y": 30, "z": "252d9282.9374ae", "wires": [ [ "928d511f.36c158" ] ] }, { "id": "f87c0728.0afeb8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 132.72620391845703, "y": 148.77779006958008, "z": "252d9282.9374ae", "wires": [ [ "3b27abcc.c2ec34", "bf1b89ba.b063e", "1ddd3a42.29f04e", "e5f0334a.e9ca1", "2163e816.27402" ] ] }, { "id": "2406fa8b.d43ed6", "type": "method", "name": "method self-serve-vnf-unassign", "xml": "\n", "comments": "", "outputs": 1, "x": 205.76190948486328, "y": 84.70635509490967, "z": "252d9282.9374ae", "wires": [ [ "f87c0728.0afeb8" ] ] }, { "id": "928d511f.36c158", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 364.23819732666016, "y": 30.190492630004883, "z": "252d9282.9374ae", "wires": [ [ "2406fa8b.d43ed6" ] ] }, { "id": "2869f38e.95f41c", "type": "for", "name": "foreach vnf-parameters-data.param[]", "xml": "\n", "comments": "", "outputs": 1, "x": 721.4645538330078, "y": 374.70241928100586, "z": "252d9282.9374ae", "wires": [ [ "acaba079.b68f38", "81ad392.f64cec8" ] ] }, { "id": "6b50d8c3.1dbdd", "type": "switchNode", "name": "switch resource-resolution-data.status", "xml": "\n", "comments": "", "outputs": 1, "x": 458.17897033691406, "y": 771.50013256073, "z": "252d9282.9374ae", "wires": [ [ "4641618f.395528", "38e2fce4.feed74", "fa07b3ee.3e2bd" ] ] }, { "id": "4641618f.395528", "type": "other", "name": "SUCCESS", "xml": "\n", "comments": "", "outputs": 1, "x": 733.5719718933105, "y": 772.2143878936768, "z": "252d9282.9374ae", "wires": [ [ "d99a0768.8b7718" ] ] }, { "id": "3b27abcc.c2ec34", "type": "for", "name": "foreach capability-order[]", "xml": "\n", "comments": "", "outputs": 1, "x": 387.0357894897461, "y": 229.89282417297363, "z": "252d9282.9374ae", "wires": [ [ "25e2075a.6d1a6", "96711265.1987a", "2869f38e.95f41c", "8523e1fb.bcf3a8" ] ] }, { "id": "acaba079.b68f38", "type": "switchNode", "name": "switch param capability-name == execution", "xml": "\n", "comments": "", "outputs": 1, "x": 1077.3574676513672, "y": 418.4285488128662, "z": "252d9282.9374ae", "wires": [ [ "468c9926.a05e6" ] ] }, { "id": "468c9926.a05e6", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1340.8574676513672, "y": 418.6785488128662, "z": "252d9282.9374ae", "wires": [ [ "6b50d8c3.1dbdd" ] ] }, { "id": "d99a0768.8b7718", "type": "call", "name": "call ss.capability-dg", "xml": "\n", "comments": "", "outputs": 1, "x": 938.6907043457031, "y": 771.9762392044067, "z": "252d9282.9374ae", "wires": [ [ "458b24e4.d3efa4" ] ] }, { "id": "25e2075a.6d1a6", "type": "set", "name": "ss.capability-name", "xml": "\n\n\n\n", "comments": "", "x": 667.3928451538086, "y": 229.84527587890625, "z": "252d9282.9374ae", "wires": [] }, { "id": "81ad392.f64cec8", "type": "set", "name": "tmp.param.capability-name", "xml": "\n\n", "comments": "", "x": 1026.7144927978516, "y": 373.03575897216797, "z": "252d9282.9374ae", "wires": [] }, { "id": "96711265.1987a", "type": "set", "name": "set ss.capability.action = unassign", "xml": "\n\n", "comments": "", "x": 714.1069869995117, "y": 276.7618598937988, "z": "252d9282.9374ae", "wires": [] }, { "id": "458b24e4.d3efa4", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1123.5832138061523, "y": 771.976300239563, "z": "252d9282.9374ae", "wires": [ [ "6583acac.b53fac" ] ] }, { "id": "8523e1fb.bcf3a8", "type": "set", "name": "set capability-dg", "xml": "\n\n", "comments": "", "x": 658.5356750488281, "y": 325.6547737121582, "z": "252d9282.9374ae", "wires": [] }, { "id": "d5c58631.876b", "type": "execute", "name": "generate ss-vnf url replace service-instance-id", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 1606.4405975341797, "y": 825.8580255508423, "z": "252d9282.9374ae", "wires": [ [] ] }, { "id": "5291091f.f20088", "type": "execute", "name": "execute RestApiCallNode - PUT vnf", "xml": "\n \n \n \n \n \n \n \n\n", "comments": "", "outputs": 1, "x": 1575.9048919677734, "y": 928.7152471542358, "z": "252d9282.9374ae", "wires": [ [ "2353e7c1.60c118", "3fc02d49.7486d2" ] ] }, { "id": "2353e7c1.60c118", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 1850.4985580444336, "y": 982.7134008407593, "z": "252d9282.9374ae", "wires": [ [ "bda099a1.06eb38" ] ] }, { "id": "3fc02d49.7486d2", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1842.9271926879883, "y": 929.2134208679199, "z": "252d9282.9374ae", "wires": [ [ "bda099a1.06eb38" ] ] }, { "id": "bda099a1.06eb38", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 2045.0595169067383, "y": 928.8576755523682, "z": "252d9282.9374ae", "wires": [ [ "d9c8574d.b3fa68" ] ] }, { "id": "d9c8574d.b3fa68", "type": "configure", "name": "set error-message", "xml": "\n\n", "comments": "", "outputs": 1, "x": 2263.345283508301, "y": 929.0005388259888, "z": "252d9282.9374ae", "wires": [ [] ] }, { "id": "4bfafa2c.df4c8c", "type": "set", "name": "set vf data for restapi-call-node", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "x": 1558.8928985595703, "y": 771.9525375366211, "z": "252d9282.9374ae", "wires": [] }, { "id": "9abc0123.468d9", "type": "execute", "name": "generate ss-vnf url - replace vnf-id", "xml": "\n \n \n \n \n", "comments": "", "outputs": 1, "x": 1570.726303100586, "y": 876.6667938232422, "z": "252d9282.9374ae", "wires": [ [] ] }, { "id": "6583acac.b53fac", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1284.535888671875, "y": 771.7144117355347, "z": "252d9282.9374ae", "wires": [ [ "d5c58631.876b", "5291091f.f20088", "4bfafa2c.df4c8c", "9abc0123.468d9", "e212b878.28b838" ] ] }, { "id": "e212b878.28b838", "type": "returnFailure", "name": "return failure", "xml": "\n\n\n", "comments": "", "x": 1505.4408569335938, "y": 1056.488195180893, "z": "252d9282.9374ae", "wires": [] }, { "id": "e5f0334a.e9ca1", "type": "execute", "name": "printContext", "xml": "\n\n", "comments": "", "outputs": 1, "x": 348.1193313598633, "y": 1426.0595903396606, "z": "252d9282.9374ae", "wires": [ [] ] }, { "id": "bf1b89ba.b063e", "type": "set", "name": "set ss.capability.execution-order[]", "xml": "\n\n\n\n\n\n\n\n\n\n", "comments": "", "x": 412.25003814697266, "y": 149.00000381469727, "z": "252d9282.9374ae", "wires": [] }, { "id": "38e2fce4.feed74", "type": "other", "name": "DELETED", "xml": "\n", "comments": "", "outputs": 1, "x": 734.0714416503906, "y": 838.7499847412109, "z": "252d9282.9374ae", "wires": [ [ "d6fe1639.ceebb8" ] ] }, { "id": "1ddd3a42.29f04e", "type": "set", "name": "set ss.capability-type = vnf", "xml": "\n\n", "comments": "", "x": 391.85713958740234, "y": 188.5714340209961, "z": "252d9282.9374ae", "wires": [] }, { "id": "52dbf114.d1abc", "type": "returnFailure", "name": "return failure", "xml": "\n\n", "comments": "", "x": 1116.1428833007812, "y": 948.9643857138499, "z": "252d9282.9374ae", "wires": [] }, { "id": "d6fe1639.ceebb8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 890.5714340209961, "y": 838.7499732971191, "z": "252d9282.9374ae", "wires": [ [] ] }, { "id": "fa07b3ee.3e2bd", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 725.1428375244141, "y": 896.9642868041992, "z": "252d9282.9374ae", "wires": [ [ "dc8bc4e.8f580b8" ] ] }, { "id": "b045a5.6f842258", "type": "record", "name": "record", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 1095.4285888671875, "y": 896.9643923895701, "z": "252d9282.9374ae", "wires": [ [] ] }, { "id": "dc8bc4e.8f580b8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 911.8571319580078, "y": 896.9643383026123, "z": "252d9282.9374ae", "wires": [ [ "b045a5.6f842258", "52dbf114.d1abc" ] ] }, { "id": "1de371de.5b6456", "type": "for", "name": "for each vnf", "xml": "\n", "comments": "", "outputs": 1, "x": 915.6666145324707, "y": 1255.9525175094604, "z": "252d9282.9374ae", "wires": [ [ "a5b6b8ba.4ebf4" ] ] }, { "id": "a90545d8.1a2728", "type": "comment", "name": "Remove VNF from service data", "info": "", "comments": "", "x": 327.825382232666, "y": 1214.524169921875, "z": "252d9282.9374ae", "wires": [] }, { "id": "a5b6b8ba.4ebf4", "type": "set", "name": "move vnf to remove one", "xml": "\n\t\n\t\n\t\n", "comments": "", "x": 1149.2577476501465, "y": 1254.976469039917, "z": "252d9282.9374ae", "wires": [] }, { "id": "2163e816.27402", "type": "switchNode", "name": "switch vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 371.92447662353516, "y": 1257.5321464538574, "z": "252d9282.9374ae", "wires": [ [ "db4581e7.f5001", "4742a047.92dc2" ] ] }, { "id": "db4581e7.f5001", "type": "outcome", "name": "1", "xml": "\n", "comments": "", "outputs": 1, "x": 548.9245185852051, "y": 1218.198733329773, "z": "252d9282.9374ae", "wires": [ [ "d699690.c208a18" ] ] }, { "id": "d699690.c208a18", "type": "set", "name": "Remove vnfs", "xml": "\n\t\n\n", "comments": "", "x": 712.5910148620605, "y": 1218.1988325119019, "z": "252d9282.9374ae", "wires": [] }, { "id": "4742a047.92dc2", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 550.4484100341797, "y": 1301.6748723983765, "z": "252d9282.9374ae", "wires": [ [ "f5197751.96d6b8" ] ] }, { "id": "8416ad4e.28c64", "type": "set", "name": "set new vnf length", "xml": "\n\t\n\n\t\n", "comments": "", "x": 935.220703125, "y": 1346.532091140747, "z": "252d9282.9374ae", "wires": [] }, { "id": "225e71ff.ef5996", "type": "set", "name": "Remove the last vnf in the list", "xml": "\n\t\n\n", "comments": "", "x": 970.9243583679199, "y": 1301.6431121826172, "z": "252d9282.9374ae", "wires": [] }, { "id": "f5197751.96d6b8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 716.2577514648438, "y": 1302.1986532211304, "z": "252d9282.9374ae", "wires": [ [ "1de371de.5b6456", "225e71ff.ef5996", "8416ad4e.28c64" ] ] } ]