- "x": 1863.6875,
- "y": 2157.249997138977,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "e5c03462.fa86e8",
- "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.payload.sliceProfileId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 669.9375,
- "y": 343.18749713897705,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "69c21735.b71928",
- "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/instantiateRANSliceModifyAllocate.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": 643.4375686645508,
- "y": 386.18753147125244,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "d2cc7abd.c97368",
- "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-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": 711.1875,
- "y": 429.18748474121094,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "5eb99eb9.515aa",
- "da8a8469.d36798"
- ]
- ]
- },
- {
- "id": "47dfc3fa.5c07bc",
- "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/instantiateRANSliceModifyAllocate.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": 656.6810531616211,
- "y": 588.6809740066528,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "db7c909d.0349f",
- "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": 652.1875,
- "y": 509.4376175403595,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "10c59f19.bc3e91",
- "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": 655.9375762939453,
- "y": 546.6874504089355,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "2b886fc1.3682c",
- "type": "block",
- "name": "get PLMNId",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 404.93750762939453,
- "y": 453.18750286102295,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "e5c03462.fa86e8",
- "69c21735.b71928",
- "d2cc7abd.c97368",
- "db7c909d.0349f",
- "10c59f19.bc3e91",
- "47dfc3fa.5c07bc",
- "2969fa25.1ec4a6"
- ]
- ]
- },
- {
- "id": "2969fa25.1ec4a6",
- "type": "set",
- "name": "set PLMNId",
- "xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-configdb-response.plmnId`'/>",
- "comments": "",
- "x": 668.375057220459,
- "y": 467.87500381469727,
- "z": "759e49d3.adb538",
- "wires": []
- },
- {
- "id": "5eb99eb9.515aa",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 948.6875,
- "y": 434.43749713897705,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "f9a6e91c.f3c608"
- ]
- ]
- },
- {
- "id": "f9a6e91c.f3c608",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1121.6873016357422,
- "y": 423.4375696182251,
- "z": "759e49d3.adb538",
- "wires": [
- [
- "a414c006.73b36",
- "c133b739.422de8"
- ]
- ]
- },
- {
- "id": "a414c006.73b36",
- "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/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained PLMNId info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getPLMN-configdb-response`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1322.4370307922363,
- "y": 423.1875944137573,
- "z": "759e49d3.adb538",
- "wires": [
- []
- ]
- },
- {
- "id": "c133b739.422de8",
- "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": 1358.215244293213,
- "y": 466.4376029968262,
- "z": "759e49d3.adb538",