summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph
diff options
context:
space:
mode:
authorshashikanth.vh@huawei.com <shashikanth.vh@huawei.com>2020-03-05 19:36:16 +0530
committerPatrick Brady <patrick.brady@att.com>2020-03-20 19:23:58 +0000
commitb01eb20fc1365d763cd545f1f2dd8480faece943 (patch)
tree4d0d22cf2aa457d4da9bb4d75bcb363b9fd3760f /appc-directed-graph
parentad5fadb29be48230145d2d155daf4dc72a5ce450 (diff)
Appc POC configscaleout usecase
Change-Id: Ifd010541ecbd1c01729f2c9566c4d2613df60cd0 Issue-ID: APPC-1850 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
Diffstat (limited to 'appc-directed-graph')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_POCProcessInputParams.json1416
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_POCScaleOut.json726
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_self-serve-resolve-parameters.json471
3 files changed, 2613 insertions, 0 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_POCProcessInputParams.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_POCProcessInputParams.json
new file mode 100644
index 000000000..d3ab4e3ba
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_POCProcessInputParams.json
@@ -0,0 +1,1416 @@
+[
+ {
+ "id": "cdd72b31.59e438",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"log\" />\n<parameter name=\"message\" value=\"SetInputData action complete\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 318,
+ "y": 1095.611102104187,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "4c302d32.6423d4"
+ ]
+ ]
+ },
+ {
+ "id": "4c302d32.6423d4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 570.7500114440918,
+ "y": 1098.5277490615845,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "fea8ccfe.a06b6"
+ ]
+ ]
+ },
+ {
+ "id": "fea8ccfe.a06b6",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 789.083309173584,
+ "y": 1099.02779006958,
+ "z": "193f4644.96800a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b54cae0f.f2e0b",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 162.38885116577148,
+ "y": 61.66666889190674,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "a226c5d3.e2df28"
+ ]
+ ]
+ },
+ {
+ "id": "a226c5d3.e2df28",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.0.0",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",
+ "outputs": 1,
+ "x": 326.26186752319336,
+ "y": 39.94444751739502,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "7f56bcd0.fa6264"
+ ]
+ ]
+ },
+ {
+ "id": "7f56bcd0.fa6264",
+ "type": "method",
+ "name": "method POCProcessInputParams",
+ "xml": "<method rpc='POCProcessInputParams' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 502.67060470581055,
+ "y": 31,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "7029375b.4218b8"
+ ]
+ ]
+ },
+ {
+ "id": "7029375b.4218b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 154.21426010131836,
+ "y": 119.39681243896484,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "cdd72b31.59e438",
+ "791d9ced.4b03e4",
+ "569f28a3.8be2c8",
+ "4b784d65.569f94",
+ "fb1e00d.faec9",
+ "efe90707.484728",
+ "588a18e3.b4a2b8",
+ "4e8f1c06.6e7e14",
+ "e0d6bac2.2d6988",
+ "9bcbfce3.360bd",
+ "81cc9ef5.21e1c",
+ "ba91d7fc.ad1ac8",
+ "9696294a.439908",
+ "3a3d3e66.c6b952",
+ "48dc61c2.73edb"
+ ]
+ ]
+ },
+ {
+ "id": "791d9ced.4b03e4",
+ "type": "set",
+ "name": "set params based on Dispatcher Input",
+ "xml": "<set>\n<parameter name='vnf-id' value='`$input.action-identifiers.vnf-id`' /> \n<parameter name='service-instance-id' value='`$input.action-identifiers.service-instance-id`' />\n<parameter name='vserver-id' value='`$input.action-identifiers.vserver-id`' />\n<parameter name='vf-module-id' value='`$input.action-identifiers.vf-module-id`' />\n<parameter name='vnfc-name' value='`$input.action-identifiers.vnfc-name`' />\n\n<parameter name='request-id' value='`$input.common-header.request-id`' />\n<parameter name='originator-id' value='`$input.common-header.originator-id`' /> \n\n<parameter name='payload' value='`$input.payload`' /> \n<parameter name='api-ver' value='`$input.api-ver`' /> \n<parameter name='request-action' value='`$input.action`' />\n",
+ "comments": "",
+ "x": 727.4443855285645,
+ "y": 72.08333015441895,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "fb1e00d.faec9",
+ "type": "execute",
+ "name": "execute Convert payload to DG Context ",
+ "xml": "<execute plugin=\"org.onap.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$input.payload`\" />\n<parameter name=\"isEscaped\" value=\"N\" />\n<parameter name=\"blockKeys\" value=\"configuration-parameters,configuration.configuration-string,configuration.configuration-json\" />\n<parameter name=\"responsePrefix\" value=\"tmp.convertnode\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 526.1666984558105,
+ "y": 188.49999809265137,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "d108094f.7795e8",
+ "e55ccc77.e537e"
+ ]
+ ]
+ },
+ {
+ "id": "d108094f.7795e8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 848.9722175598145,
+ "y": 161.58333778381348,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "4280c8ee.65aeb8"
+ ]
+ ]
+ },
+ {
+ "id": "e55ccc77.e537e",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 851.6666679382324,
+ "y": 207.9722194671631,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "cbd88ad8.3de2e8"
+ ]
+ ]
+ },
+ {
+ "id": "4280c8ee.65aeb8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1049.333324432373,
+ "y": 161.9444465637207,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "2697b760.78cc28"
+ ]
+ ]
+ },
+ {
+ "id": "cbd88ad8.3de2e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1043.583324432373,
+ "y": 209.94444751739502,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "4c9626dd.749558"
+ ]
+ ]
+ },
+ {
+ "id": "2697b760.78cc28",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.convertnode.error-message`\"/>\n\t\n\t",
+ "comments": "",
+ "x": 1234.0833282470703,
+ "y": 162.1944465637207,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "4c9626dd.749558",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to process input parameters\"/>\n\t",
+ "comments": "",
+ "x": 1236.8333282470703,
+ "y": 211.69444847106934,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "4b784d65.569f94",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"request\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 563.083309173584,
+ "y": 143.1944465637207,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "8901cd2a.444a4"
+ ]
+ ]
+ },
+ {
+ "id": "569f28a3.8be2c8",
+ "type": "set",
+ "name": "set tmp.message",
+ "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$vnf-id + ' : ' + $request-action + ': ' + $payload`\" />\n",
+ "comments": "",
+ "x": 661.027759552002,
+ "y": 105.33333778381348,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "8901cd2a.444a4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 969.8333015441895,
+ "y": 99.69444465637207,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "803c8cbf.c3d12"
+ ]
+ ]
+ },
+ {
+ "id": "803c8cbf.c3d12",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1126.8333015441895,
+ "y": 96.69444465637207,
+ "z": "193f4644.96800a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3a3d3e66.c6b952",
+ "type": "call",
+ "name": "call: GetAaiInfo",
+ "xml": "<call module=\"APPC\" rpc=\"GetAaiInfo\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 404.6388511657715,
+ "y": 544.0277528762817,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "9bd14044.058de",
+ "a9e24ed.12d1db"
+ ]
+ ]
+ },
+ {
+ "id": "9bd14044.058de",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 842.305477142334,
+ "y": 550.6111268997192,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "1a7baf78.148751"
+ ]
+ ]
+ },
+ {
+ "id": "1a7baf78.148751",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1094.2499351501465,
+ "y": 589.277813911438,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "66eb0dcf.1c5944"
+ ]
+ ]
+ },
+ {
+ "id": "66eb0dcf.1c5944",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t",
+ "comments": "",
+ "x": 1270.666561126709,
+ "y": 583.7777528762817,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "a9e24ed.12d1db",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 920.1945152282715,
+ "y": 590.1388368606567,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "1a7baf78.148751"
+ ]
+ ]
+ },
+ {
+ "id": "efe90707.484728",
+ "type": "switchNode",
+ "name": "switch isTemplateDriven.TEMPLATE",
+ "xml": "<switch test='`$isTemplateDriven.TEMPLATE`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 408.9999771118164,
+ "y": 1009.2777662277222,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "42ac4b50.7387f4",
+ "2d40ef00.deab"
+ ]
+ ]
+ },
+ {
+ "id": "42ac4b50.7387f4",
+ "type": "success",
+ "name": "outcome: Y",
+ "xml": "<outcome value=\"Y\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 743.924617767334,
+ "y": 979.2578554153442,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "fd088d25.cb349"
+ ]
+ ]
+ },
+ {
+ "id": "2d40ef00.deab",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 745.6627349853516,
+ "y": 1037.4007940292358,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "7b2c7f57.4dbe5"
+ ]
+ ]
+ },
+ {
+ "id": "fd088d25.cb349",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 979.5515785217285,
+ "y": 985.5238046646118,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "c17f4a8e.f67898"
+ ]
+ ]
+ },
+ {
+ "id": "7b2c7f57.4dbe5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1009.6389465332031,
+ "y": 1036.4722652435303,
+ "z": "193f4644.96800a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c17f4a8e.f67898",
+ "type": "call",
+ "name": "call: loadTeamplate",
+ "xml": "<call module=\"APPC\" rpc=\"loadTeamplate\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1183.1389503479004,
+ "y": 985.5555028915405,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "c53ff6c.f4db508",
+ "afd72fd.527d3d"
+ ]
+ ]
+ },
+ {
+ "id": "c53ff6c.f4db508",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1352.30562210083,
+ "y": 955.3055830001831,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "23f1e8f1.dc5c18"
+ ]
+ ]
+ },
+ {
+ "id": "57221d34.c67a64",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to load Template Information\"/>\n",
+ "comments": "",
+ "x": 1748.138957977295,
+ "y": 757.9722442626953,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "23f1e8f1.dc5c18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1529.3055877685547,
+ "y": 953.2222089767456,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "57221d34.c67a64"
+ ]
+ ]
+ },
+ {
+ "id": "afd72fd.527d3d",
+ "type": "failure",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1343.2222480773926,
+ "y": 1067.8888692855835,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "e420287.3830fd8"
+ ]
+ ]
+ },
+ {
+ "id": "588a18e3.b4a2b8",
+ "type": "get-resource",
+ "name": "get-resource: APPC.action-level",
+ "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT ACTION_LEVEL\n\t FROM ACTION_LEVEL_REFERENCE\n WHERE ACTION_IDENTIFIER = $action-identifier ;\"\n force='true'\n\tpfx='APPC.action-level'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 463.583309173584,
+ "y": 477.86113929748535,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "cb5fba2c.0b7478",
+ "88910454.38ff38"
+ ]
+ ]
+ },
+ {
+ "id": "863ea7a9.0d8a88",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 833.3333473205566,
+ "y": 444.1944332122803,
+ "z": "193f4644.96800a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cb5fba2c.0b7478",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 701.749927520752,
+ "y": 445.80551767349243,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "863ea7a9.0d8a88"
+ ]
+ ]
+ },
+ {
+ "id": "e420287.3830fd8",
+ "type": "call",
+ "name": "call: MergeTemplateData",
+ "xml": "<call module=\"APPC\" rpc=\"MergeTemplateData\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1524.4999618530273,
+ "y": 1064.6944341659546,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "481324d1.cf5c5c",
+ "11742d0.bc922d3"
+ ]
+ ]
+ },
+ {
+ "id": "2eda81d8.5fdd5e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1920.011890411377,
+ "y": 831.2659015655518,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "5cd8da91.6cd0f4"
+ ]
+ ]
+ },
+ {
+ "id": "481324d1.cf5c5c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1760.65474319458,
+ "y": 831.9682540893555,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "2eda81d8.5fdd5e"
+ ]
+ ]
+ },
+ {
+ "id": "11742d0.bc922d3",
+ "type": "failure",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1764.3214111328125,
+ "y": 898.396844625473,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "e362e8f.56a1f18"
+ ]
+ ]
+ },
+ {
+ "id": "e362e8f.56a1f18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1928.6071434020996,
+ "y": 897.9682559967041,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "4356217.23de1e"
+ ]
+ ]
+ },
+ {
+ "id": "4356217.23de1e",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$input.action`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2105.178642272949,
+ "y": 899.5872945189476,
+ "z": "193f4644.96800a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "10896636.03d5ea",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to Merge Template and Data Information\"/>\n",
+ "comments": "",
+ "x": 2301.0000610351562,
+ "y": 828.194450378418,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "5cd8da91.6cd0f4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2112.9166374206543,
+ "y": 829.6110754013062,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "10896636.03d5ea"
+ ]
+ ]
+ },
+ {
+ "id": "4e8f1c06.6e7e14",
+ "type": "get-resource",
+ "name": "get-resource: isTemplateDriven",
+ "xml": "<get-resource\n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"SELECT TEMPLATE\n\t FROM PROTOCOL_REFERENCE\n WHERE ACTION = $input.action and VNF_TYPE = $vnf-type and ACTION_LEVEL= $action-level ;\"\n force='true'\n\tpfx='isTemplateDriven'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 410.1666488647461,
+ "y": 946.7777433395386,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "41a72631.aba078"
+ ]
+ ]
+ },
+ {
+ "id": "99a75518.478e18",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 949.2499847412109,
+ "y": 930.7777900695801,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "c076fc2e.fd461"
+ ]
+ ]
+ },
+ {
+ "id": "c076fc2e.fd461",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Unable to retrieve Template Information from Reference table.\"/>\n\t",
+ "comments": "",
+ "x": 1152.4999923706055,
+ "y": 925.1943950653076,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "41a72631.aba078",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 738.3333129882812,
+ "y": 925.611123085022,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "99a75518.478e18"
+ ]
+ ]
+ },
+ {
+ "id": "e0d6bac2.2d6988",
+ "type": "set",
+ "name": "set Payload params ",
+ "xml": "<set>\n<!-- vnf type, name is from A&AI \n<parameter name='vnf-type' value='`$tmp.vnfInfo.vnf.vnf-type`' />\n<parameter name='vnf-name' value='`$tmp.vnfInfo.vnf.vnf-name`' />\n-->\n<!-- ConfigScaleOut for Beijing (1806) release -->\n<parameter name='controller-template-id' value='`$request-parameters.controller-template-id`' />\n<parameter name='req-vf-module-id' value='`$request-parameters.vf-module-id`' />\n\n<!-- 17.07 Parameters from request -->\n<parameter name='template-name' value='`$request-parameters.template-name`' />\n<parameter name='vnf-host-ip-address' value='`$request-parameters.vnf-host-ip-address`' />\n<parameter name='vnfc-type' value='`$request-parameters.vnfc-type`' /> \n<parameter name='vnf-type' value='`$request-parameters.vnf-type`' />\n<parameter name='vnf-name' value='`$request-parameters.vnf-name`' />\n\n<parameter name='configurationblock' value='`$block_configuration`' />\n\n\n<!-- parameters to be merged with template provided as input-->\n<parameter name='configuration-params' value='`$block_configuration-parameters`' /> \n\n\n\n<!--1702 VM/VNFC Parameters when passed from Request--> \n<parameter name='VNFCTYPE' value='`$request-parameters.vm[0].vnfc[0].vnfc-type`' />\n<parameter name=\"VMNAME0\" value=\"`$request-parameters.vm[0].vm-name`\"/>\n<parameter name=\"VNFCNAME0\" value=\"`$request-parameters.vm[0].vnfc[0].vnfc-name`\"/>\n<parameter name=\"VMLENGTH\" value=\"`$size_request-parameters.vm`\"/>\n<parameter name=\"VNFCLENGTH\" value=\"`$size_request-parameters.vm[0].vnfc`\"/>\n<parameter name=\"CONFIGTYPE\" value=\"`$config-type`\"/>\n\n\n<!-- Not Used?\n<parameter name='site-location' value='`$request-parameters.site-location`' />\n<parameter name='file-name' value='`$request-parameters.file-name`' />\n-->\n\n\n\n\n",
+ "comments": "",
+ "x": 482.222225189209,
+ "y": 229.5277624130249,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "88910454.38ff38",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 701.6110954284668,
+ "y": 512.7778081893921,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "62326615.89a698"
+ ]
+ ]
+ },
+ {
+ "id": "62326615.89a698",
+ "type": "set",
+ "name": "set action-level ",
+ "xml": "<set>\n<parameter name='action-level' value='`$APPC.action-level.ACTION-LEVEL`' />\n\n\n\n\n\n",
+ "comments": "",
+ "x": 857.0276832580566,
+ "y": 510.8333101272583,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "9bcbfce3.360bd",
+ "type": "switchNode",
+ "name": "switch action-level",
+ "xml": "<switch test='`$action-level`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 357.7499656677246,
+ "y": 641.3611268997192,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "12a915d7.8f3eda",
+ "2e6b374e.e4ca58"
+ ]
+ ]
+ },
+ {
+ "id": "12a915d7.8f3eda",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 614.1666450500488,
+ "y": 624.7777824401855,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "b540c214.491b7"
+ ]
+ ]
+ },
+ {
+ "id": "2e6b374e.e4ca58",
+ "type": "success",
+ "name": "outcome: vm",
+ "xml": "<outcome value='vm'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 604.1666450500488,
+ "y": 687.4444723129272,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "ca5c3c69.9d29b"
+ ]
+ ]
+ },
+ {
+ "id": "ed760fa3.7af09",
+ "type": "success",
+ "name": "outcome: ''",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1523.916633605957,
+ "y": 372.1110773086548,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "d9716cfe.b3bd1"
+ ]
+ ]
+ },
+ {
+ "id": "4b41a711.6ebae8",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1457.738338470459,
+ "y": 468.5873279571533,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "bed0f65a.021838"
+ ]
+ ]
+ },
+ {
+ "id": "d9716cfe.b3bd1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1054.7381706237793,
+ "y": 444.6825485229492,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "a17aa10a.31604"
+ ]
+ ]
+ },
+ {
+ "id": "bed0f65a.021838",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1651.047420501709,
+ "y": 467.9921131134033,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "454dc246.93886c"
+ ]
+ ]
+ },
+ {
+ "id": "454dc246.93886c",
+ "type": "set",
+ "name": "setActionLevel VNF",
+ "xml": "<set>\n<parameter name='action-level' value='vnf' />\n<parameter name='action-identifier' value='vnf-id' />",
+ "comments": "",
+ "x": 1855.666561126709,
+ "y": 467.7777576446533,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "81cc9ef5.21e1c",
+ "type": "switchNode",
+ "name": "switch vnfc-name",
+ "xml": "<switch test='`$vnfc-name`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 446.00000381469727,
+ "y": 351.2499885559082,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "64baa541.127c7c",
+ "947d7466.72beb8"
+ ]
+ ]
+ },
+ {
+ "id": "64baa541.127c7c",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 719.5437812805176,
+ "y": 340.86510467529297,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "b29f14b0.201c58"
+ ]
+ ]
+ },
+ {
+ "id": "b29f14b0.201c58",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 907.4919776916504,
+ "y": 351.99214935302734,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "ddbd4a17.536438"
+ ]
+ ]
+ },
+ {
+ "id": "ddbd4a17.536438",
+ "type": "set",
+ "name": "setActionLevel VNFC",
+ "xml": "<set>\n<parameter name='action-level' value='vnfc' />\n<parameter name='action-identifier' value='vnfc-name' />\n",
+ "comments": "",
+ "x": 1195.000087738037,
+ "y": 263.4999713897705,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "29ec8a8e.73da96",
+ "type": "switchNode",
+ "name": "switch vserver-id",
+ "xml": "<switch test='`$vserver-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 912.8887977600098,
+ "y": 392.5555057525635,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "ab23f6bf.397408",
+ "e8d70200.da5dc"
+ ]
+ ]
+ },
+ {
+ "id": "ab23f6bf.397408",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1168.7659873962402,
+ "y": 315.3650903701782,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "5930b3b8.a5ecdc"
+ ]
+ ]
+ },
+ {
+ "id": "5930b3b8.a5ecdc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1353.2141914367676,
+ "y": 297.2421178817749,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "7ca36d1d.e3fea4"
+ ]
+ ]
+ },
+ {
+ "id": "7ca36d1d.e3fea4",
+ "type": "set",
+ "name": "setActionLevel VM",
+ "xml": "<set>\n<parameter name='action-level' value='vm' />\n<parameter name='action-identifier' value='vserver-id' />\n\n",
+ "comments": "",
+ "x": 1541.0833320617676,
+ "y": 287.4444189071655,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "a17aa10a.31604",
+ "type": "switchNode",
+ "name": "switch vnf-id",
+ "xml": "<switch test='`$vnf-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1218.1667022705078,
+ "y": 445.2777633666992,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "4b41a711.6ebae8",
+ "9df83e80.a5406"
+ ]
+ ]
+ },
+ {
+ "id": "9df83e80.a5406",
+ "type": "success",
+ "name": "outcome: ''",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1452.24995803833,
+ "y": 418.61107635498047,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "444cccf2.584d64"
+ ]
+ ]
+ },
+ {
+ "id": "444cccf2.584d64",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1642.48823928833,
+ "y": 415.0158920288086,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "bcb3b8ca.519928"
+ ]
+ ]
+ },
+ {
+ "id": "bcb3b8ca.519928",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name=\"error-code\" value=\"401\"/>\n\t<parameter name=\"error-message\" value=\"Action identifier is missing in the request\"/>\n\t\n\t",
+ "comments": "",
+ "x": 1840.9998397827148,
+ "y": 421.0277633666992,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "91dc4ed2.b4b12",
+ "type": "switchNode",
+ "name": "switch vf-module-id",
+ "xml": "<switch test='`$vf-module-id`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1324.011920928955,
+ "y": 355.88488006591797,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "98a62b6b.faf198",
+ "ed760fa3.7af09"
+ ]
+ ]
+ },
+ {
+ "id": "98a62b6b.faf198",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1538.3333320617676,
+ "y": 329.5277318954468,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "dbb521a5.c2cbe"
+ ]
+ ]
+ },
+ {
+ "id": "dbb521a5.c2cbe",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 1743.892780303955,
+ "y": 328.43257904052734,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "7ccb9880.349a78"
+ ]
+ ]
+ },
+ {
+ "id": "7ccb9880.349a78",
+ "type": "set",
+ "name": "setActionLevel VF-Module",
+ "xml": "<set>\n<parameter name='action-level' value='vf-module' />\n<parameter name='action-identifier' value='vf-module-id' />\n",
+ "comments": "",
+ "x": 1956.178554534912,
+ "y": 327.3015670776367,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "947d7466.72beb8",
+ "type": "success",
+ "name": "outcome: ''",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 714.3332824707031,
+ "y": 386.6944456100464,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "29ec8a8e.73da96"
+ ]
+ ]
+ },
+ {
+ "id": "e8d70200.da5dc",
+ "type": "success",
+ "name": "outcome: ''",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1133.222267150879,
+ "y": 374.33333015441895,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "91dc4ed2.b4b12"
+ ]
+ ]
+ },
+ {
+ "id": "ba91d7fc.ad1ac8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$request-action`\"/>\n<parameter name=\"field3\" value=\"`$action-identifier`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 419.99999618530273,
+ "y": 401.5555648803711,
+ "z": "193f4644.96800a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9696294a.439908",
+ "type": "switchNode",
+ "name": "switch vnfc-type",
+ "xml": "<switch test='`$vnfc-type`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 455.4166374206543,
+ "y": 284.33334732055664,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "6b6a888f.6f55a8",
+ "f710f19a.8719a"
+ ]
+ ]
+ },
+ {
+ "id": "6b6a888f.6f55a8",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 731.1825828552246,
+ "y": 249.50402736663818,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "5145715a.22178"
+ ]
+ ]
+ },
+ {
+ "id": "5145715a.22178",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": null,
+ "outputs": 1,
+ "x": 924.686408996582,
+ "y": 251.74213790893555,
+ "z": "193f4644.96800a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f710f19a.8719a",
+ "type": "success",
+ "name": "outcome: ''",
+ "xml": "<outcome value=''>",
+ "comments": "",
+ "outputs": 1,
+ "x": 727.0832557678223,
+ "y": 290.8888864517212,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "4baf43dc.a970cc"
+ ]
+ ]
+ },
+ {
+ "id": "4baf43dc.a970cc",
+ "type": "set",
+ "name": "set vnfc-type ",
+ "xml": "<set>\n<!-- 17.07 If vnfc-type is blank assign Parameters from request in array list -->\n<parameter name='vnfc-type' value='`$VNFCTYPE`' />\n\n\n\n\n\n\n\n\n\n\n\n",
+ "comments": "",
+ "x": 925.4165840148926,
+ "y": 291.0000247955322,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "b540c214.491b7",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 772.1388511657715,
+ "y": 631.4166688919067,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "54470cf7.173144"
+ ]
+ ]
+ },
+ {
+ "id": "ca5c3c69.9d29b",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 785.1388511657715,
+ "y": 691.4166688919067,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "e52e9b34.7f8748"
+ ]
+ ]
+ },
+ {
+ "id": "e52e9b34.7f8748",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n\n",
+ "comments": "",
+ "x": 958.472225189209,
+ "y": 686.416729927063,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "54470cf7.173144",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Action Level is not VM:\"/>\n<parameter name=\"field3\" value=\"`$action-level`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1083.1388511657715,
+ "y": 642.4166688919067,
+ "z": "193f4644.96800a",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dc7cd0da.4dc2a",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1186.3888626098633,
+ "y": 1019.6666526794434,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "9dca202c.45a63"
+ ]
+ ]
+ },
+ {
+ "id": "9dca202c.45a63",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1350.3888626098633,
+ "y": 1017.6666526794434,
+ "z": "193f4644.96800a",
+ "wires": [
+ [
+ "35c870e9.c7795"
+ ]
+ ]
+ },
+ {
+ "id": "35c870e9.c7795",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Unable to get VServer Info from A&amp;AI\" />\n\n\n\t",
+ "comments": "",
+ "x": 1551.8888626098633,
+ "y": 1007.6666526794434,
+ "z": "193f4644.96800a",
+ "wires": []
+ },
+ {
+ "id": "48dc61c2.73edb",
+ "type": "call",
+ "name": "call:self-serve-resolve-parameters",
+ "xml": "<call module=\"APPC\" rpc=\"self-serve-resolve-parameters\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 434.8888511657715,
+ "y": 787.6666688919067,
+ "z": "193f4644.96800a",
+ "wires": [
+ []
+ ]
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_POCScaleOut.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_POCScaleOut.json
new file mode 100644
index 000000000..d6fcbc427
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_POCScaleOut.json
@@ -0,0 +1,726 @@
+[
+ {
+ "id": "36d0ef29.81c41",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 143,
+ "y": 67,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "aaaa784.4444b88"
+ ]
+ ]
+ },
+ {
+ "id": "aaaa784.4444b88",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.0.0",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",
+ "outputs": 1,
+ "x": 300.34282302856445,
+ "y": 66.98572540283203,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "1be61a50.1cb396"
+ ]
+ ]
+ },
+ {
+ "id": "1be61a50.1cb396",
+ "type": "method",
+ "name": "method POCScaleOut",
+ "xml": "<method rpc='POCScaleOut' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 504.89046478271484,
+ "y": 56.48572540283203,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "2ed45680.02f1ca"
+ ]
+ ]
+ },
+ {
+ "id": "2ed45680.02f1ca",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 111.15634155273438,
+ "y": 190.18809700012207,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "301fae36.e56532",
+ "ff5f49da.bd8128",
+ "5fbb4b13.1c8524",
+ "b53c5b00.66dee8"
+ ]
+ ]
+ },
+ {
+ "id": "b53c5b00.66dee8",
+ "type": "call",
+ "name": "call: POCProcessInputParams",
+ "xml": "<call module=\"APPC\" rpc=\"POCProcessInputParams\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 645.9142913818359,
+ "y": 106.48572635650635,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "b7fb9ed.3f09e6",
+ "d319a1d1.203dd",
+ "67d28ba1.60be04"
+ ]
+ ]
+ },
+ {
+ "id": "e82c0ce7.a06c7",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2258.664306640625,
+ "y": 412.9023742675781,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "f55282c2.0f7e2"
+ ]
+ ]
+ },
+ {
+ "id": "7c7cac43.5d2d74",
+ "type": "execute",
+ "name": "execute get and executeFlowSequence",
+ "xml": "<execute plugin=\"org.onap.appc.flow.controller.node.FlowControlNode\" method=\"processFlow\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.flowControl\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2099.7911376953125,
+ "y": 468.2158203125,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "e82c0ce7.a06c7",
+ "ddccccda.0c694"
+ ]
+ ]
+ },
+ {
+ "id": "f55282c2.0f7e2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2396.7119140625,
+ "y": 414.4261779785156,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "312031a0.69e65e"
+ ]
+ ]
+ },
+ {
+ "id": "446b0d9b.466454",
+ "type": "set",
+ "name": "set error-code 400 and message",
+ "xml": "<set>\n<parameter name='error-code' value='400' />\n<parameter name='error-message' value=\"SUCCESS - request has been processed successfully\" />\n<parameter name='output-payload' value='`$output-payload`' />\n",
+ "comments": "",
+ "x": 2380.18798828125,
+ "y": 652.9856567382812,
+ "z": "fddd5a94.b97ca8",
+ "wires": []
+ },
+ {
+ "id": "ddccccda.0c694",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2377.545166015625,
+ "y": 493.5690002441406,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "23210175.e9f89e"
+ ]
+ ]
+ },
+ {
+ "id": "23210175.e9f89e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2409.426025390625,
+ "y": 544.2237548828125,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "446b0d9b.466454"
+ ]
+ ]
+ },
+ {
+ "id": "312031a0.69e65e",
+ "type": "set",
+ "name": "set error-code 401 and message",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"`$tmp.flowControl.status-message`\" />\n<parameter name='output-payload' value='`$output-payload`' />\n",
+ "comments": "",
+ "x": 2478.99755859375,
+ "y": 341.3666076660156,
+ "z": "fddd5a94.b97ca8",
+ "wires": []
+ },
+ {
+ "id": "ff5f49da.bd8128",
+ "type": "execute",
+ "name": "execute saveTxLog",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"saveConfigTransactionLog\">\n<parameter name=\"messageType\" value=\"response\" />\n<parameter name=\"message\" value=\"`$tmp.message`\" />\n<parameter name=\"responsePrefix\" value=\"tmp.saveTxLog\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 310.4975776672363,
+ "y": 908.0412883758545,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "e6505450.7845c8"
+ ]
+ ]
+ },
+ {
+ "id": "e6505450.7845c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 511.9419479370117,
+ "y": 908.957914352417,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "cd452da8.c734"
+ ]
+ ]
+ },
+ {
+ "id": "cd452da8.c734",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 687.4143218994141,
+ "y": 910.5412473678589,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "301fae36.e56532",
+ "type": "set",
+ "name": "set tmp.message",
+ "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n",
+ "comments": "",
+ "x": 329.2753677368164,
+ "y": 820.2357015609741,
+ "z": "fddd5a94.b97ca8",
+ "wires": []
+ },
+ {
+ "id": "b7fb9ed.3f09e6",
+ "type": "not-found",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 861.414306640625,
+ "y": 65.65238761901855,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "59ca1bc.f00e5e4"
+ ]
+ ]
+ },
+ {
+ "id": "d319a1d1.203dd",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 855.914306640625,
+ "y": 104.65238952636719,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "59ca1bc.f00e5e4"
+ ]
+ ]
+ },
+ {
+ "id": "59ca1bc.f00e5e4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1028.664306640625,
+ "y": 86.15241241455078,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5fbb4b13.1c8524",
+ "type": "switchNode",
+ "name": "switch error-code",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 334.0809631347656,
+ "y": 761.9024333953857,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "5053b015.989bc",
+ "63fd64d8.c7330c"
+ ]
+ ]
+ },
+ {
+ "id": "5053b015.989bc",
+ "type": "success",
+ "name": "outcome: 400",
+ "xml": "<outcome value=\"400\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 598.7475891113281,
+ "y": 714.2357139587402,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "571d0eca.106a8"
+ ]
+ ]
+ },
+ {
+ "id": "63fd64d8.c7330c",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value=\"Other\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 598.664249420166,
+ "y": 814.235746383667,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "8e225775.f62ba8"
+ ]
+ ]
+ },
+ {
+ "id": "571d0eca.106a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 809.9976348876953,
+ "y": 716.9024209976196,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "55a11b19.e6bb14"
+ ]
+ ]
+ },
+ {
+ "id": "8e225775.f62ba8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 791.9974899291992,
+ "y": 815.485746383667,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "325ca5d4.8cac2a"
+ ]
+ ]
+ },
+ {
+ "id": "55a11b19.e6bb14",
+ "type": "set",
+ "name": "set Status for dispatcher",
+ "xml": "<set>\n<parameter name='SvcLogic.status' value='success' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />\n<parameter name='output.payload' value='`$output-payload`'/>",
+ "comments": "",
+ "x": 1059.6643371582031,
+ "y": 715.0690479278564,
+ "z": "fddd5a94.b97ca8",
+ "wires": []
+ },
+ {
+ "id": "325ca5d4.8cac2a",
+ "type": "set",
+ "name": "set Status for dispatcher",
+ "xml": "<set>\n<parameter name='SvcLogic.status' value='failure' />\n<parameter name='output.status.code' value='`$error-code`' />\n<parameter name='output.status.message' value='`$error-message`' />\n<parameter name='output.payload' value='`$output-payload`'/>\n",
+ "comments": "",
+ "x": 1029.1642837524414,
+ "y": 814.4023923873901,
+ "z": "fddd5a94.b97ca8",
+ "wires": []
+ },
+ {
+ "id": "85ea3dc4.a977b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 856.164306640625,
+ "y": 205.81903076171875,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "9e4f76f9.5113b8"
+ ]
+ ]
+ },
+ {
+ "id": "67d28ba1.60be04",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 851.747615814209,
+ "y": 144.48571968078613,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "85ea3dc4.a977b"
+ ]
+ ]
+ },
+ {
+ "id": "9e4f76f9.5113b8",
+ "type": "execute",
+ "name": "execute getCapability",
+ "xml": "<execute plugin=\"org.onap.appc.data.services.node.ConfigResourceNode\" method=\"getCapability\">\n<parameter name=\"caplevel\" value=\"`$action-level`\" />\n<parameter name=\"checkCapability\" value=\"`$request-action`\" />\n<parameter name=\"vServerId\" value=\"`$vserver-id`\"/>\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 853.9144897460938,
+ "y": 310.90234375,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "6608dc74.14eb54",
+ "20f97c14.180d44"
+ ]
+ ]
+ },
+ {
+ "id": "8a59fae7.fe9ca8",
+ "type": "switchNode",
+ "name": "switch capability-result",
+ "xml": "<switch test=\"`$capabilities`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1157.704574584961,
+ "y": 451.6452317237854,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "10d8be0a.8b97b2",
+ "4f6d37ac.890ec8",
+ "55caa629.077118"
+ ]
+ ]
+ },
+ {
+ "id": "10d8be0a.8b97b2",
+ "type": "success",
+ "name": "outcome: Not-Supported",
+ "xml": "<outcome value=\"Not-Supported\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1396.9144439697266,
+ "y": 578.2356586456299,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "a470d1c5.5e34d"
+ ]
+ ]
+ },
+ {
+ "id": "4f6d37ac.890ec8",
+ "type": "success",
+ "name": "outcome: Supported",
+ "xml": "<outcome value=\"Supported\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1397.8310546875,
+ "y": 508.56903076171875,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "e594cac2.54b628"
+ ]
+ ]
+ },
+ {
+ "id": "6608dc74.14eb54",
+ "type": "failure",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1129.0094909667969,
+ "y": 312.0928611755371,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "a652175e.056f18"
+ ]
+ ]
+ },
+ {
+ "id": "20f97c14.180d44",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1113.4619979858398,
+ "y": 368.90238761901855,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "8d84ce5b.b1a4c"
+ ]
+ ]
+ },
+ {
+ "id": "a470d1c5.5e34d",
+ "type": "set",
+ "name": "set error-code 450 and message",
+ "xml": "<set>\n<parameter name='error-code' value='450' />\n<parameter name='error-message' value=\"Request not supported\" />\n<parameter name='output-payload' value=\"\" />",
+ "comments": "",
+ "x": 1687.247543334961,
+ "y": 579.9023866653442,
+ "z": "fddd5a94.b97ca8",
+ "wires": []
+ },
+ {
+ "id": "e594cac2.54b628",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1612.24755859375,
+ "y": 507.56903076171875,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "cf644567.60dab8"
+ ]
+ ]
+ },
+ {
+ "id": "55caa629.077118",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1334.5810661315918,
+ "y": 440.23571491241455,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "e594cac2.54b628"
+ ]
+ ]
+ },
+ {
+ "id": "f5d1ac8b.295f",
+ "type": "set",
+ "name": "set error code 401",
+ "xml": "<set>\n<parameter name='error-code' value='401' />\n<parameter name='error-message' value=\"Cannot Determine Capabilities\" />\n<parameter name='output-payload' value=\"\" />\n",
+ "comments": "",
+ "x": 1478.9141845703125,
+ "y": 300.4857177734375,
+ "z": "fddd5a94.b97ca8",
+ "wires": []
+ },
+ {
+ "id": "8d84ce5b.b1a4c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 958.2992706298828,
+ "y": 452.0594539642334,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "8a59fae7.fe9ca8"
+ ]
+ ]
+ },
+ {
+ "id": "85033dfb.27c3",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"level\" value=\"info\"/>\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"` 'Capabilities results will be - '+$capabilities`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1443.322998046875,
+ "y": 348.702392578125,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a652175e.056f18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">\n\n",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1282.24755859375,
+ "y": 311.15234375,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "f5d1ac8b.295f",
+ "85033dfb.27c3"
+ ]
+ ]
+ },
+ {
+ "id": "daae73f4.23e33",
+ "type": "set",
+ "name": "set aai-vnf-type, vnf-type",
+ "xml": "<set>\n<parameter name='aai-vnf-type' value='`$vnf-type`' />\n<parameter name='vnf-type' value='' />\n",
+ "comments": "",
+ "x": 2160,
+ "y": 306,
+ "z": "fddd5a94.b97ca8",
+ "wires": []
+ },
+ {
+ "id": "cf644567.60dab8",
+ "type": "switchNode",
+ "name": "switch action-level",
+ "xml": "<switch test='`$action-level`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1819,
+ "y": 506,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "8987b339.11974",
+ "acbb099.45ff6f8"
+ ]
+ ]
+ },
+ {
+ "id": "8987b339.11974",
+ "type": "success",
+ "name": "outcome: Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2021.4166259765625,
+ "y": 571.4166259765625,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "7c7cac43.5d2d74"
+ ]
+ ]
+ },
+ {
+ "id": "acbb099.45ff6f8",
+ "type": "success",
+ "name": "outcome: vm",
+ "xml": "<outcome value='vm'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1759.4166259765625,
+ "y": 365.08331298828125,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "74931ff0.4a28b"
+ ]
+ ]
+ },
+ {
+ "id": "74931ff0.4a28b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1961.25,
+ "y": 366,
+ "z": "fddd5a94.b97ca8",
+ "wires": [
+ [
+ "daae73f4.23e33",
+ "7c7cac43.5d2d74"
+ ]
+ ]
+ },
+ {
+ "id": "4c7b9a64.f998a4",
+ "type": "comment",
+ "name": "vnf-type is set to nul here to enable VM level commands to select correct RPC ",
+ "info": "",
+ "comments": "",
+ "x": 1949,
+ "y": 251,
+ "z": "fddd5a94.b97ca8",
+ "wires": []
+ }
+] \ No newline at end of file
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_self-serve-resolve-parameters.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_self-serve-resolve-parameters.json
new file mode 100644
index 000000000..79c0cb58a
--- /dev/null
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_self-serve-resolve-parameters.json
@@ -0,0 +1,471 @@
+[
+ {
+ "id": "254d686a.d66818",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 95,
+ "y": 65,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "2e4e8b6a.a82bbc"
+ ]
+ ]
+ },
+ {
+ "id": "2e4e8b6a.a82bbc",
+ "type": "service-logic",
+ "name": "APPC 4.0.0",
+ "module": "APPC",
+ "version": "4.0.0",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>",
+ "outputs": 1,
+ "x": 259,
+ "y": 65,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "2b3ddb56.b80f24"
+ ]
+ ]
+ },
+ {
+ "id": "2b3ddb56.b80f24",
+ "type": "method",
+ "name": "self-serve-resolve-parameters",
+ "xml": "<method rpc='self-serve-resolve-parameters' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 510.0000305175781,
+ "y": 64,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "a0732854.d6605"
+ ]
+ ]
+ },
+ {
+ "id": "a0732854.d6605",
+ "type": "block",
+ "name": "block atomic",
+ "xml": "<block atomic=\"true\">\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 221.16664123535156,
+ "y": 157.33333015441895,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "90cae853.bf78",
+ "bdbb5f83.8e6ea8",
+ "a25a0c5.0a4f57",
+ "1696e043.117038",
+ "1c5ce4fc.16b8a3",
+ "cae740ee.2e7c08",
+ "bb9cd91e.2db828",
+ "14e52e98.3c6151",
+ "ec826b7b.844308",
+ "2d609cf2.5d6444",
+ "412332d7.d7300c",
+ "7f97ad53.4b38bc",
+ "224d8e71.dc5622"
+ ]
+ ]
+ },
+ {
+ "id": "1c5ce4fc.16b8a3",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n <parameter name=\"cds\" value=\"execution-service_process.\"/>\n <parameter name=\"`$cds + 'commonHeader.requestId'`\" value=\"`$tmp.return.requestId`\"/>\n <parameter name=\"resource-type\" value=\"`$vnf-type`\" /> \n <parameter name=\"`$cds + 'commonHeader.subRequestId'`\" value=\"`$input.common-header.request-id`\" /> \n <parameter name=\"`$cds + 'actionIdentifiers.actionName'`\" value=\"`$request-action`\"/> \n <parameter name=\"responsePrefix\" value=\"`$responsePrefix`\" />\n <parameter name=\"`$cds + 'isNonAppend'`\" value=\"true\"/>\n <parameter name=\"`$cds + 'commonHeader.originatorId'`\" value=\"APPC_DG\"/>\n <parameter name=\"`$cds + 'actionIdentifiers.mode'`\" value=\"sync\"/>\n <parameter name=\"action-name\" value=\"`$request-action`\"/>\n <parameter name=\"request-id\" value=\"`$tmp.return.requestId`\"/>\n <parameter name=\"sub-request-id\" value=\"`$input.common-header.request-id`\"/>\n <parameter name=\"time-stamp\" value=\"`$input.common-header.timestamp`\"/>\n <parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\"/>\n <parameter name=\"vf-module-id\" value=\"`$request-parameters.vf-module-id`\"/>\n <parameter name=\"resolution-key\" value=\"`$cds.resolution-key`\"/>\n <parameter name=\"service-instance-id\" value=\"`$service-instance-id`\"/>\n\n \n \n\n",
+ "comments": "",
+ "x": 461.9166564941406,
+ "y": 397.08331298828125,
+ "z": "b24d0e57.9fffb",
+ "wires": []
+ },
+ {
+ "id": "90cae853.bf78",
+ "type": "set",
+ "name": "set configScaleOut JsonString",
+ "xml": "<set>\n<parameter name=\"tmp.config-name-value-payload1\" value=\"`$tmp.config-name-value-other-payload + '&quot;service-instance-id&quot;:&quot;' + $service-instance-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload2\" value=\"`$tmp.config-name-value-payload1 + '&quot;vnf-id&quot;:&quot;' + $input.action-identifiers.vnf-id + '&quot;,'`\"/>\n<parameter name=\"tmp.config-name-value-payload3\" value=\"`$tmp.config-name-value-payload2 + '&quot;vf-module-id&quot;:&quot;' + $input.action-identifiers.vf-module-id + '&quot;'`\"/>\n\n\n",
+ "comments": "",
+ "x": 533.9999084472656,
+ "y": 486.0000305175781,
+ "z": "b24d0e57.9fffb",
+ "wires": []
+ },
+ {
+ "id": "ec826b7b.844308",
+ "type": "execute",
+ "name": "execute BlueprintProcessingClient",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cd.templatefile`\" />\n<parameter name='restapiUrl' value=\"`$prop.cds.url + '/' + 'v1/execution-service/process'`\" />\n<parameter name='restapiUser' value=\"`$prop.cds.user`\"/>\n<parameter name='restapiPassword' value=\"`$prop.cds.pwd`\" />\n<parameter name='format' value='json' />\n<parameter name='httpMethod' value='POST' />\n<parameter name=\"responsePrefix\" value=\"response\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 549.333251953125,
+ "y": 620,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "1274f376.89293d",
+ "be3bc466.65c38"
+ ]
+ ]
+ },
+ {
+ "id": "1274f376.89293d",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 823.3333740234375,
+ "y": 585,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "5e97e3a4.322174"
+ ]
+ ]
+ },
+ {
+ "id": "5e97e3a4.322174",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error from ConfigAssignmentNode\" />\n",
+ "comments": "",
+ "x": 1034.3333740234375,
+ "y": 605,
+ "z": "b24d0e57.9fffb",
+ "wires": []
+ },
+ {
+ "id": "be3bc466.65c38",
+ "type": "failure",
+ "name": "not-found",
+ "xml": "<outcome value='not-found'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 826.3333740234375,
+ "y": 641,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "5e97e3a4.322174"
+ ]
+ ]
+ },
+ {
+ "id": "bdbb5f83.8e6ea8",
+ "type": "set",
+ "name": "set updateJsonPayload",
+ "xml": "<set>\n<parameter name=\"tmp.json-payload\" value=\"`'{' + $tmp.config-name-value-payload3 + '}'`\" />\n<parameter name=\"`$cds + 'actionIdentifiers.blueprintName'`\" value=\"appc_CDS\" />\n<parameter name=\"`$cds + 'actionIdentifiers.blueprintVersion'`\" value=\"1.0.0\" />\n<parameter name=\"`$cds + 'payload.resource-assignment-request.template-prefix[0]'`\" value=\"sdnc-artifact-name\" />\n<parameter name=\"`$cds + 'payload.resource-assignment-request.resource-assignment-properties'`\" value='`$tmp.json-payload`' />",
+ "comments": "",
+ "x": 527.0000305175781,
+ "y": 546.0000610351562,
+ "z": "b24d0e57.9fffb",
+ "wires": []
+ },
+ {
+ "id": "8feeace9.02d0b8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"generateUUID is failed\" />\n",
+ "comments": "",
+ "x": 812.6666259765625,
+ "y": 127.33332824707031,
+ "z": "b24d0e57.9fffb",
+ "wires": []
+ },
+ {
+ "id": "e8d86d0.a59e01",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 641.6666259765625,
+ "y": 126.33332824707031,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "8feeace9.02d0b8"
+ ]
+ ]
+ },
+ {
+ "id": "a25a0c5.0a4f57",
+ "type": "execute",
+ "name": "execute requestId",
+ "xml": " <execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" > \n <parameter name=\"ctx-destination\" value=\"tmp.return.requestId\" /> \n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 454.6666564941406,
+ "y": 131.3333282470703,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "e8d86d0.a59e01"
+ ]
+ ]
+ },
+ {
+ "id": "1696e043.117038",
+ "type": "set",
+ "name": "set name-value other JsonString",
+ "xml": "<set>\n<parameter name=\"tmp.config-name-value-other-payload\" value=\"\"/>\n\n",
+ "comments": "",
+ "x": 543.6666259765625,
+ "y": 437.3333740234375,
+ "z": "b24d0e57.9fffb",
+ "wires": []
+ },
+ {
+ "id": "bb9cd91e.2db828",
+ "type": "get-resource",
+ "name": "get-resource: A&AI Data for VNF",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-id = $vnf-id\" pfx=\"tmp.aai-data-vnf\" >\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 543.8831787109375,
+ "y": 248.88333129882812,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "14e52e98.3c6151",
+ "type": "for",
+ "name": "for relationship list",
+ "xml": "<for silentFailure='true' index='ridx' start='0' end=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\" >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 496.8833312988281,
+ "y": 300.8833312988281,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "ce039446.a87eb8"
+ ]
+ ]
+ },
+ {
+ "id": "ce039446.a87eb8",
+ "type": "switchNode",
+ "name": "switch relationship-key",
+ "xml": "<switch test='`$tmp.aai-data-vnf.relationship-list.relationship[$ridx].related-to`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 735.0833740234375,
+ "y": 300.8833312988281,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "4611c7b7.2416f8"
+ ]
+ ]
+ },
+ {
+ "id": "4611c7b7.2416f8",
+ "type": "outcome",
+ "name": "outcome: service-instance",
+ "xml": "<outcome value='service-instance'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1001.0833740234375,
+ "y": 298.8833312988281,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "bd4dce57.815bd8"
+ ]
+ ]
+ },
+ {
+ "id": "bd4dce57.815bd8",
+ "type": "for",
+ "name": "for relationship data",
+ "xml": "<for silentFailure='true' index='rdidx' start='0' end=\"`$tmp.aai-data-vnf.relationship-list.relationship[$ridx].relationship-data_length`\" >\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1286.0833740234375,
+ "y": 295.8833312988281,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "1497eb13.400be5"
+ ]
+ ]
+ },
+ {
+ "id": "1497eb13.400be5",
+ "type": "switchNode",
+ "name": "switch relationship-key",
+ "xml": "<switch test='`$tmp.aai-data-vnf.relationship-list.relationship[$ridx].relationship-data[$rdidx].relationship-key`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1516.4666748046875,
+ "y": 298.8833312988281,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "6511c0d7.96659"
+ ]
+ ]
+ },
+ {
+ "id": "6511c0d7.96659",
+ "type": "other",
+ "name": "service-instance.service-instance-id",
+ "xml": "<outcome value='service-instance.service-instance-id'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1826.966796875,
+ "y": 296.2999572753906,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "d94de14c.ebdae8"
+ ]
+ ]
+ },
+ {
+ "id": "d94de14c.ebdae8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2138.3834228515625,
+ "y": 297.0500793457031,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "b71db4e6.61f978"
+ ]
+ ]
+ },
+ {
+ "id": "b71db4e6.61f978",
+ "type": "set",
+ "name": "set service-instance-id",
+ "xml": "<set>\n<parameter name='service-instance-id' value='`$tmp.aai-data-vnf.relationship-list.relationship[$ridx].relationship-data[$rdidx].relationship-value`' />\n\n\n",
+ "comments": "",
+ "x": 2392.6083984375,
+ "y": 305.5960998535156,
+ "z": "b24d0e57.9fffb",
+ "wires": []
+ },
+ {
+ "id": "cae740ee.2e7c08",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n <parameter name=\"vnf-id\" value=\"`$input.action-identifiers.vnf-id`\"/>\n\n\n \n \n\n",
+ "comments": "",
+ "x": 469.3332824707031,
+ "y": 209.88333129882812,
+ "z": "b24d0e57.9fffb",
+ "wires": []
+ },
+ {
+ "id": "2d609cf2.5d6444",
+ "type": "execute",
+ "name": "execute Convert payload to DG Context ",
+ "xml": "<execute plugin=\"org.onap.sdnc.config.generator.convert.ConvertNode\" method=\"convertJson2DGContext\">\n<parameter name=\"jsonData\" value=\"`$response.payload.ConfigScaleOut-response.dry-run-output.baseconfig`\" />\n<parameter name=\"isEscaped\" value=\"N\" />\n<parameter name=\"blockKeys\" value=\"baseconfig,configuration.configuration-string,configuration.configuration-json\" />\n<parameter name=\"responsePrefix\" value=\"cdsResponseCtx\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 574.88330078125,
+ "y": 675.083251953125,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "412332d7.d7300c",
+ "type": "execute",
+ "name": "execute resolution-key",
+ "xml": " <execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" > \n <parameter name=\"ctx-destination\" value=\"cds.resolution-key\" /> \n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 529.88330078125,
+ "y": 350.8833312988281,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "3a154b41.39f70c"
+ ]
+ ]
+ },
+ {
+ "id": "3a154b41.39f70c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 718.88330078125,
+ "y": 355.8833312988281,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ [
+ "84bf2ba4.6be55"
+ ]
+ ]
+ },
+ {
+ "id": "84bf2ba4.6be55",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"generateUUID is failed\" />\n",
+ "comments": "",
+ "x": 884.88330078125,
+ "y": 351.8833312988281,
+ "z": "b24d0e57.9fffb",
+ "wires": []
+ },
+ {
+ "id": "7f97ad53.4b38bc",
+ "type": "execute",
+ "name": "execute properties",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value=\"/opt/onap/appc/data/properties/cds-dg-service.properties\" />\n <parameter name='contextPrefix' value='prop' />\n\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 490.8833312988281,
+ "y": 172.88333129882812,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5a9eb782.70b0e8",
+ "type": "get-resource",
+ "name": "get-resource: A&AI Data for VNF",
+ "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-id = $vnf-id\" pfx=\"tmp.aai-data-vnf\" >\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1431.88330078125,
+ "y": 604.88330078125,
+ "z": "b24d0e57.9fffb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "224d8e71.dc5622",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n\n",
+ "comments": "",
+ "x": 492.1888732910156,
+ "y": 730.8554553985596,
+ "z": "b24d0e57.9fffb",
+ "wires": []
+ }
+] \ No newline at end of file