aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2017-09-06 11:03:15 -0400
committerDan Timoney <dtimoney@att.com>2017-09-06 19:17:34 -0400
commit79a537071550d5ae0df0c58572ff2b5aa3065c72 (patch)
tree75d0cc1e0e0a0c0fdc09c1a6e932f8f72d9c106b /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json
parent98ddb133dec262b727b93eab40f384b88fed864a (diff)
Add generic-resource-api DG seed code
Add seed code for generic-resource-api directed graphs. Change-Id: I51df937740d54d6f907c79fe322e4ffafe53537c Issue-ID: SDNC-45 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: b014b942536d93f55664b67a36436168e623bcec
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json271
1 files changed, 271 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json
new file mode 100644
index 00000000..bfb38e5c
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_vnf-topology-operation.json
@@ -0,0 +1,271 @@
+[
+ {
+ "id": "7fb1a187.9549f",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 96.66666412353516,
+ "y": 86.66666412353516,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ [
+ "c2b8a7b8.a5e428"
+ ]
+ ]
+ },
+ {
+ "id": "c2b8a7b8.a5e428",
+ "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": 171.9523696899414,
+ "y": 126.90477561950684,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ [
+ "89a5ce6c.8a947"
+ ]
+ ]
+ },
+ {
+ "id": "89a5ce6c.8a947",
+ "type": "method",
+ "name": "method vnf-topology-operation",
+ "xml": "<method rpc='vnf-topology-operation' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 165.0952911376953,
+ "y": 166.66665840148926,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ [
+ "baea3ff6.bd225"
+ ]
+ ]
+ },
+ {
+ "id": "435f3efd.64ab3",
+ "type": "comment",
+ "name": "vnf-topology-operation",
+ "info": "",
+ "comments": "",
+ "x": 491.0115203857422,
+ "y": 34.253007888793945,
+ "z": "dcb795e3.12ddb8",
+ "wires": []
+ },
+ {
+ "id": "baea3ff6.bd225",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 177.8333740234375,
+ "y": 334.36017417907715,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ [
+ "f2687cfc.01d4c",
+ "b4265d07.b24f2",
+ "b14b13c7.baa14"
+ ]
+ ]
+ },
+ {
+ "id": "f2687cfc.01d4c",
+ "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": 470.3333282470703,
+ "y": 484.52420711517334,
+ "z": "dcb795e3.12ddb8",
+ "wires": []
+ },
+ {
+ "id": "b4265d07.b24f2",
+ "type": "switchNode",
+ "name": "switch svc-action",
+ "xml": "<switch test='`$vnf-topology-operation-input.sdnc-request-header.svc-action`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 473.23804473876953,
+ "y": 332.5714178085327,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ [
+ "76164f7d.903b1",
+ "117347a9.8b7218",
+ "e07500fb.cff53",
+ "9b91fc07.60be4",
+ "bc77aaba.4aabe8"
+ ]
+ ]
+ },
+ {
+ "id": "76164f7d.903b1",
+ "type": "outcome",
+ "name": "assign",
+ "xml": "<outcome value='assign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 672.0475540161133,
+ "y": 265.1905632019043,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ [
+ "5ec13553.7c0efc"
+ ]
+ ]
+ },
+ {
+ "id": "117347a9.8b7218",
+ "type": "outcome",
+ "name": "unassign",
+ "xml": "<outcome value='unassign'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 676.0951766967773,
+ "y": 395.38128662109375,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ [
+ "9d96816e.64ca5"
+ ]
+ ]
+ },
+ {
+ "id": "9b91fc07.60be4",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 670.8094024658203,
+ "y": 439.57136249542236,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ [
+ "2717cc4c.7bccc4"
+ ]
+ ]
+ },
+ {
+ "id": "2717cc4c.7bccc4",
+ "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=\"`$vnf-topology-operation-input.sdnc-request-header.svc-action + ' is not a valid svc-action'`\" />\n",
+ "comments": "",
+ "x": 856.9998474121094,
+ "y": 439.5714273452759,
+ "z": "dcb795e3.12ddb8",
+ "wires": []
+ },
+ {
+ "id": "b14b13c7.baa14",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:validate-vnf-input",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='validate-vnf-input' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 579.0832977294922,
+ "y": 224.04770278930664,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ec13553.7c0efc",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-assign",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-assign' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1014.1904067993164,
+ "y": 264.76202392578125,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3e660d10.204032",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-deactivate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-deactivate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1025.5236740112305,
+ "y": 349.0953722000122,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9d96816e.64ca5",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-unassign",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-unassign' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1021.1902732849121,
+ "y": 395.0954179763794,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e07500fb.cff53",
+ "type": "outcome",
+ "name": "deactivate",
+ "xml": "<outcome value='deactivate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 681.190315246582,
+ "y": 349.76204776763916,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ [
+ "3e660d10.204032"
+ ]
+ ]
+ },
+ {
+ "id": "1d805763.8f6c79",
+ "type": "call",
+ "name": "call GENERIC-RESOURCE-API:vnf-topology-operation-activate",
+ "xml": "<call module='GENERIC-RESOURCE-API' rpc='vnf-topology-operation-activate' mode='sync' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1018.333251953125,
+ "y": 306.6666555404663,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bc77aaba.4aabe8",
+ "type": "outcome",
+ "name": "activate",
+ "xml": "<outcome value='activate'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 674.9998931884766,
+ "y": 307.33333110809326,
+ "z": "dcb795e3.12ddb8",
+ "wires": [
+ [
+ "1d805763.8f6c79"
+ ]
+ ]
+ }
+]