1
|
[{"id":"6ec6172c.2bcbd8","type":"dgstart","name":"DGSTART","outputs":1,"x":132.85714721679688,"y":85.71428680419922,"z":"fb3a2b3.b3cc7d8","wires":[["bfc710c7.92834"]]},{"id":"bfc710c7.92834","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","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":247.14285278320312,"y":125.9523983001709,"z":"fb3a2b3.b3cc7d8","wires":[["4209672b.254cc8"]]},{"id":"4209672b.254cc8","type":"method","name":"method vnf-topology-operation","xml":"<method rpc='vnf-topology-operation' mode='sync'>\n","comments":"","outputs":1,"x":199.28577423095703,"y":165.71428108215332,"z":"fb3a2b3.b3cc7d8","wires":[["d712fd97.5e8a2"]]},{"id":"682ae133.218ae","type":"comment","name":"vnf-topology-operation","info":"","comments":"","x":527.2020034790039,"y":33.30063056945801,"z":"fb3a2b3.b3cc7d8","wires":[]},{"id":"d712fd97.5e8a2","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":215.45242309570312,"y":371.9792375564575,"z":"fb3a2b3.b3cc7d8","wires":[["a487fe62.3eadf","a54dd4d9.4cd188","d8c5f774.e0b058"]]},{"id":"a487fe62.3eadf","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":500.8095245361328,"y":526.4289283752441,"z":"fb3a2b3.b3cc7d8","wires":[]},{"id":"a54dd4d9.4cd188","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":510.85709381103516,"y":370.1904811859131,"z":"fb3a2b3.b3cc7d8","wires":[["3e63698e.bd48b6","28819d17.6e1742","73ed8794.2b9c38","c822cbe5.979408","bed20936.060648","81c3ff0e.10641"]]},{"id":"3e63698e.bd48b6","type":"outcome","name":"assign","xml":"<outcome value='assign'>\n","comments":"","outputs":1,"x":708.238037109375,"y":264.23818588256836,"z":"fb3a2b3.b3cc7d8","wires":[["cf31f583.5aa0b8"]]},{"id":"28819d17.6e1742","type":"outcome","name":"unassign","xml":"<outcome value='unassign'>\n","comments":"","outputs":1,"x":712.2856597900391,"y":394.4289093017578,"z":"fb3a2b3.b3cc7d8","wires":[["3e478ce0.78e214"]]},{"id":"c822cbe5.979408","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":705.5712947845459,"y":480.0475597381592,"z":"fb3a2b3.b3cc7d8","wires":[["ca11a8cd.7cc228"]]},{"id":"ca11a8cd.7cc228","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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n","comments":"","x":891.761739730835,"y":480.0476245880127,"z":"fb3a2b3.b3cc7d8","wires":[]},{"id":"d8c5f774.e0b058","type":"call","name":"call GENERIC-RESOURCE-API:validate-vnf-input","xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-vnf-input' mode='sync' >\n","comments":"","outputs":1,"x":615.2737808227539,"y":223.0953254699707,"z":"fb3a2b3.b3cc7d8","wires":[[]]},{"id":"cf31f583.5aa0b8","type":"call","name":"call GENERIC-RESOURCE-API:vnf-topology-operation-assign","xml":"<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-assign' mode='sync' >\n","comments":"","outputs":1,"x":1050.3808898925781,"y":263.8096466064453,"z":"fb3a2b3.b3cc7d8","wires":[[]]},{"id":"7ee102ee.2772cc","type":"call","name":"call GENERIC-RESOURCE-API:vnf-topology-operation-deactivate","xml":"<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-deactivate' mode='sync' >\n","comments":"","outputs":1,"x":1061.7141571044922,"y":348.14299488067627,"z":"fb3a2b3.b3cc7d8","wires":[[]]},{"id":"3e478ce0.78e214","type":"call","name":"call GENERIC-RESOURCE-API:vnf-topology-operation-unassign","xml":"<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-unassign' mode='sync' >\n","comments":"","outputs":1,"x":1057.3807563781738,"y":394.14304065704346,"z":"fb3a2b3.b3cc7d8","wires":[[]]},{"id":"73ed8794.2b9c38","type":"outcome","name":"deactivate","xml":"<outcome value='deactivate'>\n","comments":"","outputs":1,"x":717.3807983398438,"y":348.8096704483032,"z":"fb3a2b3.b3cc7d8","wires":[["7ee102ee.2772cc"]]},{"id":"b07bf339.3f796","type":"call","name":"call GENERIC-RESOURCE-API:vnf-topology-operation-activate","xml":"<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-activate' mode='sync' >\n","comments":"","outputs":1,"x":1054.5237350463867,"y":305.71427822113037,"z":"fb3a2b3.b3cc7d8","wires":[[]]},{"id":"bed20936.060648","type":"outcome","name":"activate","xml":"<outcome value='activate'>\n","comments":"","outputs":1,"x":711.1903762817383,"y":306.3809537887573,"z":"fb3a2b3.b3cc7d8","wires":[["b07bf339.3f796"]]},{"id":"81c3ff0e.10641","type":"outcome","name":"changeassign","xml":"<outcome value='changeassign'>\n","comments":"","outputs":1,"x":727.1428871154785,"y":437.1428413391113,"z":"fb3a2b3.b3cc7d8","wires":[["2ca55154.1a129e"]]},{"id":"2ca55154.1a129e","type":"call","name":"call GENERIC-RESOURCE-API:vnf-topology-operation-changeassign","xml":"<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-changeassign' mode='sync' >\n","comments":"","outputs":1,"x":1067.9522552490234,"y":436.8570079803467,"z":"fb3a2b3.b3cc7d8","wires":[[]]}]
|