Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_pnf-topology-operation-assign.json
index 2e3a1c2..effe51e 100644 (file)
@@ -1,20 +1,20 @@
 [\r
     {\r
-        "id": "d3b3a7ea.d04d08",\r
+        "id": "ee243452.aa33a8",\r
         "type": "dgstart",\r
         "name": "DGSTART",\r
         "outputs": 1,\r
-        "x": 133.3333282470703,\r
-        "y": 79.63588523864746,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 134,\r
+        "y": 98,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "46bb10f7.5c3fb"\r
+                "5810e1f9.1768b"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "46bb10f7.5c3fb",\r
+        "id": "5810e1f9.1768b",\r
         "type": "service-logic",\r
         "name": "GENERIC-RESOURCE-API ${project.version}",\r
         "module": "GENERIC-RESOURCE-API",\r
         "comments": "",\r
         "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}'>",\r
         "outputs": 1,\r
-        "x": 248.61903381347656,\r
-        "y": 121.54066467285156,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 249.28570556640625,\r
+        "y": 139.9047794342041,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "11b944cd.c96c5b"\r
+                "70e23e6c.961c38"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "11b944cd.c96c5b",\r
+        "id": "70e23e6c.961c38",\r
         "type": "method",\r
         "name": "method pnf-topology-operation-assign",\r
         "xml": "<method rpc='pnf-topology-operation-assign' mode='sync'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 243.92864990234375,\r
-        "y": 165.55255317687988,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 244.59532165527344,\r
+        "y": 183.91666793823242,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "ce6b8a58.b8d3e8"\r
+                "c77449b3.048b78"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "7e923496.314c4c",\r
+        "id": "14cec61f.9eab5a",\r
         "type": "comment",\r
         "name": "pnf-topology-operation-assign",\r
         "info": "",\r
         "comments": "",\r
-        "x": 535.5948638916016,\r
-        "y": 41.38888931274414,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 536.2615356445312,\r
+        "y": 59.75300407409668,\r
+        "z": "19228309.79f23d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "2c8dd484.c334bc",\r
+        "id": "da472ec3.e5ccd8",\r
         "type": "switchNode",\r
         "name": "switch request-action",\r
         "xml": "<switch test='`$pnf-topology-operation-input.request-information.request-action`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 627.2143096923828,\r
-        "y": 309.0287160873413,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 627.8809814453125,\r
+        "y": 327.39283084869385,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "e97259d0.1af158",\r
-                "413f5d48.571fc4"\r
+                "b27a37af.b36718",\r
+                "f6fae337.330588"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "e97259d0.1af158",\r
+        "id": "b27a37af.b36718",\r
         "type": "outcome",\r
         "name": "CreatePnfInstance",\r
         "xml": "<outcome value='CreatePnfInstance'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 880.9286041259766,\r
-        "y": 286.1715974807739,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 881.5952758789062,\r
+        "y": 304.53571224212646,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "f6bc9eb4.5cc37"\r
+                "5bfce726.0e0808"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "413f5d48.571fc4",\r
+        "id": "f6fae337.330588",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 842.9285697937012,\r
-        "y": 331.88592529296875,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 843.5952415466309,\r
+        "y": 350.2500400543213,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "514d78e9.baa838"\r
+                "e0cd414.414b64"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "f6bc9eb4.5cc37",\r
+        "id": "5bfce726.0e0808",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1065.785732269287,\r
-        "y": 286.17162704467773,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 1066.4524040222168,\r
+        "y": 304.5357418060303,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "514d78e9.baa838",\r
+        "id": "e0cd414.414b64",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "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=\"If svc-action is 'assign' then request-action must be 'CreatePnfInstance'\" />\n",\r
         "comments": "",\r
-        "x": 1082.9285774230957,\r
-        "y": 331.8858833312988,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 1083.5952491760254,\r
+        "y": 350.24999809265137,\r
+        "z": "19228309.79f23d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4388ff9d.ce7d6",\r
+        "id": "19b08e1.3415872",\r
         "type": "get-resource",\r
         "name": "get-resource VF_MODEL",\r
         "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n  key='SELECT * from VF_MODEL WHERE customization_uuid = $pnf-topology-operation-input.pnf-details.onap-model-information.model-customization-uuid'\n  pfx='db.vf-model'>\n\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 639.5476150512695,\r
-        "y": 400.17158603668213,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 640.2142868041992,\r
+        "y": 418.53570079803467,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "512ab575.220ccc",\r
-                "3a1614d2.3eacec"\r
+                "982998d2.b1104",\r
+                "55fc7df0.63822c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6dc29919.0f2208",\r
+        "id": "ec81ba8b.5b2c9",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "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=\"`'No model found for VF customization UUID ' + $pnf-topology-operation-input.pnf-details.onap-model-information.model-customization-uuid`\" />\n",\r
         "comments": "",\r
-        "x": 1080.9760932922363,\r
-        "y": 423.60007190704346,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 1081.642765045166,\r
+        "y": 441.964186668396,\r
+        "z": "19228309.79f23d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "512ab575.220ccc",\r
+        "id": "982998d2.b1104",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 840.3333129882812,\r
-        "y": 380.55242347717285,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 840.9999847412109,\r
+        "y": 398.9165382385254,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "d5d2d14c.f67aa"\r
+                "6a64650.0d6f39c"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "3a1614d2.3eacec",\r
+        "id": "55fc7df0.63822c",\r
         "type": "not-found",\r
         "name": "not-found",\r
         "xml": "<outcome value='not-found'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 848.9047431945801,\r
-        "y": 424.83813667297363,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 849.5714149475098,\r
+        "y": 443.2022514343262,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "6dc29919.0f2208"\r
+                "ec81ba8b.5b2c9"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "d5d2d14c.f67aa",\r
+        "id": "6a64650.0d6f39c",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "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=\"Error reading VF_MODEL table\" />\n",\r
         "comments": "",\r
-        "x": 1080.333293914795,\r
-        "y": 378.695330619812,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 1080.9999656677246,\r
+        "y": 397.05944538116455,\r
+        "z": "19228309.79f23d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "95465986.653a28",\r
+        "id": "a75821b1.edfb58",\r
         "type": "execute",\r
         "name": "execute PropertiesNode",\r
         "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",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 635.1190948486328,\r
-        "y": 182.314471244812,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 637.7857666015625,\r
+        "y": 117.6785888671875,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "ce6b8a58.b8d3e8",\r
+        "id": "c77449b3.048b78",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 353.41272735595703,\r
-        "y": 309.5079708099365,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 354.0793991088867,\r
+        "y": 327.87208557128906,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "2c8dd484.c334bc",\r
-                "4388ff9d.ce7d6",\r
-                "95465986.653a28",\r
-                "6cdfcbff.124fe4",\r
-                "4f7127f2.481f58"\r
+                "da472ec3.e5ccd8",\r
+                "19b08e1.3415872",\r
+                "a75821b1.edfb58",\r
+                "780d7aca.b60934",\r
+                "71d0891.189e778",\r
+                "f6ad14ca.084b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "6cdfcbff.124fe4",\r
+        "id": "780d7aca.b60934",\r
         "type": "switchNode",\r
         "name": "switch input cloud-owner",\r
         "xml": "<switch test='`$pnf-topology-operation-input.pnf-request-input.cloud-owner`'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 635.8333511352539,\r
-        "y": 237.55254077911377,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 636.5000228881836,\r
+        "y": 255.9166555404663,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "fbe3ca5c.624b78",\r
-                "12f9e0f5.d15d1f"\r
+                "c9bdd3dc.faf7b",\r
+                "6e4e01ec.cdd3b8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "fbe3ca5c.624b78",\r
+        "id": "c9bdd3dc.faf7b",\r
         "type": "other",\r
         "name": "NULL",\r
         "xml": "<outcome value=''>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 819.1667251586914,\r
-        "y": 207.55252933502197,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 819.8333969116211,\r
+        "y": 225.9166440963745,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "c50e0e6c.80923"\r
+                "f08a07.1ccc0df8"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "12f9e0f5.d15d1f",\r
+        "id": "6e4e01ec.cdd3b8",\r
         "type": "other",\r
         "name": "other",\r
         "xml": "<outcome value='Other'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 818.9286308288574,\r
-        "y": 248.5050230026245,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 819.5953025817871,\r
+        "y": 266.86913776397705,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "6843bdbc.1eb674"\r
+                "9f00eed0.781e1"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "c50e0e6c.80923",\r
+        "id": "f08a07.1ccc0df8",\r
         "type": "block",\r
         "name": "block",\r
         "xml": "<block>\n",\r
         "atomic": "false",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 954.1666793823242,\r
-        "y": 205.88586902618408,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 954.8333511352539,\r
+        "y": 224.24998378753662,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "6843bdbc.1eb674",\r
+        "id": "9f00eed0.781e1",\r
         "type": "set",\r
         "name": "set prop.cloud-region.cloud-owner",\r
         "xml": "<set>\n<parameter name='prop.cloud-region.cloud-owner' value='`$pnf-topology-operation-input.pnf-request-input.cloud-owner`' />\n",\r
         "comments": "",\r
-        "x": 1035.8333358764648,\r
-        "y": 247.55255031585693,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 1036.5000076293945,\r
+        "y": 265.9166650772095,\r
+        "z": "19228309.79f23d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "940a3bec.b79db8",\r
+        "id": "9a07bcfe.297ad8",\r
         "type": "call",\r
         "name": "call self-serve-pnf-assign",\r
         "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-serve-pnf-assign' mode='sync' >\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 848.5553359985352,\r
-        "y": 596.4128832817078,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 849.2220077514648,\r
+        "y": 614.7769980430603,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "ee11637d.64cc5"\r
+                "1b53503a.a14958"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "22ef4f33.3ca9c",\r
+        "id": "d15a667b.1812a",\r
         "type": "returnFailure",\r
         "name": "return failure",\r
         "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=\"`'Failed to create self-serve assignment for pnf with pnf-id=' + $pnf-topology-operation-input.pnf-details.pnf-id + ' with error: ' + $error-message`\" />\n",\r
         "comments": "",\r
-        "x": 1232.6267127990723,\r
-        "y": 596.4128336906433,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 1233.293384552002,\r
+        "y": 614.7769484519958,\r
+        "z": "19228309.79f23d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "d7499e88.a3c54",\r
+        "id": "b09b2b8a.09a48",\r
         "type": "comment",\r
         "name": "SELF-SERVE FORK",\r
         "info": "",\r
         "comments": "",\r
-        "x": 758.174690246582,\r
-        "y": 547.6151220798492,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 758.8413619995117,\r
+        "y": 565.9792368412018,\r
+        "z": "19228309.79f23d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "ee11637d.64cc5",\r
+        "id": "1b53503a.a14958",\r
         "type": "failure",\r
         "name": "failure",\r
         "xml": "<outcome value='failure'>\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 1053.8529167175293,\r
-        "y": 595.9009146690369,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 1054.519588470459,\r
+        "y": 614.2650294303894,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "22ef4f33.3ca9c"\r
+                "d15a667b.1812a"\r
             ]\r
         ]\r
     },\r
     {\r
-        "id": "8085154e.65e6a8",\r
+        "id": "1f34dbbd.dc61f4",\r
         "type": "returnSuccess",\r
         "name": "return success",\r
         "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",\r
         "comments": "",\r
-        "x": 820.9642715454102,\r
-        "y": 750.5674510002136,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 821.6309432983398,\r
+        "y": 768.9315657615662,\r
+        "z": "19228309.79f23d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "4326ce02.3a255",\r
+        "id": "1f5752f6.bdefd5",\r
         "type": "set",\r
         "name": "set pnf-level-oper-status to PendingCreate",\r
         "xml": "<set>\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.order-status' value='PendingCreate' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.last-rpc-action' value='`$pnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.pnfs.pnf[$pnf-index].pnf-data.pnf-level-oper-status.last-action' value='`$pnf-topology-operation-input.request-information.request-action`' />",\r
         "comments": "",\r
-        "x": 959.0277328491211,\r
-        "y": 649.15491771698,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 959.6944046020508,\r
+        "y": 667.5190324783325,\r
+        "z": "19228309.79f23d",\r
         "wires": []\r
     },\r
     {\r
-        "id": "b05b3263.f3526",\r
+        "id": "e1473b9e.65e3f8",\r
         "type": "execute",\r
         "name": "printContext",\r
         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-pnf-assign.log' />\n",\r
         "comments": "",\r
         "outputs": 1,\r
-        "x": 810.8689994812012,\r
-        "y": 698.3447003364563,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 811.5356712341309,\r
+        "y": 716.7088150978088,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             []\r
         ]\r
     },\r
     {\r
-        "id": "4f7127f2.481f58",\r
+        "id": "71d0891.189e778",\r
         "type": "block",\r
         "name": "block : atomic",\r
         "xml": "<block atomic=\"true\">",\r
         "atomic": "true",\r
         "outputs": 1,\r
-        "x": 599.535530090332,\r
-        "y": 667.8531589508057,\r
-        "z": "6dfe2c1.a0003d4",\r
+        "x": 600.2022018432617,\r
+        "y": 686.2172737121582,\r
+        "z": "19228309.79f23d",\r
         "wires": [\r
             [\r
-                "940a3bec.b79db8",\r
-                "8085154e.65e6a8",\r
-                "b05b3263.f3526"\r
+                "9a07bcfe.297ad8",\r
+                "1f34dbbd.dc61f4",\r
+                "e1473b9e.65e3f8"\r
             ]\r
         ]\r
+    },\r
+    {\r
+        "id": "f6ad14ca.084b8",\r
+        "type": "switchNode",\r
+        "name": "Is cloud-owner passed in input?",\r
+        "xml": "<switch test=\"`$pnf-topology-operation-input.pnf-request-input.cloud-owner != ''`\">\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 723,\r
+        "y": 172,\r
+        "z": "19228309.79f23d",\r
+        "wires": [\r
+            [\r
+                "98dded3d.86af78"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "98dded3d.86af78",\r
+        "type": "outcomeTrue",\r
+        "name": "true",\r
+        "xml": "<outcome value='true'>\n",\r
+        "comments": "",\r
+        "outputs": 1,\r
+        "x": 1020,\r
+        "y": 172,\r
+        "z": "19228309.79f23d",\r
+        "wires": [\r
+            [\r
+                "fdb56d64.3dcfa"\r
+            ]\r
+        ]\r
+    },\r
+    {\r
+        "id": "fdb56d64.3dcfa",\r
+        "type": "set",\r
+        "name": "set prop.cloud-region.cloud-owner to input cloud-owner",\r
+        "xml": "<set>\n<parameter name='prop.cloud-region.cloud-owner' value='`$pnf-topology-operation-input.pnf-request-input.cloud-owner`' />\n",\r
+        "comments": "",\r
+        "x": 1391,\r
+        "y": 168,\r
+        "z": "19228309.79f23d",\r
+        "wires": []\r
     }\r
 ]
\ No newline at end of file