aboutsummaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API
diff options
context:
space:
mode:
authorPatrick Brady <pb071s@att.com>2017-12-13 11:09:30 -0800
committerPatrick Brady <pb071s@att.com>2017-12-13 11:09:41 -0800
commit0756759f39e125b02d63b4e93de83b3c6b13beea (patch)
tree274e9830e522007c590ace136a57efaa806e19d5 /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API
parentcb81f75d84c1df021730341cd61ed650adc7ba3a (diff)
First part of onap rename
This is the first commit of the rename. This commit changes refereces to org.openecomp.appc > org.onap.appc that occur within files. The package folder structure is not changed in this commit. Change-Id: Ic95d749eb99d8a6f4f2b9ee9b06eb41c5cfa7e1c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API')
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_audit-configuration-operation.json2
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_method_Generic_Evacuate_2.0.0.json2
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-activate.json2
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-backup.json2
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-prepare.json2
5 files changed, 5 insertions, 5 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_audit-configuration-operation.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_audit-configuration-operation.json
index ee8918e99..10639c7cd 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_audit-configuration-operation.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_audit-configuration-operation.json
@@ -1 +1 @@
-[{"id":"6295e18d.289b8","type":"dgstart","name":"DGSTART","outputs":1,"x":162,"y":124,"z":"22560c9c.507f14","wires":[["71e03392.dbcd8c"]]},{"id":"71e03392.dbcd8c","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":327.0000305175781,"y":127.33331298828125,"z":"22560c9c.507f14","wires":[["d8b42c68.f5ab3"]]},{"id":"d8b42c68.f5ab3","type":"method","name":"method audit-configuration-operation","xml":"<method rpc='audit-configuration-operation' mode='sync'>\n","comments":"","outputs":1,"x":582.6666870117188,"y":126.33331298828125,"z":"22560c9c.507f14","wires":[["d91d40bd.89138"]]},{"id":"6d141611.56d708","type":"switchNode","name":"switch: request-action","xml":"<switch test=\"`$audit-configuration-operation-input.request-information.request-action`\">\n<!--\n leaf request-action {\n type enumeration {\n enum \"VsbgServiceAuditRequest\";\n }\n }\n}\n-->\n\n","comments":"","outputs":1,"x":187.5,"y":433,"z":"22560c9c.507f14","wires":[["5f81be6d.88ffe","624313d9.5e1ccc"]]},{"id":"5f81be6d.88ffe","type":"outcome","name":"VsbgServiceAuditRequest","xml":"<outcome value='VsbgServiceAuditRequest'>","comments":"","outputs":1,"x":450.5,"y":425,"z":"22560c9c.507f14","wires":[["b7c64a6e.3b97a8"]]},{"id":"b7c64a6e.3b97a8","type":"switchNode","name":"switch: request-sub-action","xml":"<switch test=\"`$audit-configuration-operation-input.request-information.request-sub-action`\">\n","comments":"","outputs":1,"x":714.5,"y":428,"z":"22560c9c.507f14","wires":[["2c21f7b1.0224a8","3dc879b9.2a21a6","fb1f199e.1ee6b8"]]},{"id":"2c21f7b1.0224a8","type":"outcome","name":"AUDIT","xml":"<outcome value='AUDIT'>","comments":"","outputs":1,"x":936.5,"y":428,"z":"22560c9c.507f14","wires":[["b23ec1e7.d9a61"]]},{"id":"624313d9.5e1ccc","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":395.5,"y":490,"z":"22560c9c.507f14","wires":[["60490b53.5d2ee4"]]},{"id":"60490b53.5d2ee4","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='request-action not recognized'/>\n","comments":"","x":549.5509033203125,"y":491.8646240234375,"z":"22560c9c.507f14","wires":[]},{"id":"896948ef.2fe218","type":"configure","name":"configure: ConfigComponentAdaptor","xml":"<configure adaptor=\"org.openecomp.appc.ccadaptor.ConfigComponentAdaptor\" key=\"dummy\">\n\t<parameter name=\"action\" value=\"`$service-data.appc-request-header.svc-action`\"/>\n\t","comments":"","outputs":1,"x":1305,"y":658,"z":"22560c9c.507f14","wires":[["b0e4346e.d63768","cf246bec.706c08"]]},{"id":"3dc879b9.2a21a6","type":"outcome","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":880.5,"y":606,"z":"22560c9c.507f14","wires":[["9d054a2c.f820a8"]]},{"id":"9d054a2c.f820a8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='request-sub-action not recognized'/>\n","comments":"","x":1047.5,"y":608,"z":"22560c9c.507f14","wires":[]},{"id":"967eb60d.2ec408","type":"comment","name":"Audit-configuration-Operation","info":"","comments":"","x":1530,"y":67,"z":"22560c9c.507f14","wires":[]},{"id":"b0e4346e.d63768","type":"failure","name":"failure","xml":"<outcome value='failure'>","outputs":1,"x":1527,"y":621,"z":"22560c9c.507f14","wires":[["f35bfc8a.ba17b"]]},{"id":"f35bfc8a.ba17b","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":1690.3331298828125,"y":615.6666259765625,"z":"22560c9c.507f14","wires":[]},{"id":"249d783.f996f88","type":"returnSuccess","name":"return success","xml":" <return status=\"success\">\n \n","comments":"","x":1699,"y":719,"z":"22560c9c.507f14","wires":[]},{"id":"b5c3e0b7.6e9cb","type":"set","name":"set Copy from input to Service-data","xml":"<set>\n<parameter name=\"service-data.\" value=\"audit-configuration-operation-input.\"/>\n\n","comments":"","x":1363,"y":502,"z":"22560c9c.507f14","wires":[]},{"id":"cf246bec.706c08","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1531,"y":713,"z":"22560c9c.507f14","wires":[["249d783.f996f88"]]},{"id":"4c8f0493.b0d5bc","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=\"audit-configuration-operation\"/>\n\n<parameter name=\"field3\" value=\"`$audit-configuration-operation-input.request-information.request-action`\"/>\n<parameter name=\"field4\" value=\"`$service-data.request-information.request-action`\"/>\n<parameter name=\"field5\" value=\"`$audit-configuration-operation-input.request-information.request-sub-action`\"/>\n<parameter name=\"field6\" value=\"`$service-data.request-information.request-sub-action`\"/>\n<parameter name=\"field7\" value=\"`$audit-configuration-operation-input.service-information.service-instance-id`\"/>\n<parameter name=\"field8\" value=\"`$service-data.service-information.service-instance-id`\"/>\n","comments":"","outputs":1,"x":1278,"y":596,"z":"22560c9c.507f14","wires":[[]]},{"id":"441443b2.8ba20c","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=\"VsbgServiceAuditRequest\" />\n\t<parameter name=\"service-data.oper-status.last-sub-action\" value=\"`$audit-configuration-operation-input.request-information.request-sub-action`\" />\n\t<parameter name=\"service-data.oper-status.last-svc-request-id\" value=\"`$audit-configuration-operation-input.sdnc-request-header.svc-request-id`\" />\n\t<!-- Causes exception when set to Null\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":1458,"y":395.33331298828125,"z":"22560c9c.507f14","wires":[[]]},{"id":"b23ec1e7.d9a61","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1094,"y":426.33331298828125,"z":"22560c9c.507f14","wires":[["441443b2.8ba20c","b5c3e0b7.6e9cb","4c8f0493.b0d5bc","896948ef.2fe218","b74ead9c.3101a","db63f043.6eab3"]]},{"id":"e9f54ef7.3c4b3","type":"switchNode","name":"switch: service-instance-id config == input","xml":"<switch test=\"`$audit-configuration-operation-input.service-information.service-instance-id == $service-data.service-information.service-instance-id`\">","comments":"","outputs":1,"x":560,"y":270.33331298828125,"z":"22560c9c.507f14","wires":[["fcc63e45.6168e","baaeb60.30b6648"]]},{"id":"fcc63e45.6168e","type":"outcomeFalse","name":"false","xml":"<outcome value=\"false\">","comments":"","outputs":1,"x":832,"y":206.33331298828125,"z":"22560c9c.507f14","wires":[["ba2ca0a6.b672c"]]},{"id":"ba2ca0a6.b672c","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"404\"/>\n\t<parameter name=\"error-message\" value=\"Service instance not found in config tree\"/>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":993,"y":199.33331298828125,"z":"22560c9c.507f14","wires":[]},{"id":"baaeb60.30b6648","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":828,"y":273.33331298828125,"z":"22560c9c.507f14","wires":[[]]},{"id":"ace6f0cc.7ecce","type":"set","name":"set:service-data based on input","xml":"<set>\n\t\n\t<parameter name=\"service-data.request-information.request-id\" value=\"`$audit-configuration-operation-input.request-information.request-id`\" />\n\t<parameter name=\"service-data.request-information.notification-url\" value=\"`$audit-configuration-operation-input.request-information.notification-url`\" />\n\t<parameter name=\"service-data.request-information.request-action\" value=\"`$audit-configuration-operation-input.request-information.request-action`\" />\n\t<parameter name=\"service-data.request-information.source\" value=\"`$audit-configuration-operation-input.request-information.source`\" />\n\t<parameter name=\"service-data.request-information.order-number\" value=\"`$audit-configuration-operation-input.request-information.order-number`\" />\n\t<parameter name=\"service.request-information.order-version\" value=\"`$audit-configuration-operation-input.request-information.order-version`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-request-id\" value=\"`$audit-configuration-operation-input.appc-request-header.svc-request-id`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-action\" value=\"`$audit-configuration-operation-input.appc-request-header.svc-action`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-notification-url\" value=\"`$audit-configuration-operation-input.appc-request-header.svc-notification-url`\" />\n\t<!-- \n\t<parameter name=\"service-data.service-information.service-instance-id\" value=\"`$audit-configuration-operation-input.service-information.service-instance-id`\" />\n\t-->\n\t<parameter name=\"service-data.service-information.service-type\" value=\"`$audit-configuration-operation-input.service-information.service-type`\" />\n\t<parameter name=\"service-data.request-information.request-sub-action\" value=\"`$audit-configuration-operation-input.request-information.request-sub-action`\" />\n\n\t\n\t\n\t","comments":"","x":537,"y":183.3333282470703,"z":"22560c9c.507f14","wires":[]},{"id":"2806bcfa.2a9a64","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-data.appc-request-header.svc-action`\"/>\n<parameter name=\"field4\" value=\"`$service-data.appc-request-header.svc-request-id`\"/>\n<parameter name=\"field5\" value=\"`$service-data.service-information.service-instance-id`\"/>\n<parameter name=\"field6\" value=\"`$service-data.request-information.request-id`\"/>\n<parameter name=\"field7\" value=\"`$service-data.request-information.request-action`\"/>\n<parameter name=\"field8\" value=\"`$service-data.request-information.source`\"/>\n<parameter name=\"field9\" value=\"`$service-data.service-information.service-instance-id`\"/>\n<parameter name=\"field10\" value=\"`$service-data.service-information.service-type`\"/>\n<parameter name=\"field11\" value=\"`$service-data.request-information.request-sub-action`\"/>","comments":"","outputs":1,"x":458,"y":223.3333282470703,"z":"22560c9c.507f14","wires":[[]]},{"id":"d91d40bd.89138","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":232.5,"y":199,"z":"22560c9c.507f14","wires":[["ace6f0cc.7ecce","2806bcfa.2a9a64","a37c4df0.5c6a2"]]},{"id":"a37c4df0.5c6a2","type":"switchNode","name":"switch: last-sub-action-status","xml":"<switch test=\"`$service-data.oper-status.last-sub-action-status`\">\n","comments":"","outputs":1,"x":461,"y":326,"z":"22560c9c.507f14","wires":[["117b233.4c88cdd","d97589b.e4e1e78"]]},{"id":"117b233.4c88cdd","type":"outcome","name":"InProgress","xml":"<outcome value='InProgress'>","comments":"","outputs":1,"x":677,"y":319,"z":"22560c9c.507f14","wires":[["8850e7c6.f04338"]]},{"id":"8850e7c6.f04338","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":846,"y":317,"z":"22560c9c.507f14","wires":[["2a7366c4.037b4a","66448305.03e3cc","c09b7edb.44d67","6d141611.56d708"]]},{"id":"2a7366c4.037b4a","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":1139,"y":330,"z":"22560c9c.507f14","wires":[]},{"id":"d97589b.e4e1e78","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":673,"y":367,"z":"22560c9c.507f14","wires":[["6d141611.56d708"]]},{"id":"66448305.03e3cc","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":1085,"y":248,"z":"22560c9c.507f14","wires":[[]]},{"id":"c09b7edb.44d67","type":"switchNode","name":"switch: tmp.inprogress-time > 6 min (360 seconds)","xml":"<switch test=\"`$tmp.inprogress-time > 360`\">","outputs":1,"x":1162,"y":287,"z":"22560c9c.507f14","wires":[["1349d992.d4dd66"]]},{"id":"1349d992.d4dd66","type":"outcomeFalse","name":"false ","xml":"<outcome value='false'>","comments":"","outputs":1,"x":1462,"y":285,"z":"22560c9c.507f14","wires":[["7daebc71.51c9d4"]]},{"id":"7daebc71.51c9d4","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":1646,"y":282,"z":"22560c9c.507f14","wires":[]},{"id":"b74ead9c.3101a","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":1374,"y":548,"z":"22560c9c.507f14","wires":[]},{"id":"db63f043.6eab3","type":"execute","name":"execute: setTime(modify-timestamp)","xml":"<execute plugin=\"org.openecomp.sdnc.sli.plugin.ipAddressTools.IpAddressTool\" method=\"setTime\">\n\t<parameter name=\"ctxVariable\" value=\"service-data.oper-status.modify-timestamp\"/>","comments":"","outputs":1,"x":1366,"y":449,"z":"22560c9c.507f14","wires":[[]]},{"id":"fb1f199e.1ee6b8","type":"outcome","name":"GETRUNNINGCONFIG","xml":"<outcome value='GETRUNNINGCONFIG'>","comments":"","outputs":1,"x":982,"y":505,"z":"22560c9c.507f14","wires":[["b23ec1e7.d9a61"]]}]
+[{"id":"6295e18d.289b8","type":"dgstart","name":"DGSTART","outputs":1,"x":162,"y":124,"z":"22560c9c.507f14","wires":[["71e03392.dbcd8c"]]},{"id":"71e03392.dbcd8c","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":327.0000305175781,"y":127.33331298828125,"z":"22560c9c.507f14","wires":[["d8b42c68.f5ab3"]]},{"id":"d8b42c68.f5ab3","type":"method","name":"method audit-configuration-operation","xml":"<method rpc='audit-configuration-operation' mode='sync'>\n","comments":"","outputs":1,"x":582.6666870117188,"y":126.33331298828125,"z":"22560c9c.507f14","wires":[["d91d40bd.89138"]]},{"id":"6d141611.56d708","type":"switchNode","name":"switch: request-action","xml":"<switch test=\"`$audit-configuration-operation-input.request-information.request-action`\">\n<!--\n leaf request-action {\n type enumeration {\n enum \"VsbgServiceAuditRequest\";\n }\n }\n}\n-->\n\n","comments":"","outputs":1,"x":187.5,"y":433,"z":"22560c9c.507f14","wires":[["5f81be6d.88ffe","624313d9.5e1ccc"]]},{"id":"5f81be6d.88ffe","type":"outcome","name":"VsbgServiceAuditRequest","xml":"<outcome value='VsbgServiceAuditRequest'>","comments":"","outputs":1,"x":450.5,"y":425,"z":"22560c9c.507f14","wires":[["b7c64a6e.3b97a8"]]},{"id":"b7c64a6e.3b97a8","type":"switchNode","name":"switch: request-sub-action","xml":"<switch test=\"`$audit-configuration-operation-input.request-information.request-sub-action`\">\n","comments":"","outputs":1,"x":714.5,"y":428,"z":"22560c9c.507f14","wires":[["2c21f7b1.0224a8","3dc879b9.2a21a6","fb1f199e.1ee6b8"]]},{"id":"2c21f7b1.0224a8","type":"outcome","name":"AUDIT","xml":"<outcome value='AUDIT'>","comments":"","outputs":1,"x":936.5,"y":428,"z":"22560c9c.507f14","wires":[["b23ec1e7.d9a61"]]},{"id":"624313d9.5e1ccc","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":395.5,"y":490,"z":"22560c9c.507f14","wires":[["60490b53.5d2ee4"]]},{"id":"60490b53.5d2ee4","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='request-action not recognized'/>\n","comments":"","x":549.5509033203125,"y":491.8646240234375,"z":"22560c9c.507f14","wires":[]},{"id":"896948ef.2fe218","type":"configure","name":"configure: ConfigComponentAdaptor","xml":"<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"dummy\">\n\t<parameter name=\"action\" value=\"`$service-data.appc-request-header.svc-action`\"/>\n\t","comments":"","outputs":1,"x":1305,"y":658,"z":"22560c9c.507f14","wires":[["b0e4346e.d63768","cf246bec.706c08"]]},{"id":"3dc879b9.2a21a6","type":"outcome","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":880.5,"y":606,"z":"22560c9c.507f14","wires":[["9d054a2c.f820a8"]]},{"id":"9d054a2c.f820a8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='request-sub-action not recognized'/>\n","comments":"","x":1047.5,"y":608,"z":"22560c9c.507f14","wires":[]},{"id":"967eb60d.2ec408","type":"comment","name":"Audit-configuration-Operation","info":"","comments":"","x":1530,"y":67,"z":"22560c9c.507f14","wires":[]},{"id":"b0e4346e.d63768","type":"failure","name":"failure","xml":"<outcome value='failure'>","outputs":1,"x":1527,"y":621,"z":"22560c9c.507f14","wires":[["f35bfc8a.ba17b"]]},{"id":"f35bfc8a.ba17b","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":1690.3331298828125,"y":615.6666259765625,"z":"22560c9c.507f14","wires":[]},{"id":"249d783.f996f88","type":"returnSuccess","name":"return success","xml":" <return status=\"success\">\n \n","comments":"","x":1699,"y":719,"z":"22560c9c.507f14","wires":[]},{"id":"b5c3e0b7.6e9cb","type":"set","name":"set Copy from input to Service-data","xml":"<set>\n<parameter name=\"service-data.\" value=\"audit-configuration-operation-input.\"/>\n\n","comments":"","x":1363,"y":502,"z":"22560c9c.507f14","wires":[]},{"id":"cf246bec.706c08","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1531,"y":713,"z":"22560c9c.507f14","wires":[["249d783.f996f88"]]},{"id":"4c8f0493.b0d5bc","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=\"audit-configuration-operation\"/>\n\n<parameter name=\"field3\" value=\"`$audit-configuration-operation-input.request-information.request-action`\"/>\n<parameter name=\"field4\" value=\"`$service-data.request-information.request-action`\"/>\n<parameter name=\"field5\" value=\"`$audit-configuration-operation-input.request-information.request-sub-action`\"/>\n<parameter name=\"field6\" value=\"`$service-data.request-information.request-sub-action`\"/>\n<parameter name=\"field7\" value=\"`$audit-configuration-operation-input.service-information.service-instance-id`\"/>\n<parameter name=\"field8\" value=\"`$service-data.service-information.service-instance-id`\"/>\n","comments":"","outputs":1,"x":1278,"y":596,"z":"22560c9c.507f14","wires":[[]]},{"id":"441443b2.8ba20c","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=\"VsbgServiceAuditRequest\" />\n\t<parameter name=\"service-data.oper-status.last-sub-action\" value=\"`$audit-configuration-operation-input.request-information.request-sub-action`\" />\n\t<parameter name=\"service-data.oper-status.last-svc-request-id\" value=\"`$audit-configuration-operation-input.sdnc-request-header.svc-request-id`\" />\n\t<!-- Causes exception when set to Null\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":1458,"y":395.33331298828125,"z":"22560c9c.507f14","wires":[[]]},{"id":"b23ec1e7.d9a61","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1094,"y":426.33331298828125,"z":"22560c9c.507f14","wires":[["441443b2.8ba20c","b5c3e0b7.6e9cb","4c8f0493.b0d5bc","896948ef.2fe218","b74ead9c.3101a","db63f043.6eab3"]]},{"id":"e9f54ef7.3c4b3","type":"switchNode","name":"switch: service-instance-id config == input","xml":"<switch test=\"`$audit-configuration-operation-input.service-information.service-instance-id == $service-data.service-information.service-instance-id`\">","comments":"","outputs":1,"x":560,"y":270.33331298828125,"z":"22560c9c.507f14","wires":[["fcc63e45.6168e","baaeb60.30b6648"]]},{"id":"fcc63e45.6168e","type":"outcomeFalse","name":"false","xml":"<outcome value=\"false\">","comments":"","outputs":1,"x":832,"y":206.33331298828125,"z":"22560c9c.507f14","wires":[["ba2ca0a6.b672c"]]},{"id":"ba2ca0a6.b672c","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"404\"/>\n\t<parameter name=\"error-message\" value=\"Service instance not found in config tree\"/>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":993,"y":199.33331298828125,"z":"22560c9c.507f14","wires":[]},{"id":"baaeb60.30b6648","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":828,"y":273.33331298828125,"z":"22560c9c.507f14","wires":[[]]},{"id":"ace6f0cc.7ecce","type":"set","name":"set:service-data based on input","xml":"<set>\n\t\n\t<parameter name=\"service-data.request-information.request-id\" value=\"`$audit-configuration-operation-input.request-information.request-id`\" />\n\t<parameter name=\"service-data.request-information.notification-url\" value=\"`$audit-configuration-operation-input.request-information.notification-url`\" />\n\t<parameter name=\"service-data.request-information.request-action\" value=\"`$audit-configuration-operation-input.request-information.request-action`\" />\n\t<parameter name=\"service-data.request-information.source\" value=\"`$audit-configuration-operation-input.request-information.source`\" />\n\t<parameter name=\"service-data.request-information.order-number\" value=\"`$audit-configuration-operation-input.request-information.order-number`\" />\n\t<parameter name=\"service.request-information.order-version\" value=\"`$audit-configuration-operation-input.request-information.order-version`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-request-id\" value=\"`$audit-configuration-operation-input.appc-request-header.svc-request-id`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-action\" value=\"`$audit-configuration-operation-input.appc-request-header.svc-action`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-notification-url\" value=\"`$audit-configuration-operation-input.appc-request-header.svc-notification-url`\" />\n\t<!-- \n\t<parameter name=\"service-data.service-information.service-instance-id\" value=\"`$audit-configuration-operation-input.service-information.service-instance-id`\" />\n\t-->\n\t<parameter name=\"service-data.service-information.service-type\" value=\"`$audit-configuration-operation-input.service-information.service-type`\" />\n\t<parameter name=\"service-data.request-information.request-sub-action\" value=\"`$audit-configuration-operation-input.request-information.request-sub-action`\" />\n\n\t\n\t\n\t","comments":"","x":537,"y":183.3333282470703,"z":"22560c9c.507f14","wires":[]},{"id":"2806bcfa.2a9a64","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-data.appc-request-header.svc-action`\"/>\n<parameter name=\"field4\" value=\"`$service-data.appc-request-header.svc-request-id`\"/>\n<parameter name=\"field5\" value=\"`$service-data.service-information.service-instance-id`\"/>\n<parameter name=\"field6\" value=\"`$service-data.request-information.request-id`\"/>\n<parameter name=\"field7\" value=\"`$service-data.request-information.request-action`\"/>\n<parameter name=\"field8\" value=\"`$service-data.request-information.source`\"/>\n<parameter name=\"field9\" value=\"`$service-data.service-information.service-instance-id`\"/>\n<parameter name=\"field10\" value=\"`$service-data.service-information.service-type`\"/>\n<parameter name=\"field11\" value=\"`$service-data.request-information.request-sub-action`\"/>","comments":"","outputs":1,"x":458,"y":223.3333282470703,"z":"22560c9c.507f14","wires":[[]]},{"id":"d91d40bd.89138","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":232.5,"y":199,"z":"22560c9c.507f14","wires":[["ace6f0cc.7ecce","2806bcfa.2a9a64","a37c4df0.5c6a2"]]},{"id":"a37c4df0.5c6a2","type":"switchNode","name":"switch: last-sub-action-status","xml":"<switch test=\"`$service-data.oper-status.last-sub-action-status`\">\n","comments":"","outputs":1,"x":461,"y":326,"z":"22560c9c.507f14","wires":[["117b233.4c88cdd","d97589b.e4e1e78"]]},{"id":"117b233.4c88cdd","type":"outcome","name":"InProgress","xml":"<outcome value='InProgress'>","comments":"","outputs":1,"x":677,"y":319,"z":"22560c9c.507f14","wires":[["8850e7c6.f04338"]]},{"id":"8850e7c6.f04338","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":846,"y":317,"z":"22560c9c.507f14","wires":[["2a7366c4.037b4a","66448305.03e3cc","c09b7edb.44d67","6d141611.56d708"]]},{"id":"2a7366c4.037b4a","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":1139,"y":330,"z":"22560c9c.507f14","wires":[]},{"id":"d97589b.e4e1e78","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":673,"y":367,"z":"22560c9c.507f14","wires":[["6d141611.56d708"]]},{"id":"66448305.03e3cc","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":1085,"y":248,"z":"22560c9c.507f14","wires":[[]]},{"id":"c09b7edb.44d67","type":"switchNode","name":"switch: tmp.inprogress-time > 6 min (360 seconds)","xml":"<switch test=\"`$tmp.inprogress-time > 360`\">","outputs":1,"x":1162,"y":287,"z":"22560c9c.507f14","wires":[["1349d992.d4dd66"]]},{"id":"1349d992.d4dd66","type":"outcomeFalse","name":"false ","xml":"<outcome value='false'>","comments":"","outputs":1,"x":1462,"y":285,"z":"22560c9c.507f14","wires":[["7daebc71.51c9d4"]]},{"id":"7daebc71.51c9d4","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":1646,"y":282,"z":"22560c9c.507f14","wires":[]},{"id":"b74ead9c.3101a","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":1374,"y":548,"z":"22560c9c.507f14","wires":[]},{"id":"db63f043.6eab3","type":"execute","name":"execute: setTime(modify-timestamp)","xml":"<execute plugin=\"org.openecomp.sdnc.sli.plugin.ipAddressTools.IpAddressTool\" method=\"setTime\">\n\t<parameter name=\"ctxVariable\" value=\"service-data.oper-status.modify-timestamp\"/>","comments":"","outputs":1,"x":1366,"y":449,"z":"22560c9c.507f14","wires":[[]]},{"id":"fb1f199e.1ee6b8","type":"outcome","name":"GETRUNNINGCONFIG","xml":"<outcome value='GETRUNNINGCONFIG'>","comments":"","outputs":1,"x":982,"y":505,"z":"22560c9c.507f14","wires":[["b23ec1e7.d9a61"]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_method_Generic_Evacuate_2.0.0.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_method_Generic_Evacuate_2.0.0.json
index 39e551164..4defa76ed 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_method_Generic_Evacuate_2.0.0.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_method_Generic_Evacuate_2.0.0.json
@@ -1 +1 @@
-[{"id":"a83fc34.6924bc","type":"dgstart","name":"DGSTART","outputs":1,"x":177,"y":100,"z":"f4cf2376.c92f4","wires":[["531a3928.a7bb9"]]},{"id":"531a3928.a7bb9","type":"service-logic","name":"Appc-API 2.0.0","module":"Appc-API","version":"2.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='2.0.0'>","outputs":1,"x":365,"y":101,"z":"f4cf2376.c92f4","wires":[["352baa79.80aee6"]]},{"id":"352baa79.80aee6","type":"method","name":"Generic_Evacuate","xml":"<method rpc='Generic_Evacuate' mode='sync'>\n","comments":"","outputs":1,"x":269,"y":231,"z":"f4cf2376.c92f4","wires":[["c748601f.21dab8"]]},{"id":"75bc6e9a.dd5c9","type":"execute","name":"execute: evacuate","xml":"<execute plugin='org.openecomp.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.openecomp.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.openecomp.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.openecomp.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.openecomp.appc.tenant.id\" value=\"`$tenant-id`\" />\n<parameter name=\"org.openecomp.appc.rebuildvm\" value=\"`$rebuild-vm`\" />\n<parameter name=\"org.openecomp.appc.targethost.id\" value=\"`$targethost-id`\" />\n\n","comments":"","outputs":1,"x":411,"y":523,"z":"f4cf2376.c92f4","wires":[["eb6db261.bc7b28","47819cc2.30deac"]]},{"id":"eb6db261.bc7b28","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":601,"y":571,"z":"f4cf2376.c92f4","wires":[["97cc1ef3.9ec4f"]]},{"id":"47819cc2.30deac","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":591,"y":462,"z":"f4cf2376.c92f4","wires":[["b00d6f4f.ffcb88"]]},{"id":"9b05722c.840468","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1095,"y":501,"z":"f4cf2376.c92f4","wires":[]},{"id":"b00d6f4f.ffcb88","type":"returnFailure","name":"return failure","xml":"<return status='failure'>","comments":"","x":753,"y":462,"z":"f4cf2376.c92f4","wires":[]},{"id":"c748601f.21dab8","type":"execute","name":"execute: flatAndAddToContext","xml":"<execute plugin='org.openecomp.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />\n","comments":"","outputs":1,"x":293,"y":350,"z":"f4cf2376.c92f4","wires":[["75fbe835.95b8a8","b3f66172.ffd75"]]},{"id":"75fbe835.95b8a8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":229,"y":523,"z":"f4cf2376.c92f4","wires":[["75bc6e9a.dd5c9"]]},{"id":"b3f66172.ffd75","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":526,"y":287,"z":"f4cf2376.c92f4","wires":[["53bd08e0.7b10f"]]},{"id":"53bd08e0.7b10f","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":711,"y":287,"z":"f4cf2376.c92f4","wires":[]},{"id":"97cc1ef3.9ec4f","type":"switchNode","name":"switch","xml":"<switch test='`$EVACUATE_STATUS`'>\n","comments":"","outputs":1,"x":755,"y":571,"z":"f4cf2376.c92f4","wires":[["6c8bad6c.9d4904","629304e4.1ee93c"]]},{"id":"6c8bad6c.9d4904","type":"success","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":922,"y":502,"z":"f4cf2376.c92f4","wires":[["9b05722c.840468"]]},{"id":"629304e4.1ee93c","type":"outcome","name":"ERROR","xml":"<outcome value='ERROR'>\n","comments":"","outputs":1,"x":922,"y":637,"z":"f4cf2376.c92f4","wires":[["8fdc00fc.50b118"]]},{"id":"be82d5f2.b11a9","type":"set","name":"set output message","xml":"<set>\n<parameter name='output.status.message' value=\"`$error-message`\" />\n","comments":"","x":1253,"y":636,"z":"f4cf2376.c92f4","wires":[]},{"id":"8fdc00fc.50b118","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1067,"y":636,"z":"f4cf2376.c92f4","wires":[["be82d5f2.b11a9","eca3cbfd.19b238"]]},{"id":"eca3cbfd.19b238","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n","comments":"","x":1241,"y":697,"z":"f4cf2376.c92f4","wires":[]}]
+[{"id":"a83fc34.6924bc","type":"dgstart","name":"DGSTART","outputs":1,"x":177,"y":100,"z":"f4cf2376.c92f4","wires":[["531a3928.a7bb9"]]},{"id":"531a3928.a7bb9","type":"service-logic","name":"Appc-API 2.0.0","module":"Appc-API","version":"2.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='2.0.0'>","outputs":1,"x":365,"y":101,"z":"f4cf2376.c92f4","wires":[["352baa79.80aee6"]]},{"id":"352baa79.80aee6","type":"method","name":"Generic_Evacuate","xml":"<method rpc='Generic_Evacuate' mode='sync'>\n","comments":"","outputs":1,"x":269,"y":231,"z":"f4cf2376.c92f4","wires":[["c748601f.21dab8"]]},{"id":"75bc6e9a.dd5c9","type":"execute","name":"execute: evacuate","xml":"<execute plugin='org.onap.appc.adapter.iaas.ProviderAdapter' method='evacuateServer'>\n<parameter name=\"org.onap.appc.provider.name\" value=\"OpenStack\"/>\n<parameter name=\"org.onap.appc.instance.url\" value=\"`$vm-id`\" />\n<parameter name=\"org.onap.appc.identity.url\" value=\"`$identity-url`\" />\n<parameter name=\"org.onap.appc.tenant.id\" value=\"`$tenant-id`\" />\n<parameter name=\"org.onap.appc.rebuildvm\" value=\"`$rebuild-vm`\" />\n<parameter name=\"org.onap.appc.targethost.id\" value=\"`$targethost-id`\" />\n\n","comments":"","outputs":1,"x":411,"y":523,"z":"f4cf2376.c92f4","wires":[["eb6db261.bc7b28","47819cc2.30deac"]]},{"id":"eb6db261.bc7b28","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":601,"y":571,"z":"f4cf2376.c92f4","wires":[["97cc1ef3.9ec4f"]]},{"id":"47819cc2.30deac","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":591,"y":462,"z":"f4cf2376.c92f4","wires":[["b00d6f4f.ffcb88"]]},{"id":"9b05722c.840468","type":"returnSuccess","name":"return success","xml":"<return status='success'>","comments":"","x":1095,"y":501,"z":"f4cf2376.c92f4","wires":[]},{"id":"b00d6f4f.ffcb88","type":"returnFailure","name":"return failure","xml":"<return status='failure'>","comments":"","x":753,"y":462,"z":"f4cf2376.c92f4","wires":[]},{"id":"c748601f.21dab8","type":"execute","name":"execute: flatAndAddToContext","xml":"<execute plugin='org.onap.appc.dg.common.JsonDgUtil' method='flatAndAddToContext' >\n<parameter name=\"payload\" value=\"`$input.payload`\" />\n","comments":"","outputs":1,"x":293,"y":350,"z":"f4cf2376.c92f4","wires":[["75fbe835.95b8a8","b3f66172.ffd75"]]},{"id":"75fbe835.95b8a8","type":"success","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":229,"y":523,"z":"f4cf2376.c92f4","wires":[["75bc6e9a.dd5c9"]]},{"id":"b3f66172.ffd75","type":"other","name":"other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":526,"y":287,"z":"f4cf2376.c92f4","wires":[["53bd08e0.7b10f"]]},{"id":"53bd08e0.7b10f","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n","comments":"","x":711,"y":287,"z":"f4cf2376.c92f4","wires":[]},{"id":"97cc1ef3.9ec4f","type":"switchNode","name":"switch","xml":"<switch test='`$EVACUATE_STATUS`'>\n","comments":"","outputs":1,"x":755,"y":571,"z":"f4cf2376.c92f4","wires":[["6c8bad6c.9d4904","629304e4.1ee93c"]]},{"id":"6c8bad6c.9d4904","type":"success","name":"SUCCESS","xml":"<outcome value='SUCCESS'>\n","comments":"","outputs":1,"x":922,"y":502,"z":"f4cf2376.c92f4","wires":[["9b05722c.840468"]]},{"id":"629304e4.1ee93c","type":"outcome","name":"ERROR","xml":"<outcome value='ERROR'>\n","comments":"","outputs":1,"x":922,"y":637,"z":"f4cf2376.c92f4","wires":[["8fdc00fc.50b118"]]},{"id":"be82d5f2.b11a9","type":"set","name":"set output message","xml":"<set>\n<parameter name='output.status.message' value=\"`$error-message`\" />\n","comments":"","x":1253,"y":636,"z":"f4cf2376.c92f4","wires":[]},{"id":"8fdc00fc.50b118","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":1067,"y":636,"z":"f4cf2376.c92f4","wires":[["be82d5f2.b11a9","eca3cbfd.19b238"]]},{"id":"eca3cbfd.19b238","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n","comments":"","x":1241,"y":697,"z":"f4cf2376.c92f4","wires":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-activate.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-activate.json
index 8cfd596e6..15f59608c 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-activate.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-activate.json
@@ -1 +1 @@
-[{"id":"b7ddcc21.7450f8","type":"comment","name":"Service-Configuration-Activate","info":"","comments":"","x":1004.75,"y":44,"z":"f00ee083.799bc","wires":[]},{"id":"6190e20.7a54fa","type":"dgstart","name":"DGSTART","outputs":1,"x":132.5,"y":92.1111068725586,"z":"f00ee083.799bc","wires":[["2058c9b5.b7deb6"]]},{"id":"2058c9b5.b7deb6","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":283.6667022705078,"y":92.77776336669922,"z":"f00ee083.799bc","wires":[["4a5c6156.ae9748"]]},{"id":"4a5c6156.ae9748","type":"method","name":"method service-configuration-activate","xml":"<method rpc='service-configuration-activate' mode='sync'>\n","comments":"","outputs":1,"x":539.0000305175781,"y":92.44442749023438,"z":"f00ee083.799bc","wires":[["ae76d72a.cd9fa8"]]},{"id":"c16f0bac.54ec08","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\tenum \"PendingActivate\";\n\t}\n}\n-->","comments":"","outputs":1,"x":146.76312255859375,"y":288.3101501464844,"z":"f00ee083.799bc","wires":[["d1c8c56d.d2c3c8","45617b36.27072c","9d92c880.b8ace8","99c2a412.526c98"]]},{"id":"d1c8c56d.d2c3c8","type":"outcome","name":"Reserved","xml":"<outcome value='Reserved'>","comments":"","outputs":1,"x":352.9147033691406,"y":338.154296875,"z":"f00ee083.799bc","wires":[["5b9c2108.22ff08"]]},{"id":"5b9c2108.22ff08","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":540.9318237304688,"y":302.6607666015625,"z":"f00ee083.799bc","wires":[["8ff99d13.048668","9f7cc348.9044a","d5e2186e.f0d268","5396ee77.430da8","7e50854b.88cc3c","24aaef83.aeb2d8","db59e9a7.81ab18"]]},{"id":"9f7cc348.9044a","type":"set","name":"set: maintinance-indicator = N","xml":"<set>\n\t<parameter name='service-data.oper-status.maintenance-indicator' value='N' />","comments":"","x":807.69384765625,"y":514.8492431640625,"z":"f00ee083.799bc","wires":[]},{"id":"c5dfc2e0.a31f88","type":"failure","name":"failure","xml":"<outcome value='failure'>","outputs":1,"x":939.60693359375,"y":597.1112060546875,"z":"f00ee083.799bc","wires":[["7ab0628e.874b74"]]},{"id":"7ab0628e.874b74","type":"block","name":"block : atomic","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":1134.6068115234375,"y":596.1112060546875,"z":"f00ee083.799bc","wires":[["7c81a934.5f99d","e378e2b2.661aa8"]]},{"id":"45617b36.27072c","type":"other","name":"Other","xml":"<outcome value='Other'>\n\n<!-- null, PendingActivate, Activated, Audited -->","comments":"","outputs":1,"x":238.27389526367188,"y":806.9207153320312,"z":"f00ee083.799bc","wires":[["bd4cd955.3ff1b"]]},{"id":"8ff99d13.048668","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":827.9404296875,"y":335.44451904296875,"z":"f00ee083.799bc","wires":[]},{"id":"d5e2186e.f0d268","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":821.7498779296875,"y":387,"z":"f00ee083.799bc","wires":[[]]},{"id":"bd4cd955.3ff1b","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":427.08331298828125,"y":803.3333129882812,"z":"f00ee083.799bc","wires":[]},{"id":"c03d84f0.eb0e78","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"404\"/>\n\t<parameter name=\"error-message\" value=\"Service instance not found in config tree\"/>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":729.27392578125,"y":152.46835327148438,"z":"f00ee083.799bc","wires":[]},{"id":"59d25bd8.67e904","type":"outcomeFalse","name":"false","xml":"<outcome value=\"false\">","comments":"","outputs":1,"x":550.083251953125,"y":150.66664123535156,"z":"f00ee083.799bc","wires":[["c03d84f0.eb0e78"]]},{"id":"13043f4e.308b39","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":544.4165649414062,"y":194.00001525878906,"z":"f00ee083.799bc","wires":[["c16f0bac.54ec08"]]},{"id":"ae76d72a.cd9fa8","type":"switchNode","name":"switch: service-instance-id config == input","xml":"<switch test=\"`$service-configuration-operation-input.service-information.service-instance-id == $service-data.service-information.service-instance-id`\">","comments":"","outputs":1,"x":206.74984741210938,"y":169.99998474121094,"z":"f00ee083.799bc","wires":[["59d25bd8.67e904","13043f4e.308b39"]]},{"id":"5396ee77.430da8","type":"save","name":"save: modify-timestamp","xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"service-data\">\n\t\t<parameter name=\"service-data.oper-status.modify-timestamp\" value=\"`$service-data.oper-status.modify-timestamp`\" />","comments":"","outputs":1,"x":783.75,"y":450,"z":"f00ee083.799bc","wires":[[]]},{"id":"391458f8.3734d8","type":"failure","name":"success","xml":"<outcome value='success'>","comments":"","outputs":1,"x":936.7498779296875,"y":864,"z":"f00ee083.799bc","wires":[["230778fb.d3aa48"]]},{"id":"230778fb.d3aa48","type":"block","name":"block : atomic","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":1139.41650390625,"y":861.3333740234375,"z":"f00ee083.799bc","wires":[["669f2807.a376","f3bf236d.1c5ee8"]]},{"id":"669f2807.a376","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />","comments":"","x":1445.7498779296875,"y":970,"z":"f00ee083.799bc","wires":[]},{"id":"beaa19db.1d003","type":"comment","name":"OrderStatus null - NO prepare done","info":"","comments":"","x":144,"y":873,"z":"f00ee083.799bc","wires":[]},{"id":"4afdefcb.ed7e5","type":"set","name":"set: order-status = RequestFailed","xml":"<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"RequestFailed\" />","comments":"","x":1529.7498779296875,"y":548,"z":"f00ee083.799bc","wires":[]},{"id":"7e50854b.88cc3c","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<parameter name=\"service-data.oper-status.last-order-status\" value=\"`$service-data.oper-status.order-status`\" />\n\n","comments":"","outputs":1,"x":906.7498779296875,"y":280,"z":"f00ee083.799bc","wires":[[]]},{"id":"4d7aca93.0251cc","type":"set","name":"set: order-status = PendingActivate","xml":"<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"PendingActivate\" />","comments":"","x":1499.7498779296875,"y":851,"z":"f00ee083.799bc","wires":[]},{"id":"96545374.14f618","type":"comment","name":"Only Need Service_instance_id from input","info":"","comments":"","x":1184.5,"y":367,"z":"f00ee083.799bc","wires":[]},{"id":"24aaef83.aeb2d8","type":"configure","name":"configure: ConfigComponentAdaptor","xml":"<configure adaptor=\"org.openecomp.appc.ccadaptor.ConfigComponentAdaptor\" key=\"dummy\">\n\t<parameter name=\"action\" value=\"activate\"/>\n\t\n\n\t","comments":"","outputs":1,"x":671.75,"y":626,"z":"f00ee083.799bc","wires":[["c5dfc2e0.a31f88","391458f8.3734d8"]]},{"id":"db59e9a7.81ab18","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:Activate:Before Calling ConfigAdaptor\"/>\n<parameter name=\"field3\" value=\"`$service-data.oper-status.order-status`\"/>\n<parameter name=\"field4\" value=\"`$service-data.service-information.service-instance-id`\"/>\n<parameter name=\"field5\" value=\"`$service-data.vnf-config-information.vnf-type`\"/>\n\n<parameter name=\"field7\" value=\"`$service-data.vnf-config-information.vnf-host-ip-address`\"/>\n\n\n","comments":"","outputs":1,"x":734.5,"y":568,"z":"f00ee083.799bc","wires":[[]]},{"id":"7c81a934.5f99d","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:Activate: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<parameter name=\"field5\" value=\"`$service-data.vnf-config-information.vnf-type`\"/>\n\n<parameter name=\"field7\" value=\"`$service-data.vnf-config-information.vnf-host-ip-address`\"/>\n\n\n","comments":"","outputs":1,"x":1439.5,"y":507,"z":"f00ee083.799bc","wires":[[]]},{"id":"f3bf236d.1c5ee8","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:Activate: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<parameter name=\"field5\" value=\"`$service-data.vnf-config-information.vnf-type`\"/>\n<parameter name=\"field7\" value=\"`$service-data.vnf-config-information.vnf-host-ip-address`\"/>\n\n\n","comments":"","outputs":1,"x":1416.5,"y":791,"z":"f00ee083.799bc","wires":[[]]},{"id":"9d92c880.b8ace8","type":"outcome","name":"RequestFailed","xml":"<outcome value='RequestFailed'>","comments":"","outputs":1,"x":361.75,"y":275,"z":"f00ee083.799bc","wires":[["5b9c2108.22ff08"]]},{"id":"77ba363f.3bc7d8","type":"outcome","name":"InProgressTimeout","xml":"<outcome value='InProgressTimeout'>","comments":"","outputs":1,"x":382.75,"y":471,"z":"f00ee083.799bc","wires":[[]]},{"id":"97f847f7.7c233","type":"set","name":"set: last-sub-action-status = RequestFailed","xml":"<set>\n\t<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"RequestFailed\" />","comments":"","x":1556.75,"y":592,"z":"f00ee083.799bc","wires":[]},{"id":"bfd9b6ea.7f73c8","type":"comment","name":"LastSubAction status set on Notification","info":"","comments":"","x":1890.75,"y":590,"z":"f00ee083.799bc","wires":[]},{"id":"2e268fc9.50fa08","type":"comment","name":"Set Order Status on Notification","info":"","comments":"","x":1706.75,"y":761,"z":"f00ee083.799bc","wires":[]},{"id":"e378e2b2.661aa8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":1463.75,"y":645,"z":"f00ee083.799bc","wires":[]},{"id":"99c2a412.526c98","type":"outcome","name":"PendingActivate","xml":"<outcome value='PendingActivate'>","comments":"","outputs":1,"x":351.75,"y":391,"z":"f00ee083.799bc","wires":[["5b9c2108.22ff08"]]}]
+[{"id":"b7ddcc21.7450f8","type":"comment","name":"Service-Configuration-Activate","info":"","comments":"","x":1004.75,"y":44,"z":"f00ee083.799bc","wires":[]},{"id":"6190e20.7a54fa","type":"dgstart","name":"DGSTART","outputs":1,"x":132.5,"y":92.1111068725586,"z":"f00ee083.799bc","wires":[["2058c9b5.b7deb6"]]},{"id":"2058c9b5.b7deb6","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":283.6667022705078,"y":92.77776336669922,"z":"f00ee083.799bc","wires":[["4a5c6156.ae9748"]]},{"id":"4a5c6156.ae9748","type":"method","name":"method service-configuration-activate","xml":"<method rpc='service-configuration-activate' mode='sync'>\n","comments":"","outputs":1,"x":539.0000305175781,"y":92.44442749023438,"z":"f00ee083.799bc","wires":[["ae76d72a.cd9fa8"]]},{"id":"c16f0bac.54ec08","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\tenum \"PendingActivate\";\n\t}\n}\n-->","comments":"","outputs":1,"x":146.76312255859375,"y":288.3101501464844,"z":"f00ee083.799bc","wires":[["d1c8c56d.d2c3c8","45617b36.27072c","9d92c880.b8ace8","99c2a412.526c98"]]},{"id":"d1c8c56d.d2c3c8","type":"outcome","name":"Reserved","xml":"<outcome value='Reserved'>","comments":"","outputs":1,"x":352.9147033691406,"y":338.154296875,"z":"f00ee083.799bc","wires":[["5b9c2108.22ff08"]]},{"id":"5b9c2108.22ff08","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":540.9318237304688,"y":302.6607666015625,"z":"f00ee083.799bc","wires":[["8ff99d13.048668","9f7cc348.9044a","d5e2186e.f0d268","5396ee77.430da8","7e50854b.88cc3c","24aaef83.aeb2d8","db59e9a7.81ab18"]]},{"id":"9f7cc348.9044a","type":"set","name":"set: maintinance-indicator = N","xml":"<set>\n\t<parameter name='service-data.oper-status.maintenance-indicator' value='N' />","comments":"","x":807.69384765625,"y":514.8492431640625,"z":"f00ee083.799bc","wires":[]},{"id":"c5dfc2e0.a31f88","type":"failure","name":"failure","xml":"<outcome value='failure'>","outputs":1,"x":939.60693359375,"y":597.1112060546875,"z":"f00ee083.799bc","wires":[["7ab0628e.874b74"]]},{"id":"7ab0628e.874b74","type":"block","name":"block : atomic","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":1134.6068115234375,"y":596.1112060546875,"z":"f00ee083.799bc","wires":[["7c81a934.5f99d","e378e2b2.661aa8"]]},{"id":"45617b36.27072c","type":"other","name":"Other","xml":"<outcome value='Other'>\n\n<!-- null, PendingActivate, Activated, Audited -->","comments":"","outputs":1,"x":238.27389526367188,"y":806.9207153320312,"z":"f00ee083.799bc","wires":[["bd4cd955.3ff1b"]]},{"id":"8ff99d13.048668","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":827.9404296875,"y":335.44451904296875,"z":"f00ee083.799bc","wires":[]},{"id":"d5e2186e.f0d268","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":821.7498779296875,"y":387,"z":"f00ee083.799bc","wires":[[]]},{"id":"bd4cd955.3ff1b","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":427.08331298828125,"y":803.3333129882812,"z":"f00ee083.799bc","wires":[]},{"id":"c03d84f0.eb0e78","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"404\"/>\n\t<parameter name=\"error-message\" value=\"Service instance not found in config tree\"/>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":729.27392578125,"y":152.46835327148438,"z":"f00ee083.799bc","wires":[]},{"id":"59d25bd8.67e904","type":"outcomeFalse","name":"false","xml":"<outcome value=\"false\">","comments":"","outputs":1,"x":550.083251953125,"y":150.66664123535156,"z":"f00ee083.799bc","wires":[["c03d84f0.eb0e78"]]},{"id":"13043f4e.308b39","type":"outcomeTrue","name":"true","xml":"<outcome value='true'>","comments":"","outputs":1,"x":544.4165649414062,"y":194.00001525878906,"z":"f00ee083.799bc","wires":[["c16f0bac.54ec08"]]},{"id":"ae76d72a.cd9fa8","type":"switchNode","name":"switch: service-instance-id config == input","xml":"<switch test=\"`$service-configuration-operation-input.service-information.service-instance-id == $service-data.service-information.service-instance-id`\">","comments":"","outputs":1,"x":206.74984741210938,"y":169.99998474121094,"z":"f00ee083.799bc","wires":[["59d25bd8.67e904","13043f4e.308b39"]]},{"id":"5396ee77.430da8","type":"save","name":"save: modify-timestamp","xml":"<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"service-data\">\n\t\t<parameter name=\"service-data.oper-status.modify-timestamp\" value=\"`$service-data.oper-status.modify-timestamp`\" />","comments":"","outputs":1,"x":783.75,"y":450,"z":"f00ee083.799bc","wires":[[]]},{"id":"391458f8.3734d8","type":"failure","name":"success","xml":"<outcome value='success'>","comments":"","outputs":1,"x":936.7498779296875,"y":864,"z":"f00ee083.799bc","wires":[["230778fb.d3aa48"]]},{"id":"230778fb.d3aa48","type":"block","name":"block : atomic","xml":"<block>","atomic":"true","comments":"","outputs":1,"x":1139.41650390625,"y":861.3333740234375,"z":"f00ee083.799bc","wires":[["669f2807.a376","f3bf236d.1c5ee8"]]},{"id":"669f2807.a376","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />","comments":"","x":1445.7498779296875,"y":970,"z":"f00ee083.799bc","wires":[]},{"id":"beaa19db.1d003","type":"comment","name":"OrderStatus null - NO prepare done","info":"","comments":"","x":144,"y":873,"z":"f00ee083.799bc","wires":[]},{"id":"4afdefcb.ed7e5","type":"set","name":"set: order-status = RequestFailed","xml":"<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"RequestFailed\" />","comments":"","x":1529.7498779296875,"y":548,"z":"f00ee083.799bc","wires":[]},{"id":"7e50854b.88cc3c","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<parameter name=\"service-data.oper-status.last-order-status\" value=\"`$service-data.oper-status.order-status`\" />\n\n","comments":"","outputs":1,"x":906.7498779296875,"y":280,"z":"f00ee083.799bc","wires":[[]]},{"id":"4d7aca93.0251cc","type":"set","name":"set: order-status = PendingActivate","xml":"<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"PendingActivate\" />","comments":"","x":1499.7498779296875,"y":851,"z":"f00ee083.799bc","wires":[]},{"id":"96545374.14f618","type":"comment","name":"Only Need Service_instance_id from input","info":"","comments":"","x":1184.5,"y":367,"z":"f00ee083.799bc","wires":[]},{"id":"24aaef83.aeb2d8","type":"configure","name":"configure: ConfigComponentAdaptor","xml":"<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"dummy\">\n\t<parameter name=\"action\" value=\"activate\"/>\n\t\n\n\t","comments":"","outputs":1,"x":671.75,"y":626,"z":"f00ee083.799bc","wires":[["c5dfc2e0.a31f88","391458f8.3734d8"]]},{"id":"db59e9a7.81ab18","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:Activate:Before Calling ConfigAdaptor\"/>\n<parameter name=\"field3\" value=\"`$service-data.oper-status.order-status`\"/>\n<parameter name=\"field4\" value=\"`$service-data.service-information.service-instance-id`\"/>\n<parameter name=\"field5\" value=\"`$service-data.vnf-config-information.vnf-type`\"/>\n\n<parameter name=\"field7\" value=\"`$service-data.vnf-config-information.vnf-host-ip-address`\"/>\n\n\n","comments":"","outputs":1,"x":734.5,"y":568,"z":"f00ee083.799bc","wires":[[]]},{"id":"7c81a934.5f99d","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:Activate: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<parameter name=\"field5\" value=\"`$service-data.vnf-config-information.vnf-type`\"/>\n\n<parameter name=\"field7\" value=\"`$service-data.vnf-config-information.vnf-host-ip-address`\"/>\n\n\n","comments":"","outputs":1,"x":1439.5,"y":507,"z":"f00ee083.799bc","wires":[[]]},{"id":"f3bf236d.1c5ee8","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:Activate: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<parameter name=\"field5\" value=\"`$service-data.vnf-config-information.vnf-type`\"/>\n<parameter name=\"field7\" value=\"`$service-data.vnf-config-information.vnf-host-ip-address`\"/>\n\n\n","comments":"","outputs":1,"x":1416.5,"y":791,"z":"f00ee083.799bc","wires":[[]]},{"id":"9d92c880.b8ace8","type":"outcome","name":"RequestFailed","xml":"<outcome value='RequestFailed'>","comments":"","outputs":1,"x":361.75,"y":275,"z":"f00ee083.799bc","wires":[["5b9c2108.22ff08"]]},{"id":"77ba363f.3bc7d8","type":"outcome","name":"InProgressTimeout","xml":"<outcome value='InProgressTimeout'>","comments":"","outputs":1,"x":382.75,"y":471,"z":"f00ee083.799bc","wires":[[]]},{"id":"97f847f7.7c233","type":"set","name":"set: last-sub-action-status = RequestFailed","xml":"<set>\n\t<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"RequestFailed\" />","comments":"","x":1556.75,"y":592,"z":"f00ee083.799bc","wires":[]},{"id":"bfd9b6ea.7f73c8","type":"comment","name":"LastSubAction status set on Notification","info":"","comments":"","x":1890.75,"y":590,"z":"f00ee083.799bc","wires":[]},{"id":"2e268fc9.50fa08","type":"comment","name":"Set Order Status on Notification","info":"","comments":"","x":1706.75,"y":761,"z":"f00ee083.799bc","wires":[]},{"id":"e378e2b2.661aa8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":1463.75,"y":645,"z":"f00ee083.799bc","wires":[]},{"id":"99c2a412.526c98","type":"outcome","name":"PendingActivate","xml":"<outcome value='PendingActivate'>","comments":"","outputs":1,"x":351.75,"y":391,"z":"f00ee083.799bc","wires":[["5b9c2108.22ff08"]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-backup.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-backup.json
index b7567ce61..cc531d753 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-backup.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-backup.json
@@ -1 +1 @@
-[{"id":"72300b6a.d66304","type":"comment","name":"Service-Configuration-Backup","info":"","comments":"","x":1466.25,"y":116,"z":"37e3acc8.561634","wires":[]},{"id":"6f0f1b54.abf674","type":"dgstart","name":"DGSTART","outputs":1,"x":85.5,"y":124.1111068725586,"z":"37e3acc8.561634","wires":[["3306295a.100926"]]},{"id":"3306295a.100926","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":254.6667022705078,"y":121.77776336669922,"z":"37e3acc8.561634","wires":[["a625e1b7.68491"]]},{"id":"a625e1b7.68491","type":"method","name":"method service-configuration-backup","xml":"<method rpc='service-configuration-backup' mode='sync'>\n","comments":"","outputs":1,"x":514.0000305175781,"y":116.44442749023438,"z":"37e3acc8.561634","wires":[["7cce1009.b1969"]]},{"id":"50956db6.420d34","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-data.backup-information.service-instance-id`\"/>\n<parameter name=\"SERVICEDATAFILENAME\" value=\"`$service-data.backup-information.file-name`\"/>\n<parameter name=\"field4\" value=\"`$service-data.backup-information.file-type`\"/>\n<parameter name=\"field5\" value=\"`$service-configuration-operation-input.backup-information.service-instance-id`\"/>\n<parameter name=\"INPUTFILENAME\" value=\"`$service-configuration-operation-input.backup-information.file-name`\"/>\n<parameter name=\"field7\" value=\"`$service-configuration-operation-input.backup-information.file-type`\"/>\n<parameter name=\"field8\" value=\"`$service-data.appc-request-header.svc-action`\"/>\n<parameter name=\"field9\" value=\"`$service-data.vnf-config-information.vnf-host-ip-address`\"/>\n<parameter name=\"field10\" value=\"`$service-configuration-operation-input.appc-request-header.svc-action`\"/>\n<parameter name=\"field11\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-host-ip-address`\"/>\n","comments":"","outputs":1,"x":265.7498779296875,"y":381,"z":"37e3acc8.561634","wires":[[]]},{"id":"792c5a95.fa7b24","type":"GenericXML","name":"set: backup information and host IP","xml":"<set>\n\t<parameter name=\"service-data.backup-information.file-type\" value=\"`$service-configuration-operation-input.backup-information.file-type`\" />\n\t\n\t<parameter name=\"service-data.backup-information.file-name\" value=\"`$service-configuration-operation-input.backup-information.file-name`\" />\n\t\n\t<parameter name=\"service-data.backup-information.service-instance-id\" value=\"`$service-configuration-operation-input.backup-information.service-instance-id`\" />\n\t<parameter name=\"service-data.vnf-config-information.vnf-host-ip-address\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-host-ip-address`\" />\n\t<parameter name=\"service-data.service-information.service-instance-id\" value=\"`$service-configuration-operation-input.backup-information.service-instance-id`\"/>\n\t<parameter name=\"service-data.vnf-config-information.vendor\" value=\"`$service-configuration-operation-input.vnf-config-information.vendor`\" />\n\t\n\t\n\n","comments":"","outputs":1,"x":356,"y":339,"z":"37e3acc8.561634","wires":[[]]},{"id":"a358039.b124","type":"configure","name":"configure: ConfigComponentAdaptor","xml":"<configure adaptor=\"org.openecomp.appc.ccadaptor.ConfigComponentAdaptor\" key=\"dummy\">\n\t<parameter name=\"action\" value=\"`$service-data.appc-request-header.svc-action`\"/>\n\t\n\n\t","comments":"","outputs":1,"x":170,"y":1066,"z":"37e3acc8.561634","wires":[["cb278383.f55b3","640f72bc.e9135c"]]},{"id":"cb278383.f55b3","type":"failure","name":"failure","xml":"<outcome value='failure'>","outputs":1,"x":434,"y":1070,"z":"37e3acc8.561634","wires":[["92a5a578.2184b8"]]},{"id":"640f72bc.e9135c","type":"failure","name":"success","xml":"<outcome value='success'>","comments":"","outputs":1,"x":430,"y":1187,"z":"37e3acc8.561634","wires":[["31cc3939.22b816"]]},{"id":"31cc3939.22b816","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />","comments":"","x":640,"y":1190,"z":"37e3acc8.561634","wires":[]},{"id":"92a5a578.2184b8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":623,"y":1073,"z":"37e3acc8.561634","wires":[]},{"id":"ed24f120.cf4c8","type":"get-resource","name":"get-resource: A&AI Data","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-name = $service-configuration-operation-input.service-information.service-instance-id\" pfx=\"tmp.aai-data\" >\n\n","comments":"","outputs":1,"x":821.5,"y":468,"z":"37e3acc8.561634","wires":[["2291f352.f5521c","4f2eb8f2.d537d8","448baa3.3f7e954"]]},{"id":"544d666.8d42598","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=\"VsbgServiceBackupRequest\" />\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<parameter name=\"service-data.oper-status.last-order-status\" value=\"`$service-data.oper-status.order-status`\" />\n\n","comments":"","outputs":1,"x":456.5,"y":426,"z":"37e3acc8.561634","wires":[[]]},{"id":"973644f5.342df8","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":116.5,"y":645,"z":"37e3acc8.561634","wires":[["f556e104.4b20b","6709c25e.a37b9c"]]},{"id":"f556e104.4b20b","type":"other","name":"RESTOREBACKUP","xml":"<outcome value='RESTOREBACKUP'>","comments":"","outputs":1,"x":350.5,"y":626,"z":"37e3acc8.561634","wires":[["dd64e29e.a7665"]]},{"id":"172a6471.dec2ec","type":"switchNode","name":"switch: A&AI Prov Status","xml":"<switch test=\"`$tmp.aai-data.prov-status`\">\n\n","comments":"","outputs":1,"x":1174.5,"y":733,"z":"37e3acc8.561634","wires":[["359f8600.44336a","7eaece51.99dc2","6d8cd7bb.309a78","7d475d2b.45f914"]]},{"id":"6709c25e.a37b9c","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":325.5,"y":688,"z":"37e3acc8.561634","wires":[["a358039.b124"]]},{"id":"9af828ad.bb9858","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"404\"/>\n\t<parameter name=\"error-message\" value=\"The SBG is in service and the configuration cannot be restored back to the initial configuration.The SBG should be put in a maintenance state before restoring.\"/>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":1613.5,"y":747,"z":"37e3acc8.561634","wires":[]},{"id":"359f8600.44336a","type":"other","name":"PROV","xml":"<outcome value='PROV'>","comments":"","outputs":1,"x":1434.5,"y":749,"z":"37e3acc8.561634","wires":[["9af828ad.bb9858"]]},{"id":"7eaece51.99dc2","type":"other","name":"PREPROV","xml":"<outcome value='PREPROV'>","comments":"","outputs":1,"x":1445.5,"y":798,"z":"37e3acc8.561634","wires":[["a358039.b124"]]},{"id":"6d8cd7bb.309a78","type":"other","name":"NVTPROV","xml":"<outcome value='NVTPROV'>","comments":"","outputs":1,"x":1450.5,"y":851,"z":"37e3acc8.561634","wires":[["a358039.b124"]]},{"id":"7d475d2b.45f914","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1461.5,"y":904,"z":"37e3acc8.561634","wires":[["f2f5f030.526eb"]]},{"id":"f2f5f030.526eb","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"404\"/>\n\t<parameter name=\"error-message\" value=\"`'Restore configuration is not allowed. SBG Status is' + $tmp.aai-data.prov-status`\"/>\n\n<!--\n<parameter name=\"error-message\" value=\"Restore configuration is not allowed. Invalid A&AI Status\"/>\n-->\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":1634.5,"y":903,"z":"37e3acc8.561634","wires":[]},{"id":"7cce1009.b1969","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":67.5,"y":206,"z":"37e3acc8.561634","wires":[["50956db6.420d34","544d666.8d42598","5ea37258.1f5a0c","ed61d3df.d15ae","973644f5.342df8","792c5a95.fa7b24"]]},{"id":"5ea37258.1f5a0c","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":364.5,"y":469,"z":"37e3acc8.561634","wires":[]},{"id":"ed61d3df.d15ae","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":368.5,"y":516,"z":"37e3acc8.561634","wires":[[]]},{"id":"dd64e29e.a7665","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":571.5,"y":568,"z":"37e3acc8.561634","wires":[["ed24f120.cf4c8"]]},{"id":"4cc5dcc9.9cef84","type":"switchNode","name":"switch: A&AI In-Maint","xml":"<switch test=\"`$tmp.aai-data.in-maint`\">\n\n","comments":"","outputs":1,"x":1167.5,"y":654,"z":"37e3acc8.561634","wires":[["a0194efc.a2f1f"]]},{"id":"2291f352.f5521c","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1048.5,"y":467,"z":"37e3acc8.561634","wires":[["685cea94.e1a364"]]},{"id":"4f2eb8f2.d537d8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1044.5,"y":511,"z":"37e3acc8.561634","wires":[["e6099183.cff0e"]]},{"id":"685cea94.e1a364","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"404\"/>\n\t<parameter name=\"error-message\" value=\"SBG not found in A&amp;AI.\"/>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":1243.5,"y":463,"z":"37e3acc8.561634","wires":[]},{"id":"a0194efc.a2f1f","type":"other","name":"false","xml":"<outcome value='false'>","comments":"","outputs":1,"x":1346.5,"y":654,"z":"37e3acc8.561634","wires":[["13a83c58.fc2154"]]},{"id":"13a83c58.fc2154","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"404\"/>\n\t<parameter name=\"error-message\" value=\"The SBG is in service and the configuration cannot be restored back to the initial configuration.The SBG should be put in a maintenance state before restoring.\"/>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":1513.5,"y":653,"z":"37e3acc8.561634","wires":[]},{"id":"448baa3.3f7e954","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":776.5,"y":580,"z":"37e3acc8.561634","wires":[["1bc02fac.ed8ea"]]},{"id":"1bc02fac.ed8ea","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":944.5,"y":581,"z":"37e3acc8.561634","wires":[["4cc5dcc9.9cef84","172a6471.dec2ec","3b0ebd45.85a932"]]},{"id":"3b0ebd45.85a932","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=\"PROVSTATUS\" value=\"`$tmp.aai-data.prov-status`\"/>\n<parameter name=\"INMAINT\" value=\"`$tmp.aai-data.in-maint`\"/>\n\n\n","comments":"","outputs":1,"x":1133.5,"y":579,"z":"37e3acc8.561634","wires":[[]]},{"id":"e6099183.cff0e","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"405\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.aai-data.error.message + '.Response code:' + $tmp.aai-data.error.http.response-code`\"/>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":1234,"y":511,"z":"37e3acc8.561634","wires":[]}]
+[{"id":"72300b6a.d66304","type":"comment","name":"Service-Configuration-Backup","info":"","comments":"","x":1466.25,"y":116,"z":"37e3acc8.561634","wires":[]},{"id":"6f0f1b54.abf674","type":"dgstart","name":"DGSTART","outputs":1,"x":85.5,"y":124.1111068725586,"z":"37e3acc8.561634","wires":[["3306295a.100926"]]},{"id":"3306295a.100926","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":254.6667022705078,"y":121.77776336669922,"z":"37e3acc8.561634","wires":[["a625e1b7.68491"]]},{"id":"a625e1b7.68491","type":"method","name":"method service-configuration-backup","xml":"<method rpc='service-configuration-backup' mode='sync'>\n","comments":"","outputs":1,"x":514.0000305175781,"y":116.44442749023438,"z":"37e3acc8.561634","wires":[["7cce1009.b1969"]]},{"id":"50956db6.420d34","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-data.backup-information.service-instance-id`\"/>\n<parameter name=\"SERVICEDATAFILENAME\" value=\"`$service-data.backup-information.file-name`\"/>\n<parameter name=\"field4\" value=\"`$service-data.backup-information.file-type`\"/>\n<parameter name=\"field5\" value=\"`$service-configuration-operation-input.backup-information.service-instance-id`\"/>\n<parameter name=\"INPUTFILENAME\" value=\"`$service-configuration-operation-input.backup-information.file-name`\"/>\n<parameter name=\"field7\" value=\"`$service-configuration-operation-input.backup-information.file-type`\"/>\n<parameter name=\"field8\" value=\"`$service-data.appc-request-header.svc-action`\"/>\n<parameter name=\"field9\" value=\"`$service-data.vnf-config-information.vnf-host-ip-address`\"/>\n<parameter name=\"field10\" value=\"`$service-configuration-operation-input.appc-request-header.svc-action`\"/>\n<parameter name=\"field11\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-host-ip-address`\"/>\n","comments":"","outputs":1,"x":265.7498779296875,"y":381,"z":"37e3acc8.561634","wires":[[]]},{"id":"792c5a95.fa7b24","type":"GenericXML","name":"set: backup information and host IP","xml":"<set>\n\t<parameter name=\"service-data.backup-information.file-type\" value=\"`$service-configuration-operation-input.backup-information.file-type`\" />\n\t\n\t<parameter name=\"service-data.backup-information.file-name\" value=\"`$service-configuration-operation-input.backup-information.file-name`\" />\n\t\n\t<parameter name=\"service-data.backup-information.service-instance-id\" value=\"`$service-configuration-operation-input.backup-information.service-instance-id`\" />\n\t<parameter name=\"service-data.vnf-config-information.vnf-host-ip-address\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-host-ip-address`\" />\n\t<parameter name=\"service-data.service-information.service-instance-id\" value=\"`$service-configuration-operation-input.backup-information.service-instance-id`\"/>\n\t<parameter name=\"service-data.vnf-config-information.vendor\" value=\"`$service-configuration-operation-input.vnf-config-information.vendor`\" />\n\t\n\t\n\n","comments":"","outputs":1,"x":356,"y":339,"z":"37e3acc8.561634","wires":[[]]},{"id":"a358039.b124","type":"configure","name":"configure: ConfigComponentAdaptor","xml":"<configure adaptor=\"org.onap.appc.ccadaptor.ConfigComponentAdaptor\" key=\"dummy\">\n\t<parameter name=\"action\" value=\"`$service-data.appc-request-header.svc-action`\"/>\n\t\n\n\t","comments":"","outputs":1,"x":170,"y":1066,"z":"37e3acc8.561634","wires":[["cb278383.f55b3","640f72bc.e9135c"]]},{"id":"cb278383.f55b3","type":"failure","name":"failure","xml":"<outcome value='failure'>","outputs":1,"x":434,"y":1070,"z":"37e3acc8.561634","wires":[["92a5a578.2184b8"]]},{"id":"640f72bc.e9135c","type":"failure","name":"success","xml":"<outcome value='success'>","comments":"","outputs":1,"x":430,"y":1187,"z":"37e3acc8.561634","wires":[["31cc3939.22b816"]]},{"id":"31cc3939.22b816","type":"returnSuccess","name":"return success","xml":"<return status='success'>\n\t<parameter name=\"error-code\" value=\"200\" />","comments":"","x":640,"y":1190,"z":"37e3acc8.561634","wires":[]},{"id":"92a5a578.2184b8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":623,"y":1073,"z":"37e3acc8.561634","wires":[]},{"id":"ed24f120.cf4c8","type":"get-resource","name":"get-resource: A&AI Data","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-name = $service-configuration-operation-input.service-information.service-instance-id\" pfx=\"tmp.aai-data\" >\n\n","comments":"","outputs":1,"x":821.5,"y":468,"z":"37e3acc8.561634","wires":[["2291f352.f5521c","4f2eb8f2.d537d8","448baa3.3f7e954"]]},{"id":"544d666.8d42598","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=\"VsbgServiceBackupRequest\" />\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<parameter name=\"service-data.oper-status.last-order-status\" value=\"`$service-data.oper-status.order-status`\" />\n\n","comments":"","outputs":1,"x":456.5,"y":426,"z":"37e3acc8.561634","wires":[[]]},{"id":"973644f5.342df8","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":116.5,"y":645,"z":"37e3acc8.561634","wires":[["f556e104.4b20b","6709c25e.a37b9c"]]},{"id":"f556e104.4b20b","type":"other","name":"RESTOREBACKUP","xml":"<outcome value='RESTOREBACKUP'>","comments":"","outputs":1,"x":350.5,"y":626,"z":"37e3acc8.561634","wires":[["dd64e29e.a7665"]]},{"id":"172a6471.dec2ec","type":"switchNode","name":"switch: A&AI Prov Status","xml":"<switch test=\"`$tmp.aai-data.prov-status`\">\n\n","comments":"","outputs":1,"x":1174.5,"y":733,"z":"37e3acc8.561634","wires":[["359f8600.44336a","7eaece51.99dc2","6d8cd7bb.309a78","7d475d2b.45f914"]]},{"id":"6709c25e.a37b9c","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":325.5,"y":688,"z":"37e3acc8.561634","wires":[["a358039.b124"]]},{"id":"9af828ad.bb9858","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"404\"/>\n\t<parameter name=\"error-message\" value=\"The SBG is in service and the configuration cannot be restored back to the initial configuration.The SBG should be put in a maintenance state before restoring.\"/>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":1613.5,"y":747,"z":"37e3acc8.561634","wires":[]},{"id":"359f8600.44336a","type":"other","name":"PROV","xml":"<outcome value='PROV'>","comments":"","outputs":1,"x":1434.5,"y":749,"z":"37e3acc8.561634","wires":[["9af828ad.bb9858"]]},{"id":"7eaece51.99dc2","type":"other","name":"PREPROV","xml":"<outcome value='PREPROV'>","comments":"","outputs":1,"x":1445.5,"y":798,"z":"37e3acc8.561634","wires":[["a358039.b124"]]},{"id":"6d8cd7bb.309a78","type":"other","name":"NVTPROV","xml":"<outcome value='NVTPROV'>","comments":"","outputs":1,"x":1450.5,"y":851,"z":"37e3acc8.561634","wires":[["a358039.b124"]]},{"id":"7d475d2b.45f914","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1461.5,"y":904,"z":"37e3acc8.561634","wires":[["f2f5f030.526eb"]]},{"id":"f2f5f030.526eb","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"404\"/>\n\t<parameter name=\"error-message\" value=\"`'Restore configuration is not allowed. SBG Status is' + $tmp.aai-data.prov-status`\"/>\n\n<!--\n<parameter name=\"error-message\" value=\"Restore configuration is not allowed. Invalid A&AI Status\"/>\n-->\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":1634.5,"y":903,"z":"37e3acc8.561634","wires":[]},{"id":"7cce1009.b1969","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":67.5,"y":206,"z":"37e3acc8.561634","wires":[["50956db6.420d34","544d666.8d42598","5ea37258.1f5a0c","ed61d3df.d15ae","973644f5.342df8","792c5a95.fa7b24"]]},{"id":"5ea37258.1f5a0c","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":364.5,"y":469,"z":"37e3acc8.561634","wires":[]},{"id":"ed61d3df.d15ae","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":368.5,"y":516,"z":"37e3acc8.561634","wires":[[]]},{"id":"dd64e29e.a7665","type":"block","name":"block","xml":"<block>\n","atomic":"false","comments":"","outputs":1,"x":571.5,"y":568,"z":"37e3acc8.561634","wires":[["ed24f120.cf4c8"]]},{"id":"4cc5dcc9.9cef84","type":"switchNode","name":"switch: A&AI In-Maint","xml":"<switch test=\"`$tmp.aai-data.in-maint`\">\n\n","comments":"","outputs":1,"x":1167.5,"y":654,"z":"37e3acc8.561634","wires":[["a0194efc.a2f1f"]]},{"id":"2291f352.f5521c","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1048.5,"y":467,"z":"37e3acc8.561634","wires":[["685cea94.e1a364"]]},{"id":"4f2eb8f2.d537d8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1044.5,"y":511,"z":"37e3acc8.561634","wires":[["e6099183.cff0e"]]},{"id":"685cea94.e1a364","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"404\"/>\n\t<parameter name=\"error-message\" value=\"SBG not found in A&amp;AI.\"/>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":1243.5,"y":463,"z":"37e3acc8.561634","wires":[]},{"id":"a0194efc.a2f1f","type":"other","name":"false","xml":"<outcome value='false'>","comments":"","outputs":1,"x":1346.5,"y":654,"z":"37e3acc8.561634","wires":[["13a83c58.fc2154"]]},{"id":"13a83c58.fc2154","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"404\"/>\n\t<parameter name=\"error-message\" value=\"The SBG is in service and the configuration cannot be restored back to the initial configuration.The SBG should be put in a maintenance state before restoring.\"/>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":1513.5,"y":653,"z":"37e3acc8.561634","wires":[]},{"id":"448baa3.3f7e954","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":776.5,"y":580,"z":"37e3acc8.561634","wires":[["1bc02fac.ed8ea"]]},{"id":"1bc02fac.ed8ea","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":944.5,"y":581,"z":"37e3acc8.561634","wires":[["4cc5dcc9.9cef84","172a6471.dec2ec","3b0ebd45.85a932"]]},{"id":"3b0ebd45.85a932","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=\"PROVSTATUS\" value=\"`$tmp.aai-data.prov-status`\"/>\n<parameter name=\"INMAINT\" value=\"`$tmp.aai-data.in-maint`\"/>\n\n\n","comments":"","outputs":1,"x":1133.5,"y":579,"z":"37e3acc8.561634","wires":[[]]},{"id":"e6099183.cff0e","type":"returnFailure","name":"return failure","xml":"<return status=\"failure\">\n\t<parameter name=\"error-code\" value=\"405\"/>\n\t<parameter name=\"error-message\" value=\"`$tmp.aai-data.error.message + '.Response code:' + $tmp.aai-data.error.http.response-code`\"/>\n\t<parameter name='ack-final' value='Y'/>","comments":"","x":1234,"y":511,"z":"37e3acc8.561634","wires":[]}]
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 5508d5e15..d413a720b 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 @@
-[{"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.openecomp.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"]]}]