aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-vnf-topology-operation-create-hu...
diff options
context:
space:
mode:
authorRahul_cool <rahul.tamrkar@huawei.com>2020-04-03 17:44:54 +0530
committerRahul_cool <rahul.tamrkar@huawei.com>2020-04-03 20:33:58 +0530
commit36b54b31d97fd230a18aefe0af76cbdefd95a89d (patch)
tree62d6032140b8f776a5c141c404d3109375ffb5a0 /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-vnf-topology-operation-create-huawei.json
parentdeb729cf3099ad58cb8c243101c37904da4fe349 (diff)
Bug fixed related to service-instance metadat
Issue-ID: SDNC-1021 Signed-off-by: Rahul_cool <rahul.tamrkar@huawei.com> Change-Id: I5a48fd7e119ba4a4c32daa33785e637521315838 Former-commit-id: 5a25099f4388a07809b5f5501cbf14035f860d78
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-vnf-topology-operation-create-huawei.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-vnf-topology-operation-create-huawei.json833
1 files changed, 424 insertions, 409 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-vnf-topology-operation-create-huawei.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-vnf-topology-operation-create-huawei.json
index 9a631975..49e1d4ba 100644
--- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-vnf-topology-operation-create-huawei.json
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-access-connectivity-vnf-topology-operation-create-huawei.json
@@ -1,20 +1,20 @@
[
{
- "id": "1d6261af.026296",
+ "id": "1dfeb3dd.1c381c",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 106.75,
- "y": 146.00012969970703,
- "z": "e0329916.b170f8",
+ "x": 119.75,
+ "y": 180.00012969970703,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "4f356558.c09824"
+ "64cbb377.7c0bf4"
]
]
},
{
- "id": "4f356558.c09824",
+ "id": "64cbb377.7c0bf4",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@ -22,1194 +22,1209 @@
"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": 399.74940490722656,
- "y": 146.0000295639038,
- "z": "e0329916.b170f8",
+ "x": 412.74940490722656,
+ "y": 180.0000295639038,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "f6fdf774.8bb96"
+ "520c0a59.153664"
]
]
},
{
- "id": "f6fdf774.8bb96",
+ "id": "520c0a59.153664",
"type": "method",
"name": "method:bbs-access-connectivity-vnf-topology-operation-create-huawei",
"xml": "<method rpc='bbs-access-connectivity-vnf-topology-operation-create-huawei' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 397.74940490722656,
- "y": 342.0000696182251,
- "z": "e0329916.b170f8",
+ "x": 410.74940490722656,
+ "y": 376.0000696182251,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "f3bcfb95.a6758"
+ "acdb8fbc.c4c32"
]
]
},
{
- "id": "f3bcfb95.a6758",
+ "id": "acdb8fbc.c4c32",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 804.7496185302734,
- "y": 343.0000696182251,
- "z": "e0329916.b170f8",
+ "x": 817.7496185302734,
+ "y": 377.0000696182251,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "3a2b8179.f5c316",
- "f43916c0.05b38",
- "5819ae74.c281a",
- "f4291e2e.795f3",
- "bdcb838b.2c793",
- "2efe0fba.b3123",
- "48d2f628.580118",
- "f603acaf.f2ab88"
+ "92311e7.928946",
+ "7b2360fe.45f79",
+ "f70f044f.f4216",
+ "148d0ddb.c1c5d2",
+ "ab8a01b3.157068",
+ "4fe300f9.717bd",
+ "14ca751b.b082bb",
+ "677aa3bb.4d4e74"
]
]
},
{
- "id": "3a2b8179.f5c316",
+ "id": "92311e7.928946",
"type": "execute",
"name": "excute:readProperties",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n\n",
"comments": "",
"outputs": 1,
- "x": 1236.7498779296875,
- "y": 232.11117553710938,
- "z": "e0329916.b170f8",
+ "x": 1249.7498779296875,
+ "y": 266.1111755371094,
+ "z": "f70766ca.3cc678",
"wires": [
[]
]
},
{
- "id": "f43916c0.05b38",
+ "id": "7b2360fe.45f79",
"type": "call",
"name": "call:validate-bbs-vnf-input-parameters",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-bbs-vnf-input-parameters' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1317.749755859375,
- "y": 20,
- "z": "e0329916.b170f8",
+ "x": 1330.749755859375,
+ "y": 54,
+ "z": "f70766ca.3cc678",
"wires": [
[]
]
},
{
- "id": "f603acaf.f2ab88",
+ "id": "677aa3bb.4d4e74",
"type": "execute",
"name": "execute:createAccessConnectivityService",
- "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-access-connectivity-create.json'`\" />\n <parameter name=\"restapiUrl\" value=\"`'http://159.138.58.209:30335/ws/rest/1002/FanOpenAPI/ActiveOnt'`\" />\n <parameter name=\"contentType\" value=\"application/json\"/>\n <parameter name=\"httpMethod\" value=\"post\"/>\n <parameter name=\"responsePrefix\" value=\"service-result\"/>\n <parameter name=\"customHttpHeaders\" value=\"`'X-Auth-Token=' + $prop.sdncRestApi.token_id`\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n \n <!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/ws/rest/1002/FanOpenAPI/ActiveOnt'`\" />-->",
+ "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-access-connectivity-create.json'`\" />\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/ws/rest/1002/FanOpenAPI/ActiveOnt'`\" />\n <parameter name=\"contentType\" value=\"application/json\"/>\n <parameter name=\"httpMethod\" value=\"post\"/>\n <parameter name=\"responsePrefix\" value=\"service-result\"/>\n <parameter name=\"customHttpHeaders\" value=\"`'X-Auth-Token=' + $prop.sdncRestApi.token_id`\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n \n <!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/ws/rest/1002/FanOpenAPI/ActiveOnt'`\" />-->",
"comments": "",
"outputs": 1,
- "x": 1295.4008178710938,
- "y": 792.9608383178711,
- "z": "e0329916.b170f8",
+ "x": 1309.4008178710938,
+ "y": 824.9608383178711,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "60f74c55.fe6e34",
- "d4535369.b036"
+ "6c10e0e6.d236f8",
+ "11f064a9.56fa43"
]
]
},
{
- "id": "60f74c55.fe6e34",
+ "id": "6c10e0e6.d236f8",
"type": "outcome",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1640.733585357666,
- "y": 882.9607381820679,
- "z": "e0329916.b170f8",
+ "x": 1653.733585357666,
+ "y": 916.9607381820679,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "15628a38.6513e6"
+ "65f44139.642dd"
]
]
},
{
- "id": "d4535369.b036",
+ "id": "11f064a9.56fa43",
"type": "outcome",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1632.64306640625,
- "y": 791.1426010131836,
- "z": "e0329916.b170f8",
+ "x": 1645.64306640625,
+ "y": 825.1426010131836,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "3377addc.d013aa"
+ "f0c20005.cbb8"
]
]
},
{
- "id": "2efe0fba.b3123",
+ "id": "14ca751b.b082bb",
"type": "execute",
"name": "execute:querryTokenID",
- "xml": " <execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-token-template.json'`\"/>\n <parameter name=\"restapiUrl\" value=\"`'http://159.138.58.209:30335/rest/plat/smapp/v1/oauth/token'`\"/>\n <parameter name=\"format\" value=\"json\"/>\n <parameter name=\"httpMethod\" value=\"put\"/>\n <parameter name=\"responsePrefix\" value=\"token-result\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n\n\n <!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url+'/rest/plat/smapp/v1/oauth/token'`\"/>-->",
+ "xml": " <execute plugin=\"org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode\" method=\"sendRequest\">\n <parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/bbs-token-template.json'`\"/>\n <parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url+'/rest/plat/smapp/v1/oauth/token'`\"/>\n <parameter name=\"format\" value=\"json\"/>\n <parameter name=\"httpMethod\" value=\"put\"/>\n <parameter name=\"responsePrefix\" value=\"token-result\"/>\n <parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n <parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n <parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n <parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n\n\n <!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url+'/rest/plat/smapp/v1/oauth/token'`\"/>-->",
"comments": "",
"outputs": 1,
- "x": 1230.97216796875,
- "y": 594.5557861328125,
- "z": "e0329916.b170f8",
+ "x": 1243.97216796875,
+ "y": 628.5557861328125,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "f9c0e434.ab18e",
- "ecb05dd5.09d378"
+ "41d71aa5.903454",
+ "e6e0653b.c6ad58"
]
]
},
{
- "id": "ecb05dd5.09d378",
+ "id": "e6e0653b.c6ad58",
"type": "outcome",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1518.9169921875,
- "y": 594.2502002716064,
- "z": "e0329916.b170f8",
+ "x": 1531.9169921875,
+ "y": 628.2502002716064,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "f290b563.afea"
+ "84b8bff2.0e32c8"
]
]
},
{
- "id": "f9c0e434.ab18e",
+ "id": "41d71aa5.903454",
"type": "outcome",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1517.1900024414062,
- "y": 667.6138753890991,
- "z": "e0329916.b170f8",
+ "x": 1530.1900024414062,
+ "y": 701.6138753890991,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "50dc0542.4371cc"
+ "d82a2a82.f5e938"
]
]
},
{
- "id": "369cde33.b9c072",
+ "id": "38fd0525.aa8892",
"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 queryTokenID,vaule is null\" />\n",
"comments": "",
- "x": 2138.030807495117,
- "y": 661.1595993041992,
- "z": "e0329916.b170f8",
+ "x": 2151.030807495117,
+ "y": 695.1595993041992,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "1422e405.e818ac",
+ "id": "9abe0e72.caaf3",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 1921.7502174377441,
- "y": 663.0004110336304,
- "z": "e0329916.b170f8",
+ "x": 1934.7502174377441,
+ "y": 697.0004110336304,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "369cde33.b9c072"
+ "38fd0525.aa8892"
]
]
},
{
- "id": "f290b563.afea",
+ "id": "84b8bff2.0e32c8",
"type": "switchNode",
"name": "switch:token ",
"xml": "<switch test='`$token-result.accessSession`'>\n",
"comments": "",
"outputs": 1,
- "x": 1732.7500495910645,
- "y": 593.0001859664917,
- "z": "e0329916.b170f8",
+ "x": 1745.7500495910645,
+ "y": 627.0001859664917,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "1422e405.e818ac",
- "e2811aac.af4e88"
+ "9abe0e72.caaf3",
+ "9fff6487.f8195"
]
]
},
{
- "id": "e2811aac.af4e88",
+ "id": "9fff6487.f8195",
"type": "outcome",
"name": "Other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1919.750057220459,
- "y": 592.0001831054688,
- "z": "e0329916.b170f8",
+ "x": 1932.750057220459,
+ "y": 626.0001831054688,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "83e041e2.11968"
+ "216dd074.c9033"
]
]
},
{
- "id": "83e041e2.11968",
+ "id": "216dd074.c9033",
"type": "set",
"name": "set:token-id",
"xml": "<set>\n<parameter name='prop.sdncRestApi.token_id' value='`$token-result.accessSession`' />\n",
"comments": "",
- "x": 2130.2500648498535,
- "y": 592.2501840591431,
- "z": "e0329916.b170f8",
+ "x": 2143.2500648498535,
+ "y": 626.2501840591431,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "5819ae74.c281a",
+ "id": "f70f044f.f4216",
"type": "set",
"name": "set:variables",
"xml": "<set>\n<parameter name='vnf-input-parameters.' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.`' />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.url' value='https://172.30.0.55:26335' />\n<parameter name='prop.bbs.HsiPackage' value='50M' />\n<parameter name='prop.bbs.HsiType' value='IPoE' />\n",
"comments": "",
- "x": 1195.7503967285156,
- "y": 132.00025749206543,
- "z": "e0329916.b170f8",
+ "x": 1208.7503967285156,
+ "y": 166.00025749206543,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "424a1338.c6c804",
+ "id": "8c8f9f2c.a4f258",
"type": "record",
"name": "log file",
"xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"`$prop.bbs.remote_id`\" />\n <parameter name=\"field3\" value=\"`$prop.bbs.ONTSN`\" />\n <parameter name=\"field4\" value=\"`$prop.bbs.CVLAN`\" />\n <parameter name=\"field5\" value=\"`$prop.bbs.SVLAN`\" />\n <parameter name=\"field6\" value=\"`$prop.bbs.HsiPackage`\" />\n <parameter name=\"field7\" value=\"`$prop.bbs.HsiType`\" />",
"comments": "",
"outputs": 1,
- "x": 1185.7502746582031,
- "y": 425.00019550323486,
- "z": "e0329916.b170f8",
+ "x": 1198.7502746582031,
+ "y": 459.00019550323486,
+ "z": "f70766ca.3cc678",
"wires": [
[]
]
},
{
- "id": "2c82d829.e0ab68",
+ "id": "8b12d898.3d72d",
"type": "record",
"name": "log file",
"xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"createAccessConnectivityService success!\" />\n <parameter name=\"field2\" value=\"`$service-result.accessE2Eservice.serviceID`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2458.7500400543213,
- "y": 952.0003020167351,
- "z": "e0329916.b170f8",
+ "x": 2471.7500400543213,
+ "y": 986.0003020167351,
+ "z": "f70766ca.3cc678",
"wires": [
[]
]
},
{
- "id": "15628a38.6513e6",
+ "id": "65f44139.642dd",
"type": "switchNode",
"name": "switch:service-result",
"xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",
"comments": "",
"outputs": 1,
- "x": 1875.7497062683105,
- "y": 882.0000333786011,
- "z": "e0329916.b170f8",
+ "x": 1888.7497062683105,
+ "y": 916.0000333786011,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "f5141e0a.b112f8",
- "f195f6a2.69ce68"
+ "c071ccac.1342c8",
+ "bd77dc7e.818a8"
]
]
},
{
- "id": "f5141e0a.b112f8",
+ "id": "c071ccac.1342c8",
"type": "outcome",
"name": "Other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2096.750011444092,
- "y": 804.0002164840698,
- "z": "e0329916.b170f8",
+ "x": 2109.750011444092,
+ "y": 838.0002164840698,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "8275b3aa.8d1378"
+ "5358758f.0d5684"
]
]
},
{
- "id": "f195f6a2.69ce68",
+ "id": "bd77dc7e.818a8",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 2097.7496337890625,
- "y": 880.0000152587891,
- "z": "e0329916.b170f8",
+ "x": 2110.7496337890625,
+ "y": 914.0000152587891,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "917abc23.c0d878"
+ "5c433db5.e1230c"
]
]
},
{
- "id": "ffd1d599.c71c18",
+ "id": "25985c98.53ae4c",
"type": "record",
"name": "log error",
"xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"createAccessConnectivityService falied!\" />\n <parameter name=\"field2\" value=\"`$service-result.errors.error[0].error-info.error-code`\" />\n <parameter name=\"field3\" value=\"`$service-result.errors.error[0].error-message`\" />\n <parameter name=\"field4\" value=\"`$service-result.errors.error[0].error-tag`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2634.7500381469727,
- "y": 842.0002098083496,
- "z": "e0329916.b170f8",
+ "x": 2647.7500381469727,
+ "y": 876.0002098083496,
+ "z": "f70766ca.3cc678",
"wires": [
[]
]
},
{
- "id": "bdcb838b.2c793",
+ "id": "ab8a01b3.157068",
"type": "for",
"name": "for:vnf-input-paramters",
"xml": "<for index='idx' start='0' end='`$vnf-input-parameters.param_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1260.2501220703125,
- "y": 335.00017261505127,
- "z": "e0329916.b170f8",
+ "x": 1273.2501220703125,
+ "y": 369.00017261505127,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "a466675f.e223b"
+ "d22ff9a3.fbfbb"
]
]
},
{
- "id": "6ab8eedc.cb66a8",
+ "id": "cb807928.2112c8",
"type": "switchNode",
"name": "switch:remote_id",
"xml": "<switch test=\"`$vnf-input-parameters.param[$idx].name == 'remote_id'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1801.2502479553223,
- "y": 136.000226020813,
- "z": "e0329916.b170f8",
+ "x": 1814.2502479553223,
+ "y": 170.000226020813,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "fb671302.f08a28"
+ "d4e1d576.c2d6f8"
]
]
},
{
- "id": "fb671302.f08a28",
+ "id": "d4e1d576.c2d6f8",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2004.2501678466797,
- "y": 136.0001974105835,
- "z": "e0329916.b170f8",
+ "x": 2017.2501678466797,
+ "y": 170.0001974105835,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "5ca67ab9.1ce66c"
+ "7927b5c0.d398f4"
]
]
},
{
- "id": "2257c990.31ddd6",
+ "id": "5e2c004f.b53818",
"type": "set",
"name": "set:remote_id",
"xml": "<set>\n<parameter name='prop.bbs.remote_id' value='`$vnf-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2722.2499237060547,
- "y": 134.60020351409912,
- "z": "e0329916.b170f8",
+ "x": 2735.2499237060547,
+ "y": 168.60020351409912,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "a466675f.e223b",
+ "id": "d22ff9a3.fbfbb",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1515.2504196166992,
- "y": 336.00021171569824,
- "z": "e0329916.b170f8",
+ "x": 1528.2504196166992,
+ "y": 370.00021171569824,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "6ab8eedc.cb66a8",
- "ad025760.15512",
- "931e8201.e0a528",
- "1021a2a7.9d963d"
+ "cb807928.2112c8",
+ "2616fb50.5f93e4",
+ "2be8fa1f.fcef86",
+ "52dab55c.8b17dc"
]
]
},
{
- "id": "ad025760.15512",
+ "id": "2616fb50.5f93e4",
"type": "switchNode",
"name": "switch:ONTSN",
"xml": "<switch test=\"`$vnf-input-parameters.param[$idx].name == 'ONTSN'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1801.1020431518555,
- "y": 197.00022792816162,
- "z": "e0329916.b170f8",
+ "x": 1814.1020431518555,
+ "y": 231.00022792816162,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "f93e9a17.ed77c"
+ "1175216.ae444df"
]
]
},
{
- "id": "f93e9a17.ed77c",
+ "id": "1175216.ae444df",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2003.1019458770752,
- "y": 197.00029182434082,
- "z": "e0329916.b170f8",
+ "x": 2016.1019458770752,
+ "y": 231.00029182434082,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "4c4d0595.c8d74c"
+ "5561709c.b3df8"
]
]
},
{
- "id": "9de6cf9d.95e438",
+ "id": "41a1bcbb.4edd5c",
"type": "set",
"name": "set:ONTSN",
"xml": "<set>\n<parameter name='prop.bbs.ONTSN' value='`$vnf-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2721.1022300720215,
- "y": 196.60026836395264,
- "z": "e0329916.b170f8",
+ "x": 2734.1022300720215,
+ "y": 230.60026836395264,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "931e8201.e0a528",
+ "id": "2be8fa1f.fcef86",
"type": "switchNode",
"name": "switch:CVLAN",
"xml": "<switch test=\"`$vnf-input-parameters.param[$idx].name == 'CVLAN'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1801.1021156311035,
- "y": 257.0002775192261,
- "z": "e0329916.b170f8",
+ "x": 1814.1021156311035,
+ "y": 291.0002775192261,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "45aee947.1f79f"
+ "430ccce0.a19a7c"
]
]
},
{
- "id": "45aee947.1f79f",
+ "id": "430ccce0.a19a7c",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2003.1019744873047,
- "y": 257.00028896331787,
- "z": "e0329916.b170f8",
+ "x": 2016.1019744873047,
+ "y": 291.00028896331787,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "f12f75d1.378e7"
+ "5fa318d2.3cda"
]
]
},
{
- "id": "b328ff7b.de2178",
+ "id": "23ae22e3.22418e",
"type": "set",
"name": "set:CVLAN",
"xml": "<set>\n<parameter name='prop.bbs.CVLAN' value='`$vnf-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2719.1019744873047,
- "y": 257.60026454925537,
- "z": "e0329916.b170f8",
+ "x": 2732.1019744873047,
+ "y": 291.60026454925537,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "1021a2a7.9d963d",
+ "id": "52dab55c.8b17dc",
"type": "switchNode",
"name": "switch:SVLAN",
- "xml": "<switch test=\"`$vnf-input-parameters.param[$idx].name == 'SVLAN'`\">\n",
+ "xml": "<switch test=\"`$vnf-input-parameters.param[$idx].name == 'serviceID'`\">\n",
"comments": "",
"outputs": 1,
- "x": 1798.102123260498,
- "y": 333.222544670105,
- "z": "e0329916.b170f8",
+ "x": 1811.102123260498,
+ "y": 367.222544670105,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "a0cd6bfe.37df4"
+ "d9dc9da4.a45018"
]
]
},
{
- "id": "a0cd6bfe.37df4",
+ "id": "d9dc9da4.a45018",
"type": "outcomeTrue",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2006.1020078659058,
- "y": 332.22254276275635,
- "z": "e0329916.b170f8",
+ "x": 2019.1020078659058,
+ "y": 366.22254276275635,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "b2009bd.404af68"
+ "96fa65e7.f61a1"
]
]
},
{
- "id": "fd36dd78.cdefd",
+ "id": "762a30f5.19315",
"type": "set",
"name": "set:SVLAN",
"xml": "<set>\n<parameter name='prop.bbs.SVLAN' value='`$vnf-input-parameters.param[$idx].value`' />\n",
"comments": "",
- "x": 2725.1019744873047,
- "y": 331.82255458831787,
- "z": "e0329916.b170f8",
+ "x": 2738.1019744873047,
+ "y": 365.82255458831787,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "5ca67ab9.1ce66c",
+ "id": "7927b5c0.d398f4",
"type": "switchNode",
"name": "switch:remote_id value",
"xml": "<switch test='`$vnf-input-parameters.param[$idx].value`'>\n",
"comments": "",
"outputs": 1,
- "x": 2249.2501678466797,
- "y": 135.00022792816162,
- "z": "e0329916.b170f8",
+ "x": 2262.2501678466797,
+ "y": 169.00022792816162,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "9dd975e7.7bf628",
- "9c64fed9.d1167"
+ "25b5ca63.22e58e",
+ "7f9a22df.b3546c"
]
]
},
{
- "id": "9c64fed9.d1167",
+ "id": "7f9a22df.b3546c",
"type": "outcome",
"name": "Other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2537.2501678466797,
- "y": 134.00022792816162,
- "z": "e0329916.b170f8",
+ "x": 2550.2501678466797,
+ "y": 168.00022792816162,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "2257c990.31ddd6"
+ "5e2c004f.b53818"
]
]
},
{
- "id": "9dd975e7.7bf628",
+ "id": "25b5ca63.22e58e",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 2535.250576019287,
- "y": 65.00020694732666,
- "z": "e0329916.b170f8",
+ "x": 2548.250576019287,
+ "y": 99.00020694732666,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "e7c90529.4dc4f8"
+ "efd50227.ac304"
]
]
},
{
- "id": "4c4d0595.c8d74c",
+ "id": "5561709c.b3df8",
"type": "switchNode",
"name": "switch:ONTSN value",
"xml": "<switch test='`$vnf-input-parameters.param[$idx].value`'>\n",
"comments": "",
"outputs": 1,
- "x": 2249.2501678466797,
- "y": 197.00022792816162,
- "z": "e0329916.b170f8",
+ "x": 2262.2501678466797,
+ "y": 231.00022792816162,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "9dd975e7.7bf628",
- "923642af.93bc88"
+ "25b5ca63.22e58e",
+ "63df4639.d0b868"
]
]
},
{
- "id": "923642af.93bc88",
+ "id": "63df4639.d0b868",
"type": "outcome",
"name": "Other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2539.2501678466797,
- "y": 197.00022792816162,
- "z": "e0329916.b170f8",
+ "x": 2552.2501678466797,
+ "y": 231.00022792816162,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "9de6cf9d.95e438"
+ "41a1bcbb.4edd5c"
]
]
},
{
- "id": "f12f75d1.378e7",
+ "id": "5fa318d2.3cda",
"type": "switchNode",
"name": "switch:CVLAN value",
"xml": "<switch test='`$vnf-input-parameters.param[$idx].value`'>\n",
"comments": "",
"outputs": 1,
- "x": 2252.2501678466797,
- "y": 258.0002279281616,
- "z": "e0329916.b170f8",
+ "x": 2265.2501678466797,
+ "y": 292.0002279281616,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "9dd975e7.7bf628",
- "f56650c5.51ce2"
+ "25b5ca63.22e58e",
+ "20955e4d.c0a422"
]
]
},
{
- "id": "f56650c5.51ce2",
+ "id": "20955e4d.c0a422",
"type": "outcome",
"name": "Other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2540.2501678466797,
- "y": 257.0002279281616,
- "z": "e0329916.b170f8",
+ "x": 2553.2501678466797,
+ "y": 291.0002279281616,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "b328ff7b.de2178"
+ "23ae22e3.22418e"
]
]
},
{
- "id": "b2009bd.404af68",
+ "id": "96fa65e7.f61a1",
"type": "switchNode",
"name": "switch:SVLAN value",
"xml": "<switch test='`$vnf-input-parameters.param[$idx].value`'>\n",
"comments": "",
"outputs": 1,
- "x": 2253.2501678466797,
- "y": 332.0002279281616,
- "z": "e0329916.b170f8",
+ "x": 2266.2501678466797,
+ "y": 366.0002279281616,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "9dd975e7.7bf628",
- "b2fcbca3.42bad"
+ "25b5ca63.22e58e",
+ "9fbec5d2.cbbe08"
]
]
},
{
- "id": "b2fcbca3.42bad",
+ "id": "9fbec5d2.cbbe08",
"type": "outcome",
"name": "Other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2543.2501678466797,
- "y": 333.0002279281616,
- "z": "e0329916.b170f8",
+ "x": 2556.2501678466797,
+ "y": 367.0002279281616,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "fd36dd78.cdefd"
+ "762a30f5.19315"
]
]
},
{
- "id": "f4291e2e.795f3",
+ "id": "148d0ddb.c1c5d2",
"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`\" />",
"comments": "",
- "x": 1168.8052062988281,
- "y": 1376.7781105041504,
- "z": "e0329916.b170f8",
+ "x": 1181.8052062988281,
+ "y": 1410.7781105041504,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "917abc23.c0d878",
+ "id": "5c433db5.e1230c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2255.9162635803223,
- "y": 880.9999904632568,
- "z": "e0329916.b170f8",
+ "x": 2268.9162635803223,
+ "y": 914.9999904632568,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "c2dbfb5a.03777"
+ "4538034.6a1697c"
]
]
},
{
- "id": "8275b3aa.8d1378",
+ "id": "5358758f.0d5684",
"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 createAccessConnectivityService return: '+$service-result.errors.error[0].error-message`\" />",
"comments": "",
- "x": 2283.2496795654297,
- "y": 804.0000534057617,
- "z": "e0329916.b170f8",
+ "x": 2296.2496795654297,
+ "y": 838.0000534057617,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "e7c90529.4dc4f8",
+ "id": "efd50227.ac304",
"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=\"`$vnf-input-parameters.param[$idx].name +' value is null, please check it.'`\" />\n",
"comments": "",
- "x": 2718.2496643066406,
- "y": 65.00003147125244,
- "z": "e0329916.b170f8",
+ "x": 2731.2496643066406,
+ "y": 99.00003147125244,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "50dc0542.4371cc",
+ "id": "d82a2a82.f5e938",
"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 queryTokenID\" />\n",
"comments": "",
- "x": 1717.5055389404297,
- "y": 668.0284957885742,
- "z": "e0329916.b170f8",
+ "x": 1730.5055389404297,
+ "y": 702.0284957885742,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "3377addc.d013aa",
+ "id": "f0c20005.cbb8",
"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 createAccessConnectivityService\" />\n",
"comments": "",
- "x": 1847.1422576904297,
- "y": 790.8467025756836,
- "z": "e0329916.b170f8",
+ "x": 1860.1422576904297,
+ "y": 824.8467025756836,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "c2ab02c3.18a528",
+ "id": "5e38308f.370118",
"type": "save",
"name": "save:generic-vnf",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-id = $vnf-id\" >\n<parameter name= \"vnf-id\" value = \"`$vnf-id`\"/>\n<parameter name= \"vnf-name\" value = \"`$vnf-name`\"/>\n<parameter name= \"vnf-type\" value = \"AccessConnectivity\"/>\n<parameter name= \"service-id\" value = \"`$vnf-topology-operation-input.service-information.service-id`\"/>\n<parameter name= \"prov-status\" value = \"ACTIVE\"/>\n<parameter name= \"orchestration-status\" value = \"Active\"/>\n<parameter name= \"is-closed-loop-disabled\" value = \"false\" />\n<parameter name= \"model-invariant-id\" value = \"`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`\"/>\n<parameter name= \"model-version-id\" value = \"`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`\"/>\n<parameter name= \"model-customization-id\" value = \"`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`\"/>",
"comments": "",
"outputs": 1,
- "x": 1492.2832126617432,
- "y": 1232.032096862793,
- "z": "e0329916.b170f8",
+ "x": 1506.283203125,
+ "y": 1264.0321044921875,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "7b50f775.bd98f8",
- "57259626.7849c",
- "e87076a5.810bc8"
+ "6773274d.45a418",
+ "cfe6b7ff.d9f358",
+ "fafcc8c3.49e96"
]
]
},
{
- "id": "7b50f775.bd98f8",
+ "id": "6773274d.45a418",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1728.5050678253174,
- "y": 1103.9208545684814,
- "z": "e0329916.b170f8",
+ "x": 1741.5050678253174,
+ "y": 1137.9208545684814,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "929e3be2.0040b8"
+ "a8a66d.ee4ae19"
]
]
},
{
- "id": "57259626.7849c",
+ "id": "cfe6b7ff.d9f358",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1739.4808864593506,
- "y": 1163.9367108345032,
- "z": "e0329916.b170f8",
+ "x": 1752.4808864593506,
+ "y": 1197.9367108345032,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "4d0490a4.dc1d78"
+ "2eb6f04a.49f0a"
]
]
},
{
- "id": "929e3be2.0040b8",
+ "id": "a8a66d.ee4ae19",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure calling AAI to save generic-vnf\" />\n",
"comments": "",
- "x": 1964.6476154327393,
- "y": 1103.4923195838928,
- "z": "e0329916.b170f8",
+ "x": 1977.6476154327393,
+ "y": 1137.4923195838928,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "4d0490a4.dc1d78",
+ "id": "2eb6f04a.49f0a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"generic-vnf instance does not exist in AAI\" />\n",
"comments": "",
- "x": 1959.528413772583,
- "y": 1164.413025379181,
- "z": "e0329916.b170f8",
+ "x": 1972.528413772583,
+ "y": 1198.413025379181,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "e87076a5.810bc8",
+ "id": "fafcc8c3.49e96",
"type": "outcome",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1733.0916919708252,
- "y": 1229.0631909370422,
- "z": "e0329916.b170f8",
+ "x": 1746.0916919708252,
+ "y": 1263.0631909370422,
+ "z": "f70766ca.3cc678",
"wires": [
[]
]
},
{
- "id": "f68ce26b.06d55",
+ "id": "f142de1d.601888",
"type": "record",
"name": "log file",
"xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"save generic-vnf success!\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1941.0919456481934,
- "y": 1227.063320159912,
- "z": "e0329916.b170f8",
+ "x": 1954.0919456481934,
+ "y": 1261.063320159912,
+ "z": "f70766ca.3cc678",
"wires": [
[]
]
},
{
- "id": "ac883442.28d84",
+ "id": "717695ed.d653b4",
"type": "save",
"name": "save:metadata",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"service-instance:metadata\"\n key=\"service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-id \n\tAND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id\n\t AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n\t AND service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\" force=\"true\" pfx=\"tmp.AnAI-data\"\n >\n <parameter name=\"metadata.metadatum[0].metaname\" value=\"remote-id\" />\n <parameter name=\"metadata.metadatum[0].metaval\" value=\"`$prop.bbs.remote_id`\" />\n <parameter name=\"metadata.metadatum[1].metaname\" value=\"controller-service-id\" />\n <parameter name=\"metadata.metadatum[1].metaval\" value=\"`$prop.bbs.serviceID`\" />\n <parameter name=\"metadata.metadatum[2].metaname\" value=\"cvlan\" />\n <parameter name=\"metadata.metadatum[2].metaval\" value=\"`$prop.bbs.CVLAN`\" />\n <parameter name=\"metadata.metadatum[3].metaname\" value=\"svlan\" />\n <parameter name=\"metadata.metadatum[3].metaval\" value=\"`$prop.bbs.SVLAN`\" />\n <parameter name=\"metadata.metadatum[4].metaname\" value=\"expected-ont-id\" />\n <parameter name=\"metadata.metadatum[4].metaval\" value=\"`$prop.bbs.ONTSN`\" />\n <!--<parameter name=\"metadata.metadatum[5].metaname\" value=\"rgw-mac-address\" />-->\n <!--<parameter name=\"metadata.metadatum[5].metaval\" value=\"`$prop.bbs.mac`\" />-->",
"comments": "",
"outputs": 1,
- "x": 1473.7825393676758,
- "y": 1395.031925201416,
- "z": "e0329916.b170f8",
+ "x": 1486.782470703125,
+ "y": 1434.0318603515625,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "eafd77cb.b8397",
- "1f25a38e.70d264",
- "7db9333e.87da9c"
+ "90f289c9.afda58",
+ "490b0a19.59868c",
+ "63ec1381.7af084"
]
]
},
{
- "id": "eafd77cb.b8397",
+ "id": "90f289c9.afda58",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1704.2580490112305,
- "y": 1326.3965287208557,
- "z": "e0329916.b170f8",
+ "x": 1717.2580490112305,
+ "y": 1360.3965287208557,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "f5714bd.89e15b8"
+ "e039528f.e88268"
]
]
},
{
- "id": "1f25a38e.70d264",
+ "id": "490b0a19.59868c",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1716.2342109680176,
- "y": 1396.412462234497,
- "z": "e0329916.b170f8",
+ "x": 1729.2342109680176,
+ "y": 1430.412462234497,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "2a90de57.54b0d2"
+ "8c5a3cb9.2f5608"
]
]
},
{
- "id": "f5714bd.89e15b8",
+ "id": "e039528f.e88268",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure calling AAI to save metadatum\" />\n",
"comments": "",
- "x": 1944.4008445739746,
- "y": 1324.9680304527283,
- "z": "e0329916.b170f8",
+ "x": 1957.4008445739746,
+ "y": 1358.9680304527283,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "2a90de57.54b0d2",
+ "id": "8c5a3cb9.2f5608",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"metadatum instance does not exist in AAI\" />\n",
"comments": "",
- "x": 1941.281744003296,
- "y": 1395.8886985778809,
- "z": "e0329916.b170f8",
+ "x": 1954.281744003296,
+ "y": 1429.8886985778809,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "7db9333e.87da9c",
+ "id": "63ec1381.7af084",
"type": "outcome",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1710.8449211120605,
- "y": 1466.5389018058777,
- "z": "e0329916.b170f8",
+ "x": 1723.8449211120605,
+ "y": 1500.5389018058777,
+ "z": "f70766ca.3cc678",
"wires": [
[]
]
},
{
- "id": "223cf7d5.348cb8",
+ "id": "78cc77f3.b1e2f8",
"type": "record",
"name": "log file",
"xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"save metadatum success!\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1921.8449211120605,
- "y": 1466.5389018058777,
- "z": "e0329916.b170f8",
+ "x": 1934.8449211120605,
+ "y": 1500.5389018058777,
+ "z": "f70766ca.3cc678",
"wires": [
[]
]
},
{
- "id": "48d2f628.580118",
+ "id": "4fe300f9.717bd",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1187.4168128967285,
- "y": 1106.0006484985352,
- "z": "e0329916.b170f8",
+ "x": 1200.4168128967285,
+ "y": 1140.0006484985352,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "c2ab02c3.18a528",
- "ac883442.28d84",
- "b153daf9.f98aa",
- "74332c3b.90a3c4",
- "e193ec3.bce899"
+ "5e38308f.370118",
+ "717695ed.d653b4",
+ "b8fc79ed.565",
+ "f65c3b6d.d69a38",
+ "f01db867.d36098",
+ "8fa4935d.532fd"
]
]
},
{
- "id": "b153daf9.f98aa",
+ "id": "b8fc79ed.565",
"type": "set",
"name": "set:variables",
- "xml": "<set>\n<parameter name='vnf-id' value=\"`$prop.random-data-list[3]`\"/>\n<parameter name='vnf-name' value=\"`'vnf-'+$prop.random-data-list[4]`\"/>\n",
+ "xml": "<set>\n<parameter name='vnf-id' value=\"`$prop.random-data-list[3]`\"/>\n<parameter name='vnf-name' value=\"`'vnf-'+$prop.random-data-list[4]`\"/>\n\n\n\n<!--<set>-->\n<!--<parameter name='vnf-id' value=\"123456789\"/>-->\n<!--<parameter name='vnf-name' value=\"vnf_name\"/>-->",
"comments": "",
- "x": 1476.4172821044922,
- "y": 1110.333641052246,
- "z": "e0329916.b170f8",
+ "x": 1489.4172821044922,
+ "y": 1144.333641052246,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "74332c3b.90a3c4",
+ "id": "f65c3b6d.d69a38",
"type": "execute",
"name": "execute:generate",
"xml": " <execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\">\n <parameter name=\"ctx-destination\" value=\"prop.random-data\"/>",
"comments": "",
"outputs": 1,
- "x": 1496.7817077636719,
- "y": 1026.0316162109375,
- "z": "e0329916.b170f8",
+ "x": 1509.7817077636719,
+ "y": 1060.0316162109375,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "5f8abaa7.bb84f4"
+ "48ab2a4c.2a241c"
]
]
},
{
- "id": "5f8abaa7.bb84f4",
+ "id": "48ab2a4c.2a241c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1732.781421661377,
- "y": 1030.0315780639648,
- "z": "e0329916.b170f8",
+ "x": 1745.781421661377,
+ "y": 1064.0315780639648,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "d24b114c.00fb78"
+ "fdd1ef38.730528"
]
]
},
{
- "id": "d24b114c.00fb78",
+ "id": "fdd1ef38.730528",
"type": "execute",
"name": "execute",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n <parameter name=\"ctx_memory_result_key\" value=\"prop.random-data-list\"/>\n <parameter name=\"original_string\" value=\"`$prop.random-data`\"/>\n <parameter name=\"regex\" value=\"-\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1919.7814769744873,
- "y": 1029.0314865112305,
- "z": "e0329916.b170f8",
+ "x": 1932.7814769744873,
+ "y": 1063.0314865112305,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "c28eecff.183408"
+ "2eaae9b6.ab1ec6"
]
]
},
{
- "id": "bd5c3172.606e3",
+ "id": "97bc6eeb.c32ca8",
"type": "record",
"name": "log file",
"xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/oak/logx.txt\" />\n <parameter name=\"field1\" value=\"`$prop.random-data`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 2251.781539916992,
- "y": 1027.0315475463867,
- "z": "e0329916.b170f8",
+ "x": 2264.781539916992,
+ "y": 1061.0315475463867,
+ "z": "f70766ca.3cc678",
"wires": [
[]
]
},
{
- "id": "c28eecff.183408",
+ "id": "2eaae9b6.ab1ec6",
"type": "outcome",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2086.781415939331,
- "y": 1028.0315170288086,
- "z": "e0329916.b170f8",
+ "x": 2099.781415939331,
+ "y": 1062.0315170288086,
+ "z": "f70766ca.3cc678",
"wires": [
[]
]
},
{
- "id": "c2dbfb5a.03777",
+ "id": "4538034.6a1697c",
"type": "set",
"name": "set:variables",
"xml": "<set>\n<parameter name='prop.bbs.serviceID' value=\"`$service-result.accessE2Eservice.serviceID`\"/>\n",
"comments": "",
- "x": 2469.78129196167,
- "y": 880.0314292907715,
- "z": "e0329916.b170f8",
+ "x": 2482.78129196167,
+ "y": 914.0314292907715,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "80452a04.8e8ca8",
+ "id": "adcd38ea.8cbb8",
"type": "set",
"name": "set:variables",
"xml": "<set>\n<parameter name='prop.bbs.serviceID' value=\"HSI20190330\"/>\n\n",
"comments": "",
- "x": 1166.0831298828125,
- "y": 869.333381652832,
- "z": "e0329916.b170f8",
+ "x": 1179.0831298828125,
+ "y": 903.333381652832,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "e193ec3.bce899",
+ "id": "f01db867.d36098",
"type": "save",
"name": "save:relationship",
"xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"service-instance:relationship-list\" \n key=\"service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-id\n AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id\n AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type \n AND service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\" force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/generic-vnfs/generic-vnf/' + $vnf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$vnf-id`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1480.25,
- "y": 1585.0312519073486,
- "z": "e0329916.b170f8",
+ "x": 1493.25,
+ "y": 1619.0312519073486,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "8b7cfe7c.bb05c",
- "605adc34.dc45b4",
- "c57b41f2.edd368"
+ "afb1797d.cb3048",
+ "eb0ddaae.dc5158",
+ "7a2e5f09.7f4db8"
]
]
},
{
- "id": "8b7cfe7c.bb05c",
+ "id": "afb1797d.cb3048",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1731.25,
- "y": 1538.0312519073486,
- "z": "e0329916.b170f8",
+ "x": 1744.25,
+ "y": 1572.0312519073486,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "11122765.99c301"
+ "7b869183.1a645"
]
]
},
{
- "id": "605adc34.dc45b4",
+ "id": "eb0ddaae.dc5158",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 1743.226161956787,
- "y": 1608.04718542099,
- "z": "e0329916.b170f8",
+ "x": 1756.226161956787,
+ "y": 1642.04718542099,
+ "z": "f70766ca.3cc678",
"wires": [
[
- "8cd2a407.0333e"
+ "38d0b39a.587ff4"
]
]
},
{
- "id": "11122765.99c301",
+ "id": "7b869183.1a645",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failure calling AAI to save metadatum\" />\n",
"comments": "",
- "x": 1971.3927955627441,
- "y": 1536.6027536392212,
- "z": "e0329916.b170f8",
+ "x": 1984.3927955627441,
+ "y": 1570.6027536392212,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "8cd2a407.0333e",
+ "id": "38d0b39a.587ff4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"metadatum instance does not exist in AAI\" />\n",
"comments": "",
- "x": 1968.2736949920654,
- "y": 1607.5234217643738,
- "z": "e0329916.b170f8",
+ "x": 1981.2736949920654,
+ "y": 1641.5234217643738,
+ "z": "f70766ca.3cc678",
"wires": []
},
{
- "id": "c57b41f2.edd368",
+ "id": "7a2e5f09.7f4db8",
"type": "outcome",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1737.83687210083,
- "y": 1678.1736249923706,
- "z": "e0329916.b170f8",
+ "x": 1750.83687210083,
+ "y": 1712.1736249923706,
+ "z": "f70766ca.3cc678",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8fa4935d.532fd",
+ "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='`$vnf-id`'/>\n <parameter name='field2' value='`$vnf-name`'/>\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": 1485.75,
+ "y": 1202.75,
+ "z": "f70766ca.3cc678",
"wires": [
[]
]