From ce1eaa8d847a19c131317c06e89c518d317c243a Mon Sep 17 00:00:00 2001 From: Alexis de Talhouët Date: Fri, 16 Nov 2018 12:20:20 -0500 Subject: Self serve fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I21cf12d27d9750ce81bc0f4a02949e0d1962b7a3 Issue-ID: CCSDK-728 Signed-off-by: Alexis de Talhouët Former-commit-id: 129c2e6723e5f097d51e847d561b97ac7479dbbf --- ...RCE-API_self-serve-vf-module-forking-logic.json | 458 ++++++++++++++++++++- 1 file changed, 457 insertions(+), 1 deletion(-) (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-forking-logic.json') diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-forking-logic.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-forking-logic.json index ec9841e1..df489bd7 100644 --- a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-forking-logic.json +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-vf-module-forking-logic.json @@ -1 +1,457 @@ -[{"id":"e165f010.244d3","type":"dgstart","name":"DGSTART","outputs":1,"x":130,"y":62.85714340209961,"z":"e620a365.4a257","wires":[["4deb4c65.576eb4"]]},{"id":"4deb4c65.576eb4","type":"service-logic","name":"GENERIC-RESOURCE-API ${project.version}","module":"GENERIC-RESOURCE-API","version":"${project.version}","comments":"","xml":"","outputs":1,"x":244.28570556640625,"y":103.09525489807129,"z":"e620a365.4a257","wires":[["aa880087.e2472"]]},{"id":"aa880087.e2472","type":"method","name":"method self-serve-vf-module-forking-logic","xml":"\n","comments":"","outputs":1,"x":267.85719299316406,"y":151.42857551574707,"z":"e620a365.4a257","wires":[["d3462033.237df"]]},{"id":"c11380d2.2767f","type":"switchNode","name":"switch: param[].name","xml":"\n","comments":"","outputs":1,"x":787.5833282470703,"y":408,"z":"e620a365.4a257","wires":[["b8195917.3db608","df581beb.247948"]]},{"id":"86ff4916.e930e8","type":"for","name":"for p in vf-module-input-parameters.param[]","xml":"\n","comments":"","outputs":1,"x":493.6904754638672,"y":408.50003242492676,"z":"e620a365.4a257","wires":[["c11380d2.2767f"]]},{"id":"c8a0fdfa.fd72b","type":"set","name":"set tmp.exist.vf_module_label = true","xml":"\n","comments":"","x":1329.4762573242188,"y":456.85717010498047,"z":"e620a365.4a257","wires":[]},{"id":"b371231d.f6d19","type":"set","name":"set tmp.exist.sdnc-model-name = true","xml":"\n\n","comments":"","x":1332.1903648376465,"y":407.85718536376953,"z":"e620a365.4a257","wires":[]},{"id":"d3462033.237df","type":"block","name":"block : atomic","xml":"","atomic":"true","outputs":1,"x":173,"y":302.809513092041,"z":"e620a365.4a257","wires":[["86ff4916.e930e8","72d0f5dc.50ef7c","75ac533a.ce71cc","db5f2cda.e500e"]]},{"id":"b8195917.3db608","type":"outcome","name":"sdnc_model_name","xml":"\n","comments":"","outputs":1,"x":1043.7619040352956,"y":407.9047944205147,"z":"e620a365.4a257","wires":[["b371231d.f6d19"]]},{"id":"df581beb.247948","type":"outcome","name":"vf_module_label","xml":"\n","comments":"","outputs":1,"x":1046.619026184082,"y":457.33336639404297,"z":"e620a365.4a257","wires":[["c8a0fdfa.fd72b"]]},{"id":"8b2508c1.bc86a8","type":"get-resource","name":"get VF_MODEL.sdnc_model_name","xml":"\n\n","comments":"","outputs":1,"x":1199.8572235107422,"y":689.1187467575073,"z":"e620a365.4a257","wires":[["af18ec02.f7299","8e3154c6.67b2b8","4cedd1e8.5cfed"]]},{"id":"af18ec02.f7299","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":1450.2143478393555,"y":599.4996871948242,"z":"e620a365.4a257","wires":[["52ada15a.6e3a4"]]},{"id":"8e3154c6.67b2b8","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":1455.928596496582,"y":786.642599105835,"z":"e620a365.4a257","wires":[["8672ba0c.2720a8"]]},{"id":"52ada15a.6e3a4","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":1631.2143287658691,"y":599.6425943374634,"z":"e620a365.4a257","wires":[]},{"id":"4d4baf34.251d7","type":"outcomeFalse","name":"false","xml":"\n","comments":"","outputs":1,"x":951.7026138305664,"y":689.3090238571167,"z":"e620a365.4a257","wires":[["8b2508c1.bc86a8"]]},{"id":"db5f2cda.e500e","type":"switchNode","name":"switch: tmp.exist.sdnc-model-name && tmp.exist.vf_module_label == true","xml":"\n","comments":"","outputs":1,"x":582.0594329833984,"y":602.571252822876,"z":"e620a365.4a257","wires":[["4d4baf34.251d7","aa171664.89cd08"]]},{"id":"aa171664.89cd08","type":"outcomeTrue","name":"true","xml":"\n","comments":"","outputs":1,"x":954.6668395996094,"y":522.9283447265625,"z":"e620a365.4a257","wires":[["c7aef73a.253c28"]]},{"id":"fbd180e.095ed8","type":"get-resource","name":"get VF_MODULE_MODEL.vf-module-label","xml":"\n\n","comments":"","outputs":1,"x":1728.0953903198242,"y":689.3570070266724,"z":"e620a365.4a257","wires":[["e361309f.659c5","49207b1f.4607b4","c961fc85.cf2a1"]]},{"id":"e361309f.659c5","type":"failure","name":"failure","xml":"\n","comments":"","outputs":1,"x":2003.4526138305664,"y":689.4521379470825,"z":"e620a365.4a257","wires":[["5894d7f0.070508"]]},{"id":"49207b1f.4607b4","type":"not-found","name":"not-found","xml":"\n","comments":"","outputs":1,"x":2014.0239715576172,"y":737.1664037704468,"z":"e620a365.4a257","wires":[["3bf1408b.9009b"]]},{"id":"5894d7f0.070508","type":"returnFailure","name":"return failure","xml":"\n\t\n\t\n \n","comments":"","x":2177.5951232910156,"y":690.0235834121704,"z":"e620a365.4a257","wires":[]},{"id":"c961fc85.cf2a1","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":2007.809684753418,"y":640.3570623397827,"z":"e620a365.4a257","wires":[["67e5bedb.4b89e"]]},{"id":"4cedd1e8.5cfed","type":"success","name":"success","xml":"\n","comments":"","outputs":1,"x":1453.8691101074219,"y":689.1188116073608,"z":"e620a365.4a257","wires":[["fbd180e.095ed8"]]},{"id":"72d0f5dc.50ef7c","type":"set","name":"initialize tmp.exist.sdnc-model-name && tmp.exist.vf_module_label = false","xml":"\n\n\n","comments":"","x":585.5833053588867,"y":303.08317470550537,"z":"e620a365.4a257","wires":[]},{"id":"75ac533a.ce71cc","type":"switchNode","name":"switch: vf-module-input-parameters.param_length","xml":"\n","comments":"","outputs":1,"x":513.4404830932617,"y":351.559458732605,"z":"e620a365.4a257","wires":[["5f717077.c3f3c"]]},{"id":"5f717077.c3f3c","type":"other","name":"NULL","xml":"\n","comments":"","outputs":1,"x":777.0119018554688,"y":351.8451986312866,"z":"e620a365.4a257","wires":[["ddeb321c.3bad4"]]},{"id":"ddeb321c.3bad4","type":"set","name":"set vf-module-input-parameters.param_length = 0","xml":"\n\n","comments":"","x":1050.7261428833008,"y":351.70236015319824,"z":"e620a365.4a257","wires":[]},{"id":"3bf1408b.9009b","type":"set","name":"set ss.self-serve-flag = false","xml":"\n\n","comments":"","x":2229.999801635742,"y":737.1428709030151,"z":"e620a365.4a257","wires":[]},{"id":"c7aef73a.253c28","type":"set","name":"set ss.self-serve-flag = true","xml":"\n\n","comments":"","x":1166.0001373291016,"y":522.428596496582,"z":"e620a365.4a257","wires":[]},{"id":"8672ba0c.2720a8","type":"set","name":"set ss.self-serve-flag = false","xml":"\n\n","comments":"","x":1682.857192993164,"y":786.1428442001343,"z":"e620a365.4a257","wires":[]},{"id":"67e5bedb.4b89e","type":"set","name":"set ss.self-serve-flag = true","xml":"\n\n","comments":"","x":2218.571548461914,"y":640.1428442001343,"z":"e620a365.4a257","wires":[]}] \ No newline at end of file +[ + { + "id": "8aa8ea11.740be", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 100, + "y": 50, + "z": "8316db2b.abe9a", + "wires": [ + [ + "69365dae.668034" + ] + ] + }, + { + "id": "69365dae.668034", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 214.28570556640625, + "y": 90.23811149597168, + "z": "8316db2b.abe9a", + "wires": [ + [ + "f7dcbe91.e46188" + ] + ] + }, + { + "id": "f7dcbe91.e46188", + "type": "method", + "name": "method self-serve-vf-module-forking-logic", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 237.85719299316406, + "y": 138.57143211364746, + "z": "8316db2b.abe9a", + "wires": [ + [ + "8ac3a01b.fa2a38" + ] + ] + }, + { + "id": "66ba1bad.63f02c", + "type": "switchNode", + "name": "switch: param[].name", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 757.5833282470703, + "y": 395.1428565979004, + "z": "8316db2b.abe9a", + "wires": [ + [ + "f1b12470.776ec8", + "540a60cc.25f5f8" + ] + ] + }, + { + "id": "e59ddfff.f29228", + "type": "for", + "name": "for p in vf-module-input-parameters.param[]", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 463.6904754638672, + "y": 395.64288902282715, + "z": "8316db2b.abe9a", + "wires": [ + [ + "66ba1bad.63f02c" + ] + ] + }, + { + "id": "736b235f.f41374", + "type": "set", + "name": "set tmp.exist.vf_module_label = true", + "xml": "\n", + "comments": "", + "x": 1299.4762573242188, + "y": 444.00002670288086, + "z": "8316db2b.abe9a", + "wires": [] + }, + { + "id": "8f743c14.96209", + "type": "set", + "name": "set tmp.exist.sdnc-model-name = true", + "xml": "\n\n", + "comments": "", + "x": 1302.1903648376465, + "y": 395.0000419616699, + "z": "8316db2b.abe9a", + "wires": [] + }, + { + "id": "8ac3a01b.fa2a38", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "outputs": 1, + "x": 143, + "y": 289.9523696899414, + "z": "8316db2b.abe9a", + "wires": [ + [ + "e59ddfff.f29228", + "968d6f83.1e8cb8", + "87abb41.4b21fc8", + "71f24135.a396b8" + ] + ] + }, + { + "id": "f1b12470.776ec8", + "type": "outcome", + "name": "sdnc_model_name", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1013.7619040352956, + "y": 395.0476510184151, + "z": "8316db2b.abe9a", + "wires": [ + [ + "8f743c14.96209" + ] + ] + }, + { + "id": "540a60cc.25f5f8", + "type": "outcome", + "name": "vf_module_label", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1016.619026184082, + "y": 444.47622299194336, + "z": "8316db2b.abe9a", + "wires": [ + [ + "736b235f.f41374" + ] + ] + }, + { + "id": "18b84933.21068f", + "type": "get-resource", + "name": "get VF_MODEL.sdnc_model_name", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1169.8572235107422, + "y": 676.2616033554077, + "z": "8316db2b.abe9a", + "wires": [ + [ + "d95cfab.cfa8f08", + "91b70953.025358", + "e5e4f7b1.a891f" + ] + ] + }, + { + "id": "d95cfab.cfa8f08", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1420.2143478393555, + "y": 586.6425437927246, + "z": "8316db2b.abe9a", + "wires": [ + [ + "4d1797d1.55ba98" + ] + ] + }, + { + "id": "91b70953.025358", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1425.928596496582, + "y": 773.7854557037354, + "z": "8316db2b.abe9a", + "wires": [ + [ + "cdc75221.415348" + ] + ] + }, + { + "id": "4d1797d1.55ba98", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1601.2143287658691, + "y": 586.7854509353638, + "z": "8316db2b.abe9a", + "wires": [] + }, + { + "id": "da046f4e.feca88", + "type": "outcomeFalse", + "name": "false", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 921.7026138305664, + "y": 676.4518804550171, + "z": "8316db2b.abe9a", + "wires": [ + [ + "18b84933.21068f" + ] + ] + }, + { + "id": "71f24135.a396b8", + "type": "switchNode", + "name": "switch: tmp.exist.sdnc-model-name && tmp.exist.vf_module_label == true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 552.0594329833984, + "y": 589.7141094207764, + "z": "8316db2b.abe9a", + "wires": [ + [ + "da046f4e.feca88", + "af375362.061b2" + ] + ] + }, + { + "id": "af375362.061b2", + "type": "outcomeTrue", + "name": "true", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 924.6668395996094, + "y": 510.0712013244629, + "z": "8316db2b.abe9a", + "wires": [ + [ + "b5bbd060.67f058" + ] + ] + }, + { + "id": "c6dbcf48.080eb8", + "type": "get-resource", + "name": "get VF_MODULE_MODEL.vf-module-label", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1698.0953903198242, + "y": 676.4998636245728, + "z": "8316db2b.abe9a", + "wires": [ + [ + "89568209.e5f728", + "2dda5e9d.c9b972", + "cbe36505.a168d8" + ] + ] + }, + { + "id": "89568209.e5f728", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1973.4526138305664, + "y": 676.5949945449829, + "z": "8316db2b.abe9a", + "wires": [ + [ + "aa612980.7b237" + ] + ] + }, + { + "id": "2dda5e9d.c9b972", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1984.0239715576172, + "y": 724.3092603683472, + "z": "8316db2b.abe9a", + "wires": [ + [ + "2bea618b.553156" + ] + ] + }, + { + "id": "aa612980.7b237", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 2147.5951232910156, + "y": 677.1664400100708, + "z": "8316db2b.abe9a", + "wires": [] + }, + { + "id": "cbe36505.a168d8", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1977.809684753418, + "y": 627.4999189376831, + "z": "8316db2b.abe9a", + "wires": [ + [ + "69e505b7.70a894" + ] + ] + }, + { + "id": "e5e4f7b1.a891f", + "type": "success", + "name": "success", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1423.8691101074219, + "y": 676.2616682052612, + "z": "8316db2b.abe9a", + "wires": [ + [ + "c6dbcf48.080eb8" + ] + ] + }, + { + "id": "968d6f83.1e8cb8", + "type": "set", + "name": "initialize tmp.exist.sdnc-model-name && tmp.exist.vf_module_label = false", + "xml": "\n\n\n", + "comments": "", + "x": 555.5833053588867, + "y": 290.22603130340576, + "z": "8316db2b.abe9a", + "wires": [] + }, + { + "id": "87abb41.4b21fc8", + "type": "switchNode", + "name": "switch: vf-module-input-parameters.param_length", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 483.4404830932617, + "y": 338.70231533050537, + "z": "8316db2b.abe9a", + "wires": [ + [ + "afd3db14.e78eb" + ] + ] + }, + { + "id": "afd3db14.e78eb", + "type": "other", + "name": "NULL", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 747.0119018554688, + "y": 338.988055229187, + "z": "8316db2b.abe9a", + "wires": [ + [ + "460cb6a0.e01ee8" + ] + ] + }, + { + "id": "460cb6a0.e01ee8", + "type": "set", + "name": "set vf-module-input-parameters.param_length = 0", + "xml": "\n\n", + "comments": "", + "x": 1020.7261428833008, + "y": 338.84521675109863, + "z": "8316db2b.abe9a", + "wires": [] + }, + { + "id": "2bea618b.553156", + "type": "set", + "name": "set ss.self-serve-flag = false", + "xml": "\n\n", + "comments": "", + "x": 2199.999801635742, + "y": 724.2857275009155, + "z": "8316db2b.abe9a", + "wires": [] + }, + { + "id": "b5bbd060.67f058", + "type": "set", + "name": "set ss.self-serve-flag = true", + "xml": "\n\n", + "comments": "", + "x": 1143.5, + "y": 508.32147216796875, + "z": "8316db2b.abe9a", + "wires": [] + }, + { + "id": "cdc75221.415348", + "type": "set", + "name": "set ss.self-serve-flag = false", + "xml": "\n\n", + "comments": "", + "x": 1652.857192993164, + "y": 773.2857007980347, + "z": "8316db2b.abe9a", + "wires": [] + }, + { + "id": "69e505b7.70a894", + "type": "set", + "name": "set ss.self-serve-flag = true", + "xml": "\n\n", + "comments": "", + "x": 2196.07177734375, + "y": 624.7857666015625, + "z": "8316db2b.abe9a", + "wires": [] + } +] \ No newline at end of file -- cgit 1.2.3-korg