[SDNGC-5859] copy local change to onap
[sdnc/oam.git] / platform-logic / vnfapi / src / main / json / VNF-API_vnf-instance-topology-delete.json
index edca37e..849ed05 100644 (file)
@@ -1,4 +1,240 @@
-
-
-
-[{"id":"892394b6.5a0068","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />","comments":"","x":394.4444274902344,"y":448.305570602417,"z":"bae6c09b.ec173","wires":[]},{"id":"ae2cbfc2.b3e0d","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":171.44437408447266,"y":147.44444274902344,"z":"bae6c09b.ec173","wires":[["8dac86ee.e1bed8","892394b6.5a0068","3d06c980.f160e6","d3da4ebd.718d2","e25b96d5.e6f508","da9108f7.df52c8","ed7cb1e2.2fa6d","99637329.93ae"]]},{"id":"8dac86ee.e1bed8","type":"set","name":"set: order-status = Deleted","xml":"<set>\n\t<parameter name=\"vnf-instance-service-data.oper-status.order-status\" value=\"Deleted\"/>","comments":"","outputs":1,"x":435.4444274902344,"y":275.305570602417,"z":"bae6c09b.ec173","wires":[[]]},{"id":"24188683.531f4a","type":"method","name":"method vnf-instance-topology-delete","xml":"<method rpc='vnf-instance-topology-delete' mode='sync'>\n","comments":"","outputs":1,"x":203.1110610961914,"y":96.6111068725586,"z":"bae6c09b.ec173","wires":[["ae2cbfc2.b3e0d"]]},{"id":"2d805b52.c5e354","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":273.1110305786133,"y":44.611114501953125,"z":"bae6c09b.ec173","wires":[["24188683.531f4a"]]},{"id":"1dec305b.bded3","type":"dgstart","name":"DGSTART","outputs":1,"x":109.94437408447266,"y":44.44444274902344,"z":"bae6c09b.ec173","wires":[["2d805b52.c5e354"]]},{"id":"59d02cc9.9c4fa4","type":"other","name":"false","xml":"<outcome value='false'>","comments":"","outputs":1,"x":642.8131637573242,"y":191.12879180908203,"z":"bae6c09b.ec173","wires":[["cbe21014.03475"]]},{"id":"cbe21014.03475","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":806.1462936401367,"y":191.12885284423828,"z":"bae6c09b.ec173","wires":[]},{"id":"e25b96d5.e6f508","type":"set","name":"set: last-action ","xml":"<set>\n\t<parameter name=\"vnf-instance-service-data.oper-status.last-action\" value=\"`$vnf-instance-service-data.request-information.request-action`\"/>","comments":"","outputs":1,"x":396.7020263671875,"y":318.85116386413574,"z":"bae6c09b.ec173","wires":[[]]},{"id":"3d06c980.f160e6","type":"switchNode","name":"switch: vnf-instance-id config == input","xml":"<switch test=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vf-module-id == $vf-module-service-data.vnf-instance-id`\">","comments":"","outputs":1,"x":468.58827209472656,"y":147.93198776245117,"z":"bae6c09b.ec173","wires":[["52ff4df1.be8e04"]]},{"id":"52ff4df1.be8e04","type":"outcomeFalse","name":"false","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":717.0428314208984,"y":148.1138153076172,"z":"bae6c09b.ec173","wires":[["8514ded5.e8697"]]},{"id":"8514ded5.e8697","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":885.6337509155273,"y":148.27291584014893,"z":"bae6c09b.ec173","wires":[]},{"id":"d3da4ebd.718d2","type":"set","name":"set: last-order-status = order-status","xml":"<set>\n\t<parameter name=\"vnf-instance-service-data.oper-status.last-order-status\" value=\"`$vnf-instance-service-data.oper-status.order-status`\"/>","comments":"","outputs":1,"x":461.83837890625,"y":234.043119430542,"z":"bae6c09b.ec173","wires":[[]]},{"id":"da9108f7.df52c8","type":"set","name":"Clear vnf-instance-topology","xml":"<set>\n\t<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.\" value=\"\" /> \n","comments":"","outputs":1,"x":435.83837890625,"y":359.043119430542,"z":"bae6c09b.ec173","wires":[[]]},{"id":"99637329.93ae","type":"switchNode","name":"switch: order-status = Active","xml":"<switch test=\"`$vnf-instance-service-data.oper-status.order-status == Active`\">","comments":"","outputs":1,"x":439.9960632324219,"y":191.42859268188477,"z":"bae6c09b.ec173","wires":[["59d02cc9.9c4fa4"]]},{"id":"ed7cb1e2.2fa6d","type":"set","name":"Set final indicator to Y","xml":"<set>\n<parameter name=\"ack-final\" value=\"Y\"/>","comments":"","outputs":1,"x":417.1587448120117,"y":404.24604415893555,"z":"bae6c09b.ec173","wires":[[]]}]
+[
+    {
+        "id": "892394b6.5a0068",
+        "type": "returnSuccess",
+        "name": "return success",
+        "xml": "<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />",
+        "comments": "",
+        "x": 394.4444274902344,
+        "y": 448.305570602417,
+        "z": "bae6c09b.ec173",
+        "wires": []
+    },
+    {
+        "id": "ae2cbfc2.b3e0d",
+        "type": "block",
+        "name": "block : atomic",
+        "xml": "<block atomic=\"true\">",
+        "atomic": "true",
+        "outputs": 1,
+        "x": 171.44437408447266,
+        "y": 147.44444274902344,
+        "z": "bae6c09b.ec173",
+        "wires": [
+            [
+                "8dac86ee.e1bed8",
+                "892394b6.5a0068",
+                "3d06c980.f160e6",
+                "d3da4ebd.718d2",
+                "e25b96d5.e6f508",
+                "da9108f7.df52c8",
+                "ed7cb1e2.2fa6d",
+                "99637329.93ae"
+            ]
+        ]
+    },
+    {
+        "id": "8dac86ee.e1bed8",
+        "type": "set",
+        "name": "set: order-status = Deleted",
+        "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.oper-status.order-status\" value=\"Deleted\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 435.4444274902344,
+        "y": 275.305570602417,
+        "z": "bae6c09b.ec173",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "24188683.531f4a",
+        "type": "method",
+        "name": "method vnf-instance-topology-delete",
+        "xml": "<method rpc='vnf-instance-topology-delete' mode='sync'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 203.1110610961914,
+        "y": 96.6111068725586,
+        "z": "bae6c09b.ec173",
+        "wires": [
+            [
+                "ae2cbfc2.b3e0d"
+            ]
+        ]
+    },
+    {
+        "id": "2d805b52.c5e354",
+        "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": 273.1110305786133,
+        "y": 44.611114501953125,
+        "z": "bae6c09b.ec173",
+        "wires": [
+            [
+                "24188683.531f4a"
+            ]
+        ]
+    },
+    {
+        "id": "1dec305b.bded3",
+        "type": "dgstart",
+        "name": "DGSTART",
+        "outputs": 1,
+        "x": 109.94437408447266,
+        "y": 44.44444274902344,
+        "z": "bae6c09b.ec173",
+        "wires": [
+            [
+                "2d805b52.c5e354"
+            ]
+        ]
+    },
+    {
+        "id": "59d02cc9.9c4fa4",
+        "type": "other",
+        "name": "false",
+        "xml": "<outcome value='false'>",
+        "comments": "",
+        "outputs": 1,
+        "x": 642.8131637573242,
+        "y": 191.12879180908203,
+        "z": "bae6c09b.ec173",
+        "wires": [
+            [
+                "cbe21014.03475"
+            ]
+        ]
+    },
+    {
+        "id": "cbe21014.03475",
+        "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": 806.1462936401367,
+        "y": 191.12885284423828,
+        "z": "bae6c09b.ec173",
+        "wires": []
+    },
+    {
+        "id": "e25b96d5.e6f508",
+        "type": "set",
+        "name": "set: last-action ",
+        "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.oper-status.last-action\" value=\"`$vnf-instance-service-data.request-information.request-action`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 396.7020263671875,
+        "y": 318.85116386413574,
+        "z": "bae6c09b.ec173",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "3d06c980.f160e6",
+        "type": "switchNode",
+        "name": "switch: vnf-instance-id config == input",
+        "xml": "<switch test=\"`$vnf-instance-topology-operation-input.vnf-instance-request-information.vf-module-id == $vf-module-service-data.vnf-instance-id`\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 468.58827209472656,
+        "y": 147.93198776245117,
+        "z": "bae6c09b.ec173",
+        "wires": [
+            [
+                "52ff4df1.be8e04"
+            ]
+        ]
+    },
+    {
+        "id": "52ff4df1.be8e04",
+        "type": "outcomeFalse",
+        "name": "false",
+        "xml": "<outcome value='false'>\n",
+        "comments": "",
+        "outputs": 1,
+        "x": 717.0428314208984,
+        "y": 148.1138153076172,
+        "z": "bae6c09b.ec173",
+        "wires": [
+            [
+                "8514ded5.e8697"
+            ]
+        ]
+    },
+    {
+        "id": "8514ded5.e8697",
+        "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": 885.6337509155273,
+        "y": 148.27291584014893,
+        "z": "bae6c09b.ec173",
+        "wires": []
+    },
+    {
+        "id": "d3da4ebd.718d2",
+        "type": "set",
+        "name": "set: last-order-status = order-status",
+        "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.oper-status.last-order-status\" value=\"`$vnf-instance-service-data.oper-status.order-status`\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 461.83837890625,
+        "y": 234.043119430542,
+        "z": "bae6c09b.ec173",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "da9108f7.df52c8",
+        "type": "set",
+        "name": "Clear vnf-instance-topology",
+        "xml": "<set>\n\t<parameter name=\"vnf-instance-service-data.vnf-instance-topology-information.\" value=\"\" /> \n",
+        "comments": "",
+        "outputs": 1,
+        "x": 435.83837890625,
+        "y": 359.043119430542,
+        "z": "bae6c09b.ec173",
+        "wires": [
+            []
+        ]
+    },
+    {
+        "id": "99637329.93ae",
+        "type": "switchNode",
+        "name": "switch: order-status = Active",
+        "xml": "<switch test=\"`$vnf-instance-service-data.oper-status.order-status == Active`\">",
+        "comments": "",
+        "outputs": 1,
+        "x": 439.9960632324219,
+        "y": 191.42859268188477,
+        "z": "bae6c09b.ec173",
+        "wires": [
+            [
+                "59d02cc9.9c4fa4"
+            ]
+        ]
+    },
+    {
+        "id": "ed7cb1e2.2fa6d",
+        "type": "set",
+        "name": "Set final indicator to Y",
+        "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
+        "comments": "",
+        "outputs": 1,
+        "x": 417.1587448120117,
+        "y": 404.24604415893555,
+        "z": "bae6c09b.ec173",
+        "wires": [
+            []
+        ]
+    }
+]
\ No newline at end of file