aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/optical-service/src/main/json/optical-service_optical-validate-input-params.json
diff options
context:
space:
mode:
Diffstat (limited to 'platform-logic/optical-service/src/main/json/optical-service_optical-validate-input-params.json')
-rw-r--r--platform-logic/optical-service/src/main/json/optical-service_optical-validate-input-params.json446
1 files changed, 446 insertions, 0 deletions
diff --git a/platform-logic/optical-service/src/main/json/optical-service_optical-validate-input-params.json b/platform-logic/optical-service/src/main/json/optical-service_optical-validate-input-params.json
new file mode 100644
index 00000000..491f1ae8
--- /dev/null
+++ b/platform-logic/optical-service/src/main/json/optical-service_optical-validate-input-params.json
@@ -0,0 +1,446 @@
+[
+ {
+ "id": "45fe0f03.73594",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 157,
+ "y": 128,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "c0c6bb78.ab7328"
+ ]
+ ]
+ },
+ {
+ "id": "85b96b99.939c28",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='optical-validate-input-params' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 426,
+ "y": 187,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "f0b2b5e5.a9ccf"
+ ]
+ ]
+ },
+ {
+ "id": "c0c6bb78.ab7328",
+ "type": "service-logic",
+ "name": "optical-service ${project.version}",
+ "module": "optical-service",
+ "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='optical-service' version='${project.version}'>",
+ "outputs": 1,
+ "x": 405.5,
+ "y": 122,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "85b96b99.939c28"
+ ]
+ ]
+ },
+ {
+ "id": "f0b2b5e5.a9ccf",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 471,
+ "y": 256,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "d38614d0.bc36",
+ "671058f0.99ab9",
+ "f4433d75.377228",
+ "a9973cda.a8ef68",
+ "bc906c4e.a81f98"
+ ]
+ ]
+ },
+ {
+ "id": "d38614d0.bc36",
+ "type": "switchNode",
+ "name": "request-id",
+ "xml": "<switch test='`$optical-service-create-input.request-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 646,
+ "y": 148,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "23efd503.0cf412",
+ "1d6aa3e0.f6a834"
+ ]
+ ]
+ },
+ {
+ "id": "f4433d75.377228",
+ "type": "switchNode",
+ "name": "global-customer-id",
+ "xml": "<switch test='`$optical-service-create-input.global-customer-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 655,
+ "y": 361,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "728c9f28.f9d0e8",
+ "46df5e01.d1113"
+ ]
+ ]
+ },
+ {
+ "id": "a9973cda.a8ef68",
+ "type": "switchNode",
+ "name": "service-id",
+ "xml": "<switch test='`$optical-service-create-input.service-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 633,
+ "y": 538,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "d26d7cce.773f38",
+ "2c3d9568.5117a2"
+ ]
+ ]
+ },
+ {
+ "id": "671058f0.99ab9",
+ "type": "switchNode",
+ "name": "service-type",
+ "xml": "<switch test='`$optical-service-create-input.service-type`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 648,
+ "y": 241,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "f2f4ba89.3681a8",
+ "b7e00225.a8cb18"
+ ]
+ ]
+ },
+ {
+ "id": "23efd503.0cf412",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value='``'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 798,
+ "y": 143,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "34e9eaa3.5c0fee"
+ ]
+ ]
+ },
+ {
+ "id": "34e9eaa3.5c0fee",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='request-id is a mandatory field' />\n",
+ "comments": "",
+ "x": 972,
+ "y": 141,
+ "z": "d427ef29.f00798",
+ "wires": []
+ },
+ {
+ "id": "728c9f28.f9d0e8",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value='``'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 798,
+ "y": 375,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "a83e9b81.69057"
+ ]
+ ]
+ },
+ {
+ "id": "d26d7cce.773f38",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value='``'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 796,
+ "y": 532,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "946c93a2.ec4708"
+ ]
+ ]
+ },
+ {
+ "id": "f2f4ba89.3681a8",
+ "type": "outcome",
+ "name": "NULL",
+ "xml": "<outcome value='``'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 804,
+ "y": 249,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "fbae657d.c4d4c8"
+ ]
+ ]
+ },
+ {
+ "id": "a83e9b81.69057",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='global-customer-id is a mandatory field' />\n",
+ "comments": "",
+ "x": 969,
+ "y": 378,
+ "z": "d427ef29.f00798",
+ "wires": []
+ },
+ {
+ "id": "fbae657d.c4d4c8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='service-type is a mandatory field' />\n",
+ "comments": "",
+ "x": 970,
+ "y": 241,
+ "z": "d427ef29.f00798",
+ "wires": []
+ },
+ {
+ "id": "946c93a2.ec4708",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='service-id is a mandatory field' />\n",
+ "comments": "",
+ "x": 970,
+ "y": 518,
+ "z": "d427ef29.f00798",
+ "wires": []
+ },
+ {
+ "id": "46df5e01.d1113",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 804,
+ "y": 436,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "622cee2e.97fdc8"
+ ]
+ ]
+ },
+ {
+ "id": "622cee2e.97fdc8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 964,
+ "y": 431,
+ "z": "d427ef29.f00798",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1d6aa3e0.f6a834",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 784,
+ "y": 190,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "e5940f9b.9dd578"
+ ]
+ ]
+ },
+ {
+ "id": "e5940f9b.9dd578",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 973,
+ "y": 189,
+ "z": "d427ef29.f00798",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b7e00225.a8cb18",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 811,
+ "y": 302,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "f8b5a2fb.5adfe"
+ ]
+ ]
+ },
+ {
+ "id": "f8b5a2fb.5adfe",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 954,
+ "y": 294,
+ "z": "d427ef29.f00798",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2c3d9568.5117a2",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 794,
+ "y": 577,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "b2fd7e25.913c4"
+ ]
+ ]
+ },
+ {
+ "id": "b2fd7e25.913c4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 969,
+ "y": 570,
+ "z": "d427ef29.f00798",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bc906c4e.a81f98",
+ "type": "switchNode",
+ "name": "source",
+ "xml": "<switch test='`$optical-service-create-input.source`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 607,
+ "y": 661,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "6a791b88.4d9444",
+ "a73ceec7.d4e338"
+ ]
+ ]
+ },
+ {
+ "id": "6a791b88.4d9444",
+ "type": "outcome",
+ "name": "SO",
+ "xml": "<outcome value='SO'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 788,
+ "y": 679,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "77e76807.687ab8"
+ ]
+ ]
+ },
+ {
+ "id": "a73ceec7.d4e338",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 792,
+ "y": 748,
+ "z": "d427ef29.f00798",
+ "wires": [
+ [
+ "2a90f153.aeb8ae"
+ ]
+ ]
+ },
+ {
+ "id": "77e76807.687ab8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 965,
+ "y": 677,
+ "z": "d427ef29.f00798",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2a90f153.aeb8ae",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='source must be SO' />\n",
+ "comments": "",
+ "x": 965,
+ "y": 749,
+ "z": "d427ef29.f00798",
+ "wires": []
+ }
+] \ No newline at end of file