From 69f82ea41d1c21f15be97cc99babf5754fb5fe68 Mon Sep 17 00:00:00 2001 From: "Cheung, Pat" Date: Fri, 7 Sep 2018 20:56:24 +0000 Subject: self-serve DG for Casablanca Add new self-serve DG and update existing self-serve DG for Casablanca Change-Id: Ib4c3ccf3ce2acc986df8c1a1d3374048e9ec73a1 Issue-ID: SDNC-437 Signed-off-by: Cheung, Pat Former-commit-id: a132f1f5d11eff79a10dd0040db351e209c197d1 --- ...-API_self-serve-generate-name-changeassign.json | 919 +++++++++++++++++++++ 1 file changed, 919 insertions(+) create mode 100644 platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json (limited to 'platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json') diff --git a/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json new file mode 100644 index 00000000..dfb78775 --- /dev/null +++ b/platform-logic/generic-resource-api/src/main/json/GENERIC-RESOURCE-API_self-serve-generate-name-changeassign.json @@ -0,0 +1,919 @@ +[ + { + "id": "72ace04a.7be558", + "type": "dgstart", + "name": "DGSTART", + "outputs": 1, + "x": 103.75, + "y": 43.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "4683e336.13fbec" + ] + ] + }, + { + "id": "4683e336.13fbec", + "type": "service-logic", + "name": "GENERIC-RESOURCE-API ${project.version}", + "module": "GENERIC-RESOURCE-API", + "version": "${project.version}", + "comments": "", + "xml": "", + "outputs": 1, + "x": 379.75, + "y": 44.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "1e499485.148aab" + ] + ] + }, + { + "id": "1e499485.148aab", + "type": "method", + "name": "self-serve-generate-name-changeassign", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 775.75, + "y": 43.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "fce9c766.afb09" + ] + ] + }, + { + "id": "fce9c766.afb09", + "type": "block", + "name": "block atomic", + "xml": "\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 122.25, + "y": 126.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "96c99a94.2dd13", + "d2f322ed.7ab698", + "a1151215.a41af8" + ] + ] + }, + { + "id": "a1151215.a41af8", + "type": "switchNode", + "name": "switch", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 367.75, + "y": 457.86114501953125, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "2d8e8b63.2be73c", + "8641945a.85d85", + "87d6f1d6.fde57", + "b49433f5.4f0a18" + ] + ] + }, + { + "id": "2d8e8b63.2be73c", + "type": "outcome", + "name": "vnf", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 552.75, + "y": 521.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "8257892.ab90ef8" + ] + ] + }, + { + "id": "8641945a.85d85", + "type": "outcome", + "name": "vf-module", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 570.1944580078125, + "y": 1370.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "3b7a5a5b.0869d6" + ] + ] + }, + { + "id": "87d6f1d6.fde57", + "type": "outcome", + "name": "other", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 540.861083984375, + "y": 2097.3056030273438, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "440694ff.4f3a6c" + ] + ] + }, + { + "id": "b49433f5.4f0a18", + "type": "outcome", + "name": "null", + "xml": "", + "comments": "", + "outputs": 1, + "x": 543.861083984375, + "y": 2167.3056030273438, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "440694ff.4f3a6c" + ] + ] + }, + { + "id": "440694ff.4f3a6c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 728.861083984375, + "y": 2127.3056030273438, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "96c99a94.2dd13", + "type": "switchNode", + "name": "switch", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 364.75, + "y": 169.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "a6eb425f.b8bdd" + ] + ] + }, + { + "id": "d2f322ed.7ab698", + "type": "switchNode", + "name": "switch", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 366.75, + "y": 242.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "4bd1595c.013718" + ] + ] + }, + { + "id": "a6eb425f.b8bdd", + "type": "outcome", + "name": "null", + "xml": "", + "comments": "", + "outputs": 1, + "x": 527.75, + "y": 168.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "150b73ba.cd1f84" + ] + ] + }, + { + "id": "4bd1595c.013718", + "type": "outcome", + "name": "null", + "xml": "", + "comments": "", + "outputs": 1, + "x": 530.75, + "y": 241.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "2339ed70.e452d2" + ] + ] + }, + { + "id": "150b73ba.cd1f84", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 716.75, + "y": 168.75, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "2339ed70.e452d2", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 717.75, + "y": 241.75, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "fa65e5dc.08b3d8", + "type": "execute", + "name": "execute NameGenerationNode-changeassign", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 841.75, + "y": 836.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "2e29dd23.0f7632", + "268c5fb8.e45f3" + ] + ] + }, + { + "id": "2e29dd23.0f7632", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1082.75, + "y": 791.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "a64477a3.5d098" + ] + ] + }, + { + "id": "268c5fb8.e45f3", + "type": "failure", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1087.75, + "y": 889.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "a64477a3.5d098" + ] + ] + }, + { + "id": "a64477a3.5d098", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1239.75, + "y": 833.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "735acfc0.69263", + "9f441bcd.48c91" + ] + ] + }, + { + "id": "735acfc0.69263", + "type": "set", + "name": "set status as FAILED", + "xml": "\n", + "comments": "", + "x": 1440.75, + "y": 781.75, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "9f441bcd.48c91", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1426.75, + "y": 890.75, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "8257892.ab90ef8", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 720.75, + "y": 521.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "53e3c0e3.64d5d8", + "50624aa7.268ebc", + "1f68cda.b8d8b32", + "fa65e5dc.08b3d8", + "8643313e.d4e4a8", + "5380e841.bea77" + ] + ] + }, + { + "id": "53e3c0e3.64d5d8", + "type": "for", + "name": "for service-data.vnf-parameters-data.param index i", + "xml": "", + "comments": "", + "outputs": 1, + "x": 888.75, + "y": 584.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "67ae549.369122c" + ] + ] + }, + { + "id": "67ae549.369122c", + "type": "switchNode", + "name": "switch", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1044.75, + "y": 646.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "408a6d52.bca67c" + ] + ] + }, + { + "id": "408a6d52.bca67c", + "type": "outcome", + "name": "external-key", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1230.75, + "y": 646.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "9801ba33.1a3de" + ] + ] + }, + { + "id": "9801ba33.1a3de", + "type": "set", + "name": "set tmp.external-key.value", + "xml": "\n\n", + "comments": "", + "x": 1462.75, + "y": 646.75, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "1f68cda.b8d8b32", + "type": "set", + "name": "set payload data", + "xml": "\n", + "comments": "", + "x": 777.75, + "y": 770.75, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "50624aa7.268ebc", + "type": "switchNode", + "name": "switch", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 748.75, + "y": 713.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "c1a7e7c7.bb67c" + ] + ] + }, + { + "id": "c1a7e7c7.bb67c", + "type": "outcome", + "name": "null", + "xml": "", + "comments": "", + "outputs": 1, + "x": 901.75, + "y": 712.75, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "17d289d6.1a9e5e" + ] + ] + }, + { + "id": "17d289d6.1a9e5e", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1062.75, + "y": 712.75, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "420ba6ad.26a838", + "type": "execute", + "name": "execute NameGenerationNode-changeassign", + "xml": "\n \n \n", + "comments": "", + "outputs": 1, + "x": 900.1944580078125, + "y": 1686.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "40004b3f.e2bedc", + "a93541ba.8e68b8" + ] + ] + }, + { + "id": "40004b3f.e2bedc", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1137.1944580078125, + "y": 1640.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "89d30d0a.86861" + ] + ] + }, + { + "id": "a93541ba.8e68b8", + "type": "failure", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1143.1944580078125, + "y": 1740.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "89d30d0a.86861" + ] + ] + }, + { + "id": "89d30d0a.86861", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1290.1944580078125, + "y": 1682.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "fc409ea5.e85ae", + "e3c25f44.0cb21" + ] + ] + }, + { + "id": "fc409ea5.e85ae", + "type": "set", + "name": "set status as FAILED", + "xml": "\n", + "comments": "", + "x": 1499.1944580078125, + "y": 1631.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "e3c25f44.0cb21", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1485.1944580078125, + "y": 1740.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "3b7a5a5b.0869d6", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 779.1944580078125, + "y": 1371.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "2cccc824.ad2a78", + "231cd5d7.8b6a1a", + "2c11cde8.d352fa", + "420ba6ad.26a838", + "828d5f62.22b218", + "bd0adc9e.3de71" + ] + ] + }, + { + "id": "2cccc824.ad2a78", + "type": "for", + "name": "for service-data.vnf-parameters-data.param index i", + "xml": "", + "comments": "", + "outputs": 1, + "x": 947.1944580078125, + "y": 1434.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "5e430810.e35d5" + ] + ] + }, + { + "id": "5e430810.e35d5", + "type": "switchNode", + "name": "switch", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 1101.1944580078125, + "y": 1496.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "1cd2631e.5000ad" + ] + ] + }, + { + "id": "1cd2631e.5000ad", + "type": "outcome", + "name": "external-key", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 1287.1944580078125, + "y": 1496.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "b5e021a4.2b14" + ] + ] + }, + { + "id": "b5e021a4.2b14", + "type": "set", + "name": "set tmp.external-key.value", + "xml": "\n\n", + "comments": "", + "x": 1519.1944580078125, + "y": 1496.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "2c11cde8.d352fa", + "type": "set", + "name": "set payload data", + "xml": "\n", + "comments": "", + "x": 836.1944580078125, + "y": 1620.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "231cd5d7.8b6a1a", + "type": "switchNode", + "name": "switch", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 807.1944580078125, + "y": 1563.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "c92f1042.b4f728" + ] + ] + }, + { + "id": "c92f1042.b4f728", + "type": "outcome", + "name": "null", + "xml": "", + "comments": "", + "outputs": 1, + "x": 960.1944580078125, + "y": 1562.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "928dfda3.a334e" + ] + ] + }, + { + "id": "928dfda3.a334e", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1121.1944580078125, + "y": 1562.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "e9758b29.f137c8", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 893.7499389648438, + "y": 956.6388549804688, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "866c1fb3.eb77a" + ] + ] + }, + { + "id": "866c1fb3.eb77a", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1059.3056640625, + "y": 1001.1944427490234, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "e7f01e3.2acaae", + "712546c8.9b5af" + ] + ] + }, + { + "id": "e7f01e3.2acaae", + "type": "set", + "name": "set status as FAILED", + "xml": "\n\t", + "comments": "", + "x": 1268.75, + "y": 956.75, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "712546c8.9b5af", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1256.75, + "y": 1044.75, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "5380e841.bea77", + "type": "set", + "name": "set success", + "xml": "\n\t \n\t ", + "comments": "", + "x": 690.8611450195312, + "y": 1085.6388549804688, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "c57b7486.a57b1", + "type": "failure", + "name": "failure", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 961.861083984375, + "y": 1811.8609008789062, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "4fc9b736.8d6e3" + ] + ] + }, + { + "id": "4fc9b736.8d6e3", + "type": "block", + "name": "block : atomic", + "xml": "", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1125.1944580078125, + "y": 1847.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "c4cb3411.ce3c08", + "5be64b3b.d3de2c" + ] + ] + }, + { + "id": "c4cb3411.ce3c08", + "type": "set", + "name": "set status as FAILED", + "xml": "\n\t", + "comments": "", + "x": 1340.1944580078125, + "y": 1807.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "5be64b3b.d3de2c", + "type": "returnFailure", + "name": "return failure", + "xml": "\n\t\n\t\n \n", + "comments": "", + "x": 1328.1944580078125, + "y": 1895.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "bd0adc9e.3de71", + "type": "set", + "name": "set success", + "xml": "\n\t \n\t ", + "comments": "", + "x": 791.1944580078125, + "y": 1937.527587890625, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "3ab1de2e.107f4a", + "type": "comment", + "name": "For VNF genname changeassign", + "info": "", + "comments": "", + "x": 634.9722290039062, + "y": 457.9722595214844, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "acf466b0.cd99d", + "type": "comment", + "name": "For VF-MODULE genname changeassign", + "info": "", + "comments": "", + "x": 670.5277709960938, + "y": 1280.194580078125, + "z": "8e64cd0a.c97ea8", + "wires": [] + }, + { + "id": "8643313e.d4e4a8", + "type": "save", + "name": "update generic-vnf", + "xml": "\n\n\n\n\n\n", + "comments": "", + "outputs": 1, + "x": 714.97216796875, + "y": 997.9722900390625, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "e9758b29.f137c8", + "291e7999.8fd276" + ] + ] + }, + { + "id": "828d5f62.22b218", + "type": "save", + "name": "update vf-module", + "xml": "\n\n", + "comments": "", + "outputs": 1, + "x": 792.75, + "y": 1847.9722900390625, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "c57b7486.a57b1", + "5cf0712f.35945" + ] + ] + }, + { + "id": "5cf0712f.35945", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 959.4166870117188, + "y": 1897.9719848632812, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "4fc9b736.8d6e3" + ] + ] + }, + { + "id": "291e7999.8fd276", + "type": "not-found", + "name": "not-found", + "xml": "\n", + "comments": "", + "outputs": 1, + "x": 897.1945190429688, + "y": 1046.8611450195312, + "z": "8e64cd0a.c97ea8", + "wires": [ + [ + "866c1fb3.eb77a" + ] + ] + } +] \ No newline at end of file -- cgit 1.2.3-korg