diff options
author | 2017-10-30 11:44:18 -0500 | |
---|---|---|
committer | 2017-10-30 20:50:26 +0000 | |
commit | 2db8ef5e6c440442ba7d3c16142ede201a33d11b (patch) | |
tree | 05edac860719907936b3c5754d021793b70ca206 /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DGOrchestrator.json | |
parent | 7498c91aad814cd16fe23819c0e87c52fb3b1529 (diff) |
Update DGs for Carbon and remove comments
Update plugins for Carbon CCSDK
Format json
Remove license text comments since json files don't handle comments
Issue-ID: APPC-293
Change-Id: I6a227c804a424b0c3e49c3427391896ea1b06e15
Signed-off-by: Skip Wonnell <skip@att.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DGOrchestrator.json')
-rw-r--r-- | appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DGOrchestrator.json | 723 |
1 files changed, 703 insertions, 20 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DGOrchestrator.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DGOrchestrator.json index b573be2b4..e9b2b1aef 100644 --- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DGOrchestrator.json +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/APPC/APPC_DGOrchestrator.json @@ -1,20 +1,703 @@ -/*- - * ============LICENSE_START======================================================= - * ONAP : APP-C - * ================================================================================ - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ -[{"id":"af863c5e.90e748","type":"dgstart","name":"DGSTART","outputs":1,"x":146.75,"y":164.75,"z":"7aa4b695.11473","wires":[["d9df0190.a42ba"]]},{"id":"d9df0190.a42ba","type":"service-logic","name":"APPC 4.0.0","module":"APPC","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='APPC' version='4.0.0'>","outputs":1,"x":304.09282302856445,"y":164.73572540283203,"z":"7aa4b695.11473","wires":[["7c89aa4e.932024"]]},{"id":"7c89aa4e.932024","type":"method","name":"method DGOrchestrator","xml":"<method rpc='DGOrchestrator' mode='sync'>\n","comments":"","outputs":1,"x":508.64046478271484,"y":154.23572540283203,"z":"7aa4b695.11473","wires":[["c70f8f3b.05d388"]]},{"id":"c70f8f3b.05d388","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":114.90634155273438,"y":287.93809700012207,"z":"7aa4b695.11473","wires":[["381e0ace.b3f33e","5f6fb0ca.2c254","c488bd07.108a38","75917e4e.17476"]]},{"id":"75917e4e.17476","type":"call","name":"call: setInputParams","xml":"<call module=\"APPC\" rpc=\"setInputParams\" mode=\"sync\">","comments":"","outputs":1,"x":649.6642913818359,"y":204.23572635650635,"z":"7aa4b695.11473","wires":[["36ff1ffa.c778a","26081ec1.29b53a","c2f54a3a.ddf05"]]},{"id":"1210a216.c8af96","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2142.4143924713135,"y":315.6523714065552,"z":"7aa4b695.11473","wires":[["9c3d67a5.92d02"]]},{"id":"b0e87141.6fe4f8","type":"execute","name":"execute get and executeFlowSequence","xml":"<execute plugin=\"org.openecomp.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":1850.5411643981934,"y":327.96586418151855,"z":"7aa4b695.11473","wires":[["1210a216.c8af96","85baeb80.e02e8"]]},{"id":"9c3d67a5.92d02","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":2353.461868286133,"y":313.1761817932129,"z":"7aa4b695.11473","wires":[["4c31beff.349f7"]]},{"id":"88a7413.62118c","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=\"`'state : ' + $output.payload.state` \" />\n","comments":"","x":2598.9379119873047,"y":394.735652923584,"z":"7aa4b695.11473","wires":[]},{"id":"85baeb80.e02e8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":2148.2952003479004,"y":395.31900215148926,"z":"7aa4b695.11473","wires":[["91b3c0c8.bd7338"]]},{"id":"91b3c0c8.bd7338","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":2336.175952911377,"y":394.9737958908081,"z":"7aa4b695.11473","wires":[["88a7413.62118c"]]},{"id":"4c31beff.349f7","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=\"\" />\n","comments":"","x":2603.7476806640625,"y":313.11661529541016,"z":"7aa4b695.11473","wires":[]},{"id":"5f6fb0ca.2c254","type":"execute","name":"execute saveTxLog","xml":"<execute plugin=\"org.openecomp.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":314.2475776672363,"y":1005.7912883758545,"z":"7aa4b695.11473","wires":[["9340c18b.3084e8"]]},{"id":"9340c18b.3084e8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":515.6919479370117,"y":1006.707914352417,"z":"7aa4b695.11473","wires":[["af758d58.5b9778"]]},{"id":"af758d58.5b9778","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":691.1643218994141,"y":1008.2912473678589,"z":"7aa4b695.11473","wires":[[]]},{"id":"381e0ace.b3f33e","type":"set","name":"set tmp.message","xml":"<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n","comments":"","x":333.0253677368164,"y":917.9857015609741,"z":"7aa4b695.11473","wires":[]},{"id":"36ff1ffa.c778a","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":865.164306640625,"y":163.40238761901855,"z":"7aa4b695.11473","wires":[["ca660a6a.37209"]]},{"id":"26081ec1.29b53a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":859.664306640625,"y":202.4023895263672,"z":"7aa4b695.11473","wires":[["ca660a6a.37209"]]},{"id":"ca660a6a.37209","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":1032.414306640625,"y":183.90241241455078,"z":"7aa4b695.11473","wires":[[]]},{"id":"c488bd07.108a38","type":"switchNode","name":"switch error-code","xml":"<switch test='`$error-code`'>\n","comments":"","outputs":1,"x":337.8309631347656,"y":859.6524333953857,"z":"7aa4b695.11473","wires":[["3d595d5f.577762","faa2fd8b.a0c5c"]]},{"id":"3d595d5f.577762","type":"success","name":"outcome: 400","xml":"<outcome value=\"400\">","comments":"","outputs":1,"x":602.4975891113281,"y":811.9857139587402,"z":"7aa4b695.11473","wires":[["185cf26e.a85396"]]},{"id":"faa2fd8b.a0c5c","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":602.414249420166,"y":911.985746383667,"z":"7aa4b695.11473","wires":[["d829d71e.06cbb8"]]},{"id":"185cf26e.a85396","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":813.7476348876953,"y":814.6524209976196,"z":"7aa4b695.11473","wires":[["766d8c6f.46c504"]]},{"id":"d829d71e.06cbb8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":795.7474899291992,"y":913.235746383667,"z":"7aa4b695.11473","wires":[["cb724d6.bb5e03"]]},{"id":"766d8c6f.46c504","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`' />","comments":"","x":1063.4143371582031,"y":812.8190479278564,"z":"7aa4b695.11473","wires":[]},{"id":"cb724d6.bb5e03","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","comments":"","x":1032.9142837524414,"y":912.1523923873901,"z":"7aa4b695.11473","wires":[]},{"id":"3df8ebcb.3db3a4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":525.9142684936523,"y":315.5690441131592,"z":"7aa4b695.11473","wires":[["db8589d5.f5783"]]},{"id":"c2f54a3a.ddf05","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":855.497615814209,"y":242.23571968078613,"z":"7aa4b695.11473","wires":[["3df8ebcb.3db3a4"]]},{"id":"98b12577.b4145","type":"execute","name":"execute getCapability","xml":"<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getCapability\">\n<parameter name=\"caplevel\" value=\"`$action-level`\" />\n<parameter name=\"checkCapability\" value=\"`$request-action`\" />\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n\n","comments":"","outputs":1,"x":831.6644706726074,"y":463.6523542404175,"z":"7aa4b695.11473","wires":[["e327dfa0.71d49","a7e121d5.e56c78"]]},{"id":"79a2cd7a.1539c4","type":"switchNode","name":"switch capability-result","xml":"<switch test=\"`$capabilities`\">\n","comments":"","outputs":1,"x":1161.454574584961,"y":549.3952317237854,"z":"7aa4b695.11473","wires":[["2529f428.b003fc","69db5125.fc4bf","4ed07506.b71b1c"]]},{"id":"2529f428.b003fc","type":"success","name":"outcome: Not-Supported","xml":"<outcome value=\"Not-Supported\">","comments":"","outputs":1,"x":1400.6644439697266,"y":675.9856586456299,"z":"7aa4b695.11473","wires":[["b6a06ded.095718"]]},{"id":"69db5125.fc4bf","type":"success","name":"outcome: Supported","xml":"<outcome value=\"Supported\">","comments":"","outputs":1,"x":1391.5810241699219,"y":608.3190422058105,"z":"7aa4b695.11473","wires":[["b748bba.a3058c8"]]},{"id":"e327dfa0.71d49","type":"failure","name":"Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1132.7594909667969,"y":409.8428611755371,"z":"7aa4b695.11473","wires":[["54a3be90.486a98"]]},{"id":"a7e121d5.e56c78","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1117.2119979858398,"y":466.65238761901855,"z":"7aa4b695.11473","wires":[["670943f4.e09734"]]},{"id":"b6a06ded.095718","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":1690.997543334961,"y":677.6523866653442,"z":"7aa4b695.11473","wires":[]},{"id":"b748bba.a3058c8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":1612.9976196289062,"y":612.3190307617188,"z":"7aa4b695.11473","wires":[["b0e87141.6fe4f8"]]},{"id":"4ed07506.b71b1c","type":"other","name":"Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1338.3310661315918,"y":537.9857149124146,"z":"7aa4b695.11473","wires":[["b0e87141.6fe4f8"]]},{"id":"2930004b.59f6a","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":1482.6641845703125,"y":398.2357177734375,"z":"7aa4b695.11473","wires":[]},{"id":"670943f4.e09734","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":962.0492706298828,"y":549.8094539642334,"z":"7aa4b695.11473","wires":[["79a2cd7a.1539c4"]]},{"id":"55f47d04.5f65bc","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.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":1447.072998046875,"y":446.452392578125,"z":"7aa4b695.11473","wires":[[]]},{"id":"db8589d5.f5783","type":"switchNode","name":"switch action-level","xml":"<switch test='`$action-level`'>\n","comments":"","outputs":1,"x":717.1944808959961,"y":316.41671562194824,"z":"7aa4b695.11473","wires":[["c0e2c8b.089e238","9e5abf68.ff6c1"]]},{"id":"c0e2c8b.089e238","type":"success","name":"outcome: Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":614.6110458374023,"y":461.1666831970215,"z":"7aa4b695.11473","wires":[["98b12577.b4145"]]},{"id":"9e5abf68.ff6c1","type":"success","name":"outcome: vm","xml":"<outcome value='vm'>","comments":"","outputs":1,"x":912.9443511962891,"y":313.83336639404297,"z":"7aa4b695.11473","wires":[["6c0f9755.4e6f38"]]},{"id":"54a3be90.486a98","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":1285.99755859375,"y":408.90234375,"z":"7aa4b695.11473","wires":[["2930004b.59f6a","55f47d04.5f65bc"]]},{"id":"6c0f9755.4e6f38","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">\n\n","atomic":"true","comments":"","outputs":1,"x":1128.4166717529297,"y":314.74999809265137,"z":"7aa4b695.11473","wires":[["b0e87141.6fe4f8"]]}] +[ + { + "id": "af863c5e.90e748", + "name": "DGSTART", + "outputs": 1, + "type": "dgstart", + "wires": [ + [ + "d9df0190.a42ba" + ] + ], + "x": 146.75, + "y": 164.75, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "d9df0190.a42ba", + "module": "APPC", + "name": "APPC 4.0.0", + "outputs": 1, + "type": "service-logic", + "version": "4.0.0", + "wires": [ + [ + "7c89aa4e.932024" + ] + ], + "x": 304.09282302856445, + "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'>", + "y": 164.73572540283203, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "7c89aa4e.932024", + "name": "method DGOrchestrator", + "outputs": 1, + "type": "method", + "wires": [ + [ + "c70f8f3b.05d388" + ] + ], + "x": 508.64046478271484, + "xml": "<method rpc='DGOrchestrator' mode='sync'>\n", + "y": 154.23572540283203, + "z": "7aa4b695.11473" + }, + { + "atomic": "true", + "comments": "", + "id": "c70f8f3b.05d388", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "381e0ace.b3f33e", + "5f6fb0ca.2c254", + "c488bd07.108a38", + "75917e4e.17476" + ] + ], + "x": 114.90634155273438, + "xml": "<block atomic=\"true\">", + "y": 287.93809700012207, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "75917e4e.17476", + "name": "call: setInputParams", + "outputs": 1, + "type": "call", + "wires": [ + [ + "36ff1ffa.c778a", + "26081ec1.29b53a", + "c2f54a3a.ddf05" + ] + ], + "x": 649.6642913818359, + "xml": "<call module=\"APPC\" rpc=\"setInputParams\" mode=\"sync\">", + "y": 204.23572635650635, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "1210a216.c8af96", + "name": "failure", + "outputs": 1, + "type": "failure", + "wires": [ + [ + "9c3d67a5.92d02" + ] + ], + "x": 2142.4143924713135, + "xml": "<outcome value='failure'>\n", + "y": 315.6523714065552, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "b0e87141.6fe4f8", + "name": "execute get and executeFlowSequence", + "outputs": 1, + "type": "execute", + "wires": [ + [ + "1210a216.c8af96", + "85baeb80.e02e8" + ] + ], + "x": 1850.5411643981934, + "xml": "<execute plugin=\"org.openecomp.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", + "y": 327.96586418151855, + "z": "7aa4b695.11473" + }, + { + "atomic": "true", + "comments": "", + "id": "9c3d67a5.92d02", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "4c31beff.349f7" + ] + ], + "x": 2353.461868286133, + "xml": "<block atomic=\"true\">", + "y": 313.1761817932129, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "88a7413.62118c", + "name": "set error-code 400 and message", + "type": "set", + "wires": [], + "x": 2598.9379119873047, + "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=\"`'state : ' + $output.payload.state` \" />\n", + "y": 394.735652923584, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "85baeb80.e02e8", + "name": "success", + "outputs": 1, + "type": "success", + "wires": [ + [ + "91b3c0c8.bd7338" + ] + ], + "x": 2148.2952003479004, + "xml": "<outcome value='success'>\n", + "y": 395.31900215148926, + "z": "7aa4b695.11473" + }, + { + "atomic": "true", + "comments": "", + "id": "91b3c0c8.bd7338", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "88a7413.62118c" + ] + ], + "x": 2336.175952911377, + "xml": "<block atomic=\"true\">", + "y": 394.9737958908081, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "4c31beff.349f7", + "name": "set error-code 401 and message", + "type": "set", + "wires": [], + "x": 2603.7476806640625, + "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=\"\" />\n", + "y": 313.11661529541016, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "5f6fb0ca.2c254", + "name": "execute saveTxLog", + "outputs": 1, + "type": "execute", + "wires": [ + [ + "9340c18b.3084e8" + ] + ], + "x": 314.2475776672363, + "xml": "<execute plugin=\"org.openecomp.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", + "y": 1005.7912883758545, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "9340c18b.3084e8", + "name": "failure", + "outputs": 1, + "type": "failure", + "wires": [ + [ + "af758d58.5b9778" + ] + ], + "x": 515.6919479370117, + "xml": "<outcome value='failure'>\n", + "y": 1006.707914352417, + "z": "7aa4b695.11473" + }, + { + "atomic": "true", + "comments": "", + "id": "af758d58.5b9778", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [] + ], + "x": 691.1643218994141, + "xml": "<block atomic=\"true\">", + "y": 1008.2912473678589, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "381e0ace.b3f33e", + "name": "set tmp.message", + "type": "set", + "wires": [], + "x": 333.0253677368164, + "xml": "<set>\n<parameter name=\"tmp.message\" value=\"`$error-code + ':' + $error-message`\"/>\n", + "y": 917.9857015609741, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "36ff1ffa.c778a", + "name": "not-found", + "outputs": 1, + "type": "not-found", + "wires": [ + [ + "ca660a6a.37209" + ] + ], + "x": 865.164306640625, + "xml": "<outcome value='not-found'>\n", + "y": 163.40238761901855, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "26081ec1.29b53a", + "name": "failure", + "outputs": 1, + "type": "failure", + "wires": [ + [ + "ca660a6a.37209" + ] + ], + "x": 859.664306640625, + "xml": "<outcome value='failure'>\n", + "y": 202.4023895263672, + "z": "7aa4b695.11473" + }, + { + "atomic": "true", + "comments": "", + "id": "ca660a6a.37209", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [] + ], + "x": 1032.414306640625, + "xml": "<block atomic=\"true\">\n\n", + "y": 183.90241241455078, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "c488bd07.108a38", + "name": "switch error-code", + "outputs": 1, + "type": "switchNode", + "wires": [ + [ + "3d595d5f.577762", + "faa2fd8b.a0c5c" + ] + ], + "x": 337.8309631347656, + "xml": "<switch test='`$error-code`'>\n", + "y": 859.6524333953857, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "3d595d5f.577762", + "name": "outcome: 400", + "outputs": 1, + "type": "success", + "wires": [ + [ + "185cf26e.a85396" + ] + ], + "x": 602.4975891113281, + "xml": "<outcome value=\"400\">", + "y": 811.9857139587402, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "faa2fd8b.a0c5c", + "name": "outcome: Other", + "outputs": 1, + "type": "success", + "wires": [ + [ + "d829d71e.06cbb8" + ] + ], + "x": 602.414249420166, + "xml": "<outcome value=\"Other\">", + "y": 911.985746383667, + "z": "7aa4b695.11473" + }, + { + "atomic": "true", + "id": "185cf26e.a85396", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "766d8c6f.46c504" + ] + ], + "x": 813.7476348876953, + "xml": "<block atomic=\"true\">", + "y": 814.6524209976196, + "z": "7aa4b695.11473" + }, + { + "atomic": "true", + "id": "d829d71e.06cbb8", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "cb724d6.bb5e03" + ] + ], + "x": 795.7474899291992, + "xml": "<block atomic=\"true\">", + "y": 913.235746383667, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "766d8c6f.46c504", + "name": "set Status for dispatcher", + "type": "set", + "wires": [], + "x": 1063.4143371582031, + "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`' />", + "y": 812.8190479278564, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "cb724d6.bb5e03", + "name": "set Status for dispatcher", + "type": "set", + "wires": [], + "x": 1032.9142837524414, + "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", + "y": 912.1523923873901, + "z": "7aa4b695.11473" + }, + { + "atomic": "true", + "comments": "", + "id": "3df8ebcb.3db3a4", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "db8589d5.f5783" + ] + ], + "x": 525.9142684936523, + "xml": "<block atomic=\"true\">", + "y": 315.5690441131592, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "c2f54a3a.ddf05", + "name": "success", + "outputs": 1, + "type": "success", + "wires": [ + [ + "3df8ebcb.3db3a4" + ] + ], + "x": 855.497615814209, + "xml": "<outcome value='success'>\n", + "y": 242.23571968078613, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "98b12577.b4145", + "name": "execute getCapability", + "outputs": 1, + "type": "execute", + "wires": [ + [ + "e327dfa0.71d49", + "a7e121d5.e56c78" + ] + ], + "x": 831.6644706726074, + "xml": "<execute plugin=\"org.openecomp.appc.data.services.node.ConfigResourceNode\" method=\"getCapability\">\n<parameter name=\"caplevel\" value=\"`$action-level`\" />\n<parameter name=\"checkCapability\" value=\"`$request-action`\" />\n<parameter name=\"vnf-type\" value=\"`$vnf-type`\" />\n\n", + "y": 463.6523542404175, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "79a2cd7a.1539c4", + "name": "switch capability-result", + "outputs": 1, + "type": "switchNode", + "wires": [ + [ + "2529f428.b003fc", + "69db5125.fc4bf", + "4ed07506.b71b1c" + ] + ], + "x": 1161.454574584961, + "xml": "<switch test=\"`$capabilities`\">\n", + "y": 549.3952317237854, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "2529f428.b003fc", + "name": "outcome: Not-Supported", + "outputs": 1, + "type": "success", + "wires": [ + [ + "b6a06ded.095718" + ] + ], + "x": 1400.6644439697266, + "xml": "<outcome value=\"Not-Supported\">", + "y": 675.9856586456299, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "69db5125.fc4bf", + "name": "outcome: Supported", + "outputs": 1, + "type": "success", + "wires": [ + [ + "b748bba.a3058c8" + ] + ], + "x": 1391.5810241699219, + "xml": "<outcome value=\"Supported\">", + "y": 608.3190422058105, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "e327dfa0.71d49", + "name": "Other", + "outputs": 1, + "type": "failure", + "wires": [ + [ + "54a3be90.486a98" + ] + ], + "x": 1132.7594909667969, + "xml": "<outcome value='Other'>\n", + "y": 409.8428611755371, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "a7e121d5.e56c78", + "name": "success", + "outputs": 1, + "type": "success", + "wires": [ + [ + "670943f4.e09734" + ] + ], + "x": 1117.2119979858398, + "xml": "<outcome value='success'>\n", + "y": 466.65238761901855, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "b6a06ded.095718", + "name": "set error-code 450 and message", + "type": "set", + "wires": [], + "x": 1690.997543334961, + "xml": "<set>\n<parameter name='error-code' value='450' />\n<parameter name='error-message' value=\"Request not supported\" />\n<parameter name='output-payload' value=\"\" />", + "y": 677.6523866653442, + "z": "7aa4b695.11473" + }, + { + "atomic": "true", + "comments": "", + "id": "b748bba.a3058c8", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "b0e87141.6fe4f8" + ] + ], + "x": 1612.9976196289062, + "xml": "<block atomic=\"true\">", + "y": 612.3190307617188, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "4ed07506.b71b1c", + "name": "Other", + "outputs": 1, + "type": "other", + "wires": [ + [ + "b0e87141.6fe4f8" + ] + ], + "x": 1338.3310661315918, + "xml": "<outcome value='Other'>\n", + "y": 537.9857149124146, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "2930004b.59f6a", + "name": "set error code 401", + "type": "set", + "wires": [], + "x": 1482.6641845703125, + "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", + "y": 398.2357177734375, + "z": "7aa4b695.11473" + }, + { + "atomic": "true", + "comments": "", + "id": "670943f4.e09734", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "79a2cd7a.1539c4" + ] + ], + "x": 962.0492706298828, + "xml": "<block atomic=\"true\">\n\n", + "y": 549.8094539642334, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "55f47d04.5f65bc", + "name": "record", + "outputs": 1, + "type": "record", + "wires": [ + [] + ], + "x": 1447.072998046875, + "xml": "<record plugin=\"org.onap.sdnc.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`\" />", + "y": 446.452392578125, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "db8589d5.f5783", + "name": "switch action-level", + "outputs": 1, + "type": "switchNode", + "wires": [ + [ + "c0e2c8b.089e238", + "9e5abf68.ff6c1" + ] + ], + "x": 717.1944808959961, + "xml": "<switch test='`$action-level`'>\n", + "y": 316.41671562194824, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "c0e2c8b.089e238", + "name": "outcome: Other", + "outputs": 1, + "type": "success", + "wires": [ + [ + "98b12577.b4145" + ] + ], + "x": 614.6110458374023, + "xml": "<outcome value='Other'>", + "y": 461.1666831970215, + "z": "7aa4b695.11473" + }, + { + "comments": "", + "id": "9e5abf68.ff6c1", + "name": "outcome: vm", + "outputs": 1, + "type": "success", + "wires": [ + [ + "6c0f9755.4e6f38" + ] + ], + "x": 912.9443511962891, + "xml": "<outcome value='vm'>", + "y": 313.83336639404297, + "z": "7aa4b695.11473" + }, + { + "atomic": "true", + "comments": "", + "id": "54a3be90.486a98", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "2930004b.59f6a", + "55f47d04.5f65bc" + ] + ], + "x": 1285.99755859375, + "xml": "<block atomic=\"true\">\n\n", + "y": 408.90234375, + "z": "7aa4b695.11473" + }, + { + "atomic": "true", + "comments": "", + "id": "6c0f9755.4e6f38", + "name": "block : atomic", + "outputs": 1, + "type": "block", + "wires": [ + [ + "b0e87141.6fe4f8" + ] + ], + "x": 1128.4166717529297, + "xml": "<block atomic=\"true\">\n\n", + "y": 314.74999809265137, + "z": "7aa4b695.11473" + } +] |