aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-of-zte.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-of-zte.json')
-rw-r--r--platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-of-zte.json388
1 files changed, 374 insertions, 14 deletions
diff --git a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-of-zte.json b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-of-zte.json
index 0e93be66..4212c38a 100644
--- a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-of-zte.json
+++ b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-of-zte.json
@@ -1,20 +1,20 @@
[
{
- "id": "c4dfa871.acfb38",
+ "id": "78797449.a69d64",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 131,
- "y": 100,
- "z": "b1682cba.152",
+ "x": 95,
+ "y": 72,
+ "z": "eab52334.be231",
"wires": [
[
- "b06bc6e2.9ba258"
+ "77d260.33eeb5a"
]
]
},
{
- "id": "b06bc6e2.9ba258",
+ "id": "77d260.33eeb5a",
"type": "service-logic",
"name": "DataChange ${project.version}",
"module": "DataChange",
@@ -22,25 +22,385 @@
"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": 275,
- "y": 213,
- "z": "b1682cba.152",
+ "x": 239,
+ "y": 185,
+ "z": "eab52334.be231",
"wires": [
[
- "94182378.e4944"
+ "63d24477.5e1d24"
]
]
},
{
- "id": "94182378.e4944",
+ "id": "63d24477.5e1d24",
"type": "method",
"name": "method esr-thirdparty-sdnc-of-zte",
"xml": "<method rpc='esr-thirdparty-sdnc-of-zte' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 200,
- "y": 327,
- "z": "b1682cba.152",
+ "x": 164,
+ "y": 299,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "f10c2099.6d37a"
+ ]
+ ]
+ },
+ {
+ "id": "f10c2099.6d37a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 93,
+ "y": 433,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "c6e14b97.61ebb8",
+ "336b2c1.b23ca54",
+ "ebdf7595.352788",
+ "bd214a4f.a0427"
+ ]
+ ]
+ },
+ {
+ "id": "c6e14b97.61ebb8",
+ "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": 451,
+ "y": 368,
+ "z": "eab52334.be231",
+ "wires": [
+ [ ]
+ ]
+ },
+ {
+ "id": "336b2c1.b23ca54",
+ "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": 354,
+ "y": 438,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "75c90043.ea9e58"
+ ]
+ ]
+ },
+ {
+ "id": "75c90043.ea9e58",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 545,
+ "y": 439,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "128f1b66.00dc0d",
+ "c1d27f5c.c264f8",
+ "1a08949.79fd66b",
+ "8cc1f05e.92f468",
+ "25639564.010e22",
+ "7b8ba016.fbb3e8"
+ ]
+ ]
+ },
+ {
+ "id": "128f1b66.00dc0d",
+ "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": 754,
+ "y": 370,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "a2c28074.c9e3a8"
+ ]
+ ]
+ },
+ {
+ "id": "c1d27f5c.c264f8",
+ "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": 754,
+ "y": 433,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "1403e272.365546"
+ ]
+ ]
+ },
+ {
+ "id": "1a08949.79fd66b",
+ "type": "switchNode",
+ "name": "switch password",
+ "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'password'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 750,
+ "y": 492,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "ad2ddd93.50432"
+ ]
+ ]
+ },
+ {
+ "id": "8cc1f05e.92f468",
+ "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": 777,
+ "y": 555,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "e0b54647.aef0b8"
+ ]
+ ]
+ },
+ {
+ "id": "25639564.010e22",
+ "type": "switchNode",
+ "name": "switch thirdparty-sdnc-id",
+ "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'thirdparty-sdnc-id'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 776,
+ "y": 616,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "ec3c7d9e.1913d8"
+ ]
+ ]
+ },
+ {
+ "id": "7b8ba016.fbb3e8",
+ "type": "switchNode",
+ "name": "switch type",
+ "xml": "<switch test=\"`$data-change-notification-input.key-data[$idx].key-name == 'type'`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 735,
+ "y": 683,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "10575d8e.fe0d6a"
+ ]
+ ]
+ },
+ {
+ "id": "a2c28074.c9e3a8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 973,
+ "y": 370,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "767b34d1.0a080c"
+ ]
+ ]
+ },
+ {
+ "id": "1403e272.365546",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 972,
+ "y": 432,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "92e73df5.564cf"
+ ]
+ ]
+ },
+ {
+ "id": "ad2ddd93.50432",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 972,
+ "y": 491,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "9fc08956.e0f9c"
+ ]
+ ]
+ },
+ {
+ "id": "e0b54647.aef0b8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 972,
+ "y": 555,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "1343e358.22771d"
+ ]
+ ]
+ },
+ {
+ "id": "ec3c7d9e.1913d8",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 969,
+ "y": 616,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "223f6129.11e8ee"
+ ]
+ ]
+ },
+ {
+ "id": "10575d8e.fe0d6a",
+ "type": "outcomeTrue",
+ "name": "true",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 968,
+ "y": 682,
+ "z": "eab52334.be231",
+ "wires": [
+ [
+ "a24c3d6c.c679f8"
+ ]
+ ]
+ },
+ {
+ "id": "767b34d1.0a080c",
+ "type": "set",
+ "name": "set service-url",
+ "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.url' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
+ "comments": "",
+ "x": 1151,
+ "y": 370,
+ "z": "eab52334.be231",
+ "wires": [ ]
+ },
+ {
+ "id": "92e73df5.564cf",
+ "type": "set",
+ "name": "set user",
+ "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.user' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
+ "comments": "",
+ "x": 1151,
+ "y": 432,
+ "z": "eab52334.be231",
+ "wires": [ ]
+ },
+ {
+ "id": "9fc08956.e0f9c",
+ "type": "set",
+ "name": "set password",
+ "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.password' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
+ "comments": "",
+ "x": 1152,
+ "y": 491,
+ "z": "eab52334.be231",
+ "wires": [ ]
+ },
+ {
+ "id": "1343e358.22771d",
+ "type": "set",
+ "name": "set system-info-id",
+ "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.system-info-id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
+ "comments": "",
+ "x": 1150,
+ "y": 555,
+ "z": "eab52334.be231",
+ "wires": [ ]
+ },
+ {
+ "id": "223f6129.11e8ee",
+ "type": "set",
+ "name": "set thirdparty-sdnc-id",
+ "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.thirdpartySdnc.id' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
+ "comments": "",
+ "x": 1148,
+ "y": 616,
+ "z": "eab52334.be231",
+ "wires": [ ]
+ },
+ {
+ "id": "a24c3d6c.c679f8",
+ "type": "set",
+ "name": "set type",
+ "xml": "<set>\n<parameter name='zte.prop.sdncRestApi.type' value='`$data-change-notification-input.key-data[$idx].key-value`' />\n",
+ "comments": "",
+ "x": 1148,
+ "y": 682,
+ "z": "eab52334.be231",
+ "wires": [ ]
+ },
+ {
+ "id": "ebdf7595.352788",
+ "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/zte.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=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 304,
+ "y": 525,
+ "z": "eab52334.be231",
+ "wires": [
+ [ ]
+ ]
+ },
+ {
+ "id": "bd214a4f.a0427",
+ "type": "call",
+ "name": "call esr-thirdparty-sdnc-discovery-of-zte",
+ "xml": "<call module='DataChange' rpc='esr-thirdparty-sdnc-discovery-of-zte' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 395,
+ "y": 615,
+ "z": "eab52334.be231",
"wires": [
[ ]
]