Merge "[SDNGC-5859] copy local change to onap"
[sdnc/oam.git] / platform-logic / vnfapi / src / main / json / VNF-API_vf-module-topology-delete.json
index 66fbf71..10113e7 100644 (file)
@@ -1,4 +1,240 @@
-
-
-
-[{"id":"311b3dda.3a6ee2","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />","comments":"","x":391.11109924316406,"y":442.75004386901855,"z":"dab4c267.b1578","wires":[]},{"id":"3879dfc2.a88","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":168.11104583740234,"y":141.888916015625,"z":"dab4c267.b1578","wires":[["26cf5bcd.60b334","311b3dda.3a6ee2","1ebd1e72.56bc82","92acc6b8.3892a8","755d4650.1103f8","fad87c6e.a4bde","32debc64.c813c4","e381bce7.8db14"]]},{"id":"26cf5bcd.60b334","type":"set","name":"set: order-status = Deleted","xml":"<set>\n\t<parameter name=\"vf-module-service-data.oper-status.order-status\" value=\"Deleted\"/>","comments":"","outputs":1,"x":432.11109924316406,"y":269.75004386901855,"z":"dab4c267.b1578","wires":[[]]},{"id":"3b032898.d41a98","type":"method","name":"method vf-module-topology-delete","xml":"<method rpc='vf-module-topology-delete' mode='sync'>\n","comments":"","outputs":1,"x":199.7777328491211,"y":91.05558013916016,"z":"dab4c267.b1578","wires":[["3879dfc2.a88"]]},{"id":"ee0d1a29.b42c08","type":"service-logic","name":"VNF-API 1.0.0","module":"VNF-API","version":"${project.version}","comments":"","xml":"<service-logic xmlns='http://www.att.com/sdnctl/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.att.com/sdnctl/svclogic ./svclogic.xsd' module='VNF-API' version='${project.version}'>","outputs":1,"x":269.77770233154297,"y":39.05558776855469,"z":"dab4c267.b1578","wires":[["3b032898.d41a98"]]},{"id":"7e50728c.7027fc","type":"dgstart","name":"DGSTART","outputs":1,"x":106.61104583740234,"y":38.888916015625,"z":"dab4c267.b1578","wires":[["ee0d1a29.b42c08"]]},{"id":"152dd102.d75f6f","type":"other","name":"false","xml":"<outcome value='false'>","comments":"","outputs":1,"x":639.4798355102539,"y":185.5732650756836,"z":"dab4c267.b1578","wires":[["32c98655.4f8d8a"]]},{"id":"32c98655.4f8d8a","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid order-status'/>","comments":"","x":802.8129653930664,"y":185.57332611083984,"z":"dab4c267.b1578","wires":[]},{"id":"755d4650.1103f8","type":"set","name":"set: last-action ","xml":"<set>\n\t<parameter name=\"vf-module-service-data.oper-status.last-action\" value=\"`$vf-module-service-data.request-information.request-action`\"/>","comments":"","outputs":1,"x":393.3686981201172,"y":313.2956371307373,"z":"dab4c267.b1578","wires":[[]]},{"id":"1ebd1e72.56bc82","type":"switchNode","name":"switch: vf-module-id config == input","xml":"<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vf-module-id == $vf-module-service-data.vf-module-id`\">","comments":"","outputs":1,"x":459.25494384765625,"y":142.37646102905273,"z":"dab4c267.b1578","wires":[["b8947b68.74b8b8"]]},{"id":"b8947b68.74b8b8","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":684.7095031738281,"y":142.55828857421875,"z":"dab4c267.b1578","wires":[["5ffa6798.ed60a8"]]},{"id":"5ffa6798.ed60a8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='404'/>\n\t<parameter name='error-message' value='vf-module-id not found in SDNC'/>","comments":"","x":847.300422668457,"y":142.7173891067505,"z":"dab4c267.b1578","wires":[]},{"id":"92acc6b8.3892a8","type":"set","name":"set: last-order-status = order-status","xml":"<set>\n\t<parameter name=\"vf-module-service-data.oper-status.last-order-status\" value=\"`$vf-module-service-data.oper-status.order-status`\"/>","comments":"","outputs":1,"x":458.5050506591797,"y":228.48759269714355,"z":"dab4c267.b1578","wires":[[]]},{"id":"fad87c6e.a4bde","type":"set","name":"Clear vf-module-topology","xml":"<set>\n\t<parameter name=\"vf-module-service-data.vf-module-topology-information.\" value=\"\" /> \n","comments":"","outputs":1,"x":425.5050506591797,"y":353.48759269714355,"z":"dab4c267.b1578","wires":[[]]},{"id":"e381bce7.8db14","type":"switchNode","name":"switch: order-status = Active","xml":"<switch test=\"`$vf-module-service-data.oper-status.order-status == Active`\">","comments":"","outputs":1,"x":437.66273498535156,"y":185.87306594848633,"z":"dab4c267.b1578","wires":[["152dd102.d75f6f"]]},{"id":"32debc64.c813c4","type":"set","name":"Set final indicator to Y","xml":"<set>\n<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","outputs":1,"x":413.8254165649414,"y":398.6905174255371,"z":"dab4c267.b1578","wires":[[]]}]
+[
+    {
+        "id": "311b3dda.3a6ee2",
+        "type": "returnSuccess",
+        "name": "return success",
+        "xml": "<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />",
+        "comments": "",
+        "x": 391.11109924316406,
+        "y": 442.75004386901855,
+        "z": "dab4c267.b1578",
+        "wires": []
+    },
+    {
+        "id": "3879dfc2.a88",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 168.11104583740234,
+        "y": 141.888916015625,
+        "z": "dab4c267.b1578",
+        "wires": [
+            [
+                "26cf5bcd.60b334",
+                "311b3dda.3a6ee2",
+                "1ebd1e72.56bc82",
+                "92acc6b8.3892a8",
+                "755d4650.1103f8",
+                "fad87c6e.a4bde",
+                "32debc64.c813c4",
+                "e381bce7.8db14"
+            ]
+        ]
+    },
+    {
+        "id": "26cf5bcd.60b334",
+        "type": "set",
+        "name": "set: order-status = Deleted",
+        "xml": "<set>\n\t<parameter name=\"vf-module-service-data.oper-status.order-status\" value=\"Deleted\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 432.11109924316406,
+        "y": 269.75004386901855,
+        "z": "dab4c267.b1578",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3b032898.d41a98",
+        "type": "method",
+        "name": "method vf-module-topology-delete",
+        "xml": "<method rpc='vf-module-topology-delete' mode='sync'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 199.7777328491211,
+        "y": 91.05558013916016,
+        "z": "dab4c267.b1578",
+        "wires": [
+            [
+                "3879dfc2.a88"
+            ]
+        ]
+    },
+    {
+        "id": "ee0d1a29.b42c08",
+        "type": "service-logic",
+        "name": "VNF-API ${project.version}",
+        "module": "VNF-API",
+        "version": "${project.version}",
+        "comments": "",
+        "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='VNF-API' version='${project.version}'>",
+        "outputs": 1,
+        "x": 269.77770233154297,
+        "y": 39.05558776855469,
+        "z": "dab4c267.b1578",
+        "wires": [
+            [
+                "3b032898.d41a98"
+            ]
+        ]
+    },
+    {
+        "id": "7e50728c.7027fc",
+        "type": "dgstart",
+        "name": "DGSTART",
+        "outputs": 1,
+        "x": 106.61104583740234,
+        "y": 38.888916015625,
+        "z": "dab4c267.b1578",
+        "wires": [
+            [
+                "ee0d1a29.b42c08"
+            ]
+        ]
+    },
+    {
+        "id": "152dd102.d75f6f",
+        "type": "other",
+        "name": "false",
+        "xml": "<outcome value='false'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 639.4798355102539,
+        "y": 185.5732650756836,
+        "z": "dab4c267.b1578",
+        "wires": [
+            [
+                "32c98655.4f8d8a"
+            ]
+        ]
+    },
+    {
+        "id": "32c98655.4f8d8a",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid order-status'/>",
+        "comments": "",
+        "x": 802.8129653930664,
+        "y": 185.57332611083984,
+        "z": "dab4c267.b1578",
+        "wires": []
+    },
+    {
+        "id": "755d4650.1103f8",
+        "type": "set",
+        "name": "set: last-action ",
+        "xml": "<set>\n\t<parameter name=\"vf-module-service-data.oper-status.last-action\" value=\"`$vf-module-service-data.request-information.request-action`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 393.3686981201172,
+        "y": 313.2956371307373,
+        "z": "dab4c267.b1578",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "1ebd1e72.56bc82",
+        "type": "switchNode",
+        "name": "switch: vf-module-id config == input",
+        "xml": "<switch test=\"`$vf-module-topology-operation-input.vf-module-request-information.vf-module-id == $vf-module-service-data.vf-module-id`\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 459.25494384765625,
+        "y": 142.37646102905273,
+        "z": "dab4c267.b1578",
+        "wires": [
+            [
+                "b8947b68.74b8b8"
+            ]
+        ]
+    },
+    {
+        "id": "b8947b68.74b8b8",
+        "type": "outcomeFalse",
+        "name": "false",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 684.7095031738281,
+        "y": 142.55828857421875,
+        "z": "dab4c267.b1578",
+        "wires": [
+            [
+                "5ffa6798.ed60a8"
+            ]
+        ]
+    },
+    {
+        "id": "5ffa6798.ed60a8",
+        "type": "returnFailure",
+        "name": "return failure",
+        "xml": "<return status='failure'>\n\t<parameter name='error-code' value='404'/>\n\t<parameter name='error-message' value='vf-module-id not found in SDNC'/>",
+        "comments": "",
+        "x": 847.300422668457,
+        "y": 142.7173891067505,
+        "z": "dab4c267.b1578",
+        "wires": []
+    },
+    {
+        "id": "92acc6b8.3892a8",
+        "type": "set",
+        "name": "set: last-order-status = order-status",
+        "xml": "<set>\n\t<parameter name=\"vf-module-service-data.oper-status.last-order-status\" value=\"`$vf-module-service-data.oper-status.order-status`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 458.5050506591797,
+        "y": 228.48759269714355,
+        "z": "dab4c267.b1578",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "fad87c6e.a4bde",
+        "type": "set",
+        "name": "Clear vf-module-topology",
+        "xml": "<set>\n\t<parameter name=\"vf-module-service-data.vf-module-topology-information.\" value=\"\" /> \n",
+        "comments": "",
+        "outputs": 1,
+        "x": 425.5050506591797,
+        "y": 353.48759269714355,
+        "z": "dab4c267.b1578",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "e381bce7.8db14",
+        "type": "switchNode",
+        "name": "switch: order-status = Active",
+        "xml": "<switch test=\"`$vf-module-service-data.oper-status.order-status == Active`\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 437.66273498535156,
+        "y": 185.87306594848633,
+        "z": "dab4c267.b1578",
+        "wires": [
+            [
+                "152dd102.d75f6f"
+            ]
+        ]
+    },
+    {
+        "id": "32debc64.c813c4",
+        "type": "set",
+        "name": "Set final indicator to Y",
+        "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 413.8254165649414,
+        "y": 398.6905174255371,
+        "z": "dab4c267.b1578",
+        "wires": [
+            []
+        ]
+    }
+]
\ No newline at end of file