aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_contrail-route-topology-operation.json
blob: 482478e2c8db425016fa67fb1a4cbcbc5ec07833 (plain)
1
[{"id":"c442b16f.7f882","type":"dgstart","name":"DGSTART","outputs":1,"x":170.2777862548828,"y":139.91365242004395,"z":"e038a3cf.6f74e","wires":[["98f0a1a6.9a93a"]]},{"id":"98f0a1a6.9a93a","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":252.2301483154297,"y":180.15176486968994,"z":"e038a3cf.6f74e","wires":[["c35c8be4.73c8d8"]]},{"id":"c35c8be4.73c8d8","type":"method","name":"contrail-route-topology-operation","xml":"<method rpc='contrail-route-topology-operation' mode='sync'>\n","comments":"","outputs":1,"x":248.70641326904297,"y":219.91364669799805,"z":"e038a3cf.6f74e","wires":[["3b0a9ea3.867772"]]},{"id":"ae59e2f7.cffad","type":"comment","name":"CONTRAIL-ROUTE-TOPOLOGY-OPERATION ","info":"","comments":"","x":564.6226425170898,"y":87.49999618530273,"z":"e038a3cf.6f74e","wires":[]},{"id":"3b0a9ea3.867772","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":284.27781677246094,"y":303.3571357727051,"z":"e038a3cf.6f74e","wires":[["b58546a9.769258","e3c64d20.0167","859df5b4.c0b828","596d4aa.d9123b4"]]},{"id":"b58546a9.769258","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":514.3611755371094,"y":927.1997718811035,"z":"e038a3cf.6f74e","wires":[]},{"id":"e3c64d20.0167","type":"switchNode","name":"switch svc-action","xml":"<switch test='`$contrail-route-topology-operation-input.sdnc-request-header.svc-action`'>\n","comments":"","outputs":1,"x":510.99205017089844,"y":533.770830154419,"z":"e038a3cf.6f74e","wires":[["e264c87c.e335d8","f727c392.45b37","e0f08eed.85bd2","dc2a2461.e96738","8ce006b.19b83f8","4cbcfe02.8cfb9","b62bec75.47383"]]},{"id":"e264c87c.e335d8","type":"other","name":"assign","xml":"<outcome value='assign'>\n","comments":"","outputs":1,"x":731.4682464599609,"y":396.05648040771484,"z":"e038a3cf.6f74e","wires":[["c21b848b.2208b8"]]},{"id":"c21b848b.2208b8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":912.7064056396484,"y":397.05660247802734,"z":"e038a3cf.6f74e","wires":[["bedb7604.0d31b8"]]},{"id":"859df5b4.c0b828","type":"call","name":"call GENERIC-RESOURCE-API:validate-contrail-route-input","xml":"<call module='GENERIC-RESOURCE-API' rpc='validate-contrail-route-input' mode='sync' >\n","comments":"","outputs":1,"x":642.2777862548828,"y":303.91365242004395,"z":"e038a3cf.6f74e","wires":[[]]},{"id":"bedb7604.0d31b8","type":"call","name":"call GENERIC-RESOURCE-API:contrail-route-topology-operation-assign","xml":"<call module='GENERIC-RESOURCE-API' rpc='contrail-route-topology-operation-assign' mode='sync' >\n","comments":"","outputs":1,"x":1284.2777557373047,"y":393.91365814208984,"z":"e038a3cf.6f74e","wires":[[]]},{"id":"f727c392.45b37","type":"other","name":"activate","xml":"<outcome value='activate'>\n","comments":"","outputs":1,"x":733.2777862548828,"y":483.91365242004395,"z":"e038a3cf.6f74e","wires":[["f70dfe77.b10a4"]]},{"id":"f70dfe77.b10a4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":917.5159454345703,"y":484.91377449035645,"z":"e038a3cf.6f74e","wires":[["c4f30d6a.e056c"]]},{"id":"e0f08eed.85bd2","type":"other","name":"deactivate","xml":"<outcome value='deactivate'>\n","comments":"","outputs":1,"x":740.2778091430664,"y":531.913685798645,"z":"e038a3cf.6f74e","wires":[["5e86b7e5.8ae6b8"]]},{"id":"5e86b7e5.8ae6b8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":921.5159683227539,"y":532.9138078689575,"z":"e038a3cf.6f74e","wires":[["88cbb733.292b18"]]},{"id":"dc2a2461.e96738","type":"other","name":"unassign","xml":"<outcome value='unassign'>\n","comments":"","outputs":1,"x":738.27783203125,"y":650.2470254898071,"z":"e038a3cf.6f74e","wires":[["8ecf697b.d4a738"]]},{"id":"8ecf697b.d4a738","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":919.5159912109375,"y":651.2471475601196,"z":"e038a3cf.6f74e","wires":[["23da5620.c6cb8a"]]},{"id":"8ce006b.19b83f8","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":737.611162185669,"y":710.2470083236694,"z":"e038a3cf.6f74e","wires":[["5eae4ec8.4f8b6"]]},{"id":"5eae4ec8.4f8b6","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=\"sdnc-request-header.svc-action is a required input\" />\n","comments":"","x":919.6111583709717,"y":709.2470178604126,"z":"e038a3cf.6f74e","wires":[]},{"id":"596d4aa.d9123b4","type":"set","name":"Set final indicator to Y","xml":"<set>\n<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","x":533.3888702392578,"y":886.3581104278564,"z":"e038a3cf.6f74e","wires":[]},{"id":"4cbcfe02.8cfb9","type":"other","name":"create","xml":"<outcome value='create'>\n","comments":"","outputs":1,"x":738.5184936523438,"y":443.51849365234375,"z":"e038a3cf.6f74e","wires":[["3d58b4c3.43262c"]]},{"id":"3d58b4c3.43262c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":919.7566528320312,"y":444.51861572265625,"z":"e038a3cf.6f74e","wires":[["b37f997b.66e918"]]},{"id":"b37f997b.66e918","type":"call","name":"call GENERIC-RESOURCE-API:contrail-route-topology-operation-create","xml":"<call module='GENERIC-RESOURCE-API' rpc='contrail-route-topology-operation-create' mode='sync' >\n","comments":"","outputs":1,"x":1267.3279724121094,"y":447.3756694793701,"z":"e038a3cf.6f74e","wires":[[]]},{"id":"b62bec75.47383","type":"other","name":"delete","xml":"<outcome value='delete'>\n","comments":"","outputs":1,"x":734.8518295288086,"y":593.1851282119751,"z":"e038a3cf.6f74e","wires":[["b9a086c9.ed23a8"]]},{"id":"b9a086c9.ed23a8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":916.0899887084961,"y":594.1852502822876,"z":"e038a3cf.6f74e","wires":[["99d04266.2927b"]]},{"id":"c4f30d6a.e056c","type":"call","name":"call GENERIC-RESOURCE-API:contrail-route-topology-operation-activate","xml":"<call module='GENERIC-RESOURCE-API' rpc='contrail-route-topology-operation-activate' mode='sync' >\n","comments":"","outputs":1,"x":1262,"y":492,"z":"e038a3cf.6f74e","wires":[[]]},{"id":"88cbb733.292b18","type":"call","name":"call GENERIC-RESOURCE-API:contrail-route-topology-operation-deactivate","xml":"<call module='GENERIC-RESOURCE-API' rpc='contrail-route-topology-operation-deactivate' mode='sync' >\n","comments":"","outputs":1,"x":1264,"y":532,"z":"e038a3cf.6f74e","wires":[[]]},{"id":"99d04266.2927b","type":"call","name":"call GENERIC-RESOURCE-API:contrail-route-topology-operation-delete","xml":"<call module='GENERIC-RESOURCE-API' rpc='contrail-route-topology-operation-delete' mode='sync' >\n","comments":"","outputs":1,"x":1262,"y":596,"z":"e038a3cf.6f74e","wires":[[]]},{"id":"23da5620.c6cb8a","type":"call","name":"call GENERIC-RESOURCE-API:contrail-route-topology-operation-unassign","xml":"<call module='GENERIC-RESOURCE-API' rpc='contrail-route-topology-operation-unassign' mode='sync' >\n","comments":"","outputs":1,"x":1270,"y":648,"z":"e038a3cf.6f74e","wires":[[]]}]