diff options
author | Dan Timoney <dtimoney@att.com> | 2020-09-08 18:47:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-08 18:47:49 +0000 |
commit | 177eb8a67f89f76643ad357ca448d8e94e5b1d17 (patch) | |
tree | fec864c585c0779b4113f70e926cfa34c92263e6 | |
parent | 44e6e782aad6fab8360e654770804c9a67d85ae5 (diff) | |
parent | ab118e5eb61dff21de8516018c48d1eb9e0654de (diff) |
Merge "Platform Logic and DG's for RANSlice feature"
23 files changed, 6105 insertions, 0 deletions
diff --git a/platform-logic/pom.xml b/platform-logic/pom.xml index 34c33f8d..4d17bf20 100644 --- a/platform-logic/pom.xml +++ b/platform-logic/pom.xml @@ -24,6 +24,7 @@ <module>oofpcipoc-api</module> <module>a1Adapter-api</module> <module>cMNotify-api</module> + <module>ran-slice-api</module> <module>restapi-templates</module> <module>installer</module> </modules> diff --git a/platform-logic/ran-slice-api/pom.xml b/platform-logic/ran-slice-api/pom.xml new file mode 100644 index 00000000..fb55f0b3 --- /dev/null +++ b/platform-logic/ran-slice-api/pom.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.onap.ccsdk.distribution</groupId> + <artifactId>distribution-platform-logic</artifactId> + <version>1.0.1-SNAPSHOT</version> + </parent> + + <artifactId>platform-logic-ranSlice</artifactId> + <version>1.0.1-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>ccsdk-distribution :: platform-logic :: ${project.artifactId}</name> + <description>Contains platform-level service logic for responding to ORAN VES events</description> + + <build> + <plugins> + <plugin> + <artifactId>maven-resources-plugin</artifactId> + <version>2.6</version> + <executions> + <execution> + <id>copy-version</id> + <goals> + <goal>copy-resources</goal> + </goals><!-- here the phase you need --> + <phase>validate</phase> + <configuration> + <outputDirectory>../target/graphs/cMNotifyapi</outputDirectory> + <resources> + <resource> + <directory>src/main/xml</directory> + <includes> + <include>*.xml</include> + </includes> + <filtering>true</filtering> + </resource> + <resource> + <directory>src/main/resources</directory> + <includes> + <include>graph.versions</include> + </includes> + <filtering>true</filtering> + </resource> + </resources> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json new file mode 100644 index 00000000..fca7d12a --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json @@ -0,0 +1,586 @@ +[ + { + "id": "a5d25c75.df911", + "type": "method", + "name": "method", + "xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 128, + "y": 176.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "940794b0.9ca258" + ] + ] + }, + { + "id": "6b98a8.11e82758", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 131, + "y": 26.989585876464844, + "z": "f630c4e8.64d488", + "wires": [ + [ + "cc743ed3.cedd7" + ] + ] + }, + { + "id": "cc743ed3.cedd7", + "type": "service-logic", + "name": "ran-slice-api ${project.version}", + "module": "ran-slice-api", + "version": "${project.version}", + "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": 188.99998474121094, + "y": 87.98968124389648, + "z": "f630c4e8.64d488", + "wires": [ + [ + "a5d25c75.df911" + ] + ] + }, + { + "id": "940794b0.9ca258", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 150.48959732055664, + "y": 345.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "d32cd716.eb75f8", + "5a119db3.ce9b34" + ] + ] + }, + { + "id": "d32cd716.eb75f8", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n", + "comments": "", + "x": 247.0002670288086, + "y": 575.9897727966309, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "44cfb129.2991e", + "type": "comment", + "name": "activateRANSliceInstance", + "info": "", + "comments": "", + "x": 413, + "y": 20, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5a119db3.ce9b34", + "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/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>", + "comments": "", + "outputs": 1, + "x": 300.0002975463867, + "y": 155.01043319702148, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "f7ead8d5.6a76d8", + "type": "set", + "name": "set tmp variables for notif input parms", + "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "x": 770.0010986328125, + "y": 210.88906478881836, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "6e214788.4686f8", + "type": "execute", + "name": "execute Properties", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-CMNotify-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", + "comments": "", + "outputs": 1, + "x": 495.00018310546875, + "y": 176.01041793823242, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "df08b48d.a7c588", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.url`\"/>\n", + "comments": "", + "outputs": 1, + "x": 460.00030517578125, + "y": 230.01049423217773, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "3cf4985f.1d9b68", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 335, + "y": 355.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c8a0e6e.1dd9f18" + ] + ] + }, + { + "id": "c8a0e6e.1dd9f18", + "type": "block", + "name": "block : ConfigDB Update", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 514, + "y": 346.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f7ead8d5.6a76d8", + "30513601.2f1eda" + ] + ] + }, + { + "id": "30513601.2f1eda", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 731, + "y": 320.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "307d8f82.8592a" + ] + ] + }, + { + "id": "c0f7c9f8.98e818", + "type": "set", + "name": "set tmp variables for notif neigbor input parms", + "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "x": 1129, + "y": 194.9895896911621, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "307d8f82.8592a", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 864, + "y": 268.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c0f7c9f8.98e818", + "fa22a415.571198", + "6f4fe94a.b1ffa8", + "49fbbbb9.e37cd4" + ] + ] + }, + { + "id": "fa22a415.571198", + "type": "execute", + "name": "generate configdb add URL for nbr", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", + "comments": "", + "outputs": 1, + "x": 1127, + "y": 240.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "6f4fe94a.b1ffa8", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n", + "comments": "", + "outputs": 1, + "x": 1122, + "y": 289.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "49fbbbb9.e37cd4", + "type": "execute", + "name": "Add neighbor to Cell", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />", + "comments": "", + "outputs": 1, + "x": 1093, + "y": 367.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "e8bd439c.2947", + "780d51b3.1fe4c" + ] + ] + }, + { + "id": "e8bd439c.2947", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1295, + "y": 334.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3e77d15e.509e8e" + ] + ] + }, + { + "id": "780d51b3.1fe4c", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1287.999891281128, + "y": 413.98949909210205, + "z": "f630c4e8.64d488", + "wires": [ + [ + "ec0f9390.bc092" + ] + ] + }, + { + "id": "3e77d15e.509e8e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1455.9998779296875, + "y": 291.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "1a2c5cb9.93d263" + ] + ] + }, + { + "id": "1a2c5cb9.93d263", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification update\" />", + "comments": "", + "x": 1634.999568939209, + "y": 288.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "ec0f9390.bc092", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1445.9996337890625, + "y": 379.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "81cf5fd.7666fa" + ] + ] + }, + { + "id": "81cf5fd.7666fa", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>", + "comments": "", + "outputs": 1, + "x": 1624.9997024536133, + "y": 378.98954582214355, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "b33ddeae.aa57b", + "type": "execute", + "name": "execute DmaapMsg", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />", + "comments": "", + "outputs": 1, + "x": 665.5, + "y": 506.07290267944336, + "z": "f630c4e8.64d488", + "wires": [ + [ + "5682184.0ed98e8", + "116d5ac8.a491a5" + ] + ] + }, + { + "id": "77dfbd9a.85b724", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>", + "comments": "", + "x": 660.166748046875, + "y": 412.07290267944336, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5682184.0ed98e8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 861, + "y": 445.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "feddd5d5.b26b48" + ] + ] + }, + { + "id": "116d5ac8.a491a5", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 846.9998779296875, + "y": 579.9895286560059, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f00581ee.7161e" + ] + ] + }, + { + "id": "feddd5d5.b26b48", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1051.9998779296875, + "y": 475.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f9e8e42c.b650c8" + ] + ] + }, + { + "id": "f9e8e42c.b650c8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP message. ConfigDB Updated; TO be rolled back...will handle next release\" />", + "comments": "", + "x": 1230.999568939209, + "y": 472.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "f00581ee.7161e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1041.9996337890625, + "y": 563.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "2a523c48.546854" + ] + ] + }, + { + "id": "2a523c48.546854", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>", + "comments": "", + "outputs": 1, + "x": 1220.9997024536133, + "y": 562.9895458221436, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "283ddbe5.abd8f4", + "type": "block", + "name": "block : Publish DMAAP Message", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 416, + "y": 449.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "77dfbd9a.85b724", + "b33ddeae.aa57b" + ] + ] + }, + { + "id": "280fec55.9805a4", + "type": "comment", + "name": "DMAAP Publish Not Reqd. Just a placeholder", + "info": "", + "comments": "", + "x": 380, + "y": 503.98958587646484, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "3d43e8a.fae8d18", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #: \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "outputs": 1, + "x": 815.0005493164062, + "y": 42.9896354675293, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "c74a3b00.dbe438", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 484.085693359375, + "y": 115.95317459106445, + "z": "f630c4e8.64d488", + "wires": [ + [ + "898ea471.c49108" + ] + ] + }, + { + "id": "898ea471.c49108", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 636, + "y": 77.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3d43e8a.fae8d18", + "15326088.5383cf" + ] + ] + }, + { + "id": "15326088.5383cf", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 808, + "y": 107.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "6ebb935.a77b76c" + ] + ] + }, + { + "id": "6ebb935.a77b76c", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "outputs": 1, + "x": 959, + "y": 101.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + } +]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configNotification.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configNotification.json new file mode 100644 index 00000000..c8244783 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configNotification.json @@ -0,0 +1,586 @@ +[ + { + "id": "a5d25c75.df911", + "type": "method", + "name": "method", + "xml": "<method rpc='configNotification' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 135, + "y": 178.98959350585938, + "z": "f630c4e8.64d488", + "wires": [ + [ + "940794b0.9ca258" + ] + ] + }, + { + "id": "6b98a8.11e82758", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 131, + "y": 26.989585876464844, + "z": "f630c4e8.64d488", + "wires": [ + [ + "cc743ed3.cedd7" + ] + ] + }, + { + "id": "cc743ed3.cedd7", + "type": "service-logic", + "name": "ran-slice-api ${project.version}", + "module": "ran-slice-api", + "version": "${project.version}", + "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": 188.99998474121094, + "y": 87.98968124389648, + "z": "f630c4e8.64d488", + "wires": [ + [ + "a5d25c75.df911" + ] + ] + }, + { + "id": "940794b0.9ca258", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 150.48959732055664, + "y": 345.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "d32cd716.eb75f8", + "5a119db3.ce9b34" + ] + ] + }, + { + "id": "d32cd716.eb75f8", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n", + "comments": "", + "x": 247.0002670288086, + "y": 575.9897727966309, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "44cfb129.2991e", + "type": "comment", + "name": "configNotification", + "info": "", + "comments": "", + "x": 415, + "y": 21, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5a119db3.ce9b34", + "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/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>", + "comments": "", + "outputs": 1, + "x": 300.0002975463867, + "y": 155.01043319702148, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "f7ead8d5.6a76d8", + "type": "set", + "name": "set tmp variables for notif input parms", + "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "x": 770.0010986328125, + "y": 210.88906478881836, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "6e214788.4686f8", + "type": "execute", + "name": "execute Properties", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-CMNotify-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", + "comments": "", + "outputs": 1, + "x": 495.00018310546875, + "y": 176.01041793823242, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "df08b48d.a7c588", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.url`\"/>\n", + "comments": "", + "outputs": 1, + "x": 460.00030517578125, + "y": 230.01049423217773, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "3cf4985f.1d9b68", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 335, + "y": 355.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c8a0e6e.1dd9f18" + ] + ] + }, + { + "id": "c8a0e6e.1dd9f18", + "type": "block", + "name": "block : ConfigDB Update", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 514, + "y": 346.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f7ead8d5.6a76d8", + "30513601.2f1eda" + ] + ] + }, + { + "id": "30513601.2f1eda", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 731, + "y": 320.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "307d8f82.8592a" + ] + ] + }, + { + "id": "c0f7c9f8.98e818", + "type": "set", + "name": "set tmp variables for notif neigbor input parms", + "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "x": 1129, + "y": 194.9895896911621, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "307d8f82.8592a", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 864, + "y": 268.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c0f7c9f8.98e818", + "fa22a415.571198", + "6f4fe94a.b1ffa8", + "49fbbbb9.e37cd4" + ] + ] + }, + { + "id": "fa22a415.571198", + "type": "execute", + "name": "generate configdb add URL for nbr", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", + "comments": "", + "outputs": 1, + "x": 1127, + "y": 240.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "6f4fe94a.b1ffa8", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n", + "comments": "", + "outputs": 1, + "x": 1122, + "y": 289.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "49fbbbb9.e37cd4", + "type": "execute", + "name": "Add neighbor to Cell", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />", + "comments": "", + "outputs": 1, + "x": 1093, + "y": 367.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "e8bd439c.2947", + "780d51b3.1fe4c" + ] + ] + }, + { + "id": "e8bd439c.2947", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1295, + "y": 334.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3e77d15e.509e8e" + ] + ] + }, + { + "id": "780d51b3.1fe4c", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1287.999891281128, + "y": 413.98949909210205, + "z": "f630c4e8.64d488", + "wires": [ + [ + "ec0f9390.bc092" + ] + ] + }, + { + "id": "3e77d15e.509e8e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1455.9998779296875, + "y": 291.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "1a2c5cb9.93d263" + ] + ] + }, + { + "id": "1a2c5cb9.93d263", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification update\" />", + "comments": "", + "x": 1634.999568939209, + "y": 288.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "ec0f9390.bc092", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1445.9996337890625, + "y": 379.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "81cf5fd.7666fa" + ] + ] + }, + { + "id": "81cf5fd.7666fa", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>", + "comments": "", + "outputs": 1, + "x": 1624.9997024536133, + "y": 378.98954582214355, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "b33ddeae.aa57b", + "type": "execute", + "name": "execute DmaapMsg", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />", + "comments": "", + "outputs": 1, + "x": 665.5, + "y": 506.07290267944336, + "z": "f630c4e8.64d488", + "wires": [ + [ + "5682184.0ed98e8", + "116d5ac8.a491a5" + ] + ] + }, + { + "id": "77dfbd9a.85b724", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>", + "comments": "", + "x": 660.166748046875, + "y": 412.07290267944336, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5682184.0ed98e8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 861, + "y": 445.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "feddd5d5.b26b48" + ] + ] + }, + { + "id": "116d5ac8.a491a5", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 846.9998779296875, + "y": 579.9895286560059, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f00581ee.7161e" + ] + ] + }, + { + "id": "feddd5d5.b26b48", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1051.9998779296875, + "y": 475.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f9e8e42c.b650c8" + ] + ] + }, + { + "id": "f9e8e42c.b650c8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP message. ConfigDB Updated; TO be rolled back...will handle next release\" />", + "comments": "", + "x": 1230.999568939209, + "y": 472.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "f00581ee.7161e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1041.9996337890625, + "y": 563.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "2a523c48.546854" + ] + ] + }, + { + "id": "2a523c48.546854", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>", + "comments": "", + "outputs": 1, + "x": 1220.9997024536133, + "y": 562.9895458221436, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "283ddbe5.abd8f4", + "type": "block", + "name": "block : Publish DMAAP Message", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 416, + "y": 449.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "77dfbd9a.85b724", + "b33ddeae.aa57b" + ] + ] + }, + { + "id": "280fec55.9805a4", + "type": "comment", + "name": "DMAAP Publish Not Reqd. Just a placeholder", + "info": "", + "comments": "", + "x": 380, + "y": 503.98958587646484, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "3d43e8a.fae8d18", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #: \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "outputs": 1, + "x": 815.0005493164062, + "y": 42.9896354675293, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "c74a3b00.dbe438", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 484.085693359375, + "y": 115.95317459106445, + "z": "f630c4e8.64d488", + "wires": [ + [ + "898ea471.c49108" + ] + ] + }, + { + "id": "898ea471.c49108", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 636, + "y": 77.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3d43e8a.fae8d18", + "15326088.5383cf" + ] + ] + }, + { + "id": "15326088.5383cf", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 808, + "y": 107.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "6ebb935.a77b76c" + ] + ] + }, + { + "id": "6ebb935.a77b76c", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "outputs": 1, + "x": 959, + "y": 101.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + } +]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configureCU.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configureCU.json new file mode 100644 index 00000000..d8671426 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configureCU.json @@ -0,0 +1,586 @@ +[ + { + "id": "a5d25c75.df911", + "type": "method", + "name": "method", + "xml": "<method rpc='configureCU' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 128, + "y": 176.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "940794b0.9ca258" + ] + ] + }, + { + "id": "6b98a8.11e82758", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 131, + "y": 26.989585876464844, + "z": "f630c4e8.64d488", + "wires": [ + [ + "cc743ed3.cedd7" + ] + ] + }, + { + "id": "cc743ed3.cedd7", + "type": "service-logic", + "name": "ran-slice-api ${project.version}", + "module": "ran-slice-api", + "version": "${project.version}", + "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": 188.99998474121094, + "y": 87.98968124389648, + "z": "f630c4e8.64d488", + "wires": [ + [ + "a5d25c75.df911" + ] + ] + }, + { + "id": "940794b0.9ca258", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 150.48959732055664, + "y": 345.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "d32cd716.eb75f8", + "5a119db3.ce9b34" + ] + ] + }, + { + "id": "d32cd716.eb75f8", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n", + "comments": "", + "x": 247.0002670288086, + "y": 575.9897727966309, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "44cfb129.2991e", + "type": "comment", + "name": "configureCU", + "info": "", + "comments": "", + "x": 413, + "y": 20, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5a119db3.ce9b34", + "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/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>", + "comments": "", + "outputs": 1, + "x": 300.0002975463867, + "y": 155.01043319702148, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "f7ead8d5.6a76d8", + "type": "set", + "name": "set tmp variables for notif input parms", + "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "x": 770.0010986328125, + "y": 210.88906478881836, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "6e214788.4686f8", + "type": "execute", + "name": "execute Properties", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-CMNotify-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", + "comments": "", + "outputs": 1, + "x": 495.00018310546875, + "y": 176.01041793823242, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "df08b48d.a7c588", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.url`\"/>\n", + "comments": "", + "outputs": 1, + "x": 460.00030517578125, + "y": 230.01049423217773, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "3cf4985f.1d9b68", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 335, + "y": 355.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c8a0e6e.1dd9f18" + ] + ] + }, + { + "id": "c8a0e6e.1dd9f18", + "type": "block", + "name": "block : ConfigDB Update", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 514, + "y": 346.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f7ead8d5.6a76d8", + "30513601.2f1eda" + ] + ] + }, + { + "id": "30513601.2f1eda", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 731, + "y": 320.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "307d8f82.8592a" + ] + ] + }, + { + "id": "c0f7c9f8.98e818", + "type": "set", + "name": "set tmp variables for notif neigbor input parms", + "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "x": 1129, + "y": 194.9895896911621, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "307d8f82.8592a", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 864, + "y": 268.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c0f7c9f8.98e818", + "fa22a415.571198", + "6f4fe94a.b1ffa8", + "49fbbbb9.e37cd4" + ] + ] + }, + { + "id": "fa22a415.571198", + "type": "execute", + "name": "generate configdb add URL for nbr", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", + "comments": "", + "outputs": 1, + "x": 1127, + "y": 240.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "6f4fe94a.b1ffa8", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n", + "comments": "", + "outputs": 1, + "x": 1122, + "y": 289.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "49fbbbb9.e37cd4", + "type": "execute", + "name": "Add neighbor to Cell", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />", + "comments": "", + "outputs": 1, + "x": 1093, + "y": 367.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "e8bd439c.2947", + "780d51b3.1fe4c" + ] + ] + }, + { + "id": "e8bd439c.2947", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1295, + "y": 334.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3e77d15e.509e8e" + ] + ] + }, + { + "id": "780d51b3.1fe4c", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1287.999891281128, + "y": 413.98949909210205, + "z": "f630c4e8.64d488", + "wires": [ + [ + "ec0f9390.bc092" + ] + ] + }, + { + "id": "3e77d15e.509e8e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1455.9998779296875, + "y": 291.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "1a2c5cb9.93d263" + ] + ] + }, + { + "id": "1a2c5cb9.93d263", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification update\" />", + "comments": "", + "x": 1634.999568939209, + "y": 288.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "ec0f9390.bc092", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1445.9996337890625, + "y": 379.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "81cf5fd.7666fa" + ] + ] + }, + { + "id": "81cf5fd.7666fa", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>", + "comments": "", + "outputs": 1, + "x": 1624.9997024536133, + "y": 378.98954582214355, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "b33ddeae.aa57b", + "type": "execute", + "name": "execute DmaapMsg", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />", + "comments": "", + "outputs": 1, + "x": 665.5, + "y": 506.07290267944336, + "z": "f630c4e8.64d488", + "wires": [ + [ + "5682184.0ed98e8", + "116d5ac8.a491a5" + ] + ] + }, + { + "id": "77dfbd9a.85b724", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>", + "comments": "", + "x": 660.166748046875, + "y": 412.07290267944336, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5682184.0ed98e8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 861, + "y": 445.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "feddd5d5.b26b48" + ] + ] + }, + { + "id": "116d5ac8.a491a5", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 846.9998779296875, + "y": 579.9895286560059, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f00581ee.7161e" + ] + ] + }, + { + "id": "feddd5d5.b26b48", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1051.9998779296875, + "y": 475.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f9e8e42c.b650c8" + ] + ] + }, + { + "id": "f9e8e42c.b650c8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP message. ConfigDB Updated; TO be rolled back...will handle next release\" />", + "comments": "", + "x": 1230.999568939209, + "y": 472.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "f00581ee.7161e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1041.9996337890625, + "y": 563.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "2a523c48.546854" + ] + ] + }, + { + "id": "2a523c48.546854", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>", + "comments": "", + "outputs": 1, + "x": 1220.9997024536133, + "y": 562.9895458221436, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "283ddbe5.abd8f4", + "type": "block", + "name": "block : Publish DMAAP Message", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 416, + "y": 449.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "77dfbd9a.85b724", + "b33ddeae.aa57b" + ] + ] + }, + { + "id": "280fec55.9805a4", + "type": "comment", + "name": "DMAAP Publish Not Reqd. Just a placeholder", + "info": "", + "comments": "", + "x": 380, + "y": 503.98958587646484, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "3d43e8a.fae8d18", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #: \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "outputs": 1, + "x": 815.0005493164062, + "y": 42.9896354675293, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "c74a3b00.dbe438", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 484.085693359375, + "y": 115.95317459106445, + "z": "f630c4e8.64d488", + "wires": [ + [ + "898ea471.c49108" + ] + ] + }, + { + "id": "898ea471.c49108", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 636, + "y": 77.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3d43e8a.fae8d18", + "15326088.5383cf" + ] + ] + }, + { + "id": "15326088.5383cf", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 808, + "y": 107.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "6ebb935.a77b76c" + ] + ] + }, + { + "id": "6ebb935.a77b76c", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "outputs": 1, + "x": 959, + "y": 101.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + } +]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configureDU.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configureDU.json new file mode 100644 index 00000000..fd7af00b --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configureDU.json @@ -0,0 +1,586 @@ +[ + { + "id": "a5d25c75.df911", + "type": "method", + "name": "method", + "xml": "<method rpc='configureDU' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 128, + "y": 176.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "940794b0.9ca258" + ] + ] + }, + { + "id": "6b98a8.11e82758", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 131, + "y": 26.989585876464844, + "z": "f630c4e8.64d488", + "wires": [ + [ + "cc743ed3.cedd7" + ] + ] + }, + { + "id": "cc743ed3.cedd7", + "type": "service-logic", + "name": "ran-slice-api ${project.version}", + "module": "ran-slice-api", + "version": "${project.version}", + "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": 188.99998474121094, + "y": 87.98968124389648, + "z": "f630c4e8.64d488", + "wires": [ + [ + "a5d25c75.df911" + ] + ] + }, + { + "id": "940794b0.9ca258", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 150.48959732055664, + "y": 345.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "d32cd716.eb75f8", + "5a119db3.ce9b34" + ] + ] + }, + { + "id": "d32cd716.eb75f8", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n", + "comments": "", + "x": 247.0002670288086, + "y": 575.9897727966309, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "44cfb129.2991e", + "type": "comment", + "name": "configureDU", + "info": "", + "comments": "", + "x": 413, + "y": 20, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5a119db3.ce9b34", + "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/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>", + "comments": "", + "outputs": 1, + "x": 300.0002975463867, + "y": 155.01043319702148, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "f7ead8d5.6a76d8", + "type": "set", + "name": "set tmp variables for notif input parms", + "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "x": 770.0010986328125, + "y": 210.88906478881836, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "6e214788.4686f8", + "type": "execute", + "name": "execute Properties", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-CMNotify-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", + "comments": "", + "outputs": 1, + "x": 495.00018310546875, + "y": 176.01041793823242, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "df08b48d.a7c588", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.url`\"/>\n", + "comments": "", + "outputs": 1, + "x": 460.00030517578125, + "y": 230.01049423217773, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "3cf4985f.1d9b68", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 335, + "y": 355.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c8a0e6e.1dd9f18" + ] + ] + }, + { + "id": "c8a0e6e.1dd9f18", + "type": "block", + "name": "block : ConfigDB Update", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 514, + "y": 346.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f7ead8d5.6a76d8", + "30513601.2f1eda" + ] + ] + }, + { + "id": "30513601.2f1eda", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 731, + "y": 320.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "307d8f82.8592a" + ] + ] + }, + { + "id": "c0f7c9f8.98e818", + "type": "set", + "name": "set tmp variables for notif neigbor input parms", + "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "x": 1129, + "y": 194.9895896911621, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "307d8f82.8592a", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 864, + "y": 268.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c0f7c9f8.98e818", + "fa22a415.571198", + "6f4fe94a.b1ffa8", + "49fbbbb9.e37cd4" + ] + ] + }, + { + "id": "fa22a415.571198", + "type": "execute", + "name": "generate configdb add URL for nbr", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", + "comments": "", + "outputs": 1, + "x": 1127, + "y": 240.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "6f4fe94a.b1ffa8", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n", + "comments": "", + "outputs": 1, + "x": 1122, + "y": 289.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "49fbbbb9.e37cd4", + "type": "execute", + "name": "Add neighbor to Cell", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />", + "comments": "", + "outputs": 1, + "x": 1093, + "y": 367.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "e8bd439c.2947", + "780d51b3.1fe4c" + ] + ] + }, + { + "id": "e8bd439c.2947", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1295, + "y": 334.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3e77d15e.509e8e" + ] + ] + }, + { + "id": "780d51b3.1fe4c", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1287.999891281128, + "y": 413.98949909210205, + "z": "f630c4e8.64d488", + "wires": [ + [ + "ec0f9390.bc092" + ] + ] + }, + { + "id": "3e77d15e.509e8e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1455.9998779296875, + "y": 291.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "1a2c5cb9.93d263" + ] + ] + }, + { + "id": "1a2c5cb9.93d263", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification update\" />", + "comments": "", + "x": 1634.999568939209, + "y": 288.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "ec0f9390.bc092", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1445.9996337890625, + "y": 379.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "81cf5fd.7666fa" + ] + ] + }, + { + "id": "81cf5fd.7666fa", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>", + "comments": "", + "outputs": 1, + "x": 1624.9997024536133, + "y": 378.98954582214355, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "b33ddeae.aa57b", + "type": "execute", + "name": "execute DmaapMsg", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />", + "comments": "", + "outputs": 1, + "x": 665.5, + "y": 506.07290267944336, + "z": "f630c4e8.64d488", + "wires": [ + [ + "5682184.0ed98e8", + "116d5ac8.a491a5" + ] + ] + }, + { + "id": "77dfbd9a.85b724", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>", + "comments": "", + "x": 660.166748046875, + "y": 412.07290267944336, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5682184.0ed98e8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 861, + "y": 445.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "feddd5d5.b26b48" + ] + ] + }, + { + "id": "116d5ac8.a491a5", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 846.9998779296875, + "y": 579.9895286560059, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f00581ee.7161e" + ] + ] + }, + { + "id": "feddd5d5.b26b48", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1051.9998779296875, + "y": 475.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f9e8e42c.b650c8" + ] + ] + }, + { + "id": "f9e8e42c.b650c8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP message. ConfigDB Updated; TO be rolled back...will handle next release\" />", + "comments": "", + "x": 1230.999568939209, + "y": 472.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "f00581ee.7161e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1041.9996337890625, + "y": 563.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "2a523c48.546854" + ] + ] + }, + { + "id": "2a523c48.546854", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>", + "comments": "", + "outputs": 1, + "x": 1220.9997024536133, + "y": 562.9895458221436, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "283ddbe5.abd8f4", + "type": "block", + "name": "block : Publish DMAAP Message", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 416, + "y": 449.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "77dfbd9a.85b724", + "b33ddeae.aa57b" + ] + ] + }, + { + "id": "280fec55.9805a4", + "type": "comment", + "name": "DMAAP Publish Not Reqd. Just a placeholder", + "info": "", + "comments": "", + "x": 380, + "y": 503.98958587646484, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "3d43e8a.fae8d18", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #: \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "outputs": 1, + "x": 815.0005493164062, + "y": 42.9896354675293, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "c74a3b00.dbe438", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 484.085693359375, + "y": 115.95317459106445, + "z": "f630c4e8.64d488", + "wires": [ + [ + "898ea471.c49108" + ] + ] + }, + { + "id": "898ea471.c49108", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 636, + "y": 77.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3d43e8a.fae8d18", + "15326088.5383cf" + ] + ] + }, + { + "id": "15326088.5383cf", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 808, + "y": 107.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "6ebb935.a77b76c" + ] + ] + }, + { + "id": "6ebb935.a77b76c", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "outputs": 1, + "x": 959, + "y": 101.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + } +]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configureNearRTRIC.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configureNearRTRIC.json new file mode 100644 index 00000000..d2fce025 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configureNearRTRIC.json @@ -0,0 +1,586 @@ +[ + { + "id": "a5d25c75.df911", + "type": "method", + "name": "method", + "xml": "<method rpc='configureNearRTRIC' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 128, + "y": 176.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "940794b0.9ca258" + ] + ] + }, + { + "id": "6b98a8.11e82758", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 131, + "y": 26.989585876464844, + "z": "f630c4e8.64d488", + "wires": [ + [ + "cc743ed3.cedd7" + ] + ] + }, + { + "id": "cc743ed3.cedd7", + "type": "service-logic", + "name": "ran-slice-api ${project.version}", + "module": "ran-slice-api", + "version": "${project.version}", + "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": 188.99998474121094, + "y": 87.98968124389648, + "z": "f630c4e8.64d488", + "wires": [ + [ + "a5d25c75.df911" + ] + ] + }, + { + "id": "940794b0.9ca258", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 150.48959732055664, + "y": 345.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "d32cd716.eb75f8", + "5a119db3.ce9b34" + ] + ] + }, + { + "id": "d32cd716.eb75f8", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n", + "comments": "", + "x": 247.0002670288086, + "y": 575.9897727966309, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "44cfb129.2991e", + "type": "comment", + "name": "configureNearRTRIC", + "info": "", + "comments": "", + "x": 413, + "y": 20, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5a119db3.ce9b34", + "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/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>", + "comments": "", + "outputs": 1, + "x": 300.0002975463867, + "y": 155.01043319702148, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "f7ead8d5.6a76d8", + "type": "set", + "name": "set tmp variables for notif input parms", + "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "x": 770.0010986328125, + "y": 210.88906478881836, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "6e214788.4686f8", + "type": "execute", + "name": "execute Properties", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-CMNotify-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", + "comments": "", + "outputs": 1, + "x": 495.00018310546875, + "y": 176.01041793823242, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "df08b48d.a7c588", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.url`\"/>\n", + "comments": "", + "outputs": 1, + "x": 460.00030517578125, + "y": 230.01049423217773, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "3cf4985f.1d9b68", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 335, + "y": 355.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c8a0e6e.1dd9f18" + ] + ] + }, + { + "id": "c8a0e6e.1dd9f18", + "type": "block", + "name": "block : ConfigDB Update", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 514, + "y": 346.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f7ead8d5.6a76d8", + "30513601.2f1eda" + ] + ] + }, + { + "id": "30513601.2f1eda", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 731, + "y": 320.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "307d8f82.8592a" + ] + ] + }, + { + "id": "c0f7c9f8.98e818", + "type": "set", + "name": "set tmp variables for notif neigbor input parms", + "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "x": 1129, + "y": 194.9895896911621, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "307d8f82.8592a", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 864, + "y": 268.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c0f7c9f8.98e818", + "fa22a415.571198", + "6f4fe94a.b1ffa8", + "49fbbbb9.e37cd4" + ] + ] + }, + { + "id": "fa22a415.571198", + "type": "execute", + "name": "generate configdb add URL for nbr", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", + "comments": "", + "outputs": 1, + "x": 1127, + "y": 240.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "6f4fe94a.b1ffa8", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n", + "comments": "", + "outputs": 1, + "x": 1122, + "y": 289.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "49fbbbb9.e37cd4", + "type": "execute", + "name": "Add neighbor to Cell", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />", + "comments": "", + "outputs": 1, + "x": 1093, + "y": 367.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "e8bd439c.2947", + "780d51b3.1fe4c" + ] + ] + }, + { + "id": "e8bd439c.2947", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1295, + "y": 334.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3e77d15e.509e8e" + ] + ] + }, + { + "id": "780d51b3.1fe4c", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1287.999891281128, + "y": 413.98949909210205, + "z": "f630c4e8.64d488", + "wires": [ + [ + "ec0f9390.bc092" + ] + ] + }, + { + "id": "3e77d15e.509e8e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1455.9998779296875, + "y": 291.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "1a2c5cb9.93d263" + ] + ] + }, + { + "id": "1a2c5cb9.93d263", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification update\" />", + "comments": "", + "x": 1634.999568939209, + "y": 288.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "ec0f9390.bc092", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1445.9996337890625, + "y": 379.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "81cf5fd.7666fa" + ] + ] + }, + { + "id": "81cf5fd.7666fa", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>", + "comments": "", + "outputs": 1, + "x": 1624.9997024536133, + "y": 378.98954582214355, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "b33ddeae.aa57b", + "type": "execute", + "name": "execute DmaapMsg", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />", + "comments": "", + "outputs": 1, + "x": 665.5, + "y": 506.07290267944336, + "z": "f630c4e8.64d488", + "wires": [ + [ + "5682184.0ed98e8", + "116d5ac8.a491a5" + ] + ] + }, + { + "id": "77dfbd9a.85b724", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>", + "comments": "", + "x": 660.166748046875, + "y": 412.07290267944336, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5682184.0ed98e8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 861, + "y": 445.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "feddd5d5.b26b48" + ] + ] + }, + { + "id": "116d5ac8.a491a5", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 846.9998779296875, + "y": 579.9895286560059, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f00581ee.7161e" + ] + ] + }, + { + "id": "feddd5d5.b26b48", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1051.9998779296875, + "y": 475.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f9e8e42c.b650c8" + ] + ] + }, + { + "id": "f9e8e42c.b650c8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP message. ConfigDB Updated; TO be rolled back...will handle next release\" />", + "comments": "", + "x": 1230.999568939209, + "y": 472.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "f00581ee.7161e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1041.9996337890625, + "y": 563.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "2a523c48.546854" + ] + ] + }, + { + "id": "2a523c48.546854", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>", + "comments": "", + "outputs": 1, + "x": 1220.9997024536133, + "y": 562.9895458221436, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "283ddbe5.abd8f4", + "type": "block", + "name": "block : Publish DMAAP Message", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 416, + "y": 449.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "77dfbd9a.85b724", + "b33ddeae.aa57b" + ] + ] + }, + { + "id": "280fec55.9805a4", + "type": "comment", + "name": "DMAAP Publish Not Reqd. Just a placeholder", + "info": "", + "comments": "", + "x": 380, + "y": 503.98958587646484, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "3d43e8a.fae8d18", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #: \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "outputs": 1, + "x": 815.0005493164062, + "y": 42.9896354675293, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "c74a3b00.dbe438", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 484.085693359375, + "y": 115.95317459106445, + "z": "f630c4e8.64d488", + "wires": [ + [ + "898ea471.c49108" + ] + ] + }, + { + "id": "898ea471.c49108", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 636, + "y": 77.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3d43e8a.fae8d18", + "15326088.5383cf" + ] + ] + }, + { + "id": "15326088.5383cf", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 808, + "y": 107.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "6ebb935.a77b76c" + ] + ] + }, + { + "id": "6ebb935.a77b76c", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "outputs": 1, + "x": 959, + "y": 101.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + } +]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configureRANSliceInstance.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configureRANSliceInstance.json new file mode 100644 index 00000000..6197bc89 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_configureRANSliceInstance.json @@ -0,0 +1,586 @@ +[ + { + "id": "a5d25c75.df911", + "type": "method", + "name": "method", + "xml": "<method rpc='configureRANSliceInstance' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 128, + "y": 176.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "940794b0.9ca258" + ] + ] + }, + { + "id": "6b98a8.11e82758", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 131, + "y": 26.989585876464844, + "z": "f630c4e8.64d488", + "wires": [ + [ + "cc743ed3.cedd7" + ] + ] + }, + { + "id": "cc743ed3.cedd7", + "type": "service-logic", + "name": "ran-slice-api ${project.version}", + "module": "ran-slice-api", + "version": "${project.version}", + "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": 188.99998474121094, + "y": 87.98968124389648, + "z": "f630c4e8.64d488", + "wires": [ + [ + "a5d25c75.df911" + ] + ] + }, + { + "id": "940794b0.9ca258", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 150.48959732055664, + "y": 345.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "d32cd716.eb75f8", + "5a119db3.ce9b34" + ] + ] + }, + { + "id": "d32cd716.eb75f8", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n", + "comments": "", + "x": 247.0002670288086, + "y": 575.9897727966309, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "44cfb129.2991e", + "type": "comment", + "name": "configureRANSliceInstance", + "info": "", + "comments": "", + "x": 413, + "y": 20, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5a119db3.ce9b34", + "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/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>", + "comments": "", + "outputs": 1, + "x": 300.0002975463867, + "y": 155.01043319702148, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "f7ead8d5.6a76d8", + "type": "set", + "name": "set tmp variables for notif input parms", + "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "x": 770.0010986328125, + "y": 210.88906478881836, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "6e214788.4686f8", + "type": "execute", + "name": "execute Properties", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-CMNotify-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", + "comments": "", + "outputs": 1, + "x": 495.00018310546875, + "y": 176.01041793823242, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "df08b48d.a7c588", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.url`\"/>\n", + "comments": "", + "outputs": 1, + "x": 460.00030517578125, + "y": 230.01049423217773, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "3cf4985f.1d9b68", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 335, + "y": 355.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c8a0e6e.1dd9f18" + ] + ] + }, + { + "id": "c8a0e6e.1dd9f18", + "type": "block", + "name": "block : ConfigDB Update", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 514, + "y": 346.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f7ead8d5.6a76d8", + "30513601.2f1eda" + ] + ] + }, + { + "id": "30513601.2f1eda", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 731, + "y": 320.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "307d8f82.8592a" + ] + ] + }, + { + "id": "c0f7c9f8.98e818", + "type": "set", + "name": "set tmp variables for notif neigbor input parms", + "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "x": 1129, + "y": 194.9895896911621, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "307d8f82.8592a", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 864, + "y": 268.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c0f7c9f8.98e818", + "fa22a415.571198", + "6f4fe94a.b1ffa8", + "49fbbbb9.e37cd4" + ] + ] + }, + { + "id": "fa22a415.571198", + "type": "execute", + "name": "generate configdb add URL for nbr", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", + "comments": "", + "outputs": 1, + "x": 1127, + "y": 240.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "6f4fe94a.b1ffa8", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n", + "comments": "", + "outputs": 1, + "x": 1122, + "y": 289.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "49fbbbb9.e37cd4", + "type": "execute", + "name": "Add neighbor to Cell", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />", + "comments": "", + "outputs": 1, + "x": 1093, + "y": 367.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "e8bd439c.2947", + "780d51b3.1fe4c" + ] + ] + }, + { + "id": "e8bd439c.2947", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1295, + "y": 334.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3e77d15e.509e8e" + ] + ] + }, + { + "id": "780d51b3.1fe4c", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1287.999891281128, + "y": 413.98949909210205, + "z": "f630c4e8.64d488", + "wires": [ + [ + "ec0f9390.bc092" + ] + ] + }, + { + "id": "3e77d15e.509e8e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1455.9998779296875, + "y": 291.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "1a2c5cb9.93d263" + ] + ] + }, + { + "id": "1a2c5cb9.93d263", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification update\" />", + "comments": "", + "x": 1634.999568939209, + "y": 288.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "ec0f9390.bc092", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1445.9996337890625, + "y": 379.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "81cf5fd.7666fa" + ] + ] + }, + { + "id": "81cf5fd.7666fa", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>", + "comments": "", + "outputs": 1, + "x": 1624.9997024536133, + "y": 378.98954582214355, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "b33ddeae.aa57b", + "type": "execute", + "name": "execute DmaapMsg", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />", + "comments": "", + "outputs": 1, + "x": 665.5, + "y": 506.07290267944336, + "z": "f630c4e8.64d488", + "wires": [ + [ + "5682184.0ed98e8", + "116d5ac8.a491a5" + ] + ] + }, + { + "id": "77dfbd9a.85b724", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>", + "comments": "", + "x": 660.166748046875, + "y": 412.07290267944336, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5682184.0ed98e8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 861, + "y": 445.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "feddd5d5.b26b48" + ] + ] + }, + { + "id": "116d5ac8.a491a5", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 846.9998779296875, + "y": 579.9895286560059, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f00581ee.7161e" + ] + ] + }, + { + "id": "feddd5d5.b26b48", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1051.9998779296875, + "y": 475.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f9e8e42c.b650c8" + ] + ] + }, + { + "id": "f9e8e42c.b650c8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP message. ConfigDB Updated; TO be rolled back...will handle next release\" />", + "comments": "", + "x": 1230.999568939209, + "y": 472.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "f00581ee.7161e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1041.9996337890625, + "y": 563.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "2a523c48.546854" + ] + ] + }, + { + "id": "2a523c48.546854", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>", + "comments": "", + "outputs": 1, + "x": 1220.9997024536133, + "y": 562.9895458221436, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "283ddbe5.abd8f4", + "type": "block", + "name": "block : Publish DMAAP Message", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 416, + "y": 449.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "77dfbd9a.85b724", + "b33ddeae.aa57b" + ] + ] + }, + { + "id": "280fec55.9805a4", + "type": "comment", + "name": "DMAAP Publish Not Reqd. Just a placeholder", + "info": "", + "comments": "", + "x": 380, + "y": 503.98958587646484, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "3d43e8a.fae8d18", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #: \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "outputs": 1, + "x": 815.0005493164062, + "y": 42.9896354675293, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "c74a3b00.dbe438", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 484.085693359375, + "y": 115.95317459106445, + "z": "f630c4e8.64d488", + "wires": [ + [ + "898ea471.c49108" + ] + ] + }, + { + "id": "898ea471.c49108", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 636, + "y": 77.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3d43e8a.fae8d18", + "15326088.5383cf" + ] + ] + }, + { + "id": "15326088.5383cf", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 808, + "y": 107.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "6ebb935.a77b76c" + ] + ] + }, + { + "id": "6ebb935.a77b76c", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "outputs": 1, + "x": 959, + "y": 101.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + } +]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_deactivateRANSliceInstance.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_deactivateRANSliceInstance.json new file mode 100644 index 00000000..bd824240 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_deactivateRANSliceInstance.json @@ -0,0 +1,586 @@ +[ + { + "id": "a5d25c75.df911", + "type": "method", + "name": "method", + "xml": "<method rpc='deactivateRANSliceInstance' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 128, + "y": 176.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "940794b0.9ca258" + ] + ] + }, + { + "id": "6b98a8.11e82758", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 131, + "y": 26.989585876464844, + "z": "f630c4e8.64d488", + "wires": [ + [ + "cc743ed3.cedd7" + ] + ] + }, + { + "id": "cc743ed3.cedd7", + "type": "service-logic", + "name": "ran-slice-api ${project.version}", + "module": "ran-slice-api", + "version": "${project.version}", + "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": 188.99998474121094, + "y": 87.98968124389648, + "z": "f630c4e8.64d488", + "wires": [ + [ + "a5d25c75.df911" + ] + ] + }, + { + "id": "940794b0.9ca258", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 150.48959732055664, + "y": 345.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "d32cd716.eb75f8", + "5a119db3.ce9b34" + ] + ] + }, + { + "id": "d32cd716.eb75f8", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n", + "comments": "", + "x": 247.0002670288086, + "y": 575.9897727966309, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "44cfb129.2991e", + "type": "comment", + "name": "deactivateRANSliceInstance", + "info": "", + "comments": "", + "x": 413, + "y": 20, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5a119db3.ce9b34", + "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/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>", + "comments": "", + "outputs": 1, + "x": 300.0002975463867, + "y": 155.01043319702148, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "f7ead8d5.6a76d8", + "type": "set", + "name": "set tmp variables for notif input parms", + "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "x": 770.0010986328125, + "y": 210.88906478881836, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "6e214788.4686f8", + "type": "execute", + "name": "execute Properties", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-CMNotify-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", + "comments": "", + "outputs": 1, + "x": 495.00018310546875, + "y": 176.01041793823242, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "df08b48d.a7c588", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.url`\"/>\n", + "comments": "", + "outputs": 1, + "x": 460.00030517578125, + "y": 230.01049423217773, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "3cf4985f.1d9b68", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 335, + "y": 355.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c8a0e6e.1dd9f18" + ] + ] + }, + { + "id": "c8a0e6e.1dd9f18", + "type": "block", + "name": "block : ConfigDB Update", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 514, + "y": 346.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f7ead8d5.6a76d8", + "30513601.2f1eda" + ] + ] + }, + { + "id": "30513601.2f1eda", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 731, + "y": 320.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "307d8f82.8592a" + ] + ] + }, + { + "id": "c0f7c9f8.98e818", + "type": "set", + "name": "set tmp variables for notif neigbor input parms", + "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "x": 1129, + "y": 194.9895896911621, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "307d8f82.8592a", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 864, + "y": 268.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c0f7c9f8.98e818", + "fa22a415.571198", + "6f4fe94a.b1ffa8", + "49fbbbb9.e37cd4" + ] + ] + }, + { + "id": "fa22a415.571198", + "type": "execute", + "name": "generate configdb add URL for nbr", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", + "comments": "", + "outputs": 1, + "x": 1127, + "y": 240.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "6f4fe94a.b1ffa8", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n", + "comments": "", + "outputs": 1, + "x": 1122, + "y": 289.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "49fbbbb9.e37cd4", + "type": "execute", + "name": "Add neighbor to Cell", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />", + "comments": "", + "outputs": 1, + "x": 1093, + "y": 367.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "e8bd439c.2947", + "780d51b3.1fe4c" + ] + ] + }, + { + "id": "e8bd439c.2947", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1295, + "y": 334.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3e77d15e.509e8e" + ] + ] + }, + { + "id": "780d51b3.1fe4c", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1287.999891281128, + "y": 413.98949909210205, + "z": "f630c4e8.64d488", + "wires": [ + [ + "ec0f9390.bc092" + ] + ] + }, + { + "id": "3e77d15e.509e8e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1455.9998779296875, + "y": 291.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "1a2c5cb9.93d263" + ] + ] + }, + { + "id": "1a2c5cb9.93d263", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification update\" />", + "comments": "", + "x": 1634.999568939209, + "y": 288.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "ec0f9390.bc092", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1445.9996337890625, + "y": 379.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "81cf5fd.7666fa" + ] + ] + }, + { + "id": "81cf5fd.7666fa", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>", + "comments": "", + "outputs": 1, + "x": 1624.9997024536133, + "y": 378.98954582214355, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "b33ddeae.aa57b", + "type": "execute", + "name": "execute DmaapMsg", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />", + "comments": "", + "outputs": 1, + "x": 665.5, + "y": 506.07290267944336, + "z": "f630c4e8.64d488", + "wires": [ + [ + "5682184.0ed98e8", + "116d5ac8.a491a5" + ] + ] + }, + { + "id": "77dfbd9a.85b724", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>", + "comments": "", + "x": 660.166748046875, + "y": 412.07290267944336, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5682184.0ed98e8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 861, + "y": 445.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "feddd5d5.b26b48" + ] + ] + }, + { + "id": "116d5ac8.a491a5", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 846.9998779296875, + "y": 579.9895286560059, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f00581ee.7161e" + ] + ] + }, + { + "id": "feddd5d5.b26b48", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1051.9998779296875, + "y": 475.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f9e8e42c.b650c8" + ] + ] + }, + { + "id": "f9e8e42c.b650c8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP message. ConfigDB Updated; TO be rolled back...will handle next release\" />", + "comments": "", + "x": 1230.999568939209, + "y": 472.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "f00581ee.7161e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1041.9996337890625, + "y": 563.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "2a523c48.546854" + ] + ] + }, + { + "id": "2a523c48.546854", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>", + "comments": "", + "outputs": 1, + "x": 1220.9997024536133, + "y": 562.9895458221436, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "283ddbe5.abd8f4", + "type": "block", + "name": "block : Publish DMAAP Message", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 416, + "y": 449.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "77dfbd9a.85b724", + "b33ddeae.aa57b" + ] + ] + }, + { + "id": "280fec55.9805a4", + "type": "comment", + "name": "DMAAP Publish Not Reqd. Just a placeholder", + "info": "", + "comments": "", + "x": 380, + "y": 503.98958587646484, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "3d43e8a.fae8d18", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #: \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "outputs": 1, + "x": 815.0005493164062, + "y": 42.9896354675293, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "c74a3b00.dbe438", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 484.085693359375, + "y": 115.95317459106445, + "z": "f630c4e8.64d488", + "wires": [ + [ + "898ea471.c49108" + ] + ] + }, + { + "id": "898ea471.c49108", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 636, + "y": 77.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3d43e8a.fae8d18", + "15326088.5383cf" + ] + ] + }, + { + "id": "15326088.5383cf", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 808, + "y": 107.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "6ebb935.a77b76c" + ] + ] + }, + { + "id": "6ebb935.a77b76c", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "outputs": 1, + "x": 959, + "y": 101.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + } +]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_determineRANSliceResources.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_determineRANSliceResources.json new file mode 100644 index 00000000..b8eee3fe --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_determineRANSliceResources.json @@ -0,0 +1,586 @@ +[ + { + "id": "a5d25c75.df911", + "type": "method", + "name": "method", + "xml": "<method rpc='determineRANSliceResources' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 135, + "y": 178.98959350585938, + "z": "f630c4e8.64d488", + "wires": [ + [ + "940794b0.9ca258" + ] + ] + }, + { + "id": "6b98a8.11e82758", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 131, + "y": 26.989585876464844, + "z": "f630c4e8.64d488", + "wires": [ + [ + "cc743ed3.cedd7" + ] + ] + }, + { + "id": "cc743ed3.cedd7", + "type": "service-logic", + "name": "ran-slice-api ${project.version}", + "module": "ran-slice-api", + "version": "${project.version}", + "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": 188.99998474121094, + "y": 87.98968124389648, + "z": "f630c4e8.64d488", + "wires": [ + [ + "a5d25c75.df911" + ] + ] + }, + { + "id": "940794b0.9ca258", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 150.48959732055664, + "y": 345.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "d32cd716.eb75f8", + "5a119db3.ce9b34" + ] + ] + }, + { + "id": "d32cd716.eb75f8", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n", + "comments": "", + "x": 247.0002670288086, + "y": 575.9897727966309, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "44cfb129.2991e", + "type": "comment", + "name": "determineRANSliceResources", + "info": "", + "comments": "", + "x": 415, + "y": 21, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5a119db3.ce9b34", + "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/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>", + "comments": "", + "outputs": 1, + "x": 300.0002975463867, + "y": 155.01043319702148, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "f7ead8d5.6a76d8", + "type": "set", + "name": "set tmp variables for notif input parms", + "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "x": 770.0010986328125, + "y": 210.88906478881836, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "6e214788.4686f8", + "type": "execute", + "name": "execute Properties", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-CMNotify-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", + "comments": "", + "outputs": 1, + "x": 495.00018310546875, + "y": 176.01041793823242, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "df08b48d.a7c588", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.url`\"/>\n", + "comments": "", + "outputs": 1, + "x": 460.00030517578125, + "y": 230.01049423217773, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "3cf4985f.1d9b68", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 335, + "y": 355.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c8a0e6e.1dd9f18" + ] + ] + }, + { + "id": "c8a0e6e.1dd9f18", + "type": "block", + "name": "block : ConfigDB Update", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 514, + "y": 346.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f7ead8d5.6a76d8", + "30513601.2f1eda" + ] + ] + }, + { + "id": "30513601.2f1eda", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 731, + "y": 320.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "307d8f82.8592a" + ] + ] + }, + { + "id": "c0f7c9f8.98e818", + "type": "set", + "name": "set tmp variables for notif neigbor input parms", + "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "x": 1129, + "y": 194.9895896911621, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "307d8f82.8592a", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 864, + "y": 268.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c0f7c9f8.98e818", + "fa22a415.571198", + "6f4fe94a.b1ffa8", + "49fbbbb9.e37cd4" + ] + ] + }, + { + "id": "fa22a415.571198", + "type": "execute", + "name": "generate configdb add URL for nbr", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", + "comments": "", + "outputs": 1, + "x": 1127, + "y": 240.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "6f4fe94a.b1ffa8", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n", + "comments": "", + "outputs": 1, + "x": 1122, + "y": 289.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "49fbbbb9.e37cd4", + "type": "execute", + "name": "Add neighbor to Cell", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />", + "comments": "", + "outputs": 1, + "x": 1093, + "y": 367.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "e8bd439c.2947", + "780d51b3.1fe4c" + ] + ] + }, + { + "id": "e8bd439c.2947", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1295, + "y": 334.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3e77d15e.509e8e" + ] + ] + }, + { + "id": "780d51b3.1fe4c", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1287.999891281128, + "y": 413.98949909210205, + "z": "f630c4e8.64d488", + "wires": [ + [ + "ec0f9390.bc092" + ] + ] + }, + { + "id": "3e77d15e.509e8e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1455.9998779296875, + "y": 291.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "1a2c5cb9.93d263" + ] + ] + }, + { + "id": "1a2c5cb9.93d263", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification update\" />", + "comments": "", + "x": 1634.999568939209, + "y": 288.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "ec0f9390.bc092", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1445.9996337890625, + "y": 379.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "81cf5fd.7666fa" + ] + ] + }, + { + "id": "81cf5fd.7666fa", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>", + "comments": "", + "outputs": 1, + "x": 1624.9997024536133, + "y": 378.98954582214355, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "b33ddeae.aa57b", + "type": "execute", + "name": "execute DmaapMsg", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />", + "comments": "", + "outputs": 1, + "x": 665.5, + "y": 506.07290267944336, + "z": "f630c4e8.64d488", + "wires": [ + [ + "5682184.0ed98e8", + "116d5ac8.a491a5" + ] + ] + }, + { + "id": "77dfbd9a.85b724", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>", + "comments": "", + "x": 660.166748046875, + "y": 412.07290267944336, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5682184.0ed98e8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 861, + "y": 445.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "feddd5d5.b26b48" + ] + ] + }, + { + "id": "116d5ac8.a491a5", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 846.9998779296875, + "y": 579.9895286560059, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f00581ee.7161e" + ] + ] + }, + { + "id": "feddd5d5.b26b48", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1051.9998779296875, + "y": 475.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f9e8e42c.b650c8" + ] + ] + }, + { + "id": "f9e8e42c.b650c8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP message. ConfigDB Updated; TO be rolled back...will handle next release\" />", + "comments": "", + "x": 1230.999568939209, + "y": 472.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "f00581ee.7161e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1041.9996337890625, + "y": 563.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "2a523c48.546854" + ] + ] + }, + { + "id": "2a523c48.546854", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>", + "comments": "", + "outputs": 1, + "x": 1220.9997024536133, + "y": 562.9895458221436, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "283ddbe5.abd8f4", + "type": "block", + "name": "block : Publish DMAAP Message", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 416, + "y": 449.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "77dfbd9a.85b724", + "b33ddeae.aa57b" + ] + ] + }, + { + "id": "280fec55.9805a4", + "type": "comment", + "name": "DMAAP Publish Not Reqd. Just a placeholder", + "info": "", + "comments": "", + "x": 380, + "y": 503.98958587646484, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "3d43e8a.fae8d18", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #: \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "outputs": 1, + "x": 815.0005493164062, + "y": 42.9896354675293, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "c74a3b00.dbe438", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 484.085693359375, + "y": 115.95317459106445, + "z": "f630c4e8.64d488", + "wires": [ + [ + "898ea471.c49108" + ] + ] + }, + { + "id": "898ea471.c49108", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 636, + "y": 77.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3d43e8a.fae8d18", + "15326088.5383cf" + ] + ] + }, + { + "id": "15326088.5383cf", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 808, + "y": 107.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "6ebb935.a77b76c" + ] + ] + }, + { + "id": "6ebb935.a77b76c", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "outputs": 1, + "x": 959, + "y": 101.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + } +]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json new file mode 100644 index 00000000..dde223fb --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_instantiateRANSlice.json @@ -0,0 +1,586 @@ +[ + { + "id": "a5d25c75.df911", + "type": "method", + "name": "method", + "xml": "<method rpc='instantiateRANSlice' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 128, + "y": 176.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "940794b0.9ca258" + ] + ] + }, + { + "id": "6b98a8.11e82758", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 131, + "y": 26.989585876464844, + "z": "f630c4e8.64d488", + "wires": [ + [ + "cc743ed3.cedd7" + ] + ] + }, + { + "id": "cc743ed3.cedd7", + "type": "service-logic", + "name": "ran-slice-api ${project.version}", + "module": "ran-slice-api", + "version": "${project.version}", + "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": 188.99998474121094, + "y": 87.98968124389648, + "z": "f630c4e8.64d488", + "wires": [ + [ + "a5d25c75.df911" + ] + ] + }, + { + "id": "940794b0.9ca258", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 150.48959732055664, + "y": 345.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "d32cd716.eb75f8", + "5a119db3.ce9b34" + ] + ] + }, + { + "id": "d32cd716.eb75f8", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n", + "comments": "", + "x": 247.0002670288086, + "y": 575.9897727966309, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "44cfb129.2991e", + "type": "comment", + "name": "instantiateRANSlice", + "info": "", + "comments": "", + "x": 413, + "y": 20, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5a119db3.ce9b34", + "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/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>", + "comments": "", + "outputs": 1, + "x": 300.0002975463867, + "y": 155.01043319702148, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "f7ead8d5.6a76d8", + "type": "set", + "name": "set tmp variables for notif input parms", + "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "x": 770.0010986328125, + "y": 210.88906478881836, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "6e214788.4686f8", + "type": "execute", + "name": "execute Properties", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-CMNotify-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", + "comments": "", + "outputs": 1, + "x": 495.00018310546875, + "y": 176.01041793823242, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "df08b48d.a7c588", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.url`\"/>\n", + "comments": "", + "outputs": 1, + "x": 460.00030517578125, + "y": 230.01049423217773, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "3cf4985f.1d9b68", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 335, + "y": 355.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c8a0e6e.1dd9f18" + ] + ] + }, + { + "id": "c8a0e6e.1dd9f18", + "type": "block", + "name": "block : ConfigDB Update", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 514, + "y": 346.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f7ead8d5.6a76d8", + "30513601.2f1eda" + ] + ] + }, + { + "id": "30513601.2f1eda", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 731, + "y": 320.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "307d8f82.8592a" + ] + ] + }, + { + "id": "c0f7c9f8.98e818", + "type": "set", + "name": "set tmp variables for notif neigbor input parms", + "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "x": 1129, + "y": 194.9895896911621, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "307d8f82.8592a", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 864, + "y": 268.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c0f7c9f8.98e818", + "fa22a415.571198", + "6f4fe94a.b1ffa8", + "49fbbbb9.e37cd4" + ] + ] + }, + { + "id": "fa22a415.571198", + "type": "execute", + "name": "generate configdb add URL for nbr", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", + "comments": "", + "outputs": 1, + "x": 1127, + "y": 240.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "6f4fe94a.b1ffa8", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n", + "comments": "", + "outputs": 1, + "x": 1122, + "y": 289.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "49fbbbb9.e37cd4", + "type": "execute", + "name": "Add neighbor to Cell", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />", + "comments": "", + "outputs": 1, + "x": 1093, + "y": 367.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "e8bd439c.2947", + "780d51b3.1fe4c" + ] + ] + }, + { + "id": "e8bd439c.2947", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1295, + "y": 334.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3e77d15e.509e8e" + ] + ] + }, + { + "id": "780d51b3.1fe4c", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1287.999891281128, + "y": 413.98949909210205, + "z": "f630c4e8.64d488", + "wires": [ + [ + "ec0f9390.bc092" + ] + ] + }, + { + "id": "3e77d15e.509e8e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1455.9998779296875, + "y": 291.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "1a2c5cb9.93d263" + ] + ] + }, + { + "id": "1a2c5cb9.93d263", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification update\" />", + "comments": "", + "x": 1634.999568939209, + "y": 288.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "ec0f9390.bc092", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1445.9996337890625, + "y": 379.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "81cf5fd.7666fa" + ] + ] + }, + { + "id": "81cf5fd.7666fa", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>", + "comments": "", + "outputs": 1, + "x": 1624.9997024536133, + "y": 378.98954582214355, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "b33ddeae.aa57b", + "type": "execute", + "name": "execute DmaapMsg", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />", + "comments": "", + "outputs": 1, + "x": 665.5, + "y": 506.07290267944336, + "z": "f630c4e8.64d488", + "wires": [ + [ + "5682184.0ed98e8", + "116d5ac8.a491a5" + ] + ] + }, + { + "id": "77dfbd9a.85b724", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>", + "comments": "", + "x": 660.166748046875, + "y": 412.07290267944336, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5682184.0ed98e8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 861, + "y": 445.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "feddd5d5.b26b48" + ] + ] + }, + { + "id": "116d5ac8.a491a5", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 846.9998779296875, + "y": 579.9895286560059, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f00581ee.7161e" + ] + ] + }, + { + "id": "feddd5d5.b26b48", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1051.9998779296875, + "y": 475.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f9e8e42c.b650c8" + ] + ] + }, + { + "id": "f9e8e42c.b650c8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP message. ConfigDB Updated; TO be rolled back...will handle next release\" />", + "comments": "", + "x": 1230.999568939209, + "y": 472.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "f00581ee.7161e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1041.9996337890625, + "y": 563.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "2a523c48.546854" + ] + ] + }, + { + "id": "2a523c48.546854", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>", + "comments": "", + "outputs": 1, + "x": 1220.9997024536133, + "y": 562.9895458221436, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "283ddbe5.abd8f4", + "type": "block", + "name": "block : Publish DMAAP Message", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 416, + "y": 449.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "77dfbd9a.85b724", + "b33ddeae.aa57b" + ] + ] + }, + { + "id": "280fec55.9805a4", + "type": "comment", + "name": "DMAAP Publish Not Reqd. Just a placeholder", + "info": "", + "comments": "", + "x": 380, + "y": 503.98958587646484, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "3d43e8a.fae8d18", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #: \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "outputs": 1, + "x": 815.0005493164062, + "y": 42.9896354675293, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "c74a3b00.dbe438", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 484.085693359375, + "y": 115.95317459106445, + "z": "f630c4e8.64d488", + "wires": [ + [ + "898ea471.c49108" + ] + ] + }, + { + "id": "898ea471.c49108", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 636, + "y": 77.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3d43e8a.fae8d18", + "15326088.5383cf" + ] + ] + }, + { + "id": "15326088.5383cf", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 808, + "y": 107.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "6ebb935.a77b76c" + ] + ] + }, + { + "id": "6ebb935.a77b76c", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "outputs": 1, + "x": 959, + "y": 101.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + } +]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json new file mode 100644 index 00000000..e85834ca --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_terminateRANSliceInstance.json @@ -0,0 +1,586 @@ +[ + { + "id": "a5d25c75.df911", + "type": "method", + "name": "method", + "xml": "<method rpc='terminateRANSliceInstance' mode='sync'>\n", + "comments": "", + "outputs": 1, + "x": 135, + "y": 178.98959350585938, + "z": "f630c4e8.64d488", + "wires": [ + [ + "940794b0.9ca258" + ] + ] + }, + { + "id": "6b98a8.11e82758", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 131, + "y": 26.989585876464844, + "z": "f630c4e8.64d488", + "wires": [ + [ + "cc743ed3.cedd7" + ] + ] + }, + { + "id": "cc743ed3.cedd7", + "type": "service-logic", + "name": "ran-slice-api ${project.version}", + "module": "ran-slice-api", + "version": "${project.version}", + "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": 188.99998474121094, + "y": 87.98968124389648, + "z": "f630c4e8.64d488", + "wires": [ + [ + "a5d25c75.df911" + ] + ] + }, + { + "id": "940794b0.9ca258", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 150.48959732055664, + "y": 345.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "d32cd716.eb75f8", + "5a119db3.ce9b34" + ] + ] + }, + { + "id": "d32cd716.eb75f8", + "type": "returnSuccess", + "name": "return success", + "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n", + "comments": "", + "x": 247.0002670288086, + "y": 575.9897727966309, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "44cfb129.2991e", + "type": "comment", + "name": "terminateRANSliceInstance", + "info": "", + "comments": "", + "x": 415, + "y": 21, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5a119db3.ce9b34", + "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/configureNearRTRIC.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle configureNearRTRIC \"/>", + "comments": "", + "outputs": 1, + "x": 300.0002975463867, + "y": 155.01043319702148, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "f7ead8d5.6a76d8", + "type": "set", + "name": "set tmp variables for notif input parms", + "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"tmp.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id-in-use\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"tmp.lte-cell-number-of-entries\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "x": 770.0010986328125, + "y": 210.88906478881836, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "6e214788.4686f8", + "type": "execute", + "name": "execute Properties", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-CMNotify-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n", + "comments": "", + "outputs": 1, + "x": 495.00018310546875, + "y": 176.01041793823242, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "df08b48d.a7c588", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read ..configDB URL\"/>\n<parameter name=\"field2\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field3\" value=\"Properties read ..DMAAP Msg Router URL\"/>\n<parameter name=\"field4\" value=\"`$prop.configdb.url`\"/>\n<parameter name=\"field5\" value=\"`$prop.dmaap-message-router.url`\"/>\n<parameter name=\"field6\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field7\" value=\"`$prop.controller.url`\"/>\n", + "comments": "", + "outputs": 1, + "x": 460.00030517578125, + "y": 230.01049423217773, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "3cf4985f.1d9b68", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 335, + "y": 355.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c8a0e6e.1dd9f18" + ] + ] + }, + { + "id": "c8a0e6e.1dd9f18", + "type": "block", + "name": "block : ConfigDB Update", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 514, + "y": 346.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f7ead8d5.6a76d8", + "30513601.2f1eda" + ] + ] + }, + { + "id": "30513601.2f1eda", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 731, + "y": 320.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "307d8f82.8592a" + ] + ] + }, + { + "id": "c0f7c9f8.98e818", + "type": "set", + "name": "set tmp variables for notif neigbor input parms", + "xml": "<set>\n<parameter name=\"tmp.nbr.plmnid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"tmp.nbr.cid\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"tmp.nbr.phy-cell-id\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"tmp.nbr.pnf-name\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"tmp.nbr.blacklisted\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "x": 1129, + "y": 194.9895896911621, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "307d8f82.8592a", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 864, + "y": 268.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "c0f7c9f8.98e818", + "fa22a415.571198", + "6f4fe94a.b1ffa8", + "49fbbbb9.e37cd4" + ] + ] + }, + { + "id": "fa22a415.571198", + "type": "execute", + "name": "generate configdb add URL for nbr", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.add-nbrlist-change-per-notif`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.add-nbrlist-change-per-notif.url\"/>\n <parameter name=\"target\" value=\"{cellId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>", + "comments": "", + "outputs": 1, + "x": 1127, + "y": 240.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "6f4fe94a.b1ffa8", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB neighbor cell ADD\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\" />\n<parameter name='field3' value=\"`$tmp.nbr.cid`\" />\n<parameter name='field4' value=\"`$tmp.nbr.blacklisted`\" />\n", + "comments": "", + "outputs": 1, + "x": 1122, + "y": 289.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "49fbbbb9.e37cd4", + "type": "execute", + "name": "Add neighbor to Cell", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/CMNotify-add-nbr-to-configdb-per-nbrlist-change-notif.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.add-nbrlist-change-per-notif.url`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"CMNotify-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />", + "comments": "", + "outputs": 1, + "x": 1093, + "y": 367.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "e8bd439c.2947", + "780d51b3.1fe4c" + ] + ] + }, + { + "id": "e8bd439c.2947", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1295, + "y": 334.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3e77d15e.509e8e" + ] + ] + }, + { + "id": "780d51b3.1fe4c", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 1287.999891281128, + "y": 413.98949909210205, + "z": "f630c4e8.64d488", + "wires": [ + [ + "ec0f9390.bc092" + ] + ] + }, + { + "id": "3e77d15e.509e8e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1455.9998779296875, + "y": 291.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "1a2c5cb9.93d263" + ] + ] + }, + { + "id": "1a2c5cb9.93d263", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding neighbor to configdb. Aborting notification update\" />", + "comments": "", + "x": 1634.999568939209, + "y": 288.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "ec0f9390.bc092", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1445.9996337890625, + "y": 379.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "81cf5fd.7666fa" + ] + ] + }, + { + "id": "81cf5fd.7666fa", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor Added to ConfigDB \"/>", + "comments": "", + "outputs": 1, + "x": 1624.9997024536133, + "y": 378.98954582214355, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "b33ddeae.aa57b", + "type": "execute", + "name": "execute DmaapMsg", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.CMNotify-dmaap.nbrlist-change.topic`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='POST' />\n <parameter name='contentType' value='application/json' />\n <parameter name='responsePrefix' value='dmaap' />", + "comments": "", + "outputs": 1, + "x": 665.5, + "y": 506.07290267944336, + "z": "f630c4e8.64d488", + "wires": [ + [ + "5682184.0ed98e8", + "116d5ac8.a491a5" + ] + ] + }, + { + "id": "77dfbd9a.85b724", + "type": "set", + "name": "set", + "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap.requestID' value='`$prop.CMNotify-dmaap.requestID`'/>\n<parameter name='tmp.oofpcipoc-dmaap.aai' value=\"`$prop.CMNotify-dmaap.aai`\"/>\n<parameter name='tmp.oofpcipoc-dmaap.version' value='`$prop.CMNotify-dmaap.version`'/>\n<parameter name='tmp.oofpcipoc-dmaap.action' value='`$prop.CMNotify-dmaap.action`'/>\n<parameter name='tmp.oofpcipoc-dmaap.payload' value='`$nbrlist-change-notification-input.payload`'/>", + "comments": "", + "x": 660.166748046875, + "y": 412.07290267944336, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "5682184.0ed98e8", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 861, + "y": 445.9895896911621, + "z": "f630c4e8.64d488", + "wires": [ + [ + "feddd5d5.b26b48" + ] + ] + }, + { + "id": "116d5ac8.a491a5", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 846.9998779296875, + "y": 579.9895286560059, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f00581ee.7161e" + ] + ] + }, + { + "id": "feddd5d5.b26b48", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1051.9998779296875, + "y": 475.98962020874023, + "z": "f630c4e8.64d488", + "wires": [ + [ + "f9e8e42c.b650c8" + ] + ] + }, + { + "id": "f9e8e42c.b650c8", + "type": "returnFailure", + "name": "return failure", + "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error publishing DMAAP message. ConfigDB Updated; TO be rolled back...will handle next release\" />", + "comments": "", + "x": 1230.999568939209, + "y": 472.9895877838135, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "f00581ee.7161e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1041.9996337890625, + "y": 563.989559173584, + "z": "f630c4e8.64d488", + "wires": [ + [ + "2a523c48.546854" + ] + ] + }, + { + "id": "2a523c48.546854", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Message Successfully Published \"/>", + "comments": "", + "outputs": 1, + "x": 1220.9997024536133, + "y": 562.9895458221436, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "283ddbe5.abd8f4", + "type": "block", + "name": "block : Publish DMAAP Message", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 416, + "y": 449.98958587646484, + "z": "f630c4e8.64d488", + "wires": [ + [ + "77dfbd9a.85b724", + "b33ddeae.aa57b" + ] + ] + }, + { + "id": "280fec55.9805a4", + "type": "comment", + "name": "DMAAP Publish Not Reqd. Just a placeholder", + "info": "", + "comments": "", + "x": 380, + "y": 503.98958587646484, + "z": "f630c4e8.64d488", + "wires": [] + }, + { + "id": "3d43e8a.fae8d18", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. FAP #: \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].alias`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].phy-cell-id-in-use`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"Number of neigbors Changed/To Be Added #: \"/>\n<parameter name=\"field8\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\"/>", + "comments": "", + "outputs": 1, + "x": 815.0005493164062, + "y": 42.9896354675293, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + }, + { + "id": "c74a3b00.dbe438", + "type": "for", + "name": "for", + "xml": "<for index='idx' start='0' end=\"`$nbrlist-change-notification-input.fap-service-number-of-entries-changed`\" >", + "comments": "", + "outputs": 1, + "x": 484.085693359375, + "y": 115.95317459106445, + "z": "f630c4e8.64d488", + "wires": [ + [ + "898ea471.c49108" + ] + ] + }, + { + "id": "898ea471.c49108", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 636, + "y": 77.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "3d43e8a.fae8d18", + "15326088.5383cf" + ] + ] + }, + { + "id": "15326088.5383cf", + "type": "for", + "name": "for", + "xml": "<for index='idy' start='0' end=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-cell-number-of-entries`\" >", + "comments": "", + "outputs": 1, + "x": 808, + "y": 107.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [ + "6ebb935.a77b76c" + ] + ] + }, + { + "id": "6ebb935.a77b76c", + "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/ves-nbrlist-change-notif.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Neighbor #: \"/>\n<parameter name=\"field2\" value=\"`$idy`\"/>\n<parameter name=\"field3\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].cid`\"/>\n<parameter name=\"field5\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$nbrlist-change-notification-input.fap-service[$idx].lte-ran-neighbor-list-in-use-lte-cell-changed[$idy].blacklisted`\"/>", + "comments": "", + "outputs": 1, + "x": 959, + "y": 101.98958969116211, + "z": "f630c4e8.64d488", + "wires": [ + [] + ] + } +]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/resources/graph.versions b/platform-logic/ran-slice-api/src/main/resources/graph.versions new file mode 100644 index 00000000..e22a179b --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/resources/graph.versions @@ -0,0 +1,10 @@ +ran-slice-api configureNearRTRIC ${project.version} sync +ran-slice-api instantiateRANSlice ${project.version} sync +ran-slice-api configureRANSliceInstance ${project.version} sync +ran-slice-api configureCU ${project.version} sync +ran-slice-api configureDU ${project.version} sync +ran-slice-api activateRANSliceInstance ${project.version} sync +ran-slice-api deactivateRANSliceInstance ${project.version} sync +ran-slice-api terminateRANSliceInstance ${project.version} sync +ran-slice-api determineRANSliceResources ${project.version} sync +ran-slice-api configNotification ${project.version} sync diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml new file mode 100644 index 00000000..1cf36bcf --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml @@ -0,0 +1,18 @@ +<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}'> + <method rpc='activateRANSliceInstance' mode='sync'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configureNearRTRIC.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="RPC to handle configureNearRTRIC "/> + </record> + <return status='success'> + <parameter name="ack-final-indicator" value="Y" /> + <parameter name="error-code" value="200" /> + <parameter name="error-message" value="SUCCESSFUL Execution" /> + </return> + </block> + </method> +</service-logic>
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configNotification.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configNotification.xml new file mode 100644 index 00000000..2c6f8923 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configNotification.xml @@ -0,0 +1,18 @@ +<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}'> + <method rpc='configNotification' mode='sync'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configureNearRTRIC.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="RPC to handle configureNearRTRIC "/> + </record> + <return status='success'> + <parameter name="ack-final-indicator" value="Y" /> + <parameter name="error-code" value="200" /> + <parameter name="error-message" value="SUCCESSFUL Execution" /> + </return> + </block> + </method> +</service-logic>
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configureCU.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configureCU.xml new file mode 100644 index 00000000..74626ba3 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configureCU.xml @@ -0,0 +1,18 @@ +<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}'> + <method rpc='configureCU' mode='sync'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configureNearRTRIC.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="RPC to handle configureNearRTRIC "/> + </record> + <return status='success'> + <parameter name="ack-final-indicator" value="Y" /> + <parameter name="error-code" value="200" /> + <parameter name="error-message" value="SUCCESSFUL Execution" /> + </return> + </block> + </method> +</service-logic>
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configureDU.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configureDU.xml new file mode 100644 index 00000000..3335ea87 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configureDU.xml @@ -0,0 +1,18 @@ +<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}'> + <method rpc='configureDU' mode='sync'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configureNearRTRIC.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="RPC to handle configureNearRTRIC "/> + </record> + <return status='success'> + <parameter name="ack-final-indicator" value="Y" /> + <parameter name="error-code" value="200" /> + <parameter name="error-message" value="SUCCESSFUL Execution" /> + </return> + </block> + </method> +</service-logic>
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configureNearRTRIC.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configureNearRTRIC.xml new file mode 100644 index 00000000..44bc0f55 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configureNearRTRIC.xml @@ -0,0 +1,18 @@ +<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}'> + <method rpc='configureNearRTRIC' mode='sync'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configureNearRTRIC.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="RPC to handle configureNearRTRIC "/> + </record> + <return status='success'> + <parameter name="ack-final-indicator" value="Y" /> + <parameter name="error-code" value="200" /> + <parameter name="error-message" value="SUCCESSFUL Execution" /> + </return> + </block> + </method> +</service-logic>
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configureRANSliceInstance.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configureRANSliceInstance.xml new file mode 100644 index 00000000..45b4db96 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_configureRANSliceInstance.xml @@ -0,0 +1,18 @@ +<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}'> + <method rpc='configureRANSliceInstance' mode='sync'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configureNearRTRIC.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="RPC to handle configureNearRTRIC "/> + </record> + <return status='success'> + <parameter name="ack-final-indicator" value="Y" /> + <parameter name="error-code" value="200" /> + <parameter name="error-message" value="SUCCESSFUL Execution" /> + </return> + </block> + </method> +</service-logic>
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_deactivateRANSliceInstance.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_deactivateRANSliceInstance.xml new file mode 100644 index 00000000..44f399a6 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_deactivateRANSliceInstance.xml @@ -0,0 +1,18 @@ +<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}'> + <method rpc='deactivateRANSliceInstance' mode='sync'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configureNearRTRIC.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="RPC to handle configureNearRTRIC "/> + </record> + <return status='success'> + <parameter name="ack-final-indicator" value="Y" /> + <parameter name="error-code" value="200" /> + <parameter name="error-message" value="SUCCESSFUL Execution" /> + </return> + </block> + </method> +</service-logic>
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_determineRANSliceResources.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_determineRANSliceResources.xml new file mode 100644 index 00000000..d991cfaa --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_determineRANSliceResources.xml @@ -0,0 +1,18 @@ +<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}'> + <method rpc='determineRANSliceResources' mode='sync'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configureNearRTRIC.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="RPC to handle configureNearRTRIC "/> + </record> + <return status='success'> + <parameter name="ack-final-indicator" value="Y" /> + <parameter name="error-code" value="200" /> + <parameter name="error-message" value="SUCCESSFUL Execution" /> + </return> + </block> + </method> +</service-logic>
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml new file mode 100644 index 00000000..53f3bb52 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_instantiateRANSlice.xml @@ -0,0 +1,18 @@ +<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}'> + <method rpc='instantiateRANSlice' mode='sync'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configureNearRTRIC.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="RPC to handle configureNearRTRIC "/> + </record> + <return status='success'> + <parameter name="ack-final-indicator" value="Y" /> + <parameter name="error-code" value="200" /> + <parameter name="error-message" value="SUCCESSFUL Execution" /> + </return> + </block> + </method> +</service-logic>
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml new file mode 100644 index 00000000..671df6f0 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_terminateRANSliceInstance.xml @@ -0,0 +1,18 @@ +<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}'> + <method rpc='terminateRANSliceInstance' mode='sync'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/configureNearRTRIC.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="RPC to handle configureNearRTRIC "/> + </record> + <return status='success'> + <parameter name="ack-final-indicator" value="Y" /> + <parameter name="error-code" value="200" /> + <parameter name="error-message" value="SUCCESSFUL Execution" /> + </return> + </block> + </method> +</service-logic>
\ No newline at end of file |