summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-prepare.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-prepare.json')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-prepare.json542
1 files changed, 541 insertions, 1 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-prepare.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-prepare.json
index d413a720b..1328fce3c 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-prepare.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-prepare.json
@@ -1 +1,541 @@
-[{"id":"6ce8b23c.6622bc","type":"comment","name":"IF NCS success, all can fail and we still return success","info":"","x":2710.476806640625,"y":1298.6689453125,"z":"9633ac01.1c873","wires":[]},{"id":"176fa587.64801a","type":"comment","name":"IF NCS success, all can fail and we still return success","info":"","x":3402.651191711426,"y":715.9393172264099,"z":"9633ac01.1c873","wires":[]},{"id":"cdb39a50.0e04e8","type":"comment","name":"Used for Cancel, disconnect","info":"","x":3131.91357421875,"y":1137.333251953125,"z":"9633ac01.1c873","wires":[]},{"id":"22d49eda.3a5e82","type":"comment","name":"Service-Configuration-Prepare","info":"","comments":"","x":576.75,"y":25,"z":"9633ac01.1c873","wires":[]},{"id":"7f2c4f0f.b4df9","type":"dgstart","name":"DGSTART","outputs":1,"x":102,"y":99.1111068725586,"z":"9633ac01.1c873","wires":[["3f18b239.d3494e"]]},{"id":"3f18b239.d3494e","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":259.66668701171875,"y":97.77776336669922,"z":"9633ac01.1c873","wires":[["fd14a489.4c1158"]]},{"id":"fd14a489.4c1158","type":"method","name":"method service-configuration-prepare","xml":"<method rpc='service-configuration-prepare' mode='sync'>\n","comments":"","outputs":1,"x":507,"y":104.44442749023438,"z":"9633ac01.1c873","wires":[["4b7f48e1.29b478"]]},{"id":"4b7f48e1.29b478","type":"switchNode","name":"switch: order-status","xml":"<switch test=\"`$service-data.oper-status.order-status`\">\n<!--\nleaf order-status {\n\ttype enumeration {\n\t\tenum \"Reserved\";\n\t\tenum \"Activated\";\n\t\tenum \"PendingDelete\";\n\t\tenum \"RequestFailed\";\n\t\tenum \"InProgressTimeout\";\n\t\tenum \"InProgress\";\n\t}\n}\n-->","comments":"","outputs":1,"x":135.25,"y":187.31015014648438,"z":"9633ac01.1c873","wires":[["a2d91a.3cdbf6e8","21c383a7.69136c","1d1d1f1f.1fcae1","9a4d7636.b60368","ea79ba30.614648"]]},{"id":"1d1d1f1f.1fcae1","type":"outcome","name":"RequestFailed","xml":"<outcome value='RequestFailed'>","comments":"","outputs":1,"x":398.7848205566406,"y":272.3448486328125,"z":"9633ac01.1c873","wires":[["37764947.e60ce6"]]},{"id":"a2d91a.3cdbf6e8","type":"outcome","name":"Reserved","xml":"<outcome value='Reserved'>","comments":"","outputs":1,"x":390.9147033691406,"y":221.154296875,"z":"9633ac01.1c873","wires":[["37764947.e60ce6"]]},{"id":"37764947.e60ce6","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":612.931884765625,"y":207.66079711914062,"z":"9633ac01.1c873","wires":[["2b276628.d6c4ba","a87cb168.0c421","a899e50f.59e928","9f955bc.fe03ba8","4eb7d82e.78eb68","abd61b38.bbefe8","806b14e0.e3f2d8"]]},{"id":"4eb7d82e.78eb68","type":"configure","name":"configure: ConfigComponentAdaptor","xml":"<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"dummy\">\n\t<parameter name=\"action\" value=\"prepare\"/>\n\t\n\n\t","comments":"","outputs":1,"x":933.3130493164062,"y":653.2779541015625,"z":"9633ac01.1c873","wires":[["c19ff3d7.54cf2","f045d778.2bf8e8"]]},{"id":"2b276628.d6c4ba","type":"set","name":"set: maintinance-indicator = N","xml":"<set>\n\t<parameter name='service-data.oper-status.maintenance-indicator' value='N' />","comments":"","x":902.6939086914062,"y":545.8492431640625,"z":"9633ac01.1c873","wires":[]},{"id":"c19ff3d7.54cf2","type":"failure","name":"failure","xml":"<outcome value='failure'>","outputs":1,"x":1173.6070556640625,"y":569.1112060546875,"z":"9633ac01.1c873","wires":[["733e8f0a.db9e5"]]},{"id":"b28d79c6.26f198","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<!-- error code & message provided by ncs-adaptor -->\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":1571.940185546875,"y":500.77783203125,"z":"9633ac01.1c873","wires":[]},{"id":"733e8f0a.db9e5","type":"block","name":"block : atomic","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":1346.60693359375,"y":556.1112060546875,"z":"9633ac01.1c873","wires":[["b28d79c6.26f198","7b6460f9.47c97"]]},{"id":"9a4d7636.b60368","type":"other","name":"Other","xml":"<outcome value='Other'>\n\n<!-- Audited, PendingActivate, Activated, other -->\n<!-- Audit is allowed only after Activate -->","comments":"","outputs":1,"x":369.2738952636719,"y":703.9207153320312,"z":"9633ac01.1c873","wires":[["7a642d2c.3f9d14"]]},{"id":"a899e50f.59e928","type":"set","name":"set: last-sub-action-status = InProgress","xml":"<set>\n\t<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"InProgress\" />","comments":"","x":921.9404296875,"y":392.44451904296875,"z":"9633ac01.1c873","wires":[]},{"id":"a87cb168.0c421","type":"execute","name":"execute: setTime(modify-timestamp)","xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.ipAddressTools.IpAddressTool\" method=\"setTime\">\n\t<parameter name=\"ctxVariable\" value=\"service-data.oper-status.modify-timestamp\"/>","comments":"","outputs":1,"x":914.7498779296875,"y":494,"z":"9633ac01.1c873","wires":[[]]},{"id":"7a642d2c.3f9d14","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid Order Status State'/>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":596.0833129882812,"y":704.3333129882812,"z":"9633ac01.1c873","wires":[]},{"id":"21c383a7.69136c","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","outputs":1,"x":409.75,"y":173,"z":"9633ac01.1c873","wires":[["37764947.e60ce6"]]},{"id":"f045d778.2bf8e8","type":"failure","name":"success","xml":"<outcome value='success'>","comments":"","outputs":1,"x":1173.7498779296875,"y":698,"z":"9633ac01.1c873","wires":[["657c1712.60d3f8"]]},{"id":"657c1712.60d3f8","type":"block","name":"block : atomic","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":1366.4166259765625,"y":628.3333740234375,"z":"9633ac01.1c873","wires":[["35a34d7c.e7dea2","ab3dbd3e.dadbd","1f374bb.3fed3b4","52652755.f025f8"]]},{"id":"35a34d7c.e7dea2","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />","comments":"","x":1599.7498779296875,"y":794,"z":"9633ac01.1c873","wires":[]},{"id":"806b14e0.e3f2d8","type":"GenericXML","name":"set: last-action, last-sub-action, last-svc-request-id, last-order-status","xml":"<set>\n\t<parameter name=\"service-data.oper-status.last-action\" value=\"VsbgServiceActivateRequest\" />\n\t<parameter name=\"service-data.oper-status.last-sub-action\" value=\"`$service-configuration-operation-input.request-information.request-sub-action`\" />\n\t<parameter name=\"service-data.oper-status.last-svc-request-id\" value=\"`$service-configuration-operation-input.sdnc-request-header.svc-request-id`\" />\n\t<!-- Setting this to null seems to be failing\n\t<parameter name=\"service-data.oper-status.last-order-status\" value=\"`$service-data.oper-status.order-status`\" />\n\t-->\n","comments":"","outputs":1,"x":996.7498779296875,"y":156,"z":"9633ac01.1c873","wires":[[]]},{"id":"ab3dbd3e.dadbd","type":"set","name":"set: order-status = Reserved","xml":"<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Reserved\" />","comments":"","x":1629.75,"y":659,"z":"9633ac01.1c873","wires":[]},{"id":"9f955bc.fe03ba8","type":"set","name":"set Copy from input to Service-data","xml":"<set>\n<parameter name=\"service-data.\" value=\"service-configuration-operation-input.\"/>\n\n","comments":"","x":895.75,"y":271,"z":"9633ac01.1c873","wires":[]},{"id":"1f374bb.3fed3b4","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:Prepare:After Calling ConfigAdaptor:Success\"/>\n<parameter name=\"field3\" value=\"`$service-data.oper-status.order-status`\"/>\n<parameter name=\"field4\" value=\"`$service-data.service-information.service-instance-id`\"/>\n\n\n","comments":"","outputs":1,"x":1569.75,"y":602,"z":"9633ac01.1c873","wires":[[]]},{"id":"7b6460f9.47c97","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:Prepare:After Calling ConfigAdaptor:Failure\"/>\n<parameter name=\"field3\" value=\"`$service-data.oper-status.order-status`\"/>\n<parameter name=\"field4\" value=\"`$service-data.service-information.service-instance-id`\"/>\n\n\n","comments":"","outputs":1,"x":1552.75,"y":380,"z":"9633ac01.1c873","wires":[[]]},{"id":"128e76b6.814b29","type":"comment","name":"Failed prepares are not saved in Config Tree","info":"","comments":"","x":1860.75,"y":496,"z":"9633ac01.1c873","wires":[]},{"id":"52652755.f025f8","type":"set","name":"set: last-sub-action-status = Success","xml":"<set>\n\t<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"Success\" />","comments":"","x":1668.5,"y":719,"z":"9633ac01.1c873","wires":[]},{"id":"ea79ba30.614648","type":"outcome","name":"Activated","xml":"<outcome value='Activated'>","comments":"","outputs":1,"x":387.5,"y":330,"z":"9633ac01.1c873","wires":[["37764947.e60ce6"]]},{"id":"abd61b38.bbefe8","type":"switchNode","name":"switch: update-configuration","xml":"<switch test=\"`$service-configuration-operation-input.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration_length`\">\n","comments":"","outputs":1,"x":848.5,"y":69,"z":"9633ac01.1c873","wires":[["a9cb27b6.b38238","99f8115d.6be47"]]},{"id":"a9cb27b6.b38238","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":1085.5,"y":71,"z":"9633ac01.1c873","wires":[["131554ac.7778fb"]]},{"id":"f0f0e9e5.ffc3b8","type":"comment","name":"New Start Prepare","info":"","comments":"","x":1077.5,"y":30,"z":"9633ac01.1c873","wires":[]},{"id":"131554ac.7778fb","type":"block","name":"block : atomic","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":1275.5,"y":70,"z":"9633ac01.1c873","wires":[["f8d7c48f.cf07a8"]]},{"id":"f8d7c48f.cf07a8","type":"set","name":"Clear Service Data VNF Parameters List","xml":"<set>\n <parameter name=\"service-data.vnf-config-parameters-list.\" value=\"\" />\n\n","comments":"","x":1537.5,"y":72,"z":"9633ac01.1c873","wires":[]},{"id":"99f8115d.6be47","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1054.5,"y":116,"z":"9633ac01.1c873","wires":[["131554ac.7778fb"]]}]
+[
+ {
+ "id": "6ce8b23c.6622bc",
+ "type": "comment",
+ "name": "IF NCS success, all can fail and we still return success",
+ "info": "",
+ "x": 2710.476806640625,
+ "y": 1298.6689453125,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "176fa587.64801a",
+ "type": "comment",
+ "name": "IF NCS success, all can fail and we still return success",
+ "info": "",
+ "x": 3402.651191711426,
+ "y": 715.9393172264099,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "cdb39a50.0e04e8",
+ "type": "comment",
+ "name": "Used for Cancel, disconnect",
+ "info": "",
+ "x": 3131.91357421875,
+ "y": 1137.333251953125,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "22d49eda.3a5e82",
+ "type": "comment",
+ "name": "Service-Configuration-Prepare",
+ "info": "",
+ "comments": "",
+ "x": 576.75,
+ "y": 25,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "7f2c4f0f.b4df9",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 102,
+ "y": 99.1111068725586,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "3f18b239.d3494e"
+ ]
+ ]
+ },
+ {
+ "id": "3f18b239.d3494e",
+ "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": 259.66668701171875,
+ "y": 97.77776336669922,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "fd14a489.4c1158"
+ ]
+ ]
+ },
+ {
+ "id": "fd14a489.4c1158",
+ "type": "method",
+ "name": "method service-configuration-prepare",
+ "xml": "<method rpc='service-configuration-prepare' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 507,
+ "y": 104.44442749023438,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "4b7f48e1.29b478"
+ ]
+ ]
+ },
+ {
+ "id": "4b7f48e1.29b478",
+ "type": "switchNode",
+ "name": "switch: order-status",
+ "xml": "<switch test=\"`$service-data.oper-status.order-status`\">\n<!--\nleaf order-status {\n\ttype enumeration {\n\t\tenum \"Reserved\";\n\t\tenum \"Activated\";\n\t\tenum \"PendingDelete\";\n\t\tenum \"RequestFailed\";\n\t\tenum \"InProgressTimeout\";\n\t\tenum \"InProgress\";\n\t}\n}\n-->",
+ "comments": "",
+ "outputs": 1,
+ "x": 135.25,
+ "y": 187.31015014648438,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "a2d91a.3cdbf6e8",
+ "21c383a7.69136c",
+ "1d1d1f1f.1fcae1",
+ "9a4d7636.b60368",
+ "ea79ba30.614648"
+ ]
+ ]
+ },
+ {
+ "id": "1d1d1f1f.1fcae1",
+ "type": "outcome",
+ "name": "RequestFailed",
+ "xml": "<outcome value='RequestFailed'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 398.7848205566406,
+ "y": 272.3448486328125,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "37764947.e60ce6"
+ ]
+ ]
+ },
+ {
+ "id": "a2d91a.3cdbf6e8",
+ "type": "outcome",
+ "name": "Reserved",
+ "xml": "<outcome value='Reserved'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 390.9147033691406,
+ "y": 221.154296875,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "37764947.e60ce6"
+ ]
+ ]
+ },
+ {
+ "id": "37764947.e60ce6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 612.931884765625,
+ "y": 207.66079711914062,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "2b276628.d6c4ba",
+ "a87cb168.0c421",
+ "a899e50f.59e928",
+ "9f955bc.fe03ba8",
+ "4eb7d82e.78eb68",
+ "abd61b38.bbefe8",
+ "806b14e0.e3f2d8"
+ ]
+ ]
+ },
+ {
+ "id": "4eb7d82e.78eb68",
+ "type": "configure",
+ "name": "configure: ConfigComponentAdaptor",
+ "xml": "<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"dummy\">\n\t<parameter name=\"action\" value=\"prepare\"/>\n\t\n\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 933.3130493164062,
+ "y": 653.2779541015625,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "c19ff3d7.54cf2",
+ "f045d778.2bf8e8"
+ ]
+ ]
+ },
+ {
+ "id": "2b276628.d6c4ba",
+ "type": "set",
+ "name": "set: maintinance-indicator = N",
+ "xml": "<set>\n\t<parameter name='service-data.oper-status.maintenance-indicator' value='N' />",
+ "comments": "",
+ "x": 902.6939086914062,
+ "y": 545.8492431640625,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "c19ff3d7.54cf2",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>",
+ "outputs": 1,
+ "x": 1173.6070556640625,
+ "y": 569.1112060546875,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "733e8f0a.db9e5"
+ ]
+ ]
+ },
+ {
+ "id": "b28d79c6.26f198",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status=\"failure\">\n\t<!-- error code & message provided by ncs-adaptor -->\n\t<parameter name='ack-final' value='Y'/>",
+ "comments": "",
+ "x": 1571.940185546875,
+ "y": 500.77783203125,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "733e8f0a.db9e5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1346.60693359375,
+ "y": 556.1112060546875,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "b28d79c6.26f198",
+ "7b6460f9.47c97"
+ ]
+ ]
+ },
+ {
+ "id": "9a4d7636.b60368",
+ "type": "other",
+ "name": "Other",
+ "xml": "<outcome value='Other'>\n\n<!-- Audited, PendingActivate, Activated, other -->\n<!-- Audit is allowed only after Activate -->",
+ "comments": "",
+ "outputs": 1,
+ "x": 369.2738952636719,
+ "y": 703.9207153320312,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "7a642d2c.3f9d14"
+ ]
+ ]
+ },
+ {
+ "id": "a899e50f.59e928",
+ "type": "set",
+ "name": "set: last-sub-action-status = InProgress",
+ "xml": "<set>\n\t<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"InProgress\" />",
+ "comments": "",
+ "x": 921.9404296875,
+ "y": 392.44451904296875,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "a87cb168.0c421",
+ "type": "execute",
+ "name": "execute: setTime(modify-timestamp)",
+ "xml": "<execute plugin=\"com.att.sdnctl.sli.plugin.ipAddressTools.IpAddressTool\" method=\"setTime\">\n\t<parameter name=\"ctxVariable\" value=\"service-data.oper-status.modify-timestamp\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 914.7498779296875,
+ "y": 494,
+ "z": "9633ac01.1c873",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a642d2c.3f9d14",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Invalid Order Status State'/>\n\t<parameter name='ack-final' value='Y'/>",
+ "comments": "",
+ "x": 596.0833129882812,
+ "y": 704.3333129882812,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "21c383a7.69136c",
+ "type": "other",
+ "name": "outcome: NULL",
+ "xml": "<outcome value=''>\n",
+ "outputs": 1,
+ "x": 409.75,
+ "y": 173,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "37764947.e60ce6"
+ ]
+ ]
+ },
+ {
+ "id": "f045d778.2bf8e8",
+ "type": "failure",
+ "name": "success",
+ "xml": "<outcome value='success'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1173.7498779296875,
+ "y": 698,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "657c1712.60d3f8"
+ ]
+ ]
+ },
+ {
+ "id": "657c1712.60d3f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1366.4166259765625,
+ "y": 628.3333740234375,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "35a34d7c.e7dea2",
+ "ab3dbd3e.dadbd",
+ "1f374bb.3fed3b4",
+ "52652755.f025f8"
+ ]
+ ]
+ },
+ {
+ "id": "35a34d7c.e7dea2",
+ "type": "returnSuccess",
+ "name": "return success",
+ "xml": "<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />",
+ "comments": "",
+ "x": 1599.7498779296875,
+ "y": 794,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "806b14e0.e3f2d8",
+ "type": "GenericXML",
+ "name": "set: last-action, last-sub-action, last-svc-request-id, last-order-status",
+ "xml": "<set>\n\t<parameter name=\"service-data.oper-status.last-action\" value=\"VsbgServiceActivateRequest\" />\n\t<parameter name=\"service-data.oper-status.last-sub-action\" value=\"`$service-configuration-operation-input.request-information.request-sub-action`\" />\n\t<parameter name=\"service-data.oper-status.last-svc-request-id\" value=\"`$service-configuration-operation-input.sdnc-request-header.svc-request-id`\" />\n\t<!-- Setting this to null seems to be failing\n\t<parameter name=\"service-data.oper-status.last-order-status\" value=\"`$service-data.oper-status.order-status`\" />\n\t-->\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 996.7498779296875,
+ "y": 156,
+ "z": "9633ac01.1c873",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ab3dbd3e.dadbd",
+ "type": "set",
+ "name": "set: order-status = Reserved",
+ "xml": "<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Reserved\" />",
+ "comments": "",
+ "x": 1629.75,
+ "y": 659,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "9f955bc.fe03ba8",
+ "type": "set",
+ "name": "set Copy from input to Service-data",
+ "xml": "<set>\n<parameter name=\"service-data.\" value=\"service-configuration-operation-input.\"/>\n\n",
+ "comments": "",
+ "x": 895.75,
+ "y": 271,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "1f374bb.3fed3b4",
+ "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:Prepare:After Calling ConfigAdaptor:Success\"/>\n<parameter name=\"field3\" value=\"`$service-data.oper-status.order-status`\"/>\n<parameter name=\"field4\" value=\"`$service-data.service-information.service-instance-id`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1569.75,
+ "y": 602,
+ "z": "9633ac01.1c873",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7b6460f9.47c97",
+ "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:Prepare:After Calling ConfigAdaptor:Failure\"/>\n<parameter name=\"field3\" value=\"`$service-data.oper-status.order-status`\"/>\n<parameter name=\"field4\" value=\"`$service-data.service-information.service-instance-id`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1552.75,
+ "y": 380,
+ "z": "9633ac01.1c873",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "128e76b6.814b29",
+ "type": "comment",
+ "name": "Failed prepares are not saved in Config Tree",
+ "info": "",
+ "comments": "",
+ "x": 1860.75,
+ "y": 496,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "52652755.f025f8",
+ "type": "set",
+ "name": "set: last-sub-action-status = Success",
+ "xml": "<set>\n\t<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"Success\" />",
+ "comments": "",
+ "x": 1668.5,
+ "y": 719,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "ea79ba30.614648",
+ "type": "outcome",
+ "name": "Activated",
+ "xml": "<outcome value='Activated'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 387.5,
+ "y": 330,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "37764947.e60ce6"
+ ]
+ ]
+ },
+ {
+ "id": "abd61b38.bbefe8",
+ "type": "switchNode",
+ "name": "switch: update-configuration",
+ "xml": "<switch test=\"`$service-configuration-operation-input.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration_length`\">\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 848.5,
+ "y": 69,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "a9cb27b6.b38238",
+ "99f8115d.6be47"
+ ]
+ ]
+ },
+ {
+ "id": "a9cb27b6.b38238",
+ "type": "other",
+ "name": "outcome: NULL",
+ "xml": "<outcome value=''>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1085.5,
+ "y": 71,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "131554ac.7778fb"
+ ]
+ ]
+ },
+ {
+ "id": "f0f0e9e5.ffc3b8",
+ "type": "comment",
+ "name": "New Start Prepare",
+ "info": "",
+ "comments": "",
+ "x": 1077.5,
+ "y": 30,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "131554ac.7778fb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1275.5,
+ "y": 70,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "f8d7c48f.cf07a8"
+ ]
+ ]
+ },
+ {
+ "id": "f8d7c48f.cf07a8",
+ "type": "set",
+ "name": "Clear Service Data VNF Parameters List",
+ "xml": "<set>\n <parameter name=\"service-data.vnf-config-parameters-list.\" value=\"\" />\n\n",
+ "comments": "",
+ "x": 1537.5,
+ "y": 72,
+ "z": "9633ac01.1c873",
+ "wires": []
+ },
+ {
+ "id": "99f8115d.6be47",
+ "type": "other",
+ "name": "outcome: Length=0",
+ "xml": "<outcome value='0'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1054.5,
+ "y": 116,
+ "z": "9633ac01.1c873",
+ "wires": [
+ [
+ "131554ac.7778fb"
+ ]
+ ]
+ }
+]