aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-vnf-topology-operation-change-huawei.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-vnf-topology-operation-change-huawei.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-vnf-topology-operation-change-huawei.json234
1 files changed, 139 insertions, 95 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-vnf-topology-operation-change-huawei.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-vnf-topology-operation-change-huawei.json
index 3623c26c..271c3ef4 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-vnf-topology-operation-change-huawei.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-vnf-topology-operation-change-huawei.json
@@ -1,20 +1,20 @@
[
{
- "id": "30e08a8.30d50f6",
+ "id": "2827b574.5d0a5a",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 109.75,
- "y": 57.75,
- "z": "f67d7469.c15c48",
+ "x": 88.75,
+ "y": 77,
+ "z": "db4a8a9e.7821b8",
"wires": [
[
- "48f4fbce.5d31ac"
+ "140d5ce7.fff6d3"
]
]
},
{
- "id": "48f4fbce.5d31ac",
+ "id": "140d5ce7.fff6d3",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,206 +22,250 @@
"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='GENERIC-RESOURCE-API' version='${project.version}'>",
"outputs": 1,
- "x": 417.74964904785156,
- "y": 57.75002193450928,
- "z": "f67d7469.c15c48",
+ "x": 396.74964904785156,
+ "y": 77.00002193450928,
+ "z": "db4a8a9e.7821b8",
"wires": [
[
- "74687d07.30906c"
+ "a22a267b.703cc"
]
]
},
{
- "id": "74687d07.30906c",
+ "id": "a22a267b.703cc",
"type": "method",
"name": "method:bbs-internet-profile-vnf-topology-operation-change-huawei",
"xml": "<method rpc='bbs-internet-profile-vnf-topology-operation-change-huawei' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 415.74964904785156,
- "y": 253.75006198883057,
- "z": "f67d7469.c15c48",
+ "x": 394.74964904785156,
+ "y": 273.00006198883057,
+ "z": "db4a8a9e.7821b8",
"wires": [
[
- "4da1c203.90ca44"
+ "ff51862c.680cf"
]
]
},
{
- "id": "4da1c203.90ca44",
+ "id": "ff51862c.680cf",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 822.7498626708984,
- "y": 254.75006198883057,
- "z": "f67d7469.c15c48",
+ "x": 801.7498626708984,
+ "y": 274.00006198883057,
+ "z": "db4a8a9e.7821b8",
"wires": [
[
- "dd2b33a2.9b6cb8",
- "562f3ae4.b70bec",
- "39abed71.23fa8a"
+ "4bd5e314.3dca5c",
+ "eb68bb85.4ef888",
+ "21691e47.3dfbe2",
+ "5fb0bbe8.44e5cc",
+ "1dfe4746.2621f9"
]
]
},
{
- "id": "562f3ae4.b70bec",
+ "id": "1dfe4746.2621f9",
"type": "execute",
"name": "execute:ChangeInternetProfileInstance",
"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\"/>",
"comments": "",
"outputs": 1,
- "x": 1149.75,
- "y": 255.75,
- "z": "f67d7469.c15c48",
+ "x": 1119.75,
+ "y": 272,
+ "z": "db4a8a9e.7821b8",
"wires": [
[
- "218b60aa.c94c1",
- "4970adb.e3682d4"
+ "8f54d9cf.14791",
+ "cb1b12c0.cbc068"
]
]
},
{
- "id": "4970adb.e3682d4",
+ "id": "cb1b12c0.cbc068",
"type": "outcome",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1451.0829811096191,
- "y": 255.75,
- "z": "f67d7469.c15c48",
+ "x": 1430.0829811096191,
+ "y": 275,
+ "z": "db4a8a9e.7821b8",
"wires": [
[
- "651aa8da.9f2b6"
+ "64b06154.bbf13"
]
]
},
{
- "id": "218b60aa.c94c1",
+ "id": "8f54d9cf.14791",
"type": "outcome",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1460.082893371582,
- "y": 330.75000190734863,
- "z": "f67d7469.c15c48",
+ "x": 1439.082893371582,
+ "y": 350.00000190734863,
+ "z": "db4a8a9e.7821b8",
"wires": [
[
- "ac4ee16c.6acf"
+ "da2a9799.3fd878"
]
]
},
{
- "id": "ac4ee16c.6acf",
+ "id": "64b06154.bbf13",
+ "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 failed to call ChangeInternetProfileInstance\" />\n",
+ "comments": "",
+ "x": 1939.0165939331055,
+ "y": 275.28954792022705,
+ "z": "db4a8a9e.7821b8",
+ "wires": []
+ },
+ {
+ "id": "eb68bb85.4ef888",
+ "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=\"`$error-message`\" />\n",
+ "comments": "",
+ "x": 1051.598876953125,
+ "y": 608.039306640625,
+ "z": "db4a8a9e.7821b8",
+ "wires": []
+ },
+ {
+ "id": "4bd5e314.3dca5c",
+ "type": "call",
+ "name": "call:bbs-internet-profile-vnf-topology-operation-common-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-vnf-topology-operation-common-huawei' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1210.765869140625,
+ "y": 191.03915405273438,
+ "z": "db4a8a9e.7821b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "21691e47.3dfbe2",
+ "type": "call",
+ "name": "call bbs-internet-profile-vnf-topology-operation-delete-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-vnf-topology-operation-delete-huawei' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1208.75,
+ "y": 406.75,
+ "z": "db4a8a9e.7821b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5fb0bbe8.44e5cc",
+ "type": "call",
+ "name": "call bbs-internet-profile-vnf-topology-operation-create-huawei",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-vnf-topology-operation-create-huawei' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1208,
+ "y": 491.75,
+ "z": "db4a8a9e.7821b8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "da2a9799.3fd878",
"type": "switchNode",
"name": "switch:service-result",
- "xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",
+ "xml": "<switch test=\"`$service-result.status`\">\n",
"comments": "",
"outputs": 1,
- "x": 1695.0990142822266,
- "y": 329.78929710388184,
- "z": "f67d7469.c15c48",
+ "x": 1641.75,
+ "y": 345.75,
+ "z": "db4a8a9e.7821b8",
"wires": [
[
- "7fde3fda.e84e4",
- "b0522dad.def458"
+ "648e2996.26021",
+ "d5ee3d66.d58ce"
]
]
},
{
- "id": "651aa8da.9f2b6",
- "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 failed to call ChangeInternetProfileInstance\" />\n",
- "comments": "",
- "x": 1960.0165939331055,
- "y": 256.03954792022705,
- "z": "f67d7469.c15c48",
- "wires": []
- },
- {
- "id": "7fde3fda.e84e4",
+ "id": "648e2996.26021",
"type": "outcome",
"name": "Other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1921.0993537902832,
- "y": 330.78939056396484,
- "z": "f67d7469.c15c48",
+ "x": 1867.7503395080566,
+ "y": 346.750093460083,
+ "z": "db4a8a9e.7821b8",
"wires": [
[
- "26ffbe03.508d62"
+ "357ad26f.f6abce"
]
]
},
{
- "id": "b0522dad.def458",
+ "id": "d5ee3d66.d58ce",
"type": "outcome",
- "name": "NULL",
- "xml": "<outcome value=''>\n",
+ "name": "ok",
+ "xml": "<outcome value='ok'>\n",
"comments": "",
"outputs": 1,
- "x": 1931.0990600585938,
- "y": 416.78925704956055,
- "z": "f67d7469.c15c48",
+ "x": 1876.7501068115234,
+ "y": 432.7499485015869,
+ "z": "db4a8a9e.7821b8",
"wires": [
[
- "5ce83dfd.6c2514"
+ "88d9f41b.15a318"
]
]
},
{
- "id": "26ffbe03.508d62",
+ "id": "357ad26f.f6abce",
"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 ChangeInternetProfileInstance return: '+$service-result.errors.error[0].error-message`\" />\n\n",
+ "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",
"comments": "",
- "x": 2107.599021911621,
- "y": 330.78922748565674,
- "z": "f67d7469.c15c48",
+ "x": 2054.2500076293945,
+ "y": 346.7499303817749,
+ "z": "db4a8a9e.7821b8",
"wires": []
},
{
- "id": "5ce83dfd.6c2514",
+ "id": "88d9f41b.15a318",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2089.2656898498535,
- "y": 417.7892322540283,
- "z": "f67d7469.c15c48",
+ "x": 2151.9166107177734,
+ "y": 429.7499485015869,
+ "z": "db4a8a9e.7821b8",
"wires": [
[]
]
},
{
- "id": "39abed71.23fa8a",
- "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=\"`$error-message`\" />\n",
- "comments": "",
- "x": 1065.5989570617676,
- "y": 337.7893257141113,
- "z": "f67d7469.c15c48",
- "wires": []
- },
- {
- "id": "dd2b33a2.9b6cb8",
- "type": "call",
- "name": "call:bbs-internet-profile-vnf-topology-operation-common-huawei",
- "xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-vnf-topology-operation-common-huawei' mode='sync' >\n",
+ "id": "19293418.3b3464",
+ "type": "record",
+ "name": "log file",
+ "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 ",
"comments": "",
"outputs": 1,
- "x": 1251.765869140625,
- "y": 169.78915786743164,
- "z": "f67d7469.c15c48",
+ "x": 2155.6509857177734,
+ "y": 519.4607028961182,
+ "z": "db4a8a9e.7821b8",
"wires": [
[]
]