diff options
author | 2018-07-23 14:42:56 +0530 | |
---|---|---|
committer | 2018-07-23 14:43:03 +0530 | |
commit | bac0f1769ea3070fc81163715862dc27a44bd780 (patch) | |
tree | 66ceb4ea7129de7f7df6f1c37c6dfd0f186a03e8 /platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc.json | |
parent | a3f3de2ecf7d2122d02b09250a867e36b621a3af (diff) |
Datachange DG to handle ESR third party event
SDNC's AAI event consumer of esr-thirdparty information will
post the event to DataChange API. DataChangeProvider DG is requried
to process the event
Change-Id: Ic4857e32bd6941628e297aefefd2c697255f3ca2
Issue-ID: SDNC-386
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
Former-commit-id: 9e66dd112e232dab7baabdc6415ccdd7c23c0f31
Diffstat (limited to 'platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc.json')
-rw-r--r-- | platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc.json | 320 |
1 files changed, 320 insertions, 0 deletions
diff --git a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc.json b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc.json new file mode 100644 index 00000000..5c40ac4c --- /dev/null +++ b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc.json @@ -0,0 +1,320 @@ +[
+ {
+ "id": "d0fde8b6.3aa408",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 114.00390625,
+ "y": 42.00390625,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ [
+ "4796011e.231d3"
+ ]
+ ]
+ },
+ {
+ "id": "4796011e.231d3",
+ "type": "service-logic",
+ "name": "DataChange ${project.version}",
+ "module": "DataChange",
+ "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='DataChange' version='${project.version}'>",
+ "outputs": 1,
+ "x": 300.1150550842285,
+ "y": 146.44837760925293,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ [
+ "83e631da.db4b1"
+ ]
+ ]
+ },
+ {
+ "id": "83e631da.db4b1",
+ "type": "method",
+ "name": "method esr-thirdparty-sdnc",
+ "xml": "<method rpc='esr-thirdparty-sdnc' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 297.5596046447754,
+ "y": 310.2261629104614,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ [
+ "2d86f41b.00eefc"
+ ]
+ ]
+ },
+ {
+ "id": "2d86f41b.00eefc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 252.7818717956543,
+ "y": 445.1152181625366,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ [
+ "1ccf3882.d71c77",
+ "41fd63bc.2e97bc",
+ "ba86cde8.fb9f3",
+ "b799af7a.5b9c9"
+ ]
+ ]
+ },
+ {
+ "id": "ba86cde8.fb9f3",
+ "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/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"data-change-notification\"/>\n<parameter name=\"field3\" value=\"Config\"/>\n<parameter name=\"field4\" value=\"`service-url`\"/>\n<parameter name=\"field5\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 542.00390625,
+ "y": 516.00390625,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1ccf3882.d71c77",
+ "type": "call",
+ "name": "call validate-esr-thirdparty-sdnc-input",
+ "xml": "<call module='DataChange' rpc='validate-esr-thirdparty-sdnc-input' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 655.7815399169922,
+ "y": 379.0037097930908,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "41fd63bc.2e97bc",
+ "type": "for",
+ "name": "for 0..key-data_length",
+ "xml": "<for index='idx' start='0' end='`$data-change-notification-input.key-data_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 590.4480133056641,
+ "y": 461.19469451904297,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ [
+ "b1d2d6de.13b948"
+ ]
+ ]
+ },
+ {
+ "id": "b1d2d6de.13b948",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 762.3374786376953,
+ "y": 460.4169397354126,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ [
+ "1ad86336.4ad5cd",
+ "fa2d7e75.6219e",
+ "5d462805.1bcf28",
+ "44977471.592c0c"
+ ]
+ ]
+ },
+ {
+ "id": "1ad86336.4ad5cd",
+ "type": "switchNode",
+ "name": "switch service-url",
+ "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'service-url'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 974.5591812133789,
+ "y": 370.5280923843384,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ [
+ "49195641.421748"
+ ]
+ ]
+ },
+ {
+ "id": "49195641.421748",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1138.5593032836914,
+ "y": 369.5593252182007,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ [
+ "68e2f0ac.a4549"
+ ]
+ ]
+ },
+ {
+ "id": "68e2f0ac.a4549",
+ "type": "set",
+ "name": "set service-url",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
+ "comments": "",
+ "x": 1292.5593948364258,
+ "y": 369.1593189239502,
+ "z": "57a3a26d.f7d23c",
+ "wires": []
+ },
+ {
+ "id": "fa2d7e75.6219e",
+ "type": "switchNode",
+ "name": "switch user-name",
+ "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'user-name'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 971.8489265441895,
+ "y": 439.7751522064209,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ [
+ "4a967272.ac408c"
+ ]
+ ]
+ },
+ {
+ "id": "4a967272.ac408c",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1140.8489151000977,
+ "y": 437.8063955307007,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ [
+ "a97aae71.052dc"
+ ]
+ ]
+ },
+ {
+ "id": "a97aae71.052dc",
+ "type": "set",
+ "name": "set user",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.user' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
+ "comments": "",
+ "x": 1276.8490676879883,
+ "y": 437.40638637542725,
+ "z": "57a3a26d.f7d23c",
+ "wires": []
+ },
+ {
+ "id": "5d462805.1bcf28",
+ "type": "switchNode",
+ "name": "switch password",
+ "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'password'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 969.6267585754395,
+ "y": 505.33070182800293,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ [
+ "aa2c8a18.06def8"
+ ]
+ ]
+ },
+ {
+ "id": "aa2c8a18.06def8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1141.6267166137695,
+ "y": 505.36194705963135,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ [
+ "ae62fe3a.d8789"
+ ]
+ ]
+ },
+ {
+ "id": "ae62fe3a.d8789",
+ "type": "set",
+ "name": "set password",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.password' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
+ "comments": "",
+ "x": 1296.6269607543945,
+ "y": 503.9619264602661,
+ "z": "57a3a26d.f7d23c",
+ "wires": []
+ },
+ {
+ "id": "b799af7a.5b9c9",
+ "type": "call",
+ "name": "call esr-thirdparty-sdnc-discovery",
+ "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-discovery' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 613.4416656494141,
+ "y": 587.5529069900513,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "44977471.592c0c",
+ "type": "switchNode",
+ "name": "switch esr-system-info-id",
+ "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'esr-system-info-id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 991.4480667114258,
+ "y": 559.3370685577393,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ [
+ "e1fdba16.c57aa8"
+ ]
+ ]
+ },
+ {
+ "id": "e1fdba16.c57aa8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1166.4480438232422,
+ "y": 557.3682584762573,
+ "z": "57a3a26d.f7d23c",
+ "wires": [
+ [
+ "3f219327.b83efc"
+ ]
+ ]
+ },
+ {
+ "id": "3f219327.b83efc",
+ "type": "set",
+ "name": "set esr-system-info-id",
+ "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
+ "comments": "",
+ "x": 1332.448013305664,
+ "y": 558.968282699585,
+ "z": "57a3a26d.f7d23c",
+ "wires": []
+ }
+]
\ No newline at end of file |