[ { "id": "f2d5a044.e7585", "type": "service-logic", "name": "GENERIC-RESOURCE-API ${project.version}", "module": "GENERIC-RESOURCE-API", "version": "${project.version}", "comments": "", "xml": "", "outputs": 1, "x": 182.8570785522461, "y": 139.23809814453125, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "3fa00e50.ff8f92" ] ] }, { "id": "1dae242d.6645cc", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 107.57137298583984, "y": 98.99998664855957, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "f2d5a044.e7585" ] ] }, { "id": "3fa00e50.ff8f92", "type": "method", "name": "method site-vnf-topology-operation-deactivate", "xml": "", "comments": "", "outputs": 1, "x": 176, "y": 178.99998092651367, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "42e004c2.23654c" ] ] }, { "id": "42e004c2.23654c", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 216.73809814453125, "y": 250.69349193572998, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "65c407c9.9f1008", "48bce7ba.2d8768", "a7851b19.e94318", "7b84792a.cd09f8", "33ca4ea0.f0ad62", "85876d42.f8148", "145e6ab2.474a25", "65cd0ad5.7b6474", "e07817c8.713ef8" ] ] }, { "id": "33ca4ea0.f0ad62", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 623.7856979370117, "y": 115.80950736999512, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "44befce.c3f5f04", "7d171976.884c68", "2cfd8e20.8f3c62", "c7b90528.204df8" ] ] }, { "id": "44befce.c3f5f04", "type": "switchNode", "name": "switch service-data.vnfs.vnf_length", "xml": "\n", "comments": "", "outputs": 1, "x": 903.6747055053711, "y": 141.14282512664795, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "85e6c857.e79cf8", "f4c886b6.8c7de8" ] ] }, { "id": "85e6c857.e79cf8", "type": "other", "name": "outcome Null", "xml": "\n", "comments": "", "outputs": 1, "x": 1157.2858276367188, "y": 122.8095121383667, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "f39dd2df.24642" ] ] }, { "id": "f39dd2df.24642", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1331.2858428955078, "y": 122.8095121383667, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "f4c886b6.8c7de8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1140.7857971191406, "y": 158.80952262878418, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "9dbcc4cd.8daf68" ] ] }, { "id": "9dbcc4cd.8daf68", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1322.7859954833984, "y": 169.80952835083008, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "5192b087.75251", "a84b6b1.e64a598" ] ] }, { "id": "a84b6b1.e64a598", "type": "switchNode", "name": "switch tmp.vidx ", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1512.785888671875, "y": 186.80952262878418, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "f8861e43.09ff7" ] ] }, { "id": "c7b90528.204df8", "type": "switchNode", "name": "switch vnf-level-oper-status", "xml": "\n", "comments": "", "outputs": 1, "x": 866.952507019043, "y": 236.69837856292725, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "4f6faf17.9da86", "63b6f7c3.593ea8" ] ] }, { "id": "4f6faf17.9da86", "type": "outcome", "name": "outcome Active", "xml": "\n", "comments": "", "outputs": 1, "x": 1173.7858200073242, "y": 217.8095006942749, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "a798f2fb.14365" ] ] }, { "id": "63b6f7c3.593ea8", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1141.7858200073242, "y": 257.8095006942749, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "1d11ed5c.996383" ] ] }, { "id": "1d11ed5c.996383", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n ", "comments": "", "x": 1299.2858200073242, "y": 257.8095006942749, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "7d171976.884c68", "type": "switchNode", "name": "switch vnf-id", "xml": "\n", "comments": "", "outputs": 1, "x": 845.7858047485352, "y": 81.80949974060059, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "f940f6c8.c04158" ] ] }, { "id": "f940f6c8.c04158", "type": "outcome", "name": "NULL", "xml": "", "comments": "", "outputs": 1, "x": 988.7857971191406, "y": 81.80950260162354, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "8db9d430.4ecf68" ] ] }, { "id": "8db9d430.4ecf68", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1137.2857971191406, "y": 81.80950164794922, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "5192b087.75251", "type": "for", "name": "for vidx..service-data.vnfs.vnf[]", "xml": "\n", "comments": "", "outputs": 1, "x": 1558.2859191894531, "y": 148.8095121383667, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "93fbba5f.463c78" ] ] }, { "id": "93fbba5f.463c78", "type": "switchNode", "name": "switch vnf-id found", "xml": "\n\n", "comments": "", "outputs": 1, "x": 1844.2859191894531, "y": 148.8095121383667, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "8c6bb65a.97de78" ] ] }, { "id": "8c6bb65a.97de78", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 2029.7859954833984, "y": 148.80951404571533, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "5c836ef8.46731" ] ] }, { "id": "5c836ef8.46731", "type": "set", "name": "set tmp.vidx and ctx.vnf-data", "xml": "\n\n\n", "comments": "", "x": 2237.785919189453, "y": 148.8095121383667, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "7e651921.d7b4c8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1804.285888671875, "y": 186.80952262878418, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "f8861e43.09ff7", "type": "outcome", "name": "NULL", "xml": "\n", "comments": "", "outputs": 1, "x": 1666.785888671875, "y": 186.80952262878418, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "7e651921.d7b4c8" ] ] }, { "id": "65c407c9.9f1008", "type": "set", "name": "set vnf in service-data", "xml": "\n\n\n", "comments": "", "x": 610.5715866088867, "y": 584.00022315979, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "48bce7ba.2d8768", "type": "set", "name": "set vnfId and vnf-object-path", "xml": "\n\n", "comments": "", "x": 632.1271820068359, "y": 621.2224445343018, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "7b84792a.cd09f8", "type": "returnSuccess", "name": "return success", "xml": "\n\n\n\n", "comments": "", "x": 585.9049634933472, "y": 771.7778739929199, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "a7851b19.e94318", "type": "set", "name": "set vnf-level-oper-status to PendingDelete", "xml": "\n\n\n\n", "comments": "", "x": 670.5715866088867, "y": 665.0002861022949, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "a798f2fb.14365", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1367.713279724121, "y": 221.88886964321136, "z": "ccd0c7cf.3cb8d8", "wires": [ [] ] }, { "id": "2cfd8e20.8f3c62", "type": "execute", "name": "execute requiredParameters", "xml": "\n\n\n", "comments": "", "outputs": 1, "x": 895.5716171264648, "y": 44, "z": "ccd0c7cf.3cb8d8", "wires": [ [] ] }, { "id": "dc5cbf86.069cb", "type": "comment", "name": "site-vnf-topology-operation-deactivate", "info": "", "comments": "", "x": 489.8570785522461, "y": 44.23809814453125, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "85876d42.f8148", "type": "for", "name": "for loop idx - VNF input parameters", "xml": "\n", "comments": "", "outputs": 1, "x": 667.8572273254395, "y": 315.0000219345093, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "3e4458ac.5a1978" ] ] }, { "id": "3e4458ac.5a1978", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 874.7529640197754, "y": 314.9218854904175, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "d28edbd3.ae9358", "bda524fb.86fa98" ] ] }, { "id": "d28edbd3.ae9358", "type": "switchNode", "name": "switch type", "xml": "\n", "comments": "", "outputs": 1, "x": 1011.8701667785645, "y": 314.89532566070557, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "a740d422.40d728" ] ] }, { "id": "a740d422.40d728", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1151.870174407959, "y": 315.89532566070557, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "feaf8bb0.d7e508" ] ] }, { "id": "feaf8bb0.d7e508", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1300.419822692871, "y": 316.9220190048218, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "6e080bd9.2cad94" ] ] }, { "id": "6e080bd9.2cad94", "type": "set", "name": "set type and sdwan flag", "xml": "\n\n\n", "comments": "", "x": 1444.7531852722168, "y": 317.9220361709595, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "145e6ab2.474a25", "type": "switchNode", "name": "switch prop.site.sdwan", "xml": "\n", "comments": "", "outputs": 1, "x": 641.8570785522461, "y": 470.00004386901855, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "c9081f3c.c4c52" ] ] }, { "id": "c9081f3c.c4c52", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 822.8572120666504, "y": 471.0000705718994, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "5bb614a8.7a50ac" ] ] }, { "id": "619fc994.c8c7e8", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1527.357234954834, "y": 439.00012493133545, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "9d1c31d.0bb00d" ] ] }, { "id": "9d1c31d.0bb00d", "type": "set", "name": "set controller data", "xml": "\n\n\n\n", "comments": "", "x": 1715.8573303222656, "y": 433.0001345872879, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "a8d0eff5.22c29", "type": "not-found", "name": "not-found", "xml": "\n", "comments": "", "outputs": 1, "x": 1530.848201751709, "y": 486.5741605758667, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "182c54e4.50314b" ] ] }, { "id": "182c54e4.50314b", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "outputs": 1, "x": 1523.181209564209, "y": 527.907473564148, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "9c3bc7c8.8428c8" ] ] }, { "id": "9c3bc7c8.8428c8", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n\n", "comments": "", "outputs": 1, "x": 1260.3571472167969, "y": 487.00013077259064, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "619fc994.c8c7e8", "a8d0eff5.22c29", "dafc7114.f9611" ] ] }, { "id": "f6e580dc.483b5", "type": "execute", "name": "execute RestApiCallNode Create SDWAN site", "xml": "\n\n\n\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1288.8574905395508, "y": 685.0002021789551, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "9ccdb4e3.7037b8", "542d6497.1e051c" ] ] }, { "id": "efaab9ba.da6af8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1684.523811340332, "y": 664.8890171051025, "z": "ccd0c7cf.3cb8d8", "wires": [ [] ] }, { "id": "eed03e10.52741", "type": "returnFailure", "name": "return failure", "xml": "\n\t\n\t\n \n", "comments": "", "x": 1681.9683113098145, "y": 699.444356918335, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "f190e7e4.b492e8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1537.9683074951172, "y": 698.444356918335, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "eed03e10.52741" ] ] }, { "id": "3d884d4b.3bb372", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1541.4126434326172, "y": 667.1111841201782, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "efaab9ba.da6af8" ] ] }, { "id": "268a0227.9f4d8e", "type": "success", "name": "success", "xml": "\n", "comments": "", "outputs": 1, "x": 1526.611125946045, "y": 565.0040866136551, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "7a5f68d2.12c3e8" ] ] }, { "id": "ec5d99f5.fe59b8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1518.861125946045, "y": 606.6469699144363, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "dc9e3b17.c88cb8" ] ] }, { "id": "dc9e3b17.c88cb8", "type": "block", "name": "block", "xml": "\n", "atomic": "false", "comments": "", "outputs": 1, "x": 1644.944622039795, "y": 606.8930026292801, "z": "ccd0c7cf.3cb8d8", "wires": [ [] ] }, { "id": "7a5f68d2.12c3e8", "type": "set", "name": "set token-id", "xml": "\n\n", "comments": "", "x": 1663.611125946045, "y": 565.0040866136551, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "cbf3519f.042f3", "type": "comment", "name": "tmp.thirdparty-sdnc-id is hardcoded value?", "info": "", "comments": "", "x": 1256.8610382080078, "y": 454.0040522813797, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "5bb614a8.7a50ac", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 983.8571472167969, "y": 471.6665782928467, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "2718b5aa.7ee4da", "8fc11da9.0efed", "f6e580dc.483b5", "49b38240.460c6c" ] ] }, { "id": "65cd0ad5.7b6474", "type": "save", "name": "update siteInstance configuration in AAI", "xml": "\n \n\n", "comments": "", "outputs": 1, "x": 663.8571701049805, "y": 704.0001029968262, "z": "ccd0c7cf.3cb8d8", "wires": [ [] ] }, { "id": "bda524fb.86fa98", "type": "switchNode", "name": "switch siteId", "xml": "\n", "comments": "", "outputs": 1, "x": 1011.8700637817383, "y": 389.8953685760498, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "5e12f6f2.154df8" ] ] }, { "id": "5e12f6f2.154df8", "type": "outcomeTrue", "name": "true", "xml": "\n", "comments": "", "outputs": 1, "x": 1151.8700714111328, "y": 390.8953685760498, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "c0b4aa42.b23db8" ] ] }, { "id": "c0b4aa42.b23db8", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "outputs": 1, "x": 1300.419719696045, "y": 391.922061920166, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "12912fa7.36df6" ] ] }, { "id": "12912fa7.36df6", "type": "set", "name": "set siteId", "xml": "\n\n\n", "comments": "", "x": 1444.7530822753906, "y": 392.9220790863037, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "cc3aa10c.cf485", "type": "comment", "name": "Get siteId to delete", "info": "", "comments": "", "x": 1023.857048034668, "y": 359.0000247955322, "z": "ccd0c7cf.3cb8d8", "wires": [] }, { "id": "8fc11da9.0efed", "type": "execute", "name": "execute RestApiCallNode Get token", "xml": "\n\n\n\n\n\n\n\n\n", "comments": "", "outputs": 1, "x": 1277.0000762939453, "y": 588.000039100647, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "268a0227.9f4d8e", "ec5d99f5.fe59b8" ] ] }, { "id": "e07817c8.713ef8", "type": "execute", "name": "execute Properties", "xml": "\n \n \n", "comments": "", "outputs": 1, "x": 617, "y": 225.00000095367432, "z": "ccd0c7cf.3cb8d8", "wires": [ [] ] }, { "id": "49b38240.460c6c", "type": "call", "name": "call sdwan-get-tenant-auth", "xml": "\n", "comments": "", "outputs": 1, "x": 1237, "y": 637, "z": "ccd0c7cf.3cb8d8", "wires": [ [] ] }, { "id": "9ccdb4e3.7037b8", "type": "failure", "name": "failure", "xml": "\n", "comments": "", "outputs": 1, "x": 1545, "y": 762, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "b8677116.110c6" ] ] }, { "id": "b8677116.110c6", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1701, "y": 762, "z": "ccd0c7cf.3cb8d8", "wires": [ [] ] }, { "id": "542d6497.1e051c", "type": "other", "name": "other", "xml": "\n", "comments": "", "outputs": 1, "x": 1545, "y": 811, "z": "ccd0c7cf.3cb8d8", "wires": [ [ "e1c3f88e.80fd88" ] ] }, { "id": "e1c3f88e.80fd88", "type": "block", "name": "block : atomic", "xml": "", "atomic": "true", "comments": "", "outputs": 1, "x": 1723, "y": 808, "z": "ccd0c7cf.3cb8d8", "wires": [ [] ] } ]