bug fix for ccvpn integration test
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_wan-connection-topology-operation-create.json
index 5660246..ec47f87 100644 (file)
@@ -1,360 +1 @@
-[{
-       "id": "6ac67ae1.a0aa44",
-       "type": "dgstart",
-       "name": "DGSTART",
-       "outputs": 1,
-       "x": 175.00390625,
-       "y": 106.00390625,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["a7166f73.c3b7d"]
-       ]
-}, {
-       "id": "a7166f73.c3b7d",
-       "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": 387.00391006469727,
-       "y": 178.0039234161377,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["28d122a6.3dff6e"]
-       ]
-}, {
-       "id": "28d122a6.3dff6e",
-       "type": "method",
-       "name": "wan-connection-topology-operation-create",
-       "xml": "<method rpc='wan-connection-topology-operation-create' mode='sync'>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 375.0040283203125,
-       "y": 266.00390625,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["5e728e05.d58"]
-       ]
-}, {
-       "id": "9cfd5628.0461f8",
-       "type": "execute",
-       "name": "contains specification",
-       "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"specification\"/>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 571.0351867675781,
-       "y": 443.03515338897705,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["880d63dc.b5a38", "f32a417.139a7c"]
-       ]
-}, {
-       "id": "fecacce0.e773",
-       "type": "execute",
-       "name": "contains FC",
-       "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"FC\"/>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 542.0352630615234,
-       "y": 541.0352182388306,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["e31d6f4d.a6b8a", "3a9f16f2.1de22a"]
-       ]
-}, {
-       "id": "328d5a5f.8b3686",
-       "type": "execute",
-       "name": "contains FD",
-       "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"FD\"/>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 540.0351867675781,
-       "y": 619.0352191925049,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["95036d7b.e76b7", "a957c80c.629788"]
-       ]
-}, {
-       "id": "8ced5ada.6dacc8",
-       "type": "execute",
-       "name": "contains Link",
-       "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' >\n    <parameter name=\"source\" value=\"`$network-topology-operation-input.network-information.onap-model-information.model-name`\"/>\n    <parameter name=\"target\" value=\"Link\"/>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 545.0352325439453,
-       "y": 699.0353374481201,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["3306f585.d6ad4a", "f7a1c197.52e9b"]
-       ]
-}, {
-       "id": "880d63dc.b5a38",
-       "type": "outcomeTrue",
-       "name": "true",
-       "xml": "<outcome value='true'>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 807.0352210998535,
-       "y": 441.03514528274536,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["4a720633.6d38d8"]
-       ]
-}, {
-       "id": "f32a417.139a7c",
-       "type": "outcomeTrue",
-       "name": "false",
-       "xml": "<outcome value='false'>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 336.03525161743164,
-       "y": 541.0352182388306,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["fecacce0.e773"]
-       ]
-}, {
-       "id": "e31d6f4d.a6b8a",
-       "type": "outcomeTrue",
-       "name": "true",
-       "xml": "<outcome value='true'>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 723.035270690918,
-       "y": 543.0352516174316,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["e96c15e0.5108b8"]
-       ]
-}, {
-       "id": "95036d7b.e76b7",
-       "type": "outcomeTrue",
-       "name": "true",
-       "xml": "<outcome value='true'>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 735.035270690918,
-       "y": 621.0352516174316,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["e96c15e0.5108b8"]
-       ]
-}, {
-       "id": "3a9f16f2.1de22a",
-       "type": "outcomeTrue",
-       "name": "false",
-       "xml": "<outcome value='false'>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 331.03519439697266,
-       "y": 622.0351905822754,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["328d5a5f.8b3686"]
-       ]
-}, {
-       "id": "a957c80c.629788",
-       "type": "outcomeTrue",
-       "name": "false",
-       "xml": "<outcome value='false'>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 336.03526306152344,
-       "y": 705.0353965759277,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["8ced5ada.6dacc8"]
-       ]
-}, {
-       "id": "3306f585.d6ad4a",
-       "type": "outcomeTrue",
-       "name": "true",
-       "xml": "<outcome value='true'>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 736.035343170166,
-       "y": 698.0353984832764,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["ff5b5810.5ac2a8"]
-       ]
-}, {
-       "id": "914afff2.c348e",
-       "type": "execute",
-       "name": "execute Properties",
-       "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": 566.0039978027344,
-       "y": 386.0039253234863,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               []
-       ]
-}, {
-       "id": "5e728e05.d58",
-       "type": "block",
-       "name": "block : atomic",
-       "xml": "<block atomic=\"true\">",
-       "atomic": "true",
-       "outputs": 1,
-       "x": 281.00392150878906,
-       "y": 366.00390243530273,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["914afff2.c348e", "9cfd5628.0461f8", "d08cdbfc.d46288", "8af933b4.c5208"]
-       ]
-}, {
-       "id": "d08cdbfc.d46288",
-       "type": "switchNode",
-       "name": "switch network-id",
-       "xml": "<switch test='`$network-topology-operation-input.network-information.network-id`'>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 566.0039291381836,
-       "y": 324.00391578674316,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["13cbf19b.fc4f5e", "163e4527.d3d54b"]
-       ]
-}, {
-       "id": "13cbf19b.fc4f5e",
-       "type": "outcome",
-       "name": "NULL",
-       "xml": "<outcome value=''>",
-       "comments": "",
-       "outputs": 1,
-       "x": 815.0040054321289,
-       "y": 263.00391578674316,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["600a4007.612e"]
-       ]
-}, {
-       "id": "600a4007.612e",
-       "type": "execute",
-       "name": "generate tmp.ar.allotted-resource-id",
-       "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"network-topology-operation-input.network-information.network-id\"/>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 1030.0039825439453,
-       "y": 264.00392150878906,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["224d0a6c.fd47b6"]
-       ]
-}, {
-       "id": "224d0a6c.fd47b6",
-       "type": "failure",
-       "name": "failure",
-       "xml": "<outcome value='failure'>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 1248.0040245056152,
-       "y": 264.00388526916504,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["c61d540b.7cf0a8"]
-       ]
-}, {
-       "id": "c61d540b.7cf0a8",
-       "type": "returnFailure",
-       "name": "return failure",
-       "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation allotted resource ID\" />\n",
-       "comments": "",
-       "x": 1414.003978729248,
-       "y": 264.0038995742798,
-       "z": "7d848bad.6cea14",
-       "wires": []
-}, {
-       "id": "163e4527.d3d54b",
-       "type": "other",
-       "name": "other",
-       "xml": "<outcome value='Other'>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 812.5039024353027,
-       "y": 311.00391006469727,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               []
-       ]
-}, {
-       "id": "4a720633.6d38d8",
-       "type": "call",
-       "name": "call GENERIC-RESOURCE-API:wan-connection-save-specification",
-       "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-save-specification' mode='sync' >\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 1129.0039367675781,
-       "y": 441.00395679473877,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               []
-       ]
-}, {
-       "id": "e96c15e0.5108b8",
-       "type": "call",
-       "name": "call GENERIC-RESOURCE-API:wan-connection-find-specifications",
-       "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-find-specifications' mode='sync' >\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 1125.5040283203125,
-       "y": 586.0039100646973,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               []
-       ]
-}, {
-       "id": "8af933b4.c5208",
-       "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": 341.00391387939453,
-       "y": 827.0039396286011,
-       "z": "7d848bad.6cea14",
-       "wires": []
-}, {
-       "id": "ff5b5810.5ac2a8",
-       "type": "call",
-       "name": "call GENERIC-RESOURCE-API:wan-connection-route-calculation",
-       "xml": "<call module='GENERIC-RESOURCE-API' rpc='wan-connection-route-calculation' mode='sync' >\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 1105.003921508789,
-       "y": 701.0039482116699,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               []
-       ]
-}, {
-       "id": "f7a1c197.52e9b",
-       "type": "outcomeTrue",
-       "name": "false",
-       "xml": "<outcome value='false'>\n",
-       "comments": "",
-       "outputs": 1,
-       "x": 741.00390625,
-       "y": 765.00390625,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               ["7ef91d7a.861074"]
-       ]
-}, {
-       "id": "7ef91d7a.861074",
-       "type": "block",
-       "name": "block",
-       "xml": "<block>\n",
-       "atomic": "false",
-       "comments": "",
-       "outputs": 1,
-       "x": 909.00390625,
-       "y": 771.0039482116699,
-       "z": "7d848bad.6cea14",
-       "wires": [
-               []
-       ]
-}]
\ No newline at end of file
+[{"id":"d9a485a7.8cfe08","type":"dgstart","name":"DGSTART","outputs":1,"x":166.03125,"y":100.03125,"z":"c5a28f0d.64302","wires":[["3e53924b.2a55fe"]]},{"id":"3e53924b.2a55fe","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":378.03125381469727,"y":172.0312671661377,"z":"c5a28f0d.64302","wires":[["f69d7b99.b12528"]]},{"id":"f69d7b99.b12528","type":"method","name":"wan-connection-topology-operation-create","xml":"<method rpc='wan-connection-topology-operation-create' mode='sync'>\n","comments":"","outputs":1,"x":366.0313720703125,"y":260.03125,"z":"c5a28f0d.64302","wires":[["6175e256.59761c"]]},{"id":"5d16c6e7.077638","type":"execute","name":"execute Properties","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":534.0313873291016,"y":692.0312900543213,"z":"c5a28f0d.64302","wires":[[]]},{"id":"6175e256.59761c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":272.03126525878906,"y":360.03124618530273,"z":"c5a28f0d.64302","wires":[["5d16c6e7.077638","cef7b1e1.7f76a","f06d173e.09bd08","85cf667e.c67328"]]},{"id":"cef7b1e1.7f76a","type":"switchNode","name":"switch network-id","xml":"<switch test='`$network-topology-operation-input.network-information.network-id`'>\n","comments":"","outputs":1,"x":534.0312957763672,"y":363.0312728881836,"z":"c5a28f0d.64302","wires":[["f9b1bf2b.11c82"]]},{"id":"f9b1bf2b.11c82","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":576.0314712524414,"y":518.0313191413879,"z":"c5a28f0d.64302","wires":[["a9168afa.8d3a48"]]},{"id":"a9168afa.8d3a48","type":"execute","name":"generate network-id","xml":"<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"network-topology-operation-input.network-information.network-id\"/>\n","comments":"","outputs":1,"x":798.0316772460938,"y":529.0313682556152,"z":"c5a28f0d.64302","wires":[["4f502e35.3536","9802953.f46e768"]]},{"id":"4f502e35.3536","type":"failure","name":"Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1013.0317230224609,"y":455.03134775161743,"z":"c5a28f0d.64302","wires":[["a5f5800f.532e6"]]},{"id":"a5f5800f.532e6","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while generation allotted resource ID\" />\n","comments":"","x":1179.0317306518555,"y":457.03136682510376,"z":"c5a28f0d.64302","wires":[]},{"id":"f06d173e.09bd08","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":433.0313186645508,"y":999.031286239624,"z":"c5a28f0d.64302","wires":[]},{"id":"85cf667e.c67328","type":"block","name":"save-block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":523.031364440918,"y":825.0351696014404,"z":"c5a28f0d.64302","wires":[["cfe8fe51.ccac9","6de7a792.66c358"]]},{"id":"cfe8fe51.ccac9","type":"set","name":"set network in service-data","xml":"<set>\n<parameter name='service-data.networks.network[$nidx].network-id' value='`$network-topology-operation-input.network-information.network-id`' />\n<parameter name='service-data.networks.network[$nidx].network-data.sdnc-request-header.' value='`$network-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.request-information.' value='`$network-topology-operation-input.request-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.service-information.' value='`$network-topology-operation-input.service-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-information.' value='`$network-topology-operation-input.network-information.`' />\n<parameter name='service-data.networks.network[$nidx].network-data.network-request-input.' value='`$network-topology-operation-input.network-request-input.`' />\n<parameter name='service-data.networks.network_length' value='`$nidx+1`' />\n\n","comments":"","x":909.0313720703125,"y":1030.0352153778076,"z":"c5a28f0d.64302","wires":[]},{"id":"6de7a792.66c358","type":"switchNode","name":"switch service-data.networks_length","xml":"<switch test='`$service-data.networks.network_length`'>\n","comments":"","outputs":1,"x":948.0313949584961,"y":776.0352096557617,"z":"c5a28f0d.64302","wires":[["43ab177c.4b8ff8","eee3637.41d0da"]]},{"id":"43ab177c.4b8ff8","type":"other","name":"Null","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":897.031494140625,"y":846.0352544784546,"z":"c5a28f0d.64302","wires":[["af6e3db1.b1591"]]},{"id":"af6e3db1.b1591","type":"set","name":"set nidx","xml":"<set>\n<parameter name='nidx' value='0' />","comments":"","x":1030.531394958496,"y":845.0352387428284,"z":"c5a28f0d.64302","wires":[]},{"id":"eee3637.41d0da","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":894.0312805175781,"y":894.0352535247803,"z":"c5a28f0d.64302","wires":[["c88049a.0ea41b8"]]},{"id":"c88049a.0ea41b8","type":"set","name":"set nidx","xml":"<set>\n<parameter name='nidx' value='`$service-data.networks.network_length`' />","comments":"","x":1031.0872192382812,"y":890.5909185409546,"z":"c5a28f0d.64302","wires":[]},{"id":"9802953.f46e768","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":991.3649368286133,"y":685.0313763618469,"z":"c5a28f0d.64302","wires":[["28ce123.cdf27ee"]]},{"id":"28ce123.cdf27ee","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1164.3648529052734,"y":680.0313687324524,"z":"c5a28f0d.64302","wires":[["d91d9639.b17f68"]]},{"id":"d91d9639.b17f68","type":"set","name":"set networkId and network-object-path","xml":"<set>\n<parameter name='networkId' value='`$network-topology-operation-input.network-information.network-id`' />\n<parameter name=\"network-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $network-topology-operation-input.network-information.network-id  + '/network-data/'` \" />","comments":"","x":1427.5315246582031,"y":679.0313687324524,"z":"c5a28f0d.64302","wires":[]}]
\ No newline at end of file