X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=platform-logic%2Fa1Adapter-api%2Fsrc%2Fmain%2Fjson%2FA1-ADAPTER-API_getA1Policy.json;h=65f97d0816297cc610b67a9e74ef34be7883e0de;hb=refs%2Fheads%2Fmaster;hp=679a5648e5493ae23caf0270417823aecda2ca3e;hpb=b03f66d763b938f3a65c3e89ac4a10b4a743e408;p=ccsdk%2Fdistribution.git diff --git a/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1Policy.json b/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1Policy.json index 679a5648..068f49ee 100644 --- a/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1Policy.json +++ b/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_getA1Policy.json @@ -1,529 +1,427 @@ -[ - { - "id": "a60fb60b.241a28", - "type": "service-logic", - "name": "A1-ADAPTER-API ${project.version}", - "module": "A1-ADAPTER-API", - "version": "${project.version}", - "comments": "", - "xml": "", - "outputs": 1, - "x": 175, - "y": 269, - "z": "7304d8ed.dab258", - "wires": [ - [ - "57fe6f06.92d82" - ] - ] - }, - { - "id": "57fe6f06.92d82", - "type": "method", - "name": "method getA1Policy", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 234, - "y": 390, - "z": "7304d8ed.dab258", - "wires": [ - [ - "5bd5c7d.75cdd38" - ] - ] - }, - { - "id": "6c7eeb3b.b216c4", - "type": "record", - "name": "record", - "xml": "\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 695, - "y": 191, - "z": "7304d8ed.dab258", - "wires": [ - [] - ] - }, - { - "id": "5bd5c7d.75cdd38", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", - "comments": "", - "outputs": 1, - "x": 439, - "y": 344, - "z": "7304d8ed.dab258", - "wires": [ - [ - "6c7eeb3b.b216c4", - "ca0351d6.caa3e", - "18c8dded.66a2f2", - "236f6af1.570056", - "bfb54edb.3da1b" - ] - ] - }, - { - "id": "24f44e9b.4aa622", - "type": "dgstart", - "name": "DGSTART", - "outputs": 1, - "x": 106, - "y": 206, - "z": "7304d8ed.dab258", - "wires": [ - [ - "a60fb60b.241a28" - ] - ] - }, - { - "id": "ca0351d6.caa3e", - "type": "set", - "name": "set default status value", - "xml": "\n\n", - "comments": "", - "x": 739.0000610351562, - "y": 259, - "z": "7304d8ed.dab258", - "wires": [] - }, - { - "id": "18c8dded.66a2f2", - "type": "execute", - "name": "execute Properties", - "xml": "\n \n \n", - "comments": "", - "outputs": 1, - "x": 738, - "y": 312, - "z": "7304d8ed.dab258", - "wires": [ - [] - ] - }, - { - "id": "bfb54edb.3da1b", - "type": "block", - "name": "A1 Mediator RestAPI Invocation", - "xml": "", - "atomic": "true", - "comments": "", - "outputs": 1, - "x": 768.0001220703125, - "y": 396, - "z": "7304d8ed.dab258", - "wires": [ - [ - "a8547794.9858e8", - "ddc15ef5.9b7b4", - "8a8335fe.a1c9b8", - "2e1a3941.d3ca26" - ] - ] - }, - { - "id": "ddc15ef5.9b7b4", - "type": "set", - "name": "set tmp variables for A1 Mediator REST API call", - "xml": "\n", - "comments": "", - "x": 1139.00146484375, - "y": 190.88912963867188, - "z": "7304d8ed.dab258", - "wires": [] - }, - { - "id": "a8547794.9858e8", - "type": "record", - "name": "record", - "xml": "\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 1024.0001220703125, - "y": 395, - "z": "7304d8ed.dab258", - "wires": [ - [] - ] - }, - { - "id": "8a8335fe.a1c9b8", - "type": "execute", - "name": "Get Policy Instance", - "xml": "\n\n\n\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 1057.0006103515625, - "y": 543.0104064941406, - "z": "7304d8ed.dab258", - "wires": [ - [ - "e4a64d8c.fd97", - "5a45e869.670878" - ] - ] - }, - { - "id": "e4a64d8c.fd97", - "type": "failure", - "name": "failure", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1267, - "y": 641.0001220703125, - "z": "7304d8ed.dab258", - "wires": [ - [ - "13b0f676.750d9a" - ] - ] - }, - { - "id": "5a45e869.670878", - "type": "success", - "name": "success", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1274.000244140625, - "y": 542.0000305175781, - "z": "7304d8ed.dab258", - "wires": [ - [ - "2c53bf53.3bc33" - ] - ] - }, - { - "id": "df221ec3.a4a66", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\n\n", - "comments": "", - "x": 1591.0006103515625, - "y": 751.0000610351562, - "z": "7304d8ed.dab258", - "wires": [] - }, - { - "id": "2c53bf53.3bc33", - "type": "block", - "name": "block", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 1430.9998779296875, - "y": 541.0000610351562, - "z": "7304d8ed.dab258", - "wires": [ - [ - "cbc08871.96e018", - "98154503.e4bc58", - "168fc93b.3defa7" - ] - ] - }, - { - "id": "cbc08871.96e018", - "type": "record", - "name": "record", - "xml": "\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 1582, - "y": 539, - "z": "7304d8ed.dab258", - "wires": [ - [] - ] - }, - { - "id": "9092f8ee.72e568", - "type": "set", - "name": "set", - "xml": "\n\n\n", - "comments": "", - "x": 1581.75390625, - "y": 667.00390625, - "z": "7304d8ed.dab258", - "wires": [] - }, - { - "id": "236f6af1.570056", - "type": "block", - "name": "block", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 701.75390625, - "y": 568.00390625, - "z": "7304d8ed.dab258", - "wires": [ - [ - "a1bd774.c21d588" - ] - ] - }, - { - "id": "a1bd774.c21d588", - "type": "returnSuccess", - "name": "return success", - "xml": "\n\n\n\n\n\n\n", - "comments": "", - "x": 862.7539672851562, - "y": 568.0039672851562, - "z": "7304d8ed.dab258", - "wires": [] - }, - { - "id": "13b0f676.750d9a", - "type": "block", - "name": "block", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 1427.00390625, - "y": 705.00390625, - "z": "7304d8ed.dab258", - "wires": [ - [ - "9092f8ee.72e568", - "df221ec3.a4a66" - ] - ] - }, - { - "id": "98154503.e4bc58", - "type": "execute", - "name": "set", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1581, - "y": 584, - "z": "7304d8ed.dab258", - "wires": [ - [] - ] - }, - { - "id": "168fc93b.3defa7", - "type": "execute", - "name": "execute", - "xml": "\n \n \n \n ", - "comments": "", - "outputs": 1, - "x": 1587, - "y": 490, - "z": "7304d8ed.dab258", - "wires": [ - [] - ] - }, - { - "id": "2e1a3941.d3ca26", - "type": "block", - "name": "block Substitute proxy address if available", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 1144, - "y": 304, - "z": "7304d8ed.dab258", - "wires": [ - [ - "75b00f49.dcc31", - "c836a6e6.960ec8", - "e1b6f74c.e43ab8" - ] - ] - }, - { - "id": "75b00f49.dcc31", - "type": "set", - "name": "set tmp url variables with proxy information", - "xml": "\n", - "comments": "", - "x": 1546, - "y": 181, - "z": "7304d8ed.dab258", - "wires": [] - }, - { - "id": "c836a6e6.960ec8", - "type": "record", - "name": "record", - "xml": "\n\n\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 1429, - "y": 256, - "z": "7304d8ed.dab258", - "wires": [ - [] - ] - }, - { - "id": "26ee6f37.aa426", - "type": "execute", - "name": "split near-rt-ric URL", - "xml": "\n \n \n ", - "comments": "", - "outputs": 1, - "x": 1978, - "y": 338, - "z": "7304d8ed.dab258", - "wires": [ - [] - ] - }, - { - "id": "2545ffb.f98f8", - "type": "for", - "name": "for", - "xml": "", - "comments": "", - "outputs": 1, - "x": 1944, - "y": 408, - "z": "7304d8ed.dab258", - "wires": [ - [ - "79fcf81b.cca0a8" - ] - ] - }, - { - "id": "79fcf81b.cca0a8", - "type": "execute", - "name": "set concat url", - "xml": "\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 2122, - "y": 408, - "z": "7304d8ed.dab258", - "wires": [ - [] - ] - }, - { - "id": "4d7fe169.4b287", - "type": "record", - "name": "record", - "xml": "\n\n\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 1944, - "y": 471, - "z": "7304d8ed.dab258", - "wires": [ - [] - ] - }, - { - "id": "e1b6f74c.e43ab8", - "type": "switchNode", - "name": "switch", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1428, - "y": 339, - "z": "7304d8ed.dab258", - "wires": [ - [ - "8d722c43.e9664", - "1b872074.8d5e4" - ] - ] - }, - { - "id": "8d722c43.e9664", - "type": "outcome", - "name": "No proxy URL", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1607, - "y": 305, - "z": "7304d8ed.dab258", - "wires": [ - [ - "af216f88.1be42" - ] - ] - }, - { - "id": "af216f88.1be42", - "type": "record", - "name": "record", - "xml": "\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 1775, - "y": 305, - "z": "7304d8ed.dab258", - "wires": [ - [] - ] - }, - { - "id": "1b872074.8d5e4", - "type": "outcome", - "name": "Otherwise", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1603, - "y": 373, - "z": "7304d8ed.dab258", - "wires": [ - [ - "6c54e9b2.79a338" - ] - ] - }, - { - "id": "6c54e9b2.79a338", - "type": "block", - "name": "block", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 1767, - "y": 373, - "z": "7304d8ed.dab258", - "wires": [ - [ - "26ee6f37.aa426", - "2545ffb.f98f8", - "4d7fe169.4b287", - "b2366d8c.1909" - ] - ] - }, - { - "id": "b2366d8c.1909", - "type": "set", - "name": "set variables for A1 Mediator with proxy url", - "xml": "\n", - "comments": "", - "x": 2054, - "y": 532, - "z": "7304d8ed.dab258", - "wires": [] - } +[ + { + "id": "bec86b4b.ba3328", + "type": "service-logic", + "name": "A1-ADAPTER-API ${project.version}", + "module": "A1-ADAPTER-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 178, + "y": 162, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "40b3e4f0.5a940c" + ] + ] + }, + { + "id": "40b3e4f0.5a940c", + "type": "method", + "name": "method getA1Policy", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 237, + "y": 283, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "2c58b14.20ee84e" + ] + ] + }, + { + "id": "cbe7f06b.6c19d", + "type": "record", + "name": "record", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 698, + "y": 84, + "z": "89b637c9.3cf8e8", + "wires": [ + [] + ] + }, + { + "id": "2c58b14.20ee84e", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 442, + "y": 237, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "cbe7f06b.6c19d", + "47954dd7.8ff874", + "a9bf18c8.669f28", + "de6281f7.a2b8f", + "6237535d.14298c" + ] + ] + }, + { + "id": "cec98e10.085a3", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 109, + "y": 99, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "bec86b4b.ba3328" + ] + ] + }, + { + "id": "6237535d.14298c", + "type": "set", + "name": "set default status value", + "xml": "\n\n", + "comments": "", + "x": 742.0000610351562, + "y": 152, + "z": "89b637c9.3cf8e8", + "wires": [] + }, + { + "id": "47954dd7.8ff874", + "type": "execute", + "name": "execute Properties", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 741, + "y": 205, + "z": "89b637c9.3cf8e8", + "wires": [ + [] + ] + }, + { + "id": "de6281f7.a2b8f", + "type": "block", + "name": "A1 Mediator RestAPI Invocation", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 771.0001220703125, + "y": 289, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "86e8102.231c3f", + "1e10a4f2.183f7b", + "7b93a0dc.5f888", + "294bdccf.e91f34" + ] + ] + }, + { + "id": "1e10a4f2.183f7b", + "type": "set", + "name": "set tmp variables for A1 Mediator REST API call", + "xml": "\n\n", + "comments": "", + "x": 1150.00146484375, + "y": 161.88912963867188, + "z": "89b637c9.3cf8e8", + "wires": [] + }, + { + "id": "86e8102.231c3f", + "type": "record", + "name": "record", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1031.0001220703125, + "y": 361, + "z": "89b637c9.3cf8e8", + "wires": [ + [] + ] + }, + { + "id": "7b93a0dc.5f888", + "type": "execute", + "name": "Get Policy Instance", + "xml": "\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1060.0006103515625, + "y": 436.0104064941406, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "8bafe9f1.1a33a8", + "fb3ab616.11d348" + ] + ] + }, + { + "id": "8bafe9f1.1a33a8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1270, + "y": 534.0001220703125, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "5f14ee4d.9f533" + ] + ] + }, + { + "id": "fb3ab616.11d348", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1277.000244140625, + "y": 435.0000305175781, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "c0139db9.f37a1" + ] + ] + }, + { + "id": "e7f0e32e.e3189", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1594.0006103515625, + "y": 644.0000610351562, + "z": "89b637c9.3cf8e8", + "wires": [] + }, + { + "id": "c0139db9.f37a1", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1433.9998779296875, + "y": 434.00006103515625, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "be994933.35af78", + "95ed4634.c435e8", + "db2f8823.d15a78" + ] + ] + }, + { + "id": "be994933.35af78", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1585, + "y": 432, + "z": "89b637c9.3cf8e8", + "wires": [ + [] + ] + }, + { + "id": "732e181b.d6b9d8", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 1584.75390625, + "y": 560.00390625, + "z": "89b637c9.3cf8e8", + "wires": [] + }, + { + "id": "a9bf18c8.669f28", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 704.75390625, + "y": 461.00390625, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "d0d4fe14.ba524" + ] + ] + }, + { + "id": "d0d4fe14.ba524", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "x": 865.7539672851562, + "y": 461.00396728515625, + "z": "89b637c9.3cf8e8", + "wires": [] + }, + { + "id": "5f14ee4d.9f533", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1430.00390625, + "y": 598.00390625, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "732e181b.d6b9d8", + "e7f0e32e.e3189" + ] + ] + }, + { + "id": "95ed4634.c435e8", + "type": "execute", + "name": "set", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 1585, + "y": 477, + "z": "89b637c9.3cf8e8", + "wires": [ + [] + ] + }, + { + "id": "db2f8823.d15a78", + "type": "execute", + "name": "execute", + "xml": "\n \n \n \n ", + "comments": "", + "outputs": 1, + "x": 1590, + "y": 383, + "z": "89b637c9.3cf8e8", + "wires": [ + [] + ] + }, + { + "id": "294bdccf.e91f34", + "type": "block", + "name": "block check if proxy address is available", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1144, + "y": 234, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "a6ec8b06.48bfe8" + ] + ] + }, + { + "id": "d5093ff.5c2bbc", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1763, + "y": 265, + "z": "89b637c9.3cf8e8", + "wires": [ + [] + ] + }, + { + "id": "a6ec8b06.48bfe8", + "type": "switchNode", + "name": "switch", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1431, + "y": 232, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "16ff777b.6f7569", + "7c0d754.e85938c" + ] + ] + }, + { + "id": "16ff777b.6f7569", + "type": "outcome", + "name": "No proxy URL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1610, + "y": 198, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "b8c7fa11.eff4c8" + ] + ] + }, + { + "id": "b8c7fa11.eff4c8", + "type": "record", + "name": "record", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1778, + "y": 198, + "z": "89b637c9.3cf8e8", + "wires": [ + [] + ] + }, + { + "id": "7c0d754.e85938c", + "type": "outcome", + "name": "Otherwise", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1606, + "y": 266, + "z": "89b637c9.3cf8e8", + "wires": [ + [ + "d5093ff.5c2bbc" + ] + ] + } ] \ No newline at end of file