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=900b041a3a2b8038a4f13b5fce6263e426526cdb;hb=85ddb75c2a52cd1ac07c9f881b2f275afe340fa0;hp=65f97d0816297cc610b67a9e74ef34be7883e0de;hpb=690aa719341f066808f606915235f30ae6782300;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 65f97d08..900b041a 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,332 +1,427 @@ -[ - { - "id": "9623ac21.784518", - "type": "service-logic", - "name": "A1-ADAPTER-API ${project.version}", - "module": "A1-ADAPTER-API", - "version": "${project.version}", - "comments": "", - "xml": "", - "outputs": 1, - "x": 168, - "y": 142, - "z": "e064bcd1.68ce88", - "wires": [ - [ - "ccd84436.04e408" - ] - ] - }, - { - "id": "ccd84436.04e408", - "type": "method", - "name": "method getA1Policy", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 227, - "y": 263, - "z": "e064bcd1.68ce88", - "wires": [ - [ - "c915f152.8fae9" - ] - ] - }, - { - "id": "7b756479.f5b4c4", - "type": "record", - "name": "record", - "xml": "\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 691, - "y": 77, - "z": "e064bcd1.68ce88", - "wires": [ - [] - ] - }, - { - "id": "c915f152.8fae9", - "type": "block", - "name": "block : atomic", - "xml": "", - "atomic": "true", - "comments": "", - "outputs": 1, - "x": 432, - "y": 217, - "z": "e064bcd1.68ce88", - "wires": [ - [ - "7b756479.f5b4c4", - "ecf93800.1c6098", - "50c242ff.949c04", - "91f0150f.12ce4", - "63a848d9.da34b" - ] - ] - }, - { - "id": "9209420.b905c4", - "type": "dgstart", - "name": "DGSTART", - "outputs": 1, - "x": 99, - "y": 79, - "z": "e064bcd1.68ce88", - "wires": [ - [ - "9623ac21.784518" - ] - ] - }, - { - "id": "ecf93800.1c6098", - "type": "set", - "name": "set default status value", - "xml": "\n\n", - "comments": "", - "x": 732.0000610351562, - "y": 132, - "z": "e064bcd1.68ce88", - "wires": [] - }, - { - "id": "50c242ff.949c04", - "type": "execute", - "name": "execute Properties", - "xml": "\n \n \n", - "comments": "", - "outputs": 1, - "x": 731, - "y": 185, - "z": "e064bcd1.68ce88", - "wires": [ - [] - ] - }, - { - "id": "63a848d9.da34b", - "type": "block", - "name": "A1 Mediator RestAPI Invocation", - "xml": "", - "atomic": "true", - "comments": "", - "outputs": 1, - "x": 761.0001220703125, - "y": 269, - "z": "e064bcd1.68ce88", - "wires": [ - [ - "291f2c44.cafa94", - "91d29dbf.a6a538", - "81af0899.ed949" - ] - ] - }, - { - "id": "91d29dbf.a6a538", - "type": "set", - "name": "set tmp variables for A1 Mediator REST API call", - "xml": "\n", - "comments": "", - "x": 1123.00146484375, - "y": 161.88912963867188, - "z": "e064bcd1.68ce88", - "wires": [] - }, - { - "id": "291f2c44.cafa94", - "type": "record", - "name": "record", - "xml": "\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 1011.0001220703125, - "y": 251, - "z": "e064bcd1.68ce88", - "wires": [ - [] - ] - }, - { - "id": "81af0899.ed949", - "type": "execute", - "name": "Get Policy Instance", - "xml": "\n\n\n\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 1056.0006103515625, - "y": 333.0104064941406, - "z": "e064bcd1.68ce88", - "wires": [ - [ - "13d8386c.8ddea8", - "af0b89cf.ac16e8" - ] - ] - }, - { - "id": "13d8386c.8ddea8", - "type": "failure", - "name": "failure", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1283, - "y": 402.0001220703125, - "z": "e064bcd1.68ce88", - "wires": [ - [ - "bf13d67e.e0cbb" - ] - ] - }, - { - "id": "af0b89cf.ac16e8", - "type": "success", - "name": "success", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1274.000244140625, - "y": 246.00003051757812, - "z": "e064bcd1.68ce88", - "wires": [ - [ - "98798a19.a969a" - ] - ] - }, - { - "id": "508b9b05.e13d4c", - "type": "returnFailure", - "name": "return failure", - "xml": "\n\n\n", - "comments": "", - "x": 1606.0006103515625, - "y": 456.00006103515625, - "z": "e064bcd1.68ce88", - "wires": [] - }, - { - "id": "98798a19.a969a", - "type": "block", - "name": "block", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 1446.9998779296875, - "y": 247.00006103515625, - "z": "e064bcd1.68ce88", - "wires": [ - [ - "c4d70fbd.f8a89", - "efe59c04.f94ff", - "7d3fa61b.39674" - ] - ] - }, - { - "id": "c4d70fbd.f8a89", - "type": "record", - "name": "record", - "xml": "\n\n\n\n", - "comments": "", - "outputs": 1, - "x": 1615, - "y": 219, - "z": "e064bcd1.68ce88", - "wires": [ - [] - ] - }, - { - "id": "3864588e.e52d2", - "type": "set", - "name": "set", - "xml": "\n\n\n", - "comments": "", - "x": 1579.75390625, - "y": 349.00390625, - "z": "e064bcd1.68ce88", - "wires": [] - }, - { - "id": "91f0150f.12ce4", - "type": "block", - "name": "block", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 694.75390625, - "y": 441.00390625, - "z": "e064bcd1.68ce88", - "wires": [ - [ - "a170f7d2.fa1e18" - ] - ] - }, - { - "id": "a170f7d2.fa1e18", - "type": "returnSuccess", - "name": "return success", - "xml": "\n\n\n\n\n\n\n", - "comments": "", - "x": 855.7539672851562, - "y": 441.00396728515625, - "z": "e064bcd1.68ce88", - "wires": [] - }, - { - "id": "bf13d67e.e0cbb", - "type": "block", - "name": "block", - "xml": "\n", - "atomic": "false", - "comments": "", - "outputs": 1, - "x": 1438.00390625, - "y": 401.0039367675781, - "z": "e064bcd1.68ce88", - "wires": [ - [ - "3864588e.e52d2", - "508b9b05.e13d4c" - ] - ] - }, - { - "id": "efe59c04.f94ff", - "type": "execute", - "name": "set", - "xml": "\n", - "comments": "", - "outputs": 1, - "x": 1611, - "y": 297, - "z": "e064bcd1.68ce88", - "wires": [ - [] - ] - }, - { - "id": "7d3fa61b.39674", - "type": "execute", - "name": "execute", - "xml": "\n \n \n \n ", - "comments": "", - "outputs": 1, - "x": 1614, - "y": 152, - "z": "e064bcd1.68ce88", - "wires": [ - [] - ] - } +[ + { + "id": "10e97b34.bcf315", + "type": "service-logic", + "name": "A1-ADAPTER-API ${project.version}", + "module": "A1-ADAPTER-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 166, + "y": 257, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "34cf59af.6236f6" + ] + ] + }, + { + "id": "34cf59af.6236f6", + "type": "method", + "name": "method getA1Policy", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 225, + "y": 378, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "d016778f.76d178" + ] + ] + }, + { + "id": "237a560f.9552ba", + "type": "record", + "name": "record", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 686, + "y": 179, + "z": "f36dd077.0bd7e", + "wires": [ + [] + ] + }, + { + "id": "d016778f.76d178", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 430, + "y": 332, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "237a560f.9552ba", + "88a7e3f8.aef34", + "fa770c9c.fa8f4", + "b82e4819.e59fa8", + "3c47174a.181888" + ] + ] + }, + { + "id": "48fb0377.e5bbdc", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 97, + "y": 194, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "10e97b34.bcf315" + ] + ] + }, + { + "id": "3c47174a.181888", + "type": "set", + "name": "set default status value", + "xml": "\n\n", + "comments": "", + "x": 730.0000610351562, + "y": 247, + "z": "f36dd077.0bd7e", + "wires": [] + }, + { + "id": "88a7e3f8.aef34", + "type": "execute", + "name": "execute Properties", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 729, + "y": 300, + "z": "f36dd077.0bd7e", + "wires": [ + [] + ] + }, + { + "id": "b82e4819.e59fa8", + "type": "block", + "name": "A1 Mediator RestAPI Invocation", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 759.0001220703125, + "y": 384, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "8c55c732.d89748", + "ad49f33b.d3377", + "8027c342.f7a8", + "fcd99fa2.71eae" + ] + ] + }, + { + "id": "ad49f33b.d3377", + "type": "set", + "name": "set tmp variables for A1 Mediator REST API call", + "xml": "\n\n", + "comments": "", + "x": 1138.00146484375, + "y": 256.8891296386719, + "z": "f36dd077.0bd7e", + "wires": [] + }, + { + "id": "8c55c732.d89748", + "type": "record", + "name": "record", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1019.0001220703125, + "y": 456, + "z": "f36dd077.0bd7e", + "wires": [ + [] + ] + }, + { + "id": "8027c342.f7a8", + "type": "execute", + "name": "Get Policy Instance", + "xml": "\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1048.0006103515625, + "y": 531.0104064941406, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "9897b12a.32ced", + "e71419ff.61bbb8" + ] + ] + }, + { + "id": "9897b12a.32ced", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1258, + "y": 629.0001220703125, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "1c9ae028.670bf" + ] + ] + }, + { + "id": "e71419ff.61bbb8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1265.000244140625, + "y": 530.0000305175781, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "afc5b777.009a08" + ] + ] + }, + { + "id": "f3898b18.20aed8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1582.0006103515625, + "y": 739.0000610351562, + "z": "f36dd077.0bd7e", + "wires": [] + }, + { + "id": "afc5b777.009a08", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1421.9998779296875, + "y": 529.0000610351562, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "9ba38f90.43984", + "5c8a496b.1d4158", + "7164a263.76f1bc" + ] + ] + }, + { + "id": "9ba38f90.43984", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1573, + "y": 527, + "z": "f36dd077.0bd7e", + "wires": [ + [] + ] + }, + { + "id": "2fae5a38.614356", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 1572.75390625, + "y": 655.00390625, + "z": "f36dd077.0bd7e", + "wires": [] + }, + { + "id": "fa770c9c.fa8f4", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 692.75390625, + "y": 556.00390625, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "f52c3841.f4dc38" + ] + ] + }, + { + "id": "f52c3841.f4dc38", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "x": 853.7539672851562, + "y": 556.0039672851562, + "z": "f36dd077.0bd7e", + "wires": [] + }, + { + "id": "1c9ae028.670bf", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1418.00390625, + "y": 693.00390625, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "2fae5a38.614356", + "f3898b18.20aed8" + ] + ] + }, + { + "id": "5c8a496b.1d4158", + "type": "execute", + "name": "set", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 1573, + "y": 572, + "z": "f36dd077.0bd7e", + "wires": [ + [] + ] + }, + { + "id": "7164a263.76f1bc", + "type": "execute", + "name": "execute", + "xml": "\n \n \n \n ", + "comments": "", + "outputs": 1, + "x": 1578, + "y": 478, + "z": "f36dd077.0bd7e", + "wires": [ + [] + ] + }, + { + "id": "fcd99fa2.71eae", + "type": "block", + "name": "block check if proxy address is available", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1132, + "y": 329, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "682992.2dd0967" + ] + ] + }, + { + "id": "74ebffed.36e5d", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1751, + "y": 360, + "z": "f36dd077.0bd7e", + "wires": [ + [] + ] + }, + { + "id": "682992.2dd0967", + "type": "switchNode", + "name": "switch", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1419, + "y": 327, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "1ffdd50c.057bdb", + "dcf5e334.20da6" + ] + ] + }, + { + "id": "1ffdd50c.057bdb", + "type": "outcome", + "name": "No proxy URL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1598, + "y": 293, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "5af6fc8b.6b28b4" + ] + ] + }, + { + "id": "5af6fc8b.6b28b4", + "type": "record", + "name": "record", + "xml": "\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1766, + "y": 293, + "z": "f36dd077.0bd7e", + "wires": [ + [] + ] + }, + { + "id": "dcf5e334.20da6", + "type": "outcome", + "name": "Otherwise", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1594, + "y": 361, + "z": "f36dd077.0bd7e", + "wires": [ + [ + "74ebffed.36e5d" + ] + ] + } ] \ No newline at end of file