[\r
{\r
- "id": "30e08a8.30d50f6",\r
+ "id": "2827b574.5d0a5a",\r
"type": "dgstart",\r
"name": "DGSTART",\r
"outputs": 1,\r
- "x": 109.75,\r
- "y": 57.75,\r
- "z": "f67d7469.c15c48",\r
+ "x": 88.75,\r
+ "y": 77,\r
+ "z": "db4a8a9e.7821b8",\r
"wires": [\r
[\r
- "48f4fbce.5d31ac"\r
+ "140d5ce7.fff6d3"\r
]\r
]\r
},\r
{\r
- "id": "48f4fbce.5d31ac",\r
+ "id": "140d5ce7.fff6d3",\r
"type": "service-logic",\r
"name": "GENERIC-RESOURCE-API ${project.version}",\r
"module": "GENERIC-RESOURCE-API",\r
"comments": "",\r
"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='GENERIC-RESOURCE-API' version='${project.version}'>",\r
"outputs": 1,\r
- "x": 417.74964904785156,\r
- "y": 57.75002193450928,\r
- "z": "f67d7469.c15c48",\r
+ "x": 396.74964904785156,\r
+ "y": 77.00002193450928,\r
+ "z": "db4a8a9e.7821b8",\r
"wires": [\r
[\r
- "74687d07.30906c"\r
+ "a22a267b.703cc"\r
]\r
]\r
},\r
{\r
- "id": "74687d07.30906c",\r
+ "id": "a22a267b.703cc",\r
"type": "method",\r
"name": "method:bbs-internet-profile-vnf-topology-operation-change-huawei",\r
"xml": "<method rpc='bbs-internet-profile-vnf-topology-operation-change-huawei' mode='sync'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 415.74964904785156,\r
- "y": 253.75006198883057,\r
- "z": "f67d7469.c15c48",\r
+ "x": 394.74964904785156,\r
+ "y": 273.00006198883057,\r
+ "z": "db4a8a9e.7821b8",\r
"wires": [\r
[\r
- "4da1c203.90ca44"\r
+ "ff51862c.680cf"\r
]\r
]\r
},\r
{\r
- "id": "4da1c203.90ca44",\r
+ "id": "ff51862c.680cf",\r
"type": "block",\r
"name": "block : atomic",\r
"xml": "<block atomic=\"true\">\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 822.7498626708984,\r
- "y": 254.75006198883057,\r
- "z": "f67d7469.c15c48",\r
+ "x": 801.7498626708984,\r
+ "y": 274.00006198883057,\r
+ "z": "db4a8a9e.7821b8",\r
"wires": [\r
[\r
- "dd2b33a2.9b6cb8",\r
- "562f3ae4.b70bec",\r
- "39abed71.23fa8a"\r
+ "4bd5e314.3dca5c",\r
+ "eb68bb85.4ef888",\r
+ "21691e47.3dfbe2",\r
+ "5fb0bbe8.44e5cc",\r
+ "1dfe4746.2621f9"\r
]\r
]\r
},\r
{\r
- "id": "562f3ae4.b70bec",\r
+ "id": "1dfe4746.2621f9",\r
"type": "execute",\r
"name": "execute:ChangeInternetProfileInstance",\r
"xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-internet-profile-operation.json'`\" />\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/ChangeInternetProfileInstance'`\" />\n <parameter name=\"contentType\" value=\"application/json\"/>\n <parameter name=\"httpMethod\" value=\"post\"/>\n <parameter name=\"responsePrefix\" value=\"service-result\"/>",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1149.75,\r
- "y": 255.75,\r
- "z": "f67d7469.c15c48",\r
+ "x": 1119.75,\r
+ "y": 272,\r
+ "z": "db4a8a9e.7821b8",\r
"wires": [\r
[\r
- "218b60aa.c94c1",\r
- "4970adb.e3682d4"\r
+ "8f54d9cf.14791",\r
+ "cb1b12c0.cbc068"\r
]\r
]\r
},\r
{\r
- "id": "4970adb.e3682d4",\r
+ "id": "cb1b12c0.cbc068",\r
"type": "outcome",\r
"name": "failure",\r
"xml": "<outcome value='failure'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1451.0829811096191,\r
- "y": 255.75,\r
- "z": "f67d7469.c15c48",\r
+ "x": 1430.0829811096191,\r
+ "y": 275,\r
+ "z": "db4a8a9e.7821b8",\r
"wires": [\r
[\r
- "651aa8da.9f2b6"\r
+ "64b06154.bbf13"\r
]\r
]\r
},\r
{\r
- "id": "218b60aa.c94c1",\r
+ "id": "8f54d9cf.14791",\r
"type": "outcome",\r
"name": "success",\r
"xml": "<outcome value='success'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1460.082893371582,\r
- "y": 330.75000190734863,\r
- "z": "f67d7469.c15c48",\r
+ "x": 1439.082893371582,\r
+ "y": 350.00000190734863,\r
+ "z": "db4a8a9e.7821b8",\r
"wires": [\r
[\r
- "ac4ee16c.6acf"\r
+ "da2a9799.3fd878"\r
]\r
]\r
},\r
{\r
- "id": "ac4ee16c.6acf",\r
+ "id": "64b06154.bbf13",\r
+ "type": "returnFailure",\r
+ "name": "return failure",\r
+ "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 failed to call ChangeInternetProfileInstance\" />\n",\r
+ "comments": "",\r
+ "x": 1939.0165939331055,\r
+ "y": 275.28954792022705,\r
+ "z": "db4a8a9e.7821b8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "eb68bb85.4ef888",\r
+ "type": "returnSuccess",\r
+ "name": "return success",\r
+ "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=\"`$error-message`\" />\n",\r
+ "comments": "",\r
+ "x": 1051.598876953125,\r
+ "y": 608.039306640625,\r
+ "z": "db4a8a9e.7821b8",\r
+ "wires": []\r
+ },\r
+ {\r
+ "id": "4bd5e314.3dca5c",\r
+ "type": "call",\r
+ "name": "call:bbs-internet-profile-vnf-topology-operation-common-huawei",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-vnf-topology-operation-common-huawei' mode='sync' >\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1210.765869140625,\r
+ "y": 191.03915405273438,\r
+ "z": "db4a8a9e.7821b8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "21691e47.3dfbe2",\r
+ "type": "call",\r
+ "name": "call bbs-internet-profile-vnf-topology-operation-delete-huawei",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-vnf-topology-operation-delete-huawei' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1208.75,\r
+ "y": 406.75,\r
+ "z": "db4a8a9e.7821b8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "5fb0bbe8.44e5cc",\r
+ "type": "call",\r
+ "name": "call bbs-internet-profile-vnf-topology-operation-create-huawei",\r
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-vnf-topology-operation-create-huawei' mode='sync'>\n",\r
+ "comments": "",\r
+ "outputs": 1,\r
+ "x": 1208,\r
+ "y": 491.75,\r
+ "z": "db4a8a9e.7821b8",\r
+ "wires": [\r
+ []\r
+ ]\r
+ },\r
+ {\r
+ "id": "da2a9799.3fd878",\r
"type": "switchNode",\r
"name": "switch:service-result",\r
- "xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",\r
+ "xml": "<switch test=\"`$service-result.status`\">\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1695.0990142822266,\r
- "y": 329.78929710388184,\r
- "z": "f67d7469.c15c48",\r
+ "x": 1641.75,\r
+ "y": 345.75,\r
+ "z": "db4a8a9e.7821b8",\r
"wires": [\r
[\r
- "7fde3fda.e84e4",\r
- "b0522dad.def458"\r
+ "648e2996.26021",\r
+ "d5ee3d66.d58ce"\r
]\r
]\r
},\r
{\r
- "id": "651aa8da.9f2b6",\r
- "type": "returnFailure",\r
- "name": "return failure",\r
- "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 failed to call ChangeInternetProfileInstance\" />\n",\r
- "comments": "",\r
- "x": 1960.0165939331055,\r
- "y": 256.03954792022705,\r
- "z": "f67d7469.c15c48",\r
- "wires": []\r
- },\r
- {\r
- "id": "7fde3fda.e84e4",\r
+ "id": "648e2996.26021",\r
"type": "outcome",\r
"name": "Other",\r
"xml": "<outcome value='Other'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1921.0993537902832,\r
- "y": 330.78939056396484,\r
- "z": "f67d7469.c15c48",\r
+ "x": 1867.7503395080566,\r
+ "y": 346.750093460083,\r
+ "z": "db4a8a9e.7821b8",\r
"wires": [\r
[\r
- "26ffbe03.508d62"\r
+ "357ad26f.f6abce"\r
]\r
]\r
},\r
{\r
- "id": "b0522dad.def458",\r
+ "id": "d5ee3d66.d58ce",\r
"type": "outcome",\r
- "name": "NULL",\r
- "xml": "<outcome value=''>\n",\r
+ "name": "ok",\r
+ "xml": "<outcome value='ok'>\n",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1931.0990600585938,\r
- "y": 416.78925704956055,\r
- "z": "f67d7469.c15c48",\r
+ "x": 1876.7501068115234,\r
+ "y": 432.7499485015869,\r
+ "z": "db4a8a9e.7821b8",\r
"wires": [\r
[\r
- "5ce83dfd.6c2514"\r
+ "88d9f41b.15a318"\r
]\r
]\r
},\r
{\r
- "id": "26ffbe03.508d62",\r
+ "id": "357ad26f.f6abce",\r
"type": "returnFailure",\r
"name": "return failure",\r
- "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 ChangeInternetProfileInstance return: '+$service-result.errors.error[0].error-message`\" />\n\n",\r
+ "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 ChangeInternetProfileInstance return: '+$service-result.status`\" />\n\n",\r
"comments": "",\r
- "x": 2107.599021911621,\r
- "y": 330.78922748565674,\r
- "z": "f67d7469.c15c48",\r
+ "x": 2054.2500076293945,\r
+ "y": 346.7499303817749,\r
+ "z": "db4a8a9e.7821b8",\r
"wires": []\r
},\r
{\r
- "id": "5ce83dfd.6c2514",\r
+ "id": "88d9f41b.15a318",\r
"type": "block",\r
"name": "block",\r
"xml": "<block>\n",\r
"atomic": "false",\r
"comments": "",\r
"outputs": 1,\r
- "x": 2089.2656898498535,\r
- "y": 417.7892322540283,\r
- "z": "f67d7469.c15c48",\r
+ "x": 2151.9166107177734,\r
+ "y": 429.7499485015869,\r
+ "z": "db4a8a9e.7821b8",\r
"wires": [\r
[]\r
]\r
},\r
{\r
- "id": "39abed71.23fa8a",\r
- "type": "returnSuccess",\r
- "name": "return success",\r
- "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=\"`$error-message`\" />\n",\r
- "comments": "",\r
- "x": 1065.5989570617676,\r
- "y": 337.7893257141113,\r
- "z": "f67d7469.c15c48",\r
- "wires": []\r
- },\r
- {\r
- "id": "dd2b33a2.9b6cb8",\r
- "type": "call",\r
- "name": "call:bbs-internet-profile-vnf-topology-operation-common-huawei",\r
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-vnf-topology-operation-common-huawei' mode='sync' >\n",\r
+ "id": "19293418.3b3464",\r
+ "type": "record",\r
+ "name": "log file",\r
+ "xml": " <record plugin='org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder'>\n <parameter name='logger' value='message-log'/>\n <parameter name='field1' value='my status`'/>\n <parameter name='field2' value='status ok'/>\n\n\n\n <!--<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">-->\n <!-- <parameter name=\"file\" value=\"/root/logx.txt\" />-->\n <!-- <parameter name=\"field1\" value=\"deleteAccessConnectivityService success!\" />-->\n <!-- <parameter name=\"field2\" value='`$topology.networks.network[0].network-types`' />-->\n ",\r
"comments": "",\r
"outputs": 1,\r
- "x": 1251.765869140625,\r
- "y": 169.78915786743164,\r
- "z": "f67d7469.c15c48",\r
+ "x": 2155.6509857177734,\r
+ "y": 519.4607028961182,\r
+ "z": "db4a8a9e.7821b8",\r
"wires": [\r
[]\r
]\r