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_createPolicyInstance.json;fp=platform-logic%2Fa1Adapter-api%2Fsrc%2Fmain%2Fjson%2FA1-ADAPTER-API_createPolicyInstance.json;h=2c7c272de8f1f9b05f3efd6fb2dd38b3480601bb;hp=0000000000000000000000000000000000000000;hb=8dd16669775bf23c35c25b6adf2f5adccdda1730;hpb=fc4bb348c8a8b4a5d5f77065b8ebbca16d6ce5b8 diff --git a/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_createPolicyInstance.json b/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_createPolicyInstance.json new file mode 100644 index 00000000..2c7c272d --- /dev/null +++ b/platform-logic/a1Adapter-api/src/main/json/A1-ADAPTER-API_createPolicyInstance.json @@ -0,0 +1,1003 @@ +[ + { + "id": "9236469b.e33218", + "type": "service-logic", + "name": "A1-ADAPTER-API ${project.version}", + "module": "A1-ADAPTER-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 173, + "y": 99, + "z": "778ff71f.21c948", + "wires": [ + [ + "c9f1cc58.c62c7" + ] + ] + }, + { + "id": "c9f1cc58.c62c7", + "type": "method", + "name": "method createPolicyInstance", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 160, + "y": 168, + "z": "778ff71f.21c948", + "wires": [ + [ + "4499058e.f4c35c" + ] + ] + }, + { + "id": "42dffa26.a86494", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 482, + "y": 31, + "z": "778ff71f.21c948", + "wires": [ + [] + ] + }, + { + "id": "4499058e.f4c35c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 121, + "y": 305, + "z": "778ff71f.21c948", + "wires": [ + [ + "42dffa26.a86494", + "4f39d57e.ecab2c", + "4e33f9e8.999d18", + "73cdcbde.870b64", + "db58a7cd.71bd78", + "62562bdc.8b71e4", + "4e5b3350.571f7c" + ] + ] + }, + { + "id": "1f803634.6e151a", + "type": "returnSuccess", + "name": "return success", + "xml": "\n\n\n\n\n\n\n\n", + "comments": "", + "x": 231.99999618530273, + "y": 1232.0000381469727, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "b6def1db.d900e", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 101, + "y": 37, + "z": "778ff71f.21c948", + "wires": [ + [ + "9236469b.e33218" + ] + ] + }, + { + "id": "4f39d57e.ecab2c", + "type": "for", + "name": "for 0..properties_length", + "xml": "", + "comments": "", + "outputs": 1, + "x": 535, + "y": 157, + "z": "778ff71f.21c948", + "wires": [ + [ + "49ad936d.7f52ec" + ] + ] + }, + { + "id": "49ad936d.7f52ec", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 744, + "y": 120, + "z": "778ff71f.21c948", + "wires": [ + [] + ] + }, + { + "id": "2f3b7d7.b79a582", + "type": "execute", + "name": "execute TemplateNode", + "xml": "\n \n \n \n", + "comments": "", + "outputs": 1, + "x": 1221.0000381469727, + "y": 148, + "z": "778ff71f.21c948", + "wires": [ + [ + "c3edaac2.76c898", + "a000a8ec.f02a08" + ] + ] + }, + { + "id": "c3edaac2.76c898", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1546.0000381469727, + "y": 88, + "z": "778ff71f.21c948", + "wires": [ + [ + "c4887e0b.677ec" + ] + ] + }, + { + "id": "c4887e0b.677ec", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1737.0000381469727, + "y": 86, + "z": "778ff71f.21c948", + "wires": [ + [ + "59d852be.21338c" + ] + ] + }, + { + "id": "59d852be.21338c", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1916.0000381469727, + "y": 86, + "z": "778ff71f.21c948", + "wires": [ + [] + ] + }, + { + "id": "9b6aac0c.da315", + "type": "execute", + "name": "remove new lines", + "xml": "\n \n \n \n \n", + "comments": "", + "outputs": 1, + "x": 1167.5000534057617, + "y": 356.00000619888306, + "z": "778ff71f.21c948", + "wires": [ + [ + "1409ce40.d198e2", + "fcccb2fe.5b568" + ] + ] + }, + { + "id": "cfa3b21a.52b7f", + "type": "execute", + "name": "remove tabs", + "xml": "\n \n \n \n ", + "comments": "", + "outputs": 1, + "x": 1087.0000534057617, + "y": 540.9999980926514, + "z": "778ff71f.21c948", + "wires": [ + [ + "9936f19c.6654c", + "f7c3147.26a20e8" + ] + ] + }, + { + "id": "9936f19c.6654c", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1258.5000534057617, + "y": 553.9999980926514, + "z": "778ff71f.21c948", + "wires": [ + [ + "9a0a6599.a41078" + ] + ] + }, + { + "id": "9a0a6599.a41078", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1435.5000534057617, + "y": 558.9999980926514, + "z": "778ff71f.21c948", + "wires": [ + [ + "91f17f26.09e3b" + ] + ] + }, + { + "id": "91f17f26.09e3b", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1589.5000076293945, + "y": 544.0000076293945, + "z": "778ff71f.21c948", + "wires": [ + [] + ] + }, + { + "id": "1409ce40.d198e2", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1324.0001602172852, + "y": 272.00000953674316, + "z": "778ff71f.21c948", + "wires": [ + [ + "15aa0921.904b77" + ] + ] + }, + { + "id": "15aa0921.904b77", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1459.0003128051758, + "y": 342.0000419616699, + "z": "778ff71f.21c948", + "wires": [ + [ + "c3e2df84.be4db" + ] + ] + }, + { + "id": "c3e2df84.be4db", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 1531.0002517700195, + "y": 261.00000381469727, + "z": "778ff71f.21c948", + "wires": [ + [] + ] + }, + { + "id": "a000a8ec.f02a08", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1528.0000381469727, + "y": 190, + "z": "778ff71f.21c948", + "wires": [ + [ + "1a33b2f4.89b4cd" + ] + ] + }, + { + "id": "1a33b2f4.89b4cd", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1706.9999160766602, + "y": 197, + "z": "778ff71f.21c948", + "wires": [ + [ + "99d35048.265b3", + "2fa6b57e.29105a", + "5f556c15.ff9d34" + ] + ] + }, + { + "id": "99d35048.265b3", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1705.9996719360352, + "y": 292.00000762939453, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "fcccb2fe.5b568", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1334.000129699707, + "y": 432.0000444948673, + "z": "778ff71f.21c948", + "wires": [ + [ + "bde42de.77475d" + ] + ] + }, + { + "id": "bde42de.77475d", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1486.9999771118164, + "y": 408.00003719329834, + "z": "778ff71f.21c948", + "wires": [ + [ + "a7b92aa1.af88e8", + "47758778.282278", + "5f556c15.ff9d34" + ] + ] + }, + { + "id": "a7b92aa1.af88e8", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1527.9996719360352, + "y": 494.00003242492676, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "f7c3147.26a20e8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1263.0000534057617, + "y": 622.9999980926514, + "z": "778ff71f.21c948", + "wires": [ + [ + "a84e0601.6e44f8" + ] + ] + }, + { + "id": "a84e0601.6e44f8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1438.999885559082, + "y": 640.9999923706055, + "z": "778ff71f.21c948", + "wires": [ + [ + "6ec35f94.73b36", + "aefc7d8c.affb7", + "5f556c15.ff9d34" + ] + ] + }, + { + "id": "6ec35f94.73b36", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1442.999641418457, + "y": 742.0000476837158, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "d303102b.4952b", + "type": "block", + "name": "A1 Mediator Payload Generation", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 897.0000152587891, + "y": 271.9999952316284, + "z": "778ff71f.21c948", + "wires": [ + [ + "2f3b7d7.b79a582", + "9b6aac0c.da315", + "cfa3b21a.52b7f" + ] + ] + }, + { + "id": "4e33f9e8.999d18", + "type": "execute", + "name": "execute Properties", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 526, + "y": 110, + "z": "778ff71f.21c948", + "wires": [ + [] + ] + }, + { + "id": "73cdcbde.870b64", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 491, + "y": 203, + "z": "778ff71f.21c948", + "wires": [ + [] + ] + }, + { + "id": "db58a7cd.71bd78", + "type": "switchNode", + "name": "A1 Mediator Deployed", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 359, + "y": 317, + "z": "778ff71f.21c948", + "wires": [ + [ + "bab09024.90a", + "2146fa82.3cb466" + ] + ] + }, + { + "id": "bab09024.90a", + "type": "outcome", + "name": "Not Deployed", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 286.99999809265137, + "y": 896.0001878738403, + "z": "778ff71f.21c948", + "wires": [ + [ + "2177b708.4ad0a8" + ] + ] + }, + { + "id": "2146fa82.3cb466", + "type": "outcome", + "name": "Deployed", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 542, + "y": 253.00006103515625, + "z": "778ff71f.21c948", + "wires": [ + [ + "627cb5ca.b4b61c" + ] + ] + }, + { + "id": "627cb5ca.b4b61c", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 607, + "y": 327, + "z": "778ff71f.21c948", + "wires": [ + [ + "d303102b.4952b", + "7ef43213.fd1b9c" + ] + ] + }, + { + "id": "a4ba83eb.986d9", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 491.9997615814209, + "y": 1043.0000467300415, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "47269c5f.7a43c4", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1026.0000915527344, + "y": 809.000039100647, + "z": "778ff71f.21c948", + "wires": [ + [ + "ac7bcc09.16f6" + ] + ] + }, + { + "id": "facedb43.cc1068", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1032.0002746582031, + "y": 894.0000238418579, + "z": "778ff71f.21c948", + "wires": [ + [ + "149c17e5.9ed988" + ] + ] + }, + { + "id": "149c17e5.9ed988", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1174.9999084472656, + "y": 874.000039100647, + "z": "778ff71f.21c948", + "wires": [ + [ + "b8e1ec8.114761" + ] + ] + }, + { + "id": "ef7f2ae9.007da8", + "type": "set", + "name": "set tmp variables for input RPC parms", + "xml": "\n\n\n", + "comments": "", + "x": 824.0010070800781, + "y": 601.8891229629517, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "c27de345.6a706", + "type": "execute", + "name": "Create A1 Policy Instance", + "xml": "\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 810.0004577636719, + "y": 853.0103998184204, + "z": "778ff71f.21c948", + "wires": [ + [ + "47269c5f.7a43c4", + "facedb43.cc1068" + ] + ] + }, + { + "id": "b537ed30.b52c6", + "type": "execute", + "name": "generate A1 Mediator URL 1", + "xml": "\n \n \n \n ", + "comments": "", + "outputs": 1, + "x": 805.0001525878906, + "y": 659.0105218887329, + "z": "778ff71f.21c948", + "wires": [ + [] + ] + }, + { + "id": "7ef43213.fd1b9c", + "type": "block", + "name": "A1 Mediator RestAPI Invocation", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 498.00002670288086, + "y": 753.0000476837158, + "z": "778ff71f.21c948", + "wires": [ + [ + "a3943e2e.44bd3", + "ef7f2ae9.007da8", + "b537ed30.b52c6", + "cb947e00.e3f53", + "c27de345.6a706" + ] + ] + }, + { + "id": "cb947e00.e3f53", + "type": "execute", + "name": "generate A1 Mediator URL 2", + "xml": "\n \n \n \n ", + "comments": "", + "outputs": 1, + "x": 819.0000305175781, + "y": 699.0000238418579, + "z": "778ff71f.21c948", + "wires": [ + [] + ] + }, + { + "id": "a3943e2e.44bd3", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 763.0000305175781, + "y": 796.0000238418579, + "z": "778ff71f.21c948", + "wires": [ + [] + ] + }, + { + "id": "b8e1ec8.114761", + "type": "record", + "name": "record", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 1344.0000305175781, + "y": 875.000039100647, + "z": "778ff71f.21c948", + "wires": [ + [] + ] + }, + { + "id": "ac7bcc09.16f6", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 1211.0000305175781, + "y": 796.0000238418579, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "703f6dc7.f6caf4", + "type": "set", + "name": "set A1Mediator payload manually", + "xml": "\n", + "comments": "", + "x": 841.0000305175781, + "y": 747.0000238418579, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "62562bdc.8b71e4", + "type": "set", + "name": "set default status value", + "xml": "\n\n", + "comments": "", + "x": 537, + "y": 69, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "5f556c15.ff9d34", + "type": "block", + "name": "DMAAP Reponse Publish", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 2103.7540016174316, + "y": 1027.003918170929, + "z": "778ff71f.21c948", + "wires": [ + [ + "ffd3de0b.e57d8", + "a5746792.21f028", + "426e2627.47e6e8" + ] + ] + }, + { + "id": "a5746792.21f028", + "type": "execute", + "name": "execute DmaapMsg", + "xml": "\n \n \n \n \n \n ", + "comments": "", + "outputs": 1, + "x": 2405.7541694641113, + "y": 994.0032835006714, + "z": "778ff71f.21c948", + "wires": [ + [ + "7cd8c84d.81e0a8", + "5ffd4dba.8c3774" + ] + ] + }, + { + "id": "ffd3de0b.e57d8", + "type": "set", + "name": "set", + "xml": "\n\n\n\n", + "comments": "", + "x": 2386.4209175109863, + "y": 708.0038166046143, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "7cd8c84d.81e0a8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2640.2541122436523, + "y": 904.9206104278564, + "z": "778ff71f.21c948", + "wires": [ + [ + "ab106710.c0d658" + ] + ] + }, + { + "id": "5ffd4dba.8c3774", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 2644.2540321350098, + "y": 1043.9204530715942, + "z": "778ff71f.21c948", + "wires": [ + [ + "f35b2f30.6d906" + ] + ] + }, + { + "id": "ab106710.c0d658", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2800.2539463043213, + "y": 906.9206113815308, + "z": "778ff71f.21c948", + "wires": [ + [ + "c07b0869.6c3628" + ] + ] + }, + { + "id": "c07b0869.6c3628", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\n\n", + "comments": "", + "x": 2986.2539825439453, + "y": 899.9208135604858, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "f35b2f30.6d906", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 2827.2536754608154, + "y": 1036.9205617904663, + "z": "778ff71f.21c948", + "wires": [ + [ + "a2700b22.fdfb98" + ] + ] + }, + { + "id": "a2700b22.fdfb98", + "type": "record", + "name": "record", + "xml": "\n\n\n", + "comments": "", + "outputs": 1, + "x": 3015.253875732422, + "y": 1025.92085647583, + "z": "778ff71f.21c948", + "wires": [ + [] + ] + }, + { + "id": "426e2627.47e6e8", + "type": "record", + "name": "record", + "xml": "\n\n\n\n\n\n\n\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 2413.2540168762207, + "y": 861.458818435669, + "z": "778ff71f.21c948", + "wires": [ + [] + ] + }, + { + "id": "2177b708.4ad0a8", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 365.9999828338623, + "y": 972.0001077651978, + "z": "778ff71f.21c948", + "wires": [ + [ + "a4ba83eb.986d9", + "d3648067.22567", + "5f556c15.ff9d34" + ] + ] + }, + { + "id": "d3648067.22567", + "type": "set", + "name": "set", + "xml": "\n\n\n", + "comments": "", + "x": 477.00389671325684, + "y": 834.5039262771606, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "2fa6b57e.29105a", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 1899.0039443969727, + "y": 166.00390911102295, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "47758778.282278", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 1668.5038223266602, + "y": 364.0039048194885, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "aefc7d8c.affb7", + "type": "set", + "name": "set", + "xml": "\n\n", + "comments": "", + "x": 1613.5036697387695, + "y": 611.0039205551147, + "z": "778ff71f.21c948", + "wires": [] + }, + { + "id": "4e5b3350.571f7c", + "type": "block", + "name": "block", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 131.00390243530273, + "y": 1138.004020690918, + "z": "778ff71f.21c948", + "wires": [ + [ + "1f803634.6e151a", + "5f556c15.ff9d34" + ] + ] + } +] \ No newline at end of file