aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_POCScaleOut.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_POCScaleOut.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_POCScaleOut.json726
1 files changed, 726 insertions, 0 deletions
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