[
{
- "id": "62c88a41.7901c4",
+ "id": "7497e618.fbc9e8",
"type": "comment",
"name": "Generic Neighbor Configuration",
"info": "",
"comments": "",
- "x": 363,
- "y": 27,
- "z": "b5912bac.e498b8",
+ "x": 419.9999694824219,
+ "y": 51.666666984558105,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "baa967e2.faeed8",
+ "id": "b87f24bf.7b3ca8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 604.0000457763672,
- "y": 247.01050186157227,
- "z": "b5912bac.e498b8",
+ "x": 2332.00040435791,
+ "y": 926.6772809028625,
+ "z": "93716ca1.df16b",
"wires": [
[
- "e7f7731c.df44c",
- "e8c58776.722298",
- "26d77802.a1d148",
- "a1ea2bf1.677578",
- "1dc9243f.b48cec",
- "42fc4612.e644c8",
- "dd9a5d15.06aae",
- "772f6c66.8f6644",
- "9257d114.fbb5f",
- "bf3b2072.183ee",
- "5dfa3076.0f2dc"
+ "4733a250.77958c",
+ "dc0a8329.30e8",
+ "ec9be427.25e9a8",
+ "387cb9f3.f70276",
+ "a97fcdf6.a499d",
+ "1de1e583.8fb7fa",
+ "5e95d235.988f0c",
+ "4f68e3db.956bac",
+ "d62d2854.e6ac28",
+ "15d3f16c.8176ef",
+ "57f80d61.d3fa74",
+ "f8b63e76.98572",
+ "1fdbb9e6.5c2526"
]
]
},
{
- "id": "3b46224d.2d6b5e",
+ "id": "d893d229.1e59d",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 551.0001831054688,
- "y": 405,
- "z": "b5912bac.e498b8",
+ "x": 1578.000389099121,
+ "y": 794.6668653488159,
+ "z": "93716ca1.df16b",
"wires": [
[
- "baa967e2.faeed8"
+ "b87f24bf.7b3ca8"
]
]
},
{
- "id": "e7f7731c.df44c",
+ "id": "4733a250.77958c",
"type": "set",
"name": "set tmp variables for the requested fap service input parms",
"xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n",
"comments": "",
- "x": 935.0011596679688,
- "y": 49.88909912109375,
- "z": "b5912bac.e498b8",
+ "x": 2737.001449584961,
+ "y": 776.2224531173706,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "e8c58776.722298",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary varaibles set. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 799.5105075836182,
- "y": 93.01042747497559,
- "z": "b5912bac.e498b8",
- "wires": [
- []
- ]
- },
- {
- "id": "472be384.ef3bac",
+ "id": "9d97f004.d2075",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 126.48959350585938,
- "y": 283.9896240234375,
- "z": "b5912bac.e498b8",
+ "x": 153.48956298828125,
+ "y": 378.6563024520874,
+ "z": "93716ca1.df16b",
"wires": [
[
- "58f1d84.b947928",
- "f7111027.f6312",
- "be76099f.4dfad8",
- "ce40b7fa.694068",
- "d8ef20b.61a53e",
- "1cfec41e.135f0c",
- "598648b2.5aa358",
- "3e67b041.fa193"
+ "8a0a1234.c615",
+ "f8773aff.9925f8",
+ "d8c9c555.90df68",
+ "e0d1bd80.fdd2c",
+ "c8406de0.e7d19",
+ "655b71f9.458d1",
+ "b025f934.fbf218",
+ "3103a38e.d771ec",
+ "2816cf49.04226",
+ "16823f81.eb375",
+ "ecefd81d.f9cab8",
+ "560d1a47.8473d4",
+ "2e676669.44090a",
+ "3f5bd73.2a4f028",
+ "a8b2bc66.e3a98",
+ "4eb9dd77.949f74",
+ "902d542b.495ea8",
+ "f1691caa.0d71"
]
]
},
{
- "id": "98417a7.9342688",
+ "id": "db5a5af.157f7a8",
"type": "method",
"name": "method",
"xml": "<method rpc='generic-neighbor-configuration' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 112,
- "y": 184.9895782470703,
- "z": "b5912bac.e498b8",
+ "x": 170.99996948242188,
+ "y": 210.65624523162842,
+ "z": "93716ca1.df16b",
"wires": [
[
- "472be384.ef3bac"
+ "9d97f004.d2075"
]
]
},
{
- "id": "58f1d84.b947928",
+ "id": "8a0a1234.c615",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n",
"comments": "",
- "x": 117.00033950805664,
- "y": 2844.989965438843,
- "z": "b5912bac.e498b8",
+ "x": 174.00030899047852,
+ "y": 2869.656632423401,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "f7111027.f6312",
+ "id": "f8773aff.9925f8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to Configure Neighbors INVOKED. Number of Neighbors to configure: \"/>\n<parameter name=\"field2\" value=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 413.00030517578125,
- "y": 84.01042938232422,
- "z": "b5912bac.e498b8",
+ "x": 470.0002746582031,
+ "y": 108.67709636688232,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "be76099f.4dfad8",
+ "id": "d8c9c555.90df68",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 424.085693359375,
- "y": 130.9531707763672,
- "z": "b5912bac.e498b8",
+ "x": 481.0856628417969,
+ "y": 155.6198377609253,
+ "z": "93716ca1.df16b",
"wires": [
[
- "93be64d3.f030f8"
+ "89da7c92.4df0d"
]
]
},
{
- "id": "ce40b7fa.694068",
+ "id": "e0d1bd80.fdd2c",
"type": "execute",
"name": "execute Properties",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-oofpcipoc-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
"comments": "",
"outputs": 1,
- "x": 427.00018310546875,
- "y": 189.01040649414062,
- "z": "b5912bac.e498b8",
+ "x": 491.0001525878906,
+ "y": 204.67707347869873,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "d8ef20b.61a53e",
+ "id": "c8406de0.e7d19",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. generic neighbor config template\"/>\n<parameter name=\"field2\" value=\"`$prop.restapi.generic-neighbor-patch.template`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field5\" value=\"`$prop.controller.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 379.000301361084,
- "y": 257.01050090789795,
- "z": "b5912bac.e498b8",
+ "x": 457.0002746582031,
+ "y": 245.6771650314331,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "f6fcf198.4f53a",
+ "id": "9719444.b72f1b8",
"type": "service-logic",
"name": "oofpcipoc-api ${project.version}",
"module": "oofpcipoc-api",
"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='oofpcipoc-api' version='${project.version}'>",
"outputs": 1,
- "x": 167.99998474121094,
- "y": 95.98968505859375,
- "z": "b5912bac.e498b8",
+ "x": 224.9999542236328,
+ "y": 120.65635204315186,
+ "z": "93716ca1.df16b",
"wires": [
[
- "98417a7.9342688"
+ "db5a5af.157f7a8"
]
]
},
{
- "id": "93be64d3.f030f8",
+ "id": "89da7c92.4df0d",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>",
"comments": "",
"outputs": 1,
- "x": 589.0005493164062,
- "y": 114.98963165283203,
- "z": "b5912bac.e498b8",
+ "x": 646.0005187988281,
+ "y": 139.65629863739014,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "9a50d806.bf9d88",
+ "id": "556d3bac.37b8d4",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 103,
- "y": 33.989585876464844,
- "z": "b5912bac.e498b8",
+ "x": 159.99996948242188,
+ "y": 58.65625286102295,
+ "z": "93716ca1.df16b",
"wires": [
[
- "f6fcf198.4f53a"
+ "9719444.b72f1b8"
]
]
},
{
- "id": "bf3b2072.183ee",
+ "id": "1de1e583.8fb7fa",
"type": "execute",
"name": "generate neighbor config URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchNRCellRelation`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 870.5108642578125,
- "y": 137.56614685058594,
- "z": "b5912bac.e498b8",
+ "x": 2655.8447341918945,
+ "y": 982.2327842712402,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "26d77802.a1d148",
+ "id": "dc0a8329.30e8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>",
"comments": "",
"outputs": 1,
- "x": 797.510498046875,
- "y": 190.7882080078125,
- "z": "b5912bac.e498b8",
- "wires": [
- []
- ]
- },
- {
- "id": "a1ea2bf1.677578",
- "type": "execute",
- "name": "populate plmnid",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{plmnid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 999.5106258392334,
- "y": 202.78822231292725,
- "z": "b5912bac.e498b8",
- "wires": [
- []
- ]
- },
- {
- "id": "1dc9243f.b48cec",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 867.5104789733887,
- "y": 246.78819751739502,
- "z": "b5912bac.e498b8",
- "wires": [
- []
- ]
- },
- {
- "id": "42fc4612.e644c8",
- "type": "execute",
- "name": "populate cid",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{cid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 890.5105075836182,
- "y": 291.7882204055786,
- "z": "b5912bac.e498b8",
+ "x": 2589.510669708252,
+ "y": 1180.454996585846,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "772f6c66.8f6644",
+ "id": "387cb9f3.f70276",
"type": "execute",
"name": "Configure neighbor using PATCH",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-generic-neighbor-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
"comments": "",
"outputs": 1,
- "x": 922.510498046875,
- "y": 431.788330078125,
- "z": "b5912bac.e498b8",
+ "x": 2624.510757446289,
+ "y": 1281.455023765564,
+ "z": "93716ca1.df16b",
"wires": [
[
- "18e5fc47.677d84",
- "9996e5f3.0463a8"
+ "824122cc.ec932",
+ "6c82f7ae.11e058"
]
]
},
{
- "id": "18e5fc47.677d84",
+ "id": "824122cc.ec932",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1183.5103855133057,
- "y": 395.77778339385986,
- "z": "b5912bac.e498b8",
+ "x": 2995.5106296539307,
+ "y": 1155.444450378418,
+ "z": "93716ca1.df16b",
"wires": [
[
- "7e1599c6.f4b258"
+ "7f135f2b.5e4e"
]
]
},
{
- "id": "9996e5f3.0463a8",
+ "id": "6c82f7ae.11e058",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1185.5103302001953,
- "y": 459.77761459350586,
- "z": "b5912bac.e498b8",
+ "x": 2997.5105743408203,
+ "y": 1219.444281578064,
+ "z": "93716ca1.df16b",
"wires": [
[
- "8be63bfe.ba0d78"
+ "c824fb0e.366fb8"
]
]
},
{
- "id": "24c17f16.af7c2",
+ "id": "2259619a.132d9e",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PATCH Neighbor Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 1516.510124206543,
- "y": 455.77770233154297,
- "z": "b5912bac.e498b8",
+ "x": 3328.510368347168,
+ "y": 1215.444369316101,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "8be63bfe.ba0d78",
+ "id": "c824fb0e.366fb8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1352.5101737976074,
- "y": 458.77769660949707,
- "z": "b5912bac.e498b8",
+ "x": 3164.5104179382324,
+ "y": 1218.4443635940552,
+ "z": "93716ca1.df16b",
"wires": [
[
- "24c17f16.af7c2"
+ "2259619a.132d9e"
]
]
},
{
- "id": "7e1599c6.f4b258",
+ "id": "7f135f2b.5e4e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1342.510248184204,
- "y": 404.7777690887451,
- "z": "b5912bac.e498b8",
+ "x": 3154.510492324829,
+ "y": 1164.4444360733032,
+ "z": "93716ca1.df16b",
"wires": [
[
- "ce7d1839.31b058"
+ "8001866e.ecf208"
]
]
},
{
- "id": "ce7d1839.31b058",
+ "id": "8001866e.ecf208",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding a new neighbor\" />",
"comments": "",
- "x": 1518.5100116729736,
- "y": 389.77774238586426,
- "z": "b5912bac.e498b8",
+ "x": 3330.5102558135986,
+ "y": 1149.4444093704224,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "dd9a5d15.06aae",
+ "id": "ec9be427.25e9a8",
"type": "execute",
"name": "Get neighbor details pre-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 920.5104370117188,
- "y": 343.7882080078125,
- "z": "b5912bac.e498b8",
+ "x": 2649.1774291992188,
+ "y": 1228.4549360275269,
+ "z": "93716ca1.df16b",
"wires": [
[
- "9fe95e60.166c3",
- "9512e3ea.241a4"
+ "5cc21c61.53ce94",
+ "8abf7676.42ec98"
]
]
},
{
- "id": "9fe95e60.166c3",
+ "id": "5cc21c61.53ce94",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1188.510498046875,
- "y": 280.4442491531372,
- "z": "b5912bac.e498b8",
+ "x": 3000.5107421875,
+ "y": 1040.1109161376953,
+ "z": "93716ca1.df16b",
"wires": [
[
- "5a501fde.87adb"
+ "9fc3eccd.d50ad"
]
]
},
{
- "id": "9512e3ea.241a4",
+ "id": "8abf7676.42ec98",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1175.5103912353516,
- "y": 344.44439697265625,
- "z": "b5912bac.e498b8",
+ "x": 2987.5106353759766,
+ "y": 1104.1110639572144,
+ "z": "93716ca1.df16b",
"wires": [
[
- "f3752e03.cce3d"
+ "34e2f3c6.0b029c"
]
]
},
{
- "id": "f3752e03.cce3d",
+ "id": "34e2f3c6.0b029c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1318.5101871490479,
- "y": 341.44431257247925,
- "z": "b5912bac.e498b8",
+ "x": 3130.510431289673,
+ "y": 1101.1109795570374,
+ "z": "93716ca1.df16b",
"wires": [
[
- "56993fd5.34454"
+ "cd9b04e7.c021d8"
]
]
},
{
- "id": "56993fd5.34454",
+ "id": "cd9b04e7.c021d8",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.attributes.nRTCI`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.attributes.isHOAllowed`\"/>",
"comments": "",
"outputs": 1,
- "x": 1479.510103225708,
- "y": 335.44458293914795,
- "z": "b5912bac.e498b8",
+ "x": 3291.510347366333,
+ "y": 1095.111249923706,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "5a501fde.87adb",
+ "id": "9fc3eccd.d50ad",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
"comments": "",
- "x": 1387.5103912353516,
- "y": 270.4442768096924,
- "z": "b5912bac.e498b8",
+ "x": 3199.5106353759766,
+ "y": 1030.1109437942505,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "9257d114.fbb5f",
+ "id": "a97fcdf6.a499d",
"type": "execute",
"name": "Get neighbor details post-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 878.5104370117188,
- "y": 507.67706298828125,
- "z": "b5912bac.e498b8",
+ "x": 2630.510757446289,
+ "y": 1335.6770753860474,
+ "z": "93716ca1.df16b",
"wires": [
[
- "f3eccc73.b462e",
- "3ed6cc6a.c6c044"
+ "fac5fb98.f8bda8",
+ "c868ebf.6c9bd18"
]
]
},
{
- "id": "f3eccc73.b462e",
+ "id": "fac5fb98.f8bda8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1213.5104370117188,
- "y": 507.3331050872803,
- "z": "b5912bac.e498b8",
+ "x": 3025.5106811523438,
+ "y": 1266.9997720718384,
+ "z": "93716ca1.df16b",
"wires": [
[
- "1ebdbe5d.7f30b2"
+ "29b41d9b.c7aa62"
]
]
},
{
- "id": "3ed6cc6a.c6c044",
+ "id": "c868ebf.6c9bd18",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1206.5103302001953,
- "y": 559.3333015441895,
- "z": "b5912bac.e498b8",
+ "x": 3018.5105743408203,
+ "y": 1318.9999685287476,
+ "z": "93716ca1.df16b",
"wires": [
[
- "7a33e4a5.c1140c"
+ "e84a4e3c.2a362"
]
]
},
{
- "id": "7a33e4a5.c1140c",
+ "id": "e84a4e3c.2a362",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1375.5100898742676,
- "y": 566.3332405090332,
- "z": "b5912bac.e498b8",
+ "x": 3187.5103340148926,
+ "y": 1325.9999074935913,
+ "z": "93716ca1.df16b",
"wires": [
[
- "8874cc8.fdd9c3"
+ "7d034b7a.7ded04"
]
]
},
{
- "id": "1ebdbe5d.7f30b2",
+ "id": "29b41d9b.c7aa62",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
"comments": "",
- "x": 1386.5103912353516,
- "y": 504.33313274383545,
- "z": "b5912bac.e498b8",
+ "x": 3198.5106353759766,
+ "y": 1263.9997997283936,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "8874cc8.fdd9c3",
+ "id": "7d034b7a.7ded04",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Post-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Post-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.attributes.nRTCI`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.attributes.isHOAllowed`\"/>",
"comments": "",
"outputs": 1,
- "x": 1522.510124206543,
- "y": 564.333456993103,
- "z": "b5912bac.e498b8",
+ "x": 3334.510368347168,
+ "y": 1324.0001239776611,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "caedd83d.51f7c8",
+ "id": "f929eb5b.440608",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 576.9999465942383,
- "y": 1317.0000581741333,
- "z": "b5912bac.e498b8",
+ "x": 1049.0002975463867,
+ "y": 1296.6667041778564,
+ "z": "93716ca1.df16b",
"wires": [
[
- "1c84f0b8.618d3f",
- "661254e5.c354ac",
- "30fcd4e2.e8af6c",
- "f65cc795.09a8f8",
- "6002fae9.c462d4",
- "26a41e87.9a2a42",
- "8ad484a4.2e48f8",
- "9cd115c6.7d3528",
- "aa95ae6a.9db0c",
- "917698f.742c268",
- "5d5cd71e.9e8ad8",
- "dd44dc35.baa9a"
+ "d03e1f91.9c56d",
+ "a5ced40f.c5ed98",
+ "200057ef.f758b8",
+ "c6cfba86.3c2758",
+ "1535bf80.d7eaa1",
+ "3d1c31b8.6a42de",
+ "5731ee67.20bdf",
+ "72454488.439cfc",
+ "fa7a1ecf.9d12a",
+ "67a527dc.0e62f8",
+ "112b836f.c3a6fd",
+ "c1718eaa.0441e",
+ "b411ee0f.38431",
+ "1bc42ca7.cbfc53"
]
]
},
{
- "id": "49402706.7c5b88",
+ "id": "e1a1b2cb.34ffd",
"type": "for",
"name": "for",
"xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
"comments": "",
"outputs": 1,
- "x": 520.0001831054688,
- "y": 497.989501953125,
- "z": "b5912bac.e498b8",
+ "x": 959.0002632141113,
+ "y": 888.6563310623169,
+ "z": "93716ca1.df16b",
"wires": [
[
- "caedd83d.51f7c8"
+ "f929eb5b.440608"
]
]
},
{
- "id": "1c84f0b8.618d3f",
+ "id": "d03e1f91.9c56d",
"type": "set",
"name": "set tmp variables for the requested fap service input parms",
"xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n",
"comments": "",
- "x": 910.0011806488037,
- "y": 1000.8786706924438,
- "z": "b5912bac.e498b8",
+ "x": 1375.6682662963867,
+ "y": 932.2120847702026,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "661254e5.c354ac",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary varaibles set. Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 780.5105037689209,
- "y": 1077.0000381469727,
- "z": "b5912bac.e498b8",
- "wires": [
- []
- ]
- },
- {
- "id": "917698f.742c268",
+ "id": "72454488.439cfc",
"type": "execute",
"name": "generate neighbor config URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 873.5108242034912,
- "y": 1138.5557250976562,
- "z": "b5912bac.e498b8",
- "wires": [
- []
- ]
- },
- {
- "id": "30fcd4e2.e8af6c",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchNRCellRelation.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 814.5104579925537,
- "y": 1187.7777709960938,
- "z": "b5912bac.e498b8",
+ "x": 1361.5112609863281,
+ "y": 1154.2226314544678,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "f65cc795.09a8f8",
+ "id": "a5ced40f.c5ed98",
"type": "execute",
- "name": "populate plmnid",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{plmnid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>",
+ "name": "populate idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellCU`\"/>",
"comments": "",
"outputs": 1,
- "x": 878.5105800628662,
- "y": 1283.7777709960938,
- "z": "b5912bac.e498b8",
+ "x": 1336.5109786987305,
+ "y": 1269.4447622299194,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "6002fae9.c462d4",
+ "id": "200057ef.f758b8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 853.5104579925537,
- "y": 1331.7777709960938,
- "z": "b5912bac.e498b8",
+ "x": 1287.5108909606934,
+ "y": 1372.5876927375793,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "26a41e87.9a2a42",
+ "id": "c6cfba86.3c2758",
"type": "execute",
- "name": "populate cid",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{cid}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
+ "name": "populate idNRCellRelation",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idNRCellRelation}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellRelation`\"/>",
"comments": "",
"outputs": 1,
- "x": 862.5104579925537,
- "y": 1368.7777709960938,
- "z": "b5912bac.e498b8",
+ "x": 1324.5107955932617,
+ "y": 1320.4446821212769,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "9cd115c6.7d3528",
+ "id": "3d1c31b8.6a42de",
"type": "execute",
"name": "Configure neighbor using PATCH",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-generic-neighbor-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
"comments": "",
"outputs": 1,
- "x": 876.5104579925537,
- "y": 1498.7778930664062,
- "z": "b5912bac.e498b8",
+ "x": 1348.5108089447021,
+ "y": 1478.4445390701294,
+ "z": "93716ca1.df16b",
"wires": [
[
- "550d2fe8.b2398",
- "c01d1028.d9257"
+ "68f4d126.e55b1",
+ "b2bb07ce.f4e058"
]
]
},
{
- "id": "550d2fe8.b2398",
+ "id": "68f4d126.e55b1",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1171.5103454589844,
- "y": 1505.767346382141,
- "z": "b5912bac.e498b8",
+ "x": 1643.5106964111328,
+ "y": 1485.4339923858643,
+ "z": "93716ca1.df16b",
"wires": [
[
- "6a5a8363.937f4c"
+ "b9ec00d4.b538e"
]
]
},
{
- "id": "c01d1028.d9257",
+ "id": "b2bb07ce.f4e058",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1189.5103874206543,
- "y": 1573.7671728134155,
- "z": "b5912bac.e498b8",
+ "x": 1661.5107383728027,
+ "y": 1553.4338188171387,
+ "z": "93716ca1.df16b",
"wires": [
[
- "52465faf.7e9e9"
+ "d7cf72c2.e9805"
]
]
},
{
- "id": "7626dcea.9b0314",
+ "id": "41489bd.b250264",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PATCH Neighbor Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 1527.510139465332,
- "y": 1560.7672810554504,
- "z": "b5912bac.e498b8",
+ "x": 1999.5104904174805,
+ "y": 1540.4339270591736,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "52465faf.7e9e9",
+ "id": "d7cf72c2.e9805",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1369.510051727295,
- "y": 1571.7672538757324,
- "z": "b5912bac.e498b8",
+ "x": 1841.5104026794434,
+ "y": 1551.4338998794556,
+ "z": "93716ca1.df16b",
"wires": [
[
- "7626dcea.9b0314"
+ "41489bd.b250264"
]
]
},
{
- "id": "6a5a8363.937f4c",
+ "id": "b9ec00d4.b538e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1330.5102081298828,
- "y": 1514.7673320770264,
- "z": "b5912bac.e498b8",
+ "x": 1802.5105590820312,
+ "y": 1494.4339780807495,
+ "z": "93716ca1.df16b",
"wires": [
[
- "c37acb1b.5bf368"
+ "132f7afb.055025"
]
]
},
{
- "id": "c37acb1b.5bf368",
+ "id": "132f7afb.055025",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding a new neighbor\" />",
"comments": "",
- "x": 1506.5099716186523,
- "y": 1499.7673053741455,
- "z": "b5912bac.e498b8",
+ "x": 1978.5103225708008,
+ "y": 1479.4339513778687,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "8ad484a4.2e48f8",
+ "id": "1535bf80.d7eaa1",
"type": "execute",
"name": "Get neighbor details pre-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 886.5103969573975,
- "y": 1413.7777709960938,
- "z": "b5912bac.e498b8",
+ "x": 1376.5107727050781,
+ "y": 1425.444561958313,
+ "z": "93716ca1.df16b",
"wires": [
[
- "91fb4292.af9ba",
- "4fbff7ac.8fb1f8"
+ "ffb3bdf3.53433",
+ "65b8d71f.1788f8"
]
]
},
{
- "id": "91fb4292.af9ba",
+ "id": "ffb3bdf3.53433",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1159.510498046875,
- "y": 1386.43381690979,
- "z": "b5912bac.e498b8",
+ "x": 1631.5108489990234,
+ "y": 1366.1004629135132,
+ "z": "93716ca1.df16b",
"wires": [
[
- "a8a950c8.2502f"
+ "b8b2890a.64acb8"
]
]
},
{
- "id": "4fbff7ac.8fb1f8",
+ "id": "65b8d71f.1788f8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1154.5103302001953,
- "y": 1442.433970451355,
- "z": "b5912bac.e498b8",
+ "x": 1626.5106811523438,
+ "y": 1422.1006164550781,
+ "z": "93716ca1.df16b",
"wires": [
[
- "ffc0c87a.ab73b8"
+ "e1049af6.3e7568"
]
]
},
{
- "id": "ffc0c87a.ab73b8",
+ "id": "e1049af6.3e7568",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1306.5101470947266,
- "y": 1451.4338755607605,
- "z": "b5912bac.e498b8",
+ "x": 1778.510498046875,
+ "y": 1431.1005215644836,
+ "z": "93716ca1.df16b",
"wires": [
[
- "d27f355.abdb1c8"
+ "dcb8a2b0.2ca1d"
]
]
},
{
- "id": "d27f355.abdb1c8",
+ "id": "dcb8a2b0.2ca1d",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.attributes.nRTCI`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.attributes.isHOAllowed`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1467.5100631713867,
- "y": 1445.4341459274292,
- "z": "b5912bac.e498b8",
+ "x": 1939.5104508399963,
+ "y": 1425.1008186340332,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "a8a950c8.2502f",
+ "id": "b8b2890a.64acb8",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
"comments": "",
- "x": 1360.5102882385254,
- "y": 1392.433825492859,
- "z": "b5912bac.e498b8",
+ "x": 1832.5106391906738,
+ "y": 1372.100471496582,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "aa95ae6a.9db0c",
+ "id": "5731ee67.20bdf",
"type": "execute",
"name": "Get neighbor details post-configuration",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
"comments": "",
"outputs": 1,
- "x": 842.5103969573975,
- "y": 1612.6666870117188,
- "z": "b5912bac.e498b8",
+ "x": 1314.510747909546,
+ "y": 1592.333333015442,
+ "z": "93716ca1.df16b",
"wires": [
[
- "9a649311.6c99",
- "6cc8d6fb.f0ac98"
+ "791b1b2d.b6fc04",
+ "83ecad5c.08b18"
]
]
},
{
- "id": "9a649311.6c99",
+ "id": "791b1b2d.b6fc04",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1199.510498046875,
- "y": 1624.3226718902588,
- "z": "b5912bac.e498b8",
+ "x": 1671.5108489990234,
+ "y": 1603.989317893982,
+ "z": "93716ca1.df16b",
"wires": [
[
- "cdae9665.c04dc8"
+ "5765dd3c.e9a584"
]
]
},
{
- "id": "6cc8d6fb.f0ac98",
+ "id": "83ecad5c.08b18",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1194.5103302001953,
- "y": 1680.3228254318237,
- "z": "b5912bac.e498b8",
+ "x": 1666.5106811523438,
+ "y": 1659.9894714355469,
+ "z": "93716ca1.df16b",
"wires": [
[
- "c3f07c0c.f0779"
+ "4aa99161.720b"
]
]
},
{
- "id": "c3f07c0c.f0779",
+ "id": "4aa99161.720b",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1346.5101470947266,
- "y": 1689.3227305412292,
- "z": "b5912bac.e498b8",
+ "x": 1818.510498046875,
+ "y": 1668.9893765449524,
+ "z": "93716ca1.df16b",
"wires": [
[
- "adbc9ce8.ce34e"
+ "840d8d33.ff91a"
]
]
},
{
- "id": "cdae9665.c04dc8",
+ "id": "5765dd3c.e9a584",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
"comments": "",
- "x": 1400.5102882385254,
- "y": 1630.3226804733276,
- "z": "b5912bac.e498b8",
+ "x": 1872.5106391906738,
+ "y": 1609.9893264770508,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "adbc9ce8.ce34e",
+ "id": "840d8d33.ff91a",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Post-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Post-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.attributes.nRTCI`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.attributes.isHOAllowed`\"/>",
"comments": "",
"outputs": 1,
- "x": 1507.5100555419922,
- "y": 1682.3229751586914,
- "z": "b5912bac.e498b8",
+ "x": 1979.5104064941406,
+ "y": 1661.9896211624146,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "9e1d4a81.fff878",
+ "id": "836164a0.8f5908",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 427,
- "y": 324,
- "z": "b5912bac.e498b8",
+ "x": 1250.0000839233398,
+ "y": 799.6667852401733,
+ "z": "93716ca1.df16b",
"wires": [
[
- "3b46224d.2d6b5e"
+ "d893d229.1e59d"
]
]
},
{
- "id": "1cfec41e.135f0c",
+ "id": "655b71f9.458d1",
"type": "switchNode",
"name": "switch mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 325,
- "y": 413,
- "z": "b5912bac.e498b8",
+ "x": 533,
+ "y": 823.6667356491089,
+ "z": "93716ca1.df16b",
"wires": [
[
- "9e1d4a81.fff878",
- "f4668911.4ee4b8"
+ "836164a0.8f5908",
+ "f8eae7b7.829e38"
]
]
},
{
- "id": "f4668911.4ee4b8",
+ "id": "f8eae7b7.829e38",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 358,
- "y": 491,
- "z": "b5912bac.e498b8",
+ "x": 756.0000038146973,
+ "y": 863.6667470932007,
+ "z": "93716ca1.df16b",
"wires": [
[
- "49402706.7c5b88"
+ "e1a1b2cb.34ffd"
]
]
},
{
- "id": "5d5cd71e.9e8ad8",
+ "id": "fa7a1ecf.9d12a",
"type": "execute",
- "name": "populate netconf mount",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{pnf-name}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>",
+ "name": "populate idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUCPFunction`\"/>",
"comments": "",
"outputs": 1,
- "x": 882.9999599456787,
- "y": 1239.0000610351562,
- "z": "b5912bac.e498b8",
+ "x": 1359.0004425048828,
+ "y": 1234.6669702529907,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "3cf0d2d4.0a5d0e",
+ "id": "52143aa1.b77114",
"type": "execute",
"name": "execute TemplateNode",
"xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.template.TemplateNode\" method=\"evaluateTemplate\" >\n <parameter name='templatePath' value='oofpcipoc-dmaap-publish-modifyconfiganr-resp-payload-template.vtl' />\n <parameter name='output' value='resp-payload' />\n <parameter name='prefix' value='sdnr' />",
"comments": "",
"outputs": 1,
- "x": 872.0104598999023,
- "y": 2125.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 999.0104293823242,
+ "y": 2645.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[
- "fb7f30bc.4c65b",
- "bdb5c927.8af808"
+ "e440e098.78e0c",
+ "7053a05.65d0d6"
]
]
},
{
- "id": "fb7f30bc.4c65b",
+ "id": "e440e098.78e0c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1146.0104598999023,
- "y": 2094.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1273.0104293823242,
+ "y": 2614.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[
- "c11aee10.e6e67"
+ "576ec5c3.1d1b0c"
]
]
},
{
- "id": "c11aee10.e6e67",
+ "id": "576ec5c3.1d1b0c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1337.0104598999023,
- "y": 2097.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1464.0104293823242,
+ "y": 2617.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[
- "9a917d5e.1c727"
+ "8466c66f.0d0e98"
]
]
},
{
- "id": "9a917d5e.1c727",
+ "id": "8466c66f.0d0e98",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred sdnr payload template as a string\"/>\n<parameter name='field3' value='`$sdnr.resp-payload`' />",
"comments": "",
"outputs": 1,
- "x": 1505.0104598999023,
- "y": 2098.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1632.0104293823242,
+ "y": 2618.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "df99ee06.4ace2",
+ "id": "a73a0ee8.bd8fb",
"type": "execute",
"name": "remove new lines",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$sdnr.resp-payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n <parameter name=\"target\" value=\"\\n\"/>\n <parameter name=\"replacement\" value=\"\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 844.5104598999023,
- "y": 2241.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 971.5104293823242,
+ "y": 2761.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[
- "c93e93f1.a82ee",
- "185060e1.24becf"
+ "afa088b0.5ed568",
+ "505337c.4e27cc8"
]
]
},
{
- "id": "2dc1f234.42072e",
+ "id": "4c7ec6de.f7c0e8",
"type": "execute",
"name": "remove tabs",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$tmp.oofpcipoc-dmaap-config-resp.payload`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n <parameter name=\"target\" value=\"\\t\"/>\n <parameter name=\"replacement\" value=\"\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 834.0104598999023,
- "y": 2323.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": [
- [
- "6e15985e.9487b8",
- "ee17f7c6.a13008"
- ]
- ]
- },
- {
- "id": "d94faf20.0bc6f",
- "type": "execute",
- "name": "Escape JSON String",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='escapeJsonString' >\n <parameter name=\"source\" value='`$tmp.oofpcipoc-dmaap-config-resp.payload`'/>\n <parameter name=\"target\" value='tmp.oofpcipoc-dmaap-config-resp.payload'/>\n",
- "comments": "",
- "outputs": 1,
- "x": 821.5104598999023,
- "y": 2439.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": [
- [
- "90e3f8bd.7c3bc8",
- "a4d7a3a6.62a39"
- ]
- ]
- },
- {
- "id": "90e3f8bd.7c3bc8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1023.5104598999023,
- "y": 2429.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 961.0104293823242,
+ "y": 2843.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[
- "dc13ddfc.0613e"
+ "367fbfbb.3f84b",
+ "85f2cc20.ba3c"
]
]
},
{
- "id": "6e15985e.9487b8",
+ "id": "367fbfbb.3f84b",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1016.5104598999023,
- "y": 2331.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": [
- [
- "a4df22c7.c42fd"
- ]
- ]
- },
- {
- "id": "dc13ddfc.0613e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1187.5104598999023,
- "y": 2431.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1143.5104293823242,
+ "y": 2851.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[
- "a1498459.692f68"
+ "65dff440.5780ac"
]
]
},
{
- "id": "a1498459.692f68",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template as an Escaped string\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
- "comments": "",
- "outputs": 1,
- "x": 1347.5104598999023,
- "y": 2430.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": [
- []
- ]
- },
- {
- "id": "a4df22c7.c42fd",
+ "id": "65dff440.5780ac",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1201.5104598999023,
- "y": 2329.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1328.5104293823242,
+ "y": 2849.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[
- "64c913b9.99501c"
+ "92783d84.1e475"
]
]
},
{
- "id": "64c913b9.99501c",
+ "id": "92783d84.1e475",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with tabs removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
"comments": "",
"outputs": 1,
- "x": 1403.5104598999023,
- "y": 2324.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1530.5104293823242,
+ "y": 2844.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "c93e93f1.a82ee",
+ "id": "afa088b0.5ed568",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1038.0104598999023,
- "y": 2209.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1165.0104293823242,
+ "y": 2729.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[
- "d0d96a57.50b6a8"
+ "568762d7.690adc"
]
]
},
{
- "id": "d0d96a57.50b6a8",
+ "id": "568762d7.690adc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1213.0104598999023,
- "y": 2223.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1340.0104293823242,
+ "y": 2743.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[
- "f893a35e.08e4f"
+ "53b43155.d39b3"
]
]
},
{
- "id": "f893a35e.08e4f",
+ "id": "53b43155.d39b3",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with lines removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
"comments": "",
"outputs": 1,
- "x": 1401.0104598999023,
- "y": 2225.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1534.0104675292969,
+ "y": 2748.1217332035303,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "bdb5c927.8af808",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1145.0104598999023,
- "y": 2151.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": [
- [
- "3f455a05.46ca56"
- ]
- ]
- },
- {
- "id": "3f455a05.46ca56",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1314.0103378295898,
- "y": 2157.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": [
- [
- "4b319563.0e680c"
- ]
- ]
- },
- {
- "id": "4b319563.0e680c",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error creating SDNR response payload string. Aborting PCI configuration\" />",
- "comments": "",
- "x": 1470.0100936889648,
- "y": 2156.4550261497498,
- "z": "b5912bac.e498b8",
- "wires": []
- },
- {
- "id": "185060e1.24becf",
+ "id": "7053a05.65d0d6",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1059.0104598999023,
- "y": 2280.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1272.0104293823242,
+ "y": 2671.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[
- "f035b64a.afd518"
+ "2c1648f2.22bda8"
]
]
},
{
- "id": "f035b64a.afd518",
+ "id": "2c1648f2.22bda8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1227.0103378295898,
- "y": 2275.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1441.0103073120117,
+ "y": 2677.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[
- "3f311f39.6d976"
+ "94bab17f.bef16"
]
]
},
{
- "id": "3f311f39.6d976",
+ "id": "94bab17f.bef16",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing lines from SDNR response payload string. Aborting PCI configuration\" />",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error creating SDNR response payload string. Aborting Generic neighbor configuration\" />",
"comments": "",
- "x": 1385.0100326538086,
- "y": 2278.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1597.0100631713867,
+ "y": 2676.12168122828,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "ee17f7c6.a13008",
+ "id": "505337c.4e27cc8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1019.0104598999023,
- "y": 2379.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1186.0104293823242,
+ "y": 2800.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[
- "435f1a9.a102ee4"
+ "d8b65a92.3a6a38"
]
]
},
{
- "id": "435f1a9.a102ee4",
+ "id": "d8b65a92.3a6a38",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1195.0103378295898,
- "y": 2380.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1354.0103073120117,
+ "y": 2795.12168122828,
+ "z": "93716ca1.df16b",
"wires": [
[
- "d581508c.2e804"
+ "4d64cb22.623374"
]
]
},
{
- "id": "d581508c.2e804",
+ "id": "4d64cb22.623374",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing tabs from SDNR response payload string. Aborting PCI configuration\" />",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing lines from SDNR response payload string. Aborting Generic neighbor configuration\" />",
"comments": "",
- "x": 1342.0100326538086,
- "y": 2383.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1512.0100021362305,
+ "y": 2798.12168122828,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "a4d7a3a6.62a39",
+ "id": "85f2cc20.ba3c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1017.0104598999023,
- "y": 2491.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1141.0104751586914,
+ "y": 2934.1218128204346,
+ "z": "93716ca1.df16b",
"wires": [
[
- "7a39172d.482ce8"
+ "6c51fb4a.22de44"
]
]
},
{
- "id": "7a39172d.482ce8",
+ "id": "6c51fb4a.22de44",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1179.0103378295898,
- "y": 2487.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1317.010353088379,
+ "y": 2935.1218128204346,
+ "z": "93716ca1.df16b",
"wires": [
[
- "7705a742.9b25b8"
+ "46221b5f.bc8fd4"
]
]
},
{
- "id": "7705a742.9b25b8",
+ "id": "46221b5f.bc8fd4",
"type": "returnFailure",
"name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error inserting escape chars in SDNR response payload string. Aborting PCI configuration\" />",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing tabs from SDNR response payload string. Aborting Generic neighbor configuration\" />",
"comments": "",
- "x": 1340.0100326538086,
- "y": 2495.4550261497498,
- "z": "b5912bac.e498b8",
+ "x": 1464.0100479125977,
+ "y": 2938.1218128204346,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "598648b2.5aa358",
+ "id": "b025f934.fbf218",
"type": "block",
"name": "DMAAP Payload Generation",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 576.0104751586914,
- "y": 2243.4551243782043,
- "z": "b5912bac.e498b8",
+ "x": 703.0104446411133,
+ "y": 2763.1217794567347,
+ "z": "93716ca1.df16b",
"wires": [
[
- "3cf0d2d4.0a5d0e",
- "df99ee06.4ace2",
- "2dc1f234.42072e",
- "d94faf20.0bc6f"
+ "52143aa1.b77114",
+ "a73a0ee8.bd8fb",
+ "4c7ec6de.f7c0e8"
]
]
},
{
- "id": "3e67b041.fa193",
+ "id": "3103a38e.d771ec",
"type": "block",
"name": "DMAAP Reponse Publish",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 438.0104446411133,
- "y": 2591.343816280365,
- "z": "b5912bac.e498b8",
+ "x": 560.0104598999023,
+ "y": 3146.01060295105,
+ "z": "93716ca1.df16b",
"wires": [
[
- "31416be7.b41224",
- "5ccbfc1e.20e2f4"
+ "2a4f46db.7ddf0a",
+ "7618d1ef.077ec",
+ "c3ee7dcf.f6392",
+ "ebff5a7d.3ae608"
]
]
},
{
- "id": "5ccbfc1e.20e2f4",
+ "id": "7618d1ef.077ec",
"type": "execute",
"name": "execute DmaapMsg",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />",
"comments": "",
"outputs": 1,
- "x": 853.0105209350586,
- "y": 2653.4550433158875,
- "z": "b5912bac.e498b8",
+ "x": 833.0105361938477,
+ "y": 3542.121895313263,
+ "z": "93716ca1.df16b",
"wires": [
[
- "35df2cf3.78dc74",
- "ecbae94b.e41fd8"
+ "78df8849.978328",
+ "b04a81c6.04818"
]
]
},
{
- "id": "31416be7.b41224",
+ "id": "2a4f46db.7ddf0a",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfiganr`'/>",
"comments": "",
- "x": 839.6772193908691,
- "y": 2549.4550337791443,
- "z": "b5912bac.e498b8",
+ "x": 800.6772613525391,
+ "y": 2957.121864795685,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "35df2cf3.78dc74",
+ "id": "78df8849.978328",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1027.510498046875,
- "y": 2587.3717608451843,
- "z": "b5912bac.e498b8",
+ "x": 1007.5105133056641,
+ "y": 3476.03861284256,
+ "z": "93716ca1.df16b",
"wires": [
[
- "6faec48c.adf59c"
+ "cfb0100e.7b4bb"
]
]
},
{
- "id": "ecbae94b.e41fd8",
+ "id": "b04a81c6.04818",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1050.510353088379,
- "y": 2716.3718676567078,
- "z": "b5912bac.e498b8",
+ "x": 1030.510368347168,
+ "y": 3605.0387196540833,
+ "z": "93716ca1.df16b",
"wires": [
[
- "7c97eaeb.048ce4"
+ "2aea7185.58dc4e"
]
]
},
{
- "id": "6faec48c.adf59c",
+ "id": "cfb0100e.7b4bb",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1208.510269165039,
- "y": 2590.3718905448914,
- "z": "b5912bac.e498b8",
+ "x": 1188.5102844238281,
+ "y": 3479.038742542267,
+ "z": "93716ca1.df16b",
"wires": [
[
- "96ee7bd4.ade948"
+ "271bf6b2.9b956a"
]
]
},
{
- "id": "96ee7bd4.ade948",
+ "id": "271bf6b2.9b956a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP Config Response message. ConfigDB Updated; TO be rolled back...will handle next release\" />",
"comments": "",
- "x": 1382.5099868774414,
- "y": 2597.3718156814575,
- "z": "b5912bac.e498b8",
+ "x": 1362.5100021362305,
+ "y": 3486.038667678833,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "7c97eaeb.048ce4",
+ "id": "2aea7185.58dc4e",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1210.5099983215332,
- "y": 2708.3718400001526,
- "z": "b5912bac.e498b8",
+ "x": 1190.5100135803223,
+ "y": 3597.038691997528,
+ "z": "93716ca1.df16b",
"wires": [
[
- "9752c29a.925d5"
+ "f884c5ea.f20388"
]
]
},
{
- "id": "9752c29a.925d5",
+ "id": "f884c5ea.f20388",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Config Response Message Successfully Published \"/>",
"comments": "",
"outputs": 1,
- "x": 1387.5101165771484,
- "y": 2713.3719487190247,
- "z": "b5912bac.e498b8",
+ "x": 1367.5101318359375,
+ "y": 3602.0388007164,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "6658e995.a8afc8",
+ "id": "7ee07b59.9e6bf4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 891.0104370117188,
- "y": 843.34375,
- "z": "b5912bac.e498b8",
+ "x": 2703.0106811523438,
+ "y": 1603.010416984558,
+ "z": "93716ca1.df16b",
"wires": [
[
- "be155b7f.4b4658",
- "e5e6ffd6.3ceea",
- "33c67261.6b5ade",
- "aa8fe0bd.58667"
+ "333a376b.8a5ba8",
+ "7c603463.f85d2c",
+ "e325883.c2c6178",
+ "e93b8bb1.624708"
]
]
},
{
- "id": "be155b7f.4b4658",
+ "id": "333a376b.8a5ba8",
"type": "execute",
"name": "generate configdb nbr ho patch url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-ho-for-nbr`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
"comments": "",
"outputs": 1,
- "x": 1173.0103607177734,
- "y": 696.3437967300415,
- "z": "b5912bac.e498b8",
+ "x": 2985.0106048583984,
+ "y": 1456.0104637145996,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "e5e6ffd6.3ceea",
+ "id": "7c603463.f85d2c",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\" />\n<parameter name='field3' value=\"`$tmp.alias`\" />\n<parameter name='field4' value=\"`$tmp.cid`\" />",
"comments": "",
"outputs": 1,
- "x": 1182.0104522705078,
- "y": 809.3437929153442,
- "z": "b5912bac.e498b8",
+ "x": 2994.010696411133,
+ "y": 1569.0104598999023,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "33c67261.6b5ade",
+ "id": "e325883.c2c6178",
"type": "execute",
"name": "Configure PCI value in configdb",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-ho-for-nbr.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n",
"comments": "",
"outputs": 1,
- "x": 1149.0104370117188,
- "y": 914.34375,
- "z": "b5912bac.e498b8",
+ "x": 2961.0106811523438,
+ "y": 1674.010416984558,
+ "z": "93716ca1.df16b",
"wires": [
[
- "cbd12702.8e4338",
- "12af70f8.c2945f"
+ "3ba68e94.ae1022",
+ "b05dcf0b.e1a9e"
]
]
},
{
- "id": "cbd12702.8e4338",
+ "id": "3ba68e94.ae1022",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1364.0104370117188,
- "y": 857.34375,
- "z": "b5912bac.e498b8",
+ "x": 3176.0106811523438,
+ "y": 1617.010416984558,
+ "z": "93716ca1.df16b",
"wires": [
[
- "eebd8d4d.fd481"
+ "210e3756.c957f8"
]
]
},
{
- "id": "12af70f8.c2945f",
+ "id": "b05dcf0b.e1a9e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1364.0103149414062,
- "y": 953.3436279296875,
- "z": "b5912bac.e498b8",
+ "x": 3196.010810852051,
+ "y": 1713.0102796554565,
+ "z": "93716ca1.df16b",
"wires": [
[
- "342f48d0.8ab638"
+ "69eb930.9374e6c"
]
]
},
{
- "id": "eebd8d4d.fd481",
+ "id": "210e3756.c957f8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1533.0103149414062,
- "y": 868.34375,
- "z": "b5912bac.e498b8",
+ "x": 3345.0105590820312,
+ "y": 1628.010416984558,
+ "z": "93716ca1.df16b",
"wires": [
[
- "d55d851b.fc1958"
+ "79bb5cbc.ddc6b4"
]
]
},
{
- "id": "342f48d0.8ab638",
+ "id": "69eb930.9374e6c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1526.0100708007812,
- "y": 954.34375,
- "z": "b5912bac.e498b8",
+ "x": 3358.010566711426,
+ "y": 1714.010401725769,
+ "z": "93716ca1.df16b",
"wires": [
[
- "6dcdc966.a406c8"
+ "3d553e85.a473f2"
]
]
},
{
- "id": "d55d851b.fc1958",
+ "id": "79bb5cbc.ddc6b4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error updating configDB. Aborting Nbr HO configuration\" />",
"comments": "",
- "x": 1687.010009765625,
- "y": 861.34375,
- "z": "b5912bac.e498b8",
+ "x": 3499.01025390625,
+ "y": 1621.010416984558,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "6dcdc966.a406c8",
+ "id": "3d553e85.a473f2",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"HO Value for nbr updated in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 1681.010269165039,
- "y": 951.3437585830688,
- "z": "b5912bac.e498b8",
+ "x": 3513.0107650756836,
+ "y": 1711.010410308838,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "5dfa3076.0f2dc",
+ "id": "5e95d235.988f0c",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 774.0104522705078,
- "y": 637.343770980835,
- "z": "b5912bac.e498b8",
+ "x": 2586.010696411133,
+ "y": 1397.010437965393,
+ "z": "93716ca1.df16b",
"wires": [
[
- "f86727f0.323a28",
- "b1853d4e.2ef79"
+ "6f0b801a.27af3",
+ "25cfc748.d94fc8"
]
]
},
{
- "id": "f86727f0.323a28",
+ "id": "6f0b801a.27af3",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 816.0104370117188,
- "y": 767.34375,
- "z": "b5912bac.e498b8",
+ "x": 2628.0106811523438,
+ "y": 1527.010416984558,
+ "z": "93716ca1.df16b",
"wires": [
[
- "6658e995.a8afc8"
+ "7ee07b59.9e6bf4"
]
]
},
{
- "id": "aa8fe0bd.58667",
+ "id": "e93b8bb1.624708",
"type": "execute",
"name": "Update target cellid for configdb nbr ho patch url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.patch-ho-for-nbr.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{targetCellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
"comments": "",
"outputs": 1,
- "x": 1241.0103912353516,
- "y": 748.4549632072449,
- "z": "b5912bac.e498b8",
- "wires": [
- []
- ]
- },
- {
- "id": "fcdde69d.5ef6b8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"ConfigDB Update Skipped\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1213.0103645324707,
- "y": 623.5659379959106,
- "z": "b5912bac.e498b8",
+ "x": 3053.0106353759766,
+ "y": 1508.121630191803,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "b1853d4e.2ef79",
+ "id": "25cfc748.d94fc8",
"type": "outcome",
"name": "Not Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1039.0103302001953,
- "y": 619.6770076751709,
- "z": "b5912bac.e498b8",
+ "x": 2993.010643005371,
+ "y": 1387.3435907363892,
+ "z": "93716ca1.df16b",
"wires": [
[
- "fcdde69d.5ef6b8"
+ "8a4f7193.b86bf"
]
]
},
{
- "id": "b59fe403.100df8",
+ "id": "2e5bd9d.2048726",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 880.0104370117188,
- "y": 1921.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 1277.010856628418,
+ "y": 2261.2328357696533,
+ "z": "93716ca1.df16b",
"wires": [
[
- "5fee4a24.714e24",
- "e80f49c7.bc5e98",
- "9f3eddb8.4c8b6",
- "ede238d3.02b908"
+ "f9a355bd.18d688",
+ "9acfbe6.cb2fb4",
+ "21d304e2.82fa0c",
+ "d2241176.acb26"
]
]
},
{
- "id": "5fee4a24.714e24",
+ "id": "f9a355bd.18d688",
"type": "execute",
"name": "generate configdb nbr ho patch url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-ho-for-nbr`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
"comments": "",
"outputs": 1,
- "x": 1207.0103759765625,
- "y": 1782.5660467147827,
- "z": "b5912bac.e498b8",
+ "x": 1644.0108032226562,
+ "y": 2202.2328839302063,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "e80f49c7.bc5e98",
+ "id": "9acfbe6.cb2fb4",
"type": "execute",
"name": "Configure Nbr HO value in configdb",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-ho-for-nbr.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n",
"comments": "",
"outputs": 1,
- "x": 1138.0104370117188,
- "y": 1992.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 1575.0108642578125,
+ "y": 2412.232877254486,
+ "z": "93716ca1.df16b",
"wires": [
[
- "fde36f04.ecf63",
- "5da0cd73.d5ac34"
+ "9d654cdb.37cfb",
+ "1cdd3f11.0ca791"
]
]
},
{
- "id": "fde36f04.ecf63",
+ "id": "9d654cdb.37cfb",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1353.0104370117188,
- "y": 1935.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 1790.0108642578125,
+ "y": 2355.232877254486,
+ "z": "93716ca1.df16b",
"wires": [
[
- "b0184360.4173a"
+ "b793486c.9f63a8"
]
]
},
{
- "id": "5da0cd73.d5ac34",
+ "id": "1cdd3f11.0ca791",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1353.0103149414062,
- "y": 2031.56591796875,
- "z": "b5912bac.e498b8",
+ "x": 1790.0107421875,
+ "y": 2451.2327551841736,
+ "z": "93716ca1.df16b",
"wires": [
[
- "6d733c40.16c4e4"
+ "f10cf49.aecaa08"
]
]
},
{
- "id": "b0184360.4173a",
+ "id": "b793486c.9f63a8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1522.0103149414062,
- "y": 1946.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 1959.0107421875,
+ "y": 2366.232877254486,
+ "z": "93716ca1.df16b",
"wires": [
[
- "c56ebe3b.bbda7"
+ "46e50dfd.86c824"
]
]
},
{
- "id": "6d733c40.16c4e4",
+ "id": "f10cf49.aecaa08",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1515.0100708007812,
- "y": 2032.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 1952.010498046875,
+ "y": 2452.232877254486,
+ "z": "93716ca1.df16b",
"wires": [
[
- "c9d72369.59a1b"
+ "ccfb6b0a.501f38"
]
]
},
{
- "id": "c56ebe3b.bbda7",
+ "id": "46e50dfd.86c824",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error updating configDB. Aborting Nbr HO configuration\" />",
"comments": "",
- "x": 1676.010009765625,
- "y": 1939.5660400390625,
- "z": "b5912bac.e498b8",
+ "x": 2113.0104370117188,
+ "y": 2359.232877254486,
+ "z": "93716ca1.df16b",
"wires": []
},
{
- "id": "c9d72369.59a1b",
+ "id": "ccfb6b0a.501f38",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"HO Value for nbr updated in ConfigDB\"/>",
"comments": "",
"outputs": 1,
- "x": 1670.010269165039,
- "y": 2029.5660486221313,
- "z": "b5912bac.e498b8",
+ "x": 2107.010696411133,
+ "y": 2449.232885837555,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "dd44dc35.baa9a",
+ "id": "67a527dc.0e62f8",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 696.0107116699219,
- "y": 1734.566120147705,
- "z": "b5912bac.e498b8",
+ "x": 1168.0110626220703,
+ "y": 1714.2327661514282,
+ "z": "93716ca1.df16b",
"wires": [
[
- "b541eb45.1e5278",
- "eefdf306.9fa25"
+ "36a46d3c.be4442",
+ "5e248492.325e0c"
]
]
},
{
- "id": "b541eb45.1e5278",
+ "id": "36a46d3c.be4442",
"type": "outcome",
"name": "Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 900.0104904174805,
- "y": 1819.5660769939423,
- "z": "b5912bac.e498b8",
+ "x": 1007.0108604431152,
+ "y": 2104.2328310012817,
+ "z": "93716ca1.df16b",
"wires": [
[
- "b59fe403.100df8"
+ "2e5bd9d.2048726"
]
]
},
{
- "id": "9f3eddb8.4c8b6",
+ "id": "21d304e2.82fa0c",
"type": "execute",
"name": "Update target cellid for configdb nbr ho patch url",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.patch-ho-for-nbr.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n <parameter name=\"target\" value=\"{targetCellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
"comments": "",
"outputs": 1,
- "x": 1258.0103759765625,
- "y": 1835.6773228645325,
- "z": "b5912bac.e498b8",
+ "x": 1695.0108032226562,
+ "y": 2255.344160079956,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "a5a8d47.a6e5b28",
+ "id": "373fca41.5a1086",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"ConfigDB Update Skipped\"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CPS is Deployed, ConfigDB Skipped\"/>",
"comments": "",
"outputs": 1,
- "x": 1191.0104579925537,
- "y": 1732.788185119629,
- "z": "b5912bac.e498b8",
+ "x": 1607.0107688903809,
+ "y": 1754.4547662734985,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
},
{
- "id": "eefdf306.9fa25",
+ "id": "5e248492.325e0c",
"type": "outcome",
"name": "Not Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1012.010383605957,
- "y": 1719.8994035720825,
- "z": "b5912bac.e498b8",
+ "x": 1484.0107345581055,
+ "y": 1699.5660495758057,
+ "z": "93716ca1.df16b",
"wires": [
[
- "a5a8d47.a6e5b28"
+ "ae070250.5fb89"
]
]
},
{
- "id": "ede238d3.02b908",
+ "id": "d2241176.acb26",
"type": "record",
"name": "record configdb RestAPI parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\" />\n<parameter name='field3' value=\"`$tmp.alias`\" />\n<parameter name='field4' value=\"`$tmp.cid`\" />",
"comments": "",
"outputs": 1,
- "x": 1203.565933227539,
- "y": 1892.3437194824219,
- "z": "b5912bac.e498b8",
+ "x": 1640.5663604736328,
+ "y": 2312.0105566978455,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2816cf49.04226",
+ "type": "set",
+ "name": "set properties for DMAAP header",
+ "xml": "<set>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.timestamp\" value=\"`$generic-neighbor-configuration-input.timeStamp`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.requestID\" value=\"`$generic-neighbor-configuration-input.requestID`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\" value=\"`$generic-neighbor-configuration-input.subRequestID`\"/>",
+ "comments": "",
+ "x": 533.9999847412109,
+ "y": 289.66668033599854,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "16823f81.eb375",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Header stored in properties file \"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n<parameter name=\"field3\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>\n<parameter name=\"field4\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 451.99998474121094,
+ "y": 336.66668224334717,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c3ee7dcf.f6392",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Before DMAAP Event - template file name, restapiURL\"/>\n<parameter name='field3' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n<parameter name='field4' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n<parameter name=\"field5\" value=\"Before DMAAP Event - Timestamp, RequestID, subRequestID\"/>\n<parameter name=\"field6\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n<parameter name=\"field7\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>\n<parameter name=\"field8\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 828.0000152587891,
+ "y": 3441.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ebff5a7d.3ae608",
+ "type": "block",
+ "name": "Remove escape chars",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 940.0000152587891,
+ "y": 3148.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "e0e39992.047088",
+ "ed36b701.cd7678",
+ "7b42709a.d2c18"
+ ]
+ ]
+ },
+ {
+ "id": "e0e39992.047088",
+ "type": "execute",
+ "name": "Timestamp",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n <parameter name=\"outputPath\" value=\"prop.oofpcipoc-dmaap-config-resp.timestamp\"/>\n <parameter name=\"target\" value='\"'/>\n <parameter name=\"replacement\" value=''/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1149.000015258789,
+ "y": 3023.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "be777b6b.1902e8",
+ "3b769001.8c875"
+ ]
+ ]
+ },
+ {
+ "id": "be777b6b.1902e8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1331.500015258789,
+ "y": 3031.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "6ed29261.1ded5c"
+ ]
+ ]
+ },
+ {
+ "id": "6ed29261.1ded5c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1516.500015258789,
+ "y": 3029.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "55c7e10b.6ef8b"
+ ]
+ ]
+ },
+ {
+ "id": "55c7e10b.6ef8b",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Quotation removed from timestamp for DMAAP response header \\r\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.timestamp`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1719.500015258789,
+ "y": 3025.666786670685,
+ "z": "93716ca1.df16b",
"wires": [
[]
]
+ },
+ {
+ "id": "3b769001.8c875",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1334.000015258789,
+ "y": 3079.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "91641e00.19532"
+ ]
+ ]
+ },
+ {
+ "id": "91641e00.19532",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1509.9998931884766,
+ "y": 3080.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "fc8fcaad.3d9528"
+ ]
+ ]
+ },
+ {
+ "id": "fc8fcaad.3d9528",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing quotation from timestamp for DMAAP response header. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1658.9996490478516,
+ "y": 3087.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "ed36b701.cd7678",
+ "type": "execute",
+ "name": "RequestID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>\n <parameter name=\"outputPath\" value=\"prop.oofpcipoc-dmaap-config-resp.requestID\"/>\n <parameter name=\"target\" value='\"'/>\n <parameter name=\"replacement\" value=''/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1156.000015258789,
+ "y": 3164.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "d9a4b590.61dcf8",
+ "3c1bbeac.ead2d2"
+ ]
+ ]
+ },
+ {
+ "id": "d9a4b590.61dcf8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1338.500015258789,
+ "y": 3172.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "e737e3a7.64beb"
+ ]
+ ]
+ },
+ {
+ "id": "e737e3a7.64beb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1523.500015258789,
+ "y": 3170.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "8d3f1f67.cb6d2"
+ ]
+ ]
+ },
+ {
+ "id": "8d3f1f67.cb6d2",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Quotation removed from requestID for DMAAP response header \\r\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.requestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1725.500015258789,
+ "y": 3165.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3c1bbeac.ead2d2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1341.000015258789,
+ "y": 3220.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "85cbfa6a.583a78"
+ ]
+ ]
+ },
+ {
+ "id": "85cbfa6a.583a78",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1516.9998931884766,
+ "y": 3221.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "b3ae9015.4961a"
+ ]
+ ]
+ },
+ {
+ "id": "b3ae9015.4961a",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing quotation from requestID for DMAAP response header. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1665.9996490478516,
+ "y": 3224.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "7b42709a.d2c18",
+ "type": "execute",
+ "name": "subRequestID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n <parameter name=\"source\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>\n <parameter name=\"outputPath\" value=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\"/>\n <parameter name=\"target\" value='\"'/>\n <parameter name=\"replacement\" value=''/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1091.000015258789,
+ "y": 3304.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "86c5ba9c.cbb738",
+ "8336750.437c288"
+ ]
+ ]
+ },
+ {
+ "id": "86c5ba9c.cbb738",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1273.500015258789,
+ "y": 3312.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "69338529.ff300c"
+ ]
+ ]
+ },
+ {
+ "id": "69338529.ff300c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1458.500015258789,
+ "y": 3310.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "c6a56252.dfaea"
+ ]
+ ]
+ },
+ {
+ "id": "c6a56252.dfaea",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Quotation removed from subRequestID for DMAAP response header \\r\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc-dmaap-config-resp.subrequestID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1660.500015258789,
+ "y": 3305.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8336750.437c288",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1276.000015258789,
+ "y": 3360.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "ee4be641.ccbc38"
+ ]
+ ]
+ },
+ {
+ "id": "ee4be641.ccbc38",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1451.9998931884766,
+ "y": 3361.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "480a5f5d.9d504"
+ ]
+ ]
+ },
+ {
+ "id": "480a5f5d.9d504",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error removing quotation from timestamp for DMAAP response header. Aborting Generic neighbor configuration\" />",
+ "comments": "",
+ "x": 1598.9995880126953,
+ "y": 3364.666786670685,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "112b836f.c3a6fd",
+ "type": "switchNode",
+ "name": "is blacklisted",
+ "xml": "<switch test='`$tmp.blacklisted`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1256.1670227050781,
+ "y": 1001.1667203903198,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "e6abed7f.2d8fc",
+ "9428e6c7.bdbd68"
+ ]
+ ]
+ },
+ {
+ "id": "e6abed7f.2d8fc",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1446.1670303344727,
+ "y": 983.1667194366455,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "e7850e65.747a3"
+ ]
+ ]
+ },
+ {
+ "id": "9428e6c7.bdbd68",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1453.1391983032227,
+ "y": 1023.8056373596191,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "721613a3.d7ab2c"
+ ]
+ ]
+ },
+ {
+ "id": "911f37c7.a6eaf8",
+ "type": "set",
+ "name": "set isHOAllowed as false",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />",
+ "comments": "",
+ "x": 1877.1113739013672,
+ "y": 979.9167194366455,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "4437ac82.bcc6c4",
+ "type": "set",
+ "name": "set isHOAllowed as true",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />",
+ "comments": "",
+ "x": 1870.5557098388672,
+ "y": 1018.2499732971191,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "e7850e65.747a3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1630.1670303344727,
+ "y": 981.9443893432617,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "911f37c7.a6eaf8"
+ ]
+ ]
+ },
+ {
+ "id": "721613a3.d7ab2c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1618.3335342407227,
+ "y": 1029.3610563278198,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "4437ac82.bcc6c4"
+ ]
+ ]
+ },
+ {
+ "id": "c1718eaa.0441e",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellCU\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.idNRCellRelation\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.idGNBCUCPFunction\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>",
+ "comments": "",
+ "x": 1293.500331878662,
+ "y": 1057.500075340271,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "b411ee0f.38431",
+ "type": "execute",
+ "name": "populate mount name",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUCPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1338.1671295166016,
+ "y": 1194.5000009536743,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "560d1a47.8473d4",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 488.86407470703125,
+ "y": 466.88648796081543,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ecefd81d.f9cab8",
+ "type": "execute",
+ "name": "getAnchors URL",
+ "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 500.6139907836914,
+ "y": 417.7078561782837,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3f5bd73.2a4f028",
+ "type": "execute",
+ "name": "set anchors size",
+ "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 525.1614379882812,
+ "y": 559.8145093917847,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "980162ee.9edeb",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 929.6611862182617,
+ "y": 544.6676582098007,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a8b2bc66.e3a98",
+ "type": "execute",
+ "name": "initialize nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 557.7516937255859,
+ "y": 603.0527515411377,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f0a7b180.38474",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 726.1695022583008,
+ "y": 679.5650014877319,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "1938693.e03a497",
+ "73399f70.9ab02"
+ ]
+ ]
+ },
+ {
+ "id": "56fbabb.efc7154",
+ "type": "execute",
+ "name": "read anchorName",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1512.868034362793,
+ "y": 598.4857696294785,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4eb9dd77.949f74",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 531.0371704101562,
+ "y": 639.949969291687,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "f40e037f.bc749"
+ ]
+ ]
+ },
+ {
+ "id": "f40e037f.bc749",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 735.5690765380859,
+ "y": 634.906268119812,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "3983f507.2f68da",
+ "980162ee.9edeb"
+ ]
+ ]
+ },
+ {
+ "id": "3983f507.2f68da",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 954.1457443237305,
+ "y": 591.763445854187,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "7a22756f.e5a93c"
+ ]
+ ]
+ },
+ {
+ "id": "7a22756f.e5a93c",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1137.4513359069824,
+ "y": 556.2356939315796,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "f0e5d566.9803a8"
+ ]
+ ]
+ },
+ {
+ "id": "f0e5d566.9803a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1308.7537689208984,
+ "y": 542.5689891576767,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "3bdadb62.fea184",
+ "7961d9b7.7fe598"
+ ]
+ ]
+ },
+ {
+ "id": "3bdadb62.fea184",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1487.6671905517578,
+ "y": 542.3745311498642,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73399f70.9ab02",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 951.9449920654297,
+ "y": 670.1368945837021,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "b771af8b.ffacc"
+ ]
+ ]
+ },
+ {
+ "id": "1938693.e03a497",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 935.9728240966797,
+ "y": 628.8868926763535,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b771af8b.ffacc",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1135.7505798339844,
+ "y": 626.6091836690903,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "32307f0a.71ea1"
+ ]
+ ]
+ },
+ {
+ "id": "32307f0a.71ea1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1331.8864135742188,
+ "y": 628.831350684166,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "56fbabb.efc7154",
+ "bd7a2ea8.b034e"
+ ]
+ ]
+ },
+ {
+ "id": "902d542b.495ea8",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 524.9103813171387,
+ "y": 685.4107446670532,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "f0a7b180.38474"
+ ]
+ ]
+ },
+ {
+ "id": "7961d9b7.7fe598",
+ "type": "execute",
+ "name": "set nearRTRIC size",
+ "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 1486.7253036499023,
+ "y": 494.053573012352,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd7a2ea8.b034e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1528.8125305175781,
+ "y": 647.2079404592514,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "c181925b.0b237",
+ "a229596b.c5e3c8",
+ "336876a2.4db05a",
+ "e6d5faef.426518"
+ ]
+ ]
+ },
+ {
+ "id": "292f2bdb.404e94",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 738.1179809570312,
+ "y": 443.26336228847504,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "babc71f6.4b1db"
+ ]
+ ]
+ },
+ {
+ "id": "689197fa.211fb8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 752.1181526184082,
+ "y": 517.4577779769897,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "77d5394c.7997b8"
+ ]
+ ]
+ },
+ {
+ "id": "babc71f6.4b1db",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 880.8124771118164,
+ "y": 440.8745616674423,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "770e5775.57e468",
+ "d035965a.8e7598"
+ ]
+ ]
+ },
+ {
+ "id": "77d5394c.7997b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 900.562313079834,
+ "y": 494.1244844198227,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "37717870.1cbac8",
+ "ca6bc514.5f28a8"
+ ]
+ ]
+ },
+ {
+ "id": "770e5775.57e468",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1064.5899047851562,
+ "y": 404.7077716588974,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "37717870.1cbac8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1082.3120765686035,
+ "y": 478.3745254278183,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ca6bc514.5f28a8",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/generic-neighbor-config-context.log' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1095.840316772461,
+ "y": 511.12452733516693,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d035965a.8e7598",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failed to fetch anchors from CPS\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1058.3958168029785,
+ "y": 441.23560750484467,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2e676669.44090a",
+ "type": "execute",
+ "name": "Get list of anchors from CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 545.8124008178711,
+ "y": 515.4817037582397,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "689197fa.211fb8",
+ "292f2bdb.404e94"
+ ]
+ ]
+ },
+ {
+ "id": "df020a42.c20898",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2034.6667022705078,
+ "y": 675.9999841451645,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "460c436f.8ca33c"
+ ]
+ ]
+ },
+ {
+ "id": "460c436f.8ca33c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2243.6666679382324,
+ "y": 647.0001262426376,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "f3ad33eb.84a38",
+ "e0c4e26b.1144a",
+ "b9def43d.5f7818"
+ ]
+ ]
+ },
+ {
+ "id": "3afb70c7.5e4ee",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2057.666666030884,
+ "y": 622.0001262426376,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "d61cc65e.3894e8"
+ ]
+ ]
+ },
+ {
+ "id": "d61cc65e.3894e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2280.524028778076,
+ "y": 574.2858194112778,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "563b108b.4f55f"
+ ]
+ ]
+ },
+ {
+ "id": "c181925b.0b237",
+ "type": "execute",
+ "name": "generate getNearRTRICsFromidGNBCUCPFunction URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByidGNBCUCPFunction.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.anchor.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1839.5988578796387,
+ "y": 534.931990981102,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a229596b.c5e3c8",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getNearRTRICByidGNBCUCPFunction.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByidGNBCUCPFunction.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-idgnbcucpfunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1759.5989112854004,
+ "y": 576.9319919347763,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "336876a2.4db05a",
+ "type": "record",
+ "name": "record TBDMT RestAPI params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get NearRTRIC for idGNBCUCPFunction\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByidGNBCUCPFunction.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1786.5988731384277,
+ "y": 617.9319928884506,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e6d5faef.426518",
+ "type": "execute",
+ "name": "Get nearRTRIC for idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByidGNBCUCPFunction.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-idgnbcucpfunction.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-cps-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1786.5988121032715,
+ "y": 662.9319947957993,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "3afb70c7.5e4ee",
+ "df020a42.c20898"
+ ]
+ ]
+ },
+ {
+ "id": "e0c4e26b.1144a",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRTRIC ID info from CPS\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2450.59867477417,
+ "y": 671.9319448471069,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f3ad33eb.84a38",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/generic-neighbor-config-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2429.3767471313477,
+ "y": 723.9321489334106,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "563b108b.4f55f",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2452.598819732666,
+ "y": 576.0430024862289,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "f1691caa.0d71",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idGNBCUCP\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[0].pnf-name`\"/>\n",
+ "comments": "",
+ "x": 508.6666488647461,
+ "y": 380.3333435058594,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "b9def43d.5f7818",
+ "type": "execute",
+ "name": "read nearRTRICId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.[0]'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2468.6667098999023,
+ "y": 623.6666870117188,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1bc42ca7.cbfc53",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUCPFunction\"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUCPFunction`\"/>\n<parameter name=\"field3\" value=\"idNRCellCU\"/>\n<parameter name=\"field4\" value=\"`$tmp.idNRCellCU`\"/>\n<parameter name=\"field5\" value=\"idNRCellRelation\"/>\n<parameter name=\"field6\" value=\"`$tmp.idNRCellRelation`\"/>\n<parameter name=\"field7\" value=\"isHOAllowed\"/>\n<parameter name=\"field8\" value=\"`$tmp.isHOAllowed`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1284.7117309570312,
+ "y": 1104.4444608688354,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4f68e3db.956bac",
+ "type": "switchNode",
+ "name": "is blacklisted",
+ "xml": "<switch test='`$tmp.blacklisted`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2593.888641357422,
+ "y": 834.8888349533081,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "c63e7d25.5ef1b",
+ "e6ecbedf.8ddcb"
+ ]
+ ]
+ },
+ {
+ "id": "c63e7d25.5ef1b",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2783.8886489868164,
+ "y": 816.8888339996338,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "8a4616a8.b07548"
+ ]
+ ]
+ },
+ {
+ "id": "e6ecbedf.8ddcb",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2790.8608169555664,
+ "y": 857.5277519226074,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "76352c73.0ba134"
+ ]
+ ]
+ },
+ {
+ "id": "1b68d278.589ade",
+ "type": "set",
+ "name": "set isHOAllowed as false",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />",
+ "comments": "",
+ "x": 3214.832992553711,
+ "y": 813.6388339996338,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "c533f671.aa9438",
+ "type": "set",
+ "name": "set isHOAllowed as true",
+ "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />",
+ "comments": "",
+ "x": 3208.277328491211,
+ "y": 851.9720878601074,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "8a4616a8.b07548",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2967.8886489868164,
+ "y": 815.66650390625,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "1b68d278.589ade"
+ ]
+ ]
+ },
+ {
+ "id": "76352c73.0ba134",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2956.0551528930664,
+ "y": 863.0831708908081,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "c533f671.aa9438"
+ ]
+ ]
+ },
+ {
+ "id": "d62d2854.e6ac28",
+ "type": "set",
+ "name": "set tmp variables",
+ "xml": "<set>\n<parameter name=\"tmp.idNRCellCU\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.idNRCellRelation\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.idGNBCUCPFunction\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n",
+ "comments": "",
+ "x": 2612.888683319092,
+ "y": 887.888861656189,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "15d3f16c.8176ef",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUCPFunction\"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUCPFunction`\"/>\n<parameter name=\"field3\" value=\"idNRCellCU\"/>\n<parameter name=\"field4\" value=\"`$tmp.idNRCellCU`\"/>\n<parameter name=\"field5\" value=\"idNRCellRelation\"/>\n<parameter name=\"field6\" value=\"`$tmp.idNRCellRelation`\"/>\n<parameter name=\"field7\" value=\"isHOAllowed\"/>\n<parameter name=\"field8\" value=\"`$tmp.isHOAllowed`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2594.099864959717,
+ "y": 934.8332014083862,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f8b63e76.98572",
+ "type": "execute",
+ "name": "populate idNRCellCU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellCU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2625.555351257324,
+ "y": 1070.99990940094,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1fdbb9e6.5c2526",
+ "type": "execute",
+ "name": "populate idNRCellRelation",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idNRCellRelation}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellRelation`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2635.2217712402344,
+ "y": 1125.3331651687622,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "57f80d61.d3fa74",
+ "type": "execute",
+ "name": "populate idGNBCUCPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUCPFunction`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2651.378105163574,
+ "y": 1031.2221269607544,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "49974804.2019b8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1887.4895629882812,
+ "y": 1875.000002861023,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "adafd367.d3827"
+ ]
+ ]
+ },
+ {
+ "id": "adafd367.d3827",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2132.1562576293945,
+ "y": 1830.6667032241821,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "1280ded8.c1edc1",
+ "d4c50662.271958"
+ ]
+ ]
+ },
+ {
+ "id": "d4c50662.271958",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2312.823257446289,
+ "y": 1802.1109952926636,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "1280ded8.c1edc1",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2331.823097229004,
+ "y": 1856.9999980926514,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "d8ab9c3e.03a3b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1905.3077011108398,
+ "y": 1997.5757141113281,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "a538b6de.81e968"
+ ]
+ ]
+ },
+ {
+ "id": "a538b6de.81e968",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2155.3076248168945,
+ "y": 1942.5758934020996,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "2b0af4ae.08b65c"
+ ]
+ ]
+ },
+ {
+ "id": "2b0af4ae.08b65c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NRCellRelation info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2340.641128540039,
+ "y": 1920.576096534729,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b2dbf27a.21124",
+ "type": "execute",
+ "name": "generate put ho nrcellrelation url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putho.nrcellrelation.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1675.021671295166,
+ "y": 1808.2939615249634,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "73cb27d4.c11058",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.putho.nrcellrelation.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putho.nrcellrelation.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-ho-nrcellrelation`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1642.0217628479004,
+ "y": 1862.6273832321167,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "67f8454e.69e89c",
+ "type": "execute",
+ "name": "put ho nrcellrelation",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putho.nrcellrelation.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-ho.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-ho-nrcellrelation-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1617.4879760742188,
+ "y": 1969.4272661209106,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "49974804.2019b8",
+ "d8ab9c3e.03a3b"
+ ]
+ ]
+ },
+ {
+ "id": "e1f9dbeb.b36d08",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to put ho NRCellRelation\"/>\n<parameter name='field2' value=\"`$tmp.cps.putho.nrcellrelation.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1597.661808013916,
+ "y": 1916.6771030426025,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ae070250.5fb89",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1391.489601135254,
+ "y": 1808.6666860580444,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "373fca41.5a1086",
+ "b2dbf27a.21124",
+ "73cb27d4.c11058",
+ "e1f9dbeb.b36d08",
+ "67f8454e.69e89c"
+ ]
+ ]
+ },
+ {
+ "id": "eff92940.1fb528",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CPS is Deployed, ConfigDB Skipped\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3667.4895629882812,
+ "y": 1332.6666288375854,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d06c1323.53c5d",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3947.9683570861816,
+ "y": 1453.2118654251099,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "9b66cf4a.4c6ed"
+ ]
+ ]
+ },
+ {
+ "id": "9b66cf4a.4c6ed",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4192.635051727295,
+ "y": 1408.878565788269,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "7947ff08.c0955",
+ "663da05b.08758"
+ ]
+ ]
+ },
+ {
+ "id": "663da05b.08758",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4373.302051544189,
+ "y": 1380.3228578567505,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "7947ff08.c0955",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4392.301891326904,
+ "y": 1435.2118606567383,
+ "z": "93716ca1.df16b",
+ "wires": []
+ },
+ {
+ "id": "2cec2467.fffcfc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3965.7864952087402,
+ "y": 1575.787576675415,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "ed344371.52314"
+ ]
+ ]
+ },
+ {
+ "id": "ed344371.52314",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4215.786418914795,
+ "y": 1520.7877559661865,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "16bf39af.b7bd96"
+ ]
+ ]
+ },
+ {
+ "id": "16bf39af.b7bd96",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NRCellRelation info in cps\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4401.119922637939,
+ "y": 1498.787959098816,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "429f2b72.e5b9a4",
+ "type": "execute",
+ "name": "generate put ho nrcellrelation url",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putho.nrcellrelation.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3735.5004653930664,
+ "y": 1386.5058240890503,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7af78a8.16d1774",
+ "type": "execute",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.putho.nrcellrelation.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putho.nrcellrelation.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-ho-nrcellrelation`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3702.500556945801,
+ "y": 1440.8392457962036,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fedc6177.d9441",
+ "type": "execute",
+ "name": "put ho nrcellrelation",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putho.nrcellrelation.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-ho.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-ho-nrcellrelation-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3677.966770172119,
+ "y": 1547.6391286849976,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "d06c1323.53c5d",
+ "2cec2467.fffcfc"
+ ]
+ ]
+ },
+ {
+ "id": "bd326c88.c4e14",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to put ho NRCellRelation\"/>\n<parameter name='field2' value=\"`$tmp.cps.putho.nrcellrelation.url`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3658.1406021118164,
+ "y": 1494.8889656066895,
+ "z": "93716ca1.df16b",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a4f7193.b86bf",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3451.9683952331543,
+ "y": 1386.8785486221313,
+ "z": "93716ca1.df16b",
+ "wires": [
+ [
+ "eff92940.1fb528",
+ "429f2b72.e5b9a4",
+ "7af78a8.16d1774",
+ "bd326c88.c4e14",
+ "fedc6177.d9441"
+ ]
+ ]
}
]