summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-operation.json
diff options
context:
space:
mode:
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-operation.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-operation.json1155
1 files changed, 1154 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-operation.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-operation.json
index d8b29da03..a426f3cc1 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-operation.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-operation.json
@@ -1 +1,1154 @@
-[{"id":"b3509dbf.084df","type":"comment","name":"service-configuration-operation","info":"","comments":"","x":1233.3332824707031,"y":125.33335876464844,"z":"57f142c6.1f478c","wires":[]},{"id":"337f0433.e9ec7c","type":"dgstart","name":"DGSTART","outputs":1,"x":93.66665649414062,"y":99.66668701171875,"z":"57f142c6.1f478c","wires":[["d12b2f59.1acc5"]]},{"id":"d12b2f59.1acc5","type":"service-logic","name":"Appc-API 4.0.0","module":"Appc-API","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-API' version='4.0.0'>","outputs":1,"x":274.66668701171875,"y":99,"z":"57f142c6.1f478c","wires":[["99a183f8.1b55b"]]},{"id":"99a183f8.1b55b","type":"method","name":"method service-configuration-operation","xml":"<method rpc='service-configuration-operation' mode='sync'>\n","comments":"","outputs":1,"x":549.3333435058594,"y":104.00001525878906,"z":"57f142c6.1f478c","wires":[["da27abb6.e9a128"]]},{"id":"2c3a60cb.7af1c","type":"switchNode","name":"switch: request-action","xml":"<switch test=\"`$service-configuration-operation-input.request-information.request-action`\">\n<!--\n leaf request-action {\n type enumeration {\n enum \"VsbgServiceActivateRequest\";\n }\n }\n}\n-->\n\n","comments":"","outputs":1,"x":159.83340454101562,"y":663.0000305175781,"z":"57f142c6.1f478c","wires":[["ce54964e.79ea38","fe8b9eb9.73ad2","78d15bd7.84caa4"]]},{"id":"ce54964e.79ea38","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":381.1743469238281,"y":1447.136474609375,"z":"57f142c6.1f478c","wires":[["f098f080.0fb19"]]},{"id":"fe8b9eb9.73ad2","type":"outcome","name":"VsbgServiceActivateRequest","xml":"<outcome value='VsbgServiceActivateRequest'>","comments":"","outputs":1,"x":477.8334655761719,"y":646.416748046875,"z":"57f142c6.1f478c","wires":[["fa999334.02fee"]]},{"id":"f098f080.0fb19","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-action not recognized'/>\n","comments":"","x":571.2252502441406,"y":1447.0010986328125,"z":"57f142c6.1f478c","wires":[]},{"id":"87a37d2a.6ca3e","type":"call","name":"call: service-configuration-activate","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-activate\" mode=\"sync\">","comments":"","outputs":1,"x":1874.4999084472656,"y":637.4166259765625,"z":"57f142c6.1f478c","wires":[[]]},{"id":"fa999334.02fee","type":"switchNode","name":"switch: request-sub-action","xml":"<switch test=\"`$service-configuration-operation-input.request-information.request-sub-action`\">\n<!--\n leaf request-sub-action {\n type enumeration {\n enum \"PREPARE\";\n enum \"ACTIVATE\";\n }\n }\n} \n-->","comments":"","outputs":1,"x":761.1110534667969,"y":645.2222900390625,"z":"57f142c6.1f478c","wires":[["100480f1.8fdcef","1ab975fc.edd7ca","7c055852.c45578"]]},{"id":"100480f1.8fdcef","type":"outcome","name":"PREPARE","xml":"<outcome value='PREPARE'>","comments":"","outputs":1,"x":994.3333435058594,"y":406.666748046875,"z":"57f142c6.1f478c","wires":[["cc499bb2.e44078"]]},{"id":"1ab975fc.edd7ca","type":"other","name":"ACTIVATE","xml":"<outcome value='ACTIVATE'>","comments":"","outputs":1,"x":1025.6663513183594,"y":629.6666259765625,"z":"57f142c6.1f478c","wires":[["21e1499f.20daa6"]]},{"id":"d36bac8b.003aa","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"service-configuration-operation\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-operation-input.appc-request-header.svc-action`\"/>\n<parameter name=\"field4\" value=\"`$service-configuration-operation-input.appc-request-header.svc-request-id`\"/>\n<parameter name=\"field5\" value=\"`$service-configuration-operation-input.service-information.service-instance-id`\"/>\n<parameter name=\"field6\" value=\"`$service-configuration-operation-input.request-information.request-id`\"/>\n<parameter name=\"field7\" value=\"`$service-configuration-operation-input.request-information.request-action`\"/>\n<parameter name=\"field8\" value=\"`$service-configuration-operation-input.request-information.source`\"/>\n<parameter name=\"field9\" value=\"`$service-configuration-operation-input.service-information.service-instance-id`\"/>\n<parameter name=\"field10\" value=\"`$service-configuration-operation-input.service-information.service-type`\"/>\n<parameter name=\"field11\" value=\"`$service-configuration-operation-input.request-information.request-sub-action`\"/>","comments":"","outputs":1,"x":264.6667175292969,"y":213.33335876464844,"z":"57f142c6.1f478c","wires":[[]]},{"id":"da27abb6.e9a128","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":77,"y":204.33335876464844,"z":"57f142c6.1f478c","wires":[["d36bac8b.003aa","50935a83.2d88f4","fad64f0.0ca0eb"]]},{"id":"50935a83.2d88f4","type":"set","name":"set:service-data based on input: request-id ,svc-request-id & service-type","xml":"<set>\n\t\n\t<parameter name=\"service-data.request-information.request-id\" value=\"`$service-configuration-operation-input.request-information.request-id`\" />\n\t<parameter name=\"service-data.request-information.notification-url\" value=\"`$service-configuration-operation-input.request-information.notification-url`\" />\n\t<parameter name=\"service-data.request-information.request-action\" value=\"`$service-configuration-operation-input.request-information.request-action`\" />\n\t<parameter name=\"service-data.request-information.source\" value=\"`$service-configuration-operation-input.request-information.source`\" />\n\t<parameter name=\"service-data.request-information.order-number\" value=\"`$service-configuration-operation-input.request-information.order-number`\" />\n\t<parameter name=\"service.request-information.order-version\" value=\"`$service-configuration-operation-input.request-information.order-version`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-request-id\" value=\"`$service-configuration-operation-input.appc-request-header.svc-request-id`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-action\" value=\"`$service-configuration-operation-input.appc-request-header.svc-action`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-notification-url\" value=\"`$service-configuration-operation-input.appc-request-header.svc-notification-url`\" />\n\t<!-- \n\t<parameter name=\"service-data.service-information.service-instance-id\" value=\"`$service-configuration-operation-input.service-information.service-instance-id`\" />\n\t-->\n\t<parameter name=\"service-data.service-information.service-type\" value=\"`$service-configuration-operation-input.service-information.service-type`\" />\n\t<parameter name=\"service-data.request-information.request-sub-action\" value=\"`$service-configuration-operation-input.request-information.request-sub-action`\" />\n\n\t\n\t<!-- set service-data based on input only for Prepare\n\t<parameter name=\"service-data.\" value=\"`$service-configuration-operation-input.`\" />\n\t-->\n\t","comments":"","x":470.3333435058594,"y":178.00003051757812,"z":"57f142c6.1f478c","wires":[]},{"id":"e1359cee.43a9f","type":"call","name":"call: service-configuration-prepare","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-prepare\" mode=\"sync\">","comments":"","outputs":1,"x":1868.8332824707031,"y":399.3333740234375,"z":"57f142c6.1f478c","wires":[[]]},{"id":"1a154772.444899","type":"call","name":"call: service-configuration-backup","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-backup\" mode=\"sync\">","comments":"","outputs":1,"x":1895.8332824707031,"y":1118.3333129882812,"z":"57f142c6.1f478c","wires":[[]]},{"id":"fad64f0.0ca0eb","type":"switchNode","name":"switch: last-sub-action-status","xml":"<switch test=\"`$service-data.oper-status.last-sub-action-status`\">\n","comments":"","outputs":1,"x":332.8333435058594,"y":257.33335876464844,"z":"57f142c6.1f478c","wires":[["a0cc216d.461e7","17e973e8.0fc1ac"]]},{"id":"a0cc216d.461e7","type":"outcome","name":"InProgress","xml":"<outcome value='InProgress'>","comments":"","outputs":1,"x":556.8333435058594,"y":257.33335876464844,"z":"57f142c6.1f478c","wires":[["c17c511.dddb7b"]]},{"id":"c17c511.dddb7b","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":725.8333435058594,"y":255.33335876464844,"z":"57f142c6.1f478c","wires":[["db7678e6.fdbd48","2bea4db9.267f82","8ea5da83.26cac8","2c3a60cb.7af1c"]]},{"id":"db7678e6.fdbd48","type":"execute","name":"execute getTimeDifference","xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.ipAddressTools.IpAddressTool\" method=\"getTimeDifference\">\n\t<parameter name=\"inDate\" value=\"`$service-data.oper-status.modify-timestamp`\"/>\n\t<parameter name=\"ctxTempVariable\" value=\"tmp.inprogress-time\"/>","comments":"","outputs":1,"x":950.8333435058594,"y":172.33335876464844,"z":"57f142c6.1f478c","wires":[[]]},{"id":"2bea4db9.267f82","type":"switchNode","name":"switch: tmp.inprogress-time > 6 min (360 seconds)","xml":"<switch test=\"`$tmp.inprogress-time > 360`\">","comments":"","outputs":1,"x":1035.8333435058594,"y":217.33335876464844,"z":"57f142c6.1f478c","wires":[["79a11948.fe39d8"]]},{"id":"8ea5da83.26cac8","type":"set","name":"set: last-sub-action-status = InProgressTimeout","xml":"<set>\n\t<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"InProgressTimeout\" />","comments":"","x":1018.8333435058594,"y":268.33335876464844,"z":"57f142c6.1f478c","wires":[]},{"id":"79a11948.fe39d8","type":"outcomeFalse","name":"false ","xml":"<outcome value='false'>","comments":"","outputs":1,"x":1319.8333435058594,"y":214.33335876464844,"z":"57f142c6.1f478c","wires":[["a7a2d095.18535"]]},{"id":"a7a2d095.18535","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Still processing your previous request.'/>","comments":"","x":1488.8333435058594,"y":214.33335876464844,"z":"57f142c6.1f478c","wires":[]},{"id":"17e973e8.0fc1ac","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":552.8333435058594,"y":305.33335876464844,"z":"57f142c6.1f478c","wires":[["2c3a60cb.7af1c"]]},{"id":"78d15bd7.84caa4","type":"outcome","name":"VsbgServiceBackupRequest","xml":"<outcome value='VsbgServiceBackupRequest'>","comments":"","outputs":1,"x":430.8333435058594,"y":1239.3333740234375,"z":"57f142c6.1f478c","wires":[["ea4d78dd.6dcd78"]]},{"id":"ea4d78dd.6dcd78","type":"switchNode","name":"switch: request-sub-action","xml":"<switch test=\"`$service-configuration-operation-input.request-information.request-sub-action`\">\n<!--\n leaf request-sub-action {\n type enumeration {\n enum \"PREPARE\";\n enum \"ACTIVATE\";\n }\n }\n} \n-->","comments":"","outputs":1,"x":708.8333435058594,"y":1233.3333740234375,"z":"57f142c6.1f478c","wires":[["84453abd.a768b8","28792623.ef98aa","9787f6e7.6ccf78"]]},{"id":"98a0765b.ccc488","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-sub-action not recognized'/>\n","comments":"","x":1231.8333435058594,"y":946.3333740234375,"z":"57f142c6.1f478c","wires":[]},{"id":"7c055852.c45578","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":994.8333435058594,"y":948.3333740234375,"z":"57f142c6.1f478c","wires":[["98a0765b.ccc488"]]},{"id":"84453abd.a768b8","type":"outcome","name":"BACKUP","xml":"<outcome value='BACKUP'>","comments":"","outputs":1,"x":961.8333435058594,"y":1162.3333740234375,"z":"57f142c6.1f478c","wires":[["958a3503.5b2248"]]},{"id":"9787f6e7.6ccf78","type":"other","name":"RESTOREBACKUP","xml":"<outcome value='RESTOREBACKUP'>","comments":"","outputs":1,"x":993.8333435058594,"y":1301.3333740234375,"z":"57f142c6.1f478c","wires":[["424610c8.86c17"]]},{"id":"28792623.ef98aa","type":"other","name":"DELETEBACKUP","xml":"<outcome value='DELETEBACKUP'>","comments":"","outputs":1,"x":987.8333435058594,"y":1226.3333740234375,"z":"57f142c6.1f478c","wires":[["958a3503.5b2248"]]},{"id":"cc499bb2.e44078","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1196.8334045410156,"y":404,"z":"57f142c6.1f478c","wires":[["5a5419b8.fc9918","31add50b.19bf1a"]]},{"id":"5a5419b8.fc9918","type":"switchNode","name":"switch: vnf-type","xml":"<switch test=\"`$vnf-type`\">\n\n\n\n","comments":"","outputs":1,"x":1390.8333740234375,"y":445.99998474121094,"z":"57f142c6.1f478c","wires":[["1e58ebd8.081eb4","954b003f.67029","9a9bdf49.8ba78"]]},{"id":"91388dfc.6747d","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1616.8334045410156,"y":530,"z":"57f142c6.1f478c","wires":[["24a0fbd6.988d54"]]},{"id":"24a0fbd6.988d54","type":"call","name":"call: service-configuration-prepare-sbc","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-prepare-sbc\" mode=\"sync\">","comments":"","outputs":1,"x":1865.8334045410156,"y":531,"z":"57f142c6.1f478c","wires":[[]]},{"id":"21e1499f.20daa6","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1200.8334045410156,"y":632,"z":"57f142c6.1f478c","wires":[["e4abddd7.b20bb","644356b8.a81388"]]},{"id":"e4abddd7.b20bb","type":"switchNode","name":"switch: vnf-type","xml":"<switch test=\"`$vnf-type`\">\n\n\n","comments":"","outputs":1,"x":1407.8333740234375,"y":687.9999847412109,"z":"57f142c6.1f478c","wires":[["a8bcf335.4b6e2","2095438c.a75e9c","bb4c3fe0.cf855"]]},{"id":"b625abfb.61b5b8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1612.8334045410156,"y":865,"z":"57f142c6.1f478c","wires":[["8f4ded84.df145"]]},{"id":"8f4ded84.df145","type":"call","name":"call: service-configuration-activate-sbc","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-activate-sbc\" mode=\"sync\">","comments":"","outputs":1,"x":1870.8334045410156,"y":865,"z":"57f142c6.1f478c","wires":[[]]},{"id":"5ed23ab3.8f89b4","type":"switchNode","name":"switch: vnf-type","xml":"<switch test=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\">\n\n\n","comments":"","outputs":1,"x":1426.8333435058594,"y":1180,"z":"57f142c6.1f478c","wires":[["9e313562.3da0e8","e1d6aa6b.f84178","90f39d1d.80f2e","49273b18.628b74"]]},{"id":"9e313562.3da0e8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1603.8334045410156,"y":1225.9999389648438,"z":"57f142c6.1f478c","wires":[["cacc58e7.d542e8"]]},{"id":"cacc58e7.d542e8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-sub-action not recognized'/>\n","comments":"","x":1767.8334045410156,"y":1226.9999389648438,"z":"57f142c6.1f478c","wires":[]},{"id":"958a3503.5b2248","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1164.8333435058594,"y":1182,"z":"57f142c6.1f478c","wires":[["5ed23ab3.8f89b4","74cd7b8e.ce5be4"]]},{"id":"424610c8.86c17","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1201.8333435058594,"y":1301,"z":"57f142c6.1f478c","wires":[["71166b82.41c6b4","12ceb3cb.d87cac"]]},{"id":"71166b82.41c6b4","type":"switchNode","name":"switch: vnf-type","xml":"<switch test=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\">\n\n\n","comments":"","outputs":1,"x":1403.8333740234375,"y":1401.999984741211,"z":"57f142c6.1f478c","wires":[["5c593415.be3a7c","e4202ecb.1ac4c","ee07041c.0ca338","817e32b6.557fd"]]},{"id":"9f48a4dd.288c18","type":"other","name":"ISBC","xml":"<outcome value='ISBC'>","comments":"","outputs":1,"x":1610.8334045410156,"y":1359.9999389648438,"z":"57f142c6.1f478c","wires":[["cf377cc7.2c72f"]]},{"id":"5c593415.be3a7c","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1593.8334045410156,"y":1592.9999389648438,"z":"57f142c6.1f478c","wires":[["e23a5427.dc90c8"]]},{"id":"912b075b.2b9118","type":"call","name":"call: service-configuration-backup","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-backup\" mode=\"sync\">","comments":"","outputs":1,"x":1862.8334045410156,"y":1496.9999389648438,"z":"57f142c6.1f478c","wires":[[]]},{"id":"cf377cc7.2c72f","type":"call","name":"call: service-configuration-restorebkup-sbc","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-restorebkup-sbc\" mode=\"sync\">","comments":"","outputs":1,"x":1987.8334045410156,"y":1357.9999389648438,"z":"57f142c6.1f478c","wires":[[]]},{"id":"e0db2af5.61e098","type":"comment","name":"Use vnftype from config tree","info":"","comments":"","x":1106.8334045410156,"y":586,"z":"57f142c6.1f478c","wires":[]},{"id":"a8bcf335.4b6e2","type":"outcome","name":"N-SBG","xml":"<outcome value='N-SBG'>\n","comments":"","outputs":1,"x":1616.5499572753906,"y":602.8833618164062,"z":"57f142c6.1f478c","wires":[["87a37d2a.6ca3e"]]},{"id":"6947ff76.6c01d","type":"outcome","name":"TSBC","xml":"<outcome value='TSBC'>\n","comments":"","outputs":1,"x":1612,"y":1316.3333587646484,"z":"57f142c6.1f478c","wires":[["cf377cc7.2c72f"]]},{"id":"31add50b.19bf1a","type":"set","name":"set VNF-Type","xml":"<set>\n<parameter name=\"vnf-type\" value=\"`$service-configuration-operation-input.vnf-config-parameters-list.vnf-config-parameters[0].vnf-type`\" />\n\t\n","comments":"","x":1403,"y":374.33335876464844,"z":"57f142c6.1f478c","wires":[]},{"id":"644356b8.a81388","type":"set","name":"set VNF-Type","xml":"<set>\n<parameter name=\"vnf-type\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[0].vnf-type`\" />\n\t\n","comments":"","x":1424,"y":596.3333587646484,"z":"57f142c6.1f478c","wires":[]},{"id":"74cd7b8e.ce5be4","type":"set","name":"set VNF-Type","xml":"<set>\n<parameter name=\"vnf-type\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\" />\n\t\n","comments":"","x":1421,"y":1112.3333587646484,"z":"57f142c6.1f478c","wires":[]},{"id":"12ceb3cb.d87cac","type":"set","name":"set VNF-Type","xml":"<set>\n<parameter name=\"vnf-type\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\" />\n\t\n","comments":"","x":1410,"y":1300.3333587646484,"z":"57f142c6.1f478c","wires":[]},{"id":"e4202ecb.1ac4c","type":"outcome","name":"N-SBG","xml":"<outcome value='N-SBG'>\n","comments":"","outputs":1,"x":1611.6666564941406,"y":1457.6666870117188,"z":"57f142c6.1f478c","wires":[["912b075b.2b9118"]]},{"id":"e23a5427.dc90c8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-sub-action not recognized'/>\n","comments":"","x":1767.6666564941406,"y":1592.6666870117188,"z":"57f142c6.1f478c","wires":[]},{"id":"1e58ebd8.081eb4","type":"other","name":"A-SBG","xml":"<outcome value='A-SBG'>","comments":"","outputs":1,"x":1613.6666564941406,"y":401.66668701171875,"z":"57f142c6.1f478c","wires":[["e1359cee.43a9f"]]},{"id":"9a9bdf49.8ba78","type":"other","name":"N-SBG","xml":"<outcome value='N-SBG'>","comments":"","outputs":1,"x":1615.6666564941406,"y":358.66668701171875,"z":"57f142c6.1f478c","wires":[["e1359cee.43a9f"]]},{"id":"954b003f.67029","type":"other","name":"T-SBG","xml":"<outcome value='T-SBG'>","comments":"","outputs":1,"x":1614.6666564941406,"y":447.66668701171875,"z":"57f142c6.1f478c","wires":[["e1359cee.43a9f"]]},{"id":"2095438c.a75e9c","type":"other","name":"A-SBG","xml":"<outcome value='A-SBG'>","comments":"","outputs":1,"x":1614.6666564941406,"y":640.6666870117188,"z":"57f142c6.1f478c","wires":[["87a37d2a.6ca3e"]]},{"id":"bb4c3fe0.cf855","type":"other","name":"T-SBG","xml":"<outcome value='T-SBG'>","comments":"","outputs":1,"x":1614.6666564941406,"y":687.6666870117188,"z":"57f142c6.1f478c","wires":[["87a37d2a.6ca3e"]]},{"id":"e1d6aa6b.f84178","type":"outcome","name":"N-SBG","xml":"<outcome value='N-SBG'>\n","comments":"","outputs":1,"x":1608.6666564941406,"y":1066.6666870117188,"z":"57f142c6.1f478c","wires":[["1a154772.444899"]]},{"id":"90f39d1d.80f2e","type":"other","name":"A-SBG","xml":"<outcome value='A-SBG'>","comments":"","outputs":1,"x":1609.6666564941406,"y":1107.6666870117188,"z":"57f142c6.1f478c","wires":[["1a154772.444899"]]},{"id":"49273b18.628b74","type":"other","name":"T-SBG","xml":"<outcome value='T-SBG'>","comments":"","outputs":1,"x":1610.6666564941406,"y":1152.6666870117188,"z":"57f142c6.1f478c","wires":[["1a154772.444899"]]},{"id":"a9b42c2b.83b31","type":"outcome","name":"vDBE-V","xml":"<outcome value='vDBE-V'>\n","comments":"","outputs":1,"x":1615.6666564941406,"y":737.6666870117188,"z":"57f142c6.1f478c","wires":[["c5f4780c.2868d8"]]},{"id":"c1b3fa8.0bc5e08","type":"other","name":"vDBE-I","xml":"<outcome value='vDBE-I'>","comments":"","outputs":1,"x":1614.6666564941406,"y":776.6666870117188,"z":"57f142c6.1f478c","wires":[["c5f4780c.2868d8"]]},{"id":"c8dfc4c3.d05048","type":"other","name":"vDBE-P","xml":"<outcome value='vDBE-P'>","comments":"","outputs":1,"x":1610.6666564941406,"y":821.6666870117188,"z":"57f142c6.1f478c","wires":[["c5f4780c.2868d8"]]},{"id":"c5f4780c.2868d8","type":"call","name":"call: service-configuration-activate-vdbe","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-activate-vdbe\" mode=\"sync\">","comments":"","outputs":1,"x":1906.6666564941406,"y":771.6666870117188,"z":"57f142c6.1f478c","wires":[[]]},{"id":"ee07041c.0ca338","type":"other","name":"A-SBG","xml":"<outcome value='A-SBG'>","comments":"","outputs":1,"x":1607.6666564941406,"y":1500.6666870117188,"z":"57f142c6.1f478c","wires":[["912b075b.2b9118"]]},{"id":"817e32b6.557fd","type":"other","name":"T-SBG","xml":"<outcome value='T-SBG'>","comments":"","outputs":1,"x":1610.6666564941406,"y":1536.6666870117188,"z":"57f142c6.1f478c","wires":[["912b075b.2b9118"]]},{"id":"2dd38ed4.235162","type":"outcome","name":"vUSP - Metaswitch vSBC","xml":"<outcome value='vUSP - Metaswitch vSBC'>\n","comments":"","outputs":1,"x":1662.6666564941406,"y":1403.6666870117188,"z":"57f142c6.1f478c","wires":[["cf377cc7.2c72f"]]},{"id":"c7742018.c7acd","type":"comment","name":"Keep only SBG Flow","info":"","comments":"","x":1800,"y":311,"z":"57f142c6.1f478c","wires":[]}]
+[
+ {
+ "id": "b3509dbf.084df",
+ "type": "comment",
+ "name": "service-configuration-operation",
+ "info": "",
+ "comments": "",
+ "x": 1233.3332824707031,
+ "y": 125.33335876464844,
+ "z": "57f142c6.1f478c",
+ "wires": []
+ },
+ {
+ "id": "337f0433.e9ec7c",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 93.66665649414062,
+ "y": 99.66668701171875,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "d12b2f59.1acc5"
+ ]
+ ]
+ },
+ {
+ "id": "d12b2f59.1acc5",
+ "type": "service-logic",
+ "name": "Appc-API 4.0.0",
+ "module": "Appc-API",
+ "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-API' version='4.0.0'>",
+ "outputs": 1,
+ "x": 274.66668701171875,
+ "y": 99,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "99a183f8.1b55b"
+ ]
+ ]
+ },
+ {
+ "id": "99a183f8.1b55b",
+ "type": "method",
+ "name": "method service-configuration-operation",
+ "xml": "<method rpc='service-configuration-operation' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 549.3333435058594,
+ "y": 104.00001525878906,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "da27abb6.e9a128"
+ ]
+ ]
+ },
+ {
+ "id": "2c3a60cb.7af1c",
+ "type": "switchNode",
+ "name": "switch: request-action",
+ "xml": "<switch test=\"`$service-configuration-operation-input.request-information.request-action`\">\n<!--\n leaf request-action {\n type enumeration {\n enum \"VsbgServiceActivateRequest\";\n }\n }\n}\n-->\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 159.83340454101562,
+ "y": 663.0000305175781,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "ce54964e.79ea38",
+ "fe8b9eb9.73ad2",
+ "78d15bd7.84caa4"
+ ]
+ ]
+ },
+ {
+ "id": "ce54964e.79ea38",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 381.1743469238281,
+ "y": 1447.136474609375,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "f098f080.0fb19"
+ ]
+ ]
+ },
+ {
+ "id": "fe8b9eb9.73ad2",
+ "type": "outcome",
+ "name": "VsbgServiceActivateRequest",
+ "xml": "<outcome value='VsbgServiceActivateRequest'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 477.8334655761719,
+ "y": 646.416748046875,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "fa999334.02fee"
+ ]
+ ]
+ },
+ {
+ "id": "f098f080.0fb19",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-action not recognized'/>\n",
+ "comments": "",
+ "x": 571.2252502441406,
+ "y": 1447.0010986328125,
+ "z": "57f142c6.1f478c",
+ "wires": []
+ },
+ {
+ "id": "87a37d2a.6ca3e",
+ "type": "call",
+ "name": "call: service-configuration-activate",
+ "xml": "<call module=\"Appc-API\" rpc=\"service-configuration-activate\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1874.4999084472656,
+ "y": 637.4166259765625,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fa999334.02fee",
+ "type": "switchNode",
+ "name": "switch: request-sub-action",
+ "xml": "<switch test=\"`$service-configuration-operation-input.request-information.request-sub-action`\">\n<!--\n leaf request-sub-action {\n type enumeration {\n enum \"PREPARE\";\n enum \"ACTIVATE\";\n }\n }\n} \n-->",
+ "comments": "",
+ "outputs": 1,
+ "x": 761.1110534667969,
+ "y": 645.2222900390625,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "100480f1.8fdcef",
+ "1ab975fc.edd7ca",
+ "7c055852.c45578"
+ ]
+ ]
+ },
+ {
+ "id": "100480f1.8fdcef",
+ "type": "outcome",
+ "name": "PREPARE",
+ "xml": "<outcome value='PREPARE'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 994.3333435058594,
+ "y": 406.666748046875,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "cc499bb2.e44078"
+ ]
+ ]
+ },
+ {
+ "id": "1ab975fc.edd7ca",
+ "type": "other",
+ "name": "ACTIVATE",
+ "xml": "<outcome value='ACTIVATE'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1025.6663513183594,
+ "y": 629.6666259765625,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "21e1499f.20daa6"
+ ]
+ ]
+ },
+ {
+ "id": "d36bac8b.003aa",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"service-configuration-operation\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-operation-input.appc-request-header.svc-action`\"/>\n<parameter name=\"field4\" value=\"`$service-configuration-operation-input.appc-request-header.svc-request-id`\"/>\n<parameter name=\"field5\" value=\"`$service-configuration-operation-input.service-information.service-instance-id`\"/>\n<parameter name=\"field6\" value=\"`$service-configuration-operation-input.request-information.request-id`\"/>\n<parameter name=\"field7\" value=\"`$service-configuration-operation-input.request-information.request-action`\"/>\n<parameter name=\"field8\" value=\"`$service-configuration-operation-input.request-information.source`\"/>\n<parameter name=\"field9\" value=\"`$service-configuration-operation-input.service-information.service-instance-id`\"/>\n<parameter name=\"field10\" value=\"`$service-configuration-operation-input.service-information.service-type`\"/>\n<parameter name=\"field11\" value=\"`$service-configuration-operation-input.request-information.request-sub-action`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 264.6667175292969,
+ "y": 213.33335876464844,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "da27abb6.e9a128",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 77,
+ "y": 204.33335876464844,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "d36bac8b.003aa",
+ "50935a83.2d88f4",
+ "fad64f0.0ca0eb"
+ ]
+ ]
+ },
+ {
+ "id": "50935a83.2d88f4",
+ "type": "set",
+ "name": "set:service-data based on input: request-id ,svc-request-id & service-type",
+ "xml": "<set>\n\t\n\t<parameter name=\"service-data.request-information.request-id\" value=\"`$service-configuration-operation-input.request-information.request-id`\" />\n\t<parameter name=\"service-data.request-information.notification-url\" value=\"`$service-configuration-operation-input.request-information.notification-url`\" />\n\t<parameter name=\"service-data.request-information.request-action\" value=\"`$service-configuration-operation-input.request-information.request-action`\" />\n\t<parameter name=\"service-data.request-information.source\" value=\"`$service-configuration-operation-input.request-information.source`\" />\n\t<parameter name=\"service-data.request-information.order-number\" value=\"`$service-configuration-operation-input.request-information.order-number`\" />\n\t<parameter name=\"service.request-information.order-version\" value=\"`$service-configuration-operation-input.request-information.order-version`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-request-id\" value=\"`$service-configuration-operation-input.appc-request-header.svc-request-id`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-action\" value=\"`$service-configuration-operation-input.appc-request-header.svc-action`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-notification-url\" value=\"`$service-configuration-operation-input.appc-request-header.svc-notification-url`\" />\n\t<!-- \n\t<parameter name=\"service-data.service-information.service-instance-id\" value=\"`$service-configuration-operation-input.service-information.service-instance-id`\" />\n\t-->\n\t<parameter name=\"service-data.service-information.service-type\" value=\"`$service-configuration-operation-input.service-information.service-type`\" />\n\t<parameter name=\"service-data.request-information.request-sub-action\" value=\"`$service-configuration-operation-input.request-information.request-sub-action`\" />\n\n\t\n\t<!-- set service-data based on input only for Prepare\n\t<parameter name=\"service-data.\" value=\"`$service-configuration-operation-input.`\" />\n\t-->\n\t",
+ "comments": "",
+ "x": 470.3333435058594,
+ "y": 178.00003051757812,
+ "z": "57f142c6.1f478c",
+ "wires": []
+ },
+ {
+ "id": "e1359cee.43a9f",
+ "type": "call",
+ "name": "call: service-configuration-prepare",
+ "xml": "<call module=\"Appc-API\" rpc=\"service-configuration-prepare\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1868.8332824707031,
+ "y": 399.3333740234375,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1a154772.444899",
+ "type": "call",
+ "name": "call: service-configuration-backup",
+ "xml": "<call module=\"Appc-API\" rpc=\"service-configuration-backup\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1895.8332824707031,
+ "y": 1118.3333129882812,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fad64f0.0ca0eb",
+ "type": "switchNode",
+ "name": "switch: last-sub-action-status",
+ "xml": "<switch test=\"`$service-data.oper-status.last-sub-action-status`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 332.8333435058594,
+ "y": 257.33335876464844,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "a0cc216d.461e7",
+ "17e973e8.0fc1ac"
+ ]
+ ]
+ },
+ {
+ "id": "a0cc216d.461e7",
+ "type": "outcome",
+ "name": "InProgress",
+ "xml": "<outcome value='InProgress'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 556.8333435058594,
+ "y": 257.33335876464844,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "c17c511.dddb7b"
+ ]
+ ]
+ },
+ {
+ "id": "c17c511.dddb7b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 725.8333435058594,
+ "y": 255.33335876464844,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "db7678e6.fdbd48",
+ "2bea4db9.267f82",
+ "8ea5da83.26cac8",
+ "2c3a60cb.7af1c"
+ ]
+ ]
+ },
+ {
+ "id": "db7678e6.fdbd48",
+ "type": "execute",
+ "name": "execute getTimeDifference",
+ "xml": "<execute plugin=\"com.att.sdnctl.sli.plugin.ipAddressTools.IpAddressTool\" method=\"getTimeDifference\">\n\t<parameter name=\"inDate\" value=\"`$service-data.oper-status.modify-timestamp`\"/>\n\t<parameter name=\"ctxTempVariable\" value=\"tmp.inprogress-time\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 950.8333435058594,
+ "y": 172.33335876464844,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2bea4db9.267f82",
+ "type": "switchNode",
+ "name": "switch: tmp.inprogress-time > 6 min (360 seconds)",
+ "xml": "<switch test=\"`$tmp.inprogress-time > 360`\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1035.8333435058594,
+ "y": 217.33335876464844,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "79a11948.fe39d8"
+ ]
+ ]
+ },
+ {
+ "id": "8ea5da83.26cac8",
+ "type": "set",
+ "name": "set: last-sub-action-status = InProgressTimeout",
+ "xml": "<set>\n\t<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"InProgressTimeout\" />",
+ "comments": "",
+ "x": 1018.8333435058594,
+ "y": 268.33335876464844,
+ "z": "57f142c6.1f478c",
+ "wires": []
+ },
+ {
+ "id": "79a11948.fe39d8",
+ "type": "outcomeFalse",
+ "name": "false ",
+ "xml": "<outcome value='false'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1319.8333435058594,
+ "y": 214.33335876464844,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "a7a2d095.18535"
+ ]
+ ]
+ },
+ {
+ "id": "a7a2d095.18535",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Still processing your previous request.'/>",
+ "comments": "",
+ "x": 1488.8333435058594,
+ "y": 214.33335876464844,
+ "z": "57f142c6.1f478c",
+ "wires": []
+ },
+ {
+ "id": "17e973e8.0fc1ac",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 552.8333435058594,
+ "y": 305.33335876464844,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "2c3a60cb.7af1c"
+ ]
+ ]
+ },
+ {
+ "id": "78d15bd7.84caa4",
+ "type": "outcome",
+ "name": "VsbgServiceBackupRequest",
+ "xml": "<outcome value='VsbgServiceBackupRequest'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 430.8333435058594,
+ "y": 1239.3333740234375,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "ea4d78dd.6dcd78"
+ ]
+ ]
+ },
+ {
+ "id": "ea4d78dd.6dcd78",
+ "type": "switchNode",
+ "name": "switch: request-sub-action",
+ "xml": "<switch test=\"`$service-configuration-operation-input.request-information.request-sub-action`\">\n<!--\n leaf request-sub-action {\n type enumeration {\n enum \"PREPARE\";\n enum \"ACTIVATE\";\n }\n }\n} \n-->",
+ "comments": "",
+ "outputs": 1,
+ "x": 708.8333435058594,
+ "y": 1233.3333740234375,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "84453abd.a768b8",
+ "28792623.ef98aa",
+ "9787f6e7.6ccf78"
+ ]
+ ]
+ },
+ {
+ "id": "98a0765b.ccc488",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-sub-action not recognized'/>\n",
+ "comments": "",
+ "x": 1231.8333435058594,
+ "y": 946.3333740234375,
+ "z": "57f142c6.1f478c",
+ "wires": []
+ },
+ {
+ "id": "7c055852.c45578",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 994.8333435058594,
+ "y": 948.3333740234375,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "98a0765b.ccc488"
+ ]
+ ]
+ },
+ {
+ "id": "84453abd.a768b8",
+ "type": "outcome",
+ "name": "BACKUP",
+ "xml": "<outcome value='BACKUP'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 961.8333435058594,
+ "y": 1162.3333740234375,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "958a3503.5b2248"
+ ]
+ ]
+ },
+ {
+ "id": "9787f6e7.6ccf78",
+ "type": "other",
+ "name": "RESTOREBACKUP",
+ "xml": "<outcome value='RESTOREBACKUP'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 993.8333435058594,
+ "y": 1301.3333740234375,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "424610c8.86c17"
+ ]
+ ]
+ },
+ {
+ "id": "28792623.ef98aa",
+ "type": "other",
+ "name": "DELETEBACKUP",
+ "xml": "<outcome value='DELETEBACKUP'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 987.8333435058594,
+ "y": 1226.3333740234375,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "958a3503.5b2248"
+ ]
+ ]
+ },
+ {
+ "id": "cc499bb2.e44078",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1196.8334045410156,
+ "y": 404,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "5a5419b8.fc9918",
+ "31add50b.19bf1a"
+ ]
+ ]
+ },
+ {
+ "id": "5a5419b8.fc9918",
+ "type": "switchNode",
+ "name": "switch: vnf-type",
+ "xml": "<switch test=\"`$vnf-type`\">\n\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1390.8333740234375,
+ "y": 445.99998474121094,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "1e58ebd8.081eb4",
+ "954b003f.67029",
+ "9a9bdf49.8ba78"
+ ]
+ ]
+ },
+ {
+ "id": "91388dfc.6747d",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1616.8334045410156,
+ "y": 530,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "24a0fbd6.988d54"
+ ]
+ ]
+ },
+ {
+ "id": "24a0fbd6.988d54",
+ "type": "call",
+ "name": "call: service-configuration-prepare-sbc",
+ "xml": "<call module=\"Appc-API\" rpc=\"service-configuration-prepare-sbc\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1865.8334045410156,
+ "y": 531,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "21e1499f.20daa6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1200.8334045410156,
+ "y": 632,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "e4abddd7.b20bb",
+ "644356b8.a81388"
+ ]
+ ]
+ },
+ {
+ "id": "e4abddd7.b20bb",
+ "type": "switchNode",
+ "name": "switch: vnf-type",
+ "xml": "<switch test=\"`$vnf-type`\">\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1407.8333740234375,
+ "y": 687.9999847412109,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "a8bcf335.4b6e2",
+ "2095438c.a75e9c",
+ "bb4c3fe0.cf855"
+ ]
+ ]
+ },
+ {
+ "id": "b625abfb.61b5b8",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1612.8334045410156,
+ "y": 865,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "8f4ded84.df145"
+ ]
+ ]
+ },
+ {
+ "id": "8f4ded84.df145",
+ "type": "call",
+ "name": "call: service-configuration-activate-sbc",
+ "xml": "<call module=\"Appc-API\" rpc=\"service-configuration-activate-sbc\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1870.8334045410156,
+ "y": 865,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ed23ab3.8f89b4",
+ "type": "switchNode",
+ "name": "switch: vnf-type",
+ "xml": "<switch test=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\">\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1426.8333435058594,
+ "y": 1180,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "9e313562.3da0e8",
+ "e1d6aa6b.f84178",
+ "90f39d1d.80f2e",
+ "49273b18.628b74"
+ ]
+ ]
+ },
+ {
+ "id": "9e313562.3da0e8",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1603.8334045410156,
+ "y": 1225.9999389648438,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "cacc58e7.d542e8"
+ ]
+ ]
+ },
+ {
+ "id": "cacc58e7.d542e8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-sub-action not recognized'/>\n",
+ "comments": "",
+ "x": 1767.8334045410156,
+ "y": 1226.9999389648438,
+ "z": "57f142c6.1f478c",
+ "wires": []
+ },
+ {
+ "id": "958a3503.5b2248",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1164.8333435058594,
+ "y": 1182,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "5ed23ab3.8f89b4",
+ "74cd7b8e.ce5be4"
+ ]
+ ]
+ },
+ {
+ "id": "424610c8.86c17",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1201.8333435058594,
+ "y": 1301,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "71166b82.41c6b4",
+ "12ceb3cb.d87cac"
+ ]
+ ]
+ },
+ {
+ "id": "71166b82.41c6b4",
+ "type": "switchNode",
+ "name": "switch: vnf-type",
+ "xml": "<switch test=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\">\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1403.8333740234375,
+ "y": 1401.999984741211,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "5c593415.be3a7c",
+ "e4202ecb.1ac4c",
+ "ee07041c.0ca338",
+ "817e32b6.557fd"
+ ]
+ ]
+ },
+ {
+ "id": "9f48a4dd.288c18",
+ "type": "other",
+ "name": "ISBC",
+ "xml": "<outcome value='ISBC'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1610.8334045410156,
+ "y": 1359.9999389648438,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "cf377cc7.2c72f"
+ ]
+ ]
+ },
+ {
+ "id": "5c593415.be3a7c",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1593.8334045410156,
+ "y": 1592.9999389648438,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "e23a5427.dc90c8"
+ ]
+ ]
+ },
+ {
+ "id": "912b075b.2b9118",
+ "type": "call",
+ "name": "call: service-configuration-backup",
+ "xml": "<call module=\"Appc-API\" rpc=\"service-configuration-backup\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1862.8334045410156,
+ "y": 1496.9999389648438,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf377cc7.2c72f",
+ "type": "call",
+ "name": "call: service-configuration-restorebkup-sbc",
+ "xml": "<call module=\"Appc-API\" rpc=\"service-configuration-restorebkup-sbc\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1987.8334045410156,
+ "y": 1357.9999389648438,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e0db2af5.61e098",
+ "type": "comment",
+ "name": "Use vnftype from config tree",
+ "info": "",
+ "comments": "",
+ "x": 1106.8334045410156,
+ "y": 586,
+ "z": "57f142c6.1f478c",
+ "wires": []
+ },
+ {
+ "id": "a8bcf335.4b6e2",
+ "type": "outcome",
+ "name": "N-SBG",
+ "xml": "<outcome value='N-SBG'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1616.5499572753906,
+ "y": 602.8833618164062,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "87a37d2a.6ca3e"
+ ]
+ ]
+ },
+ {
+ "id": "6947ff76.6c01d",
+ "type": "outcome",
+ "name": "TSBC",
+ "xml": "<outcome value='TSBC'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1612,
+ "y": 1316.3333587646484,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "cf377cc7.2c72f"
+ ]
+ ]
+ },
+ {
+ "id": "31add50b.19bf1a",
+ "type": "set",
+ "name": "set VNF-Type",
+ "xml": "<set>\n<parameter name=\"vnf-type\" value=\"`$service-configuration-operation-input.vnf-config-parameters-list.vnf-config-parameters[0].vnf-type`\" />\n\t\n",
+ "comments": "",
+ "x": 1403,
+ "y": 374.33335876464844,
+ "z": "57f142c6.1f478c",
+ "wires": []
+ },
+ {
+ "id": "644356b8.a81388",
+ "type": "set",
+ "name": "set VNF-Type",
+ "xml": "<set>\n<parameter name=\"vnf-type\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[0].vnf-type`\" />\n\t\n",
+ "comments": "",
+ "x": 1424,
+ "y": 596.3333587646484,
+ "z": "57f142c6.1f478c",
+ "wires": []
+ },
+ {
+ "id": "74cd7b8e.ce5be4",
+ "type": "set",
+ "name": "set VNF-Type",
+ "xml": "<set>\n<parameter name=\"vnf-type\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\" />\n\t\n",
+ "comments": "",
+ "x": 1421,
+ "y": 1112.3333587646484,
+ "z": "57f142c6.1f478c",
+ "wires": []
+ },
+ {
+ "id": "12ceb3cb.d87cac",
+ "type": "set",
+ "name": "set VNF-Type",
+ "xml": "<set>\n<parameter name=\"vnf-type\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\" />\n\t\n",
+ "comments": "",
+ "x": 1410,
+ "y": 1300.3333587646484,
+ "z": "57f142c6.1f478c",
+ "wires": []
+ },
+ {
+ "id": "e4202ecb.1ac4c",
+ "type": "outcome",
+ "name": "N-SBG",
+ "xml": "<outcome value='N-SBG'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1611.6666564941406,
+ "y": 1457.6666870117188,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "912b075b.2b9118"
+ ]
+ ]
+ },
+ {
+ "id": "e23a5427.dc90c8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-sub-action not recognized'/>\n",
+ "comments": "",
+ "x": 1767.6666564941406,
+ "y": 1592.6666870117188,
+ "z": "57f142c6.1f478c",
+ "wires": []
+ },
+ {
+ "id": "1e58ebd8.081eb4",
+ "type": "other",
+ "name": "A-SBG",
+ "xml": "<outcome value='A-SBG'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1613.6666564941406,
+ "y": 401.66668701171875,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "e1359cee.43a9f"
+ ]
+ ]
+ },
+ {
+ "id": "9a9bdf49.8ba78",
+ "type": "other",
+ "name": "N-SBG",
+ "xml": "<outcome value='N-SBG'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1615.6666564941406,
+ "y": 358.66668701171875,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "e1359cee.43a9f"
+ ]
+ ]
+ },
+ {
+ "id": "954b003f.67029",
+ "type": "other",
+ "name": "T-SBG",
+ "xml": "<outcome value='T-SBG'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1614.6666564941406,
+ "y": 447.66668701171875,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "e1359cee.43a9f"
+ ]
+ ]
+ },
+ {
+ "id": "2095438c.a75e9c",
+ "type": "other",
+ "name": "A-SBG",
+ "xml": "<outcome value='A-SBG'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1614.6666564941406,
+ "y": 640.6666870117188,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "87a37d2a.6ca3e"
+ ]
+ ]
+ },
+ {
+ "id": "bb4c3fe0.cf855",
+ "type": "other",
+ "name": "T-SBG",
+ "xml": "<outcome value='T-SBG'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1614.6666564941406,
+ "y": 687.6666870117188,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "87a37d2a.6ca3e"
+ ]
+ ]
+ },
+ {
+ "id": "e1d6aa6b.f84178",
+ "type": "outcome",
+ "name": "N-SBG",
+ "xml": "<outcome value='N-SBG'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1608.6666564941406,
+ "y": 1066.6666870117188,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "1a154772.444899"
+ ]
+ ]
+ },
+ {
+ "id": "90f39d1d.80f2e",
+ "type": "other",
+ "name": "A-SBG",
+ "xml": "<outcome value='A-SBG'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1609.6666564941406,
+ "y": 1107.6666870117188,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "1a154772.444899"
+ ]
+ ]
+ },
+ {
+ "id": "49273b18.628b74",
+ "type": "other",
+ "name": "T-SBG",
+ "xml": "<outcome value='T-SBG'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1610.6666564941406,
+ "y": 1152.6666870117188,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "1a154772.444899"
+ ]
+ ]
+ },
+ {
+ "id": "a9b42c2b.83b31",
+ "type": "outcome",
+ "name": "vDBE-V",
+ "xml": "<outcome value='vDBE-V'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1615.6666564941406,
+ "y": 737.6666870117188,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "c5f4780c.2868d8"
+ ]
+ ]
+ },
+ {
+ "id": "c1b3fa8.0bc5e08",
+ "type": "other",
+ "name": "vDBE-I",
+ "xml": "<outcome value='vDBE-I'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1614.6666564941406,
+ "y": 776.6666870117188,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "c5f4780c.2868d8"
+ ]
+ ]
+ },
+ {
+ "id": "c8dfc4c3.d05048",
+ "type": "other",
+ "name": "vDBE-P",
+ "xml": "<outcome value='vDBE-P'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1610.6666564941406,
+ "y": 821.6666870117188,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "c5f4780c.2868d8"
+ ]
+ ]
+ },
+ {
+ "id": "c5f4780c.2868d8",
+ "type": "call",
+ "name": "call: service-configuration-activate-vdbe",
+ "xml": "<call module=\"Appc-API\" rpc=\"service-configuration-activate-vdbe\" mode=\"sync\">",
+ "comments": "",
+ "outputs": 1,
+ "x": 1906.6666564941406,
+ "y": 771.6666870117188,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ee07041c.0ca338",
+ "type": "other",
+ "name": "A-SBG",
+ "xml": "<outcome value='A-SBG'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1607.6666564941406,
+ "y": 1500.6666870117188,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "912b075b.2b9118"
+ ]
+ ]
+ },
+ {
+ "id": "817e32b6.557fd",
+ "type": "other",
+ "name": "T-SBG",
+ "xml": "<outcome value='T-SBG'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1610.6666564941406,
+ "y": 1536.6666870117188,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "912b075b.2b9118"
+ ]
+ ]
+ },
+ {
+ "id": "2dd38ed4.235162",
+ "type": "outcome",
+ "name": "vUSP - Metaswitch vSBC",
+ "xml": "<outcome value='vUSP - Metaswitch vSBC'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1662.6666564941406,
+ "y": 1403.6666870117188,
+ "z": "57f142c6.1f478c",
+ "wires": [
+ [
+ "cf377cc7.2c72f"
+ ]
+ ]
+ },
+ {
+ "id": "c7742018.c7acd",
+ "type": "comment",
+ "name": "Keep only SBG Flow",
+ "info": "",
+ "comments": "",
+ "x": 1800,
+ "y": 311,
+ "z": "57f142c6.1f478c",
+ "wires": []
+ }
+]