X-Git-Url: https://gerrit.onap.org/r/gitweb?p=ccsdk%2Fdistribution.git;a=blobdiff_plain;f=platform-logic%2Fa1Adapter-api%2Fsrc%2Fmain%2Fjson%2FA1-ADAPTER-API_createPolicyType.json;fp=platform-logic%2Fa1Adapter-api%2Fsrc%2Fmain%2Fjson%2FA1-ADAPTER-API_createPolicyType.json;h=f604546f8e488d39c851843006971938d3c7ce16;hp=0000000000000000000000000000000000000000;hb=31fe7771d578257d1555b5743c3770204a476fc7;hpb=453f93bcb80b363f20f7a0378472614b25561a16 diff --git a/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_createPolicyType.json b/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_createPolicyType.json new file mode 100644 index 00000000..f604546f --- /dev/null +++ b/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_createPolicyType.json @@ -0,0 +1,1066 @@ +[ + { + "id": "da1c0256.907d3", + "type": "service-logic", + "name": "A1-ADAPTER-API ${project.version}", + "module": "A1-ADAPTER-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 175, + "y": 107, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "c3842e54.d19ba" + ] + ] + }, + { + "id": "c3842e54.d19ba", + "type": "method", + "name": "method createPolicyType", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 162, + "y": 176, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "829b6d78.3af18" + ] + ] + }, + { + "id": "fac199c6.b8b0d8", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 479, + "y": 32, + "z": "33d2d73b.2b05a8", + "wires": [ + [] + ] + }, + { + "id": "829b6d78.3af18", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 123, + "y": 313, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "fac199c6.b8b0d8", + "5390a4d8.c9c1bc", + "81f255bc.c262f8", + "e07f2f41.f873d", + "6562fc0a.7a0914", + "113f146b.e7fc1c", + "f777d20f.cea71" + ] + ] + }, + { + "id": "c869b560.9e91f8", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n\n\n\n\n", + "comments": "", + "x": 725.0000114440918, + "y": 1393.000054359436, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "f7f7a77a.12bc98", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 103, + "y": 45, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "da1c0256.907d3" + ] + ] + }, + { + "id": "5390a4d8.c9c1bc", + "type": "for", + "name": "for 0..properties_length", + "xml": "", + "comments": "", + "outputs": 1, + "x": 518, + "y": 178, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "3fcd8058.1cbb1" + ] + ] + }, + { + "id": "b35175f.9958988", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 890, + "y": 20, + "z": "33d2d73b.2b05a8", + "wires": [ + [] + ] + }, + { + "id": "e4c6a778.e1aaa8", + "type": "execute", + "name": "execute TemplateNode", + "xml": "\n \n \n \n", + "comments": "", + "outputs": 1, + "x": 1099, + "y": 92, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "87f254d0.7b3408", + "7ed6ebcf.0591e4" + ] + ] + }, + { + "id": "87f254d0.7b3408", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1424, + "y": 32, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "80e6a7c8.23e4f8" + ] + ] + }, + { + "id": "80e6a7c8.23e4f8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1615, + "y": 30, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "e8793dde.f3218" + ] + ] + }, + { + "id": "e8793dde.f3218", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1794, + "y": 30, + "z": "33d2d73b.2b05a8", + "wires": [ + [] + ] + }, + { + "id": "4e0cfa4d.d89b44", + "type": "execute", + "name": "remove new lines", + "xml": "\n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 1139.500114440918, + "y": 248.99999523162842, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "dc9245c2.4db508", + "2b40c422.72833c" + ] + ] + }, + { + "id": "a8217c1d.01afc", + "type": "execute", + "name": "remove tabs", + "xml": "\n \n \n \n ", + "comments": "", + "outputs": 1, + "x": 970.0001373291016, + "y": 414.0000100135803, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "7d2d3d36.846374", + "a731343e.eb8138" + ] + ] + }, + { + "id": "7d2d3d36.846374", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1138.5001602172852, + "y": 374.00002098083496, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "dffd4016.02da" + ] + ] + }, + { + "id": "dffd4016.02da", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1301.500129699707, + "y": 370.0000219345093, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "e27a3881.71afb8" + ] + ] + }, + { + "id": "e27a3881.71afb8", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1471.5001602172852, + "y": 364.00001335144043, + "z": "33d2d73b.2b05a8", + "wires": [ + [] + ] + }, + { + "id": "dc9245c2.4db508", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1330.000129699707, + "y": 211.99999523162842, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "c7f75df2.76888" + ] + ] + }, + { + "id": "c7f75df2.76888", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1489.000129699707, + "y": 213.00001049041748, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "5e63ce8a.af52a" + ] + ] + }, + { + "id": "5e63ce8a.af52a", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1647.0001602172852, + "y": 210.0000023841858, + "z": "33d2d73b.2b05a8", + "wires": [ + [] + ] + }, + { + "id": "7ed6ebcf.0591e4", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1406, + "y": 134, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "81458744.601ef8" + ] + ] + }, + { + "id": "81458744.601ef8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1799.9999389648438, + "y": 120.99999904632568, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "bacbbc8a.f6941", + "995c6b22.95ff88", + "dc754e34.18b86" + ] + ] + }, + { + "id": "bacbbc8a.f6941", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1776.9998474121094, + "y": 175.0000057220459, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "2b40c422.72833c", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1337.000114440918, + "y": 297.9999952316284, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "9a83fc16.7714e" + ] + ] + }, + { + "id": "9a83fc16.7714e", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1591.0000686645508, + "y": 289.99999475479126, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "22fbcd27.4e5fd2", + "548d546b.d9cedc", + "dc754e34.18b86" + ] + ] + }, + { + "id": "22fbcd27.4e5fd2", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1628.9997940063477, + "y": 362.0000219345093, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "a731343e.eb8138", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1148.0001373291016, + "y": 464.99999952316284, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "d4189ca3.d0364" + ] + ] + }, + { + "id": "d4189ca3.d0364", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1528.000129699707, + "y": 469.00002098083496, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "9eb173db.93145", + "32ec5dff.471c32", + "dc754e34.18b86" + ] + ] + }, + { + "id": "9eb173db.93145", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1482.000099182129, + "y": 556.0000219345093, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "c1612317.d0711", + "type": "block", + "name": "A1 Mediator Payload Generation", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 791, + "y": 197, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "e4c6a778.e1aaa8", + "4e0cfa4d.d89b44", + "a8217c1d.01afc" + ] + ] + }, + { + "id": "81f255bc.c262f8", + "type": "execute", + "name": "execute Properties", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 516, + "y": 127, + "z": "33d2d73b.2b05a8", + "wires": [ + [] + ] + }, + { + "id": "e07f2f41.f873d", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 493, + "y": 211, + "z": "33d2d73b.2b05a8", + "wires": [ + [] + ] + }, + { + "id": "6562fc0a.7a0914", + "type": "switchNode", + "name": "A1 Mediator Deployed", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 360, + "y": 322, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "9c23b632.e02c18", + "b1e5fe91.97aa5" + ] + ] + }, + { + "id": "9c23b632.e02c18", + "type": "outcome", + "name": "Not Deployed", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 576.0000076293945, + "y": 1002.0001735687256, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "273be5b.9b1061a" + ] + ] + }, + { + "id": "b1e5fe91.97aa5", + "type": "outcome", + "name": "Deployed", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 543, + "y": 258.00006103515625, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "9ed89566.9ebd78" + ] + ] + }, + { + "id": "9ed89566.9ebd78", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 608, + "y": 334, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "c1612317.d0711", + "56d9853f.f02f6c" + ] + ] + }, + { + "id": "273be5b.9b1061a", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 720.9999961853027, + "y": 1080.9999904632568, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "735341e0.7cf62", + "f00de33f.958a3", + "dc754e34.18b86" + ] + ] + }, + { + "id": "735341e0.7cf62", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n\n", + "comments": "", + "x": 756.9997673034668, + "y": 1214.000012397766, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "822e4be6.9aeb88", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1217.0000915527344, + "y": 742.0000071525574, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "dcbc720c.e12ad" + ] + ] + }, + { + "id": "cbddba75.75b3e8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1223.0002746582031, + "y": 826.9999918937683, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "5402f03c.8e47d" + ] + ] + }, + { + "id": "5402f03c.8e47d", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1367.9999084472656, + "y": 809.0000071525574, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "bf840c18.42a18" + ] + ] + }, + { + "id": "1ad8db0a.f4e495", + "type": "set", + "name": "set tmp variables for input RPC parms", + "xml": "\n\n\n\n", + "comments": "", + "x": 1017.0010070800781, + "y": 539.8890910148621, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "762f3a72.743d14", + "type": "execute", + "name": "Create A1 Policy Type", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1000.0004577636719, + "y": 785.0103678703308, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "822e4be6.9aeb88", + "cbddba75.75b3e8" + ] + ] + }, + { + "id": "bf555fa7.85bc1", + "type": "execute", + "name": "generate A1 Mediator URL", + "xml": "\n \n \n \n ", + "comments": "", + "outputs": 1, + "x": 996.0001525878906, + "y": 596.0104899406433, + "z": "33d2d73b.2b05a8", + "wires": [ + [] + ] + }, + { + "id": "56d9853f.f02f6c", + "type": "block", + "name": "A1 Mediator RestAPI Invocation", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 696.0000305175781, + "y": 622.9999918937683, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "309907cb.88b8b8", + "1ad8db0a.f4e495", + "bf555fa7.85bc1", + "762f3a72.743d14" + ] + ] + }, + { + "id": "309907cb.88b8b8", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 972.0000305175781, + "y": 712.9999918937683, + "z": "33d2d73b.2b05a8", + "wires": [ + [] + ] + }, + { + "id": "bf840c18.42a18", + "type": "record", + "name": "record", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 1538.0000305175781, + "y": 810.9999918937683, + "z": "33d2d73b.2b05a8", + "wires": [ + [] + ] + }, + { + "id": "1d14eb24.f639b5", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1422.0001602172852, + "y": 740.0000019073486, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "ed6f54ef.6ff228", + "type": "set", + "name": "set A1Mediator payload manually", + "xml": "\n", + "comments": "", + "x": 1019.0000305175781, + "y": 655.9999918937683, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "3fcd8058.1cbb1", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 714, + "y": 24, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "b35175f.9958988", + "cf4806a1.1d1598" + ] + ] + }, + { + "id": "cf4806a1.1d1598", + "type": "for", + "name": "for 0..policy-statements_length", + "xml": "", + "comments": "", + "outputs": 1, + "x": 803, + "y": 110, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "4675b56e.9a221c" + ] + ] + }, + { + "id": "4675b56e.9a221c", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1020, + "y": 38, + "z": "33d2d73b.2b05a8", + "wires": [ + [] + ] + }, + { + "id": "113f146b.e7fc1c", + "type": "set", + "name": "set default status value", + "xml": "\n\n", + "comments": "", + "x": 518, + "y": 81, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "dc754e34.18b86", + "type": "block", + "name": "DMAAP Reponse Publish", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2218.5039672851562, + "y": 818.004011631012, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "5784d302.e1710c", + "aed8c8e.3c55c38", + "98b8cae1.792f68" + ] + ] + }, + { + "id": "aed8c8e.3c55c38", + "type": "execute", + "name": "execute DmaapMsg", + "xml": "\n \n \n \n \n \n ", + "comments": "", + "outputs": 1, + "x": 2490.504165649414, + "y": 960.0033769607544, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "93cfbb9d.b9c5a8", + "d2616a2c.825ff8" + ] + ] + }, + { + "id": "5784d302.e1710c", + "type": "set", + "name": "set", + "xml": "\n\n\n\n", + "comments": "", + "x": 2471.170913696289, + "y": 674.0039100646973, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "93cfbb9d.b9c5a8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2725.004108428955, + "y": 870.9207038879395, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "15bde2a9.106a0d" + ] + ] + }, + { + "id": "d2616a2c.825ff8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2729.0040283203125, + "y": 1009.9205465316772, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "801c250c.9459d8" + ] + ] + }, + { + "id": "15bde2a9.106a0d", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2885.003942489624, + "y": 872.9207048416138, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "13abffa9.da7d8" + ] + ] + }, + { + "id": "13abffa9.da7d8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 3067.003673553467, + "y": 863.9207806587219, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "801c250c.9459d8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2912.003671646118, + "y": 1002.9206552505493, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "682c6ff7.cfcce" + ] + ] + }, + { + "id": "682c6ff7.cfcce", + "type": "record", + "name": "record", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 3100.0038719177246, + "y": 991.9209499359131, + "z": "33d2d73b.2b05a8", + "wires": [ + [] + ] + }, + { + "id": "98b8cae1.792f68", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 2498.0040130615234, + "y": 827.458911895752, + "z": "33d2d73b.2b05a8", + "wires": [ + [] + ] + }, + { + "id": "f777d20f.cea71", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 602.0039024353027, + "y": 1318.753975868225, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "c869b560.9e91f8", + "dc754e34.18b86" + ] + ] + }, + { + "id": "f00de33f.958a3", + "type": "set", + "name": "set", + "xml": "\n\n\n", + "comments": "", + "x": 813.00390625, + "y": 948.7540035247803, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "995c6b22.95ff88", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 1981.7541809082031, + "y": 51.00389862060547, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "548d546b.d9cedc", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 1766.25390625, + "y": 264.00390625, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "32ec5dff.471c32", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 1675.25390625, + "y": 430.00390625, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "e80eb11c.f708b", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 1644.2539749145508, + "y": 600.7539310455322, + "z": "33d2d73b.2b05a8", + "wires": [] + }, + { + "id": "dcbc720c.e12ad", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1358.25390625, + "y": 670.75390625, + "z": "33d2d73b.2b05a8", + "wires": [ + [ + "1d14eb24.f639b5", + "e80eb11c.f708b", + "dc754e34.18b86" + ] + ] + } +] \ No newline at end of file