diff options
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_service-topology-operation.json')
-rw-r--r-- | platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_service-topology-operation.json | 253 |
1 files changed, 1 insertions, 252 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_service-topology-operation.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_service-topology-operation.json index d323b416..a07e9ab0 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_service-topology-operation.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_service-topology-operation.json @@ -1,252 +1 @@ -[ - { - "id": "ffcdcaf9.978378", - "type": "dgstart", - "name": "DGSTART", - "outputs": 1, - "x": 110.00003814697266, - "y": 84.28563117980957, - "z": "3794a147.f3878e", - "wires": [ - [ - "19a4815b.2d2d0f" - ] - ] - }, - { - "id": "19a4815b.2d2d0f", - "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": 185.2857437133789, - "y": 124.52374267578125, - "z": "3794a147.f3878e", - "wires": [ - [ - "936b3cb3.ebe9b" - ] - ] - }, - { - "id": "936b3cb3.ebe9b", - "type": "method", - "name": "method service-topology-operation", - "xml": "<method rpc='service-topology-operation' mode='sync'>\n", - "comments": "", - "outputs": 1, - "x": 188.4286651611328, - "y": 164.28562545776367, - "z": "3794a147.f3878e", - "wires": [ - [ - "ed52e81.7853818" - ] - ] - }, - { - "id": "a6ec4b68.d62da8", - "type": "comment", - "name": "service-topology-operation", - "info": "", - "comments": "", - "x": 504.3448944091797, - "y": 31.87197494506836, - "z": "3794a147.f3878e", - "wires": [] - }, - { - "id": "ed52e81.7853818", - "type": "block", - "name": "block : atomic", - "xml": "<block atomic=\"true\">", - "atomic": "true", - "outputs": 1, - "x": 184.50008392333984, - "y": 365.3124828338623, - "z": "3794a147.f3878e", - "wires": [ - [ - "8f72acdd.c62fa", - "12bcf998.a7e046", - "b4070b55.94bb78", - "6af30001.5e0fe" - ] - ] - }, - { - "id": "8f72acdd.c62fa", - "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": 468.33333587646484, - "y": 540.7146196365356, - "z": "3794a147.f3878e", - "wires": [] - }, - { - "id": "b4070b55.94bb78", - "type": "switchNode", - "name": "switch svc-action", - "xml": "<switch test='`$service-topology-operation-input.sdnc-request-header.svc-action`'>\n", - "comments": "", - "outputs": 1, - "x": 475.0475769042969, - "y": 417.80941009521484, - "z": "3794a147.f3878e", - "wires": [ - [ - "81b85c4d.7a8e1", - "e6fcf5d0.16c4f8", - "64f4285d.b775f8", - "a2995c44.e9432" - ] - ] - }, - { - "id": "81b85c4d.7a8e1", - "type": "outcome", - "name": "assign", - "xml": "<outcome value='assign'>\n", - "comments": "", - "outputs": 1, - "x": 685.8571166992188, - "y": 343.09522819519043, - "z": "3794a147.f3878e", - "wires": [ - [ - "5f230ac8.35fac4" - ] - ] - }, - { - "id": "e6fcf5d0.16c4f8", - "type": "outcome", - "name": "delete", - "xml": "<outcome value='delete'>\n", - "comments": "", - "outputs": 1, - "x": 685.2380981445312, - "y": 437.61927127838135, - "z": "3794a147.f3878e", - "wires": [ - [ - "55a1c437.344cfc" - ] - ] - }, - { - "id": "a2995c44.e9432", - "type": "other", - "name": "other", - "xml": "<outcome value='Other'>\n", - "comments": "", - "outputs": 1, - "x": 684.2856369018555, - "y": 486.47603607177734, - "z": "3794a147.f3878e", - "wires": [ - [ - "8bf7b987.d11358" - ] - ] - }, - { - "id": "12bcf998.a7e046", - "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": 503.15476989746094, - "y": 285.5118703842163, - "z": "3794a147.f3878e", - "wires": [] - }, - { - "id": "8bf7b987.d11358", - "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": 860.4760818481445, - "y": 486.47610092163086, - "z": "3794a147.f3878e", - "wires": [] - }, - { - "id": "6af30001.5e0fe", - "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": 590.4166717529297, - "y": 237.33333015441895, - "z": "3794a147.f3878e", - "wires": [ - [] - ] - }, - { - "id": "5f230ac8.35fac4", - "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": 1026.9999694824219, - "y": 342.6666889190674, - "z": "3794a147.f3878e", - "wires": [ - [] - ] - }, - { - "id": "1d8ee48d.69b27b", - "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": 1039.9999237060547, - "y": 389.6666831970215, - "z": "3794a147.f3878e", - "wires": [ - [] - ] - }, - { - "id": "55a1c437.344cfc", - "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": 1028.333194732666, - "y": 438.333402633667, - "z": "3794a147.f3878e", - "wires": [ - [] - ] - }, - { - "id": "64f4285d.b775f8", - "type": "outcome", - "name": "deactivate", - "xml": "<outcome value='deactivate'>\n", - "comments": "", - "outputs": 1, - "x": 696.6665649414062, - "y": 391.33335876464844, - "z": "3794a147.f3878e", - "wires": [ - [ - "1d8ee48d.69b27b" - ] - ] - } -] +[{"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":[[]]}]
\ No newline at end of file |