diff options
author | 2018-09-21 13:28:25 +0000 | |
---|---|---|
committer | 2018-09-21 13:28:25 +0000 | |
commit | 98dc6ca82b047cf4358c1ba5580d205f6eb428d0 (patch) | |
tree | ab57807def85ace4eace332aa2e672b8ad1d8a05 /platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery-of-zte.json | |
parent | 9b7d5181a5a95de88b683f036c0071c9b8f2c881 (diff) | |
parent | 8a829355092c93b256211c47077367889c64940d (diff) |
Merge "add zte esr-thirdparty-sdnc discovery logic"
Former-commit-id: 42b219a4a46a261aa0d71262d8fbd91cf3e95b23
Diffstat (limited to 'platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery-of-zte.json')
-rw-r--r-- | platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery-of-zte.json | 300 |
1 files changed, 300 insertions, 0 deletions
diff --git a/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery-of-zte.json b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery-of-zte.json new file mode 100644 index 00000000..d8262519 --- /dev/null +++ b/platform-logic/datachange/src/main/json/DataChange_esr-thirdparty-sdnc-discovery-of-zte.json @@ -0,0 +1,300 @@ +[
+ {
+ "id": "461e2499.8f3954",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 98,
+ "y": 69,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "701f3038.9db4d"
+ ]
+ ]
+ },
+ {
+ "id": "701f3038.9db4d",
+ "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": 202,
+ "y": 158,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "ba25d02c.fdd0a8"
+ ]
+ ]
+ },
+ {
+ "id": "ba25d02c.fdd0a8",
+ "type": "method",
+ "name": "method esr-thirdparty-sdnc-discovery-of-zte",
+ "xml": "<method rpc='esr-thirdparty-sdnc-discovery-of-zte' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 270,
+ "y": 256,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "a3d44b66.a5094"
+ ]
+ ]
+ },
+ {
+ "id": "a3d44b66.a5094",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 194,
+ "y": 363,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "ca8f74a.2337f88"
+ ]
+ ]
+ },
+ {
+ "id": "ca8f74a.2337f88",
+ "type": "switchNode",
+ "name": "switch aai-event-trigger",
+ "xml": "<switch test=\"`$data-change-notification-input.aai-event-trigger`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 396,
+ "y": 363,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "63184cea.989334",
+ "7bf3b058.b30c4"
+ ]
+ ]
+ },
+ {
+ "id": "63184cea.989334",
+ "type": "outcome",
+ "name": "update",
+ "xml": "<outcome value='Update'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 624,
+ "y": 318,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "fdd46760.8bf7f"
+ ]
+ ]
+ },
+ {
+ "id": "7bf3b058.b30c4",
+ "type": "outcome",
+ "name": "delete",
+ "xml": "<outcome value='delete'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 622,
+ "y": 486,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "8e4adf58.75aaa"
+ ]
+ ]
+ },
+ {
+ "id": "8e4adf58.75aaa",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 797,
+ "y": 486,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [ ]
+ ]
+ },
+ {
+ "id": "fdd46760.8bf7f",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 776,
+ "y": 318,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "da8890ad.af057"
+ ]
+ ]
+ },
+ {
+ "id": "da8890ad.af057",
+ "type": "switchNode",
+ "name": "switch type",
+ "xml": "<switch test=\"`$prop.sdncRestApi.type`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 945,
+ "y": 318,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "f4b967b.17aaa18",
+ "9bc9bbca.bea01"
+ ]
+ ]
+ },
+ {
+ "id": "f4b967b.17aaa18",
+ "type": "outcome",
+ "name": "SOTN",
+ "xml": "<outcome value='SOTN'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1121,
+ "y": 253,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "8178bbaf.4eb688"
+ ]
+ ]
+ },
+ {
+ "id": "9bc9bbca.bea01",
+ "type": "outcome",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1115,
+ "y": 375,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "d8c7c62c.b1c62"
+ ]
+ ]
+ },
+ {
+ "id": "d8c7c62c.b1c62",
+ "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=\"`'Unsupported type = ' + $prop.sdncRestApi.type`\" />\n",
+ "comments": "",
+ "x": 1307,
+ "y": 375,
+ "z": "233b36a1.5b5d1a",
+ "wires": [ ]
+ },
+ {
+ "id": "8178bbaf.4eb688",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1307,
+ "y": 253,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "9fb7d11c.800968"
+ ]
+ ]
+ },
+ {
+ "id": "9fb7d11c.800968",
+ "type": "execute",
+ "name": "execute RestApiCallNode Get ZTE Topology",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/getztetopotemplate.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.url + '/restconf/operations/ZTE-API-Topology:get-topology-details'`\" />\n<parameter name=\"restapiUser\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$zte.prop.sdncRestApi.thirdpartySdnc.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"ztetopology\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.openecomp.zte.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.zte.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1627,
+ "y": 161,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "eab2d66e.d885b8",
+ "17a6c836.1328e"
+ ]
+ ]
+ },
+ {
+ "id": "eab2d66e.d885b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1909,
+ "y": 106,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "e4e6a315.e66f18"
+ ]
+ ]
+ },
+ {
+ "id": "17a6c836.1328e",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1907,
+ "y": 206,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [
+ "f408426d.ddcf3"
+ ]
+ ]
+ },
+ {
+ "id": "e4e6a315.e66f18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2108,
+ "y": 105,
+ "z": "233b36a1.5b5d1a",
+ "wires": [
+ [ ]
+ ]
+ },
+ {
+ "id": "f408426d.ddcf3",
+ "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 executing Create vpn rest api\" />\n",
+ "comments": "",
+ "x": 2103,
+ "y": 206,
+ "z": "233b36a1.5b5d1a",
+ "wires": [ ]
+ }
+]
\ No newline at end of file |