Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleDG JSON Sting

[{"id":"d79d0d35.a622a8","type":"dgstart","name":"DGSTART","outputs":1,"x":112,"y":62,"z":"9a684888.3f2538","wires":[["e8368657.f2d8f"]]},{"id":"e8368657.f2d8f","type":"service-logic","name":"VCPE-API 0.0.1-DEMO","module":"VCPE-API","version":"0.0.1-DEMO","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='VCPE-API' version='0.0.1-DEMO'>","outputs":1,"x":318.1666564941406,"y":87.16667175292969,"z":"9a684888.3f2538","wires":[["69f272d9.6bf4f4"]]},{"id":"69f272d9.6bf4f4","type":"method","name":"method vcpe-vgw-activate","xml":"<method rpc='vcpe-vgw-activate' mode='sync'>\n","comments":"","outputs":1,"x":182.16668701171875,"y":151.16665649414062,"z":"9a684888.3f2538","wires":[["2cdda2a7.c88146"]]},{"id":"2cdda2a7.c88146","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":390,"y":239,"z":"9a684888.3f2538","wires":[["2fed121c.e86f76","f5677f8e.1ec748","942de7f6.8bda2","100c8a63.bf0bee","d9c7cd5d.e69768"]]},{"id":"2fed121c.e86f76","type":"set","name":"set: order-status = Active","xml":"<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Active\"/>","comments":"","x":612,"y":351,"z":"9a684888.3f2538","wires":[]},{"id":"100c8a63.bf0bee","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />","comments":"","x":584,"y":538,"z":"9a684888.3f2538","wires":[]},{"id":"f5677f8e.1ec748","type":"set","name":"set: service-data = input","xml":"<set>\n\t<parameter name=\"service-data.\" value=\"vcpe-vgw-activate-input.\" />","comments":"","x":611.8888854980469,"y":452.388916015625,"z":"9a684888.3f2538","wires":[]},{"id":"942de7f6.8bda2","type":"set","name":"Set final indicator to Y","xml":"<set>\n<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":606.2063369750977,"y":496.1031608581543,"z":"9a684888.3f2538","wires":[]},{"id":"d9c7cd5d.e69768","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"vcpe-vgw-activate\"/>\n<parameter name=\"field3\" value=\"`$vcpe-vgw-activate-input.vgw-oam-address`\"/>\n","comments":"","outputs":1,"x":560,"y":282,"z":"9a684888.3f2538","wires":[[]]}]


Amsterdam DG

Code Blockexpand
true
collapsetitleDG JSON - Amsterdam

[{"id":"

19a70de9

38bd709c.

db2302

175368","type":"dgstart","name":"DGSTART","outputs":1,"x":

133

178.5,"y":

54

80,"z":"

157923ee

f2df1f12.

ecbd34

6ab348","wires":[["

8f67332e

d0de403c.

5ea838

350ae8"]]},{"id":"

8f67332e

d0de403c.

5ea838

350ae8","type":"service-logic","name":"VCPE-API

0.0.1-DEMO","module":"VCPE-API","version":"0.0.1-DEMO","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='VCPE-API'

version='0.0.1-DEMO'>","outputs":1,"x":

420

384.

1666564941406

6666564941406,"y":

118

105.16667175292969,"z":"

157923ee

f2df1f12.

ecbd34

6ab348","wires":[["

7a8fd96a

ea270635.

d00b58

56b8e"]]},{"id":"

7a8fd96a

ea270635.

d00b58

56b8e","type":"method","name":"method

vcpe-vgw-activate","xml":"<method

rpc='vcpe-vgw-activate'

mode='sync'>\n","comments":"","outputs":1,"x":

284

248.

16668701171875

66668701171875,"y":

182

169.16665649414062,"z":"

157923ee

f2df1f12.

ecbd34

6ab348","wires":[["

40fa0531

39ffd5bc.

e12d44

c63c62"]]},{"id":"

40fa0531

39ffd5bc.

e12d44

c63c62","type":"block","name":"block

:

atomic","xml":"<block

atomic=\"true\">","atomic":"true","outputs":1,"x":

492

456.5,"y":

270

257,"z":"

157923ee

f2df1f12.

ecbd34

6ab348","wires":[["

91ebf1a8

b5a325da.

c8a438

3ccee8","

724865e3

d565b9ae.

ed713c

cc476","

9f0d2d18

f1c4d756.

5c9a68

c5524","

b671f3c9

9cd0f957.

d48ce8

1aba88","

3b307608

47578ecb.

a17b4a

8dd218"]]},{"id":"

91ebf1a8

b5a325da.

c8a438

3ccee8","type":"set","name":"set:

order-status

=

Active","xml":"<set>\n\t<parameter

name=\"service-data.oper-status.order-status\"

value=\"Active\"/>","comments":"","x":

714

678.5,"y":

382

369,"z":"

157923ee

f2df1f12.

ecbd34

6ab348","wires":[]},{"id":"

724865e3

d565b9ae.

ed713c

cc476","type":"set","name":"set:

service-data

=

input","xml":"<set>\n\t<parameter

name=\"service-data.\"

value=\"vcpe-vgw-activate-input.\"

/>","comments":"","x":

713

678.

8888854980469

3888854980469,"y":

483

470.388916015625,"z":"

157923ee

f2df1f12.

ecbd34

6ab348","wires":[]},{"id":"

9f0d2d18

f1c4d756.

5c9a68

c5524","type":"set","name":"Set

final

indicator

to

Y","xml":"<set>\n<parameter

name=\"ack-final\"

value=\"Y\"/>","comments":"","x":

708

672.

2063369750977

7063369750977,"y":

527

514.1031608581543,"z":"

157923ee

f2df1f12.

ecbd34

6ab348","wires":[]},{"id":"

b671f3c9

9cd0f957.

d48ce8

1aba88","type":"returnSuccess","name":"return

success","xml":"<return

status='success'>\n\t<parameter

name=\"error-code\"

value=\"200\"

/>","comments":"","x":

686

650.5,"y":

569

556,"z":"

157923ee

f2df1f12.

ecbd34

6ab348","wires":[]},{"id":"

3b307608

47578ecb.

a17b4a

8dd218","type":"record","name":"record","xml":"<record

plugin=\"org.openecomp.sdnc.sli.recording.FileRecorder\">\n<parameter

name=\"file\"

value=\"/opt/opendaylight/current/data/log/svclogic.log\"/>\n<parameter

name=\"field1\"

value=\"__TIMESTAMP__\"/>\n<parameter

name=\"field2\"

value=\"vcpe-vgw-activate\"/>\n<parameter

name=\"field3\"

value=\"`$vcpe-vgw-activate-input.vgw-oam-address`\"/>\n","comments":"","outputs":1,"x":

662

626.5,"y":

313

300,"z":"

157923ee

f2df1f12.

ecbd34

6ab348","wires":[[]]}]


Copy it to your clipboard

...