summaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_getpathsegment-topology-operation.json
blob: 305c1ca4b788e8af1c9c0adc36bf7e57e55289d9 (plain)
1
[{"id":"9f4cb006.78489","type":"dgstart","name":"DGSTART","outputs":1,"x":136.66665649414062,"y":91.66666412353516,"z":"f6554d5.b9be6b","wires":[["d44d8277.807cd"]]},{"id":"d44d8277.807cd","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":251.95235443115234,"y":131.9047727584839,"z":"f6554d5.b9be6b","wires":[["57c0c2b8.d3025c"]]},{"id":"57c0c2b8.d3025c","type":"method","name":"method getpathsegment-topology-operation","xml":"<method rpc='getpathsegment-topology-operation' mode='sync'>\n","comments":"","outputs":1,"x":244.09528350830078,"y":172.66665840148926,"z":"f6554d5.b9be6b","wires":[["7264d4fd.05ecac"]]},{"id":"139e2920.5be4e7","type":"comment","name":"getpathsegment-topology-operation","info":"","comments":"","x":531.0115127563477,"y":39.253007888793945,"z":"f6554d5.b9be6b","wires":[]},{"id":"7264d4fd.05ecac","type":"block","name":"block","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":211.1667022705078,"y":372.6935157775879,"z":"f6554d5.b9be6b","wires":[["f679b52f.6094a8","5a3f3c96.853714","e07db8c0.e91ee8","1c7f9a22.a9f146","3422629c.5018ae"]]},{"id":"f679b52f.6094a8","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":487.3808937072754,"y":511.66707706451416,"z":"f6554d5.b9be6b","wires":[]},{"id":"e07db8c0.e91ee8","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$getpathsegment-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":495.52373123168945,"y":427.3332853317261,"z":"f6554d5.b9be6b","wires":[["db1223e.1febbe","1f8af9a6.ee9b36"]]},{"id":"db1223e.1febbe","type":"outcome","name":"create","xml":"<outcome value='create'>\n","comments":"","outputs":1,"x":670.6189613342285,"y":399.7619504928589,"z":"f6554d5.b9be6b","wires":[["586901e6.f7371"]]},{"id":"1f8af9a6.ee9b36","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":669.0475082397461,"y":453.14276027679443,"z":"f6554d5.b9be6b","wires":[["cd11482c.6aabd8"]]},{"id":"5a3f3c96.853714","type":"set","name":"copy input to service-data","xml":"<set>\n<parameter name='service-data.sdnc-request-header.' value='`$getpathsegment-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.request-information.' value='`$getpathsegment-topology-operation-input.request-information.`' />\n<parameter name='service-data.service-information.' value='`$getpathsegment-topology-operation-input.service-information.`' />\n<parameter name='service-data.service-request-input.' value='`$getpathsegment-topology-operation-input.service-request-input.`' />\n","comments":"","x":526.4880561828613,"y":347.8929252624512,"z":"f6554d5.b9be6b","wires":[]},{"id":"cd11482c.6aabd8","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=\"`$getpathsegment-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n","comments":"","x":845.2379531860352,"y":453.14282512664795,"z":"f6554d5.b9be6b","wires":[]},{"id":"1c7f9a22.a9f146","type":"call","name":"call GENERIC-RESOURCE-API:validate-getpathsegment-input","xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-getpathsegment-input' mode='sync' >\n","comments":"","outputs":1,"x":642.416633605957,"y":299.7143449783325,"z":"f6554d5.b9be6b","wires":[[]]},{"id":"586901e6.f7371","type":"call","name":"call GENERIC-RESOURCE-API:getpathsegment-topology-operation-create","xml":"<call module='GENERIC-RESOURCE-API' rpc='getpathsegment-topology-operation-create' mode='sync' >\n","comments":"","outputs":1,"x":1039.7618141174316,"y":399.33341121673584,"z":"f6554d5.b9be6b","wires":[[]]},{"id":"3422629c.5018ae","type":"execute","name":"execute readProperties","xml":"<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n","comments":"","outputs":1,"x":518.3333282470703,"y":249.99998664855957,"z":"f6554d5.b9be6b","wires":[[]]}]