diff options
author | yashwanth <gandhapu.yashwanth@wipro.com> | 2022-03-24 15:10:27 +0000 |
---|---|---|
committer | YASHWANTH GANDHAPU <gandhapu.yashwanth@wipro.com> | 2022-03-24 15:14:55 +0000 |
commit | 7e8bd180002c4883d0ca3abe47f4d04f437df1fa (patch) | |
tree | 4b252d1c9fd5dbe05239d6a3f5d16d4eca190d71 /platform-logic/oofpcipoc-api | |
parent | 3d4c5dfb9e185c1e93a246c5b0d4462931aebb89 (diff) |
CPS Integration
Issue-ID: CCSDK-3544
Signed-off-by: yashwanth <gandhapu.yashwanth@wipro.com>
Change-Id: Ie3ef0e42e2c74675169b14c6cf6842a489666e36
Diffstat (limited to 'platform-logic/oofpcipoc-api')
4 files changed, 3210 insertions, 2027 deletions
diff --git a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_configuration-phy-cell-id.json b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_configuration-phy-cell-id.json index 3236e8dd..9fb8543e 100644 --- a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_configuration-phy-cell-id.json +++ b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_configuration-phy-cell-id.json @@ -1,36 +1,36 @@ [ { - "id": "b597980.d00b068", + "id": "fb9312cb.df841", "type": "method", "name": "method", "xml": "<method rpc='configuration-phy-cell-id' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 178.3333282470703, - "y": 250, - "z": "c58377cf.746c38", + "x": 182.77777099609375, + "y": 274.99999809265137, + "z": "46bc844c.8e713c", "wires": [ [ - "8943c880.32f118" + "acb53eba.62053" ] ] }, { - "id": "7d5fb60e.e4ca28", + "id": "2d48d97c.48c706", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 180.3333282470703, - "y": 20, - "z": "c58377cf.746c38", + "x": 184.77777099609375, + "y": 44.99999809265137, + "z": "46bc844c.8e713c", "wires": [ [ - "cbc23f7b.bdd3e" + "dcfac214.65cac" ] ] }, { - "id": "cbc23f7b.bdd3e", + "id": "dcfac214.65cac", "type": "service-logic", "name": "oofpcipoc-api ${project.version}", "module": "oofpcipoc-api", @@ -38,2641 +38,3110 @@ "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": 232.33331298828125, - "y": 88.0000991821289, - "z": "c58377cf.746c38", + "x": 236.7777557373047, + "y": 113.00009727478027, + "z": "46bc844c.8e713c", "wires": [ [ - "b597980.d00b068" + "fb9312cb.df841" ] ] }, { - "id": "8943c880.32f118", + "id": "acb53eba.62053", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 172.8229217529297, - "y": 390.0000305175781, - "z": "c58377cf.746c38", + "x": 177.26736450195312, + "y": 415.0000286102295, + "z": "46bc844c.8e713c", "wires": [ [ - "97d8e7ab.1a8aa8", - "db81fb52.aa42c8", - "2e2b598f.1dab86", - "6f26f93c.46f918", - "47c5c664.d239d8", - "fd3ca9d4.49f218", - "fdf8b14.ee8015", - "961718a3.21d988", - "cd63a3fb.08b76", - "6dc5ee71.cb084", - "fcd1c02a.dc8b9", - "3ef32216.34dcde", - "139219ea.fde996", - "276139cb.601476", - "90553fd2.d04e2", - "dbe33f92.36491", - "cab68aad.8e5a38" + "666ef42c.dbf21c", + "83d62b88.e91be8", + "373916d1.d4e0aa", + "f648c0a1.d6307", + "3b60a7fe.d09838", + "3f2bea0e.c0a8f6", + "46e24d05.b33174", + "ae0bbeed.2287", + "b716ea71.c1a2f8", + "bc1e082b.24b418", + "aef3c2b4.b7175", + "b16469e6.4fa108", + "88b8100a.1ccdd", + "b4637758.354448", + "825e99ea.480a28", + "f7fee6a.2700118", + "2e1b5ff3.7da19" ] ] }, { - "id": "97d8e7ab.1a8aa8", + "id": "666ef42c.dbf21c", "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": 193.3335952758789, - "y": 2535.000244140625, - "z": "c58377cf.746c38", + "x": 197.77803802490234, + "y": 2560.0002422332764, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "4abb38a8.f574e8", + "id": "e3f72452.752038", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>", "comments": "", "outputs": 1, - "x": 659.3338775634766, - "y": 128.0000457763672, - "z": "c58377cf.746c38", + "x": 663.7783203125, + "y": 153.00004386901855, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "5b26170d.302738", + "id": "5f18efb5.a3e18", "type": "comment", "name": "configuration-phy-cell-id", "info": "", "comments": "", - "x": 409.3333206176758, - "y": 39.01041603088379, - "z": "c58377cf.746c38", + "x": 413.7777633666992, + "y": 64.01041412353516, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "11264402.65a0ac", + "id": "294cdf2c.1d487", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial NRCELLDU PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`\"/>", "comments": "", "outputs": 1, - "x": 3076.333541870117, - "y": 576.010409116745, - "z": "c58377cf.746c38", + "x": 3080.7779846191406, + "y": 601.0104072093964, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "d747393a.b75728", + "id": "5027884d.96e058", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2771.3336029052734, - "y": 518.0104243755341, - "z": "c58377cf.746c38", + "x": 2775.778045654297, + "y": 543.0104224681854, + "z": "46bc844c.8e713c", "wires": [ [ - "b9389afe.f9d0e8" + "726ba216.8f27fc" ] ] }, { - "id": "b9389afe.f9d0e8", + "id": "726ba216.8f27fc", "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 executing Get odutopo node details rest api\" />", "comments": "", - "x": 2990.3336639404297, - "y": 518.0104472637177, - "z": "c58377cf.746c38", + "x": 2994.778106689453, + "y": 543.010445356369, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "e5f93917.276248", + "id": "ae519d18.8cfb5", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2776.333786010742, - "y": 602.010409116745, - "z": "c58377cf.746c38", + "x": 2780.7782287597656, + "y": 627.0104072093964, + "z": "46bc844c.8e713c", "wires": [ [ - "943a2f92.630a1" + "551d0312.f9874c" ] ] }, { - "id": "943a2f92.630a1", + "id": "551d0312.f9874c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2922.3334197998047, - "y": 585.0104243755341, - "z": "c58377cf.746c38", + "x": 2926.777862548828, + "y": 610.0104224681854, + "z": "46bc844c.8e713c", "wires": [ [ - "11264402.65a0ac" + "294cdf2c.1d487" ] ] }, { - "id": "1439b4cc.e0fb5b", + "id": "17ee19da.2e06a6", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2770.333541870117, - "y": 858.6770656108856, - "z": "c58377cf.746c38", + "x": 2774.7779846191406, + "y": 883.677063703537, + "z": "46bc844c.8e713c", "wires": [ [ - "ebc982d7.a8e99" + "cc177d1d.fc75d" ] ] }, { - "id": "ebc982d7.a8e99", + "id": "cc177d1d.fc75d", "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 executing patch rest api\" />", "comments": "", - "x": 2997.3334197998047, - "y": 856.6770961284637, - "z": "c58377cf.746c38", + "x": 3001.777862548828, + "y": 881.6770942211151, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "6b424d29.f8c794", + "id": "8b7658a1.932cf8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2789.3334197998047, - "y": 933.6771876811981, - "z": "c58377cf.746c38", + "x": 2793.777862548828, + "y": 958.6771857738495, + "z": "46bc844c.8e713c", "wires": [ [ - "1423304.92370d" + "8b7ad198.ac349" ] ] }, { - "id": "1423304.92370d", + "id": "8b7ad198.ac349", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2947.333297729492, - "y": 931.6770656108856, - "z": "c58377cf.746c38", + "x": 2951.7777404785156, + "y": 956.677063703537, + "z": "46bc844c.8e713c", "wires": [ [ - "b5e6bfc0.18026" + "2f66525f.a6502e" ] ] }, { - "id": "b5e6bfc0.18026", + "id": "2f66525f.a6502e", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`\"/>", "comments": "", "outputs": 1, - "x": 3120.333297729492, - "y": 926.6773097515106, - "z": "c58377cf.746c38", + "x": 3124.7777404785156, + "y": 951.677307844162, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "5ce879d1.3c75a8", + "id": "70d967aa.1a9368", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.fap-service-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.alias`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$tmp.idGNBDUFunction`\"/>\n<parameter name=\"field5\" value=\"`$tmp.nRPCI`\"/>", "comments": "", "outputs": 1, - "x": 2512.334072113037, - "y": 543.010514497757, - "z": "c58377cf.746c38", + "x": 2456.778751373291, + "y": 601.343957901001, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "2e2b598f.1dab86", + "id": "373916d1.d4e0aa", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >", "comments": "", "outputs": 1, - "x": 504.4190216064453, - "y": 138.96359252929688, - "z": "c58377cf.746c38", + "x": 508.86346435546875, + "y": 163.96359062194824, + "z": "46bc844c.8e713c", "wires": [ [ - "4abb38a8.f574e8" + "e3f72452.752038" ] ] }, { - "id": "db81fb52.aa42c8", + "id": "83d62b88.e91be8", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to Configure PCI INVOKED. Number of Cells to configure: \"/>\n<parameter name=\"field2\" value=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\"/>\n", "comments": "", "outputs": 1, - "x": 507.33363342285156, - "y": 82.02084350585938, - "z": "c58377cf.746c38", + "x": 511.778076171875, + "y": 107.02084159851074, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "3cfb6193.6677ee", + "id": "bbd4941e.bc1188", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >", "comments": "", "outputs": 1, - "x": 1989.3337326049805, - "y": 1331.0104496479034, - "z": "c58377cf.746c38", + "x": 1993.778175354004, + "y": 1356.0104477405548, + "z": "46bc844c.8e713c", "wires": [ [ - "e8126a3c.6eec98" + "94835642.096968" ] ] }, { - "id": "ef244210.ce328", + "id": "9c695549.3b8488", "type": "set", "name": "set tmp variables for the requested fap service input parms", "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n", "comments": "", - "x": 2636.334518432617, - "y": 411.8995006084442, - "z": "c58377cf.746c38", + "x": 2630.779022216797, + "y": 380.2328453063965, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "70360548.62681c", + "id": "3e649634.74249a", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2779.333786010742, - "y": 726.0105006694794, - "z": "c58377cf.746c38", + "x": 2783.7782287597656, + "y": 751.0104987621307, + "z": "46bc844c.8e713c", "wires": [ [ - "8051b85f.0c9a88" + "30dd730e.cbc33c" ] ] }, { - "id": "df219c80.8806e", + "id": "8847ee55.0cb05", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2766.3336639404297, - "y": 804.010409116745, - "z": "c58377cf.746c38", + "x": 2770.778106689453, + "y": 829.0104072093964, + "z": "46bc844c.8e713c", "wires": [ [ - "3f7c3254.c621ce" + "821b7f1d.9e832" ] ] }, { - "id": "8051b85f.0c9a88", + "id": "30dd730e.cbc33c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2926.3336639404297, - "y": 726.0105311870575, - "z": "c58377cf.746c38", + "x": 2930.778106689453, + "y": 751.0105292797089, + "z": "46bc844c.8e713c", "wires": [ [ - "952f4f95.295a5" + "3c56450a.5cb1da" ] ] }, { - "id": "952f4f95.295a5", + "id": "3c56450a.5cb1da", "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 executing patch rest api\" />", "comments": "", - "x": 3090.3334197998047, - "y": 710.0105006694794, - "z": "c58377cf.746c38", + "x": 3094.777862548828, + "y": 735.0104987621307, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "3f7c3254.c621ce", + "id": "821b7f1d.9e832", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2922.3334197998047, - "y": 788.0104701519012, - "z": "c58377cf.746c38", + "x": 2926.777862548828, + "y": 813.0104682445526, + "z": "46bc844c.8e713c", "wires": [ [ - "c9455cc6.63a2e" + "36568511.01697a" ] ] }, { - "id": "c9455cc6.63a2e", + "id": "36568511.01697a", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PUT PCI POC FAP SERVICE. Reconfigured \"/>", "comments": "", "outputs": 1, - "x": 3083.333541870117, - "y": 790.0104701519012, - "z": "c58377cf.746c38", + "x": 3087.7779846191406, + "y": 815.0104682445526, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "e8126a3c.6eec98", + "id": "94835642.096968", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2035.3333587646484, - "y": 677.0209276676178, - "z": "c58377cf.746c38", + "x": 2039.7778015136719, + "y": 702.0209257602692, + "z": "46bc844c.8e713c", "wires": [ [ - "ef244210.ce328", - "5ce879d1.3c75a8", - "76ed4fed.d0073", - "c78bb3df.09a61", - "fee0889f.0d7778", - "1aeffa78.56c836", - "e383d6d7.392758", - "f49ce3d4.0ac94", - "941d5352.508c4" + "9c695549.3b8488", + "70d967aa.1a9368", + "af547e24.b9f33", + "86002496.ca4a78", + "322df922.bec876", + "ecdf8b8b.2aabe8", + "d50b972d.2b7b58", + "ffd4c30f.165a9", + "ea1be66.4084218", + "35b9952f.955e5a", + "ac7df1f6.d8a71", + "8bfa8e24.f1519", + "90027a5c.f27a28", + "5d0e468e.907008" ] ] }, { - "id": "1aeffa78.56c836", + "id": "322df922.bec876", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL and Target for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />\n<parameter name='field3' value=\"`$prop.oofpcipoc.patch.pci.target`\" />\n", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />", "comments": "", "outputs": 1, - "x": 2524.3340911865234, - "y": 716.0208461284637, - "z": "c58377cf.746c38", + "x": 2453.7785301208496, + "y": 931.0208253860474, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "6f26f93c.46f918", + "id": "f648c0a1.d6307", "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": 540.3335113525391, - "y": 193.02084350585938, - "z": "c58377cf.746c38", + "x": 544.7779541015625, + "y": 218.02084159851074, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "47c5c664.d239d8", + "id": "3b60a7fe.d09838", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. pci patch target\"/>\n<parameter name=\"field2\" value=\"`$prop.oofpcipoc.patch.pci.target`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field5\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field6\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field7\" value=\"`$prop.ransim-mounted`\"/>", "comments": "", "outputs": 1, - "x": 501.33363342285156, - "y": 245.02090454101562, - "z": "c58377cf.746c38", + "x": 505.778076171875, + "y": 270.020902633667, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "c78bb3df.09a61", + "id": "86002496.ca4a78", "type": "execute", - "name": "Get FAP details for a Cell", - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />", + "name": "Get GNBDUFunction Details", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />", "comments": "", "outputs": 1, - "x": 2561.333969116211, - "y": 594.0208156108856, - "z": "c58377cf.746c38", + "x": 2490.7786712646484, + "y": 662.3541316986084, + "z": "46bc844c.8e713c", "wires": [ [ - "d747393a.b75728", - "e5f93917.276248" + "5027884d.96e058", + "ae519d18.8cfb5" ] ] }, { - "id": "76ed4fed.d0073", + "id": "af547e24.b9f33", "type": "execute", - "name": "generate fap-service url", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.fap-service`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>", + "name": "generate getGNBDUFunction url", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.getGNBDUFunction`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", "comments": "", "outputs": 1, - "x": 2554.333656311035, - "y": 487.02091097831726, - "z": "c58377cf.746c38", + "x": 2543.7783737182617, + "y": 462.0209159851074, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "fee0889f.0d7778", - "type": "execute", - "name": "generate pci patch url for a cell", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.x-005b9-lte`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{alias}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>", - "comments": "", - "outputs": 1, - "x": 2619.3336029052734, - "y": 660.0208156108856, - "z": "c58377cf.746c38", - "wires": [ - [] - ] - }, - { - "id": "e383d6d7.392758", + "id": "ecdf8b8b.2aabe8", "type": "execute", "name": "Recofigure PCI for a Cell", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.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-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": 2569.333480834961, - "y": 787.0209681987762, - "z": "c58377cf.746c38", + "x": 2482.111297607422, + "y": 988.687780380249, + "z": "46bc844c.8e713c", "wires": [ [ - "70360548.62681c", - "df219c80.8806e" + "3e649634.74249a", + "8847ee55.0cb05" ] ] }, { - "id": "f49ce3d4.0ac94", + "id": "d50b972d.2b7b58", "type": "execute", - "name": "Get FAP details for a Cell", - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />", + "name": "Get GNBDUFunction details", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />", "comments": "", "outputs": 1, - "x": 2547.3334197998047, - "y": 870.0208766460419, - "z": "c58377cf.746c38", + "x": 2475.111129760742, + "y": 1053.3541676998138, + "z": "46bc844c.8e713c", "wires": [ [ - "1439b4cc.e0fb5b", - "6b424d29.f8c794" + "17ee19da.2e06a6", + "8b7658a1.932cf8" ] ] }, { - "id": "fd3ca9d4.49f218", + "id": "3f2bea0e.c0a8f6", "type": "switchNode", "name": "switch mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 660.3333473205566, - "y": 1348.010398864746, - "z": "c58377cf.746c38", + "x": 664.7777900695801, + "y": 1373.0103969573975, + "z": "46bc844c.8e713c", "wires": [ [ - "c2d30597.23c3e8", - "13e5ee59.00d5c2" + "375513bb.b2e1ec", + "be7b0f6c.4d6ac" ] ] }, { - "id": "c2d30597.23c3e8", + "id": "375513bb.b2e1ec", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 1530.333351135254, - "y": 1300.0104351043701, - "z": "c58377cf.746c38", + "x": 1534.7777938842773, + "y": 1325.0104331970215, + "z": "46bc844c.8e713c", "wires": [ [ - "3cfb6193.6677ee" + "bbd4941e.bc1188" ] ] }, { - "id": "13e5ee59.00d5c2", + "id": "be7b0f6c.4d6ac", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1490.3333549499512, - "y": 1585.0104427337646, - "z": "c58377cf.746c38", + "x": 1494.7777976989746, + "y": 1610.010440826416, + "z": "46bc844c.8e713c", "wires": [ [ - "155f8b1c.14be25" + "1b1395c5.64a32a" ] ] }, { - "id": "e4ba3c6b.34c43", + "id": "34948b7c.411194", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Initial NRCellDU PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`\"/>", "comments": "", "outputs": 1, - "x": 3522.333595275879, - "y": 1468.0104627609253, - "z": "c58377cf.746c38", + "x": 3467.9214096069336, + "y": 1595.010419845581, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "2e2325b3.caf4fa", + "id": "c2b62a90.f121c8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3175.3337173461914, - "y": 1457.0104627609253, - "z": "c58377cf.746c38", + "x": 3139.7781677246094, + "y": 1560.010419845581, + "z": "46bc844c.8e713c", "wires": [ [ - "92af0cb0.da314" + "eee15f2.8ab05a" ] ] }, { - "id": "92af0cb0.da314", + "id": "eee15f2.8ab05a", "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 executing Get odutopo node details rest api\" />", "comments": "", - "x": 3357.3337173461914, - "y": 1429.0105237960815, - "z": "c58377cf.746c38", + "x": 3335.778175354004, + "y": 1542.0104179382324, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "dbe372cf.0227e", + "id": "80f9ac99.c2f1f", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3173.33390045166, - "y": 1532.0104627609253, - "z": "c58377cf.746c38", + "x": 3137.778495788574, + "y": 1621.0104217529297, + "z": "46bc844c.8e713c", "wires": [ [ - "1e4afaae.eef585" + "735961fb.29e61" ] ] }, { - "id": "1e4afaae.eef585", + "id": "735961fb.29e61", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3360.333595275879, - "y": 1481.0104627609253, - "z": "c58377cf.746c38", + "x": 3312.778175354004, + "y": 1604.0104207992554, + "z": "46bc844c.8e713c", "wires": [ [ - "e4ba3c6b.34c43" + "34948b7c.411194" ] ] }, { - "id": "b75e3ce6.384e6", + "id": "66c7192b.6893e8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3056.3337173461914, - "y": 1802.6770887374878, - "z": "c58377cf.746c38", + "x": 3177.445243835449, + "y": 1826.0105266571045, + "z": "46bc844c.8e713c", "wires": [ [ - "95ee587a.5fa6c8" + "410622a9.ef9b2c" ] ] }, { - "id": "95ee587a.5fa6c8", + "id": "410622a9.ef9b2c", "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 executing patch rest api\" />", "comments": "", - "x": 3244.333595275879, - "y": 1809.6772108078003, - "z": "c58377cf.746c38", + "x": 3378.7781829833984, + "y": 1813.010648727417, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "1f001a7c.41df16", + "id": "c4b58dc7.2495d", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3042.3335342407227, - "y": 1879.6772108078003, - "z": "c58377cf.746c38", + "x": 3161.7780838012695, + "y": 1886.344027519226, + "z": "46bc844c.8e713c", "wires": [ [ - "5974fda7.dc80a4" + "f70188e5.6dc938" ] ] }, { - "id": "5974fda7.dc80a4", + "id": "f70188e5.6dc938", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3216.3334732055664, - "y": 1882.6770887374878, - "z": "c58377cf.746c38", + "x": 3337.444778442383, + "y": 1864.3440246582031, + "z": "46bc844c.8e713c", "wires": [ [ - "4ed37212.009a4c" + "3c615c20.6e2054" ] ] }, { - "id": "4ed37212.009a4c", + "id": "3c615c20.6e2054", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig FAP Service PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$oofpcigetfapservice.fap-service[0].alias`\"/>\n<parameter name=\"field3\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`\"/>\n<parameter name=\"field4\" value=\"`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Post Reconfig NRCELLDU PCI PARMS\"/>\n<parameter name=\"field2\" value=\"`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`\"/>\n<parameter name=\"field3\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`\"/>", "comments": "", "outputs": 1, - "x": 3394.333351135254, - "y": 1886.6773328781128, - "z": "c58377cf.746c38", + "x": 3495.4444580078125, + "y": 1855.0108532905579, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "d619bb83.a66628", + "id": "c54d6e1c.96714", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.fap-service-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.alias`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for GET operation\"/>\n<parameter name=\"field2\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idNRCellDU`\"/>\n<parameter name=\"field4\" value=\"`$tmp.idGNBDUFunction`\"/>\n<parameter name=\"field5\" value=\"`$tmp.nRPCI`\"/>", "comments": "", "outputs": 1, - "x": 2808.667781829834, - "y": 1520.6773376464844, - "z": "c58377cf.746c38", + "x": 2813.1122245788574, + "y": 1545.6773357391357, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "155f8b1c.14be25", + "id": "1b1395c5.64a32a", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$configuration-phy-cell-id-input.fap-service-number-of-entries`\" >", "comments": "", "outputs": 1, - "x": 1790.3333587646484, - "y": 1558.0104484558105, - "z": "c58377cf.746c38", + "x": 2199.777729034424, + "y": 1559.6771078109741, + "z": "46bc844c.8e713c", "wires": [ [ - "4157b1b.cf6a45" + "1ba0989.c572267" ] ] }, { - "id": "be955efb.e78a2", + "id": "d3095e1a.dc8c7", "type": "set", "name": "set tmp variables for the requested fap service input parms", "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n", "comments": "", - "x": 2896.00146484375, - "y": 1270.5662250518799, - "z": "c58377cf.746c38", + "x": 2900.4459075927734, + "y": 1295.5662231445312, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "92452073.8cfb9", + "id": "f75dac7e.96a98", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3147.33390045166, - "y": 1652.0105237960815, - "z": "c58377cf.746c38", + "x": 3151.7783432006836, + "y": 1677.010521888733, + "z": "46bc844c.8e713c", "wires": [ [ - "ad2cd277.3b2a2" + "7a1c2b3d.89ce94" ] ] }, { - "id": "41d9252.97d78dc", + "id": "13c00070.16003", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3116.333839416504, - "y": 1739.0104627609253, - "z": "c58377cf.746c38", + "x": 3120.7782821655273, + "y": 1764.0104608535767, + "z": "46bc844c.8e713c", "wires": [ [ - "15a7383a.280288" + "198a6704.2543c9" ] ] }, { - "id": "ad2cd277.3b2a2", + "id": "7a1c2b3d.89ce94", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3320.333839416504, - "y": 1624.0105848312378, - "z": "c58377cf.746c38", + "x": 3324.7782821655273, + "y": 1649.0105829238892, + "z": "46bc844c.8e713c", "wires": [ [ - "a4153a1a.a447d8" + "e2096717.c8e7f8" ] ] }, { - "id": "a4153a1a.a447d8", + "id": "e2096717.c8e7f8", "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 executing patch rest api\" />", "comments": "", - "x": 3508.3334732055664, - "y": 1614.0105237960815, - "z": "c58377cf.746c38", + "x": 3512.77791595459, + "y": 1639.010521888733, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "15a7383a.280288", + "id": "198a6704.2543c9", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3298.333595275879, - "y": 1726.0105237960815, - "z": "c58377cf.746c38", + "x": 3302.7780380249023, + "y": 1751.010521888733, + "z": "46bc844c.8e713c", "wires": [ [ - "9cdbb85b.36e988" + "dc539a4f.c57b98" ] ] }, { - "id": "9cdbb85b.36e988", + "id": "dc539a4f.c57b98", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PUT PCI POC FAP SERVICE. Reconfigured \"/>", "comments": "", "outputs": 1, - "x": 3471.333595275879, - "y": 1725.0105237960815, - "z": "c58377cf.746c38", + "x": 3475.7780380249023, + "y": 1750.010521888733, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "4157b1b.cf6a45", + "id": "1ba0989.c572267", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2547.333541870117, - "y": 1534.0209875106812, - "z": "c58377cf.746c38", + "x": 2551.7779846191406, + "y": 1559.0209856033325, + "z": "46bc844c.8e713c", "wires": [ [ - "be955efb.e78a2", - "d619bb83.a66628", - "c492cc4e.cdb05", - "40f21f84.61773", - "b0db6e69.c723d", - "d0c9f490.3e2d68", - "7d4c2012.8e245", - "a00f80db.91416", - "cf8cfe25.ced3c", - "9e5acde4.14af", - "906140c7.266f9", - "d49ac97a.90e568", - "16c3686d.fbd258", - "42e6b286.6d1cdc", - "4188657a.7ee05c", - "ce7631de.a2bdc" + "d3095e1a.dc8c7", + "c54d6e1c.96714", + "1a8f6d1.45ffc93", + "d386b163.bc8aa", + "56c3f024.c3091", + "63f4817c.d7041", + "2d5b4ac.7a5e3b6", + "7e0a0654.bac798", + "29d59eaa.ea4ea2", + "3a58bcdb.d3c6c4", + "cf8f100a.ca136", + "55b11952.8ee478", + "88f0830.251918", + "7a26d7bd.2a31d8", + "6598c410.436e2c", + "599ef68c.e836f8" ] ] }, { - "id": "d0c9f490.3e2d68", + "id": "63f4817c.d7041", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL and Target for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`\" />\n<parameter name='field3' value=\"`$prop.oofpcipoc.patch.pci.target`\" />\n", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for PCI patch URL\"/>\n<parameter name='field2' value=\"`$prop.controller.url + $tmp.nrcelldu.patch.pci.url`\" />\n", "comments": "", "outputs": 1, - "x": 2778.0016593933105, - "y": 1785.687663078308, - "z": "c58377cf.746c38", + "x": 2772.44633102417, + "y": 1810.687759399414, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "40f21f84.61773", + "id": "d386b163.bc8aa", "type": "execute", - "name": "Get FAP details for a Cell", - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />", + "name": "Get GNBDUFunction Details", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />", "comments": "", "outputs": 1, - "x": 2851.667350769043, - "y": 1558.687512397766, - "z": "c58377cf.746c38", + "x": 2856.1117935180664, + "y": 1583.6875104904175, + "z": "46bc844c.8e713c", "wires": [ [ - "2e2325b3.caf4fa", - "dbe372cf.0227e" + "c2b62a90.f121c8", + "80f9ac99.c2f1f" ] ] }, { - "id": "c492cc4e.cdb05", + "id": "1a8f6d1.45ffc93", "type": "execute", - "name": "generate fap-service url", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.fap-service.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "name": "generate getGNBDUFunction url", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.getGNBDUFunction.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", "comments": "", "outputs": 1, - "x": 2857.667106628418, - "y": 1391.3543300628662, - "z": "c58377cf.746c38", + "x": 2888.778121948242, + "y": 1419.687744140625, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "b0db6e69.c723d", + "id": "56c3f024.c3091", "type": "execute", "name": "generate pci patch url for a cell", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.x-005b9-lte.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", "comments": "", "outputs": 1, - "x": 2860.6670265197754, - "y": 1600.3541526794434, - "z": "c58377cf.746c38", + "x": 2865.111469268799, + "y": 1625.3541507720947, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "7d4c2012.8e245", + "id": "2d5b4ac.7a5e3b6", "type": "execute", "name": "Recofigure PCI for a Cell", - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.oofpcipoc.patch.pci.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-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' />", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.nrcelldu.patch.pci.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=\"nrcelldu-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": 2814.6674270629883, - "y": 1824.6878290176392, - "z": "c58377cf.746c38", + "x": 2814.8262481689453, + "y": 1848.2595100402832, + "z": "46bc844c.8e713c", "wires": [ [ - "92452073.8cfb9", - "41d9252.97d78dc" + "f75dac7e.96a98", + "13c00070.16003" ] ] }, { - "id": "a00f80db.91416", + "id": "7e0a0654.bac798", "type": "execute", - "name": "Get FAP details for a Cell", - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.fap-service-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"oofpcigetfapservice\"/>\n<parameter name='contentType' value='application/json' />", + "name": "Get GNBDUFunction details for a Cell", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getGNBDUFunction-url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getgnbdufunction\"/>\n<parameter name='contentType' value='application/json' />", "comments": "", "outputs": 1, - "x": 2812.000274658203, - "y": 1860.0212059020996, - "z": "c58377cf.746c38", + "x": 2851.4449005126953, + "y": 1885.0211915969849, + "z": "46bc844c.8e713c", "wires": [ [ - "b75e3ce6.384e6", - "1f001a7c.41df16" + "66c7192b.6893e8", + "c4b58dc7.2495d" ] ] }, { - "id": "cf8cfe25.ced3c", + "id": "29d59eaa.ea4ea2", "type": "execute", "name": "populate idGNBDUFunction", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.fap-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>", "comments": "", "outputs": 1, - "x": 2855.0003662109375, - "y": 1483.010419845581, - "z": "c58377cf.746c38", + "x": 2859.444808959961, + "y": 1508.0104179382324, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "9e5acde4.14af", + "id": "3a58bcdb.d3c6c4", "type": "execute", "name": "populate idGNBDUFunction", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.oofpcipoc.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>", "comments": "", "outputs": 1, - "x": 2828.3345108032227, - "y": 1693.3437414169312, - "z": "c58377cf.746c38", + "x": 2852.7790603637695, + "y": 1718.3437576293945, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "19707492.336ebb", + "id": "d3458f81.be02e", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2899.333724975586, - "y": 2080.0000524520874, - "z": "c58377cf.746c38", + "x": 2942.1114196777344, + "y": 2438.333263397217, + "z": "46bc844c.8e713c", "wires": [ [ - "3f56a771.b96478", - "8af1995a.23c1a8", - "5dd565d1.862cac" + "c965d4.a77afa3", + "c8260c37.8cf93", + "3d4f49ec.033946" ] ] }, { - "id": "3f56a771.b96478", + "id": "c965d4.a77afa3", "type": "execute", "name": "generate configdb phy cell id patch url", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-pci-for-cell`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-pci-for-cell.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", "comments": "", "outputs": 1, - "x": 3213.333724975586, - "y": 1992.0000524520874, - "z": "c58377cf.746c38", + "x": 3256.1114196777344, + "y": 2350.333263397217, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "8af1995a.23c1a8", + "id": "c8260c37.8cf93", "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/configuration-phy-cell-id.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-pci-for-cell.url`\" />\n<parameter name='field3' value=\"`$tmp.cid`\" />", "comments": "", "outputs": 1, - "x": 3183.333724975586, - "y": 2056.0000524520874, - "z": "c58377cf.746c38", + "x": 3226.1114196777344, + "y": 2414.333263397217, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "5dd565d1.862cac", + "id": "3d4f49ec.033946", "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-pci-for-cell.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.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' />", "comments": "", "outputs": 1, - "x": 3157.333724975586, - "y": 2151.0000524520874, - "z": "c58377cf.746c38", + "x": 3200.1114196777344, + "y": 2509.333263397217, + "z": "46bc844c.8e713c", "wires": [ [ - "d494a007.8bd97", - "65eff3d9.f6f53c" + "d7998446.09dcb8", + "61fc8b16.f26b34" ] ] }, { - "id": "d494a007.8bd97", + "id": "d7998446.09dcb8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3372.333724975586, - "y": 2094.0000524520874, - "z": "c58377cf.746c38", + "x": 3415.1114196777344, + "y": 2452.333263397217, + "z": "46bc844c.8e713c", "wires": [ [ - "a1c26e21.d1084" + "758a5388.68859c" ] ] }, { - "id": "65eff3d9.f6f53c", + "id": "61fc8b16.f26b34", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3372.3336029052734, - "y": 2189.999930381775, - "z": "c58377cf.746c38", + "x": 3415.111297607422, + "y": 2548.3331413269043, + "z": "46bc844c.8e713c", "wires": [ [ - "f106146a.66d138" + "8b87c140.569f5" ] ] }, { - "id": "a1c26e21.d1084", + "id": "758a5388.68859c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3541.3336029052734, - "y": 2105.0000524520874, - "z": "c58377cf.746c38", + "x": 3584.111297607422, + "y": 2463.333263397217, + "z": "46bc844c.8e713c", "wires": [ [ - "ced6db3c.563b78" + "9dea66c8.312c48" ] ] }, { - "id": "f106146a.66d138", + "id": "8b87c140.569f5", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3534.3333587646484, - "y": 2191.0000524520874, - "z": "c58377cf.746c38", + "x": 3577.111053466797, + "y": 2549.333263397217, + "z": "46bc844c.8e713c", "wires": [ [ - "3dec8a05.3ac886" + "5729c283.31b30c" ] ] }, { - "id": "ced6db3c.563b78", + "id": "9dea66c8.312c48", "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 PCI configuration\" />", "comments": "", - "x": 3695.333297729492, - "y": 2098.0000524520874, - "z": "c58377cf.746c38", + "x": 3738.1109924316406, + "y": 2456.333263397217, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "3dec8a05.3ac886", + "id": "5729c283.31b30c", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PCI Value updated in ConfigDB\"/>", "comments": "", "outputs": 1, - "x": 3685.333480834961, - "y": 2188.0000524520874, - "z": "c58377cf.746c38", + "x": 3728.1111755371094, + "y": 2546.333263397217, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "906140c7.266f9", + "id": "cf8f100a.ca136", "type": "switchNode", "name": "switch configdb deployed", "xml": "<switch test='`$prop.configdb-deployed`'>\n", "comments": "", "outputs": 1, - "x": 2786.333724975586, - "y": 1902.0000524520874, - "z": "c58377cf.746c38", + "x": 2812.206886291504, + "y": 1925.5714559555054, + "z": "46bc844c.8e713c", "wires": [ [ - "c0478edb.d3de6", - "d74e3845.3c3728" + "5396f997.0d37f8", + "45a4d496.91e70c" ] ] }, { - "id": "c0478edb.d3de6", + "id": "5396f997.0d37f8", "type": "outcome", "name": "Deployed", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2824.333724975586, - "y": 2004.0000524520874, - "z": "c58377cf.746c38", + "x": 2978.444984436035, + "y": 2120.333480834961, + "z": "46bc844c.8e713c", "wires": [ [ - "19707492.336ebb" + "d3458f81.be02e" ] ] }, { - "id": "213aa2e3.174f0e", + "id": "7c6eefc1.72219", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2544.3334197998047, - "y": 1098.3228442668915, - "z": "c58377cf.746c38", + "x": 3267.1111602783203, + "y": 1108.3228759765625, + "z": "46bc844c.8e713c", "wires": [ [ - "728afd28.7cb854", - "12cacc83.e2aa33", - "c83fe351.3785c" + "26e5de13.14d962", + "d95cd707.d63a58", + "24800.765fb8008" ] ] }, { - "id": "728afd28.7cb854", + "id": "26e5de13.14d962", "type": "execute", "name": "generate configdb phy cell id patch url", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-pci-for-cell`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.patch-pci-for-cell.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", "comments": "", "outputs": 1, - "x": 2814.3334197998047, - "y": 1004.3228175640106, - "z": "c58377cf.746c38", + "x": 3537.1111602783203, + "y": 1014.3228492736816, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "12cacc83.e2aa33", + "id": "d95cd707.d63a58", "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/configuration-phy-cell-id.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-pci-for-cell.url`\" />\n<parameter name='field3' value=\"`$tmp.cid`\" />", "comments": "", "outputs": 1, - "x": 2815.3334197998047, - "y": 1068.3228175640106, - "z": "c58377cf.746c38", + "x": 3533.1112842559814, + "y": 1103.3229875564575, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "c83fe351.3785c", + "id": "24800.765fb8008", "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-pci-for-cell.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-pci-for-cell.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' />", "comments": "", "outputs": 1, - "x": 2843.334297180176, - "y": 1211.323044538498, - "z": "c58377cf.746c38", + "x": 3508.969207763672, + "y": 1168.4658844470978, + "z": "46bc844c.8e713c", "wires": [ [ - "df5e400b.76a6e", - "cc94f7b8.1e29d8" + "35321bd9.a49cf4", + "ce6bfff6.e9068" ] ] }, { - "id": "df5e400b.76a6e", + "id": "35321bd9.a49cf4", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3017.3334197998047, - "y": 1112.3228442668915, - "z": "c58377cf.746c38", + "x": 3740.1111602783203, + "y": 1122.3228759765625, + "z": "46bc844c.8e713c", "wires": [ [ - "f85867d7.2d5b08" + "9e3914cb.22e1d8" ] ] }, { - "id": "cc94f7b8.1e29d8", + "id": "ce6bfff6.e9068", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3197.3339767456055, - "y": 1203.32288479805, - "z": "c58377cf.746c38", + "x": 3920.111717224121, + "y": 1213.322916507721, + "z": "46bc844c.8e713c", "wires": [ [ - "2d200e34.abe802" + "c943d932.58f028" ] ] }, { - "id": "f85867d7.2d5b08", + "id": "9e3914cb.22e1d8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3186.333297729492, - "y": 1123.3228442668915, - "z": "c58377cf.746c38", + "x": 3909.111038208008, + "y": 1133.3228759765625, + "z": "46bc844c.8e713c", "wires": [ [ - "326e0bce.f9a324" + "ba05d7db.445d78" ] ] }, { - "id": "2d200e34.abe802", + "id": "c943d932.58f028", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3359.3337326049805, - "y": 1204.3230068683624, - "z": "c58377cf.746c38", + "x": 4082.111473083496, + "y": 1214.3230385780334, + "z": "46bc844c.8e713c", "wires": [ [ - "e811224.8fafce" + "c25a3f62.75b5c" ] ] }, { - "id": "326e0bce.f9a324", + "id": "ba05d7db.445d78", "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 neighbor to configdb. Aborting notification handler\" />", "comments": "", - "x": 3340.332992553711, - "y": 1116.3228442668915, - "z": "c58377cf.746c38", + "x": 4063.1107330322266, + "y": 1126.3228759765625, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "e811224.8fafce", + "id": "c25a3f62.75b5c", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PCI Value updated in ConfigDB\"/>", "comments": "", "outputs": 1, - "x": 3510.333854675293, - "y": 1200.3229801654816, - "z": "c58377cf.746c38", + "x": 4233.111595153809, + "y": 1210.3230118751526, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "941d5352.508c4", + "id": "ffd4c30f.165a9", "type": "switchNode", "name": "switch configdb deployed", "xml": "<switch test='`$prop.configdb-deployed`'>\n", "comments": "", "outputs": 1, - "x": 2473.3334197998047, - "y": 924.3228175640106, - "z": "c58377cf.746c38", + "x": 2451.111228942871, + "y": 1104.3228206634521, + "z": "46bc844c.8e713c", "wires": [ [ - "d287ec90.65392" + "250b0031.e6ba4", + "af5e8f30.17624" ] ] }, { - "id": "d287ec90.65392", + "id": "250b0031.e6ba4", "type": "outcome", "name": "Deployed", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2469.3334197998047, - "y": 1022.3228442668915, - "z": "c58377cf.746c38", + "x": 3022.1114959716797, + "y": 1018.9896020889282, + "z": "46bc844c.8e713c", "wires": [ [ - "213aa2e3.174f0e" + "7c6eefc1.72219" ] ] }, { - "id": "f482fb64.3c4cb8", + "id": "628d6d71.42f8e4", "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-modifyconfig-resp-payload-template.vtl' />\n <parameter name='output' value='resp-payload' />\n <parameter name='prefix' value='sdnr' />\n", "comments": "", "outputs": 1, - "x": 949.3333282470703, - "y": 1830, - "z": "c58377cf.746c38", + "x": 953.7777709960938, + "y": 1854.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "2b8e6e1b.eb4732", - "9728a93d.954dd8" + "5e95a432.c93fac", + "e5b17b3c.7109a8" ] ] }, { - "id": "2b8e6e1b.eb4732", + "id": "5e95a432.c93fac", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1223.3333282470703, - "y": 1799, - "z": "c58377cf.746c38", + "x": 1227.7777709960938, + "y": 1823.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "b62146d2.a556f8" + "3a1e1c0c.d37884" ] ] }, { - "id": "b62146d2.a556f8", + "id": "3a1e1c0c.d37884", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1414.3333282470703, - "y": 1802, - "z": "c58377cf.746c38", + "x": 1418.7777709960938, + "y": 1826.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "ff4554c5.d52088" + "cd46b553.cd3788" ] ] }, { - "id": "ff4554c5.d52088", + "id": "cd46b553.cd3788", "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/configuration-phy-cell-id.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": 1582.3333282470703, - "y": 1803, - "z": "c58377cf.746c38", + "x": 1586.7777709960938, + "y": 1827.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "6b1bf445.9469bc", + "id": "ee0b8032.b89a6", "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": 921.8333282470703, - "y": 1946, - "z": "c58377cf.746c38", + "x": 926.2777709960938, + "y": 1970.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "c120e2b2.88ffc", - "5381eaea.b64024" + "12693b89.537cd4", + "8af458db.b9e108" ] ] }, { - "id": "d59c933.00ed37", + "id": "31844626.61416a", "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": 911.3333282470703, - "y": 2028, - "z": "c58377cf.746c38", + "x": 915.7777709960938, + "y": 2052.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "e7378303.03e32", - "a4d388c6.e1d378" + "d67e2614.0ca168", + "9351a9d4.1b3748" ] ] }, { - "id": "e7378303.03e32", + "id": "d67e2614.0ca168", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1093.8333282470703, - "y": 2036, - "z": "c58377cf.746c38", + "x": 1098.2777709960938, + "y": 2060.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "ebd1ae03.9350c" + "2e2c4594.7e808a" ] ] }, { - "id": "ebd1ae03.9350c", + "id": "2e2c4594.7e808a", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1278.8333282470703, - "y": 2034, - "z": "c58377cf.746c38", + "x": 1283.2777709960938, + "y": 2058.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "73d410fe.f0a35" + "f877e600.537b58" ] ] }, { - "id": "73d410fe.f0a35", + "id": "f877e600.537b58", "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/configuration-phy-cell-id.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": 1480.8333282470703, - "y": 2029, - "z": "c58377cf.746c38", + "x": 1485.2777709960938, + "y": 2053.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "c120e2b2.88ffc", + "id": "12693b89.537cd4", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1115.3333282470703, - "y": 1914, - "z": "c58377cf.746c38", + "x": 1119.7777709960938, + "y": 1938.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "2f121d3c.9e5a52" + "3a1665a0.d783da" ] ] }, { - "id": "2f121d3c.9e5a52", + "id": "3a1665a0.d783da", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1290.3333282470703, - "y": 1928, - "z": "c58377cf.746c38", + "x": 1294.7777709960938, + "y": 1952.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "26ac8b92.155984" + "418c7ed4.a4dd1" ] ] }, { - "id": "26ac8b92.155984", + "id": "418c7ed4.a4dd1", "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/configuration-phy-cell-id.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": 1478.3333282470703, - "y": 1930, - "z": "c58377cf.746c38", + "x": 1482.7777709960938, + "y": 1954.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "9728a93d.954dd8", + "id": "e5b17b3c.7109a8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1222.3333282470703, - "y": 1856, - "z": "c58377cf.746c38", + "x": 1226.7777709960938, + "y": 1880.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "5ec885df.3b369c" + "511f63ea.f348dc" ] ] }, { - "id": "5ec885df.3b369c", + "id": "511f63ea.f348dc", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1391.3332061767578, - "y": 1862, - "z": "c58377cf.746c38", + "x": 1395.7776489257812, + "y": 1886.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "784d9d63.e35d24" + "b6492206.1878" ] ] }, { - "id": "784d9d63.e35d24", + "id": "b6492206.1878", "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": 1547.3329620361328, - "y": 1861, - "z": "c58377cf.746c38", + "x": 1551.7774047851562, + "y": 1885.9999980926514, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "5381eaea.b64024", + "id": "8af458db.b9e108", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1136.3333282470703, - "y": 1985, - "z": "c58377cf.746c38", + "x": 1140.7777709960938, + "y": 2009.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "feda35aa.2dd568" + "a19e0d3a.a5352" ] ] }, { - "id": "feda35aa.2dd568", + "id": "a19e0d3a.a5352", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1304.3332061767578, - "y": 1980, - "z": "c58377cf.746c38", + "x": 1308.7776489257812, + "y": 2004.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "394a8d28.e8bf62" + "db18dde1.0a225" ] ] }, { - "id": "394a8d28.e8bf62", + "id": "db18dde1.0a225", "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\" />", "comments": "", - "x": 1462.3329010009766, - "y": 1983, - "z": "c58377cf.746c38", + "x": 1466.77734375, + "y": 2007.9999980926514, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "a4d388c6.e1d378", + "id": "9351a9d4.1b3748", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1096.3333282470703, - "y": 2084, - "z": "c58377cf.746c38", + "x": 1100.7777709960938, + "y": 2108.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "4eb3efa7.06956" + "5a1ef025.55213" ] ] }, { - "id": "4eb3efa7.06956", + "id": "5a1ef025.55213", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1272.3332061767578, - "y": 2085, - "z": "c58377cf.746c38", + "x": 1276.7776489257812, + "y": 2109.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "c8930846.1da0f8" + "9e81d6af.ff55f8" ] ] }, { - "id": "c8930846.1da0f8", + "id": "9e81d6af.ff55f8", "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\" />", "comments": "", - "x": 1419.3329010009766, - "y": 2088, - "z": "c58377cf.746c38", + "x": 1423.77734375, + "y": 2112.9999980926514, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "fdf8b14.ee8015", + "id": "46e24d05.b33174", "type": "block", "name": "DMAAP Payload Generation", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 666.3333282470703, - "y": 1951, - "z": "c58377cf.746c38", + "x": 670.7777709960938, + "y": 1975.9999980926514, + "z": "46bc844c.8e713c", "wires": [ [ - "f482fb64.3c4cb8", - "6b1bf445.9469bc", - "d59c933.00ed37" + "628d6d71.42f8e4", + "ee0b8032.b89a6", + "31844626.61416a" ] ] }, { - "id": "961718a3.21d988", + "id": "ae0bbeed.2287", "type": "block", "name": "DMAAP Reponse Publish", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 630.3333263397217, - "y": 2212.9999556541443, - "z": "c58377cf.746c38", + "x": 634.7777690887451, + "y": 2237.9999537467957, + "z": "46bc844c.8e713c", "wires": [ [ - "645b2b18.b78554", - "7e41b7cf.948fb8", - "4e0d291e.342408" + "8c4162a5.d81ad", + "70f89d30.b13c64", + "4a55c768.5405d8" ] ] }, { - "id": "7e41b7cf.948fb8", + "id": "70f89d30.b13c64", "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": 902.3334255218506, - "y": 2324.999472618103, - "z": "c58377cf.746c38", + "x": 906.777868270874, + "y": 2349.9994707107544, + "z": "46bc844c.8e713c", "wires": [ [ - "5faadc8c.00efb4", - "c55193fd.7ba17" + "3cdfa381.8f652c", + "bb39b817.930928" ] ] }, { - "id": "645b2b18.b78554", + "id": "8c4162a5.d81ad", "type": "set", "name": "set", "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfig`'/>", "comments": "", - "x": 967.0000896453857, - "y": 2161.000005722046, - "z": "c58377cf.746c38", + "x": 971.4445323944092, + "y": 2186.0000038146973, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "5faadc8c.00efb4", + "id": "3cdfa381.8f652c", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1122.8333644866943, - "y": 2251.9167337417603, - "z": "c58377cf.746c38", + "x": 1127.2778072357178, + "y": 2276.9167318344116, + "z": "46bc844c.8e713c", "wires": [ [ - "827e4a31.8811c8" + "e3c8fec8.7984" ] ] }, { - "id": "c55193fd.7ba17", + "id": "bb39b817.930928", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1126.8332843780518, - "y": 2390.916576385498, - "z": "c58377cf.746c38", + "x": 1131.2777271270752, + "y": 2415.9165744781494, + "z": "46bc844c.8e713c", "wires": [ [ - "bec9ce8b.12804" + "3c65a06e.1bb79" ] ] }, { - "id": "827e4a31.8811c8", + "id": "e3c8fec8.7984", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1282.8331985473633, - "y": 2253.9167346954346, - "z": "c58377cf.746c38", + "x": 1287.2776412963867, + "y": 2278.916732788086, + "z": "46bc844c.8e713c", "wires": [ [ - "79df5c7e.676ca4" + "e9015563.f77e98" ] ] }, { - "id": "79df5c7e.676ca4", + "id": "e9015563.f77e98", "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": 1459.8329601287842, - "y": 2243.9167881011963, - "z": "c58377cf.746c38", + "x": 1464.2774028778076, + "y": 2268.9167861938477, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "bec9ce8b.12804", + "id": "3c65a06e.1bb79", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1309.8329277038574, - "y": 2383.91668510437, - "z": "c58377cf.746c38", + "x": 1314.2773704528809, + "y": 2408.9166831970215, + "z": "46bc844c.8e713c", "wires": [ [ - "7e059f72.a8d6a" + "c5ff3621.7153e8" ] ] }, { - "id": "7e059f72.a8d6a", + "id": "c5ff3621.7153e8", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Config Response Message Successfully Published \"/>", "comments": "", "outputs": 1, - "x": 1491.833044052124, - "y": 2368.916955947876, - "z": "c58377cf.746c38", + "x": 1496.2774868011475, + "y": 2393.9169540405273, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "4e0d291e.342408", + "id": "4a55c768.5405d8", "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/configuration-phy-cell-id.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", "comments": "", "outputs": 1, - "x": 973.8333988189697, - "y": 2232.454870223999, - "z": "c58377cf.746c38", + "x": 978.2778415679932, + "y": 2257.4548683166504, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "cd63a3fb.08b76", + "id": "b716ea71.c1a2f8", "type": "set", "name": "set properties for DMAAP header", "xml": "<set>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.timestamp\" value=\"`$configuration-phy-cell-id-input.timeStamp`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.requestID\" value=\"`$configuration-phy-cell-id-input.requestID`\"/>\n<parameter name=\"prop.oofpcipoc-dmaap-config-resp.subrequestID\" value=\"`$configuration-phy-cell-id-input.subRequestID`\"/>", "comments": "", - "x": 507.3333282470703, - "y": 332, - "z": "c58377cf.746c38", + "x": 511.77777099609375, + "y": 356.99999809265137, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "d49ac97a.90e568", + "id": "55b11952.8ee478", "type": "set", "name": "set tmp variables", "xml": "<set>\n<parameter name=\"tmp.idNRCellDU\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.idGNBDUFunction\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.nRPCI\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n", "comments": "", - "x": 2793.33406829834, - "y": 1309.333683013916, - "z": "c58377cf.746c38", + "x": 2797.7785110473633, + "y": 1334.3336811065674, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "16c3686d.fbd258", + "id": "88f0830.251918", "type": "execute", "name": "populate idNRCellDU", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.oofpcipoc.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.oofpcipoc.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellDU`\"/>", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellDU`\"/>", "comments": "", "outputs": 1, - "x": 2819.334182739258, - "y": 1738.6668243408203, - "z": "c58377cf.746c38", + "x": 2823.7786254882812, + "y": 1763.6668224334717, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "e304e842.d74c08", + "id": "7c01eeb.3d55d1", "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/configuration-phy-cell-id.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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CPS is Deployed, ConfigDB Skipped\"/>", "comments": "", "outputs": 1, - "x": 3209.0003509521484, - "y": 1948.0000524520874, - "z": "c58377cf.746c38", + "x": 3350.1115951538086, + "y": 1926.3334121704102, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "d74e3845.3c3728", + "id": "45a4d496.91e70c", "type": "outcome", "name": "Not Deployed", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3030.0002765655518, - "y": 1935.111270904541, - "z": "c58377cf.746c38", + "x": 3063.444751739502, + "y": 1951.4447603225708, + "z": "46bc844c.8e713c", "wires": [ [ - "e304e842.d74c08" + "552b5e4f.154ca" ] ] }, { - "id": "3ef32216.34dcde", + "id": "b16469e6.4fa108", "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/configuration-phy-cell-id.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": 479.3335418701172, - "y": 531.6666841506958, - "z": "c58377cf.746c38", + "x": 483.7779846191406, + "y": 556.6666822433472, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "fcd1c02a.dc8b9", + "id": "aef3c2b4.b7175", "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": 491.08345794677734, - "y": 482.48805236816406, - "z": "c58377cf.746c38", + "x": 495.5279006958008, + "y": 507.48805046081543, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "276139cb.601476", + "id": "b4637758.354448", "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": 515.6309051513672, - "y": 624.594705581665, - "z": "c58377cf.746c38", + "x": 520.0753479003906, + "y": 649.5947036743164, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "5e046b0c.0bfa04", + "id": "c2d8e1b0.cdd98", "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": 920.1306533813477, - "y": 609.4478543996811, - "z": "c58377cf.746c38", + "x": 924.5750961303711, + "y": 634.4478524923325, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "90553fd2.d04e2", + "id": "825e99ea.480a28", "type": "execute", "name": "initialize nearRTRIC size", "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t", "comments": "", "outputs": 1, - "x": 548.2211608886719, - "y": 667.8329477310181, - "z": "c58377cf.746c38", + "x": 552.6656036376953, + "y": 692.8329458236694, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "2f040fc3.7b741", + "id": "358268ea.d2df38", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 716.6389694213867, - "y": 744.3451976776123, - "z": "c58377cf.746c38", + "x": 721.0834121704102, + "y": 769.3451957702637, + "z": "46bc844c.8e713c", "wires": [ [ - "d95f3f10.e9b42", - "b34f9533.d06528" + "f81dcbde.e63948", + "cf8bff84.7959f" ] ] }, { - "id": "3dee2f06.40933", + "id": "e66db74.667c448", "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": 1653.337474822998, - "y": 188.2659683227539, - "z": "c58377cf.746c38", + "x": 1657.7819175720215, + "y": 213.26596641540527, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "dbe33f92.36491", + "id": "f7fee6a.2700118", "type": "for", "name": "For anchorsList", "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>", "comments": "", "outputs": 1, - "x": 521.5066375732422, - "y": 704.7301654815674, - "z": "c58377cf.746c38", + "x": 525.9510803222656, + "y": 729.7301635742188, + "z": "46bc844c.8e713c", "wires": [ [ - "64bd3b05.fbf404" + "44e05c8c.adf1d4" ] ] }, { - "id": "64bd3b05.fbf404", + "id": "44e05c8c.adf1d4", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 726.0385437011719, - "y": 699.6864643096924, - "z": "c58377cf.746c38", + "x": 730.4829864501953, + "y": 724.6864624023438, + "z": "46bc844c.8e713c", "wires": [ [ - "f74e7a90.28f4e8", - "5e046b0c.0bfa04" + "1478bac0.b9e245", + "c2d8e1b0.cdd98" ] ] }, { - "id": "f74e7a90.28f4e8", + "id": "1478bac0.b9e245", "type": "switchNode", "name": "check schemaSetName", "xml": "<switch test='`$tmp.schemaset.name`'>\n", "comments": "", "outputs": 1, - "x": 944.6152114868164, - "y": 656.5436420440674, - "z": "c58377cf.746c38", + "x": 949.0596542358398, + "y": 681.5436401367188, + "z": "46bc844c.8e713c", "wires": [ [ - "b918aa56.1e2b58" + "23f3c2e7.b2256e" ] ] }, { - "id": "b918aa56.1e2b58", + "id": "23f3c2e7.b2256e", "type": "outcome", "name": "if ran-network", "xml": "<outcome value='ran-network'>\n", "comments": "", "outputs": 1, - "x": 1127.9208030700684, - "y": 621.01589012146, - "z": "c58377cf.746c38", + "x": 1132.3652458190918, + "y": 646.0158882141113, + "z": "46bc844c.8e713c", "wires": [ [ - "c8ff510d.8a4e4" + "d5569fc5.e6a2" ] ] }, { - "id": "c8ff510d.8a4e4", + "id": "d5569fc5.e6a2", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1449.2232093811035, - "y": 132.34918785095215, - "z": "c58377cf.746c38", + "x": 1453.667652130127, + "y": 157.34918594360352, + "z": "46bc844c.8e713c", "wires": [ [ - "e2710b27.4b2068", - "2ee6585d.3f7de8" + "d8f9145c.df6b18", + "3ea829a5.c173f6" ] ] }, { - "id": "e2710b27.4b2068", + "id": "d8f9145c.df6b18", "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/configuration-phy-cell-id.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": 1628.136631011963, - "y": 132.15472984313965, - "z": "c58377cf.746c38", + "x": 1632.5810737609863, + "y": 157.15472793579102, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "b34f9533.d06528", + "id": "cf8bff84.7959f", "type": "switchNode", "name": "check schemaSetName", "xml": "<switch test='`$tmp.schemaset.name`'>\n", "comments": "", "outputs": 1, - "x": 942.4144592285156, - "y": 734.9170907735825, - "z": "c58377cf.746c38", + "x": 946.8589019775391, + "y": 759.9170888662338, + "z": "46bc844c.8e713c", "wires": [ [ - "567dac79.83e914" + "157de446.c219ec" ] ] }, { - "id": "d95f3f10.e9b42", + "id": "f81dcbde.e63948", "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": 926.4422912597656, - "y": 693.6670888662338, - "z": "c58377cf.746c38", + "x": 930.8867340087891, + "y": 718.6670869588852, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "567dac79.83e914", + "id": "157de446.c219ec", "type": "outcome", "name": "if ran-network", "xml": "<outcome value='ran-network'>\n", "comments": "", "outputs": 1, - "x": 1126.2200469970703, - "y": 691.3893798589706, - "z": "c58377cf.746c38", + "x": 1130.6644897460938, + "y": 716.389377951622, + "z": "46bc844c.8e713c", "wires": [ [ - "ca67e08a.c000e" + "c2330e5e.e47bd" ] ] }, { - "id": "ca67e08a.c000e", + "id": "c2330e5e.e47bd", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1472.3558540344238, - "y": 218.6115493774414, - "z": "c58377cf.746c38", + "x": 1476.8002967834473, + "y": 243.61154747009277, + "z": "46bc844c.8e713c", "wires": [ [ - "3dee2f06.40933", - "73b26530.51d98c" + "e66db74.667c448", + "89ae2b32.b0fc38" ] ] }, { - "id": "cab68aad.8e5a38", + "id": "2e1b5ff3.7da19", "type": "for", "name": "For anchorsList", "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>", "comments": "", "outputs": 1, - "x": 515.3798484802246, - "y": 750.1909408569336, - "z": "c58377cf.746c38", + "x": 519.824291229248, + "y": 775.190938949585, + "z": "46bc844c.8e713c", "wires": [ [ - "2f040fc3.7b741" + "358268ea.d2df38" ] ] }, { - "id": "2ee6585d.3f7de8", + "id": "3ea829a5.c173f6", "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": 1627.1947441101074, - "y": 83.83377170562744, - "z": "c58377cf.746c38", + "x": 1631.6391868591309, + "y": 108.83376979827881, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "73b26530.51d98c", + "id": "89ae2b32.b0fc38", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1669.2819709777832, - "y": 236.98813915252686, - "z": "c58377cf.746c38", + "x": 1673.7264137268066, + "y": 261.9881372451782, + "z": "46bc844c.8e713c", "wires": [ [ - "2961f4b6.76787c", - "c9ec4072.853ac", - "898e9ed2.7d262", - "6cb4485a.40b988" + "60c1bc1c.4fc694", + "731eea74.fdba64", + "af700d79.af35b", + "9130729b.2cc6a" ] ] }, { - "id": "aa82d9f0.031178", + "id": "c221caea.8d05e8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 728.5874481201172, - "y": 508.0435584783554, - "z": "c58377cf.746c38", + "x": 733.0318908691406, + "y": 533.0435565710068, + "z": "46bc844c.8e713c", "wires": [ [ - "52f9b872.cb1f08" + "58a2743.4c9548c" ] ] }, { - "id": "c1745830.c79c28", + "id": "6682b05a.b4663", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 742.5876197814941, - "y": 582.2379741668701, - "z": "c58377cf.746c38", + "x": 747.0320625305176, + "y": 607.2379722595215, + "z": "46bc844c.8e713c", "wires": [ [ - "d16d7e85.f040a" + "112c3ee5.3804b1" ] ] }, { - "id": "52f9b872.cb1f08", + "id": "58a2743.4c9548c", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 871.2819442749023, - "y": 505.6547578573227, - "z": "c58377cf.746c38", + "x": 875.7263870239258, + "y": 530.6547559499741, + "z": "46bc844c.8e713c", "wires": [ [ - "6e4671dc.37a73", - "ca554988.aee148" + "c8f4ffb8.dce39", + "b85d1e50.469e9" ] ] }, { - "id": "d16d7e85.f040a", + "id": "112c3ee5.3804b1", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 891.0317802429199, - "y": 558.9046806097031, - "z": "c58377cf.746c38", + "x": 895.4762229919434, + "y": 583.9046787023544, + "z": "46bc844c.8e713c", "wires": [ [ - "22a64b3b.f79184", - "2ccf9ec1.323512" + "ab95a6e4.ee8118", + "34378aaf.798d46" ] ] }, { - "id": "6e4671dc.37a73", + "id": "c8f4ffb8.dce39", "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": 1055.0593719482422, - "y": 469.48796784877777, - "z": "c58377cf.746c38", + "x": 1059.5038146972656, + "y": 494.48796594142914, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "22a64b3b.f79184", + "id": "ab95a6e4.ee8118", "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/configuration-phy-cell-id.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": 1072.7815437316895, - "y": 543.1547216176987, - "z": "c58377cf.746c38", + "x": 1077.225986480713, + "y": 568.15471971035, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "2ccf9ec1.323512", + "id": "34378aaf.798d46", "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/configuration-phy-cell-id-context.log' />", "comments": "", "outputs": 1, - "x": 1086.3097839355469, - "y": 575.9047235250473, - "z": "c58377cf.746c38", + "x": 1090.7542266845703, + "y": 600.9047216176987, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "ca554988.aee148", + "id": "b85d1e50.469e9", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failed to fetch anchors from CPS\"/>", "comments": "", "outputs": 1, - "x": 1048.8652839660645, - "y": 506.01580369472504, - "z": "c58377cf.746c38", + "x": 1053.309726715088, + "y": 531.0158017873764, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "139219ea.fde996", + "id": "88b8100a.1ccdd", "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": 536.281867980957, - "y": 580.2618999481201, - "z": "c58377cf.746c38", + "x": 540.7263107299805, + "y": 605.2618980407715, + "z": "46bc844c.8e713c", "wires": [ [ - "c1745830.c79c28", - "aa82d9f0.031178" + "6682b05a.b4663", + "c221caea.8d05e8" ] ] }, { - "id": "ef35386d.f4d498", + "id": "71f0ae82.b9807", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2175.136142730713, - "y": 265.78018283843994, - "z": "c58377cf.746c38", + "x": 2179.5805854797363, + "y": 290.7801809310913, + "z": "46bc844c.8e713c", "wires": [ [ - "e5c8fa32.f982b8" + "4975a161.3151" ] ] }, { - "id": "e5c8fa32.f982b8", + "id": "4975a161.3151", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2384.1361083984375, - "y": 236.7803249359131, - "z": "c58377cf.746c38", + "x": 2388.580551147461, + "y": 261.78032302856445, + "z": "46bc844c.8e713c", "wires": [ [ - "cb16367d.88f608", - "990802f8.cc45e", - "6dfb5d3d.74c2b4" + "f650848f.c55138", + "20bd7e3e.d98032", + "186aa1f7.7c683e" ] ] }, { - "id": "aa047f42.496c3", + "id": "44fed0f9.b287c", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2198.136106491089, - "y": 211.7803249359131, - "z": "c58377cf.746c38", + "x": 2202.5805492401123, + "y": 236.78032302856445, + "z": "46bc844c.8e713c", "wires": [ [ - "d9aa5f2c.f450c" + "29e71e49.aeeae2" ] ] }, { - "id": "d9aa5f2c.f450c", + "id": "29e71e49.aeeae2", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 2420.9934692382812, - "y": 164.06601810455322, - "z": "c58377cf.746c38", + "x": 2425.4379119873047, + "y": 189.0660161972046, + "z": "46bc844c.8e713c", "wires": [ [ - "9e4f9599.04c0a8" + "5f3eb114.47032" ] ] }, { - "id": "2961f4b6.76787c", + "id": "60c1bc1c.4fc694", "type": "execute", "name": "generate getNearRTRIC From idGNBDUFunction 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.getNearRTRICByidGNBDUFunction.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.anchor.name`\"/>", "comments": "", "outputs": 1, - "x": 1980.0682983398438, - "y": 124.71218967437744, - "z": "c58377cf.746c38", + "x": 1984.5127410888672, + "y": 149.7121877670288, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "c9ec4072.853ac", + "id": "731eea74.fdba64", "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.getNearRTRICByidGNBDUFunction.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByidGNBDUFunction.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-idgnbdufunction`\"/>", "comments": "", "outputs": 1, - "x": 1900.0683517456055, - "y": 166.71219062805176, - "z": "c58377cf.746c38", + "x": 1904.512794494629, + "y": 191.71218872070312, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "898e9ed2.7d262", + "id": "af700d79.af35b", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to Get NearRTRIC for idGNBDUFunction\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByidGNBDUFunction.url`\" />", "comments": "", "outputs": 1, - "x": 1927.0683135986328, - "y": 207.71219158172607, - "z": "c58377cf.746c38", + "x": 1931.5127563476562, + "y": 232.71218967437744, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "6cb4485a.40b988", + "id": "9130729b.2cc6a", "type": "execute", "name": "Get nearRTRIC for idGNBDUFunction", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByidGNBDUFunction.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-idgnbdufunction.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": 1927.0682525634766, - "y": 252.7121934890747, - "z": "c58377cf.746c38", + "x": 1931.5126953125, + "y": 277.7121915817261, + "z": "46bc844c.8e713c", "wires": [ [ - "aa047f42.496c3", - "ef35386d.f4d498" + "44fed0f9.b287c", + "71f0ae82.b9807" ] ] }, { - "id": "990802f8.cc45e", + "id": "20bd7e3e.d98032", "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/configuration-phy-cell-id.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": 2571.0685081481934, - "y": 263.71212577819824, - "z": "c58377cf.746c38", + "x": 2575.512950897217, + "y": 288.7121238708496, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "cb16367d.88f608", + "id": "f650848f.c55138", "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/configuration-phy-cell-id-context.log' />\n\n\n", "comments": "", "outputs": 1, - "x": 2569.8461875915527, - "y": 313.7123476266861, - "z": "c58377cf.746c38", + "x": 2574.290630340576, + "y": 338.71234571933746, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "9e4f9599.04c0a8", + "id": "5f3eb114.47032", "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": 2567.068347930908, - "y": 147.8232078552246, - "z": "c58377cf.746c38", + "x": 2571.5127906799316, + "y": 172.82320594787598, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "6dc5ee71.cb084", + "id": "bc1e082b.24b418", "type": "set", "name": "set tmp variables", "xml": "<set>\n<parameter name=\"tmp.idGNBDU\" value=\"`$configuration-phy-cell-id-input.fap-service[0].pnf-name`\"/>\n", "comments": "", - "x": 499.1361541748047, - "y": 417.11352920532227, - "z": "c58377cf.746c38", + "x": 503.5805969238281, + "y": 442.11352729797363, + "z": "46bc844c.8e713c", "wires": [] }, { - "id": "6dfb5d3d.74c2b4", + "id": "186aa1f7.7c683e", "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": 2593.136707305908, - "y": 213.4468650817871, - "z": "c58377cf.746c38", + "x": 2597.5811500549316, + "y": 238.44686317443848, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "42e6b286.6d1cdc", + "id": "7a26d7bd.2a31d8", "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.idGNBDUFunction`\"/>", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>", "comments": "", "outputs": 1, - "x": 2831.333366394043, - "y": 1648.3333625793457, - "z": "c58377cf.746c38", + "x": 2835.7778091430664, + "y": 1673.333360671997, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "4188657a.7ee05c", + "id": "6598c410.436e2c", "type": "execute", "name": "populate mount name", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.fap-service-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.fap-service-url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>", "comments": "", "outputs": 1, - "x": 2850.000030517578, - "y": 1437.2222127914429, - "z": "c58377cf.746c38", + "x": 2854.4444732666016, + "y": 1462.2222108840942, + "z": "46bc844c.8e713c", "wires": [ [] ] }, { - "id": "ce7631de.a2bdc", + "id": "599ef68c.e836f8", "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idNRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.idNRCellDU`\"/>\n<parameter name=\"field3\" value=\"idGNBDUFunction\"/>\n<parameter name=\"field4\" value=\"`$tmp.idGNBDUFunction`\"/>\n<parameter name=\"field5\" value=\"nRPCI\"/>\n<parameter name=\"field6\" value=\"`$tmp.nRPCI`\"/>", "comments": "", "outputs": 1, - "x": 2789.4443397521973, - "y": 1352.7776546478271, - "z": "c58377cf.746c38", + "x": 2793.8887825012207, + "y": 1377.7776527404785, + "z": "46bc844c.8e713c", + "wires": [ + [] + ] + }, + { + "id": "ea1be66.4084218", + "type": "set", + "name": "set tmp variables", + "xml": "<set>\n<parameter name=\"tmp.idNRCellDU\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.idGNBDUFunction\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.nRPCI\" value=\"`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n", + "comments": "", + "x": 2500.3331451416016, + "y": 420.000018119812, + "z": "46bc844c.8e713c", + "wires": [] + }, + { + "id": "ac7df1f6.d8a71", + "type": "execute", + "name": "populate idGNBDUFunction", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>", + "comments": "", + "outputs": 1, + "x": 2515.3331909179688, + "y": 540.5555400848389, + "z": "46bc844c.8e713c", + "wires": [ + [] + ] + }, + { + "id": "35b9952f.955e5a", + "type": "execute", + "name": "populate mount name", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getGNBDUFunction-url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getGNBDUFunction-url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>", + "comments": "", + "outputs": 1, + "x": 2503.666229248047, + "y": 498.10066413879395, + "z": "46bc844c.8e713c", + "wires": [ + [] + ] + }, + { + "id": "8bfa8e24.f1519", + "type": "execute", + "name": "generate pci patch url for a cell", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "comments": "", + "outputs": 1, + "x": 2493.6666107177734, + "y": 728.3332824707031, + "z": "46bc844c.8e713c", + "wires": [ + [] + ] + }, + { + "id": "90027a5c.f27a28", + "type": "execute", + "name": "populate idGNBDUFunction", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBDUFunction`\"/>", + "comments": "", + "outputs": 1, + "x": 2489.667366027832, + "y": 806.3229904174805, + "z": "46bc844c.8e713c", + "wires": [ + [] + ] + }, + { + "id": "5d0e468e.907008", + "type": "execute", + "name": "populate idNRCellDU", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.nrcelldu.patch.pci.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.nrcelldu.patch.pci.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idNRCellDU`\"/>", + "comments": "", + "outputs": 1, + "x": 2475.667121887207, + "y": 861.6460304260254, + "z": "46bc844c.8e713c", + "wires": [ + [] + ] + }, + { + "id": "39e743ea.9c4c0c", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3600.7777709960938, + "y": 2031.55544090271, + "z": "46bc844c.8e713c", + "wires": [ + [ + "4c667e51.d22c1" + ] + ] + }, + { + "id": "4c667e51.d22c1", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3767.4442825317383, + "y": 2041.2221202850342, + "z": "46bc844c.8e713c", + "wires": [ + [ + "b53ba38a.c512e", + "3c60c294.872b2e" + ] + ] + }, + { + "id": "3c60c294.872b2e", + "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": 3948.111282348633, + "y": 2012.6664123535156, + "z": "46bc844c.8e713c", + "wires": [] + }, + { + "id": "b53ba38a.c512e", + "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": 3967.1111221313477, + "y": 2067.5554151535034, + "z": "46bc844c.8e713c", + "wires": [] + }, + { + "id": "fc4550e.2f1ccb", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3602.595806121826, + "y": 2168.131169319153, + "z": "46bc844c.8e713c", + "wires": [ + [ + "93c78852.dc7fc8" + ] + ] + }, + { + "id": "93c78852.dc7fc8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3790.5956497192383, + "y": 2153.1313104629517, + "z": "46bc844c.8e713c", + "wires": [ + [ + "74656fd1.5993e" + ] + ] + }, + { + "id": "74656fd1.5993e", + "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NRCellDU info in cps\"/>", + "comments": "", + "outputs": 1, + "x": 3975.929153442383, + "y": 2131.131513595581, + "z": "46bc844c.8e713c", + "wires": [ + [] + ] + }, + { + "id": "61d4f50d.8aed8c", + "type": "execute", + "name": "generate put nrpci nrcelldu 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.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>", + "comments": "", + "outputs": 1, + "x": 3416.3099975585938, + "y": 1976.849384188652, + "z": "46bc844c.8e713c", + "wires": [ + [] + ] + }, + { + "id": "2cecd473.8d9bfc", + "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.putnrpci.nrcelldu.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrpci-nrcelldu`\"/>", + "comments": "", + "outputs": 1, + "x": 3391.309989929199, + "y": 2025.1830444335938, + "z": "46bc844c.8e713c", + "wires": [ + [] + ] + }, + { + "id": "4567c211.7a242c", + "type": "execute", + "name": "put nrpci nrcelldu", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrpci.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-nrpci-nrcelldu-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": 3358.109794616699, + "y": 2129.9828929901123, + "z": "46bc844c.8e713c", + "wires": [ + [ + "39e743ea.9c4c0c", + "fc4550e.2f1ccb" + ] + ] + }, + { + "id": "845a226c.f938", + "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to put nRPCI NRCellDU\"/>\n<parameter name='field2' value=\"`$tmp.cps.putnrpci.nrcelldu.url`\" />", + "comments": "", + "outputs": 1, + "x": 3335.949966430664, + "y": 2077.899069786072, + "z": "46bc844c.8e713c", "wires": [ [] ] + }, + { + "id": "552b5e4f.154ca", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3118.0000915527344, + "y": 2035.3334350585938, + "z": "46bc844c.8e713c", + "wires": [ + [ + "7c01eeb.3d55d1", + "61d4f50d.8aed8c", + "2cecd473.8d9bfc", + "845a226c.f938", + "4567c211.7a242c" + ] + ] + }, + { + "id": "6d96ad4b.d71d24", + "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CPS is Deployed, ConfigDB Skipped\"/>", + "comments": "", + "outputs": 1, + "x": 3636.666748046875, + "y": 1242.6666259765625, + "z": "46bc844c.8e713c", + "wires": [ + [] + ] + }, + { + "id": "af5e8f30.17624", + "type": "outcome", + "name": "Not Deployed", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 2990.0001792907715, + "y": 1151.7779922485352, + "z": "46bc844c.8e713c", + "wires": [ + [ + "8492e23c.e47ad" + ] + ] + }, + { + "id": "9522198.2b734e8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3887.33292388916, + "y": 1347.8886547088623, + "z": "46bc844c.8e713c", + "wires": [ + [ + "9384946b.7d4f08" + ] + ] + }, + { + "id": "9384946b.7d4f08", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4053.9994354248047, + "y": 1357.5553340911865, + "z": "46bc844c.8e713c", + "wires": [ + [ + "e30d846f.d3e1f8", + "47520dbb.c29804" + ] + ] + }, + { + "id": "47520dbb.c29804", + "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": 4234.666435241699, + "y": 1328.999626159668, + "z": "46bc844c.8e713c", + "wires": [] + }, + { + "id": "e30d846f.d3e1f8", + "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": 4253.666275024414, + "y": 1383.8886289596558, + "z": "46bc844c.8e713c", + "wires": [] + }, + { + "id": "1785d968.9c7f67", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3889.1509590148926, + "y": 1484.4643831253052, + "z": "46bc844c.8e713c", + "wires": [ + [ + "489ffb78.e71864" + ] + ] + }, + { + "id": "489ffb78.e71864", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4077.1508026123047, + "y": 1469.464524269104, + "z": "46bc844c.8e713c", + "wires": [ + [ + "7568cc55.701ad4" + ] + ] + }, + { + "id": "7568cc55.701ad4", + "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NRCellDU info in cps\"/>", + "comments": "", + "outputs": 1, + "x": 4262.484306335449, + "y": 1447.4647274017334, + "z": "46bc844c.8e713c", + "wires": [ + [] + ] + }, + { + "id": "afe6df24.7406f", + "type": "execute", + "name": "generate put nrpci nrcelldu 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.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>", + "comments": "", + "outputs": 1, + "x": 3702.86515045166, + "y": 1293.1825979948044, + "z": "46bc844c.8e713c", + "wires": [ + [] + ] + }, + { + "id": "3bead5c3.8d6cda", + "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.putnrpci.nrcelldu.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.putnrpci.nrcelldu.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.put-nrpci-nrcelldu`\"/>", + "comments": "", + "outputs": 1, + "x": 3677.8651428222656, + "y": 1341.516258239746, + "z": "46bc844c.8e713c", + "wires": [ + [] + ] + }, + { + "id": "e140bcea.b8b74", + "type": "execute", + "name": "put nrpci nrcelldu", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.putnrpci.nrcelldu.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-put-nrpci.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"cps-put-nrpci-nrcelldu-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": 3644.6649475097656, + "y": 1446.3161067962646, + "z": "46bc844c.8e713c", + "wires": [ + [ + "9522198.2b734e8", + "1785d968.9c7f67" + ] + ] + }, + { + "id": "7be69543.1d3b6c", + "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/configuration-phy-cell-id.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for CPS TDBMT to put nRPCI NRCellDU\"/>\n<parameter name='field2' value=\"`$tmp.cps.putnrpci.nrcelldu.url`\" />", + "comments": "", + "outputs": 1, + "x": 3622.5051193237305, + "y": 1394.2322835922241, + "z": "46bc844c.8e713c", + "wires": [ + [] + ] + }, + { + "id": "8492e23c.e47ad", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3404.555244445801, + "y": 1351.666648864746, + "z": "46bc844c.8e713c", + "wires": [ + [ + "6d96ad4b.d71d24", + "afe6df24.7406f", + "3bead5c3.8d6cda", + "7be69543.1d3b6c", + "e140bcea.b8b74" + ] + ] } ] diff --git a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json index fdddf945..9d2eafd7 100644 --- a/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json +++ b/platform-logic/oofpcipoc-api/src/main/json/oofpcipoc-api_generic-neighbor-configuration.json @@ -1,17 +1,17 @@ [ { - "id": "958f3975.8ff368", + "id": "a23e1986.d0e508", "type": "comment", "name": "Generic Neighbor Configuration", "info": "", "comments": "", "x": 342.5104064941406, - "y": 41.666664123535156, - "z": "7137e6b8.2035e8", + "y": 71.66666412353516, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "1f489f91.23b74", + "id": "c91e3e99.6d94", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", @@ -19,67 +19,55 @@ "comments": "", "outputs": 1, "x": 2254.510841369629, - "y": 916.6772780418396, - "z": "7137e6b8.2035e8", + "y": 946.6772780418396, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "fc17bc52.31382", - "865a47d.6f75cb8", - "a32983a2.941a3", - "e2796569.6cd748", - "1c1c309f.b19e9f", - "4cbb6966.6fcbd8", - "a5337836.392598", - "252eca6.e8e7436", - "7764d749.1e3eb8", - "220ae832.bfd458", - "ab48c4f9.92b038" + "6925e908.d68148", + "44d3f36e.4e5edc", + "468b7854.8855a8", + "58f14033.666ac", + "752eee76.25b35", + "57d3d9c.2e0d328", + "4acfeeff.78756", + "7b39b4de.4e9c6c", + "f5ee8b6.12ca678", + "82978ac0.ed8dc8", + "6b608403.2d3acc", + "9f32aefb.8b268", + "f51e527f.45e31" ] ] }, { - "id": "ca49ee81.51d01", + "id": "2424729e.e49bce", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >", "comments": "", "outputs": 1, "x": 1500.5108261108398, - "y": 784.666862487793, - "z": "7137e6b8.2035e8", + "y": 814.666862487793, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "1f489f91.23b74" + "c91e3e99.6d94" ] ] }, { - "id": "fc17bc52.31382", + "id": "6925e908.d68148", "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": 2669.5118408203125, - "y": 799.5557632446289, - "z": "7137e6b8.2035e8", + "x": 2659.5118865966797, + "y": 796.2224502563477, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "865a47d.6f75cb8", - "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": 2534.021188735962, - "y": 842.6770915985107, - "z": "7137e6b8.2035e8", - "wires": [ - [] - ] - }, - { - "id": "30575989.1a1fd6", + "id": "13ca70be.83d0ef", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", @@ -87,118 +75,118 @@ "comments": "", "outputs": 1, "x": 76, - "y": 368.65629959106445, - "z": "7137e6b8.2035e8", + "y": 398.65629959106445, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "9f6cb18a.9ed65", - "e0e4362b.774ec8", - "921911db.9139f", - "746b660d.b885d8", - "2df44597.de8e7a", - "b120b243.60a3c", - "8d9907e3.141768", - "4c9c03b6.8c846c", - "bfe25499.9b01c8", - "8d5dab3a.00cc68", - "edfb7b39.0a73c8", - "5a48b2a.858134c", - "dafce576.0faf68", - "43254f57.b2715", - "f914ac5c.6260d", - "9d717d64.54a03", - "757b7.99b5c8498", - "68291ec4.89a15" + "3eca09f7.b873e6", + "a9f8f882.e807f8", + "d6fb8a83.bb64f8", + "b1d6a19d.fa01b", + "82ac39cb.7f9698", + "1f32c22f.4bd18e", + "92654a64.0d57a8", + "530ff06c.c455e", + "5b9b0a8.18bd8f4", + "67a95ff9.4b3fd", + "465d1be9.f815a4", + "ad4ecd3c.4121d", + "ddbfcb04.fe0288", + "3b17d3a0.cdc9fc", + "524f7198.62576", + "f9ba5873.70cca8", + "d7997fdc.fef12", + "8b8d2961.aeae98" ] ] }, { - "id": "6a24e4a4.c1e59c", + "id": "d67b8559.51c7a8", "type": "method", "name": "method", "xml": "<method rpc='generic-neighbor-configuration' mode='sync'>\n", "comments": "", "outputs": 1, "x": 93.51040649414062, - "y": 200.65624237060547, - "z": "7137e6b8.2035e8", + "y": 230.65624237060547, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "30575989.1a1fd6" + "13ca70be.83d0ef" ] ] }, { - "id": "9f6cb18a.9ed65", + "id": "3eca09f7.b873e6", "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": 96.51074600219727, - "y": 2859.656629562378, - "z": "7137e6b8.2035e8", + "y": 2889.656629562378, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "e0e4362b.774ec8", + "id": "a9f8f882.e807f8", "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": 392.5107116699219, - "y": 98.67709350585938, - "z": "7137e6b8.2035e8", + "y": 128.67709350585938, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "921911db.9139f", + "id": "d6fb8a83.bb64f8", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >", "comments": "", "outputs": 1, "x": 403.5960998535156, - "y": 145.61983489990234, - "z": "7137e6b8.2035e8", + "y": 175.61983489990234, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "6ac2e9a6.33f028" + "3f83b27a.26631e" ] ] }, { - "id": "746b660d.b885d8", + "id": "b1d6a19d.fa01b", "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": 413.5105895996094, - "y": 194.67707061767578, - "z": "7137e6b8.2035e8", + "y": 224.67707061767578, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "2df44597.de8e7a", + "id": "82ac39cb.7f9698", "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.5107116699219, - "y": 235.67716217041016, - "z": "7137e6b8.2035e8", + "y": 265.67716217041016, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "95f9a999.3753d8", + "id": "819d7966.4e53d8", "type": "service-logic", "name": "oofpcipoc-api ${project.version}", "module": "oofpcipoc-api", @@ -207,177 +195,135 @@ "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": 147.51039123535156, - "y": 110.6563491821289, - "z": "7137e6b8.2035e8", + "y": 140.6563491821289, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "6a24e4a4.c1e59c" + "d67b8559.51c7a8" ] ] }, { - "id": "6ac2e9a6.33f028", + "id": "3f83b27a.26631e", "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": 568.5109558105469, - "y": 129.6562957763672, - "z": "7137e6b8.2035e8", + "y": 159.6562957763672, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "5038f35e.b760cc", + "id": "f7672e92.fc0de", "type": "dgstart", "name": "DGSTART", "outputs": 1, "x": 82.51040649414062, - "y": 48.65625, - "z": "7137e6b8.2035e8", + "y": 78.65625, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "95f9a999.3753d8" + "819d7966.4e53d8" ] ] }, { - "id": "220ae832.bfd458", + "id": "57d3d9c.2e0d328", "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": 2605.0215454101562, - "y": 887.2328109741211, - "z": "7137e6b8.2035e8", + "x": 2578.3551712036133, + "y": 1002.2327814102173, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "a32983a2.941a3", + "id": "44d3f36e.4e5edc", "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": 2532.0211791992188, - "y": 940.4548721313477, - "z": "7137e6b8.2035e8", + "x": 2512.0211067199707, + "y": 1200.454993724823, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "e2796569.6cd748", - "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": 2734.021306991577, - "y": 952.4548864364624, - "z": "7137e6b8.2035e8", - "wires": [ - [] - ] - }, - { - "id": "1c1c309f.b19e9f", - "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": 2602.0211601257324, - "y": 996.4548616409302, - "z": "7137e6b8.2035e8", - "wires": [ - [] - ] - }, - { - "id": "4cbb6966.6fcbd8", - "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": 2625.021188735962, - "y": 1041.4548845291138, - "z": "7137e6b8.2035e8", - "wires": [ - [] - ] - }, - { - "id": "252eca6.e8e7436", + "id": "58f14033.666ac", "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": 2657.0211791992188, - "y": 1181.4549942016602, - "z": "7137e6b8.2035e8", + "x": 2547.021194458008, + "y": 1301.455020904541, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "258c9e.9836c362", - "a8d82355.b5ac8" + "fceb428.c8443c", + "407e4c2f.42a8f4" ] ] }, { - "id": "258c9e.9836c362", + "id": "fceb428.c8443c", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, "x": 2918.0210666656494, - "y": 1145.444447517395, - "z": "7137e6b8.2035e8", + "y": 1175.444447517395, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "f1c4a654.2172f8" + "c454f3e3.bd2bf" ] ] }, { - "id": "a8d82355.b5ac8", + "id": "407e4c2f.42a8f4", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, "x": 2920.021011352539, - "y": 1209.444278717041, - "z": "7137e6b8.2035e8", + "y": 1239.444278717041, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "364f24e6.f4542c" + "330ddc53.338d34" ] ] }, { - "id": "ed82748b.119ba8", + "id": "2492fcd7.1fb324", "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": 3251.0208053588867, - "y": 1205.4443664550781, - "z": "7137e6b8.2035e8", + "y": 1235.4443664550781, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "364f24e6.f4542c", + "id": "330ddc53.338d34", "type": "block", "name": "block", "xml": "<block>\n", @@ -385,16 +331,16 @@ "comments": "", "outputs": 1, "x": 3087.020854949951, - "y": 1208.4443607330322, - "z": "7137e6b8.2035e8", + "y": 1238.4443607330322, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "ed82748b.119ba8" + "2492fcd7.1fb324" ] ] }, { - "id": "f1c4a654.2172f8", + "id": "c454f3e3.bd2bf", "type": "block", "name": "block", "xml": "<block>\n", @@ -402,76 +348,76 @@ "comments": "", "outputs": 1, "x": 3077.020929336548, - "y": 1154.4444332122803, - "z": "7137e6b8.2035e8", + "y": 1184.4444332122803, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "4e18ad13.d88004" + "ab38ccb9.17f85" ] ] }, { - "id": "4e18ad13.d88004", + "id": "ab38ccb9.17f85", "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": 3253.0206928253174, - "y": 1139.4444065093994, - "z": "7137e6b8.2035e8", + "y": 1169.4444065093994, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "a5337836.392598", + "id": "468b7854.8855a8", "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": 2655.0211181640625, - "y": 1093.4548721313477, - "z": "7137e6b8.2035e8", + "x": 2571.6878662109375, + "y": 1248.454933166504, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "22289d3.1030062", - "1cd16d78.64ccc3" + "10854dfb.5c9a62", + "2be3a2fc.af94fe" ] ] }, { - "id": "22289d3.1030062", + "id": "10854dfb.5c9a62", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, "x": 2923.0211791992188, - "y": 1030.1109132766724, - "z": "7137e6b8.2035e8", + "y": 1060.1109132766724, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "860a3f6b.5fb69" + "748ad58c.536bec" ] ] }, { - "id": "1cd16d78.64ccc3", + "id": "2be3a2fc.af94fe", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, "x": 2910.0210723876953, - "y": 1094.1110610961914, - "z": "7137e6b8.2035e8", + "y": 1124.1110610961914, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "665c96f1.f89db8" + "8a001b63.43d398" ] ] }, { - "id": "665c96f1.f89db8", + "id": "8a001b63.43d398", "type": "block", "name": "block", "xml": "<block>\n", @@ -479,90 +425,90 @@ "comments": "", "outputs": 1, "x": 3053.0208683013916, - "y": 1091.1109766960144, - "z": "7137e6b8.2035e8", + "y": 1121.1109766960144, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "5524505f.fe08b" + "3b696d35.d99f82" ] ] }, { - "id": "5524505f.fe08b", + "id": "3b696d35.d99f82", "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": 3214.0207843780518, - "y": 1085.111247062683, - "z": "7137e6b8.2035e8", + "y": 1115.111247062683, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "860a3f6b.5fb69", + "id": "748ad58c.536bec", "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": 3122.0210723876953, - "y": 1020.1109409332275, - "z": "7137e6b8.2035e8", + "y": 1050.1109409332275, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "7764d749.1e3eb8", + "id": "752eee76.25b35", "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": 2613.0211181640625, - "y": 1257.3437271118164, - "z": "7137e6b8.2035e8", + "x": 2553.021194458008, + "y": 1355.6770725250244, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "e831a00.cc8fc6", - "79371802.289d68" + "7fe560fd.02d23", + "ed1931cf.b85b4" ] ] }, { - "id": "e831a00.cc8fc6", + "id": "7fe560fd.02d23", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, "x": 2948.0211181640625, - "y": 1256.9997692108154, - "z": "7137e6b8.2035e8", + "y": 1286.9997692108154, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "8fd51384.29db" + "204d349b.8c167c" ] ] }, { - "id": "79371802.289d68", + "id": "ed1931cf.b85b4", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, "x": 2941.021011352539, - "y": 1308.9999656677246, - "z": "7137e6b8.2035e8", + "y": 1338.9999656677246, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "373ef481.de5e7c" + "80020226.7c32a" ] ] }, { - "id": "373ef481.de5e7c", + "id": "80020226.7c32a", "type": "block", "name": "block", "xml": "<block>\n", @@ -570,41 +516,41 @@ "comments": "", "outputs": 1, "x": 3110.0207710266113, - "y": 1315.9999046325684, - "z": "7137e6b8.2035e8", + "y": 1345.9999046325684, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "e2861ab4.f8bda8" + "78e48fb1.deedb" ] ] }, { - "id": "8fd51384.29db", + "id": "204d349b.8c167c", "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": 3121.0210723876953, - "y": 1253.9997968673706, - "z": "7137e6b8.2035e8", + "y": 1283.9997968673706, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "e2861ab4.f8bda8", + "id": "78e48fb1.deedb", "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": 3257.0208053588867, - "y": 1314.0001211166382, - "z": "7137e6b8.2035e8", + "y": 1344.0001211166382, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "2b982c8e.6a8e24", + "id": "4c74462a.6f2e48", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", @@ -612,190 +558,175 @@ "comments": "", "outputs": 1, "x": 971.5107345581055, - "y": 1286.6667013168335, - "z": "7137e6b8.2035e8", + "y": 1316.6667013168335, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "d8abd6b2.99b458", - "f8d9f314.f8521", - "fc57dffd.42f82", - "e237afc9.01b58", - "9cca1b05.b7fe58", - "6117465f.a73a68", - "de09bf42.0a5fe", - "24ac021b.c92c5e", - "fa1185b4.cd4e98", - "bc2bb3bd.bb44c", - "3161d7f6.2ec228", - "cfd2d02c.eb4bd", - "e542ae10.8e565", - "7423ff73.ed805", - "11ef3c2b.c12334" + "dfe1cac7.b0a0c8", + "ff99ef1.36e851", + "567107e4.113ae8", + "1abc8087.4dadff", + "792e7b5a.a61a04", + "3504d0f4.5ddf1", + "b1cab950.390f88", + "a83b1f0f.66683", + "95fb7dbc.302e3", + "2e0329eb.7cfeb6", + "8750c827.149de8", + "2f355bcb.3566f4", + "1f8cb6f9.f168b9", + "edde733c.b2ac9" ] ] }, { - "id": "aa0a8ac6.7fa668", + "id": "f05d9389.aa23", "type": "for", "name": "for", "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >", "comments": "", "outputs": 1, "x": 881.5107002258301, - "y": 878.656328201294, - "z": "7137e6b8.2035e8", + "y": 908.656328201294, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "2b982c8e.6a8e24" + "4c74462a.6f2e48" ] ] }, { - "id": "d8abd6b2.99b458", + "id": "dfe1cac7.b0a0c8", "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": 1294.8453674316406, - "y": 903.8787746429443, - "z": "7137e6b8.2035e8", + "x": 1298.1787033081055, + "y": 952.2120819091797, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "f8d9f314.f8521", - "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": 1153.354637145996, - "y": 948.0001554489136, - "z": "7137e6b8.2035e8", - "wires": [ - [] - ] - }, - { - "id": "fa1185b4.cd4e98", + "id": "a83b1f0f.66683", "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=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "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": 1284.0216979980469, - "y": 1144.2226285934448, - "z": "7137e6b8.2035e8", + "y": 1174.2226285934448, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "fc57dffd.42f82", + "id": "ff99ef1.36e851", "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": 1259.0214157104492, - "y": 1259.4447593688965, - "z": "7137e6b8.2035e8", + "y": 1289.4447593688965, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "e237afc9.01b58", + "id": "567107e4.113ae8", "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": 1250.0212326049805, - "y": 1355.4446811676025, - "z": "7137e6b8.2035e8", + "x": 1210.021327972412, + "y": 1392.5876898765564, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "9cca1b05.b7fe58", + "id": "1abc8087.4dadff", "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": 1247.0212326049805, - "y": 1310.444679260254, - "z": "7137e6b8.2035e8", + "y": 1340.444679260254, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "de09bf42.0a5fe", + "id": "3504d0f4.5ddf1", "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": 1271.021245956421, - "y": 1468.4445362091064, - "z": "7137e6b8.2035e8", + "y": 1498.4445362091064, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "16e2e6a9.2be489", - "e8b95040.bc226" + "38f6302f.63f8e", + "6c5aecc3.e3bae4" ] ] }, { - "id": "16e2e6a9.2be489", + "id": "38f6302f.63f8e", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, "x": 1566.0211334228516, - "y": 1475.4339895248413, - "z": "7137e6b8.2035e8", + "y": 1505.4339895248413, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "7d4abb11.5a7514" + "21f9c0d0.b3e61" ] ] }, { - "id": "e8b95040.bc226", + "id": "6c5aecc3.e3bae4", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, "x": 1584.0211753845215, - "y": 1543.4338159561157, - "z": "7137e6b8.2035e8", + "y": 1573.4338159561157, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "24bb4c3c.0be9b4" + "2b727255.684e4e" ] ] }, { - "id": "d19a525f.b19cf", + "id": "6d617e74.2db02", "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": 1922.0209274291992, - "y": 1530.4339241981506, - "z": "7137e6b8.2035e8", + "y": 1560.4339241981506, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "24bb4c3c.0be9b4", + "id": "2b727255.684e4e", "type": "block", "name": "block", "xml": "<block>\n", @@ -803,16 +734,16 @@ "comments": "", "outputs": 1, "x": 1764.020839691162, - "y": 1541.4338970184326, - "z": "7137e6b8.2035e8", + "y": 1571.4338970184326, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "d19a525f.b19cf" + "6d617e74.2db02" ] ] }, { - "id": "7d4abb11.5a7514", + "id": "21f9c0d0.b3e61", "type": "block", "name": "block", "xml": "<block>\n", @@ -820,76 +751,76 @@ "comments": "", "outputs": 1, "x": 1725.02099609375, - "y": 1484.4339752197266, - "z": "7137e6b8.2035e8", + "y": 1514.4339752197266, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "33d9f2d5.1c783e" + "f5d875fe.b1abd8" ] ] }, { - "id": "33d9f2d5.1c783e", + "id": "f5d875fe.b1abd8", "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": 1901.0207595825195, - "y": 1469.4339485168457, - "z": "7137e6b8.2035e8", + "y": 1499.4339485168457, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "6117465f.a73a68", + "id": "792e7b5a.a61a04", "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": 1299.0212097167969, - "y": 1415.44455909729, - "z": "7137e6b8.2035e8", + "y": 1445.44455909729, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "a411c9ee.1a9668", - "acae6ed3.a4592" + "540211b2.94b0d", + "801a995a.edafc8" ] ] }, { - "id": "a411c9ee.1a9668", + "id": "540211b2.94b0d", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, "x": 1554.0212860107422, - "y": 1356.1004600524902, - "z": "7137e6b8.2035e8", + "y": 1386.1004600524902, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "d6406d85.d3761" + "3c1c75d7.8974ba" ] ] }, { - "id": "acae6ed3.a4592", + "id": "801a995a.edafc8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, "x": 1549.0211181640625, - "y": 1412.1006135940552, - "z": "7137e6b8.2035e8", + "y": 1442.1006135940552, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "eb0e2bc7.7802e8" + "fd5d7c52.8ddfa" ] ] }, { - "id": "eb0e2bc7.7802e8", + "id": "fd5d7c52.8ddfa", "type": "block", "name": "block", "xml": "<block>\n", @@ -897,90 +828,90 @@ "comments": "", "outputs": 1, "x": 1701.0209350585938, - "y": 1421.1005187034607, - "z": "7137e6b8.2035e8", + "y": 1451.1005187034607, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "ff9a9770.764878" + "2a23aaaf.9ebec6" ] ] }, { - "id": "ff9a9770.764878", + "id": "2a23aaaf.9ebec6", "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": 1862.020851135254, - "y": 1415.1007890701294, - "z": "7137e6b8.2035e8", + "x": 1862.020887851715, + "y": 1445.1008157730103, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "d6406d85.d3761", + "id": "3c1c75d7.8974ba", "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": 1755.0210762023926, - "y": 1362.100468635559, - "z": "7137e6b8.2035e8", + "y": 1392.100468635559, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "24ac021b.c92c5e", + "id": "b1cab950.390f88", "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": 1237.0211849212646, - "y": 1582.333330154419, - "z": "7137e6b8.2035e8", + "y": 1612.333330154419, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "179919cb.d28536", - "ea9351b3.6214a" + "29106f4a.64b9b", + "697dc7e3.e53d38" ] ] }, { - "id": "179919cb.d28536", + "id": "29106f4a.64b9b", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, "x": 1594.0212860107422, - "y": 1593.989315032959, - "z": "7137e6b8.2035e8", + "y": 1623.989315032959, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "61337d4e.64c9f4" + "e1372b.75c588d8" ] ] }, { - "id": "ea9351b3.6214a", + "id": "697dc7e3.e53d38", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, "x": 1589.0211181640625, - "y": 1649.989468574524, - "z": "7137e6b8.2035e8", + "y": 1679.989468574524, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "2d42b1a1.63cc0e" + "fca7e979.981c08" ] ] }, { - "id": "2d42b1a1.63cc0e", + "id": "fca7e979.981c08", "type": "block", "name": "block", "xml": "<block>\n", @@ -988,586 +919,586 @@ "comments": "", "outputs": 1, "x": 1741.0209350585938, - "y": 1658.9893736839294, - "z": "7137e6b8.2035e8", + "y": 1688.9893736839294, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "ae72cfc4.57d74" + "e95b282a.51b588" ] ] }, { - "id": "61337d4e.64c9f4", + "id": "e1372b.75c588d8", "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": 1795.0210762023926, - "y": 1599.9893236160278, - "z": "7137e6b8.2035e8", + "y": 1629.9893236160278, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "ae72cfc4.57d74", + "id": "e95b282a.51b588", "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": 1902.0208435058594, - "y": 1651.9896183013916, - "z": "7137e6b8.2035e8", + "y": 1681.9896183013916, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "3edad7e3.f72ae8", + "id": "e15c6c11.eab37", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, "x": 1172.5105209350586, - "y": 789.6667823791504, - "z": "7137e6b8.2035e8", + "y": 819.6667823791504, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "ca49ee81.51d01" + "2424729e.e49bce" ] ] }, { - "id": "b120b243.60a3c", + "id": "1f32c22f.4bd18e", "type": "switchNode", "name": "switch mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, "x": 455.51043701171875, - "y": 813.6667327880859, - "z": "7137e6b8.2035e8", + "y": 843.6667327880859, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "3edad7e3.f72ae8", - "d3b088b8.c1a508" + "e15c6c11.eab37", + "572a8f53.31922" ] ] }, { - "id": "d3b088b8.c1a508", + "id": "572a8f53.31922", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, "x": 678.510440826416, - "y": 853.6667442321777, - "z": "7137e6b8.2035e8", + "y": 883.6667442321777, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "aa0a8ac6.7fa668" + "f05d9389.aa23" ] ] }, { - "id": "bc2bb3bd.bb44c", + "id": "95fb7dbc.302e3", "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": 1281.5108795166016, - "y": 1224.6669673919678, - "z": "7137e6b8.2035e8", + "y": 1254.6669673919678, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "b3d491b8.eb662", + "id": "158a1faf.a18df", "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": 851.520866394043, - "y": 2140.121690273285, - "z": "7137e6b8.2035e8", + "x": 921.520866394043, + "y": 2665.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "9c346727.fa5178", - "b4e249a.c4dcbb8" + "14c5f32a.54dc0d", + "822b4365.b6357" ] ] }, { - "id": "9c346727.fa5178", + "id": "14c5f32a.54dc0d", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1125.520866394043, - "y": 2109.121690273285, - "z": "7137e6b8.2035e8", + "x": 1195.520866394043, + "y": 2634.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "2057a020.4e2b" + "7bdc60e.dc968a" ] ] }, { - "id": "2057a020.4e2b", + "id": "7bdc60e.dc968a", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1316.520866394043, - "y": 2112.121690273285, - "z": "7137e6b8.2035e8", + "x": 1386.520866394043, + "y": 2637.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "ca29eeec.cac5e" + "840a192f.604148" ] ] }, { - "id": "ca29eeec.cac5e", + "id": "840a192f.604148", "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": 1484.520866394043, - "y": 2113.121690273285, - "z": "7137e6b8.2035e8", + "x": 1554.520866394043, + "y": 2638.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "6b6b0f02.befee", + "id": "8bb32410.7dc268", "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": 824.020866394043, - "y": 2256.121690273285, - "z": "7137e6b8.2035e8", + "x": 894.020866394043, + "y": 2781.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "9d78c66d.40f5e8", - "96636a82.f4af18" + "404aa1a2.5b57", + "a2cdb02b.0dff3" ] ] }, { - "id": "d49a86eb.dbd4e8", + "id": "824b311c.61cc8", "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": 813.520866394043, - "y": 2338.121690273285, - "z": "7137e6b8.2035e8", + "x": 883.520866394043, + "y": 2863.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "e8f20cae.1ec3", - "c6957aca.de3238" + "944b733b.d27a6", + "99c0e62b.b388a8" ] ] }, { - "id": "e8f20cae.1ec3", + "id": "944b733b.d27a6", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 996.020866394043, - "y": 2346.121690273285, - "z": "7137e6b8.2035e8", + "x": 1066.020866394043, + "y": 2871.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "3129aa1b.5152f6" + "8a494f39.07c32" ] ] }, { - "id": "3129aa1b.5152f6", + "id": "8a494f39.07c32", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1181.020866394043, - "y": 2344.121690273285, - "z": "7137e6b8.2035e8", + "x": 1251.020866394043, + "y": 2869.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "9a3e0e88.314b9" + "1ace760a.7dbbda" ] ] }, { - "id": "9a3e0e88.314b9", + "id": "1ace760a.7dbbda", "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": 1383.020866394043, - "y": 2339.121690273285, - "z": "7137e6b8.2035e8", + "x": 1453.020866394043, + "y": 2864.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "9d78c66d.40f5e8", + "id": "404aa1a2.5b57", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1017.520866394043, - "y": 2224.121690273285, - "z": "7137e6b8.2035e8", + "x": 1087.520866394043, + "y": 2749.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "f4d0fbe7.379018" + "8e0a05a9.8ff498" ] ] }, { - "id": "f4d0fbe7.379018", + "id": "8e0a05a9.8ff498", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1192.520866394043, - "y": 2238.121690273285, - "z": "7137e6b8.2035e8", + "x": 1262.520866394043, + "y": 2763.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "985a740c.c41658" + "bebd6ee2.3c9e6" ] ] }, { - "id": "985a740c.c41658", + "id": "bebd6ee2.3c9e6", "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": 1386.5209045410156, - "y": 2243.121742248535, - "z": "7137e6b8.2035e8", + "x": 1456.5209045410156, + "y": 2768.1217303425074, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "b4e249a.c4dcbb8", + "id": "822b4365.b6357", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1124.520866394043, - "y": 2166.121690273285, - "z": "7137e6b8.2035e8", + "x": 1194.520866394043, + "y": 2691.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "7228b7c3.0734f8" + "cec53de4.d756d" ] ] }, { - "id": "7228b7c3.0734f8", + "id": "cec53de4.d756d", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1293.5207443237305, - "y": 2172.121690273285, - "z": "7137e6b8.2035e8", + "x": 1363.5207443237305, + "y": 2697.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "a50e3fb9.2c125" + "7950b06c.0480a" ] ] }, { - "id": "a50e3fb9.2c125", + "id": "7950b06c.0480a", "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 Generic neighbor configuration\" />", "comments": "", - "x": 1449.5205001831055, - "y": 2171.121690273285, - "z": "7137e6b8.2035e8", + "x": 1519.5205001831055, + "y": 2696.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "96636a82.f4af18", + "id": "a2cdb02b.0dff3", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1038.520866394043, - "y": 2295.121690273285, - "z": "7137e6b8.2035e8", + "x": 1108.520866394043, + "y": 2820.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "643a52af.4a01ac" + "9c133c8f.808f1" ] ] }, { - "id": "643a52af.4a01ac", + "id": "9c133c8f.808f1", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1206.5207443237305, - "y": 2290.121690273285, - "z": "7137e6b8.2035e8", + "x": 1276.5207443237305, + "y": 2815.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "c7fd1a6b.80b9c8" + "1075385e.46e228" ] ] }, { - "id": "c7fd1a6b.80b9c8", + "id": "1075385e.46e228", "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 Generic neighbor configuration\" />", "comments": "", - "x": 1364.5204391479492, - "y": 2293.121690273285, - "z": "7137e6b8.2035e8", + "x": 1434.5204391479492, + "y": 2818.121678367257, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "c6957aca.de3238", + "id": "99c0e62b.b388a8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 998.520866394043, - "y": 2394.121690273285, - "z": "7137e6b8.2035e8", + "x": 1063.5209121704102, + "y": 2954.1218099594116, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "67203ecd.299d9" + "54cbffb2.b0ea" ] ] }, { - "id": "67203ecd.299d9", + "id": "54cbffb2.b0ea", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1174.5207443237305, - "y": 2395.121690273285, - "z": "7137e6b8.2035e8", + "x": 1239.5207901000977, + "y": 2955.1218099594116, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "1be9df75.9dad81" + "f7613a42.82e6d8" ] ] }, { - "id": "1be9df75.9dad81", + "id": "f7613a42.82e6d8", "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 Generic neighbor configuration\" />", "comments": "", - "x": 1321.5204391479492, - "y": 2398.121690273285, - "z": "7137e6b8.2035e8", + "x": 1386.5204849243164, + "y": 2958.1218099594116, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "8d9907e3.141768", + "id": "92654a64.0d57a8", "type": "block", "name": "DMAAP Payload Generation", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 555.520881652832, - "y": 2258.1217885017395, - "z": "7137e6b8.2035e8", + "x": 625.520881652832, + "y": 2783.1217765957117, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "b3d491b8.eb662", - "6b6b0f02.befee", - "d49a86eb.dbd4e8" + "158a1faf.a18df", + "8bb32410.7dc268", + "824b311c.61cc8" ] ] }, { - "id": "4c9c03b6.8c846c", + "id": "530ff06c.c455e", "type": "block", "name": "DMAAP Reponse Publish", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 417.5208511352539, - "y": 2606.0104804039, - "z": "7137e6b8.2035e8", + "x": 482.5208969116211, + "y": 3166.010600090027, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "d4636db8.d98aa", - "44a99d0c.1549f4", - "ed9283be.6d384", - "66050e0e.2e289" + "cc493306.8c459", + "1c6aa3ba.e4877c", + "e342a902.c1abe8", + "44e3cf80.cc129" ] ] }, { - "id": "44a99d0c.1549f4", + "id": "1c6aa3ba.e4877c", "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": 690.5209274291992, - "y": 3002.1217727661133, - "z": "7137e6b8.2035e8", + "x": 755.5209732055664, + "y": 3562.12189245224, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "2cb1e379.ca054c", - "94d28ad8.6c1e68" + "41360722.eac968", + "a6d1a857.b6e408" ] ] }, { - "id": "d4636db8.d98aa", + "id": "cc493306.8c459", "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": 658.1876525878906, - "y": 2417.121742248535, - "z": "7137e6b8.2035e8", + "x": 723.1876983642578, + "y": 2977.121861934662, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "2cb1e379.ca054c", + "id": "41360722.eac968", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 865.0209045410156, - "y": 2936.03849029541, - "z": "7137e6b8.2035e8", + "x": 930.0209503173828, + "y": 3496.038609981537, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "b46caa18.6ad2a8" + "60a9270f.3d4e18" ] ] }, { - "id": "94d28ad8.6c1e68", + "id": "a6d1a857.b6e408", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 888.0207595825195, - "y": 3065.0385971069336, - "z": "7137e6b8.2035e8", + "x": 953.0208053588867, + "y": 3625.0387167930603, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "f2f80e6c.39596" + "ead59e1e.36a5" ] ] }, { - "id": "b46caa18.6ad2a8", + "id": "60a9270f.3d4e18", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1046.0206756591797, - "y": 2939.038619995117, - "z": "7137e6b8.2035e8", + "x": 1111.0207214355469, + "y": 3499.038739681244, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "7082eea1.09393" + "856c7686.a3c978" ] ] }, { - "id": "7082eea1.09393", + "id": "856c7686.a3c978", "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": 1220.020393371582, - "y": 2946.0385451316833, - "z": "7137e6b8.2035e8", + "x": 1285.0204391479492, + "y": 3506.03866481781, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "f2f80e6c.39596", + "id": "ead59e1e.36a5", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1048.0204048156738, - "y": 3057.0385694503784, - "z": "7137e6b8.2035e8", + "x": 1113.020450592041, + "y": 3617.038689136505, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "638ae5c4.7cfd2c" + "2c555488.acc29c" ] ] }, { - "id": "638ae5c4.7cfd2c", + "id": "2c555488.acc29c", "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": 1225.020523071289, - "y": 3062.0386781692505, - "z": "7137e6b8.2035e8", + "x": 1290.0205688476562, + "y": 3622.038797855377, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "dd1ed098.fbc85", + "id": "66f18141.7b5fa", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", @@ -1575,96 +1506,96 @@ "comments": "", "outputs": 1, "x": 2625.5211181640625, - "y": 1593.0104141235352, - "z": "7137e6b8.2035e8", + "y": 1623.0104141235352, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "a11bce3f.7e2c6", - "bca66d81.89f3a", - "1c265a04.1bc836", - "ab85fbdf.e5f9e8" + "32d140f1.b88fb", + "637b306f.543c5", + "d465c10b.caccf", + "6e14e0da.0bdb5" ] ] }, { - "id": "a11bce3f.7e2c6", + "id": "32d140f1.b88fb", "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": 2907.521041870117, - "y": 1446.0104608535767, - "z": "7137e6b8.2035e8", + "y": 1476.0104608535767, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "bca66d81.89f3a", + "id": "637b306f.543c5", "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": 2916.5211334228516, - "y": 1559.0104570388794, - "z": "7137e6b8.2035e8", + "y": 1589.0104570388794, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "1c265a04.1bc836", + "id": "d465c10b.caccf", "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": 2883.5211181640625, - "y": 1664.0104141235352, - "z": "7137e6b8.2035e8", + "y": 1694.0104141235352, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "6b15e797.bfeab8", - "69e7483e.3fb508" + "69a167be.15f958", + "22e6933f.21f04c" ] ] }, { - "id": "6b15e797.bfeab8", + "id": "69a167be.15f958", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, "x": 3098.5211181640625, - "y": 1607.0104141235352, - "z": "7137e6b8.2035e8", + "y": 1637.0104141235352, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "ec12fbdd.d49728" + "e88caf47.ae702" ] ] }, { - "id": "69e7483e.3fb508", + "id": "22e6933f.21f04c", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, "x": 3118.5212478637695, - "y": 1703.0102767944336, - "z": "7137e6b8.2035e8", + "y": 1733.0102767944336, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "52fbd02.af6883" + "d16cc436.3bcdb8" ] ] }, { - "id": "ec12fbdd.d49728", + "id": "e88caf47.ae702", "type": "block", "name": "block", "xml": "<block>\n", @@ -1672,16 +1603,16 @@ "comments": "", "outputs": 1, "x": 3267.52099609375, - "y": 1618.0104141235352, - "z": "7137e6b8.2035e8", + "y": 1648.0104141235352, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "f60c0c3e.6c70e" + "888ea163.551f" ] ] }, { - "id": "52fbd02.af6883", + "id": "d16cc436.3bcdb8", "type": "block", "name": "block", "xml": "<block>\n", @@ -1689,804 +1620,790 @@ "comments": "", "outputs": 1, "x": 3280.5210037231445, - "y": 1704.010398864746, - "z": "7137e6b8.2035e8", + "y": 1734.010398864746, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "21da5fa6.d154" + "bd20f7c9.c85b98" ] ] }, { - "id": "f60c0c3e.6c70e", + "id": "888ea163.551f", "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": 3421.5206909179688, - "y": 1611.0104141235352, - "z": "7137e6b8.2035e8", + "y": 1641.0104141235352, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "21da5fa6.d154", + "id": "bd20f7c9.c85b98", "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": 3435.5212020874023, - "y": 1701.010407447815, - "z": "7137e6b8.2035e8", + "y": 1731.010407447815, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "ab48c4f9.92b038", + "id": "4acfeeff.78756", "type": "switchNode", "name": "switch configdb deployed", "xml": "<switch test='`$prop.configdb-deployed`'>\n", "comments": "", "outputs": 1, "x": 2508.5211334228516, - "y": 1387.0104351043701, - "z": "7137e6b8.2035e8", + "y": 1417.0104351043701, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "ef05a2cb.3ff44", - "4862c3d7.ea800c" + "4867f77f.c8c358", + "8b55e7b1.9c1f78" ] ] }, { - "id": "ef05a2cb.3ff44", + "id": "4867f77f.c8c358", "type": "outcome", "name": "Deployed", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, "x": 2550.5211181640625, - "y": 1517.0104141235352, - "z": "7137e6b8.2035e8", + "y": 1547.0104141235352, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "dd1ed098.fbc85" + "66f18141.7b5fa" ] ] }, { - "id": "ab85fbdf.e5f9e8", + "id": "6e14e0da.0bdb5", "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": 2975.5210723876953, - "y": 1498.12162733078, - "z": "7137e6b8.2035e8", - "wires": [ - [] - ] - }, - { - "id": "87e189a.f449a78", - "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": 2947.5210456848145, - "y": 1373.2326021194458, - "z": "7137e6b8.2035e8", + "y": 1528.12162733078, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "4862c3d7.ea800c", + "id": "8b55e7b1.9c1f78", "type": "outcome", "name": "Not Deployed", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2773.521011352539, - "y": 1369.343671798706, - "z": "7137e6b8.2035e8", + "x": 2915.52108001709, + "y": 1407.3435878753662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "87e189a.f449a78" + "fa469169.21411" ] ] }, { - "id": "c5dee50b.be5dc8", + "id": "5a9987d8.e2c4e8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1274.521224975586, - "y": 1891.2326831817627, - "z": "7137e6b8.2035e8", + "x": 1199.5212936401367, + "y": 2281.2328329086304, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "21081f5a.47f6b", - "ad35a694.192798", - "2e669695.06016a", - "ae78e24e.82c91" + "11bccb81.cfc964", + "c7e9af19.d1a3f", + "81297356.87779", + "9e49d63a.a0f698" ] ] }, { - "id": "21081f5a.47f6b", + "id": "11bccb81.cfc964", "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": 1601.5211639404297, - "y": 1752.232689857483, - "z": "7137e6b8.2035e8", + "x": 1566.521240234375, + "y": 2222.2328810691833, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "ad35a694.192798", + "id": "c7e9af19.d1a3f", "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": 1532.521224975586, - "y": 1962.2326831817627, - "z": "7137e6b8.2035e8", + "x": 1497.5213012695312, + "y": 2432.232874393463, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "1d53a523.bf620b", - "b3743a06.714ec8" + "4119df2f.58877", + "dc98917.65ab07" ] ] }, { - "id": "1d53a523.bf620b", + "id": "4119df2f.58877", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1747.521224975586, - "y": 1905.2326831817627, - "z": "7137e6b8.2035e8", + "x": 1712.5213012695312, + "y": 2375.232874393463, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "d4c872f6.0aad6" + "f2acbf7d.06f19" ] ] }, { - "id": "b3743a06.714ec8", + "id": "dc98917.65ab07", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1747.5211029052734, - "y": 2001.2325611114502, - "z": "7137e6b8.2035e8", + "x": 1712.5211791992188, + "y": 2471.2327523231506, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "6cb3e816.b27228" + "d974524c.48c3" ] ] }, { - "id": "d4c872f6.0aad6", + "id": "f2acbf7d.06f19", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1916.5211029052734, - "y": 1916.2326831817627, - "z": "7137e6b8.2035e8", + "x": 1881.5211791992188, + "y": 2386.232874393463, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "a1e2365.c1ad1c8" + "66c19c9a.cc0744" ] ] }, { - "id": "6cb3e816.b27228", + "id": "d974524c.48c3", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1909.5208587646484, - "y": 2002.2326831817627, - "z": "7137e6b8.2035e8", + "x": 1874.5209350585938, + "y": 2472.232874393463, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "c1cf834f.03275" + "bd975804.87fac8" ] ] }, { - "id": "a1e2365.c1ad1c8", + "id": "66c19c9a.cc0744", "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": 2070.520797729492, - "y": 1909.2326831817627, - "z": "7137e6b8.2035e8", + "x": 2035.5208740234375, + "y": 2379.232874393463, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "c1cf834f.03275", + "id": "bd975804.87fac8", "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": 2064.5210571289062, - "y": 1999.2326917648315, - "z": "7137e6b8.2035e8", + "x": 2029.5211334228516, + "y": 2469.232882976532, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "3161d7f6.2ec228", + "id": "2e0329eb.7cfeb6", "type": "switchNode", "name": "switch configdb deployed", "xml": "<switch test='`$prop.configdb-deployed`'>\n", "comments": "", "outputs": 1, "x": 1090.521499633789, - "y": 1704.2327632904053, - "z": "7137e6b8.2035e8", + "y": 1734.2327632904053, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "551d474c.11ba08", - "5d37bd4e.b0a394" + "42e1f30.701fe0c", + "c87f7605.35c438" ] ] }, { - "id": "551d474c.11ba08", + "id": "42e1f30.701fe0c", "type": "outcome", "name": "Deployed", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1294.5212783813477, - "y": 1789.2327201366425, - "z": "7137e6b8.2035e8", + "x": 929.521297454834, + "y": 2124.232828140259, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "c5dee50b.be5dc8" + "5a9987d8.e2c4e8" ] ] }, { - "id": "2e669695.06016a", + "id": "81297356.87779", "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": 1652.5211639404297, - "y": 1805.3439660072327, - "z": "7137e6b8.2035e8", + "x": 1617.521240234375, + "y": 2275.344157218933, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "d457bb5e.8456a8", + "id": "4b29419d.11b54", "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": 1585.521245956421, - "y": 1702.454828262329, - "z": "7137e6b8.2035e8", + "x": 1529.5212059020996, + "y": 1774.4547634124756, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "5d37bd4e.b0a394", + "id": "c87f7605.35c438", "type": "outcome", "name": "Not Deployed", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, "x": 1406.5211715698242, - "y": 1689.5660467147827, - "z": "7137e6b8.2035e8", + "y": 1719.5660467147827, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "d457bb5e.8456a8" + "fb5aba08.620b18" ] ] }, { - "id": "ae78e24e.82c91", + "id": "9e49d63a.a0f698", "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": 1598.0767211914062, - "y": 1862.010362625122, - "z": "7137e6b8.2035e8", + "x": 1563.0767974853516, + "y": 2332.0105538368225, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "bfe25499.9b01c8", + "id": "5b9b0a8.18bd8f4", "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": 456.5104217529297, - "y": 279.6666774749756, - "z": "7137e6b8.2035e8", + "y": 309.6666774749756, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "8d5dab3a.00cc68", + "id": "67a95ff9.4b3fd", "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": 374.5104217529297, - "y": 326.6666793823242, - "z": "7137e6b8.2035e8", + "y": 356.6666793823242, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "ed9283be.6d384", + "id": "e342a902.c1abe8", "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": 685.5104064941406, - "y": 2901.666664123535, - "z": "7137e6b8.2035e8", + "x": 750.5104522705078, + "y": 3461.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "66050e0e.2e289", + "id": "44e3cf80.cc129", "type": "block", "name": "Remove escape chars", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 797.5104064941406, - "y": 2608.666664123535, - "z": "7137e6b8.2035e8", + "x": 862.5104522705078, + "y": 3168.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "b4a8c27e.c96b7", - "d9875c7a.68e95", - "a7426f30.67fe2" + "a122d00d.66a7c", + "53d8b063.65e82", + "6550ccad.313694" ] ] }, { - "id": "b4a8c27e.c96b7", + "id": "a122d00d.66a7c", "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": 1006.5104064941406, - "y": 2483.666664123535, - "z": "7137e6b8.2035e8", + "x": 1071.5104522705078, + "y": 3043.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "17ac638a.ebe09c", - "80eed967.47aa68" + "c64e3847.585bc8", + "62a2cce9.0684d4" ] ] }, { - "id": "17ac638a.ebe09c", + "id": "c64e3847.585bc8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1189.0104064941406, - "y": 2491.666664123535, - "z": "7137e6b8.2035e8", + "x": 1254.0104522705078, + "y": 3051.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "9166ec65.32d13" + "9f7c9ff0.810bd" ] ] }, { - "id": "9166ec65.32d13", + "id": "9f7c9ff0.810bd", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1374.0104064941406, - "y": 2489.666664123535, - "z": "7137e6b8.2035e8", + "x": 1439.0104522705078, + "y": 3049.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "a2ec6048.aa6d6" + "89eacba2.269688" ] ] }, { - "id": "a2ec6048.aa6d6", + "id": "89eacba2.269688", "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": 1577.0104064941406, - "y": 2485.666664123535, - "z": "7137e6b8.2035e8", + "x": 1642.0104522705078, + "y": 3045.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "80eed967.47aa68", + "id": "62a2cce9.0684d4", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1191.5104064941406, - "y": 2539.666664123535, - "z": "7137e6b8.2035e8", + "x": 1256.5104522705078, + "y": 3099.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "6ed7909a.3b999" + "4a3b0543.9cb45c" ] ] }, { - "id": "6ed7909a.3b999", + "id": "4a3b0543.9cb45c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1367.5102844238281, - "y": 2540.666664123535, - "z": "7137e6b8.2035e8", + "x": 1432.5103302001953, + "y": 3100.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "8a7186c9.06fed8" + "28bf6401.24b47c" ] ] }, { - "id": "8a7186c9.06fed8", + "id": "28bf6401.24b47c", "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": 1516.5100402832031, - "y": 2547.666664123535, - "z": "7137e6b8.2035e8", + "x": 1581.5100860595703, + "y": 3107.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "d9875c7a.68e95", + "id": "53d8b063.65e82", "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": 1013.5104064941406, - "y": 2624.666664123535, - "z": "7137e6b8.2035e8", + "x": 1078.5104522705078, + "y": 3184.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "e7dd4768.6f8ad8", - "3c5336d1.55219a" + "ef235728.9a5a78", + "26cf2ccb.7c88e4" ] ] }, { - "id": "e7dd4768.6f8ad8", + "id": "ef235728.9a5a78", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1196.0104064941406, - "y": 2632.666664123535, - "z": "7137e6b8.2035e8", + "x": 1261.0104522705078, + "y": 3192.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "b103a11f.02469" + "8e49ce65.d6a5" ] ] }, { - "id": "b103a11f.02469", + "id": "8e49ce65.d6a5", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1381.0104064941406, - "y": 2630.666664123535, - "z": "7137e6b8.2035e8", + "x": 1446.0104522705078, + "y": 3190.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "fb1daeda.43a5" + "cdd76f59.adb59" ] ] }, { - "id": "fb1daeda.43a5", + "id": "cdd76f59.adb59", "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": 1583.0104064941406, - "y": 2625.666664123535, - "z": "7137e6b8.2035e8", + "x": 1648.0104522705078, + "y": 3185.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "3c5336d1.55219a", + "id": "26cf2ccb.7c88e4", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1198.5104064941406, - "y": 2680.666664123535, - "z": "7137e6b8.2035e8", + "x": 1263.5104522705078, + "y": 3240.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "b9a5aefe.1d05" + "a6e43c9c.5130d" ] ] }, { - "id": "b9a5aefe.1d05", + "id": "a6e43c9c.5130d", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1374.5102844238281, - "y": 2681.666664123535, - "z": "7137e6b8.2035e8", + "x": 1439.5103302001953, + "y": 3241.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "86e07e06.a6697" + "95ffaa2c.13f4d8" ] ] }, { - "id": "86e07e06.a6697", + "id": "95ffaa2c.13f4d8", "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": 1523.5100402832031, - "y": 2684.666664123535, - "z": "7137e6b8.2035e8", + "x": 1588.5100860595703, + "y": 3244.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "a7426f30.67fe2", + "id": "6550ccad.313694", "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": 948.5104064941406, - "y": 2764.666664123535, - "z": "7137e6b8.2035e8", + "x": 1013.5104522705078, + "y": 3324.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "b0f7bb22.fa7e18", - "bacdc5e.f7cb838" + "9b5e8cd8.47c5a", + "931d4e47.4b2f5" ] ] }, { - "id": "b0f7bb22.fa7e18", + "id": "9b5e8cd8.47c5a", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1131.0104064941406, - "y": 2772.666664123535, - "z": "7137e6b8.2035e8", + "x": 1196.0104522705078, + "y": 3332.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "8b184b39.d01168" + "1ca769c6.3605c6" ] ] }, { - "id": "8b184b39.d01168", + "id": "1ca769c6.3605c6", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1316.0104064941406, - "y": 2770.666664123535, - "z": "7137e6b8.2035e8", + "x": 1381.0104522705078, + "y": 3330.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "afb53929.05f488" + "699f503.ba0ddb" ] ] }, { - "id": "afb53929.05f488", + "id": "699f503.ba0ddb", "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": 1518.0104064941406, - "y": 2765.666664123535, - "z": "7137e6b8.2035e8", + "x": 1583.0104522705078, + "y": 3325.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "bacdc5e.f7cb838", + "id": "931d4e47.4b2f5", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1133.5104064941406, - "y": 2820.666664123535, - "z": "7137e6b8.2035e8", + "x": 1198.5104522705078, + "y": 3380.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "a7131a06.6e47d8" + "f026cb61.8a0188" ] ] }, { - "id": "a7131a06.6e47d8", + "id": "f026cb61.8a0188", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1309.5102844238281, - "y": 2821.666664123535, - "z": "7137e6b8.2035e8", + "x": 1374.5103302001953, + "y": 3381.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "7e9c29a4.c8d6e8" + "643bbe0e.9bd95" ] ] }, { - "id": "7e9c29a4.c8d6e8", + "id": "643bbe0e.9bd95", "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": 1456.5099792480469, - "y": 2824.666664123535, - "z": "7137e6b8.2035e8", + "x": 1521.510025024414, + "y": 3384.666783809662, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "cfd2d02c.eb4bd", + "id": "8750c827.149de8", "type": "switchNode", "name": "is blacklisted", "xml": "<switch test='`$tmp.blacklisted`'>", "comments": "", "outputs": 1, "x": 1178.6774597167969, - "y": 991.1667175292969, - "z": "7137e6b8.2035e8", + "y": 1021.1667175292969, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "d8fdcad3.8dd9c8", - "94815b07.c81358" + "cde5cc5d.4fb1f", + "1473e0be.790f6f" ] ] }, { - "id": "d8fdcad3.8dd9c8", + "id": "cde5cc5d.4fb1f", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, "x": 1368.6774673461914, - "y": 973.1667165756226, - "z": "7137e6b8.2035e8", + "y": 1003.1667165756226, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "c5aaf199.14e65" + "8636d6f8.5a6178" ] ] }, { - "id": "94815b07.c81358", + "id": "1473e0be.790f6f", "type": "outcome", "name": "False", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, "x": 1375.6496353149414, - "y": 1013.8056344985962, - "z": "7137e6b8.2035e8", + "y": 1043.8056344985962, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "28d1e5b9.3568ba" + "4c31a601.736cb8" ] ] }, { - "id": "3893ceea.a65e72", + "id": "379e7ddc.d8dd62", "type": "set", "name": "set isHOAllowed as false", "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />", "comments": "", "x": 1799.621810913086, - "y": 969.9167165756226, - "z": "7137e6b8.2035e8", + "y": 999.9167165756226, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "3154733b.5c0d2c", + "id": "ca5899d3.9fd1f8", "type": "set", "name": "set isHOAllowed as true", "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />", "comments": "", "x": 1793.066146850586, - "y": 1008.2499704360962, - "z": "7137e6b8.2035e8", + "y": 1038.2499704360962, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "c5aaf199.14e65", + "id": "8636d6f8.5a6178", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", @@ -2494,16 +2411,16 @@ "comments": "", "outputs": 1, "x": 1552.6774673461914, - "y": 971.9443864822388, - "z": "7137e6b8.2035e8", + "y": 1001.9443864822388, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "3893ceea.a65e72" + "379e7ddc.d8dd62" ] ] }, { - "id": "28d1e5b9.3568ba", + "id": "4c31a601.736cb8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", @@ -2511,111 +2428,111 @@ "comments": "", "outputs": 1, "x": 1540.8439712524414, - "y": 1019.3610534667969, - "z": "7137e6b8.2035e8", + "y": 1049.3610534667969, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "3154733b.5c0d2c" + "ca5899d3.9fd1f8" ] ] }, { - "id": "e542ae10.8e565", + "id": "2f355bcb.3566f4", "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", + "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<parameter name=\"tmp.nRTCI\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n", "comments": "", "x": 1216.0107688903809, - "y": 1047.500072479248, - "z": "7137e6b8.2035e8", + "y": 1077.500072479248, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "7423ff73.ed805", + "id": "1f8cb6f9.f168b9", "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": 1287.3441467285156, - "y": 1184.500054359436, - "z": "7137e6b8.2035e8", + "x": 1260.6775665283203, + "y": 1214.4999980926514, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "5a48b2a.858134c", + "id": "ad4ecd3c.4121d", "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": 411.37451171875, - "y": 456.8864850997925, - "z": "7137e6b8.2035e8", + "y": 486.8864850997925, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "edfb7b39.0a73c8", + "id": "465d1be9.f815a4", "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": 423.12442779541016, - "y": 407.70785331726074, - "z": "7137e6b8.2035e8", + "y": 437.70785331726074, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "43254f57.b2715", + "id": "3b17d3a0.cdc9fc", "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": 447.671875, - "y": 549.8145065307617, - "z": "7137e6b8.2035e8", + "y": 579.8145065307617, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "941c3275.f0869", + "id": "a282bdbf.ee13f", "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": 852.1716232299805, - "y": 534.6676553487778, - "z": "7137e6b8.2035e8", + "y": 564.6676553487778, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "f914ac5c.6260d", + "id": "524f7198.62576", "type": "execute", "name": "initialize nearRTRIC size", "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t", "comments": "", "outputs": 1, "x": 480.2621307373047, - "y": 593.0527486801147, - "z": "7137e6b8.2035e8", + "y": 623.0527486801147, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "49973249.f59e7c", + "id": "92bad4c5.5c0658", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", @@ -2623,47 +2540,47 @@ "comments": "", "outputs": 1, "x": 648.6799392700195, - "y": 669.564998626709, - "z": "7137e6b8.2035e8", + "y": 699.564998626709, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "58da234e.1b4c6c", - "4ae1b51d.62992c" + "ac7808ef.02f5b8", + "5f08445c.08100c" ] ] }, { - "id": "651f51ab.d4108", + "id": "52b5af25.2e1ea", "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": 1435.3784713745117, - "y": 588.4857667684555, - "z": "7137e6b8.2035e8", + "y": 618.4857667684555, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "9d717d64.54a03", + "id": "f9ba5873.70cca8", "type": "for", "name": "For anchorsList", "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>", "comments": "", "outputs": 1, "x": 453.547607421875, - "y": 629.9499664306641, - "z": "7137e6b8.2035e8", + "y": 659.9499664306641, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "cd46166a.834748" + "457cfbdd.a13564" ] ] }, { - "id": "cd46166a.834748", + "id": "457cfbdd.a13564", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", @@ -2671,49 +2588,49 @@ "comments": "", "outputs": 1, "x": 658.0795135498047, - "y": 624.9062652587891, - "z": "7137e6b8.2035e8", + "y": 654.9062652587891, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "bb5947d7.20b098", - "941c3275.f0869" + "3294f80.dc3bf08", + "a282bdbf.ee13f" ] ] }, { - "id": "bb5947d7.20b098", + "id": "3294f80.dc3bf08", "type": "switchNode", "name": "check schemaSetName", "xml": "<switch test='`$tmp.schemaset.name`'>\n", "comments": "", "outputs": 1, "x": 876.6561813354492, - "y": 581.7634429931641, - "z": "7137e6b8.2035e8", + "y": 611.7634429931641, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "dac6a759.d8d4d8" + "9a5cb7b8.77e3a8" ] ] }, { - "id": "dac6a759.d8d4d8", + "id": "9a5cb7b8.77e3a8", "type": "outcome", "name": "if ran-network", "xml": "<outcome value='ran-network'>\n", "comments": "", "outputs": 1, "x": 1059.9617729187012, - "y": 546.2356910705566, - "z": "7137e6b8.2035e8", + "y": 576.2356910705566, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "70369023.e24a1" + "f69c66df.dd0898" ] ] }, { - "id": "70369023.e24a1", + "id": "f69c66df.dd0898", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", @@ -2721,77 +2638,77 @@ "comments": "", "outputs": 1, "x": 1231.2642059326172, - "y": 532.5689862966537, - "z": "7137e6b8.2035e8", + "y": 562.5689862966537, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "b481fa3d.2eae48", - "adf87b48.fee5d8" + "842797d2.4aba38", + "d1deb2dc.55894" ] ] }, { - "id": "b481fa3d.2eae48", + "id": "842797d2.4aba38", "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": 1410.1776275634766, - "y": 532.3745282888412, - "z": "7137e6b8.2035e8", + "y": 562.3745282888412, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "4ae1b51d.62992c", + "id": "5f08445c.08100c", "type": "switchNode", "name": "check schemaSetName", "xml": "<switch test='`$tmp.schemaset.name`'>\n", "comments": "", "outputs": 1, "x": 874.4554290771484, - "y": 660.1368917226791, - "z": "7137e6b8.2035e8", + "y": 690.1368917226791, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "d2e2a381.df971" + "51a60746.5abeb8" ] ] }, { - "id": "58da234e.1b4c6c", + "id": "ac7808ef.02f5b8", "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": 858.4832611083984, - "y": 618.8868898153305, - "z": "7137e6b8.2035e8", + "y": 648.8868898153305, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "d2e2a381.df971", + "id": "51a60746.5abeb8", "type": "outcome", "name": "if ran-network", "xml": "<outcome value='ran-network'>\n", "comments": "", "outputs": 1, "x": 1058.2610168457031, - "y": 616.6091808080673, - "z": "7137e6b8.2035e8", + "y": 646.6091808080673, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "9a94708.195c79" + "6854212b.ac4cd" ] ] }, { - "id": "9a94708.195c79", + "id": "6854212b.ac4cd", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", @@ -2799,47 +2716,47 @@ "comments": "", "outputs": 1, "x": 1254.3968505859375, - "y": 618.831347823143, - "z": "7137e6b8.2035e8", + "y": 648.831347823143, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "651f51ab.d4108", - "8e1e4e48.344a8" + "52b5af25.2e1ea", + "98eeab3d.b9dba8" ] ] }, { - "id": "757b7.99b5c8498", + "id": "d7997fdc.fef12", "type": "for", "name": "For anchorsList", "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>", "comments": "", "outputs": 1, "x": 447.4208183288574, - "y": 675.4107418060303, - "z": "7137e6b8.2035e8", + "y": 705.4107418060303, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "49973249.f59e7c" + "92bad4c5.5c0658" ] ] }, { - "id": "adf87b48.fee5d8", + "id": "d1deb2dc.55894", "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": 1409.235740661621, - "y": 484.05357015132904, - "z": "7137e6b8.2035e8", + "y": 514.053570151329, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "8e1e4e48.344a8", + "id": "98eeab3d.b9dba8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", @@ -2847,51 +2764,51 @@ "comments": "", "outputs": 1, "x": 1451.3229675292969, - "y": 637.2079375982285, - "z": "7137e6b8.2035e8", + "y": 667.2079375982285, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "6f2e36c0.0e3df8", - "a54196fa.e32af8", - "49616106.d3e75", - "dbff806f.e203a" + "e1b02916.7b90e8", + "82289c4e.13dd3", + "2f6e989a.bcc9b8", + "ebd6c08d.354f2" ] ] }, { - "id": "f69a01ab.01b0e", + "id": "d600693e.8aa858", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, "x": 660.62841796875, - "y": 433.2633594274521, - "z": "7137e6b8.2035e8", + "y": 463.2633594274521, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "5643a7a6.d681a8" + "677352a2.9b602c" ] ] }, { - "id": "73cf8617.241b78", + "id": "e072495d.58e5e8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, "x": 674.628589630127, - "y": 507.4577751159668, - "z": "7137e6b8.2035e8", + "y": 537.4577751159668, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "1c094873.eeecd8" + "b938ae7c.bab38" ] ] }, { - "id": "5643a7a6.d681a8", + "id": "677352a2.9b602c", "type": "block", "name": "block", "xml": "<block>", @@ -2899,17 +2816,17 @@ "comments": "", "outputs": 1, "x": 803.3229141235352, - "y": 430.8745588064194, - "z": "7137e6b8.2035e8", + "y": 460.8745588064194, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "80ccc795.8b4df8", - "2aa86fe9.b02bf" + "80996cbe.25656", + "6fd45460.83d24c" ] ] }, { - "id": "1c094873.eeecd8", + "id": "b938ae7c.bab38", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", @@ -2917,103 +2834,103 @@ "comments": "", "outputs": 1, "x": 823.0727500915527, - "y": 484.12448155879974, - "z": "7137e6b8.2035e8", + "y": 514.1244815587997, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "94648611.ae2ad8", - "4aa1ecbc.c8aca4" + "702bf693.a42548", + "30065182.39617e" ] ] }, { - "id": "80ccc795.8b4df8", + "id": "80996cbe.25656", "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": 987.100341796875, - "y": 394.70776879787445, - "z": "7137e6b8.2035e8", + "y": 424.70776879787445, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "94648611.ae2ad8", + "id": "702bf693.a42548", "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": 1004.8225135803223, - "y": 468.37452256679535, - "z": "7137e6b8.2035e8", + "y": 498.37452256679535, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "4aa1ecbc.c8aca4", + "id": "30065182.39617e", "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": 1018.3507537841797, - "y": 501.124524474144, - "z": "7137e6b8.2035e8", + "y": 531.124524474144, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "2aa86fe9.b02bf", + "id": "6fd45460.83d24c", "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": 980.9062538146973, - "y": 431.2356046438217, - "z": "7137e6b8.2035e8", + "y": 461.2356046438217, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "dafce576.0faf68", + "id": "ddbfcb04.fe0288", "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": 468.32283782958984, - "y": 505.4817008972168, - "z": "7137e6b8.2035e8", + "y": 535.4817008972168, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "73cf8617.241b78", - "f69a01ab.01b0e" + "e072495d.58e5e8", + "d600693e.8aa858" ] ] }, { - "id": "d449f248.65b7a", + "id": "25959b30.d72544", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, "x": 1957.1771392822266, - "y": 665.9999812841415, - "z": "7137e6b8.2035e8", + "y": 695.9999812841415, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "3902ac70.3675c4" + "9483eed9.bf01e" ] ] }, { - "id": "3902ac70.3675c4", + "id": "9483eed9.bf01e", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", @@ -3021,34 +2938,34 @@ "comments": "", "outputs": 1, "x": 2166.177104949951, - "y": 637.0001233816147, - "z": "7137e6b8.2035e8", + "y": 667.0001233816147, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "52a139e4.eb7ef8", - "7b41f9d4.436188", - "9541314c.9ca08" + "580e40dc.0b46d", + "de693035.c3ab5", + "f8032621.282298" ] ] }, { - "id": "87bb62d6.58d95", + "id": "2fcd593e.871b66", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, "x": 1980.1771030426025, - "y": 612.0001233816147, - "z": "7137e6b8.2035e8", + "y": 642.0001233816147, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "b72bfa13.6daba8" + "4553e5fc.f4cb7c" ] ] }, { - "id": "b72bfa13.6daba8", + "id": "4553e5fc.f4cb7c", "type": "block", "name": "block", "xml": "<block>", @@ -3056,149 +2973,701 @@ "comments": "", "outputs": 1, "x": 2203.034465789795, - "y": 564.2858165502548, - "z": "7137e6b8.2035e8", + "y": 594.2858165502548, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "5b70c6e5.c4b398" + "631e69cb.8f9598" ] ] }, { - "id": "6f2e36c0.0e3df8", + "id": "e1b02916.7b90e8", "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": 1762.1092948913574, - "y": 524.931988120079, - "z": "7137e6b8.2035e8", + "y": 554.931988120079, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "a54196fa.e32af8", + "id": "82289c4e.13dd3", "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": 1682.1093482971191, - "y": 566.9319890737534, - "z": "7137e6b8.2035e8", + "y": 596.9319890737534, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "49616106.d3e75", + "id": "2f6e989a.bcc9b8", "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": 1709.1093101501465, - "y": 607.9319900274277, - "z": "7137e6b8.2035e8", + "y": 637.9319900274277, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "dbff806f.e203a", + "id": "ebd6c08d.354f2", "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": 1709.1092491149902, - "y": 652.9319919347763, - "z": "7137e6b8.2035e8", + "y": 682.9319919347763, + "z": "27bb3cd4.ff8ff4", "wires": [ [ - "87bb62d6.58d95", - "d449f248.65b7a" + "2fcd593e.871b66", + "25959b30.d72544" ] ] }, { - "id": "7b41f9d4.436188", + "id": "de693035.c3ab5", "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": 2373.1091117858887, - "y": 661.931941986084, - "z": "7137e6b8.2035e8", + "y": 691.931941986084, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "52a139e4.eb7ef8", + "id": "580e40dc.0b46d", "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": 2351.8871841430664, - "y": 713.9321460723877, - "z": "7137e6b8.2035e8", + "y": 743.9321460723877, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "5b70c6e5.c4b398", + "id": "631e69cb.8f9598", "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": 2375.1092567443848, - "y": 566.042999625206, - "z": "7137e6b8.2035e8", + "y": 596.042999625206, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "68291ec4.89a15", + "id": "8b8d2961.aeae98", "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": 431.17708587646484, - "y": 370.3333406448364, - "z": "7137e6b8.2035e8", + "y": 400.3333406448364, + "z": "27bb3cd4.ff8ff4", "wires": [] }, { - "id": "9541314c.9ca08", + "id": "f8032621.282298", "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": 2391.177146911621, - "y": 613.6666841506958, - "z": "7137e6b8.2035e8", + "y": 643.6666841506958, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] }, { - "id": "11ef3c2b.c12334", + "id": "edde733c.b2ac9", "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`\"/>", + "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<parameter name=\"field9\" value=\"nRTCI\"/>\n<parameter name=\"field10\" value=\"`$tmp.nRTCI`\"/>\n", "comments": "", "outputs": 1, "x": 1207.22216796875, - "y": 1094.4444580078125, - "z": "7137e6b8.2035e8", + "y": 1124.4444580078125, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [] + ] + }, + { + "id": "7b39b4de.4e9c6c", + "type": "switchNode", + "name": "is blacklisted", + "xml": "<switch test='`$tmp.blacklisted`'>", + "comments": "", + "outputs": 1, + "x": 2516.3990783691406, + "y": 854.8888320922852, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "593d77a0.5cb8a8", + "b8bab935.c41c08" + ] + ] + }, + { + "id": "593d77a0.5cb8a8", + "type": "outcome", + "name": "True", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2706.399085998535, + "y": 836.8888311386108, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "b83ed74b.3225d8" + ] + ] + }, + { + "id": "b8bab935.c41c08", + "type": "outcome", + "name": "False", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 2713.371253967285, + "y": 877.5277490615845, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "edf1018d.5b0f1" + ] + ] + }, + { + "id": "8e20a8df.c00c88", + "type": "set", + "name": "set isHOAllowed as false", + "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='false' />", + "comments": "", + "x": 3137.3434295654297, + "y": 833.6388311386108, + "z": "27bb3cd4.ff8ff4", + "wires": [] + }, + { + "id": "936b434c.4f285", + "type": "set", + "name": "set isHOAllowed as true", + "xml": "<set>\n<parameter name='tmp.isHOAllowed' value='true' />", + "comments": "", + "x": 3130.7877655029297, + "y": 871.9720849990845, + "z": "27bb3cd4.ff8ff4", + "wires": [] + }, + { + "id": "b83ed74b.3225d8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2890.399085998535, + "y": 835.666501045227, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "8e20a8df.c00c88" + ] + ] + }, + { + "id": "edf1018d.5b0f1", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2878.565589904785, + "y": 883.0831680297852, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "936b434c.4f285" + ] + ] + }, + { + "id": "f5ee8b6.12ca678", + "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<parameter name=\"tmp.nRTCI\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n", + "comments": "", + "x": 2535.3991203308105, + "y": 907.888858795166, + "z": "27bb3cd4.ff8ff4", + "wires": [] + }, + { + "id": "82978ac0.ed8dc8", + "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<parameter name=\"field9\" value=\"nRTCI\"/>\n<parameter name=\"field10\" value=\"`$tmp.nRTCI`\"/>\n", + "comments": "", + "outputs": 1, + "x": 2516.6103019714355, + "y": 954.8331985473633, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [] + ] + }, + { + "id": "9f32aefb.8b268", + "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": 2548.065788269043, + "y": 1090.999906539917, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [] + ] + }, + { + "id": "f51e527f.45e31", + "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": 2557.732208251953, + "y": 1145.3331623077393, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [] + ] + }, + { + "id": "6b608403.2d3acc", + "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": 2573.888542175293, + "y": 1051.2221240997314, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [] + ] + }, + { + "id": "2607273f.d4a8a8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1810, + "y": 1895, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "21213307.d7adac" + ] + ] + }, + { + "id": "21213307.d7adac", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2054.6666946411133, + "y": 1850.6667003631592, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "979fa2e8.fdf3d", + "c2f4298b.e18828" + ] + ] + }, + { + "id": "c2f4298b.e18828", + "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": 2235.333694458008, + "y": 1822.1109924316406, + "z": "27bb3cd4.ff8ff4", + "wires": [] + }, + { + "id": "979fa2e8.fdf3d", + "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": 2254.3335342407227, + "y": 1876.9999952316284, + "z": "27bb3cd4.ff8ff4", + "wires": [] + }, + { + "id": "292c5ef9.66d1b2", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1827.8181381225586, + "y": 2017.5757112503052, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "dac40ec9.1497" + ] + ] + }, + { + "id": "dac40ec9.1497", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2077.8180618286133, + "y": 1962.5758905410767, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "fedcc61a.6b0308" + ] + ] + }, + { + "id": "fedcc61a.6b0308", + "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": 2263.151565551758, + "y": 1940.576093673706, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [] + ] + }, + { + "id": "2f693817.b45ca8", + "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": 1597.5321083068848, + "y": 1828.2939586639404, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [] + ] + }, + { + "id": "2f88ba7.9742646", + "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": 1564.5321998596191, + "y": 1882.6273803710938, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [] + ] + }, + { + "id": "ef019585.316058", + "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": 1539.9984130859375, + "y": 1989.4272632598877, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "2607273f.d4a8a8", + "292c5ef9.66d1b2" + ] + ] + }, + { + "id": "9d1fcee2.302c3", + "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": 1520.1722450256348, + "y": 1936.6771001815796, + "z": "27bb3cd4.ff8ff4", "wires": [ [] ] + }, + { + "id": "fb5aba08.620b18", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1314.0000381469727, + "y": 1828.6666831970215, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "4b29419d.11b54", + "2f693817.b45ca8", + "2f88ba7.9742646", + "9d1fcee2.302c3", + "ef019585.316058" + ] + ] + }, + { + "id": "e814ff2f.d11c8", + "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": 3590, + "y": 1352.6666259765625, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [] + ] + }, + { + "id": "f24257c2.25f498", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 3870.4787940979004, + "y": 1473.211862564087, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "bf0d224.40fede" + ] + ] + }, + { + "id": "bf0d224.40fede", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4115.145488739014, + "y": 1428.878562927246, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "ec44c94.4f34a38", + "4c9a416b.04d66" + ] + ] + }, + { + "id": "4c9a416b.04d66", + "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": 4295.812488555908, + "y": 1400.3228549957275, + "z": "27bb3cd4.ff8ff4", + "wires": [] + }, + { + "id": "ec44c94.4f34a38", + "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": 4314.812328338623, + "y": 1455.2118577957153, + "z": "27bb3cd4.ff8ff4", + "wires": [] + }, + { + "id": "429dd402.4553cc", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 3888.296932220459, + "y": 1595.787573814392, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "db5ceb2e.2f4e18" + ] + ] + }, + { + "id": "db5ceb2e.2f4e18", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 4138.296855926514, + "y": 1540.7877531051636, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "41e1fdb0.ff3a94" + ] + ] + }, + { + "id": "41e1fdb0.ff3a94", + "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": 4323.630359649658, + "y": 1518.787956237793, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [] + ] + }, + { + "id": "5eb74b88.b56964", + "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": 3658.010902404785, + "y": 1406.5058212280273, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [] + ] + }, + { + "id": "f9942fcd.8b986", + "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": 3625.0109939575195, + "y": 1460.8392429351807, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [] + ] + }, + { + "id": "ebe74e99.9d0b9", + "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": 3600.477207183838, + "y": 1567.6391258239746, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "f24257c2.25f498", + "429dd402.4553cc" + ] + ] + }, + { + "id": "a52c3b6f.197a38", + "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": 3580.651039123535, + "y": 1514.8889627456665, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [] + ] + }, + { + "id": "fa469169.21411", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 3374.478832244873, + "y": 1406.8785457611084, + "z": "27bb3cd4.ff8ff4", + "wires": [ + [ + "e814ff2f.d11c8", + "5eb74b88.b56964", + "f9942fcd.8b986", + "a52c3b6f.197a38", + "ebe74e99.9d0b9" + ] + ] } ] diff --git a/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_configuration-phy-cell-id.xml b/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_configuration-phy-cell-id.xml index 4f9d5377..a1b2d99c 100644 --- a/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_configuration-phy-cell-id.xml +++ b/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_configuration-phy-cell-id.xml @@ -202,29 +202,45 @@ <parameter name="tmp.phy-cell-id-in-use" value="`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`"/> <parameter name="tmp.pnf-name" value="`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`"/> </set> + <set> + <parameter name="tmp.idNRCellDU" value="`$configuration-phy-cell-id-input.fap-service[$idx].alias`"/> + <parameter name="tmp.idGNBDUFunction" value="`$configuration-phy-cell-id-input.fap-service[$idx].pnf-name`"/> + <parameter name="tmp.nRPCI" value="`$configuration-phy-cell-id-input.fap-service[$idx].phy-cell-id-in-use`"/> + </set> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.getGNBDUFunction`"/> + <parameter name="outputPath" value="tmp.getGNBDUFunction-url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.getGNBDUFunction-url`"/> + <parameter name="outputPath" value="tmp.getGNBDUFunction-url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.idGNBDUFunction`"/> + </execute> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.fap-service`"/> - <parameter name="outputPath" value="tmp.fap-service-url"/> - <parameter name="target" value="{alias}"/> - <parameter name="replacement" value="`$tmp.alias`"/> + <parameter name="source" value="`$tmp.getGNBDUFunction-url`"/> + <parameter name="outputPath" value="tmp.getGNBDUFunction-url"/> + <parameter name="target" value="{idGNBDUFunction}"/> + <parameter name="replacement" value="`$tmp.idGNBDUFunction`"/> </execute> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> <parameter name="level" value="info" /> <parameter name="field1" value="Setting variables for GET operation"/> - <parameter name="field2" value="`$tmp.fap-service-url`"/> - <parameter name="field3" value="`$tmp.alias`"/> - <parameter name="field4" value="`$tmp.cid`"/> - <parameter name="field5" value="`$tmp.phy-cell-id-in-use`"/> - <parameter name="field6" value="`$tmp.pnf-name`"/> + <parameter name="field2" value="`$tmp.getGNBDUFunction-url`"/> + <parameter name="field3" value="`$tmp.idNRCellDU`"/> + <parameter name="field4" value="`$tmp.idGNBDUFunction`"/> + <parameter name="field5" value="`$tmp.nRPCI`"/> </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.fap-service-url`"/> + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getGNBDUFunction-url`"/> <parameter name="restapiUser" value="`$prop.controller.user`" /> <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> <parameter name="format" value="json"/> <parameter name="httpMethod" value="GET"/> - <parameter name="responsePrefix" value="oofpcigetfapservice"/> + <parameter name="responsePrefix" value="getgnbdufunction"/> <parameter name='contentType' value='application/json' /> <outcome value='failure'> <return status='failure'> @@ -238,26 +254,37 @@ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="Initial FAP Service PCI PARMS"/> - <parameter name="field2" value="`$oofpcigetfapservice.fap-service[0].alias`"/> - <parameter name="field3" value="`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`"/> - <parameter name="field4" value="`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`"/> + <parameter name="field1" value="Initial NRCELLDU PCI PARMS"/> + <parameter name="field2" value="`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`"/> + <parameter name="field3" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].idNRCellDU`"/> + <parameter name="field4" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`"/> </record> </block> </outcome> </execute> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.x-005b9-lte`"/> - <parameter name="outputPath" value="tmp.oofpcipoc.patch.pci.url"/> - <parameter name="target" value="{alias}"/> - <parameter name="replacement" value="`$tmp.alias`"/> + <parameter name="source" value="`$prop.restapi.patchNRCellDU`"/> + <parameter name="outputPath" value="tmp.nrcelldu.patch.pci.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.nrcelldu.patch.pci.url`"/> + <parameter name="outputPath" value="tmp.nrcelldu.patch.pci.url"/> + <parameter name="target" value="{idGNBDUFunction}"/> + <parameter name="replacement" value="`$tmp.idGNBDUFunction`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.nrcelldu.patch.pci.url`"/> + <parameter name="outputPath" value="tmp.nrcelldu.patch.pci.url"/> + <parameter name="target" value="{idNRCellDU}"/> + <parameter name="replacement" value="`$tmp.idNRCellDU`"/> </execute> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="URL and Target for PCI patch URL"/> + <parameter name="field1" value="URL for PCI patch URL"/> <parameter name='field2' value="`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`" /> - <parameter name='field3' value="`$prop.oofpcipoc.patch.pci.target`" /> </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`" /> @@ -289,12 +316,12 @@ </outcome> </execute> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.fap-service-url`"/> + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getGNBDUFunction-url`"/> <parameter name="restapiUser" value="`$prop.controller.user`" /> <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> <parameter name="format" value="json"/> <parameter name="httpMethod" value="GET"/> - <parameter name="responsePrefix" value="oofpcigetfapservice"/> + <parameter name="responsePrefix" value="getgnbdufunction"/> <parameter name='contentType' value='application/json' /> <outcome value='failure'> <return status='failure'> @@ -309,9 +336,9 @@ <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> <parameter name="level" value="info" /> <parameter name="field1" value="Post Reconfig FAP Service PCI PARMS"/> - <parameter name="field2" value="`$oofpcigetfapservice.fap-service[0].alias`"/> - <parameter name="field3" value="`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`"/> - <parameter name="field4" value="`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`"/> + <parameter name="field2" value="`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`"/> + <parameter name="field3" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].idNRCellDU`"/> + <parameter name="field4" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`"/> </record> </block> </outcome> @@ -361,6 +388,65 @@ </execute> </block> </outcome> + <outcome value='false'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="CPS is Deployed, ConfigDB Skipped"/> + </record> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/> + <parameter name="outputPath" value="tmp.cps.putnrpci.nrcelldu.url"/> + <parameter name="target" value="{schemaSet}"/> + <parameter name="replacement" value="`$tmp.schemaset.name`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.cps.putnrpci.nrcelldu.url`"/> + <parameter name="outputPath" value="tmp.cps.putnrpci.nrcelldu.url"/> + <parameter name="target" value="{templateId}"/> + <parameter name="replacement" value="`$prop.tbdmt.template.put-nrpci-nrcelldu`"/> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for CPS TDBMT to put nRPCI NRCellDU"/> + <parameter name='field2' value="`$tmp.cps.putnrpci.nrcelldu.url`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$tmp.cps.putnrpci.nrcelldu.url`"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-nrpci.json'`" /> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="cps-put-nrpci-nrcelldu-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="convertResponse" value="true"/> + <outcome value='failure'> + <block atomic='true'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/> + </return> + </block> + </outcome> + <outcome value='success'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully Updated NRCellDU info in cps"/> + </record> + </block> + </outcome> + </execute> + </block> + </outcome> </switch> </block> </for> @@ -390,20 +476,20 @@ <parameter name="field6" value="`$tmp.nRPCI`"/> </record> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.fap-service.ransim-mounted`"/> - <parameter name="outputPath" value="tmp.fap-service-url"/> + <parameter name="source" value="`$prop.restapi.getGNBDUFunction.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.getGNBDUFunction-url"/> <parameter name="target" value="{idNearRTRIC}"/> <parameter name="replacement" value="`$tmp.nearRTRICId`"/> </execute> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.fap-service-url`"/> - <parameter name="outputPath" value="tmp.fap-service-url"/> + <parameter name="source" value="`$tmp.getGNBDUFunction-url`"/> + <parameter name="outputPath" value="tmp.getGNBDUFunction-url"/> <parameter name="target" value="{mountName}"/> <parameter name="replacement" value="`$tmp.idGNBDUFunction`"/> </execute> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.fap-service-url`"/> - <parameter name="outputPath" value="tmp.fap-service-url"/> + <parameter name="source" value="`$tmp.getGNBDUFunction-url`"/> + <parameter name="outputPath" value="tmp.getGNBDUFunction-url"/> <parameter name="target" value="{idGNBDUFunction}"/> <parameter name="replacement" value="`$tmp.idGNBDUFunction`"/> </execute> @@ -411,19 +497,18 @@ <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> <parameter name="level" value="info" /> <parameter name="field1" value="Setting variables for GET operation"/> - <parameter name="field2" value="`$tmp.fap-service-url`"/> - <parameter name="field3" value="`$tmp.alias`"/> - <parameter name="field4" value="`$tmp.cid`"/> - <parameter name="field5" value="`$tmp.phy-cell-id-in-use`"/> - <parameter name="field6" value="`$tmp.pnf-name`"/> + <parameter name="field2" value="`$tmp.getGNBDUFunction-url`"/> + <parameter name="field3" value="`$tmp.idNRCellDU`"/> + <parameter name="field4" value="`$tmp.idGNBDUFunction`"/> + <parameter name="field5" value="`$tmp.nRPCI`"/> </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.fap-service-url`"/> + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getGNBDUFunction-url`"/> <parameter name="restapiUser" value="`$prop.controller.user`" /> <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> <parameter name="format" value="json"/> <parameter name="httpMethod" value="GET"/> - <parameter name="responsePrefix" value="oofpcigetfapservice"/> + <parameter name="responsePrefix" value="getgnbdufunction"/> <parameter name='contentType' value='application/json' /> <outcome value='failure'> <return status='failure'> @@ -437,52 +522,51 @@ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="Initial FAP Service PCI PARMS"/> - <parameter name="field2" value="`$oofpcigetfapservice.fap-service[0].alias`"/> - <parameter name="field3" value="`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`"/> - <parameter name="field4" value="`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`"/> + <parameter name="field1" value="Initial NRCellDU PCI PARMS"/> + <parameter name="field2" value="`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`"/> + <parameter name="field3" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].idNRCellDU`"/> + <parameter name="field4" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`"/> </record> </block> </outcome> </execute> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.x-005b9-lte.ransim-mounted`"/> - <parameter name="outputPath" value="tmp.oofpcipoc.patch.pci.url"/> + <parameter name="source" value="`$prop.restapi.patchNRCellDU.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.nrcelldu.patch.pci.url"/> <parameter name="target" value="{idNearRTRIC}"/> <parameter name="replacement" value="`$tmp.nearRTRICId`"/> </execute> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.config-neighbor-service-url`"/> - <parameter name="outputPath" value="tmp.config-neighbor-service-url"/> + <parameter name="source" value="`$tmp.nrcelldu.patch.pci.url`"/> + <parameter name="outputPath" value="tmp.nrcelldu.patch.pci.url"/> <parameter name="target" value="{mountName}"/> <parameter name="replacement" value="`$tmp.idGNBDUFunction`"/> </execute> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.oofpcipoc.patch.pci.url`"/> - <parameter name="outputPath" value="tmp.oofpcipoc.patch.pci.url"/> + <parameter name="source" value="`$tmp.nrcelldu.patch.pci.url`"/> + <parameter name="outputPath" value="tmp.nrcelldu.patch.pci.url"/> <parameter name="target" value="{idGNBDUFunction}"/> <parameter name="replacement" value="`$tmp.idGNBDUFunction`"/> </execute> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.oofpcipoc.patch.pci.url`"/> - <parameter name="outputPath" value="tmp.oofpcipoc.patch.pci.url"/> + <parameter name="source" value="`$tmp.nrcelldu.patch.pci.url`"/> + <parameter name="outputPath" value="tmp.nrcelldu.patch.pci.url"/> <parameter name="target" value="{idNRCellDU}"/> <parameter name="replacement" value="`$tmp.idNRCellDU`"/> </execute> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="URL and Target for PCI patch URL"/> - <parameter name='field2' value="`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`" /> - <parameter name='field3' value="`$prop.oofpcipoc.patch.pci.target`" /> + <parameter name="field1" value="URL for PCI patch URL"/> + <parameter name='field2' value="`$prop.controller.url + $tmp.nrcelldu.patch.pci.url`" /> </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/oofpcipoc-pci-patch.json'`" /> - <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.oofpcipoc.patch.pci.url`"/> + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.nrcelldu.patch.pci.url`"/> <parameter name="restapiUser" value="`$prop.controller.user`" /> <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> <parameter name="httpMethod" value="PATCH"/> - <parameter name="responsePrefix" value="oofpci-patch-response"/> + <parameter name="responsePrefix" value="nrcelldu-patch-response"/> <parameter name='contentType' value='application/yang.patch+json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/yang.patch-status+json' /> @@ -506,12 +590,12 @@ </outcome> </execute> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.fap-service-url`"/> + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.getGNBDUFunction-url`"/> <parameter name="restapiUser" value="`$prop.controller.user`" /> <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> <parameter name="format" value="json"/> <parameter name="httpMethod" value="GET"/> - <parameter name="responsePrefix" value="oofpcigetfapservice"/> + <parameter name="responsePrefix" value="getgnbdufunction"/> <parameter name='contentType' value='application/json' /> <outcome value='failure'> <return status='failure'> @@ -525,21 +609,73 @@ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="Post Reconfig FAP Service PCI PARMS"/> - <parameter name="field2" value="`$oofpcigetfapservice.fap-service[0].alias`"/> - <parameter name="field3" value="`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.phy-cell-id-in-use`"/> - <parameter name="field4" value="`$oofpcigetfapservice.fap-service[0].x-0005b9-lte.pnf-name`"/> + <parameter name="field1" value="Post Reconfig NRCELLDU PCI PARMS"/> + <parameter name="field2" value="`$getgnbdufunction.GNBDUFunction[0].idGNBDUFunction`"/> + <parameter name="field3" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].idNRCellDU`"/> + <parameter name="field4" value="`$getgnbdufunction.GNBDUFunction[0].NRCellDU[0].attributes.nRPCI`"/> </record> </block> </outcome> </execute> <switch test='`$prop.configdb-deployed`'> <outcome value='false'> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="ConfigDB Update Skipped"/> - </record> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="CPS is Deployed, ConfigDB Skipped"/> + </record> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/> + <parameter name="outputPath" value="tmp.cps.putnrpci.nrcelldu.url"/> + <parameter name="target" value="{schemaSet}"/> + <parameter name="replacement" value="`$tmp.schemaset.name`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.cps.putnrpci.nrcelldu.url`"/> + <parameter name="outputPath" value="tmp.cps.putnrpci.nrcelldu.url"/> + <parameter name="target" value="{templateId}"/> + <parameter name="replacement" value="`$prop.tbdmt.template.put-nrpci-nrcelldu`"/> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for CPS TDBMT to put nRPCI NRCellDU"/> + <parameter name='field2' value="`$tmp.cps.putnrpci.nrcelldu.url`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$tmp.cps.putnrpci.nrcelldu.url`"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-nrpci.json'`" /> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="cps-put-nrpci-nrcelldu-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="convertResponse" value="true"/> + <outcome value='failure'> + <block atomic='true'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/> + </return> + </block> + </outcome> + <outcome value='success'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configuration-phy-cell-id.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully Updated NRCellDU info in cps"/> + </record> + </block> + </outcome> + </execute> + </block> </outcome> <outcome value='true'> <block atomic='true'> diff --git a/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_generic-neighbor-configuration.xml b/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_generic-neighbor-configuration.xml index d753e6f3..9f02493f 100644 --- a/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_generic-neighbor-configuration.xml +++ b/platform-logic/oofpcipoc-api/src/main/xml/oofpcipoc-api_generic-neighbor-configuration.xml @@ -211,34 +211,65 @@ <parameter name="tmp.pnf-name" value="`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`"/> <parameter name="tmp.blacklisted" value="`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`"/> </set> + <switch test='`$tmp.blacklisted`'> + <outcome value='true'> + <block atomic='true'> + <set> + <parameter name='tmp.isHOAllowed' value='false' /> + </set> + </block> + </outcome> + <outcome value='false'> + <block atomic='true'> + <set> + <parameter name='tmp.isHOAllowed' value='true' /> + </set> + </block> + </outcome> + </switch> + <set> + <parameter name="tmp.idNRCellCU" value="`$generic-neighbor-configuration-input.alias`"/> + <parameter name="tmp.idNRCellRelation" value="`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`"/> + <parameter name="tmp.idGNBCUCPFunction" value="`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`"/> + <parameter name="tmp.nRTCI" value="`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`"/> + </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="Temporary varaibles set. Neighbor #: "/> - <parameter name="field2" value="`$idx`"/> - <parameter name="field3" value="`$tmp.plmnid`"/> - <parameter name="field4" value="`$tmp.cid`"/> - <parameter name="field5" value="`$tmp.phy-cell-id`"/> - <parameter name="field6" value="`$tmp.pnf-name`"/> - <parameter name="field7" value="`$tmp.blacklisted`"/> + <parameter name="field1" value="idGNBCUCPFunction"/> + <parameter name="field2" value="`$tmp.idGNBCUCPFunction`"/> + <parameter name="field3" value="idNRCellCU"/> + <parameter name="field4" value="`$tmp.idNRCellCU`"/> + <parameter name="field5" value="idNRCellRelation"/> + <parameter name="field6" value="`$tmp.idNRCellRelation`"/> + <parameter name="field7" value="isHOAllowed"/> + <parameter name="field8" value="`$tmp.isHOAllowed`"/> + <parameter name="field9" value="nRTCI"/> + <parameter name="field10" value="`$tmp.nRTCI`"/> </record> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.lte-ran-neighbor-in-use`"/> + <parameter name="source" value="`$prop.restapi.patchNRCellRelation`"/> <parameter name="outputPath" value="tmp.config-neighbor-service-url"/> - <parameter name="target" value="{alias}"/> - <parameter name="replacement" value="`$tmp.alias`"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.config-neighbor-service-url`"/> + <parameter name="outputPath" value="tmp.config-neighbor-service-url"/> + <parameter name="target" value="{idGNBCUCPFunction}"/> + <parameter name="replacement" value="`$tmp.idGNBCUCPFunction`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.config-neighbor-service-url`"/> + <parameter name="outputPath" value="tmp.config-neighbor-service-url"/> + <parameter name="target" value="{idNRCellCU}"/> + <parameter name="replacement" value="`$tmp.idNRCellCU`"/> </execute> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Config Neighbor List URL"/> - <parameter name="field2" value="`$tmp.config-neighbor-service-url`"/> - </record> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > <parameter name="source" value="`$tmp.config-neighbor-service-url`"/> <parameter name="outputPath" value="tmp.config-neighbor-service-url"/> - <parameter name="target" value="{plmnid}"/> - <parameter name="replacement" value="`$tmp.plmnid`"/> + <parameter name="target" value="{idNRCellRelation}"/> + <parameter name="replacement" value="`$tmp.idNRCellRelation`"/> </execute> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> @@ -246,12 +277,6 @@ <parameter name="field1" value="Config Neighbor List URL"/> <parameter name="field2" value="`$tmp.config-neighbor-service-url`"/> </record> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.config-neighbor-service-url`"/> - <parameter name="outputPath" value="tmp.config-neighbor-service-url"/> - <parameter name="target" value="{cid}"/> - <parameter name="replacement" value="`$tmp.cid`"/> - </execute> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.config-neighbor-service-url`"/> <parameter name="restapiUser" value="`$prop.controller.user`" /> @@ -273,11 +298,8 @@ <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> <parameter name="level" value="info" /> <parameter name="field1" value="Details about Neighbor Pre-configuration"/> - <parameter name="field2" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`"/> - <parameter name="field3" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`"/> - <parameter name="field4" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`"/> - <parameter name="field5" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`"/> - <parameter name="field6" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`"/> + <parameter name="field2" value="`$oofpci-neighbor-response.attributes.nRTCI`"/> + <parameter name="field3" value="`$oofpci-neighbor-response.attributes.isHOAllowed`"/> </record> </block> </outcome> @@ -332,22 +354,71 @@ <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> <parameter name="level" value="info" /> <parameter name="field1" value="Details about Neighbor Post-configuration"/> - <parameter name="field2" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`"/> - <parameter name="field3" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`"/> - <parameter name="field4" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`"/> - <parameter name="field5" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`"/> - <parameter name="field6" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`"/> + <parameter name="field2" value="`$oofpci-neighbor-response.attributes.nRTCI`"/> + <parameter name="field3" value="`$oofpci-neighbor-response.attributes.isHOAllowed`"/> </record> </block> </outcome> </execute> <switch test='`$prop.configdb-deployed`'> <outcome value='false'> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="ConfigDB Update Skipped"/> - </record> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="CPS is Deployed, ConfigDB Skipped"/> + </record> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/> + <parameter name="outputPath" value="tmp.cps.putho.nrcellrelation.url"/> + <parameter name="target" value="{schemaSet}"/> + <parameter name="replacement" value="`$tmp.schemaset.name`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.cps.putho.nrcellrelation.url`"/> + <parameter name="outputPath" value="tmp.cps.putho.nrcellrelation.url"/> + <parameter name="target" value="{templateId}"/> + <parameter name="replacement" value="`$prop.tbdmt.template.put-ho-nrcellrelation`"/> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for CPS TDBMT to put ho NRCellRelation"/> + <parameter name='field2' value="`$tmp.cps.putho.nrcellrelation.url`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$tmp.cps.putho.nrcellrelation.url`"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-ho.json'`" /> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="cps-put-ho-nrcellrelation-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="convertResponse" value="true"/> + <outcome value='failure'> + <block atomic='true'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/> + </return> + </block> + </outcome> + <outcome value='success'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully Updated NRCellRelation info in cps"/> + </record> + </block> + </outcome> + </execute> + </block> </outcome> <outcome value='true'> <block atomic='true'> @@ -415,17 +486,6 @@ <parameter name="tmp.pnf-name" value="`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`"/> <parameter name="tmp.blacklisted" value="`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`"/> </set> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Temporary varaibles set. Neighbor #: "/> - <parameter name="field2" value="`$idx`"/> - <parameter name="field3" value="`$tmp.plmnid`"/> - <parameter name="field4" value="`$tmp.cid`"/> - <parameter name="field5" value="`$tmp.phy-cell-id`"/> - <parameter name="field6" value="`$tmp.pnf-name`"/> - <parameter name="field7" value="`$tmp.blacklisted`"/> - </record> <switch test='`$tmp.blacklisted`'> <outcome value='true'> <block atomic='true'> @@ -446,6 +506,7 @@ <parameter name="tmp.idNRCellCU" value="`$generic-neighbor-configuration-input.alias`"/> <parameter name="tmp.idNRCellRelation" value="`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`"/> <parameter name="tmp.idGNBCUCPFunction" value="`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`"/> + <parameter name="tmp.nRTCI" value="`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`"/> </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> @@ -458,9 +519,11 @@ <parameter name="field6" value="`$tmp.idNRCellRelation`"/> <parameter name="field7" value="isHOAllowed"/> <parameter name="field8" value="`$tmp.isHOAllowed`"/> + <parameter name="field9" value="nRTCI"/> + <parameter name="field10" value="`$tmp.nRTCI`"/> </record> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.lte-ran-neighbor-in-use.ransim-mounted`"/> + <parameter name="source" value="`$prop.restapi.patchNRCellRelation.ransim-mounted`"/> <parameter name="outputPath" value="tmp.config-neighbor-service-url"/> <parameter name="target" value="{idNearRTRIC}"/> <parameter name="replacement" value="`$tmp.nearRTRICId`"/> @@ -516,11 +579,8 @@ <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> <parameter name="level" value="info" /> <parameter name="field1" value="Details about Neighbor Pre-configuration"/> - <parameter name="field2" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`"/> - <parameter name="field3" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`"/> - <parameter name="field4" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`"/> - <parameter name="field5" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`"/> - <parameter name="field6" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`"/> + <parameter name="field2" value="`$oofpci-neighbor-response.attributes.nRTCI`"/> + <parameter name="field3" value="`$oofpci-neighbor-response.attributes.isHOAllowed`"/> </record> </block> </outcome> @@ -575,22 +635,71 @@ <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> <parameter name="level" value="info" /> <parameter name="field1" value="Details about Neighbor Post-configuration"/> - <parameter name="field2" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`"/> - <parameter name="field3" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`"/> - <parameter name="field4" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`"/> - <parameter name="field5" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`"/> - <parameter name="field6" value="`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`"/> + <parameter name="field2" value="`$oofpci-neighbor-response.attributes.nRTCI`"/> + <parameter name="field3" value="`$oofpci-neighbor-response.attributes.isHOAllowed`"/> </record> </block> </outcome> </execute> <switch test='`$prop.configdb-deployed`'> <outcome value='false'> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="ConfigDB Update Skipped"/> - </record> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="CPS is Deployed, ConfigDB Skipped"/> + </record> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.cps.tbdmt.execute.endpoint`"/> + <parameter name="outputPath" value="tmp.cps.putho.nrcellrelation.url"/> + <parameter name="target" value="{schemaSet}"/> + <parameter name="replacement" value="`$tmp.schemaset.name`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.cps.putho.nrcellrelation.url`"/> + <parameter name="outputPath" value="tmp.cps.putho.nrcellrelation.url"/> + <parameter name="target" value="{templateId}"/> + <parameter name="replacement" value="`$prop.tbdmt.template.put-ho-nrcellrelation`"/> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for CPS TDBMT to put ho NRCellRelation"/> + <parameter name='field2' value="`$tmp.cps.putho.nrcellrelation.url`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$tmp.cps.putho.nrcellrelation.url`"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/cps-templates/cps-put-ho.json'`" /> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="cps-put-ho-nrcellrelation-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="convertResponse" value="true"/> + <outcome value='failure'> + <block atomic='true'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating nearRTRIC info in CPS. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/> + </return> + </block> + </outcome> + <outcome value='success'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/generic-neighbor-config.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully Updated NRCellRelation info in cps"/> + </record> + </block> + </outcome> + </execute> + </block> </outcome> <outcome value='true'> <block atomic='true'> @@ -727,6 +836,11 @@ </outcome> </execute> </block> + <return status='success'> + <parameter name="ack-final-indicator" value="Y" /> + <parameter name="error-code" value="200" /> + <parameter name="error-message" value="SUCCESSFUL Execution" /> + </return> <block atomic='true'> <set> <parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfiganr`'/> @@ -847,11 +961,6 @@ </outcome> </execute> </block> - <return status='success'> - <parameter name="ack-final-indicator" value="Y" /> - <parameter name="error-code" value="200" /> - <parameter name="error-message" value="SUCCESSFUL Execution" /> - </return> </block> </method> </service-logic> |