Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_service-topology-operation.json
1 [{"id":"6a14a468.da6abc","type":"dgstart","name":"DGSTART","outputs":1,"x":135.71429443359375,"y":81.42857360839844,"z":"4ed90c4.07509f4","wires":[["f10ec926.823838"]]},{"id":"f10ec926.823838","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":249,"y":121.66668510437012,"z":"4ed90c4.07509f4","wires":[["ad418b5c.6c5988"]]},{"id":"ad418b5c.6c5988","type":"method","name":"method service-topology-operation","xml":"<method rpc='service-topology-operation' mode='sync'>\n","comments":"","outputs":1,"x":214.1429214477539,"y":161.42856788635254,"z":"4ed90c4.07509f4","wires":[["3239b298.10498e"]]},{"id":"13ec5291.0d0a1d","type":"comment","name":"service-topology-operation","info":"","comments":"","x":530.0591506958008,"y":29.014917373657227,"z":"4ed90c4.07509f4","wires":[]},{"id":"3239b298.10498e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":210.21434020996094,"y":362.4554252624512,"z":"4ed90c4.07509f4","wires":[["3668554a.700daa","7a3674ed.cf323c","7019824c.3382bc","49db98f4.253db8"]]},{"id":"3668554a.700daa","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":496.9047393798828,"y":579.2861328125,"z":"4ed90c4.07509f4","wires":[]},{"id":"7019824c.3382bc","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":502.1904067993164,"y":434.95235443115234,"z":"4ed90c4.07509f4","wires":[["e48cbaf7.20aff8","f0e2050b.47c8a8","89b14c02.f1afb","f4505bba.852cc8","14d6da3a.b4b4e6"]]},{"id":"e48cbaf7.20aff8","type":"outcome","name":"assign","xml":"<outcome value='assign'>\n","comments":"","outputs":1,"x":711.5713729858398,"y":340.2381706237793,"z":"4ed90c4.07509f4","wires":[["f3ba7edd.6a6a5"]]},{"id":"f0e2050b.47c8a8","type":"outcome","name":"delete","xml":"<outcome value='delete'>\n","comments":"","outputs":1,"x":710.9523544311523,"y":434.7622137069702,"z":"4ed90c4.07509f4","wires":[["840fa306.5e88c"]]},{"id":"f4505bba.852cc8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":709.9998474121094,"y":532.1904163360596,"z":"4ed90c4.07509f4","wires":[["48ed0991.193568"]]},{"id":"7a3674ed.cf323c","type":"set","name":"copy input to service-data","xml":"<set>\n<parameter name='service-data.sdnc-request-header.' value='`$service-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.request-information.' value='`$service-topology-operation-input.request-information.`' />\n<parameter name='service-data.service-information.' value='`$service-topology-operation-input.service-information.`' />\n<parameter name='service-data.service-request-input.' value='`$service-topology-operation-input.service-request-input.`' />\n","comments":"","x":528.869026184082,"y":282.6548128128052,"z":"4ed90c4.07509f4","wires":[]},{"id":"48ed0991.193568","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=\"`$service-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n","comments":"","x":897.6187934875488,"y":531.6190710067749,"z":"4ed90c4.07509f4","wires":[]},{"id":"49db98f4.253db8","type":"call","name":"call GENERIC-RESOURCE-API:validate-service-input","xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-service-input' mode='sync' >\n","comments":"","outputs":1,"x":616.1309280395508,"y":234.4762725830078,"z":"4ed90c4.07509f4","wires":[[]]},{"id":"f3ba7edd.6a6a5","type":"call","name":"call GENERIC-RESOURCE-API:service-topology-operation-assign","xml":"<call module='GENERIC-RESOURCE-API' rpc='service-topology-operation-assign' mode='sync' >\n","comments":"","outputs":1,"x":1064.1427268981934,"y":341.23822116851807,"z":"4ed90c4.07509f4","wires":[[]]},{"id":"f7d9dd61.75bc9","type":"call","name":"call GENERIC-RESOURCE-API:service-topology-operation-deactivate","xml":"<call module='GENERIC-RESOURCE-API' rpc='service-topology-operation-deactivate' mode='sync' >\n","comments":"","outputs":1,"x":1077.1426811218262,"y":388.23821544647217,"z":"4ed90c4.07509f4","wires":[[]]},{"id":"840fa306.5e88c","type":"call","name":"call GENERIC-RESOURCE-API:service-topology-operation-delete","xml":"<call module='GENERIC-RESOURCE-API' rpc='service-topology-operation-delete' mode='sync' >\n","comments":"","outputs":1,"x":1065.4759521484375,"y":434.9049348831177,"z":"4ed90c4.07509f4","wires":[[]]},{"id":"89b14c02.f1afb","type":"outcome","name":"deactivate","xml":"<outcome value='deactivate'>\n","comments":"","outputs":1,"x":722.3808212280273,"y":388.4763011932373,"z":"4ed90c4.07509f4","wires":[["f7d9dd61.75bc9"]]},{"id":"14d6da3a.b4b4e6","type":"outcome","name":"changeassign","xml":"<outcome value='changeassign'>\n","comments":"","outputs":1,"x":730.0000152587891,"y":482.85716915130615,"z":"4ed90c4.07509f4","wires":[["95a4460e.7a1f68"]]},{"id":"95a4460e.7a1f68","type":"call","name":"call GENERIC-RESOURCE-API:service-topology-operation-changeassign","xml":"<call module='GENERIC-RESOURCE-API' rpc='service-topology-operation-changeassign' mode='sync' >\n","comments":"","outputs":1,"x":1087.9521865844727,"y":482.42845726013184,"z":"4ed90c4.07509f4","wires":[[]]}]