Code Review
/
sdnc
/
oam.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix bbs dgs bug for edge
[sdnc/oam.git]
/
platform-logic
/
generic-resource-api
/
src
/
main
/
json
/
GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-change-huawei.json
diff --git
a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-change-huawei.json
b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-change-huawei.json
index
d849800
..
a82d8ad
100644
(file)
--- a/
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-change-huawei.json
+++ b/
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_bbs-internet-profile-network-topology-operation-change-huawei.json
@@
-1,20
+1,20
@@
[
{
[
{
- "id": "
6fc09f6d.0870b
",
+ "id": "
8986a615.d2eba
",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x":
395
,
- "y":
364
,
- "z": "
42dfc057.bac69
",
+ "x":
893
,
+ "y":
435
,
+ "z": "
ab14e16a.6a0518
",
"wires": [
[
"wires": [
[
- "
17053a75.1de276
"
+ "
a587d37.4461bb
"
]
]
},
{
]
]
},
{
- "id": "
17053a75.1de276
",
+ "id": "
a587d37.4461bb
",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
"type": "service-logic",
"name": "GENERIC-RESOURCE-API ${project.version}",
"module": "GENERIC-RESOURCE-API",
@@
-22,206
+22,206
@@
"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,
"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":
702
.9996490478516,
- "y":
364
.0000219345093,
- "z": "
42dfc057.bac69
",
+ "x":
1200
.9996490478516,
+ "y":
435
.0000219345093,
+ "z": "
ab14e16a.6a0518
",
"wires": [
[
"wires": [
[
- "
31b28a93.bc7546
"
+ "
7bf72e16.cc5638
"
]
]
},
{
]
]
},
{
- "id": "
31b28a93.bc7546
",
+ "id": "
7bf72e16.cc5638
",
"type": "method",
"name": "method:bbs-internet-profile-network-topology-operation-change-huawei",
"xml": "<method rpc='bbs-internet-profile-network-topology-operation-change-huawei' mode='sync'>\n",
"comments": "",
"outputs": 1,
"type": "method",
"name": "method:bbs-internet-profile-network-topology-operation-change-huawei",
"xml": "<method rpc='bbs-internet-profile-network-topology-operation-change-huawei' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x":
700
.9996490478516,
- "y":
560
.0000619888306,
- "z": "
42dfc057.bac69
",
+ "x":
1198
.9996490478516,
+ "y":
631
.0000619888306,
+ "z": "
ab14e16a.6a0518
",
"wires": [
[
"wires": [
[
- "
6078be8e.3dc1b
"
+ "
d96dea5b.58d7
"
]
]
},
{
]
]
},
{
- "id": "
6078be8e.3dc1b
",
+ "id": "
d96dea5b.58d7
",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1
107
.9998626708984,
- "y":
561
.0000619888306,
- "z": "
42dfc057.bac69
",
+ "x": 1
605
.9998626708984,
+ "y":
632
.0000619888306,
+ "z": "
ab14e16a.6a0518
",
"wires": [
[
"wires": [
[
- "
18b0a0e1.bc2b9f
",
- "
d8d2c4cf.831298
",
- "
a7f761b1.d0d6
"
+ "
7720916f.7813b8
",
+ "
627c5b65.98524c
",
+ "
e657d2bd.9178a8
"
]
]
},
{
]
]
},
{
- "id": "
d8d2c4cf.831298
",
+ "id": "
627c5b65.98524c
",
"type": "execute",
"name": "execute:ChangeInternetProfileInstance",
"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\"/>
\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\"/>
",
+ "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,
"comments": "",
"outputs": 1,
- "x": 1
435
,
- "y":
562
,
- "z": "
42dfc057.bac69
",
+ "x": 1
933
,
+ "y":
633
,
+ "z": "
ab14e16a.6a0518
",
"wires": [
[
"wires": [
[
- "
6653aa52.b5a3e4
",
- "5
cfea4a3.4063fc
"
+ "
adc20a6c.9b2ab
",
+ "5
5d7a784.5951f
"
]
]
},
{
]
]
},
{
- "id": "5
cfea4a3.4063fc
",
+ "id": "5
5d7a784.5951f
",
"type": "outcome",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"type": "outcome",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x":
1736.3329811096191
,
- "y":
562
,
- "z": "
42dfc057.bac69
",
+ "x":
2234.332981109619
,
+ "y":
633
,
+ "z": "
ab14e16a.6a0518
",
"wires": [
[
"wires": [
[
- "
18532102.a9364f
"
+ "
cce9a716.18951
"
]
]
},
{
]
]
},
{
- "id": "
6653aa52.b5a3e4
",
+ "id": "
adc20a6c.9b2ab
",
"type": "outcome",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
"type": "outcome",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x":
1745
.332893371582,
- "y":
637
.0000019073486,
- "z": "
42dfc057.bac69
",
+ "x":
2243
.332893371582,
+ "y":
708
.0000019073486,
+ "z": "
ab14e16a.6a0518
",
"wires": [
[
"wires": [
[
- "
fee00388.9b406
"
+ "
b35bace0.7d3d98
"
]
]
},
{
]
]
},
{
- "id": "
fee00388.9b406
",
+ "id": "
b35bace0.7d3d98
",
"type": "switchNode",
"name": "switch:service-result",
"xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",
"comments": "",
"outputs": 1,
"type": "switchNode",
"name": "switch:service-result",
"xml": "<switch test=\"`$service-result.errors.error[0].error-message`\">\n",
"comments": "",
"outputs": 1,
- "x":
1980
.3490142822266,
- "y":
636
.0392971038818,
- "z": "
42dfc057.bac69
",
+ "x":
2478
.3490142822266,
+ "y":
707
.0392971038818,
+ "z": "
ab14e16a.6a0518
",
"wires": [
[
"wires": [
[
- "
842854c5.b1e1c
8",
- "
e77a86f6.1bffc
8"
+ "
a90ffced.1c834
8",
+ "
63b509e9.2d95d
8"
]
]
},
{
]
]
},
{
- "id": "
18532102.a9364f
",
+ "id": "
cce9a716.18951
",
"type": "returnFailure",
"name": "return failure",
"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=\"
`$prop.sdncRestApi.thirdpartySdnc.url + '/ChangeInternetProfileInstance'`
\" />\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 failed to call ChangeInternetProfileInstance
\" />\n",
"comments": "",
"comments": "",
- "x": 2
245
.2665939331055,
- "y":
562
.289547920227,
- "z": "
42dfc057.bac69
",
+ "x": 2
743
.2665939331055,
+ "y":
633
.289547920227,
+ "z": "
ab14e16a.6a0518
",
"wires": []
},
{
"wires": []
},
{
- "id": "
842854c5.b1e1c
8",
+ "id": "
a90ffced.1c834
8",
"type": "outcome",
"name": "Other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
"type": "outcome",
"name": "Other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 2
206
.349353790283,
- "y":
637
.0393905639648,
- "z": "
42dfc057.bac69
",
+ "x": 2
704
.349353790283,
+ "y":
708
.0393905639648,
+ "z": "
ab14e16a.6a0518
",
"wires": [
[
"wires": [
[
- "
b066a3a6.b8196
"
+ "
e561cbc.a164eb8
"
]
]
},
{
]
]
},
{
- "id": "
e77a86f6.1bffc
8",
+ "id": "
63b509e9.2d95d
8",
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
"type": "outcome",
"name": "NULL",
"xml": "<outcome value=''>\n",
"comments": "",
"outputs": 1,
- "x": 2
216
.3490600585938,
- "y": 7
23
.0392570495605,
- "z": "
42dfc057.bac69
",
+ "x": 2
714
.3490600585938,
+ "y": 7
94
.0392570495605,
+ "z": "
ab14e16a.6a0518
",
"wires": [
[
"wires": [
[
- "
cf2d9b30.93fde
8"
+ "
96c1b54d.1bf90
8"
]
]
},
{
]
]
},
{
- "id": "
b066a3a6.b8196
",
+ "id": "
e561cbc.a164eb8
",
"type": "returnFailure",
"name": "return failure",
"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
failed
: '+$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.errors.error[0].error-message`\" />\n\n",
"comments": "",
"comments": "",
- "x": 2
392
.849021911621,
- "y":
637
.0392274856567,
- "z": "
42dfc057.bac69
",
+ "x": 2
890
.849021911621,
+ "y":
708
.0392274856567,
+ "z": "
ab14e16a.6a0518
",
"wires": []
},
{
"wires": []
},
{
- "id": "
cf2d9b30.93fde
8",
+ "id": "
96c1b54d.1bf90
8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2
374
.5156898498535,
- "y": 7
24
.0392322540283,
- "z": "
42dfc057.bac69
",
+ "x": 2
872
.5156898498535,
+ "y": 7
95
.0392322540283,
+ "z": "
ab14e16a.6a0518
",
"wires": [
[]
]
},
{
"wires": [
[]
]
},
{
- "id": "
a7f761b1.d0d6
",
+ "id": "
e657d2bd.9178a8
",
"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": "",
"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": 1
350
.8489570617676,
- "y":
644
.0393257141113,
- "z": "
42dfc057.bac69
",
+ "x": 1
848
.8489570617676,
+ "y":
715
.0393257141113,
+ "z": "
ab14e16a.6a0518
",
"wires": []
},
{
"wires": []
},
{
- "id": "
18b0a0e1.bc2b9f
",
+ "id": "
7720916f.7813b8
",
"type": "call",
"name": "call:bbs-internet-profile-network-topology-operation-common-huawei",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync' >\n",
"comments": "",
"outputs": 1,
"type": "call",
"name": "call:bbs-internet-profile-network-topology-operation-common-huawei",
"xml": "<call module='GENERIC-RESOURCE-API' rpc='bbs-internet-profile-network-topology-operation-common-huawei' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x":
1537
.015869140625,
- "y":
476.03915786743164
,
- "z": "
42dfc057.bac69
",
+ "x":
2035
.015869140625,
+ "y":
547.0391578674316
,
+ "z": "
ab14e16a.6a0518
",
"wires": [
[]
]
"wires": [
[]
]