aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_wan-connection-topology-operation-create.json
diff options
context:
space:
mode:
authorZhuoyao Huang <10112215@zte.com.cn>2018-09-18 08:58:06 +0800
committerZhuoyao Huang <10112215@zte.com.cn>2018-09-18 14:52:30 +0800
commit29ae4c6b7b516eaac66bb359e6fcb3dad4a742a9 (patch)
tree1a4abf9b0264a856749e5cf4a1687f10f08529ca /platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_wan-connection-topology-operation-create.json
parentcac704d8cbfad8710a32a4d589ae1c9a0b054bdd (diff)
Support Wan Connection
(https://wiki.onap.org/display/DW/CCVPN+Integration+Test+Case) Issue-ID: SDNC-354 Change-Id: Ied7189a0f229442517761ec7f785655115af6722 Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn> Former-commit-id: 0b8a0b4581dba2d55608c67ee95ebda356e1cf33
Diffstat (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_wan-connection-topology-operation-create.json')
-rw-r--r--platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_wan-connection-topology-operation-create.json360
1 files changed, 360 insertions, 0 deletions
diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_wan-connection-topology-operation-create.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_wan-connection-topology-operation-create.json
new file mode 100644
index 00000000..5660246c
--- /dev/null
+++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_wan-connection-topology-operation-create.json
@@ -0,0 +1,360 @@
+[{
+ "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