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
Merge "CDS integration in GR-API for self-serve"
[sdnc/oam.git]
/
platform-logic
/
generic-resource-api
/
src
/
main
/
json
/
GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json
diff --git
a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json
b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json
index
dfb7877
..
a679b1f
100644
(file)
--- a/
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json
+++ b/
platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json
@@
-1,20
+1,20
@@
[
{
[
{
- "id": "
72ace04a.7be558
",
+ "id": "
1c1b1b8c.f22d8c
",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 10
3.75
,
- "y":
43.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 10
1
,
+ "y":
36
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
4683e336.13fbec
"
+ "
5242feba.24d568
"
]
]
},
{
]
]
},
{
- "id": "
4683e336.13fbec
",
+ "id": "
5242feba.24d568
",
"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,897
+22,897
@@
"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": 37
9.75
,
- "y":
44.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 37
7
,
+ "y":
37
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
1e499485.148aab
"
+ "
d27cbed.05f55c
"
]
]
},
{
]
]
},
{
- "id": "
1e499485.148aab
",
+ "id": "
d27cbed.05f55c
",
"type": "method",
"name": "self-serve-generate-name-changeassign",
"xml": "<method rpc='self-serve-generate-name-changeassign' mode='sync'>\n",
"comments": "",
"outputs": 1,
"type": "method",
"name": "self-serve-generate-name-changeassign",
"xml": "<method rpc='self-serve-generate-name-changeassign' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 77
5.75
,
- "y":
43.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 77
3
,
+ "y":
36
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
fce9c766.afb09
"
+ "
5dd94280.59f404
"
]
]
},
{
]
]
},
{
- "id": "
fce9c766.afb09
",
+ "id": "
5dd94280.59f404
",
"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
22.2
5,
- "y": 1
26.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 1
19.
5,
+ "y": 1
19
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
96c99a94.2dd13
",
- "
d2f322ed.7ab698
",
- "
a1151215.a41af8
"
+ "
f7b2e52c.493238
",
+ "
f8d58ab4.c216e
",
+ "
488f44a1.f47cc4
"
]
]
},
{
]
]
},
{
- "id": "
a1151215.a41af8
",
+ "id": "
488f44a1.f47cc4
",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$ss.capability-type`'>\n\n",
"comments": "",
"outputs": 1,
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$ss.capability-type`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 36
7.7
5,
- "y": 45
7.86
114501953125,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 365,
+ "y": 45
0.11
114501953125,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "2
d8e8b63.2be73c
",
- "
8641945a.85d85
",
- "
87d6f1d6.fde57
",
- "b
49433f5.4f0a1
8"
+ "2
c48172e.c12508
",
+ "
33b5a922.c609d6
",
+ "
7e07a472.6c934c
",
+ "b
86ad187.19dd2
8"
]
]
},
{
]
]
},
{
- "id": "2
d8e8b63.2be73c
",
+ "id": "2
c48172e.c12508
",
"type": "outcome",
"name": "vnf",
"xml": "<outcome value='vnf'>\n",
"comments": "",
"outputs": 1,
"type": "outcome",
"name": "vnf",
"xml": "<outcome value='vnf'>\n",
"comments": "",
"outputs": 1,
- "x": 55
2.75
,
- "y": 5
21.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 55
0
,
+ "y": 5
14
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
8257892.ab90ef
8"
+ "
973953f9.a1f84
8"
]
]
},
{
]
]
},
{
- "id": "
8641945a.85d85
",
+ "id": "
33b5a922.c609d6
",
"type": "outcome",
"name": "vf-module",
"xml": "<outcome value='vf-module'>\n",
"comments": "",
"outputs": 1,
"type": "outcome",
"name": "vf-module",
"xml": "<outcome value='vf-module'>\n",
"comments": "",
"outputs": 1,
- "x": 5
70.19
44580078125,
- "y": 13
70.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 5
67.44
44580078125,
+ "y": 13
62.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
3b7a5a5b.0869d6
"
+ "
fc92d96a.d71e28
"
]
]
},
{
]
]
},
{
- "id": "
87d6f1d6.fde57
",
+ "id": "
7e07a472.6c934c
",
"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": 5
40.86
1083984375,
- "y": 20
97.30
56030273438,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 5
38.11
1083984375,
+ "y": 20
89.55
56030273438,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
440694ff.4f3a6c
"
+ "
6e4fdf25.0d9908
"
]
]
},
{
]
]
},
{
- "id": "b
49433f5.4f0a1
8",
+ "id": "b
86ad187.19dd2
8",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 54
3.86
1083984375,
- "y": 21
67.30
56030273438,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 54
1.11
1083984375,
+ "y": 21
59.55
56030273438,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
440694ff.4f3a6c
"
+ "
6e4fdf25.0d9908
"
]
]
},
{
]
]
},
{
- "id": "
440694ff.4f3a6c
",
+ "id": "
6e4fdf25.0d9908
",
"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=\"capability-type is not vnf or vf-module\" />\n",
"comments": "",
"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=\"capability-type is not vnf or vf-module\" />\n",
"comments": "",
- "x": 72
8.86
1083984375,
- "y": 21
27.30
56030273438,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 72
6.11
1083984375,
+ "y": 21
19.55
56030273438,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
96c99a94.2dd13
",
+ "id": "
f7b2e52c.493238
",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$ss.input.param.index`'>\n\n",
"comments": "",
"outputs": 1,
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$ss.input.param.index`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 36
4.75
,
- "y": 16
9.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 36
2
,
+ "y": 16
2
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
a6eb425f.b8bdd
"
+ "
570568eb.22122
"
]
]
},
{
]
]
},
{
- "id": "
d2f322ed.7ab698
",
+ "id": "
f8d58ab4.c216e
",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$ss.service-data.param.index`'>\n\n",
"comments": "",
"outputs": 1,
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$ss.service-data.param.index`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 36
6.75
,
- "y": 2
42.7
5,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 36
4
,
+ "y": 2
3
5,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
4bd1595c.01371
8"
+ "
b5d6857c.4e610
8"
]
]
},
{
]
]
},
{
- "id": "
a6eb425f.b8bdd
",
+ "id": "
570568eb.22122
",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 52
7.7
5,
- "y": 16
8.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 525,
+ "y": 16
1
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
150b73ba.cd1f84
"
+ "
efa9a9cc.1d3f18
"
]
]
},
{
]
]
},
{
- "id": "
4bd1595c.01371
8",
+ "id": "
b5d6857c.4e610
8",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 5
30.75
,
- "y": 2
41.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 5
28
,
+ "y": 2
34
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
2339ed70.e452d2
"
+ "
7c13efe5.43ea88
"
]
]
},
{
]
]
},
{
- "id": "
150b73ba.cd1f84
",
+ "id": "
efa9a9cc.1d3f18
",
"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=\"ss.input.param.index is null\" />\n",
"comments": "",
"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=\"ss.input.param.index is null\" />\n",
"comments": "",
- "x": 71
6.75
,
- "y": 16
8.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 71
4
,
+ "y": 16
1
,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
2339ed70.e452d2
",
+ "id": "
7c13efe5.43ea88
",
"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=\"ss.service-data.param.index is null\" />\n",
"comments": "",
"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=\"ss.service-data.param.index is null\" />\n",
"comments": "",
- "x": 71
7.7
5,
- "y": 2
41.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 715,
+ "y": 2
34
,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
fa65e5dc.08b3d8
",
+ "id": "
776ec9b3.cfe35
",
"type": "execute",
"name": "execute NameGenerationNode-changeassign",
"xml": "<execute plugin='org.openecomp.sdnc.prov.namegeneration.node.AssignNameNode' method='process'>\n <parameter name='payload' value='`$tmp.vnf.changeassign.naming-data-payload`' />\n <parameter name=\"prifix\" value=\"vnf.changeassign.nameGenResponse\" />\n",
"comments": "",
"outputs": 1,
"type": "execute",
"name": "execute NameGenerationNode-changeassign",
"xml": "<execute plugin='org.openecomp.sdnc.prov.namegeneration.node.AssignNameNode' method='process'>\n <parameter name='payload' value='`$tmp.vnf.changeassign.naming-data-payload`' />\n <parameter name=\"prifix\" value=\"vnf.changeassign.nameGenResponse\" />\n",
"comments": "",
"outputs": 1,
- "x": 8
41.75
,
- "y": 8
36.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 8
39
,
+ "y": 8
29
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
2e29dd23.0f76
32",
- "
268c5fb8.e45f3
"
+ "
ece4186c.665
32",
+ "
92f7fa59.72257
"
]
]
},
{
]
]
},
{
- "id": "
2e29dd23.0f76
32",
+ "id": "
ece4186c.665
32",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 108
2.75
,
- "y": 7
91.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 108
0
,
+ "y": 7
84
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
a64477a3.5d098
"
+ "
cef19df0.cf597
"
]
]
},
{
]
]
},
{
- "id": "
268c5fb8.e45f3
",
+ "id": "
92f7fa59.72257
",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 108
7.7
5,
- "y": 88
9.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 1085,
+ "y": 88
2
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
a64477a3.5d098
"
+ "
cef19df0.cf597
"
]
]
},
{
]
]
},
{
- "id": "
a64477a3.5d098
",
+ "id": "
cef19df0.cf597
",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 123
9.75
,
- "y": 8
33.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 123
7
,
+ "y": 8
26
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
735acfc0.69263
",
- "
9f441bcd.48c91
"
+ "
ee51f6c5.2fc7b
",
+ "
2868a2e7.19a866
"
]
]
},
{
]
]
},
{
- "id": "
735acfc0.69263
",
+ "id": "
ee51f6c5.2fc7b
",
"type": "set",
"name": "set status as FAILED",
"xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.status`' value='FAILED' />",
"comments": "",
"type": "set",
"name": "set status as FAILED",
"xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.status`' value='FAILED' />",
"comments": "",
- "x": 14
40.75
,
- "y": 7
81.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 14
38
,
+ "y": 7
74
,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
9f441bcd.48c91
",
+ "id": "
2868a2e7.19a866
",
"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=\"`'Error from NameGenerationNode ChangeAssign vnf ' + $error-message`\" />\n",
"comments": "",
"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=\"`'Error from NameGenerationNode ChangeAssign vnf ' + $error-message`\" />\n",
"comments": "",
- "x": 142
6.75
,
- "y": 8
90.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 142
4
,
+ "y": 8
83
,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
8257892.ab90ef
8",
+ "id": "
973953f9.a1f84
8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 7
20.75
,
- "y": 5
21.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 7
18
,
+ "y": 5
14
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
53e3c0e3.64d5d
8",
- "
50624aa7.268ebc
",
- "
1f68cda.b8d8b32
",
- "
fa65e5dc.08b3d8
",
- "
8643313e.d4e4a
8",
- "
5380e841.bea77
"
+ "
e2385750.97629
8",
+ "
924870b0.89a2
",
+ "
43fb1f27.951ec8
",
+ "
776ec9b3.cfe35
",
+ "
cdac6275.62c53
8",
+ "
3d7cf445.7e3e64
"
]
]
},
{
]
]
},
{
- "id": "
53e3c0e3.64d5d
8",
+ "id": "
e2385750.97629
8",
"type": "for",
"name": "for service-data.vnf-parameters-data.param index i",
"xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key_length`' >",
"comments": "",
"outputs": 1,
"type": "for",
"name": "for service-data.vnf-parameters-data.param index i",
"xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key_length`' >",
"comments": "",
"outputs": 1,
- "x": 88
8.75
,
- "y": 5
84.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 88
6
,
+ "y": 5
77
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
67ae549.369122c
"
+ "
502bdf23.14a01
"
]
]
},
{
]
]
},
{
- "id": "
67ae549.369122c
",
+ "id": "
502bdf23.14a01
",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key[$i].name`'>\n\n",
"comments": "",
"outputs": 1,
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key[$i].name`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 104
4.75
,
- "y": 6
46.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 104
2
,
+ "y": 6
39
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
408a6d52.bca67c
"
+ "
a82dd4d8.fa645
"
]
]
},
{
]
]
},
{
- "id": "
408a6d52.bca67c
",
+ "id": "
a82dd4d8.fa645
",
"type": "outcome",
"name": "external-key",
"xml": "<outcome value='external-key'>\n",
"comments": "",
"outputs": 1,
"type": "outcome",
"name": "external-key",
"xml": "<outcome value='external-key'>\n",
"comments": "",
"outputs": 1,
- "x": 12
30.75
,
- "y": 6
46.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 12
28
,
+ "y": 6
39
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
9801ba33.1a3de
"
+ "
c9562be9.ab781
"
]
]
},
{
]
]
},
{
- "id": "
9801ba33.1a3de
",
+ "id": "
c9562be9.ab781
",
"type": "set",
"name": "set tmp.external-key.value",
"xml": "<set>\n<parameter name='tmp.external-key.value' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key[$i].value`' />\n",
"comments": "",
"type": "set",
"name": "set tmp.external-key.value",
"xml": "<set>\n<parameter name='tmp.external-key.value' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key[$i].value`' />\n",
"comments": "",
- "x": 146
2.75
,
- "y": 6
46.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 146
0
,
+ "y": 6
39
,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
1f68cda.b8d8b32
",
+ "id": "
43fb1f27.951ec8
",
"type": "set",
"name": "set payload data",
"type": "set",
"name": "set payload data",
- "xml": "<set>\n<parameter name=\"tmp.vnf.changeassign.naming-data-payload\" value=\"`'{"elements":[{' + '"resource-name":"' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$ss.input.param.index].name + '","resource-value":"' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$ss.input.param.index].value + '","external-key":"' + $tmp.external-key.value + '"}]'`\"/>",
+ "xml": "<set>\n<parameter name=\"tmp.vnf.changeassign.naming-data-payload\" value=\"`'{"elements":[{' + '"resource-name":"' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$ss.input.param.index].name + '","resource-value":"' + $vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$ss.input.param.index].value + '","external-key":"' + $tmp.external-key.value + '"}]
}
'`\"/>",
"comments": "",
"comments": "",
- "x": 77
7.7
5,
- "y": 7
70.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 775,
+ "y": 7
63
,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
50624aa7.268ebc
",
+ "id": "
924870b0.89a2
",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$tmp.external-key.value`'>\n\n",
"comments": "",
"outputs": 1,
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$tmp.external-key.value`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 74
8.75
,
- "y": 7
13.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 74
6
,
+ "y": 7
06
,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
c1a7e7c7.bb67c
"
+ "
a1e3a0cf.8001e8
"
]
]
},
{
]
]
},
{
- "id": "
c1a7e7c7.bb67c
",
+ "id": "
a1e3a0cf.8001e8
",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x":
901.75
,
- "y": 7
12.7
5,
- "z": "
8e64cd0a.c97ea
8",
+ "x":
899
,
+ "y": 7
0
5,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
17d289d6.1a9e5e
"
+ "
8627e3cd.3b77e8
"
]
]
},
{
]
]
},
{
- "id": "
17d289d6.1a9e5e
",
+ "id": "
8627e3cd.3b77e8
",
"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=\"self-service-generate-name-changeassign error : external-key is null for vnf\" />\n",
"comments": "",
"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=\"self-service-generate-name-changeassign error : external-key is null for vnf\" />\n",
"comments": "",
- "x": 106
2.75
,
- "y": 7
12.7
5,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 106
0
,
+ "y": 7
0
5,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
420ba6ad.26a838
",
+ "id": "
89b0826d.ca14b
",
"type": "execute",
"name": "execute NameGenerationNode-changeassign",
"xml": "<execute plugin='org.openecomp.sdnc.prov.namegeneration.node.AssignNameNode' method='process'>\n <parameter name='payload' value='`$tmp.vf-module.changeassign.naming-data-payload`' />\n <parameter name=\"prifix\" value=\"vf-module.changeassign.nameGenResponse\" />\n",
"comments": "",
"outputs": 1,
"type": "execute",
"name": "execute NameGenerationNode-changeassign",
"xml": "<execute plugin='org.openecomp.sdnc.prov.namegeneration.node.AssignNameNode' method='process'>\n <parameter name='payload' value='`$tmp.vf-module.changeassign.naming-data-payload`' />\n <parameter name=\"prifix\" value=\"vf-module.changeassign.nameGenResponse\" />\n",
"comments": "",
"outputs": 1,
- "x":
900.19
44580078125,
- "y": 16
86.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x":
897.44
44580078125,
+ "y": 16
78.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
40004b3f.e2bed
c",
- "
a93541ba.8e68b
8"
+ "
24cee4e8.4b448
c",
+ "
75bedfb3.3ade9
8"
]
]
},
{
]
]
},
{
- "id": "
40004b3f.e2bed
c",
+ "id": "
24cee4e8.4b448
c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 113
7.19
44580078125,
- "y": 16
40.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 113
4.44
44580078125,
+ "y": 16
32.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
89d30d0a.86861
"
+ "
cb648bfb.cf66d8
"
]
]
},
{
]
]
},
{
- "id": "
a93541ba.8e68b
8",
+ "id": "
75bedfb3.3ade9
8",
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
"type": "failure",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 114
3.19
44580078125,
- "y": 17
40.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 114
0.44
44580078125,
+ "y": 17
32.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
89d30d0a.86861
"
+ "
cb648bfb.cf66d8
"
]
]
},
{
]
]
},
{
- "id": "
89d30d0a.86861
",
+ "id": "
cb648bfb.cf66d8
",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 12
90.19
44580078125,
- "y": 16
82.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 12
87.44
44580078125,
+ "y": 16
74.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
fc409ea5.e85ae
",
- "
e3c25f44.0cb21
"
+ "
6fbd418e.fb8d9
",
+ "
a4b1611a.39c14
"
]
]
},
{
]
]
},
{
- "id": "
fc409ea5.e85ae
",
+ "id": "
6fbd418e.fb8d9
",
"type": "set",
"name": "set status as FAILED",
"xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$ss.service-data.param.index].resource-resolution-data.status`' value='FAILED' />",
"comments": "",
"type": "set",
"name": "set status as FAILED",
"xml": "<set>\n<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$ss.service-data.param.index].resource-resolution-data.status`' value='FAILED' />",
"comments": "",
- "x": 149
9.19
44580078125,
- "y": 16
31.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 149
6.44
44580078125,
+ "y": 16
23.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
e3c25f44.0cb21
",
+ "id": "
a4b1611a.39c14
",
"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=\"`'Error from NameGenerationNode ChangeAssign vf-module ' + $error-message`\" />\n",
"comments": "",
"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=\"`'Error from NameGenerationNode ChangeAssign vf-module ' + $error-message`\" />\n",
"comments": "",
- "x": 148
5.19
44580078125,
- "y": 17
40.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 148
2.44
44580078125,
+ "y": 17
32.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
3b7a5a5b.0869d6
",
+ "id": "
fc92d96a.d71e28
",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 77
9.19
44580078125,
- "y": 13
71.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 77
6.44
44580078125,
+ "y": 13
63.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
2cccc824.ad2a78
",
- "
231cd5d7.8b6a1a
",
- "
2c11cde8.d352fa
",
- "
420ba6ad.26a838
",
- "
828d5f62.22b21
8",
- "
bd0adc9e.3de71
"
+ "
c4770fe1.62916
",
+ "
dd52b043.a96ef
",
+ "
12397850.e2f698
",
+ "
89b0826d.ca14b
",
+ "
352c4756.0206c
8",
+ "
d93b3d94.b2b228
"
]
]
},
{
]
]
},
{
- "id": "
2cccc824.ad2a78
",
+ "id": "
c4770fe1.62916
",
"type": "for",
"name": "for service-data.vnf-parameters-data.param index i",
"xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key_length`' >",
"comments": "",
"outputs": 1,
"type": "for",
"name": "for service-data.vnf-parameters-data.param index i",
"xml": "<for index='i' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key_length`' >",
"comments": "",
"outputs": 1,
- "x": 94
7.19
44580078125,
- "y": 14
34.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 94
4.44
44580078125,
+ "y": 14
26.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
5e430810.e35d5
"
+ "
7c7934f8.f11a6c
"
]
]
},
{
]
]
},
{
- "id": "
5e430810.e35d5
",
+ "id": "
7c7934f8.f11a6c
",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key[$i].name`'>\n\n",
"comments": "",
"outputs": 1,
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key[$i].name`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 1
101.19
44580078125,
- "y": 14
96.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 1
098.44
44580078125,
+ "y": 14
88.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
1cd2631e.5000ad
"
+ "
c6f3adca.93b718
"
]
]
},
{
]
]
},
{
- "id": "
1cd2631e.5000ad
",
+ "id": "
c6f3adca.93b718
",
"type": "outcome",
"name": "external-key",
"xml": "<outcome value='external-key'>\n",
"comments": "",
"outputs": 1,
"type": "outcome",
"name": "external-key",
"xml": "<outcome value='external-key'>\n",
"comments": "",
"outputs": 1,
- "x": 128
7.19
44580078125,
- "y": 14
96.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 128
4.44
44580078125,
+ "y": 14
88.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "b
5e021a4.2b14
"
+ "b
e8ee91c.01b38
"
]
]
},
{
]
]
},
{
- "id": "b
5e021a4.2b14
",
+ "id": "b
e8ee91c.01b38
",
"type": "set",
"name": "set tmp.external-key.value",
"xml": "<set>\n<parameter name='tmp.external-key.value' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key[$i].value`' />\n",
"comments": "",
"type": "set",
"name": "set tmp.external-key.value",
"xml": "<set>\n<parameter name='tmp.external-key.value' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.resource-key[$i].value`' />\n",
"comments": "",
- "x": 151
9.19
44580078125,
- "y": 14
96.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 151
6.44
44580078125,
+ "y": 14
88.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
2c11cde8.d352fa
",
+ "id": "
12397850.e2f698
",
"type": "set",
"name": "set payload data",
"type": "set",
"name": "set payload data",
- "xml": "<set>\n<parameter name=\"tmp.vf-module.changeassign.naming-data-payload\" value=\"`'{"elements":[{' + '"resource-name":"' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$ss.input.param.index].name + '","resource-value":"' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$ss.input.param.index].value + '","external-key":"' + $tmp.external-key.value + '"}]'`\"/>",
+ "xml": "<set>\n<parameter name=\"tmp.vf-module.changeassign.naming-data-payload\" value=\"`'{"elements":[{' + '"resource-name":"' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$ss.input.param.index].name + '","resource-value":"' + $vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$ss.input.param.index].value + '","external-key":"' + $tmp.external-key.value + '"}]
}
'`\"/>",
"comments": "",
"comments": "",
- "x": 83
6.19
44580078125,
- "y": 16
20.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 83
3.44
44580078125,
+ "y": 16
12.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
231cd5d7.8b6a1a
",
+ "id": "
dd52b043.a96ef
",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$tmp.external-key.value`'>\n\n",
"comments": "",
"outputs": 1,
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$tmp.external-key.value`'>\n\n",
"comments": "",
"outputs": 1,
- "x": 80
7.19
44580078125,
- "y": 15
63.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 80
4.44
44580078125,
+ "y": 15
55.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
c92f1042.b4f72
8"
+ "
e401bf03.ed02a
8"
]
]
},
{
]
]
},
{
- "id": "
c92f1042.b4f72
8",
+ "id": "
e401bf03.ed02a
8",
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
"type": "outcome",
"name": "null",
"xml": "<outcome value=''>",
"comments": "",
"outputs": 1,
- "x": 9
60.19
44580078125,
- "y": 15
62.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 9
57.44
44580078125,
+ "y": 15
54.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
928dfda3.a334e
"
+ "
1bd8e3a8.c533b4
"
]
]
},
{
]
]
},
{
- "id": "
928dfda3.a334e
",
+ "id": "
1bd8e3a8.c533b4
",
"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=\"self-service-generate-name-changeassign error : external-key is null for vf-module\" />\n",
"comments": "",
"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=\"self-service-generate-name-changeassign error : external-key is null for vf-module\" />\n",
"comments": "",
- "x": 11
21.19
44580078125,
- "y": 15
62.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 11
18.44
44580078125,
+ "y": 15
54.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
e9758b29.f137c
8",
+ "id": "
c22afee4.bb0e9
8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 89
3.74
99389648438,
- "y": 9
56.63
88549804688,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 89
0.99
99389648438,
+ "y": 9
48.88
88549804688,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
866c1fb3.eb77a
"
+ "
d52d5d8a.20fc58
"
]
]
},
{
]
]
},
{
- "id": "
866c1fb3.eb77a
",
+ "id": "
d52d5d8a.20fc58
",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 105
9.30
56640625,
- "y":
1001.19
44427490234,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 105
6.55
56640625,
+ "y":
993.44
44427490234,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
e7f01e3.2acaae
",
- "
712546c8.9b5af
"
+ "
85e49276.168cd
",
+ "
f60bf43e.3a4bd8
"
]
]
},
{
]
]
},
{
- "id": "
e7f01e3.2acaae
",
+ "id": "
85e49276.168cd
",
"type": "set",
"name": "set status as FAILED",
"xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.status`' value='FAILED' />",
"comments": "",
"type": "set",
"name": "set status as FAILED",
"xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.status`' value='FAILED' />",
"comments": "",
- "x": 126
8.75
,
- "y": 9
56.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 126
6
,
+ "y": 9
49
,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
712546c8.9b5af
",
+ "id": "
f60bf43e.3a4bd8
",
"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=\"`'Failed to update generic-vnf.vnf-name to ' + $ss.changeassign.vnf-name + ' in AnAI'`\" />\n",
"comments": "",
"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=\"`'Failed to update generic-vnf.vnf-name to ' + $ss.changeassign.vnf-name + ' in AnAI'`\" />\n",
"comments": "",
- "x": 125
6.75
,
- "y": 10
44.75
,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 125
4
,
+ "y": 10
37
,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
5380e841.bea77
",
+ "id": "
3d7cf445.7e3e64
",
"type": "set",
"name": "set success",
"xml": "<set>\n\t <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].value`' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$ss.input.param.index].value`'/>\n\t <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.status`' value='SUCCESS' />",
"comments": "",
"type": "set",
"name": "set success",
"xml": "<set>\n\t <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].value`' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$ss.input.param.index].value`'/>\n\t <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$ss.service-data.param.index].resource-resolution-data.status`' value='SUCCESS' />",
"comments": "",
- "x": 6
90.86
11450195312,
- "y": 10
85.63
88549804688,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 6
88.11
11450195312,
+ "y": 10
77.88
88549804688,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
c57b7486.a57b1
",
+ "id": "
296de1b7.0fd81e
",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 9
61.86
1083984375,
- "y": 18
11.86
09008789062,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 9
59.11
1083984375,
+ "y": 18
04.11
09008789062,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
4fc9b736.8d6e3
"
+ "
1a47636d.f18615
"
]
]
},
{
]
]
},
{
- "id": "
4fc9b736.8d6e3
",
+ "id": "
1a47636d.f18615
",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 112
5.19
44580078125,
- "y": 18
47.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 112
2.44
44580078125,
+ "y": 18
39.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
c4cb3411.ce3c08
",
- "
5be64b3b.d3de2c
"
+ "
13f096ae.130bd9
",
+ "
446f10ad.05f988
"
]
]
},
{
]
]
},
{
- "id": "
c4cb3411.ce3c08
",
+ "id": "
13f096ae.130bd9
",
"type": "set",
"name": "set status as FAILED",
"xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$ss.service-data.param.index].resource-resolution-data.status`' value='FAILED' />",
"comments": "",
"type": "set",
"name": "set status as FAILED",
"xml": "<set>\n\t<parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$ss.service-data.param.index].resource-resolution-data.status`' value='FAILED' />",
"comments": "",
- "x": 13
40.19
44580078125,
- "y": 1
807.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 13
37.44
44580078125,
+ "y": 1
799.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
5be64b3b.d3de2c
",
+ "id": "
446f10ad.05f988
",
"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=\"`'Failed to update vf-module.vf-module-name to ' + $ss.changeassign.vf-module-name + ' in AnAI'`\" />\n",
"comments": "",
"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=\"`'Failed to update vf-module.vf-module-name to ' + $ss.changeassign.vf-module-name + ' in AnAI'`\" />\n",
"comments": "",
- "x": 132
8.19
44580078125,
- "y": 18
95.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 132
5.44
44580078125,
+ "y": 18
87.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
bd0adc9e.3de71
",
+ "id": "
d93b3d94.b2b228
",
"type": "set",
"name": "set success",
"xml": "<set>\n\t <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$ss.service-data.param.index].value`' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$ss.input.param.index].value`'/>\n\t <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$ss.service-data.param.index].resource-resolution-data.status`' value='SUCCESS' />",
"comments": "",
"type": "set",
"name": "set success",
"xml": "<set>\n\t <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$ss.service-data.param.index].value`' value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$ss.input.param.index].value`'/>\n\t <parameter name='`service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$ss.service-data.param.index].resource-resolution-data.status`' value='SUCCESS' />",
"comments": "",
- "x": 7
91.19
44580078125,
- "y": 19
37.52
7587890625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 7
88.44
44580078125,
+ "y": 19
29.77
7587890625,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
3ab1de2e.107f4a
",
+ "id": "
ef964ca0.407bf8
",
"type": "comment",
"name": "For VNF genname changeassign",
"info": "",
"comments": "",
"type": "comment",
"name": "For VNF genname changeassign",
"info": "",
"comments": "",
- "x": 63
4.97
22290039062,
- "y": 45
7.97
22595214844,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 63
2.22
22290039062,
+ "y": 45
0.22
22595214844,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
acf466b0.cd99d
",
+ "id": "
2ef4734c.fa35c4
",
"type": "comment",
"name": "For VF-MODULE genname changeassign",
"info": "",
"comments": "",
"type": "comment",
"name": "For VF-MODULE genname changeassign",
"info": "",
"comments": "",
- "x": 6
70.52
77709960938,
- "y": 12
80.19
4580078125,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 6
67.77
77709960938,
+ "y": 12
72.44
4580078125,
+ "z": "
cd15d378.222de
8",
"wires": []
},
{
"wires": []
},
{
- "id": "
8643313e.d4e4a
8",
+ "id": "
cdac6275.62c53
8",
"type": "save",
"name": "update generic-vnf",
"type": "save",
"name": "update generic-vnf",
- "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n\tresource=\"generic-vnf\"\n\t\tkey=\"generic-vnf.vnf-id =
$ss.param.vnf-id \" >\n<parameter name=\"ipv4-loopback0-address\" value='`$ss.param.ipv4-loopback0-address`' />\n<parameter name=\"ipv4-oam-address\" value='`$ss.param.ipv4-oam-address`' />\n<parameter name=\"as-number\" value='`$ss.param.as-number`' />\n<parameter name=\"vlan-id-outer\" value='`$ss.param.vlan-id-outer
`' />\n\n",
+ "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n\tresource=\"generic-vnf\"\n\t\tkey=\"generic-vnf.vnf-id =
$service-data.vnfs.vnf[$vnf-index].vnf-id \" >\n<parameter name=\"vnf-name\" value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$ss.input.param.index].value
`' />\n\n",
"comments": "",
"outputs": 1,
"comments": "",
"outputs": 1,
- "x": 71
4.97
216796875,
- "y": 99
7.97
22900390625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 71
2.22
216796875,
+ "y": 99
0.22
22900390625,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
e9758b29.f137c
8",
- "
291e7999.8fd276
"
+ "
c22afee4.bb0e9
8",
+ "
5fc85d40.547644
"
]
]
},
{
]
]
},
{
- "id": "
828d5f62.22b21
8",
+ "id": "
352c4756.0206c
8",
"type": "save",
"name": "update vf-module",
"type": "save",
"name": "update vf-module",
- "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"
\n\tresource=\"vf-module\"\n\t\tkey=\"generic-vnf.vnf-id = $ss.param.vnf-id \n\t\t\tAND vf-module.vf-module-id = $ss.param.vf-module-id \" >\n<parameter name=\"vf-module-name\" value='`$ss.param.vf-module-nam
e`' />\n",
+ "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"
\n\tresource=\"vf-module\" key=\"generic-vnf.vnf-id = $service-data.vnfs.vnf[$vnf-index].vnf-id AND vf-module.vf-module-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-id \" > \n<parameter name=\"vf-module-name\" value='`$vf-module-topology-operation-input.vf-module-request-input.vf-module-input-parameters.param[$ss.input.param.index].valu
e`' />\n",
"comments": "",
"outputs": 1,
"comments": "",
"outputs": 1,
- "x": 79
2.75
,
- "y": 184
7.97
22900390625,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 79
0
,
+ "y": 184
0.22
22900390625,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
c57b7486.a57b1
",
- "
5cf0712f.35945
"
+ "
296de1b7.0fd81e
",
+ "
ba968b2c.2f6978
"
]
]
},
{
]
]
},
{
- "id": "
5cf0712f.35945
",
+ "id": "
ba968b2c.2f6978
",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 95
9.41
66870117188,
- "y": 189
7.97
19848632812,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 95
6.66
66870117188,
+ "y": 189
0.22
19848632812,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
4fc9b736.8d6e3
"
+ "
1a47636d.f18615
"
]
]
},
{
]
]
},
{
- "id": "
291e7999.8fd276
",
+ "id": "
5fc85d40.547644
",
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
"type": "not-found",
"name": "not-found",
"xml": "<outcome value='not-found'>\n",
"comments": "",
"outputs": 1,
- "x": 89
7.19
45190429688,
- "y": 10
46.86
11450195312,
- "z": "
8e64cd0a.c97ea
8",
+ "x": 89
4.44
45190429688,
+ "y": 10
39.11
11450195312,
+ "z": "
cd15d378.222de
8",
"wires": [
[
"wires": [
[
- "
866c1fb3.eb77a
"
+ "
d52d5d8a.20fc58
"
]
]
}
]
]
}