[
{
- "id": "32585b9f.2450c4",
+ "id": "bc547e72.de486",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceReconfigure' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 503.75,
- "y": 164.75,
- "z": "41b275ba.2c7b9c",
+ "x": 481,
+ "y": 376.00002670288086,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "6d512b02.f5fb24"
+ "11d2150e.1a192b"
]
]
},
{
- "id": "3dbd289d.70c158",
+ "id": "9e3064fa.e459e8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 127.74999618530273,
- "y": 69.74997234344482,
- "z": "41b275ba.2c7b9c",
+ "x": 104.99999618530273,
+ "y": 280.9999990463257,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "f703c5f1.d65e48"
+ "bcb8ab3d.fc8898"
]
]
},
{
- "id": "f703c5f1.d65e48",
+ "id": "bcb8ab3d.fc8898",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
"comments": "",
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
"outputs": 1,
- "x": 260.7499694824219,
- "y": 166.75005340576172,
- "z": "41b275ba.2c7b9c",
+ "x": 237.99996948242188,
+ "y": 378.0000801086426,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "32585b9f.2450c4"
+ "bc547e72.de486"
]
]
},
{
- "id": "48d93d05.8690d4",
+ "id": "8e63455a.48d498",
"type": "returnSuccess",
"name": "return success",
"xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"N\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
"comments": "",
- "x": 189.2396240234375,
- "y": 1107.7502908706665,
- "z": "41b275ba.2c7b9c",
+ "x": 166.4896240234375,
+ "y": 1319.0003175735474,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "a4b9c637.2208a8",
+ "id": "1924ee58.e50e02",
"type": "comment",
"name": "instantiateRANSliceReconfigure",
"info": "",
"comments": "",
- "x": 472.75,
- "y": 106.76037216186523,
- "z": "41b275ba.2c7b9c",
+ "x": 450,
+ "y": 318.0103988647461,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "6d512b02.f5fb24",
+ "id": "11d2150e.1a192b",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 138.74996948242188,
- "y": 286.7603759765625,
- "z": "41b275ba.2c7b9c",
+ "x": 115.99996948242188,
+ "y": 498.01040267944336,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "48d93d05.8690d4",
- "f4e1247b.bc3698",
- "d1274487.bddf28",
- "6d3f3c64.a47bf4"
+ "8e63455a.48d498",
+ "dfea51fa.caa12",
+ "5a108e89.00473",
+ "e4836493.371528"
]
]
},
{
- "id": "68609d43.a7c894",
+ "id": "1cb69829.641778",
"type": "execute",
"name": "add RRM Policy ToNRCellDU using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 4019.739906311035,
- "y": 7591.770859479904,
- "z": "41b275ba.2c7b9c",
+ "x": 3996.989906311035,
+ "y": 7803.020886182785,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "9e2fe536.9e73f8"
+ "a16ae0f.da3482"
]
]
},
{
- "id": "9e2fe536.9e73f8",
+ "id": "a16ae0f.da3482",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4356.739784240723,
- "y": 7617.760361433029,
- "z": "41b275ba.2c7b9c",
+ "x": 4333.989784240723,
+ "y": 7829.01038813591,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "df2e7f8.6dd618"
+ "9a7fb71a.249518"
]
]
},
{
- "id": "df2e7f8.6dd618",
+ "id": "9a7fb71a.249518",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4536.739540100098,
- "y": 7614.760361433029,
- "z": "41b275ba.2c7b9c",
+ "x": 4513.989540100098,
+ "y": 7826.01038813591,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "52c52982.de0028"
+ "3771494e.f8bf46"
]
]
},
{
- "id": "52c52982.de0028",
+ "id": "3771494e.f8bf46",
"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/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio to NRCELLDU Executed Successfully \"/>",
"comments": "",
"outputs": 1,
- "x": 4685.739841461182,
- "y": 7640.760554075241,
- "z": "41b275ba.2c7b9c",
+ "x": 4662.989841461182,
+ "y": 7852.010580778122,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "6d3f3c64.a47bf4",
+ "id": "e4836493.371528",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 218.5,
- "y": 1058.0146198272705,
- "z": "41b275ba.2c7b9c",
+ "x": 195.75,
+ "y": 1269.2646465301514,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "6ca212a7.438f2c",
- "c4de5282.42b7b",
- "1c47a5e4.c57bfa",
- "313715a1.8aa98a"
+ "33d8fbc1.21a6b4",
+ "df7bf9ae.94bdc8",
+ "70f68f81.6819f",
+ "21948f3c.24718"
]
]
},
{
- "id": "6ca212a7.438f2c",
+ "id": "33d8fbc1.21a6b4",
"type": "record",
"name": "record SO reply parms",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
"comments": "",
"outputs": 1,
- "x": 386.7499771118164,
- "y": 1425.7648248672485,
- "z": "41b275ba.2c7b9c",
+ "x": 363.9999771118164,
+ "y": 1637.0148515701294,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "5fd9ecbd.29ab64",
+ "id": "939ba489.ed0548",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 420.7500762939453,
- "y": 1522.7645282745361,
- "z": "41b275ba.2c7b9c",
+ "x": 398.0000762939453,
+ "y": 1734.014554977417,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "7f661b0f.15e664"
+ "da4db008.4948"
]
]
},
{
- "id": "2189ac26.c30d74",
+ "id": "b4c4757.1343e88",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 412.7499694824219,
- "y": 1595.7644786834717,
- "z": "41b275ba.2c7b9c",
+ "x": 389.9999694824219,
+ "y": 1807.0145053863525,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "d9a56d50.10807"
+ "d510529b.baea"
]
]
},
{
- "id": "d9a56d50.10807",
+ "id": "d510529b.baea",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 558.749813079834,
- "y": 1600.7645874023438,
- "z": "41b275ba.2c7b9c",
+ "x": 535.999813079834,
+ "y": 1812.0146141052246,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "9ed33baf.c15f38"
+ "fbfba657.a5b4d8"
]
]
},
{
- "id": "7f661b0f.15e664",
+ "id": "da4db008.4948",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 569.7499771118164,
- "y": 1518.764663696289,
- "z": "41b275ba.2c7b9c",
+ "x": 546.9999771118164,
+ "y": 1730.01469039917,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "36051d22.566b12",
- "a16954ff.5c8568"
+ "a66a60b.6c1f5a",
+ "67e5e26b.be6fcc"
]
]
},
{
- "id": "36051d22.566b12",
+ "id": "a66a60b.6c1f5a",
"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 sending SO Response\" />",
"comments": "",
- "x": 716.7495956420898,
- "y": 1529.7644052505493,
- "z": "41b275ba.2c7b9c",
+ "x": 693.9995956420898,
+ "y": 1741.0144319534302,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "9ed33baf.c15f38",
+ "id": "fbfba657.a5b4d8",
"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/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 719.7497329711914,
- "y": 1606.764479637146,
- "z": "41b275ba.2c7b9c",
+ "x": 696.9997329711914,
+ "y": 1818.0145063400269,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "ae45840d.79a808",
+ "id": "d1283c41.99619",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2951.2410202026367,
- "y": 711.7605400085449,
- "z": "41b275ba.2c7b9c",
+ "x": 2928.4910202026367,
+ "y": 923.0105667114258,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "383a0812.212598",
- "bd9a5458.0d8c98",
- "f79506e4.729ba8"
+ "74a286bd.6d7158",
+ "eb863c9c.2e233",
+ "39ff8d4e.7cf1f2"
]
]
},
{
- "id": "383a0812.212598",
+ "id": "74a286bd.6d7158",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
"comments": "",
- "x": 3269.2419967651367,
- "y": 635.6601982116699,
- "z": "41b275ba.2c7b9c",
+ "x": 3246.4919967651367,
+ "y": 846.9102249145508,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "bd9a5458.0d8c98",
+ "id": "eb863c9c.2e233",
"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/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
"comments": "",
"outputs": 1,
- "x": 3244.240882873535,
- "y": 732.7608757019043,
- "z": "41b275ba.2c7b9c",
+ "x": 3221.490882873535,
+ "y": 944.0109024047852,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "f79506e4.729ba8",
+ "id": "39ff8d4e.7cf1f2",
"type": "execute",
"name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />",
"comments": "",
"outputs": 1,
- "x": 3159.240894317627,
- "y": 829.7607536315918,
- "z": "41b275ba.2c7b9c",
+ "x": 3136.490894317627,
+ "y": 1041.0107803344727,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "4ca0fe0e.1272",
- "1eeab34c.9f419d"
+ "2ea87dfa.74a1b2",
+ "250dec65.8f20f4"
]
]
},
{
- "id": "4ca0fe0e.1272",
+ "id": "2ea87dfa.74a1b2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3385.240902900696,
- "y": 806.7607226371765,
- "z": "41b275ba.2c7b9c",
+ "x": 3362.490902900696,
+ "y": 1018.0107493400574,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "c32c55a7.fb07f8"
+ "ac431b02.8c9478"
]
]
},
{
- "id": "1eeab34c.9f419d",
+ "id": "250dec65.8f20f4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3375.2407569885254,
- "y": 914.7606620788574,
- "z": "41b275ba.2c7b9c",
+ "x": 3352.4907569885254,
+ "y": 1126.0106887817383,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "e19f4b9.9907bb8"
+ "8528a08.e5e9f6"
]
]
},
{
- "id": "e19f4b9.9907bb8",
+ "id": "8528a08.e5e9f6",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3525.2405433654785,
- "y": 933.7607231140137,
- "z": "41b275ba.2c7b9c",
+ "x": 3502.4905433654785,
+ "y": 1145.0107498168945,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "4cde663b.2a8578"
+ "d77fbdfc.945cb"
]
]
},
{
- "id": "c32c55a7.fb07f8",
+ "id": "ac431b02.8c9478",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3536.2407722473145,
- "y": 801.760844707489,
- "z": "41b275ba.2c7b9c",
+ "x": 3513.4907722473145,
+ "y": 1013.0108714103699,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "92c9aac0.661068"
+ "85095c42.ac356"
]
]
},
{
- "id": "92c9aac0.661068",
+ "id": "85095c42.ac356",
"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 sending SO Response\" />",
"comments": "",
- "x": 3702.240451812744,
- "y": 804.7606620788574,
- "z": "41b275ba.2c7b9c",
+ "x": 3679.490451812744,
+ "y": 1016.0106887817383,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "4cde663b.2a8578",
+ "id": "d77fbdfc.945cb",
"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/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 3689.2405586242676,
- "y": 939.7606620788574,
- "z": "41b275ba.2c7b9c",
+ "x": 3666.4905586242676,
+ "y": 1151.0106887817383,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "a16954ff.5c8568",
+ "id": "67e5e26b.be6fcc",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
"comments": "",
- "x": 704.2602043151855,
- "y": 1433.7538967132568,
- "z": "41b275ba.2c7b9c",
+ "x": 681.5102043151855,
+ "y": 1645.0039234161377,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "1c47a5e4.c57bfa",
+ "id": "70f68f81.6819f",
"type": "execute",
"name": "generate URL for SO Callback",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.so.callbackURL`\"/>\n <parameter name=\"outputPath\" value=\"tmp.so.callbackURL\"/>\n <parameter name=\"target\" value=\"{requestId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.requestID`\"/>",
"comments": "",
"outputs": 1,
- "x": 409.089599609375,
- "y": 1361.749979019165,
- "z": "41b275ba.2c7b9c",
+ "x": 386.339599609375,
+ "y": 1573.000005722046,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "d57e6ed0.cc044",
+ "id": "52498a8b.639054",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 695.7502326965332,
- "y": 224.75006008148193,
- "z": "41b275ba.2c7b9c",
+ "x": 673.0002326965332,
+ "y": 436.0000867843628,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "a9acee36.f83ee"
+ "49e252ee.ff33ec"
]
]
},
{
- "id": "f4e1247b.bc3698",
+ "id": "dfea51fa.caa12",
"type": "execute",
"name": "payload has dLThptPerSlice",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n <parameter name='target' value='dLThptPerSlice' />\n",
"comments": "",
"outputs": 1,
- "x": 455.7500991821289,
- "y": 502.7500252723694,
- "z": "41b275ba.2c7b9c",
+ "x": 433.0000991821289,
+ "y": 714.0000519752502,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "d57e6ed0.cc044",
- "2419e20b.e956be"
+ "52498a8b.639054",
+ "3bf01b6d.6b1dd4"
]
]
},
{
- "id": "2419e20b.e956be",
+ "id": "3bf01b6d.6b1dd4",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 320.25665283203125,
- "y": 644.75022315979,
- "z": "41b275ba.2c7b9c",
+ "x": 297.50665283203125,
+ "y": 856.0002498626709,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "b786c6c5.f36ab8"
+ "c5e57df2.82eca"
]
]
},
{
- "id": "96e5a08c.a3377",
+ "id": "536ddc3.5493c24",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 487.75038146972656,
- "y": 1006.7502222061157,
- "z": "41b275ba.2c7b9c",
+ "x": 465.00038146972656,
+ "y": 1218.0002489089966,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "7cff3a87.efd824"
+ "75235874.7abee8"
]
]
},
{
- "id": "a9acee36.f83ee",
+ "id": "49e252ee.ff33ec",
"type": "block",
"name": "Closed Loop",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 757.7502288818359,
- "y": 85.75003004074097,
- "z": "41b275ba.2c7b9c",
+ "x": 735.0002288818359,
+ "y": 297.0000567436218,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "8b60a680.a71df8",
- "36bd9ffc.fe71"
+ "e0fdbea0.96892",
+ "b1a242d6.1e759"
]
]
},
{
- "id": "7cff3a87.efd824",
+ "id": "75235874.7abee8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 654.7502899169922,
- "y": 1005.750207901001,
- "z": "41b275ba.2c7b9c",
+ "x": 632.0002899169922,
+ "y": 1217.0002346038818,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "1980284b.b32c88",
- "1b3fa1fa.2ed2de",
- "959e65cd.b44568",
- "5e06d049.40315"
+ "c1ef35ca.2dd918",
+ "3f3bbd1.7e11342",
+ "4214e64f.ea08e8",
+ "18d141c3.8dce1e"
]
]
},
{
- "id": "b786c6c5.f36ab8",
+ "id": "c5e57df2.82eca",
"type": "execute",
"name": "Intelligent Slicing",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n <parameter name='target' value='maxNumberofConns' />\n",
"comments": "",
"outputs": 1,
- "x": 313.7504577636719,
- "y": 1004.7502689361572,
- "z": "41b275ba.2c7b9c",
+ "x": 291.0004577636719,
+ "y": 1216.000295639038,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "96e5a08c.a3377"
+ "536ddc3.5493c24"
]
]
},
{
- "id": "8b60a680.a71df8",
+ "id": "e0fdbea0.96892",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PAYLOAD contains dLThptPerSlice...Closed loop \"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 963.7500152587891,
- "y": 70.75002574920654,
- "z": "41b275ba.2c7b9c",
+ "x": 817.0000190734863,
+ "y": 199.0000524520874,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "1980284b.b32c88",
+ "id": "c1ef35ca.2dd918",
"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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PAYLOAD contains maxNumberofConns...Inntelligent Slicing \"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 811.7503967285156,
- "y": 976.7502517700195,
- "z": "41b275ba.2c7b9c",
+ "x": 789.0003967285156,
+ "y": 1188.0002784729004,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "d1274487.bddf28",
+ "id": "5a108e89.00473",
"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/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Reached instantiateRANSliceReconfigure \"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 528.75,
- "y": 237.75,
- "z": "41b275ba.2c7b9c",
+ "x": 506,
+ "y": 449.00002670288086,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "36bd9ffc.fe71",
+ "id": "b1a242d6.1e759",
"type": "block",
"name": "NearRTRIC",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 861.7605514526367,
- "y": 199.76043796539307,
- "z": "41b275ba.2c7b9c",
+ "x": 808.0105819702148,
+ "y": 371.0104675292969,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "9a098154.31cd3",
- "78a62e97.fc3e6"
+ "91dcd74.2289e28",
+ "9a141229.ad271"
]
]
},
{
- "id": "1b3fa1fa.2ed2de",
+ "id": "3f3bbd1.7e11342",
"type": "block",
"name": "CUCP",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 788.7607955932617,
- "y": 1120.7605228424072,
- "z": "41b275ba.2c7b9c",
+ "x": 766.0107955932617,
+ "y": 1332.010549545288,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "17465921.32a817",
- "ae576dda.af8e8"
+ "2fea2c93.dfb1f4",
+ "dbb4f36c.b8699"
]
]
},
{
- "id": "d8a7241.032a8d8",
+ "id": "7d8dd5a0.3b5d8c",
"type": "execute",
"name": "Update slice profile for nearRTRIC",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.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=\"nearRTRIC-slice-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": 1432.6495742797852,
- "y": 382.7604637145996,
- "z": "41b275ba.2c7b9c",
+ "x": 1409.8995742797852,
+ "y": 594.0104904174805,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "b8083d5d.c3c33",
- "4a9891fe.ea6f8"
+ "9b65c7ca.9bc778",
+ "7efebb30.aeb5a4"
]
]
},
{
- "id": "b8083d5d.c3c33",
+ "id": "9b65c7ca.9bc778",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1718.6499099731445,
- "y": 323.74999618530273,
- "z": "41b275ba.2c7b9c",
+ "x": 1695.8999099731445,
+ "y": 535.0000228881836,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "f90d5817.420e78"
+ "fca5fd5.92d99"
]
]
},
{
- "id": "4a9891fe.ea6f8",
+ "id": "7efebb30.aeb5a4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1711.649974822998,
- "y": 383.74990463256836,
- "z": "41b275ba.2c7b9c",
+ "x": 1688.899974822998,
+ "y": 594.9999313354492,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "7dfa359d.6150cc"
+ "f5654308.add9a"
]
]
},
{
- "id": "f90d5817.420e78",
+ "id": "fca5fd5.92d99",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1901.6500053405762,
- "y": 366.75000381469727,
- "z": "41b275ba.2c7b9c",
+ "x": 1878.9000053405762,
+ "y": 578.0000305175781,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "ce80374b.206188",
- "523df8ee.f162a8",
- "ae45840d.79a808"
+ "11f0df18.24a201",
+ "91490e28.0dc3d",
+ "d1283c41.99619"
]
]
},
{
- "id": "7dfa359d.6150cc",
+ "id": "f5654308.add9a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1893.6496391296387,
- "y": 412.7499656677246,
- "z": "41b275ba.2c7b9c",
+ "x": 1870.8996391296387,
+ "y": 623.9999923706055,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "61c625fb.9581fc",
- "12fc8842.fb9cd8"
+ "41fbed83.42fda4",
+ "247937ea.72fec8"
]
]
},
{
- "id": "fce8baf0.424178",
+ "id": "88cbaae5.40caf8",
"type": "block",
"name": "Update SiceProfile for NeaeRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1029.7500915527344,
- "y": 367.4947757720947,
- "z": "41b275ba.2c7b9c",
+ "x": 987.0001373291016,
+ "y": 550.7448205947876,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "d2185b6.e0a24a8",
- "770f9d.e82ae064",
- "dbcf9eb5.ded33",
- "d8a7241.032a8d8"
+ "8cb625f2.86f998",
+ "fe2f497.eb2b4b8",
+ "6acaf02f.5d837",
+ "7d8dd5a0.3b5d8c"
]
]
},
{
- "id": "dbcf9eb5.ded33",
+ "id": "6acaf02f.5d837",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1381.750394821167,
- "y": 258.1510200202465,
- "z": "41b275ba.2c7b9c",
+ "x": 1359.000394821167,
+ "y": 469.40104672312737,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "19a3387d.ee7bf8",
- "d7a0002b.c1efa"
+ "3ec26dba.47ca62",
+ "7a5d3c5d.30ba44"
]
]
},
{
- "id": "19a3387d.ee7bf8",
+ "id": "3ec26dba.47ca62",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1544.7503185272217,
- "y": 190.15080973505974,
- "z": "41b275ba.2c7b9c",
+ "x": 1522.0003185272217,
+ "y": 401.4008364379406,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "4b4a5d78.937374"
+ "2a9c54e2.6c30dc"
]
]
},
{
- "id": "d7a0002b.c1efa",
+ "id": "7a5d3c5d.30ba44",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1556.7504386901855,
- "y": 267.1509132385254,
- "z": "41b275ba.2c7b9c",
+ "x": 1534.0004386901855,
+ "y": 478.40093994140625,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "92f66eb2.37642"
+ "1964a4b6.5a25cb"
]
]
},
{
- "id": "770f9d.e82ae064",
+ "id": "fe2f497.eb2b4b8",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Patch SliceProfile ToNearRTRIC url for closed loop:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 1358.7506523132324,
- "y": 293.4949840269983,
- "z": "41b275ba.2c7b9c",
+ "x": 1336.0006523132324,
+ "y": 504.74501072987914,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "d2185b6.e0a24a8",
+ "id": "8cb625f2.86f998",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PATCH SliceProfile ToNearRTRIC - closed loop\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field4\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field6\" value=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1359.751293182373,
- "y": 338.4843406677246,
- "z": "41b275ba.2c7b9c",
+ "x": 1337.001293182373,
+ "y": 549.7343673706055,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "bc636d62.af605",
+ "id": "7845fff6.aa983",
"type": "execute",
"name": "Populate MOUNT NAME",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1973.2853164672852,
- "y": 317.7500343322754,
- "z": "41b275ba.2c7b9c",
+ "x": 1951.535400390625,
+ "y": 536.0000562667847,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "76704b8e.ef8754",
+ "id": "3b98bf9f.9aa73",
"type": "execute",
"name": "Populate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2043.8199310302734,
- "y": 273.3490562438965,
- "z": "41b275ba.2c7b9c",
+ "x": 2013.0699768066406,
+ "y": 498.5990791320801,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "92f66eb2.37642",
+ "id": "1964a4b6.5a25cb",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1739.7400932312012,
- "y": 273.1508979797363,
- "z": "41b275ba.2c7b9c",
+ "x": 1716.9900932312012,
+ "y": 484.4009246826172,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "eb981a1e.510268",
- "76704b8e.ef8754",
- "bc636d62.af605"
+ "5f1a90fc.6e1ac",
+ "3b98bf9f.9aa73",
+ "7845fff6.aa983"
]
]
},
{
- "id": "eb981a1e.510268",
+ "id": "5f1a90fc.6e1ac",
"type": "execute",
"name": "generate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2035.2847747802734,
- "y": 228.75024461746216,
- "z": "41b275ba.2c7b9c",
+ "x": 2010.5348205566406,
+ "y": 460.00029945373535,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "88f363e3.b1642",
+ "id": "fe7c8370.06aba",
"type": "execute",
"name": "Populate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2006.285140991211,
- "y": 173.75013732910156,
- "z": "41b275ba.2c7b9c",
+ "x": 1991.5350799560547,
+ "y": 414.0001525878906,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "78561837.024a98",
+ "id": "a42b9c0a.f7927",
"type": "execute",
"name": "generate addSliceProfile.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2001.7503662109375,
- "y": 124.1511402130127,
- "z": "41b275ba.2c7b9c",
+ "x": 1993.0003204345703,
+ "y": 373.4011516571045,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "4b4a5d78.937374",
+ "id": "2a9c54e2.6c30dc",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1703.9518432617188,
- "y": 196.75000473856926,
- "z": "41b275ba.2c7b9c",
+ "x": 1681.2018432617188,
+ "y": 408.0000314414501,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "78561837.024a98",
- "88f363e3.b1642"
+ "a42b9c0a.f7927",
+ "fe7c8370.06aba"
]
]
},
{
- "id": "78a62e97.fc3e6",
+ "id": "9a141229.ad271",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.numberUpdates' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>",
"comments": "",
- "x": 1025.7539825439453,
- "y": 143.75392055511475,
- "z": "41b275ba.2c7b9c",
+ "x": 968.0039901733398,
+ "y": 309.0039358139038,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "9a098154.31cd3",
+ "id": "91dcd74.2289e28",
"type": "for",
"name": "For Number of patches",
"xml": "<for index='id1' start='0' end=\"`$tmp.payload.numberUpdates`\" >",
"comments": "",
"outputs": 1,
- "x": 1006.7539215087891,
- "y": 266.75392055511475,
- "z": "41b275ba.2c7b9c",
+ "x": 993.0039443969727,
+ "y": 445.00394916534424,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "fce8baf0.424178",
- "eb9c0d48.d1f73",
- "541dc3de.9a8d5c",
- "ae576dda.af8e8"
+ "88cbaae5.40caf8",
+ "93761601.6b8b98",
+ "20e101f5.0cb9be",
+ "dbb4f36c.b8699",
+ "6be4f0df.7a03f",
+ "23e2530f.989e4c"
]
]
},
{
- "id": "eb9c0d48.d1f73",
+ "id": "93761601.6b8b98",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name=\"tmp.dLThptPerSlice\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].dLThptPerSlice`\"/>\n<parameter name=\"tmp.uLThptPerSlice\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].uLThptPerSlice`\"/>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].nearRTRICId`\"/>",
"comments": "",
- "x": 1205.2049827575684,
- "y": 187.76043224334717,
- "z": "41b275ba.2c7b9c",
+ "x": 1133.4550704956055,
+ "y": 82.0104866027832,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "ce80374b.206188",
+ "id": "11f0df18.24a201",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Patching slice profile parms for close loop. Exiting close loop operation'/>",
"comments": "",
- "x": 2087.204933166504,
- "y": 367.76042556762695,
- "z": "41b275ba.2c7b9c",
+ "x": 2064.454933166504,
+ "y": 579.0104522705078,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "523df8ee.f162a8",
+ "id": "91490e28.0dc3d",
"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 Patching slice profile parms for close loop. Exiting close loop operation'/>",
"comments": "",
- "x": 2097.204719543457,
- "y": 406.64941024780273,
- "z": "41b275ba.2c7b9c",
+ "x": 2074.454719543457,
+ "y": 617.8994369506836,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "61c625fb.9581fc",
+ "id": "41fbed83.42fda4",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully PATCHED NearRTRIC for close loop operation\"/>",
"comments": "",
"outputs": 1,
- "x": 2085.20463180542,
- "y": 443.6493797302246,
- "z": "41b275ba.2c7b9c",
+ "x": 2062.45463180542,
+ "y": 654.8994064331055,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "12fc8842.fb9cd8",
+ "id": "247937ea.72fec8",
"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/ranSlice-closedloop-nearRTRIC-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2103.983039855957,
- "y": 479.64941787719727,
- "z": "41b275ba.2c7b9c",
+ "x": 2081.233039855957,
+ "y": 690.8994445800781,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "959e65cd.b44568",
+ "id": "4214e64f.ea08e8",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>\n<parameter name=\"tmp.payload.sNSSAI\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.snssai`\"/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
"comments": "",
- "x": 845.8720245361328,
- "y": 1017.649528503418,
- "z": "41b275ba.2c7b9c",
+ "x": 819.1220359802246,
+ "y": 1230.8995056152344,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "17465921.32a817",
+ "id": "2fea2c93.dfb1f4",
"type": "for",
"name": "For Number of data Points",
"xml": "<for index='id-is' start='0' end=\"`$tmp.payload.dataPoints`\" >",
"comments": "",
"outputs": 1,
- "x": 1020.8715896606445,
- "y": 1110.6494541168213,
- "z": "41b275ba.2c7b9c",
+ "x": 998.1215896606445,
+ "y": 1321.8994808197021,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "9eba8bf5.891798"
+ "66f7c548.c1aa4c"
]
]
},
{
- "id": "ae576dda.af8e8",
+ "id": "dbb4f36c.b8699",
"type": "block",
"name": "get PLMNId",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 994.5,
- "y": 533.4999732971191,
- "z": "41b275ba.2c7b9c",
+ "x": 971.75,
+ "y": 744.75,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "435a2113.3763c",
- "19f6c5ea.de089a",
- "2845ab1.4ea1d54",
- "b0fa965b.fc2408",
- "906ffb7e.ea7f58",
- "21c42803.80e668",
- "9fa80d0a.1597c"
+ "5ef58355.f757dc",
+ "d00948aa.c0eaf8",
+ "a5409457.d2f128",
+ "884ce51b.ce4668",
+ "62268a2f.7cb224",
+ "85de8030.757e7"
]
]
},
{
- "id": "435a2113.3763c",
+ "id": "5ef58355.f757dc",
"type": "execute",
"name": "get PLMNId URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1259.4999923706055,
- "y": 423.49996757507324,
- "z": "41b275ba.2c7b9c",
+ "x": 1236.7499923706055,
+ "y": 634.7499942779541,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "19f6c5ea.de089a",
+ "id": "d00948aa.c0eaf8",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1233.0001182556152,
- "y": 471.5000057220459,
- "z": "41b275ba.2c7b9c",
+ "x": 1210.2501182556152,
+ "y": 682.7500324249268,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "2845ab1.4ea1d54",
+ "id": "a5409457.d2f128",
"type": "execute",
"name": "Get PLMN from Sliceprofile id",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-CL-configdb-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": 1300.7499923706055,
- "y": 509.49995517730713,
- "z": "41b275ba.2c7b9c",
+ "x": 1277.9999923706055,
+ "y": 720.749981880188,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "ce701174.19d3d",
- "b7a70ed7.29f81"
+ "d5773990.e3aaa8",
+ "13e6449e.a7872b"
]
]
},
{
- "id": "9fa80d0a.1597c",
+ "id": "62268a2f.7cb224",
"type": "set",
"name": "set PLMNId",
"xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/>",
"comments": "",
- "x": 1257.9375228881836,
- "y": 550.1875219345093,
- "z": "41b275ba.2c7b9c",
+ "x": 1235.1875228881836,
+ "y": 761.4375486373901,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "b0fa965b.fc2408",
+ "id": "9080ecb0.3ca2",
"type": "execute",
"name": "find MCC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
"comments": "",
"outputs": 1,
- "x": 1241.7499923706055,
- "y": 589.7500879764557,
- "z": "41b275ba.2c7b9c",
+ "x": 1636.0000343322754,
+ "y": 814.000096321106,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "906ffb7e.ea7f58",
+ "id": "956742cf.ed533",
"type": "execute",
"name": "find MNC",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
"comments": "",
"outputs": 1,
- "x": 1245.5000686645508,
- "y": 626.9999208450317,
- "z": "41b275ba.2c7b9c",
+ "x": 1646.7502136230469,
+ "y": 848.2499742507935,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "21c42803.80e668",
+ "id": "884ce51b.ce4668",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1246.2435455322266,
- "y": 668.993444442749,
- "z": "41b275ba.2c7b9c",
+ "x": 1223.4935455322266,
+ "y": 880.2434711456299,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "ce701174.19d3d",
+ "id": "d5773990.e3aaa8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1538.2499923706055,
- "y": 514.7499675750732,
- "z": "41b275ba.2c7b9c",
+ "x": 1515.4999923706055,
+ "y": 725.9999942779541,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "7b8bb405.3da30c"
+ "a7c220c2.febae"
]
]
},
{
- "id": "b7a70ed7.29f81",
+ "id": "13e6449e.a7872b",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1536.8127365112305,
- "y": 564.3124666213989,
- "z": "41b275ba.2c7b9c",
+ "x": 1514.0627365112305,
+ "y": 775.5624933242798,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "c038c418.67f8b8"
+ "ab32b7e.2377048"
]
]
},
{
- "id": "7b8bb405.3da30c",
+ "id": "a7c220c2.febae",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1711.2497940063477,
- "y": 503.7500400543213,
- "z": "41b275ba.2c7b9c",
+ "x": 1688.4997940063477,
+ "y": 715.0000667572021,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "73158791.da3f38",
- "fd53989c.ffb198"
+ "e4225292.c1fcd",
+ "f3d39c4.493176"
]
]
},
{
- "id": "c038c418.67f8b8",
+ "id": "ab32b7e.2377048",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1697.812599182129,
- "y": 542.3123931884766,
- "z": "41b275ba.2c7b9c",
+ "x": 1675.062599182129,
+ "y": 753.5624198913574,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "f15a8c8f.80b76",
- "4bb0478c.a08ee8",
- "ae45840d.79a808"
+ "11f1d7ac.840228",
+ "cb067640.67cab8",
+ "d1283c41.99619"
]
]
},
{
- "id": "73158791.da3f38",
+ "id": "e4225292.c1fcd",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained PLMNId info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getPLMN-CL-configdb-response`\"/>",
"comments": "",
"outputs": 1,
- "x": 1911.9995231628418,
- "y": 503.5000648498535,
- "z": "41b275ba.2c7b9c",
+ "x": 1889.2495231628418,
+ "y": 714.7500915527344,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "fd53989c.ffb198",
+ "id": "f3d39c4.493176",
"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/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1947.7777366638184,
- "y": 546.7500734329224,
- "z": "41b275ba.2c7b9c",
+ "x": 1925.0277366638184,
+ "y": 758.0001001358032,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "4bb0478c.a08ee8",
+ "id": "cb067640.67cab8",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1942.8129501342773,
- "y": 579.4234933853149,
- "z": "41b275ba.2c7b9c",
+ "x": 1920.0629501342773,
+ "y": 790.6735200881958,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "f15a8c8f.80b76",
+ "id": "11f1d7ac.840228",
"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 Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1942.812644958496,
- "y": 615.3124780654907,
- "z": "41b275ba.2c7b9c",
+ "x": 1920.062644958496,
+ "y": 826.5625047683716,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "541dc3de.9a8d5c",
+ "id": "20e101f5.0cb9be",
"type": "block",
"name": "Update NearRTRIC Config",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 755.25,
- "y": 730.2499732971191,
- "z": "41b275ba.2c7b9c",
+ "x": 732.5,
+ "y": 941.5,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "5da441f2.6913e",
- "1188042b.5b07dc",
- "a5c40637.63dca8",
- "df970bea.e18718",
- "25b4c7f7.476548"
+ "e95ee7f.fbab518",
+ "4f5fd171.1d335",
+ "159f5b5b.875f65",
+ "980e81c9.86c58",
+ "634c2bb2.ec0d74"
]
]
},
{
- "id": "5da441f2.6913e",
+ "id": "e95ee7f.fbab518",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 994.0000381469727,
- "y": 650.7500114440918,
- "z": "41b275ba.2c7b9c",
+ "x": 971.2500381469727,
+ "y": 862.0000381469727,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "57f5bebd.407af",
- "f50035fe.ae9ed8"
+ "2f5ac403.2d1e9c",
+ "2fbda47.66c5c5c"
]
]
},
{
- "id": "57f5bebd.407af",
+ "id": "2f5ac403.2d1e9c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1214.9999237060547,
- "y": 707.7497630119324,
- "z": "41b275ba.2c7b9c",
+ "x": 1192.2499237060547,
+ "y": 918.9997897148132,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "79f08456.9d755c"
+ "43466c61.a943c4"
]
]
},
{
- "id": "f50035fe.ae9ed8",
+ "id": "2fbda47.66c5c5c",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1209.0000038146973,
- "y": 744.7499017715454,
- "z": "41b275ba.2c7b9c",
+ "x": 1186.2500038146973,
+ "y": 955.9999284744263,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "a7fb2a0a.75e4e8"
+ "71cbcab9.63b884"
]
]
},
{
- "id": "a7fb2a0a.75e4e8",
+ "id": "71cbcab9.63b884",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1385.9898414611816,
- "y": 755.7498874664307,
- "z": "41b275ba.2c7b9c",
+ "x": 1363.2398414611816,
+ "y": 966.9999141693115,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "ab76ccc8.dde52",
- "afc88d65.49d28"
+ "e74a5c.4a6525a8",
+ "f78ea932.e2f698"
]
]
},
{
- "id": "79f08456.9d755c",
+ "id": "43466c61.a943c4",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1374.2014484405518,
- "y": 714.3489580154419,
- "z": "41b275ba.2c7b9c",
+ "x": 1351.4514484405518,
+ "y": 925.5989847183228,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "b6c282d1.dbc4a"
+ "6e0496b9.a44dc8"
]
]
},
{
- "id": "b6c282d1.dbc4a",
+ "id": "6e0496b9.a44dc8",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1655.999984741211,
- "y": 704.7500991821289,
- "z": "41b275ba.2c7b9c",
+ "x": 1633.249984741211,
+ "y": 916.0001258850098,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "ab76ccc8.dde52",
+ "id": "e74a5c.4a6525a8",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1705.5343799591064,
- "y": 746.3491978943348,
- "z": "41b275ba.2c7b9c",
+ "x": 1682.7843799591064,
+ "y": 957.5992245972157,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "afc88d65.49d28",
+ "id": "f78ea932.e2f698",
"type": "execute",
"name": "Populate MOUNT NAME",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1648.534896850586,
- "y": 791.3489608764648,
- "z": "41b275ba.2c7b9c",
+ "x": 1625.784896850586,
+ "y": 1002.5989875793457,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "1188042b.5b07dc",
+ "id": "4f5fd171.1d335",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 990.2500801086426,
- "y": 693.2500720024109,
- "z": "41b275ba.2c7b9c",
+ "x": 967.5000801086426,
+ "y": 904.5000987052917,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "a5c40637.63dca8",
+ "id": "159f5b5b.875f65",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 991.7500534057617,
- "y": 733.2500114440918,
- "z": "41b275ba.2c7b9c",
+ "x": 969.0000534057617,
+ "y": 944.5000381469727,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "4e890bf6.3c1eb4",
+ "id": "c9d62926.6346a8",
"type": "execute",
"name": "prepare sNssai",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 994.7500534057617,
- "y": 773.2499647140503,
- "z": "41b275ba.2c7b9c",
+ "x": 972.0000534057617,
+ "y": 984.4999914169312,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "41670755.139738",
+ "id": "b70672d6.e7d7",
"type": "execute",
"name": "prepare uLThptPerSlice",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{configParameter}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.uLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 997.0000381469727,
- "y": 817.250054359436,
- "z": "41b275ba.2c7b9c",
+ "x": 974.2500381469727,
+ "y": 1028.500081062317,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "6b9096c9.91aa78",
+ "id": "cb87a76a.e40008",
"type": "execute",
"name": "prepare dLThptPerSlice",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{configParameter}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 990.2500534057617,
- "y": 858.0000238418579,
- "z": "41b275ba.2c7b9c",
+ "x": 967.5000534057617,
+ "y": 1069.2500505447388,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "df970bea.e18718",
+ "id": "980e81c9.86c58",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Closed loop API params\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 943.4999885559082,
- "y": 893.499979019165,
- "z": "41b275ba.2c7b9c",
+ "x": 920.7499885559082,
+ "y": 1104.750005722046,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "a63b17d.be891e8",
+ "id": "254226ee.71112a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1231.0000495910645,
- "y": 942.0000343322754,
- "z": "41b275ba.2c7b9c",
+ "x": 1208.2500495910645,
+ "y": 1153.2500610351562,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "62804df9.566e44"
+ "22771b61.2cda14"
]
]
},
{
- "id": "94bfc483.016a08",
+ "id": "b712dc15.05385",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1229.5627937316895,
- "y": 991.5625333786011,
- "z": "41b275ba.2c7b9c",
+ "x": 1206.8127937316895,
+ "y": 1202.812560081482,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "692f073e.b8bb78"
+ "4fea49bd.fe2388"
]
]
},
{
- "id": "62804df9.566e44",
+ "id": "22771b61.2cda14",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1399.9998016357422,
- "y": 936.0000581741333,
- "z": "41b275ba.2c7b9c",
+ "x": 1377.2498016357422,
+ "y": 1147.2500848770142,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "941eaf3f.cfa1b"
+ "d903f820.f444e8"
]
]
},
{
- "id": "692f073e.b8bb78",
+ "id": "4fea49bd.fe2388",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1390.562656402588,
- "y": 969.5624599456787,
- "z": "41b275ba.2c7b9c",
+ "x": 1367.812656402588,
+ "y": 1180.8124866485596,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "a0691c95.99967",
- "7eeb3908.36f438",
- "ae45840d.79a808"
+ "6b0dcac7.653f04",
+ "d166108f.4e6e9",
+ "d1283c41.99619"
]
]
},
{
- "id": "941eaf3f.cfa1b",
+ "id": "d903f820.f444e8",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched NearRTRIC configuration\"/>",
"comments": "",
"outputs": 1,
- "x": 1611.7496070861816,
- "y": 858.7501459121704,
- "z": "41b275ba.2c7b9c",
+ "x": 1588.9996070861816,
+ "y": 1070.0001726150513,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "7eeb3908.36f438",
+ "id": "d166108f.4e6e9",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1616.5632057189941,
- "y": 914.6734857559204,
- "z": "41b275ba.2c7b9c",
+ "x": 1593.8132057189941,
+ "y": 1125.9235124588013,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "a0691c95.99967",
+ "id": "6b0dcac7.653f04",
"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 Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1577.5627212524414,
- "y": 965.5624780654907,
- "z": "41b275ba.2c7b9c",
+ "x": 1554.8127212524414,
+ "y": 1176.8125047683716,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "25b4c7f7.476548",
+ "id": "634c2bb2.ec0d74",
"type": "execute",
"name": "patch NearRTRIC - config",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.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=\"patch-nearRTRIC-config-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 998.5000495910645,
- "y": 940.7500219345093,
- "z": "41b275ba.2c7b9c",
+ "x": 975.7500495910645,
+ "y": 1152.0000486373901,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "a63b17d.be891e8",
- "94bfc483.016a08"
+ "254226ee.71112a",
+ "b712dc15.05385"
]
]
},
{
- "id": "c4de5282.42b7b",
+ "id": "df7bf9ae.94bdc8",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
"comments": "",
- "x": 419.4375,
- "y": 1310.3749732971191,
- "z": "41b275ba.2c7b9c",
+ "x": 396.6875,
+ "y": 1521.625,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "313715a1.8aa98a",
+ "id": "21948f3c.24718",
"type": "execute",
"name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
"comments": "",
"outputs": 1,
- "x": 256.9375,
- "y": 1554.1249732971191,
- "z": "41b275ba.2c7b9c",
+ "x": 234.1875,
+ "y": 1765.375,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "5fd9ecbd.29ab64",
- "2189ac26.c30d74"
+ "939ba489.ed0548",
+ "b4c4757.1343e88"
]
]
},
{
- "id": "df492683.e9e418",
+ "id": "56983d51.97d134",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1634.5000648498535,
- "y": 1060.7500076293945,
- "z": "41b275ba.2c7b9c",
+ "x": 1611.7500648498535,
+ "y": 1272.0000343322754,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "9607b3d.d3ab35"
+ "347c901c.f57fc"
]
]
},
{
- "id": "f20445ef.934978",
+ "id": "8fd887f2.184388",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1628.500144958496,
- "y": 1097.7501463890076,
- "z": "41b275ba.2c7b9c",
+ "x": 1605.750144958496,
+ "y": 1309.0001730918884,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "650af091.29ffd"
+ "b5b0f4da.2a94f8"
]
]
},
{
- "id": "650af091.29ffd",
+ "id": "b5b0f4da.2a94f8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1805.4899826049805,
- "y": 1108.7501320838928,
- "z": "41b275ba.2c7b9c",
+ "x": 1782.7399826049805,
+ "y": 1320.0001587867737,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "cebcb9c5.b643f8",
- "36e20bbb.4a4404"
+ "de39e99d.91e718",
+ "d8dbdef.850312"
]
]
},
{
- "id": "9607b3d.d3ab35",
+ "id": "347c901c.f57fc",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1793.7015895843506,
- "y": 1067.349202632904,
- "z": "41b275ba.2c7b9c",
+ "x": 1770.9515895843506,
+ "y": 1278.599229335785,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "251e5493.c4b3bc"
+ "24fd614b.3d8d5e"
]
]
},
{
- "id": "251e5493.c4b3bc",
+ "id": "24fd614b.3d8d5e",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2075.5001258850098,
- "y": 1057.750343799591,
- "z": "41b275ba.2c7b9c",
+ "x": 2052.7501258850098,
+ "y": 1269.000370502472,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "cebcb9c5.b643f8",
+ "id": "de39e99d.91e718",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2125.0345211029053,
- "y": 1099.349442511797,
- "z": "41b275ba.2c7b9c",
+ "x": 2102.2845211029053,
+ "y": 1310.5994692146778,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "36e20bbb.4a4404",
+ "id": "d8dbdef.850312",
"type": "execute",
"name": "Populate MOUNT NAME",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2068.0350379943848,
- "y": 1144.349205493927,
- "z": "41b275ba.2c7b9c",
+ "x": 2045.2850379943848,
+ "y": 1355.5992321968079,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "7f184b0f.0df254",
+ "id": "fcb5f85e.06d5e8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1444.500129699707,
- "y": 1053.750005722046,
- "z": "41b275ba.2c7b9c",
+ "x": 1421.750129699707,
+ "y": 1265.0000324249268,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "df492683.e9e418",
- "f20445ef.934978"
+ "56983d51.97d134",
+ "8fd887f2.184388"
]
]
},
{
- "id": "23402ed6.5154d2",
+ "id": "4520cb68.eccc24",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1439.5000648498535,
- "y": 1125.7500076293945,
- "z": "41b275ba.2c7b9c",
+ "x": 1416.7500648498535,
+ "y": 1337.0000343322754,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "47697e37.1b021",
+ "id": "87c33e7d.24dfe",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1441.0000381469727,
- "y": 1165.7499470710754,
- "z": "41b275ba.2c7b9c",
+ "x": 1418.2500381469727,
+ "y": 1376.9999737739563,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "9eba8bf5.891798",
+ "id": "66f7c548.c1aa4c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1245.5000228881836,
- "y": 1104.750039100647,
- "z": "41b275ba.2c7b9c",
+ "x": 1222.7500228881836,
+ "y": 1316.0000658035278,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "7f184b0f.0df254",
- "23402ed6.5154d2",
- "47697e37.1b021",
- "d7f4a3c5.d4b32",
- "86761b21.52dd98",
- "51f39f3f.e121a",
- "eb254fd0.29137"
+ "fcb5f85e.06d5e8",
+ "4520cb68.eccc24",
+ "87c33e7d.24dfe",
+ "cf7a5e5c.ce317",
+ "66572c39.8a7984",
+ "60ab8f2.13c9e7",
+ "deb76f28.753e4"
]
]
},
{
- "id": "d7f4a3c5.d4b32",
+ "id": "cf7a5e5c.ce317",
"type": "for",
"name": "For Number of cells",
"xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
"comments": "",
"outputs": 1,
- "x": 1454.7501907348633,
- "y": 1269.75004196167,
- "z": "41b275ba.2c7b9c",
+ "x": 1432.0001907348633,
+ "y": 1481.0000686645508,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "3e2dcdf0.350682"
+ "7bfb4094.f7823"
]
]
},
{
- "id": "592dd030.210ee",
+ "id": "feb8b8ae.6c35d8",
"type": "execute",
"name": "cellLocalId",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1865.5000457763672,
- "y": 1238.7500610351562,
- "z": "41b275ba.2c7b9c",
+ "x": 1855.250129699707,
+ "y": 1387.5003032684326,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "3e2dcdf0.350682",
+ "id": "7bfb4094.f7823",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1664.5,
- "y": 1266.75,
- "z": "41b275ba.2c7b9c",
+ "x": 1641.75,
+ "y": 1478.0000267028809,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "592dd030.210ee",
- "563fc063.299c9",
- "94a5d1f9.db2b",
- "52dccd0b.5f68b4"
+ "feb8b8ae.6c35d8",
+ "92007a2e.f580d8",
+ "974e7c2.15de58",
+ "4c94085a.46c568",
+ "9a531568.d94688"
]
]
},
{
- "id": "563fc063.299c9",
+ "id": "92007a2e.f580d8",
"type": "execute",
"name": "predictedMaxNumberofConns",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.predictedMaxNumberofConns' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].configData.predictedMaxNumberofConns'`\" />",
"comments": "",
"outputs": 1,
- "x": 1922.2500457763672,
- "y": 1273.7501058578491,
- "z": "41b275ba.2c7b9c",
+ "x": 1899.5000076293945,
+ "y": 1517.500150680542,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "94a5d1f9.db2b",
+ "id": "974e7c2.15de58",
"type": "execute",
"name": "patch NearRTRIC - config",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.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=\"patch-nearRTRIC-config-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 1913,
- "y": 1380.75,
- "z": "41b275ba.2c7b9c",
+ "x": 1890.25,
+ "y": 1592.0000267028809,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "e6217049.8fe",
- "103ace8.0d64a32"
+ "bdb3704d.d18cc",
+ "8f20da78.3f0e88"
]
]
},
{
- "id": "e6217049.8fe",
+ "id": "bdb3704d.d18cc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2145.5,
- "y": 1382.000012397766,
- "z": "41b275ba.2c7b9c",
+ "x": 2122.75,
+ "y": 1593.250039100647,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "649e12ec.2e907c"
+ "361b3ab0.fd1d76"
]
]
},
{
- "id": "103ace8.0d64a32",
+ "id": "8f20da78.3f0e88",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2144.062744140625,
- "y": 1431.5625114440918,
- "z": "41b275ba.2c7b9c",
+ "x": 2121.312744140625,
+ "y": 1642.8125381469727,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "105421ef.dcc97e"
+ "e1224ba7.82cf98"
]
]
},
{
- "id": "105421ef.dcc97e",
+ "id": "e1224ba7.82cf98",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2305.0626068115234,
- "y": 1409.5624380111694,
- "z": "41b275ba.2c7b9c",
+ "x": 2282.3126068115234,
+ "y": 1620.8124647140503,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "36e0cf0.449d132",
- "b81dc1c0.23bac",
- "ae45840d.79a808"
+ "a32438e8.972098",
+ "9b7c4a1c.ea8998",
+ "d1283c41.99619"
]
]
},
{
- "id": "649e12ec.2e907c",
+ "id": "361b3ab0.fd1d76",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2314.4997520446777,
- "y": 1376.000036239624,
- "z": "41b275ba.2c7b9c",
+ "x": 2291.7497520446777,
+ "y": 1587.2500629425049,
+ "z": "5f252e33.a33cf",
"wires": [
[
- "c25430f2.8cec3"
+ "62fe38b5.e9ae58"
]
]
},
{
- "id": "36e0cf0.449d132",
+ "id": "a32438e8.972098",
"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 Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2492.062671661377,
- "y": 1405.5624561309814,
- "z": "41b275ba.2c7b9c",
+ "x": 2469.312671661377,
+ "y": 1616.8124828338623,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "b81dc1c0.23bac",
+ "id": "9b7c4a1c.ea8998",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 2531.0631561279297,
- "y": 1354.6734638214111,
- "z": "41b275ba.2c7b9c",
+ "x": 2508.3131561279297,
+ "y": 1565.923490524292,
+ "z": "5f252e33.a33cf",
"wires": []
},
{
- "id": "c25430f2.8cec3",
+ "id": "62fe38b5.e9ae58",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched NearRTRIC configuration\"/>",
"comments": "",
"outputs": 1,
- "x": 2526.249557495117,
- "y": 1298.7501239776611,
- "z": "41b275ba.2c7b9c",
+ "x": 2503.499557495117,
+ "y": 1510.000150680542,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "5e06d049.40315",
+ "id": "18d141c3.8dce1e",
"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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Data length \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.dataPoints`\"/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 814.25,
- "y": 1074.75,
- "z": "41b275ba.2c7b9c",
+ "x": 791.5,
+ "y": 1286.0000267028809,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "86761b21.52dd98",
+ "id": "66572c39.8a7984",
"type": "execute",
"name": "CUCellListEntries",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCellListEntries' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList_length'`\" />\n\t",
"comments": "",
"outputs": 1,
- "x": 1455.7500076293945,
- "y": 1200.0000104904175,
- "z": "41b275ba.2c7b9c",
+ "x": 1433.0000076293945,
+ "y": 1411.2500371932983,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "51f39f3f.e121a",
+ "id": "60ab8f2.13c9e7",
"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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCEll List length \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCellListEntries`\"/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1435.75,
- "y": 1233,
- "z": "41b275ba.2c7b9c",
+ "x": 1413,
+ "y": 1444.2500267028809,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "52dccd0b.5f68b4",
+ "id": "4c94085a.46c568",
"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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1861,
- "y": 1327.25,
- "z": "41b275ba.2c7b9c",
+ "x": 1835.7502555847168,
+ "y": 1554.750060081482,
+ "z": "5f252e33.a33cf",
"wires": [
[]
]
},
{
- "id": "eb254fd0.29137",
+ "id": "deb76f28.753e4",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>",
"comments": "",
- "x": 1461.25,
- "y": 1009.25,
- "z": "41b275ba.2c7b9c",
+ "x": 1438.5,
+ "y": 1220.5000267028809,
+ "z": "5f252e33.a33cf",
+ "wires": []
+ },
+ {
+ "id": "85de8030.757e7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1231.5000457763672,
+ "y": 818.0000505447388,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "f51a44eb.c731e8",
+ "51aa2bd.e1a5ad4"
+ ]
+ ]
+ },
+ {
+ "id": "51aa2bd.e1a5ad4",
+ "type": "set",
+ "name": "set mcc & mnc Variables",
+ "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>",
+ "comments": "",
+ "x": 1443.2271423339844,
+ "y": 875.5577511787415,
+ "z": "5f252e33.a33cf",
+ "wires": []
+ },
+ {
+ "id": "f51a44eb.c731e8",
+ "type": "execute",
+ "name": "split pLMNId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"regex\" value=\"-\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1450.7724609375,
+ "y": 831.5123405456543,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "db708a57.04b7e8",
+ "type": "set",
+ "name": "append configParam",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`$tmp.cellLocalId`+'-maxNumberofConns'\" />",
+ "comments": "",
+ "x": 1881.3125076293945,
+ "y": 1481.6250591278076,
+ "z": "5f252e33.a33cf",
+ "wires": []
+ },
+ {
+ "id": "9a531568.d94688",
+ "type": "execute",
+ "name": "append configParam",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat'>\n <parameter name=\"source\" value=\"`$tmp.cellLocalId`\" />\n <parameter name=\"target\" value=\"-maxNumberofConns\"/>\n <parameter name=\"outputPath\" value=\"tmp.cellLocalId\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1857.2500457763672,
+ "y": 1434.7500591278076,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6be4f0df.7a03f",
+ "type": "switchNode",
+ "name": "check nearrtric",
+ "xml": "<switch test='`$tmp.nearRTRICId == 11 `'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1184.4000663757324,
+ "y": 230.00000381469727,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "54128a9a.4f7584",
+ "f4d2afe1.68c06"
+ ]
+ ]
+ },
+ {
+ "id": "54128a9a.4f7584",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1366.6002655029297,
+ "y": 70.00000762939453,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "aa8b60a2.54a63"
+ ]
+ ]
+ },
+ {
+ "id": "f4d2afe1.68c06",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1388.400047302246,
+ "y": 153.00000190734863,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "df472963.fe6828"
+ ]
+ ]
+ },
+ {
+ "id": "23e2530f.989e4c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1449.400047302246,
+ "y": 276.00000381469727,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "98bcc202.ade0d"
+ ]
+ ]
+ },
+ {
+ "id": "98bcc202.ade0d",
+ "type": "execute",
+ "name": "check policytype",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.policytype.url`\"/>\n<parameter name='format' value='json' />\n<parameter name='httpMethod' value='GET' />\n<parameter name='contentType' value='application/json' />\n<parameter name='responsePrefix' value='get-policytypes-responsse' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1735.0000534057617,
+ "y": 255.00000381469727,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "5deb8749.c984b8",
+ "678983bb.5d748c"
+ ]
+ ]
+ },
+ {
+ "id": "5deb8749.c984b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1950.0002708435059,
+ "y": 126.00000381469727,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "cfcb9c15.69ac2"
+ ]
+ ]
+ },
+ {
+ "id": "cfcb9c15.69ac2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2167.000274658203,
+ "y": 123.56728744506836,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "75203dce.8bbf24",
+ "cbd82b5f.87c958",
+ "bd81af88.a24eb",
+ "5ee6252e.c7b4bc"
+ ]
+ ]
+ },
+ {
+ "id": "75203dce.8bbf24",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"policy types length \"/>\n<parameter name=\"field2\" value=\"`$tmp.policytypelength`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2466.0002784729004,
+ "y": 107.56728744506836,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "678983bb.5d748c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1931.0000038146973,
+ "y": 259.56736183166504,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "d6079989.8655c8"
+ ]
+ ]
+ },
+ {
+ "id": "d6079989.8655c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2077.999931335449,
+ "y": 257.56736183166504,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "b2765008.3daf3"
+ ]
+ ]
+ },
+ {
+ "id": "b2765008.3daf3",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"req error \"/>\n<parameter name=\"field2\" value=\"Failure\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2242.9999351501465,
+ "y": 256.56736183166504,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cbd82b5f.87c958",
+ "type": "execute",
+ "name": "getpolicylength",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.policytypelength' />\n\t<parameter name='source' value=\"`'get-policytypes-responsse._length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2456.6897354125977,
+ "y": 51.00000286102295,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd81af88.a24eb",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.policytypelength > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2473.0002822875977,
+ "y": 177.00000381469727,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "8aa087fa.67cfc8",
+ "d6c803c3.fb98"
+ ]
+ ]
+ },
+ {
+ "id": "8aa087fa.67cfc8",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2717.6001358032227,
+ "y": 140.00000286102295,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "13d06ca0.5dbcd3"
+ ]
+ ]
+ },
+ {
+ "id": "d6c803c3.fb98",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2761.60013961792,
+ "y": 205.00000381469727,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "3e9843f7.c203fc"
+ ]
+ ]
+ },
+ {
+ "id": "13d06ca0.5dbcd3",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2892.600143432617,
+ "y": 144.00000381469727,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "c95249c8.6b8dc8"
+ ]
+ ]
+ },
+ {
+ "id": "3e9843f7.c203fc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2944.6005325317383,
+ "y": 219.00000381469727,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "80313cf0.7668c",
+ "165a66bf.5c13a9"
+ ]
+ ]
+ },
+ {
+ "id": "c95249c8.6b8dc8",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"policy type already exists \"/>\n<parameter name=\"field2\" value=\"SUCCESSFULL\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3049.600143432617,
+ "y": 141.00000286102295,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "80313cf0.7668c",
+ "type": "execute",
+ "name": "create policytype",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/A1policytype.json'`\" />\n<parameter name=\"restapiUrl\" value=\"https://10.31.4.11:30226/events/A1-P\"/>\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": 3174.6005325317383,
+ "y": 254.00000381469727,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "79c7ffdf.e0157"
+ ]
+ ]
+ },
+ {
+ "id": "165a66bf.5c13a9",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"creating new policy \"/>\n<parameter name=\"field2\" value=\"SUCCESSFULL\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3157.400535583496,
+ "y": 195.00000381469727,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "79c7ffdf.e0157",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3372.411087036133,
+ "y": 250.200101852417,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "81ba09b0.b2c248"
+ ]
+ ]
+ },
+ {
+ "id": "2067e4a0.d42c6c",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Create policytype \"/>\n<parameter name=\"field2\" value=\"Succesfull\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3731.0001525878906,
+ "y": 256.00000381469727,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "81ba09b0.b2c248",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3548.0001525878906,
+ "y": 254.00000381469727,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "2067e4a0.d42c6c"
+ ]
+ ]
+ },
+ {
+ "id": "5ee6252e.c7b4bc",
+ "type": "execute",
+ "name": "create policyinstance ",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/A1policyinstance.json'`\" />\n<parameter name=\"restapiUrl\" value=\"https://10.31.4.11:30226/events/A1-P\"/>\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-res' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2518.2000427246094,
+ "y": 271.0000057220459,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "eaf200d7.f7196"
+ ]
+ ]
+ },
+ {
+ "id": "9185c060.6e10b",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Create policyinstance \"/>\n<parameter name=\"field2\" value=\"Succesfull\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3172.5998497009277,
+ "y": 308.0000057220459,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "108685c0.b9882a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2966.599655151367,
+ "y": 291.0000057220459,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "9185c060.6e10b"
+ ]
+ ]
+ },
+ {
+ "id": "eaf200d7.f7196",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2791.5994567871094,
+ "y": 283.1999568939209,
+ "z": "5f252e33.a33cf",
+ "wires": [
+ [
+ "108685c0.b9882a"
+ ]
+ ]
+ },
+ {
+ "id": "aa8b60a2.54a63",
+ "type": "set",
+ "name": "set Temp Variables",
+ "xml": "<set>\n<parameter name='tmp.policytype.url' value='`$prop.a1.policytype.url.nearrtric11`'/>\n<parameter name=\"tmp.policyinstance.url\" value=\"`$prop.a1.policyinstance.url.nearrtric11`\"/>\n",
+ "comments": "",
+ "x": 1549.800048828125,
+ "y": 63,
+ "z": "5f252e33.a33cf",
+ "wires": []
+ },
+ {
+ "id": "df472963.fe6828",
+ "type": "set",
+ "name": "set Temp Variables",
+ "xml": "<set>\n<parameter name='tmp.policytype.url' value='`$prop.a1.policytype.url.nearrtric22`'/>\n<parameter name=\"tmp.policyinstance.url\" value=\"`$prop.a1.policyinstance.url.nearrtric22`\"/>\n",
+ "comments": "",
+ "x": 1573.800048828125,
+ "y": 151.00000190734863,
+ "z": "5f252e33.a33cf",
+ "wires": []
+ },
+ {
+ "id": "51261cb1.441374",
+ "type": "comment",
+ "name": "A1-adaptor simulators",
+ "info": "Currently have configured to support 2 near-rt-ric simulators.\nNear-rt-ric simulators has to be run separately and corresponding ip can be configured in the properties file",
+ "comments": "",
+ "x": 798,
+ "y": 67,
+ "z": "5f252e33.a33cf",
"wires": []
}
]
\ No newline at end of file