aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/optical-service/src/main/json/optical-service_service-create-msa.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/optical-service/src/main/json/optical-service_service-create-msa.json')
-rw-r--r--platform-logic/optical-service/src/main/json/optical-service_service-create-msa.json360
1 files changed, 216 insertions, 144 deletions
diff --git a/platform-logic/optical-service/src/main/json/optical-service_service-create-msa.json b/platform-logic/optical-service/src/main/json/optical-service_service-create-msa.json
index fd253262..6bd4dad9 100644
--- a/platform-logic/optical-service/src/main/json/optical-service_service-create-msa.json
+++ b/platform-logic/optical-service/src/main/json/optical-service_service-create-msa.json
@@ -1,36 +1,36 @@
[
{
- "id": "3ea35ee.ad0f6a2",
+ "id": "2b9a1424.f485ec",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 116,
- "y": 81,
- "z": "c2959a97.94a74",
+ "x": 95,
+ "y": 83,
+ "z": "d3028d55.5844c",
"wires": [
[
- "11cee705.bf2a31"
+ "aa23222f.bc76d8"
]
]
},
{
- "id": "d850b04.b54af5",
+ "id": "a2e5095f.de7898",
"type": "method",
"name": "method",
"xml": "<method rpc='service-create-msa' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 174,
- "y": 206,
- "z": "c2959a97.94a74",
+ "x": 123,
+ "y": 175,
+ "z": "d3028d55.5844c",
"wires": [
[
- "488da689.489b18"
+ "d671b0a6.2b1d"
]
]
},
{
- "id": "11cee705.bf2a31",
+ "id": "aa23222f.bc76d8",
"type": "service-logic",
"name": "optical-service ${project.version}",
"module": "optical-service",
@@ -38,408 +38,480 @@
"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='optical-service' version='${project.version}'>",
"outputs": 1,
- "x": 360.5,
- "y": 84,
- "z": "c2959a97.94a74",
+ "x": 309.5,
+ "y": 53,
+ "z": "d3028d55.5844c",
"wires": [
[
- "d850b04.b54af5"
+ "a2e5095f.de7898"
]
]
},
{
- "id": "8d61ef5.90ff99",
+ "id": "374ef365.4365d4",
"type": "execute",
"name": "Call MSA Controller",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/optical-service-create-msa.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$controller-ip + '/cxf/openroadm/openroadm-services'`\"/>\n<parameter name='restapiUser' value='admin' />\n<parameter name='restapiPassword' value='admin' />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"service-create-response\"/>\n<parameter name='contentType' value='application/json' />\n<parameter name='format' value='json' />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.msa.jks\"/> \n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/> \n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/> ",
"comments": "",
"outputs": 1,
- "x": 809,
- "y": 533,
- "z": "c2959a97.94a74",
+ "x": 758,
+ "y": 502,
+ "z": "d3028d55.5844c",
"wires": [
[
- "ccc1ac83.fb8f3",
- "2f9f6425.084e84"
+ "e418881c.c81778",
+ "213e5cd0.481964"
]
]
},
{
- "id": "ccc1ac83.fb8f3",
+ "id": "e418881c.c81778",
"type": "outcome",
"name": "Failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1038,
- "y": 508,
- "z": "c2959a97.94a74",
+ "x": 987,
+ "y": 477,
+ "z": "d3028d55.5844c",
"wires": [
[
- "a1397508.3503c8"
+ "4e6aa919.c49248"
]
]
},
{
- "id": "2f9f6425.084e84",
+ "id": "213e5cd0.481964",
"type": "outcome",
"name": "Success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1033,
- "y": 609,
- "z": "c2959a97.94a74",
+ "x": 982,
+ "y": 578,
+ "z": "d3028d55.5844c",
"wires": [
[
- "ef5192a4.4e4b1"
+ "4202eada.c00e9c"
]
]
},
{
- "id": "a1e42279.d92258",
+ "id": "2d4e8e63.345f52",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/optical-service-create.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully sent the request\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1535,
- "y": 641,
- "z": "c2959a97.94a74",
+ "x": 1484,
+ "y": 610,
+ "z": "d3028d55.5844c",
"wires": [
[]
]
},
{
- "id": "5e2abc18.1b66ac",
+ "id": "d3e41e81.36a96",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/optical-service-create.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Failure\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1562,
- "y": 467,
- "z": "c2959a97.94a74",
+ "x": 1511,
+ "y": 436,
+ "z": "d3028d55.5844c",
"wires": [
[]
]
},
{
- "id": "488da689.489b18",
+ "id": "d671b0a6.2b1d",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 413,
- "y": 198,
- "z": "c2959a97.94a74",
+ "x": 362,
+ "y": 167,
+ "z": "d3028d55.5844c",
"wires": [
[
- "8d61ef5.90ff99",
- "a3b8c6ad.cc7648",
- "8ad2ed4f.9eaef8",
- "35d2d9b2.cbceee",
- "5929fa76.a7464c",
- "b065abfd.9e90f8"
+ "374ef365.4365d4",
+ "e582696b.bfd64",
+ "3aa20ba3.1be9c4",
+ "c57047a.90c3ab8",
+ "e0320b48.98ab8",
+ "1d32325.a1daece",
+ "185b18b9.1e9acf"
]
]
},
{
- "id": "ef5192a4.4e4b1",
+ "id": "4202eada.c00e9c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1281,
- "y": 611,
- "z": "c2959a97.94a74",
+ "x": 1230,
+ "y": 580,
+ "z": "d3028d55.5844c",
"wires": [
[
- "a1e42279.d92258",
- "893ecee0.5f1a6"
+ "2d4e8e63.345f52",
+ "3008cbc8.fcfd94"
]
]
},
{
- "id": "629b93c5.786c2c",
+ "id": "1364e09.3c15d1f",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Could not connect to Controller' />\n",
"comments": "",
- "x": 1548,
- "y": 559,
- "z": "c2959a97.94a74",
+ "x": 1497,
+ "y": 528,
+ "z": "d3028d55.5844c",
"wires": []
},
{
- "id": "a1397508.3503c8",
+ "id": "4e6aa919.c49248",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1272,
- "y": 509,
- "z": "c2959a97.94a74",
+ "x": 1221,
+ "y": 478,
+ "z": "d3028d55.5844c",
"wires": [
[
- "5e2abc18.1b66ac",
- "629b93c5.786c2c"
+ "d3e41e81.36a96",
+ "1364e09.3c15d1f"
]
]
},
{
- "id": "893ecee0.5f1a6",
+ "id": "3008cbc8.fcfd94",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$service-create-response.configuration-response-common.response-code`'>\n",
"comments": "",
"outputs": 1,
- "x": 1530,
- "y": 723,
- "z": "c2959a97.94a74",
+ "x": 1479,
+ "y": 692,
+ "z": "d3028d55.5844c",
"wires": [
[
- "5758035.e2b987c",
- "ec22434b.def97"
+ "7837dd73.2a710c",
+ "767b4872.12c6d"
]
]
},
{
- "id": "5758035.e2b987c",
+ "id": "7837dd73.2a710c",
"type": "outcome",
"name": "outcome",
"xml": "<outcome value='200'>\n",
"comments": "",
"outputs": 1,
- "x": 1698,
- "y": 724,
- "z": "c2959a97.94a74",
+ "x": 1647,
+ "y": 693,
+ "z": "d3028d55.5844c",
"wires": [
[
- "211ff3f4.659f1c"
+ "f8b00189.009718"
]
]
},
{
- "id": "ec22434b.def97",
+ "id": "767b4872.12c6d",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1706,
- "y": 790,
- "z": "c2959a97.94a74",
+ "x": 1655,
+ "y": 759,
+ "z": "d3028d55.5844c",
"wires": [
[
- "c3dd586d.2d9ff"
+ "6732375e.1a15a"
]
]
},
{
- "id": "c3dd586d.2d9ff",
+ "id": "6732375e.1a15a",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='error-code' value='`$service-create-response.configuration-response-common.response-code`' />\n<parameter name='error-message' value='`$service-create-response.configuration-response-common.response-message`' />\n",
"comments": "",
- "x": 1885,
- "y": 790,
- "z": "c2959a97.94a74",
+ "x": 1834,
+ "y": 759,
+ "z": "d3028d55.5844c",
"wires": []
},
{
- "id": "211ff3f4.659f1c",
+ "id": "f8b00189.009718",
"type": "call",
"name": "call sync success DG",
"xml": "<call module='optical-service' rpc='optical-service-create-sync-success' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1900,
- "y": 721,
- "z": "c2959a97.94a74",
+ "x": 1849,
+ "y": 690,
+ "z": "d3028d55.5844c",
"wires": [
[]
]
},
{
- "id": "a3b8c6ad.cc7648",
+ "id": "e582696b.bfd64",
"type": "set",
"name": "set parameters",
"xml": "<set>\n<parameter name='notification-url' value=\"`$prop.controller.url + '/' + $prop.sdnc.async.url`\" />\n<parameter name='service-aend-nodeid' value='`$param-prefix[0]`' />\n<parameter name='service-zend-nodeid' value='`$param-prefix1[0]`' />\n",
"comments": "",
- "x": 831,
- "y": 276,
- "z": "c2959a97.94a74",
+ "x": 770,
+ "y": 169.00001525878906,
+ "z": "d3028d55.5844c",
"wires": []
},
{
- "id": "8ad2ed4f.9eaef8",
+ "id": "3aa20ba3.1be9c4",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/optical-service-create.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Logical link name\"/>\n<parameter name=\"field2\" value=\"`$logical-link-check`\"/>\n<parameter name=\"field3\" value=\"`$a-end-pnf-name`\"/>\n<parameter name=\"field4\" value=\"`$z-end-pnf-name`\"/>\n\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 817,
- "y": 223,
- "z": "c2959a97.94a74",
+ "x": 752,
+ "y": 125.00001525878906,
+ "z": "d3028d55.5844c",
"wires": [
[]
]
},
{
- "id": "35d2d9b2.cbceee",
+ "id": "c57047a.90c3ab8",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$optical-service-create-input.payload.service-protocol`'>\n",
"comments": "",
"outputs": 1,
- "x": 919,
- "y": 361,
- "z": "c2959a97.94a74",
+ "x": 868,
+ "y": 330,
+ "z": "d3028d55.5844c",
"wires": [
[
- "377ae9e5.0edff6",
- "6ebfa6a3.e8164"
+ "e640d047.8b9a48",
+ "2e9e0315.971fdc"
]
]
},
{
- "id": "377ae9e5.0edff6",
+ "id": "e640d047.8b9a48",
"type": "outcome",
"name": "Ethernet",
"xml": "<outcome value='Ethernet'>\n",
"comments": "",
"outputs": 1,
- "x": 1096,
- "y": 355,
- "z": "c2959a97.94a74",
+ "x": 1045,
+ "y": 324,
+ "z": "d3028d55.5844c",
"wires": [
[
- "d04153bc.9f4338"
+ "e0966dd6.b1775"
]
]
},
{
- "id": "18dafb4f.277ba5",
+ "id": "98d37fbb.84095",
"type": "switchNode",
"name": "switch",
"xml": "<switch test='`$optical-service-create-input.payload.coding-func`'>\n",
"comments": "",
"outputs": 1,
- "x": 1460,
- "y": 351,
- "z": "c2959a97.94a74",
+ "x": 1409,
+ "y": 320,
+ "z": "d3028d55.5844c",
"wires": [
[
- "bff9d743.e28a08",
- "80d30a7a.cb97f"
+ "381822b1.80b79e",
+ "800aa6e0.11c5d8"
]
]
},
{
- "id": "d04153bc.9f4338",
+ "id": "e0966dd6.b1775",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1286,
- "y": 353,
- "z": "c2959a97.94a74",
+ "x": 1235,
+ "y": 322,
+ "z": "d3028d55.5844c",
"wires": [
[
- "18dafb4f.277ba5"
+ "98d37fbb.84095"
]
]
},
{
- "id": "6ebfa6a3.e8164",
+ "id": "2e9e0315.971fdc",
"type": "other",
"name": "Do Nothing",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1101,
- "y": 422,
- "z": "c2959a97.94a74",
+ "x": 1050,
+ "y": 391,
+ "z": "d3028d55.5844c",
"wires": [
[]
]
},
{
- "id": "bff9d743.e28a08",
+ "id": "381822b1.80b79e",
"type": "outcome",
"name": "10GBASE-R",
"xml": "<outcome value='10GBASE-R'>\n",
"comments": "",
"outputs": 1,
- "x": 1619,
- "y": 346,
- "z": "c2959a97.94a74",
+ "x": 1568,
+ "y": 315,
+ "z": "d3028d55.5844c",
"wires": [
[
- "1fad8a48.e66316"
+ "efd565dd.38cea"
]
]
},
{
- "id": "80d30a7a.cb97f",
+ "id": "800aa6e0.11c5d8",
"type": "other",
"name": "other",
"xml": "<outcome value='Other'>\n",
"comments": "",
"outputs": 1,
- "x": 1612,
- "y": 414,
- "z": "c2959a97.94a74",
+ "x": 1561,
+ "y": 383,
+ "z": "d3028d55.5844c",
"wires": [
[]
]
},
{
- "id": "1fad8a48.e66316",
+ "id": "efd565dd.38cea",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='mapping-mode-aend' value='mapping-mode' />\n<parameter name='mapping-mode-zend' value='mapping-mode' />\n<parameter name='mapping-mode.value' value='GFP-F' />\n",
"comments": "",
- "x": 1828,
- "y": 345,
- "z": "c2959a97.94a74",
+ "x": 1777,
+ "y": 314,
+ "z": "d3028d55.5844c",
"wires": []
},
{
- "id": "5929fa76.a7464c",
+ "id": "e0320b48.98ab8",
"type": "execute",
"name": "split node-id z-end",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$zend-nodeid`'/>\n<parameter name=\"regex\" value=\"-\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix1\"/>\n",
"comments": "",
"outputs": 1,
- "x": 834,
- "y": 157,
- "z": "c2959a97.94a74",
+ "x": 775,
+ "y": 75,
+ "z": "d3028d55.5844c",
"wires": [
[]
]
},
{
- "id": "b065abfd.9e90f8",
+ "id": "1d32325.a1daece",
"type": "execute",
"name": "split node-id a-end",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$aend-nodeid`'/>\n<parameter name=\"regex\" value=\"-\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n",
"comments": "",
"outputs": 1,
- "x": 837,
- "y": 93,
- "z": "c2959a97.94a74",
+ "x": 782,
+ "y": 37,
+ "z": "d3028d55.5844c",
"wires": [
[]
]
+ },
+ {
+ "id": "185b18b9.1e9acf",
+ "type": "switchNode",
+ "name": "switch",
+ "xml": "<switch test='`$optical-service-create-input.payload.service-rate`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 749.566650390625,
+ "y": 238.56666564941406,
+ "z": "d3028d55.5844c",
+ "wires": [
+ [
+ "fbe62272.e26fb8",
+ "8121433b.1d8c48"
+ ]
+ ]
+ },
+ {
+ "id": "fbe62272.e26fb8",
+ "type": "outcome",
+ "name": "10",
+ "xml": "<outcome value='10'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 946.566650390625,
+ "y": 195.56666564941406,
+ "z": "d3028d55.5844c",
+ "wires": [
+ [
+ "4ca46304.56d004"
+ ]
+ ]
+ },
+ {
+ "id": "8121433b.1d8c48",
+ "type": "outcome",
+ "name": "100",
+ "xml": "<outcome value='100'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 945.7333984375,
+ "y": 271.566650390625,
+ "z": "d3028d55.5844c",
+ "wires": [
+ [
+ "8900f991.ec20e8"
+ ]
+ ]
+ },
+ {
+ "id": "4ca46304.56d004",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='optical-service-create-input.payload.coding-func' value='10GBASE-R' />\n\n",
+ "comments": "",
+ "x": 1126.7334594726562,
+ "y": 193.56666564941406,
+ "z": "d3028d55.5844c",
+ "wires": []
+ },
+ {
+ "id": "8900f991.ec20e8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='optical-service-create-input.payload.coding-func' value='100GBASE-R' />\n\n",
+ "comments": "",
+ "x": 1121.5667114257812,
+ "y": 266.566650390625,
+ "z": "d3028d55.5844c",
+ "wires": []
}
] \ No newline at end of file