summaryrefslogtreecommitdiffstats
path: root/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API
diff options
context:
space:
mode:
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-notification.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_audit-configuration-operation.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_method_Generic_Evacuate_2.0.0.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-activate.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-backup.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-notification.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-operation.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-prepare.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-aai-sbg.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-aai.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vnfc-info.json22
-rw-r--r--appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vserver-info.json22
12 files changed, 12 insertions, 252 deletions
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_audit-configuration-notification.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_audit-configuration-notification.json
index 239e119cc..02ee1eec1 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_audit-configuration-notification.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_audit-configuration-notification.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"2bda9d8b.dc07e2","type":"comment","name":"Audit-CONFIGURATION-NOTIFICATION","info":"","comments":"","x":564,"y":76,"z":"50ed8660.c42b78","wires":[]},{"id":"cd1395d8.8212a8","type":"dgstart","name":"DGSTART","outputs":1,"x":117.66668701171875,"y":153.3333396911621,"z":"50ed8660.c42b78","wires":[["afc36e17.65732"]]},{"id":"afc36e17.65732","type":"service-logic","name":"Appc-API 4.0.0","module":"Appc-API","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='4.0.0'>","outputs":1,"x":300.90484619140625,"y":151.8571319580078,"z":"50ed8660.c42b78","wires":[["ea11462.c33d1b8"]]},{"id":"ea11462.c33d1b8","type":"method","name":"method audit-configuration-notification","xml":"<method rpc='audit-configuration-notification' mode='sync'>\n","comments":"","outputs":1,"x":206.1429443359375,"y":249.66668701171875,"z":"50ed8660.c42b78","wires":[["59223239.da7a7c"]]},{"id":"60458f7.739457","type":"switchNode","name":"switch: service-instance-id already in config","xml":"<switch test=\"`$audit-configuration-notification-input.service-information.service-instance-id == $service-data.service-information.service-instance-id`\">","comments":"","outputs":1,"x":447.2699890136719,"y":391.5772399902344,"z":"50ed8660.c42b78","wires":[["bbb1f484.ce69c8","36057100.2e7c4"]]},{"id":"bbb1f484.ce69c8","type":"outcomeTrue","name":"outcome: true","xml":"<outcome value=\"true\">\n","outputs":1,"x":747.7777709960938,"y":374.08923149108887,"z":"50ed8660.c42b78","wires":[["edf93c4c.cc86e"]]},{"id":"36057100.2e7c4","type":"outcomeFalse","name":"outcome: false","xml":"<outcome value=\"false\">","comments":"","outputs":1,"x":748.1230773925781,"y":314.17259979248047,"z":"50ed8660.c42b78","wires":[["3ef9114.e12dcee"]]},{"id":"59223239.da7a7c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":123.5728988647461,"y":329.73309326171875,"z":"50ed8660.c42b78","wires":[["4b6ffd54.962d44","60458f7.739457","d2dc49b.c7bbab8"]]},{"id":"4b6ffd54.962d44","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"audit-configuration-notification\"/>\n<parameter name=\"field3\" value=\"`$audit-configuration-notification-input.service-information.service-instance-id`\"/>\n<parameter name=\"field4\" value=\"`$audit-configuration-notification-input.response-code`\"/>\n<parameter name=\"field5\" value=\"`$audit-configuration-notification-input.response-message`\"/>\n<parameter name=\"field6\" value=\"`$audit-configuration-notification-input.audit-config-results.audit-outcome`\"/>\n<parameter name=\"field7\" value=\"`$audit-configuration-notification-input.audit-config-results.applied-configuration`\"/>\n<parameter name=\"field8\" value=\"`$audit-configuration-notification-input.audit-config-results.running-configuration`\"/>\n\n<parameter name=\"field9\" value=\"`$service-data.service-information.service-instance-id`\"/>\n<parameter name=\"field10\" value=\"`$service-configuration-notification-input.response-code`\"/>\n<parameter name=\"field11\" value=\"`$service-data.request-information.request-action`\"/>\n<parameter name=\"field12\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n\n<parameter name=\"field13\" value=\"`$audit-configuration-notification-input.svc-request-id`\"/>\n<parameter name=\"field14\" value=\"`$service-data.appc-request-header.svc-request-id`\"/>","comments":"","outputs":1,"x":336.7158203125,"y":345.0707702636719,"z":"50ed8660.c42b78","wires":[[]]},{"id":"fed84bfa.860428","type":"switchNode","name":"switch: response code Successful","xml":"<switch test=\"`$audit-configuration-notification-input.response-code`\">\n\n","comments":"","outputs":1,"x":401.3543395996094,"y":518.7619018554688,"z":"50ed8660.c42b78","wires":[["44285ae7.d087f4","bb9534d1.342908","275f0633.21aa6a"]]},{"id":"44285ae7.d087f4","type":"success","name":"outcome: Success","xml":"<outcome value=\"Success\">","comments":"","outputs":1,"x":340.92584228515625,"y":684.4285278320312,"z":"50ed8660.c42b78","wires":[["e2e6621b.15e89"]]},{"id":"275f0633.21aa6a","type":"other","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":328,"y":971,"z":"50ed8660.c42b78","wires":[["c9c27153.50dbf"]]},{"id":"c9c27153.50dbf","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":513.1386108398438,"y":965.9999389648438,"z":"50ed8660.c42b78","wires":[["235a2caa.dc26a4","8de0308c.bebf5"]]},{"id":"235a2caa.dc26a4","type":"configure","name":"SDN_GP Asynch Notification","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.async.AsyncResponseAdaptor\" key=\"AUDIT\">\n<parameter name=\"dummyparam\" value=\"test\"/>\n","comments":"","outputs":1,"x":783.4718627929688,"y":917.1514892578125,"z":"50ed8660.c42b78","wires":[[]]},{"id":"8de0308c.bebf5","type":"returnFailure","name":"return: failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='`$audit-configuration-notification-input.response-code`'/>\n\t<parameter name='error-message' value='`$audit-configuration-notification-input.response-message`'/>\n\t<parameter name='internal-error' value='false' />","comments":"","x":742.3817749023438,"y":983.0717163085938,"z":"50ed8660.c42b78","wires":[]},{"id":"3ef9114.e12dcee","type":"returnFailure","name":"return: failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='1000'/>\n\t<parameter name='error-message' value='Service Instance Id not found'/>\n\t<parameter name='internal-error' value='true' />","comments":"","x":1004.6401977539062,"y":315.4285888671875,"z":"50ed8660.c42b78","wires":[]},{"id":"6fc2b7f7.95e328","type":"other","name":"outcome: Other","xml":"<outcome value=\"Other\">\n\n","outputs":1,"x":1918.3543663024902,"y":4982.627190113068,"z":"50ed8660.c42b78","wires":[["a82156c3.c76cb8"]]},{"id":"616774e.572778c","type":"other","name":"outcome: ChangeLayer3ServiceActivateRequest","xml":"<outcome value=\"ChangeLayer3ServiceActivateRequest\">\n\n","outputs":1,"x":2063.2545433044434,"y":4819.393614768982,"z":"50ed8660.c42b78","wires":[["26825f6e.55fa2"]]},{"id":"f43f3748.859d08","type":"execute","name":"execute: EIPAM_UnassignIPAddress","xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.EIPAM.EIPAMPlugin\" method=\"unassignIPAddress\">\n\t<parameter name=\"deleteEIPAM_status\" value=\"PENDING_DELETE\" />","outputs":1,"x":2643.284980773926,"y":4735.545325279236,"z":"50ed8660.c42b78","wires":[[]]},{"id":"26825f6e.55fa2","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2342.6183280944824,"y":4816.545227050781,"z":"50ed8660.c42b78","wires":[["f43f3748.859d08","afd3a555.be9328","3e70f431.74a58c","86c2f124.a637c","e06094ff.361828"]]},{"id":"86c2f124.a637c","type":"configure","name":"MSO Asynch Notification","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"MSO\">\n <parameter name=\"dummyparam\" value=\"test\"/>\n","outputs":1,"x":2613.2713928222656,"y":4886.871339797974,"z":"50ed8660.c42b78","wires":[[]]},{"id":"e06094ff.361828","type":"returnSuccess","name":"return success","xml":" <return status=\"success\">\n \n","x":2585.120918273926,"y":4934.317549705505,"z":"50ed8660.c42b78","wires":[]},{"id":"3e70f431.74a58c","type":"save","name":"save: order-status = Activated","xml":"<save plugin=\"com.att.sdnctl.sli.resource.mdsal.ConfigResource\" resource=\"service-data\">\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Activated\" />","outputs":1,"x":2627.1866760253906,"y":4833.433511734009,"z":"50ed8660.c42b78","wires":[[]]},{"id":"afd3a555.be9328","type":"set","name":"set: order-status = Activated","xml":"<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Activated\" />","x":2619.559804916382,"y":4787.139886856079,"z":"50ed8660.c42b78","wires":[]},{"id":"a82156c3.c76cb8","type":"returnFailure","name":"return failure","xml":" <return status=\"failure\">\n\t<parameter name='error-code' value='2000'/>\n\t<parameter name='error-message' value='Invalid Request `$service-data.request-information.request-action`'/>\n\t<parameter name='internal-error' value='true'/>\n \n","x":2231.4364824295044,"y":4984.090530395508,"z":"50ed8660.c42b78","wires":[]},{"id":"e2e6621b.15e89","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":569,"y":696,"z":"50ed8660.c42b78","wires":[["eb60f62e.2cf768","a7de75f9.c2b138","559ed45e.8ff51c","1698aac4.f2c905"]]},{"id":"a20c72ca.5e8dd","type":"set","name":"set Audit Config results","xml":"<set>\n<parameter name='service-data.' value='audit-configuration-notification-input.' />\n","comments":"","x":823,"y":588,"z":"50ed8660.c42b78","wires":[]},{"id":"eb60f62e.2cf768","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"audit-configuration-notification\"/>\n<parameter name=\"field3\" value=\"`$audit-configuration-notification-input.audit-config-results.audit-outcome`\"/>\n<parameter name=\"field4\" value=\"`$audit-configuration-notification-input.audit-config-results.running-configuration`\"/>\n<parameter name=\"field5\" value=\"`$audit-configuration-notification-input.svc-request-id`\"/>\n<parameter name=\"field6\" value=\"`$service-data.appc-request-header.svc-request-id`\"/>\n<parameter name=\"field7\" value=\"`$service-data.oper-status.order-status`\"/>\n<parameter name=\"field8\" value=\"`$service-data.oper-status.last-order-status`\"/>\n\n","comments":"","outputs":1,"x":789,"y":645,"z":"50ed8660.c42b78","wires":[[]]},{"id":"d2dc49b.c7bbab8","type":"set","name":"set:service-data based on input","xml":"<set>\n<parameter name=\"service-data.appc-request-header.svc-request-id\" value=\"`$audit-configuration-notification-input.svc-request-id`\" />\n\n<!--\n<parameter name=\"service-data.service-information.service-instance-id\" value=\"`$audit-configuration-notification-input.service-information.service-instance-id`\" />\n-->\n<parameter name=\"service-data.service-information.service-type\" value=\"`$audit-configuration-notification-input.service-information.service-type`\" />\n\t\n\n\t\n\t\n\t","comments":"","x":412,"y":298,"z":"50ed8660.c42b78","wires":[]},{"id":"bb9534d1.342908","type":"success","name":"outcome: SUCCESS","xml":"<outcome value=\"SUCCESS\">","comments":"","outputs":1,"x":334,"y":756,"z":"50ed8660.c42b78","wires":[["e2e6621b.15e89"]]},{"id":"5f69c5a2.065e0c","type":"set","name":"set: restore Order Status based on last-order-status","xml":"<set>\n<parameter name=\"service-data.oper-status.order-status\" value=\"`$service-data.oper-status.last-order-status`\" />\n\n","comments":"","x":925,"y":700,"z":"50ed8660.c42b78","wires":[]},{"id":"a7de75f9.c2b138","type":"configure","name":"SDN-GP Asynch Notification","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.async.AsyncResponseAdaptor\" key=\"AUDIT\">\n<parameter name=\"dummyparam\" value=\"test\"/>\n","comments":"","outputs":1,"x":852,"y":785,"z":"50ed8660.c42b78","wires":[[]]},{"id":"559ed45e.8ff51c","type":"returnSuccess","name":"return success","xml":"<return status=\"success\">\n<parameter name='error-code' value='200'/>\n<parameter name='error-message' value='`$audit-configuration-notification-input.response-message`'/>\n \n","comments":"","x":815,"y":844,"z":"50ed8660.c42b78","wires":[]},{"id":"1698aac4.f2c905","type":"set","name":"set: last-sub-action-status","xml":"<set>\n<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"Success\" />\n\n","comments":"","x":847,"y":740,"z":"50ed8660.c42b78","wires":[]},{"id":"4cbbd319.e6526c","type":"comment","name":"Lastsubaction status set in Appc","info":"","comments":"","x":1059,"y":942,"z":"50ed8660.c42b78","wires":[]},{"id":"edf93c4c.cc86e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":926,"y":376,"z":"50ed8660.c42b78","wires":[["583ef652.3fb778","fed84bfa.860428"]]},{"id":"583ef652.3fb778","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":1187,"y":374,"z":"50ed8660.c42b78","wires":[[]]}]
+[{"id":"2bda9d8b.dc07e2","type":"comment","name":"Audit-CONFIGURATION-NOTIFICATION","info":"","comments":"","x":564,"y":76,"z":"50ed8660.c42b78","wires":[]},{"id":"cd1395d8.8212a8","type":"dgstart","name":"DGSTART","outputs":1,"x":117.66668701171875,"y":153.3333396911621,"z":"50ed8660.c42b78","wires":[["afc36e17.65732"]]},{"id":"afc36e17.65732","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":300.90484619140625,"y":151.8571319580078,"z":"50ed8660.c42b78","wires":[["ea11462.c33d1b8"]]},{"id":"ea11462.c33d1b8","type":"method","name":"method audit-configuration-notification","xml":"<method rpc='audit-configuration-notification' mode='sync'>\n","comments":"","outputs":1,"x":206.1429443359375,"y":249.66668701171875,"z":"50ed8660.c42b78","wires":[["59223239.da7a7c"]]},{"id":"60458f7.739457","type":"switchNode","name":"switch: service-instance-id already in config","xml":"<switch test=\"`$audit-configuration-notification-input.service-information.service-instance-id == $service-data.service-information.service-instance-id`\">","comments":"","outputs":1,"x":447.2699890136719,"y":391.5772399902344,"z":"50ed8660.c42b78","wires":[["bbb1f484.ce69c8","36057100.2e7c4"]]},{"id":"bbb1f484.ce69c8","type":"outcomeTrue","name":"outcome: true","xml":"<outcome value=\"true\">\n","outputs":1,"x":747.7777709960938,"y":374.08923149108887,"z":"50ed8660.c42b78","wires":[["edf93c4c.cc86e"]]},{"id":"36057100.2e7c4","type":"outcomeFalse","name":"outcome: false","xml":"<outcome value=\"false\">","comments":"","outputs":1,"x":748.1230773925781,"y":314.17259979248047,"z":"50ed8660.c42b78","wires":[["3ef9114.e12dcee"]]},{"id":"59223239.da7a7c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":123.5728988647461,"y":329.73309326171875,"z":"50ed8660.c42b78","wires":[["4b6ffd54.962d44","60458f7.739457","d2dc49b.c7bbab8"]]},{"id":"4b6ffd54.962d44","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-notification\"/>\n<parameter name=\"field3\" value=\"`$audit-configuration-notification-input.service-information.service-instance-id`\"/>\n<parameter name=\"field4\" value=\"`$audit-configuration-notification-input.response-code`\"/>\n<parameter name=\"field5\" value=\"`$audit-configuration-notification-input.response-message`\"/>\n<parameter name=\"field6\" value=\"`$audit-configuration-notification-input.audit-config-results.audit-outcome`\"/>\n<parameter name=\"field7\" value=\"`$audit-configuration-notification-input.audit-config-results.applied-configuration`\"/>\n<parameter name=\"field8\" value=\"`$audit-configuration-notification-input.audit-config-results.running-configuration`\"/>\n\n<parameter name=\"field9\" value=\"`$service-data.service-information.service-instance-id`\"/>\n<parameter name=\"field10\" value=\"`$service-configuration-notification-input.response-code`\"/>\n<parameter name=\"field11\" value=\"`$service-data.request-information.request-action`\"/>\n<parameter name=\"field12\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n\n<parameter name=\"field13\" value=\"`$audit-configuration-notification-input.svc-request-id`\"/>\n<parameter name=\"field14\" value=\"`$service-data.appc-request-header.svc-request-id`\"/>","comments":"","outputs":1,"x":336.7158203125,"y":345.0707702636719,"z":"50ed8660.c42b78","wires":[[]]},{"id":"fed84bfa.860428","type":"switchNode","name":"switch: response code Successful","xml":"<switch test=\"`$audit-configuration-notification-input.response-code`\">\n\n","comments":"","outputs":1,"x":401.3543395996094,"y":518.7619018554688,"z":"50ed8660.c42b78","wires":[["44285ae7.d087f4","bb9534d1.342908","275f0633.21aa6a"]]},{"id":"44285ae7.d087f4","type":"success","name":"outcome: Success","xml":"<outcome value=\"Success\">","comments":"","outputs":1,"x":340.92584228515625,"y":684.4285278320312,"z":"50ed8660.c42b78","wires":[["e2e6621b.15e89"]]},{"id":"275f0633.21aa6a","type":"other","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":328,"y":971,"z":"50ed8660.c42b78","wires":[["c9c27153.50dbf"]]},{"id":"c9c27153.50dbf","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":513.1386108398438,"y":965.9999389648438,"z":"50ed8660.c42b78","wires":[["235a2caa.dc26a4","8de0308c.bebf5"]]},{"id":"235a2caa.dc26a4","type":"configure","name":"SDN_GP Asynch Notification","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.async.AsyncResponseAdaptor\" key=\"AUDIT\">\n<parameter name=\"dummyparam\" value=\"test\"/>\n","comments":"","outputs":1,"x":783.4718627929688,"y":917.1514892578125,"z":"50ed8660.c42b78","wires":[[]]},{"id":"8de0308c.bebf5","type":"returnFailure","name":"return: failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='`$audit-configuration-notification-input.response-code`'/>\n\t<parameter name='error-message' value='`$audit-configuration-notification-input.response-message`'/>\n\t<parameter name='internal-error' value='false' />","comments":"","x":742.3817749023438,"y":983.0717163085938,"z":"50ed8660.c42b78","wires":[]},{"id":"3ef9114.e12dcee","type":"returnFailure","name":"return: failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='1000'/>\n\t<parameter name='error-message' value='Service Instance Id not found'/>\n\t<parameter name='internal-error' value='true' />","comments":"","x":1004.6401977539062,"y":315.4285888671875,"z":"50ed8660.c42b78","wires":[]},{"id":"6fc2b7f7.95e328","type":"other","name":"outcome: Other","xml":"<outcome value=\"Other\">\n\n","outputs":1,"x":1918.3543663024902,"y":4982.627190113068,"z":"50ed8660.c42b78","wires":[["a82156c3.c76cb8"]]},{"id":"616774e.572778c","type":"other","name":"outcome: ChangeLayer3ServiceActivateRequest","xml":"<outcome value=\"ChangeLayer3ServiceActivateRequest\">\n\n","outputs":1,"x":2063.2545433044434,"y":4819.393614768982,"z":"50ed8660.c42b78","wires":[["26825f6e.55fa2"]]},{"id":"f43f3748.859d08","type":"execute","name":"execute: EIPAM_UnassignIPAddress","xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.EIPAM.EIPAMPlugin\" method=\"unassignIPAddress\">\n\t<parameter name=\"deleteEIPAM_status\" value=\"PENDING_DELETE\" />","outputs":1,"x":2643.284980773926,"y":4735.545325279236,"z":"50ed8660.c42b78","wires":[[]]},{"id":"26825f6e.55fa2","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2342.6183280944824,"y":4816.545227050781,"z":"50ed8660.c42b78","wires":[["f43f3748.859d08","afd3a555.be9328","3e70f431.74a58c","86c2f124.a637c","e06094ff.361828"]]},{"id":"86c2f124.a637c","type":"configure","name":"MSO Asynch Notification","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"MSO\">\n <parameter name=\"dummyparam\" value=\"test\"/>\n","outputs":1,"x":2613.2713928222656,"y":4886.871339797974,"z":"50ed8660.c42b78","wires":[[]]},{"id":"e06094ff.361828","type":"returnSuccess","name":"return success","xml":" <return status=\"success\">\n \n","x":2585.120918273926,"y":4934.317549705505,"z":"50ed8660.c42b78","wires":[]},{"id":"3e70f431.74a58c","type":"save","name":"save: order-status = Activated","xml":"<save plugin=\"com.att.sdnctl.sli.resource.mdsal.ConfigResource\" resource=\"service-data\">\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Activated\" />","outputs":1,"x":2627.1866760253906,"y":4833.433511734009,"z":"50ed8660.c42b78","wires":[[]]},{"id":"afd3a555.be9328","type":"set","name":"set: order-status = Activated","xml":"<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Activated\" />","x":2619.559804916382,"y":4787.139886856079,"z":"50ed8660.c42b78","wires":[]},{"id":"a82156c3.c76cb8","type":"returnFailure","name":"return failure","xml":" <return status=\"failure\">\n\t<parameter name='error-code' value='2000'/>\n\t<parameter name='error-message' value='Invalid Request `$service-data.request-information.request-action`'/>\n\t<parameter name='internal-error' value='true'/>\n \n","x":2231.4364824295044,"y":4984.090530395508,"z":"50ed8660.c42b78","wires":[]},{"id":"e2e6621b.15e89","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":569,"y":696,"z":"50ed8660.c42b78","wires":[["eb60f62e.2cf768","a7de75f9.c2b138","559ed45e.8ff51c","1698aac4.f2c905"]]},{"id":"a20c72ca.5e8dd","type":"set","name":"set Audit Config results","xml":"<set>\n<parameter name='service-data.' value='audit-configuration-notification-input.' />\n","comments":"","x":823,"y":588,"z":"50ed8660.c42b78","wires":[]},{"id":"eb60f62e.2cf768","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-notification\"/>\n<parameter name=\"field3\" value=\"`$audit-configuration-notification-input.audit-config-results.audit-outcome`\"/>\n<parameter name=\"field4\" value=\"`$audit-configuration-notification-input.audit-config-results.running-configuration`\"/>\n<parameter name=\"field5\" value=\"`$audit-configuration-notification-input.svc-request-id`\"/>\n<parameter name=\"field6\" value=\"`$service-data.appc-request-header.svc-request-id`\"/>\n<parameter name=\"field7\" value=\"`$service-data.oper-status.order-status`\"/>\n<parameter name=\"field8\" value=\"`$service-data.oper-status.last-order-status`\"/>\n\n","comments":"","outputs":1,"x":789,"y":645,"z":"50ed8660.c42b78","wires":[[]]},{"id":"d2dc49b.c7bbab8","type":"set","name":"set:service-data based on input","xml":"<set>\n<parameter name=\"service-data.appc-request-header.svc-request-id\" value=\"`$audit-configuration-notification-input.svc-request-id`\" />\n\n<!--\n<parameter name=\"service-data.service-information.service-instance-id\" value=\"`$audit-configuration-notification-input.service-information.service-instance-id`\" />\n-->\n<parameter name=\"service-data.service-information.service-type\" value=\"`$audit-configuration-notification-input.service-information.service-type`\" />\n\t\n\n\t\n\t\n\t","comments":"","x":412,"y":298,"z":"50ed8660.c42b78","wires":[]},{"id":"bb9534d1.342908","type":"success","name":"outcome: SUCCESS","xml":"<outcome value=\"SUCCESS\">","comments":"","outputs":1,"x":334,"y":756,"z":"50ed8660.c42b78","wires":[["e2e6621b.15e89"]]},{"id":"5f69c5a2.065e0c","type":"set","name":"set: restore Order Status based on last-order-status","xml":"<set>\n<parameter name=\"service-data.oper-status.order-status\" value=\"`$service-data.oper-status.last-order-status`\" />\n\n","comments":"","x":925,"y":700,"z":"50ed8660.c42b78","wires":[]},{"id":"a7de75f9.c2b138","type":"configure","name":"SDN-GP Asynch Notification","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.async.AsyncResponseAdaptor\" key=\"AUDIT\">\n<parameter name=\"dummyparam\" value=\"test\"/>\n","comments":"","outputs":1,"x":852,"y":785,"z":"50ed8660.c42b78","wires":[[]]},{"id":"559ed45e.8ff51c","type":"returnSuccess","name":"return success","xml":"<return status=\"success\">\n<parameter name='error-code' value='200'/>\n<parameter name='error-message' value='`$audit-configuration-notification-input.response-message`'/>\n \n","comments":"","x":815,"y":844,"z":"50ed8660.c42b78","wires":[]},{"id":"1698aac4.f2c905","type":"set","name":"set: last-sub-action-status","xml":"<set>\n<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"Success\" />\n\n","comments":"","x":847,"y":740,"z":"50ed8660.c42b78","wires":[]},{"id":"4cbbd319.e6526c","type":"comment","name":"Lastsubaction status set in Appc","info":"","comments":"","x":1059,"y":942,"z":"50ed8660.c42b78","wires":[]},{"id":"edf93c4c.cc86e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":926,"y":376,"z":"50ed8660.c42b78","wires":[["583ef652.3fb778","fed84bfa.860428"]]},{"id":"583ef652.3fb778","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":1187,"y":374,"z":"50ed8660.c42b78","wires":[[]]}]
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 41d8f0330..ee8918e99 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,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-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.openecomp.sdnc.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.openecomp.sdnc.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.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"]]}]
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 89c1dfe05..39e551164 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,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-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.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":[]}]
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 14a73d815..8cfd596e6 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,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-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.openecomp.sdnc.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.openecomp.sdnc.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.openecomp.sdnc.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"]]}] \ No newline at end of file
+[{"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"]]}]
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 43206ddba..b7567ce61 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,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-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.openecomp.sdnc.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.openecomp.sdnc.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.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":[]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-notification.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-notification.json
index 430bc91f7..aefe7e728 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-notification.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-notification.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"d5b20eaa.df2d7","type":"comment","name":"Service-CONFIGURATION-NOTIFICATION","info":"","comments":"","x":787,"y":49,"z":"c2935c8.a850aa","wires":[]},{"id":"356bcada.a54386","type":"dgstart","name":"DGSTART","outputs":1,"x":96.7618408203125,"y":128.47621154785156,"z":"c2935c8.a850aa","wires":[["ebc2ed13.350ea"]]},{"id":"ebc2ed13.350ea","type":"service-logic","name":"Appc-API 4.0.0","module":"Appc-API","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='4.0.0'>","outputs":1,"x":255,"y":129,"z":"c2935c8.a850aa","wires":[["a0592e1a.4e8a6"]]},{"id":"a0592e1a.4e8a6","type":"method","name":"method service-configuration-notification","xml":"<method rpc='service-configuration-notification' mode='sync'>\n","comments":"","outputs":1,"x":542.2380981445312,"y":125.80955505371094,"z":"c2935c8.a850aa","wires":[["31f55649.21899a"]]},{"id":"a6521c1b.8f751","type":"switchNode","name":"switch: service-instance-id already in config","xml":"<switch test=\"`$service-configuration-notification-input.service-information.service-instance-id == $service-data.service-information.service-instance-id`\">","comments":"","outputs":1,"x":367.3651123046875,"y":288.7200927734375,"z":"c2935c8.a850aa","wires":[["377966de.f0066a","447b2d6b.ec5a84"]]},{"id":"377966de.f0066a","type":"outcomeTrue","name":"outcome: true","xml":"<outcome value=\"true\">\n","outputs":1,"x":672.8729553222656,"y":273.23211669921875,"z":"c2935c8.a850aa","wires":[["d76b0bb4.11c118"]]},{"id":"447b2d6b.ec5a84","type":"outcomeFalse","name":"outcome: false","xml":"<outcome value=\"false\">","comments":"","outputs":1,"x":689.2182006835938,"y":179.3154754638672,"z":"c2935c8.a850aa","wires":[["4501a9b5.00b638"]]},{"id":"31f55649.21899a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":91.66802978515625,"y":197.87596130371094,"z":"c2935c8.a850aa","wires":[["d8530e1f.2b615","a6521c1b.8f751","16e0fd48.3fe683"]]},{"id":"d8530e1f.2b615","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.response-code`\"/>\n<parameter name=\"field4\" value=\"`$service-configuration-notification-input.response-message`\"/>\n<parameter name=\"field5\" value=\"`$service-configuration-notification-input.svc-request-id`\"/>\n\n\n<parameter name=\"field6\" value=\"`$service-configuration-notification-input.service-information.service-type`\"/>\n<parameter name=\"field7\" value=\"`$service-data.service-information.service-instance-id`\"/>\n<parameter name=\"field8\" value=\"`$service-data.appc-request-header.svc-request-id`\"/>\n\n<!--\n<parameter name=\"field2\" value=\"service-configuration-notification\"/>\n<parameter name=\"field3\" value=\"`$service-data.service-information.service-instance-id`\"/>\n<parameter name=\"field4\" value=\"`$service-configuration-notification-input.response-code`\"/>\n<parameter name=\"field5\" value=\"`$service-data.request-information.request-action`\"/>\n<parameter name=\"field6\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n-->","comments":"","outputs":1,"x":289.81097412109375,"y":240.21363830566406,"z":"c2935c8.a850aa","wires":[[]]},{"id":"c7db723d.34c11","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":345.1700744628906,"y":504.00897216796875,"z":"c2935c8.a850aa","wires":[["bbe81125.eaf2d","8db26529.f57d68","d6aa913e.989d","12f56193.76876e"]]},{"id":"b3a1b84b.43c738","type":"switchNode","name":"switch: response code ","xml":"<switch test=\"`$service-configuration-notification-input.response-code`\">\n\n","comments":"","outputs":1,"x":177.44949340820312,"y":400.90478515625,"z":"c2935c8.a850aa","wires":[["c9771646.384a68","f8b4f8ca.d7ca88"]]},{"id":"c9771646.384a68","type":"success","name":"outcome: Success","xml":"<outcome value=\"Success\">","comments":"","outputs":1,"x":128.02099609375,"y":503.57139587402344,"z":"c2935c8.a850aa","wires":[["c7db723d.34c11"]]},{"id":"f8b4f8ca.d7ca88","type":"other","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":103.44949340820312,"y":922,"z":"c2935c8.a850aa","wires":[["3e2f33dd.6a236c"]]},{"id":"490e75b4.a0784c","type":"set","name":"set: order-status = Activated and A&AI Status =NVTPROV/CONFIGURED","xml":"<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Activated\" />\n\t<parameter name=\"tmp.aai-prov-status\" value=\"NVTPROV\" />\n\t<parameter name=\"tmp.aai-orch-status\" value=\"CONFIGURED\" />","comments":"","x":1355.2830810546875,"y":351.3018798828125,"z":"c2935c8.a850aa","wires":[]},{"id":"3e2f33dd.6a236c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":314.58807373046875,"y":918.9999389648438,"z":"c2935c8.a850aa","wires":[["1f7fafba.0add2","b94ddf6d.56216"]]},{"id":"b94ddf6d.56216","type":"configure","name":"SDN_GP Asynch Notification","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.async.AsyncResponseAdaptor\" key=\"CONFIG\">\n<parameter name=\"dummyparam\" value=\"test\"/>\n","comments":"","outputs":1,"x":672.9213256835938,"y":890.1514892578125,"z":"c2935c8.a850aa","wires":[[]]},{"id":"1f7fafba.0add2","type":"returnFailure","name":"return: failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='`$service-configuration-notification-input.response-code`'/>\n\t<parameter name='error-message' value='`$service-configuration-notification-input.response-message`'/>\n\t<parameter name='internal-error' value='false' />","comments":"","x":613.8312377929688,"y":932.0717163085938,"z":"c2935c8.a850aa","wires":[]},{"id":"4501a9b5.00b638","type":"returnFailure","name":"return: failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='1000'/>\n\t<parameter name='error-message' value='Service Instance Id not found'/>\n\t<parameter name='internal-error' value='true' />","comments":"","x":900.7353820800781,"y":178.5714569091797,"z":"c2935c8.a850aa","wires":[]},{"id":"ab4826ec.3cd828","type":"other","name":"outcome: Other","xml":"<outcome value=\"Other\">\n\n","outputs":1,"x":2149.3543663024902,"y":5396.627190113068,"z":"c2935c8.a850aa","wires":[["8984c5a6.ec0fe8"]]},{"id":"9f2faf6c.89703","type":"other","name":"outcome: ChangeLayer3ServiceActivateRequest","xml":"<outcome value=\"ChangeLayer3ServiceActivateRequest\">\n\n","outputs":1,"x":2294.2545433044434,"y":5233.393614768982,"z":"c2935c8.a850aa","wires":[["ede4a3de.8f776"]]},{"id":"7b44beed.e0798","type":"execute","name":"execute: EIPAM_UnassignIPAddress","xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.EIPAM.EIPAMPlugin\" method=\"unassignIPAddress\">\n\t<parameter name=\"deleteEIPAM_status\" value=\"PENDING_DELETE\" />","outputs":1,"x":2874.284980773926,"y":5149.545325279236,"z":"c2935c8.a850aa","wires":[[]]},{"id":"ede4a3de.8f776","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2573.6183280944824,"y":5230.545227050781,"z":"c2935c8.a850aa","wires":[["7b44beed.e0798","3e190cb9.7f1f94","84da06b9.4d6678","d6d749b0.cfeac8","ef33ba15.3b9758"]]},{"id":"d6d749b0.cfeac8","type":"configure","name":"MSO Asynch Notification","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"MSO\">\n <parameter name=\"dummyparam\" value=\"test\"/>\n","outputs":1,"x":2844.2713928222656,"y":5300.871339797974,"z":"c2935c8.a850aa","wires":[[]]},{"id":"ef33ba15.3b9758","type":"returnSuccess","name":"return success","xml":" <return status=\"success\">\n \n","x":2816.120918273926,"y":5348.317549705505,"z":"c2935c8.a850aa","wires":[]},{"id":"84da06b9.4d6678","type":"save","name":"save: order-status = Activated","xml":"<save plugin=\"com.att.sdnctl.sli.resource.mdsal.ConfigResource\" resource=\"service-data\">\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Activated\" />","outputs":1,"x":2858.1866760253906,"y":5247.433511734009,"z":"c2935c8.a850aa","wires":[[]]},{"id":"3e190cb9.7f1f94","type":"set","name":"set: order-status = Activated","xml":"<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Activated\" />","x":2850.559804916382,"y":5201.139886856079,"z":"c2935c8.a850aa","wires":[]},{"id":"8984c5a6.ec0fe8","type":"returnFailure","name":"return failure","xml":" <return status=\"failure\">\n\t<parameter name='error-code' value='2000'/>\n\t<parameter name='error-message' value='Invalid Request `$service-data.request-information.request-action`'/>\n\t<parameter name='internal-error' value='true'/>\n \n","x":2462.4364824295044,"y":5398.090530395508,"z":"c2935c8.a850aa","wires":[]},{"id":"bbe81125.eaf2d","type":"configure","name":"SDN_GP Asynch Notification","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.async.AsyncResponseAdaptor\" key=\"CONFIG\">\n<parameter name=\"dummyparam\" value=\"test\"/>","comments":"","outputs":1,"x":827.0951843261719,"y":784.1428833007812,"z":"c2935c8.a850aa","wires":[[]]},{"id":"16e0fd48.3fe683","type":"set","name":"set:service-data based on input","xml":"<set>\n<parameter name=\"service-data.appc-request-header.svc-request-id\" value=\"`$service-configuration-notification-input.svc-request-id`\" />\n\n<!--\n<parameter name=\"service-data.service-information.service-instance-id\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\" />\n-->\n<parameter name=\"service-data.service-information.service-type\" value=\"`$service-configuration-notification-input.service-information.service-type`\" />\n\t\n\n\t\n\t\n\t","comments":"","x":371,"y":197,"z":"c2935c8.a850aa","wires":[]},{"id":"8db26529.f57d68","type":"returnSuccess","name":"return success","xml":"<return status=\"success\">\n<parameter name='error-code' value='200'/>\n<parameter name='error-message' value='`$service-configuration-notification-input.response-message`'/>\n \n","comments":"","x":789.9494934082031,"y":857,"z":"c2935c8.a850aa","wires":[]},{"id":"d6aa913e.989d","type":"switchNode","name":"switch: last-sub-action","xml":"<switch test=\"`$service-data.oper-status.last-sub-action`\">\n","comments":"","outputs":1,"x":586.4494934082031,"y":506,"z":"c2935c8.a850aa","wires":[["ab5c4a39.56b068","2952075e.f8cb78"]]},{"id":"ab5c4a39.56b068","type":"success","name":"outcome: ACTIVATE","xml":"<outcome value=\"ACTIVATE\">","comments":"","outputs":1,"x":825.4494934082031,"y":479,"z":"c2935c8.a850aa","wires":[["54aa365b.8a9b88"]]},{"id":"2952075e.f8cb78","type":"success","name":"outcome: RESTOREBACKUP","xml":"<outcome value=\"RESTOREBACKUP\">","comments":"","outputs":1,"x":832.4494934082031,"y":613,"z":"c2935c8.a850aa","wires":[["9e497ad3.6c9b08"]]},{"id":"54aa365b.8a9b88","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1027.4494934082031,"y":478,"z":"c2935c8.a850aa","wires":[["490e75b4.a0784c","6ebffec.ea695"]]},{"id":"9e497ad3.6c9b08","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1058.4494934082031,"y":617,"z":"c2935c8.a850aa","wires":[["27b70ff2.42077"]]},{"id":"c7e2d0f5.74988","type":"set","name":"set: A&AI Prov Status to PREPROV/UNCONFIGURED","xml":"<set>\n\t<parameter name=\"tmp.aai-prov-status\" value=\"PREPROV\" />\n\t<parameter name=\"tmp.aai-orch-status\" value=\"UNCONFIGURED\" />","comments":"","x":2179.449493408203,"y":538,"z":"c2935c8.a850aa","wires":[]},{"id":"27b70ff2.42077","type":"switchNode","name":"switch: backup-information.file-type","xml":"<switch test=\"`$service-data.backup-information.file-type`\">\n","comments":"","outputs":1,"x":1316.4494934082031,"y":620,"z":"c2935c8.a850aa","wires":[["36ce6a3d.01f3c6","bb6e3f9f.c5558"]]},{"id":"36ce6a3d.01f3c6","type":"success","name":"outcome: InitialConfig","xml":"<outcome value=\"InitialConfig\">","comments":"","outputs":1,"x":1611.4494934082031,"y":593,"z":"c2935c8.a850aa","wires":[["1393e777.b727f9"]]},{"id":"bb6e3f9f.c5558","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":1606.4494934082031,"y":668,"z":"c2935c8.a850aa","wires":[["691391c0.2a05a"]]},{"id":"8fec3fe2.7fe13","type":"call","name":"call: update A&AI","xml":"<call module=\"Appc-API\" rpc=\"update-aai\" mode=\"sync\">","comments":"","outputs":1,"x":2043.449462890625,"y":422,"z":"c2935c8.a850aa","wires":[[]]},{"id":"1393e777.b727f9","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1830.4494934082031,"y":593,"z":"c2935c8.a850aa","wires":[["c7e2d0f5.74988","17a25d0e.4b5ca3","c10e674c.dfbc08","6d36bcf0.c8a684"]]},{"id":"17a25d0e.4b5ca3","type":"call","name":"call: update A&AI for restore","xml":"<call module=\"Appc-API\" rpc=\"update-aai-sbg\" mode=\"sync\">","comments":"","outputs":1,"x":2114.449462890625,"y":724,"z":"c2935c8.a850aa","wires":[[]]},{"id":"691391c0.2a05a","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Backup Config=Downloaded Config, it is assumed that the status in AnAI is NVTPROV so no update is necessary\"/>\n\n\n","comments":"","outputs":1,"x":1806.4495239257812,"y":664,"z":"c2935c8.a850aa","wires":[[]]},{"id":"4eb6e037.dbaf5","type":"set","name":"set: order-status = Reserved ","xml":"<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Reserved\" />\n","comments":"","x":2816.449493408203,"y":585,"z":"c2935c8.a850aa","wires":[]},{"id":"c10e674c.dfbc08","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":2132.449493408203,"y":586,"z":"c2935c8.a850aa","wires":[["913bd3d3.04dad","92ac0814.df8778"]]},{"id":"913bd3d3.04dad","type":"success","name":"outcome: Activated","xml":"<outcome value=\"Activated\">","comments":"","outputs":1,"x":2366.449493408203,"y":583,"z":"c2935c8.a850aa","wires":[["436e6ada.44f7b4"]]},{"id":"436e6ada.44f7b4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2566.449493408203,"y":582,"z":"c2935c8.a850aa","wires":[["4eb6e037.dbaf5","888848fc.c44698"]]},{"id":"65fee45.b12251c","type":"comment","name":"Lastsubactionstatus updated in Appc","info":"","comments":"","x":1445.449462890625,"y":276,"z":"c2935c8.a850aa","wires":[]},{"id":"12f56193.76876e","type":"set","name":"set: last-sub-action-status","xml":"<set>\n<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"Success\" />\n\n","comments":"","x":821.4494934082031,"y":730,"z":"c2935c8.a850aa","wires":[]},{"id":"b0f15339.b347b","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Dont update Order Status\"/>\n<parameter name=\"field3\" value=\"`$service-data.oper-status.order-status`\"/>\n\n\n","comments":"","outputs":1,"x":2730.449493408203,"y":717,"z":"c2935c8.a850aa","wires":[[]]},{"id":"92ac0814.df8778","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":2362.449493408203,"y":720,"z":"c2935c8.a850aa","wires":[["be0c9c33.2fb04"]]},{"id":"3fdf2b46.361354","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":1104.4494934082031,"y":270,"z":"c2935c8.a850aa","wires":[[]]},{"id":"d76b0bb4.11c118","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":842.4494934082031,"y":272,"z":"c2935c8.a850aa","wires":[["3fdf2b46.361354","b3a1b84b.43c738"]]},{"id":"888848fc.c44698","type":"set","name":"set: last-order-status ","xml":"<set>\n\t<parameter name=\"service-data.oper-status.last-order-status\" value=\"`$service-data.oper-status.order-status`\" />","comments":"","x":2792.449493408203,"y":530,"z":"c2935c8.a850aa","wires":[]},{"id":"be0c9c33.2fb04","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2542.449493408203,"y":720,"z":"c2935c8.a850aa","wires":[["b0f15339.b347b"]]},{"id":"6d36bcf0.c8a684","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"CALLING AAIUPDATE\"/>\n<parameter name=\"field3\" value=\"`$service-data.oper-status.order-status`\"/>\n\n\n","comments":"","outputs":1,"x":2109.4495239257812,"y":654,"z":"c2935c8.a850aa","wires":[[]]},{"id":"6ebffec.ea695","type":"switchNode","name":"switch: update-configuration","xml":"<switch test=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration_length`\">\n","comments":"","outputs":1,"x":1292,"y":422,"z":"c2935c8.a850aa","wires":[["9cf5bbff.14b8e8","47a88695.0e6938","65a8c6df.0c6b58"]]},{"id":"9cf5bbff.14b8e8","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":1519,"y":425,"z":"c2935c8.a850aa","wires":[["505e7219.efb9dc"]]},{"id":"505e7219.efb9dc","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1817,"y":425,"z":"c2935c8.a850aa","wires":[["8fec3fe2.7fe13"]]},{"id":"47a88695.0e6938","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":1525,"y":522,"z":"c2935c8.a850aa","wires":[["1e1d5f8c.03063"]]},{"id":"1e1d5f8c.03063","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Update Configuration populated\"/>\n<parameter name=\"UPDATECONFIGLEN\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration_length`\"/>\n\n\n","comments":"","outputs":1,"x":1696,"y":523,"z":"c2935c8.a850aa","wires":[[]]},{"id":"65a8c6df.0c6b58","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1554,"y":468,"z":"c2935c8.a850aa","wires":[["505e7219.efb9dc"]]}]
+[{"id":"d5b20eaa.df2d7","type":"comment","name":"Service-CONFIGURATION-NOTIFICATION","info":"","comments":"","x":787,"y":49,"z":"c2935c8.a850aa","wires":[]},{"id":"356bcada.a54386","type":"dgstart","name":"DGSTART","outputs":1,"x":96.7618408203125,"y":128.47621154785156,"z":"c2935c8.a850aa","wires":[["ebc2ed13.350ea"]]},{"id":"ebc2ed13.350ea","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":255,"y":129,"z":"c2935c8.a850aa","wires":[["a0592e1a.4e8a6"]]},{"id":"a0592e1a.4e8a6","type":"method","name":"method service-configuration-notification","xml":"<method rpc='service-configuration-notification' mode='sync'>\n","comments":"","outputs":1,"x":542.2380981445312,"y":125.80955505371094,"z":"c2935c8.a850aa","wires":[["31f55649.21899a"]]},{"id":"a6521c1b.8f751","type":"switchNode","name":"switch: service-instance-id already in config","xml":"<switch test=\"`$service-configuration-notification-input.service-information.service-instance-id == $service-data.service-information.service-instance-id`\">","comments":"","outputs":1,"x":367.3651123046875,"y":288.7200927734375,"z":"c2935c8.a850aa","wires":[["377966de.f0066a","447b2d6b.ec5a84"]]},{"id":"377966de.f0066a","type":"outcomeTrue","name":"outcome: true","xml":"<outcome value=\"true\">\n","outputs":1,"x":672.8729553222656,"y":273.23211669921875,"z":"c2935c8.a850aa","wires":[["d76b0bb4.11c118"]]},{"id":"447b2d6b.ec5a84","type":"outcomeFalse","name":"outcome: false","xml":"<outcome value=\"false\">","comments":"","outputs":1,"x":689.2182006835938,"y":179.3154754638672,"z":"c2935c8.a850aa","wires":[["4501a9b5.00b638"]]},{"id":"31f55649.21899a","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":91.66802978515625,"y":197.87596130371094,"z":"c2935c8.a850aa","wires":[["d8530e1f.2b615","a6521c1b.8f751","16e0fd48.3fe683"]]},{"id":"d8530e1f.2b615","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-notification-input.service-information.service-instance-id`\"/>\n\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.response-code`\"/>\n<parameter name=\"field4\" value=\"`$service-configuration-notification-input.response-message`\"/>\n<parameter name=\"field5\" value=\"`$service-configuration-notification-input.svc-request-id`\"/>\n\n\n<parameter name=\"field6\" value=\"`$service-configuration-notification-input.service-information.service-type`\"/>\n<parameter name=\"field7\" value=\"`$service-data.service-information.service-instance-id`\"/>\n<parameter name=\"field8\" value=\"`$service-data.appc-request-header.svc-request-id`\"/>\n\n<!--\n<parameter name=\"field2\" value=\"service-configuration-notification\"/>\n<parameter name=\"field3\" value=\"`$service-data.service-information.service-instance-id`\"/>\n<parameter name=\"field4\" value=\"`$service-configuration-notification-input.response-code`\"/>\n<parameter name=\"field5\" value=\"`$service-data.request-information.request-action`\"/>\n<parameter name=\"field6\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n-->","comments":"","outputs":1,"x":289.81097412109375,"y":240.21363830566406,"z":"c2935c8.a850aa","wires":[[]]},{"id":"c7db723d.34c11","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","comments":"","outputs":1,"x":345.1700744628906,"y":504.00897216796875,"z":"c2935c8.a850aa","wires":[["bbe81125.eaf2d","8db26529.f57d68","d6aa913e.989d","12f56193.76876e"]]},{"id":"b3a1b84b.43c738","type":"switchNode","name":"switch: response code ","xml":"<switch test=\"`$service-configuration-notification-input.response-code`\">\n\n","comments":"","outputs":1,"x":177.44949340820312,"y":400.90478515625,"z":"c2935c8.a850aa","wires":[["c9771646.384a68","f8b4f8ca.d7ca88"]]},{"id":"c9771646.384a68","type":"success","name":"outcome: Success","xml":"<outcome value=\"Success\">","comments":"","outputs":1,"x":128.02099609375,"y":503.57139587402344,"z":"c2935c8.a850aa","wires":[["c7db723d.34c11"]]},{"id":"f8b4f8ca.d7ca88","type":"other","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":103.44949340820312,"y":922,"z":"c2935c8.a850aa","wires":[["3e2f33dd.6a236c"]]},{"id":"490e75b4.a0784c","type":"set","name":"set: order-status = Activated and A&AI Status =NVTPROV/CONFIGURED","xml":"<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Activated\" />\n\t<parameter name=\"tmp.aai-prov-status\" value=\"NVTPROV\" />\n\t<parameter name=\"tmp.aai-orch-status\" value=\"CONFIGURED\" />","comments":"","x":1355.2830810546875,"y":351.3018798828125,"z":"c2935c8.a850aa","wires":[]},{"id":"3e2f33dd.6a236c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":314.58807373046875,"y":918.9999389648438,"z":"c2935c8.a850aa","wires":[["1f7fafba.0add2","b94ddf6d.56216"]]},{"id":"b94ddf6d.56216","type":"configure","name":"SDN_GP Asynch Notification","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.async.AsyncResponseAdaptor\" key=\"CONFIG\">\n<parameter name=\"dummyparam\" value=\"test\"/>\n","comments":"","outputs":1,"x":672.9213256835938,"y":890.1514892578125,"z":"c2935c8.a850aa","wires":[[]]},{"id":"1f7fafba.0add2","type":"returnFailure","name":"return: failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='`$service-configuration-notification-input.response-code`'/>\n\t<parameter name='error-message' value='`$service-configuration-notification-input.response-message`'/>\n\t<parameter name='internal-error' value='false' />","comments":"","x":613.8312377929688,"y":932.0717163085938,"z":"c2935c8.a850aa","wires":[]},{"id":"4501a9b5.00b638","type":"returnFailure","name":"return: failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='1000'/>\n\t<parameter name='error-message' value='Service Instance Id not found'/>\n\t<parameter name='internal-error' value='true' />","comments":"","x":900.7353820800781,"y":178.5714569091797,"z":"c2935c8.a850aa","wires":[]},{"id":"ab4826ec.3cd828","type":"other","name":"outcome: Other","xml":"<outcome value=\"Other\">\n\n","outputs":1,"x":2149.3543663024902,"y":5396.627190113068,"z":"c2935c8.a850aa","wires":[["8984c5a6.ec0fe8"]]},{"id":"9f2faf6c.89703","type":"other","name":"outcome: ChangeLayer3ServiceActivateRequest","xml":"<outcome value=\"ChangeLayer3ServiceActivateRequest\">\n\n","outputs":1,"x":2294.2545433044434,"y":5233.393614768982,"z":"c2935c8.a850aa","wires":[["ede4a3de.8f776"]]},{"id":"7b44beed.e0798","type":"execute","name":"execute: EIPAM_UnassignIPAddress","xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.EIPAM.EIPAMPlugin\" method=\"unassignIPAddress\">\n\t<parameter name=\"deleteEIPAM_status\" value=\"PENDING_DELETE\" />","outputs":1,"x":2874.284980773926,"y":5149.545325279236,"z":"c2935c8.a850aa","wires":[[]]},{"id":"ede4a3de.8f776","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2573.6183280944824,"y":5230.545227050781,"z":"c2935c8.a850aa","wires":[["7b44beed.e0798","3e190cb9.7f1f94","84da06b9.4d6678","d6d749b0.cfeac8","ef33ba15.3b9758"]]},{"id":"d6d749b0.cfeac8","type":"configure","name":"MSO Asynch Notification","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.mso.MSOAdaptor\" key=\"MSO\">\n <parameter name=\"dummyparam\" value=\"test\"/>\n","outputs":1,"x":2844.2713928222656,"y":5300.871339797974,"z":"c2935c8.a850aa","wires":[[]]},{"id":"ef33ba15.3b9758","type":"returnSuccess","name":"return success","xml":" <return status=\"success\">\n \n","x":2816.120918273926,"y":5348.317549705505,"z":"c2935c8.a850aa","wires":[]},{"id":"84da06b9.4d6678","type":"save","name":"save: order-status = Activated","xml":"<save plugin=\"com.att.sdnctl.sli.resource.mdsal.ConfigResource\" resource=\"service-data\">\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Activated\" />","outputs":1,"x":2858.1866760253906,"y":5247.433511734009,"z":"c2935c8.a850aa","wires":[[]]},{"id":"3e190cb9.7f1f94","type":"set","name":"set: order-status = Activated","xml":"<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Activated\" />","x":2850.559804916382,"y":5201.139886856079,"z":"c2935c8.a850aa","wires":[]},{"id":"8984c5a6.ec0fe8","type":"returnFailure","name":"return failure","xml":" <return status=\"failure\">\n\t<parameter name='error-code' value='2000'/>\n\t<parameter name='error-message' value='Invalid Request `$service-data.request-information.request-action`'/>\n\t<parameter name='internal-error' value='true'/>\n \n","x":2462.4364824295044,"y":5398.090530395508,"z":"c2935c8.a850aa","wires":[]},{"id":"bbe81125.eaf2d","type":"configure","name":"SDN_GP Asynch Notification","xml":"<configure activate=\"true\" adaptor=\"com.att.sdnctl.sli.adaptor.async.AsyncResponseAdaptor\" key=\"CONFIG\">\n<parameter name=\"dummyparam\" value=\"test\"/>","comments":"","outputs":1,"x":827.0951843261719,"y":784.1428833007812,"z":"c2935c8.a850aa","wires":[[]]},{"id":"16e0fd48.3fe683","type":"set","name":"set:service-data based on input","xml":"<set>\n<parameter name=\"service-data.appc-request-header.svc-request-id\" value=\"`$service-configuration-notification-input.svc-request-id`\" />\n\n<!--\n<parameter name=\"service-data.service-information.service-instance-id\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\" />\n-->\n<parameter name=\"service-data.service-information.service-type\" value=\"`$service-configuration-notification-input.service-information.service-type`\" />\n\t\n\n\t\n\t\n\t","comments":"","x":371,"y":197,"z":"c2935c8.a850aa","wires":[]},{"id":"8db26529.f57d68","type":"returnSuccess","name":"return success","xml":"<return status=\"success\">\n<parameter name='error-code' value='200'/>\n<parameter name='error-message' value='`$service-configuration-notification-input.response-message`'/>\n \n","comments":"","x":789.9494934082031,"y":857,"z":"c2935c8.a850aa","wires":[]},{"id":"d6aa913e.989d","type":"switchNode","name":"switch: last-sub-action","xml":"<switch test=\"`$service-data.oper-status.last-sub-action`\">\n","comments":"","outputs":1,"x":586.4494934082031,"y":506,"z":"c2935c8.a850aa","wires":[["ab5c4a39.56b068","2952075e.f8cb78"]]},{"id":"ab5c4a39.56b068","type":"success","name":"outcome: ACTIVATE","xml":"<outcome value=\"ACTIVATE\">","comments":"","outputs":1,"x":825.4494934082031,"y":479,"z":"c2935c8.a850aa","wires":[["54aa365b.8a9b88"]]},{"id":"2952075e.f8cb78","type":"success","name":"outcome: RESTOREBACKUP","xml":"<outcome value=\"RESTOREBACKUP\">","comments":"","outputs":1,"x":832.4494934082031,"y":613,"z":"c2935c8.a850aa","wires":[["9e497ad3.6c9b08"]]},{"id":"54aa365b.8a9b88","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1027.4494934082031,"y":478,"z":"c2935c8.a850aa","wires":[["490e75b4.a0784c","6ebffec.ea695"]]},{"id":"9e497ad3.6c9b08","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1058.4494934082031,"y":617,"z":"c2935c8.a850aa","wires":[["27b70ff2.42077"]]},{"id":"c7e2d0f5.74988","type":"set","name":"set: A&AI Prov Status to PREPROV/UNCONFIGURED","xml":"<set>\n\t<parameter name=\"tmp.aai-prov-status\" value=\"PREPROV\" />\n\t<parameter name=\"tmp.aai-orch-status\" value=\"UNCONFIGURED\" />","comments":"","x":2179.449493408203,"y":538,"z":"c2935c8.a850aa","wires":[]},{"id":"27b70ff2.42077","type":"switchNode","name":"switch: backup-information.file-type","xml":"<switch test=\"`$service-data.backup-information.file-type`\">\n","comments":"","outputs":1,"x":1316.4494934082031,"y":620,"z":"c2935c8.a850aa","wires":[["36ce6a3d.01f3c6","bb6e3f9f.c5558"]]},{"id":"36ce6a3d.01f3c6","type":"success","name":"outcome: InitialConfig","xml":"<outcome value=\"InitialConfig\">","comments":"","outputs":1,"x":1611.4494934082031,"y":593,"z":"c2935c8.a850aa","wires":[["1393e777.b727f9"]]},{"id":"bb6e3f9f.c5558","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":1606.4494934082031,"y":668,"z":"c2935c8.a850aa","wires":[["691391c0.2a05a"]]},{"id":"8fec3fe2.7fe13","type":"call","name":"call: update A&AI","xml":"<call module=\"Appc-API\" rpc=\"update-aai\" mode=\"sync\">","comments":"","outputs":1,"x":2043.449462890625,"y":422,"z":"c2935c8.a850aa","wires":[[]]},{"id":"1393e777.b727f9","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1830.4494934082031,"y":593,"z":"c2935c8.a850aa","wires":[["c7e2d0f5.74988","17a25d0e.4b5ca3","c10e674c.dfbc08","6d36bcf0.c8a684"]]},{"id":"17a25d0e.4b5ca3","type":"call","name":"call: update A&AI for restore","xml":"<call module=\"Appc-API\" rpc=\"update-aai-sbg\" mode=\"sync\">","comments":"","outputs":1,"x":2114.449462890625,"y":724,"z":"c2935c8.a850aa","wires":[[]]},{"id":"691391c0.2a05a","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=\"Backup Config=Downloaded Config, it is assumed that the status in AnAI is NVTPROV so no update is necessary\"/>\n\n\n","comments":"","outputs":1,"x":1806.4495239257812,"y":664,"z":"c2935c8.a850aa","wires":[[]]},{"id":"4eb6e037.dbaf5","type":"set","name":"set: order-status = Reserved ","xml":"<set>\n\t<parameter name=\"service-data.oper-status.order-status\" value=\"Reserved\" />\n","comments":"","x":2816.449493408203,"y":585,"z":"c2935c8.a850aa","wires":[]},{"id":"c10e674c.dfbc08","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":2132.449493408203,"y":586,"z":"c2935c8.a850aa","wires":[["913bd3d3.04dad","92ac0814.df8778"]]},{"id":"913bd3d3.04dad","type":"success","name":"outcome: Activated","xml":"<outcome value=\"Activated\">","comments":"","outputs":1,"x":2366.449493408203,"y":583,"z":"c2935c8.a850aa","wires":[["436e6ada.44f7b4"]]},{"id":"436e6ada.44f7b4","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2566.449493408203,"y":582,"z":"c2935c8.a850aa","wires":[["4eb6e037.dbaf5","888848fc.c44698"]]},{"id":"65fee45.b12251c","type":"comment","name":"Lastsubactionstatus updated in Appc","info":"","comments":"","x":1445.449462890625,"y":276,"z":"c2935c8.a850aa","wires":[]},{"id":"12f56193.76876e","type":"set","name":"set: last-sub-action-status","xml":"<set>\n<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"Success\" />\n\n","comments":"","x":821.4494934082031,"y":730,"z":"c2935c8.a850aa","wires":[]},{"id":"b0f15339.b347b","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=\"Dont update Order Status\"/>\n<parameter name=\"field3\" value=\"`$service-data.oper-status.order-status`\"/>\n\n\n","comments":"","outputs":1,"x":2730.449493408203,"y":717,"z":"c2935c8.a850aa","wires":[[]]},{"id":"92ac0814.df8778","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":2362.449493408203,"y":720,"z":"c2935c8.a850aa","wires":[["be0c9c33.2fb04"]]},{"id":"3fdf2b46.361354","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":1104.4494934082031,"y":270,"z":"c2935c8.a850aa","wires":[[]]},{"id":"d76b0bb4.11c118","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":842.4494934082031,"y":272,"z":"c2935c8.a850aa","wires":[["3fdf2b46.361354","b3a1b84b.43c738"]]},{"id":"888848fc.c44698","type":"set","name":"set: last-order-status ","xml":"<set>\n\t<parameter name=\"service-data.oper-status.last-order-status\" value=\"`$service-data.oper-status.order-status`\" />","comments":"","x":2792.449493408203,"y":530,"z":"c2935c8.a850aa","wires":[]},{"id":"be0c9c33.2fb04","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":2542.449493408203,"y":720,"z":"c2935c8.a850aa","wires":[["b0f15339.b347b"]]},{"id":"6d36bcf0.c8a684","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=\"CALLING AAIUPDATE\"/>\n<parameter name=\"field3\" value=\"`$service-data.oper-status.order-status`\"/>\n\n\n","comments":"","outputs":1,"x":2109.4495239257812,"y":654,"z":"c2935c8.a850aa","wires":[[]]},{"id":"6ebffec.ea695","type":"switchNode","name":"switch: update-configuration","xml":"<switch test=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration_length`\">\n","comments":"","outputs":1,"x":1292,"y":422,"z":"c2935c8.a850aa","wires":[["9cf5bbff.14b8e8","47a88695.0e6938","65a8c6df.0c6b58"]]},{"id":"9cf5bbff.14b8e8","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":1519,"y":425,"z":"c2935c8.a850aa","wires":[["505e7219.efb9dc"]]},{"id":"505e7219.efb9dc","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1817,"y":425,"z":"c2935c8.a850aa","wires":[["8fec3fe2.7fe13"]]},{"id":"47a88695.0e6938","type":"success","name":"outcome: Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":1525,"y":522,"z":"c2935c8.a850aa","wires":[["1e1d5f8c.03063"]]},{"id":"1e1d5f8c.03063","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=\"Update Configuration populated\"/>\n<parameter name=\"UPDATECONFIGLEN\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[0].update-configuration_length`\"/>\n\n\n","comments":"","outputs":1,"x":1696,"y":523,"z":"c2935c8.a850aa","wires":[[]]},{"id":"65a8c6df.0c6b58","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1554,"y":468,"z":"c2935c8.a850aa","wires":[["505e7219.efb9dc"]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-operation.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-operation.json
index ef2d0e482..d8b29da03 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-operation.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_service-configuration-operation.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"b3509dbf.084df","type":"comment","name":"service-configuration-operation","info":"","comments":"","x":1233.3332824707031,"y":125.33335876464844,"z":"57f142c6.1f478c","wires":[]},{"id":"337f0433.e9ec7c","type":"dgstart","name":"DGSTART","outputs":1,"x":93.66665649414062,"y":99.66668701171875,"z":"57f142c6.1f478c","wires":[["d12b2f59.1acc5"]]},{"id":"d12b2f59.1acc5","type":"service-logic","name":"Appc-API 4.0.0","module":"Appc-API","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='4.0.0'>","outputs":1,"x":274.66668701171875,"y":99,"z":"57f142c6.1f478c","wires":[["99a183f8.1b55b"]]},{"id":"99a183f8.1b55b","type":"method","name":"method service-configuration-operation","xml":"<method rpc='service-configuration-operation' mode='sync'>\n","comments":"","outputs":1,"x":549.3333435058594,"y":104.00001525878906,"z":"57f142c6.1f478c","wires":[["da27abb6.e9a128"]]},{"id":"2c3a60cb.7af1c","type":"switchNode","name":"switch: request-action","xml":"<switch test=\"`$service-configuration-operation-input.request-information.request-action`\">\n<!--\n leaf request-action {\n type enumeration {\n enum \"VsbgServiceActivateRequest\";\n }\n }\n}\n-->\n\n","comments":"","outputs":1,"x":159.83340454101562,"y":663.0000305175781,"z":"57f142c6.1f478c","wires":[["ce54964e.79ea38","fe8b9eb9.73ad2","78d15bd7.84caa4"]]},{"id":"ce54964e.79ea38","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":381.1743469238281,"y":1447.136474609375,"z":"57f142c6.1f478c","wires":[["f098f080.0fb19"]]},{"id":"fe8b9eb9.73ad2","type":"outcome","name":"VsbgServiceActivateRequest","xml":"<outcome value='VsbgServiceActivateRequest'>","comments":"","outputs":1,"x":477.8334655761719,"y":646.416748046875,"z":"57f142c6.1f478c","wires":[["fa999334.02fee"]]},{"id":"f098f080.0fb19","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-action not recognized'/>\n","comments":"","x":571.2252502441406,"y":1447.0010986328125,"z":"57f142c6.1f478c","wires":[]},{"id":"87a37d2a.6ca3e","type":"call","name":"call: service-configuration-activate","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-activate\" mode=\"sync\">","comments":"","outputs":1,"x":1874.4999084472656,"y":637.4166259765625,"z":"57f142c6.1f478c","wires":[[]]},{"id":"fa999334.02fee","type":"switchNode","name":"switch: request-sub-action","xml":"<switch test=\"`$service-configuration-operation-input.request-information.request-sub-action`\">\n<!--\n leaf request-sub-action {\n type enumeration {\n enum \"PREPARE\";\n enum \"ACTIVATE\";\n }\n }\n} \n-->","comments":"","outputs":1,"x":761.1110534667969,"y":645.2222900390625,"z":"57f142c6.1f478c","wires":[["100480f1.8fdcef","1ab975fc.edd7ca","7c055852.c45578"]]},{"id":"100480f1.8fdcef","type":"outcome","name":"PREPARE","xml":"<outcome value='PREPARE'>","comments":"","outputs":1,"x":994.3333435058594,"y":406.666748046875,"z":"57f142c6.1f478c","wires":[["cc499bb2.e44078"]]},{"id":"1ab975fc.edd7ca","type":"other","name":"ACTIVATE","xml":"<outcome value='ACTIVATE'>","comments":"","outputs":1,"x":1025.6663513183594,"y":629.6666259765625,"z":"57f142c6.1f478c","wires":[["21e1499f.20daa6"]]},{"id":"d36bac8b.003aa","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"service-configuration-operation\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-operation-input.appc-request-header.svc-action`\"/>\n<parameter name=\"field4\" value=\"`$service-configuration-operation-input.appc-request-header.svc-request-id`\"/>\n<parameter name=\"field5\" value=\"`$service-configuration-operation-input.service-information.service-instance-id`\"/>\n<parameter name=\"field6\" value=\"`$service-configuration-operation-input.request-information.request-id`\"/>\n<parameter name=\"field7\" value=\"`$service-configuration-operation-input.request-information.request-action`\"/>\n<parameter name=\"field8\" value=\"`$service-configuration-operation-input.request-information.source`\"/>\n<parameter name=\"field9\" value=\"`$service-configuration-operation-input.service-information.service-instance-id`\"/>\n<parameter name=\"field10\" value=\"`$service-configuration-operation-input.service-information.service-type`\"/>\n<parameter name=\"field11\" value=\"`$service-configuration-operation-input.request-information.request-sub-action`\"/>","comments":"","outputs":1,"x":264.6667175292969,"y":213.33335876464844,"z":"57f142c6.1f478c","wires":[[]]},{"id":"da27abb6.e9a128","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":77,"y":204.33335876464844,"z":"57f142c6.1f478c","wires":[["d36bac8b.003aa","50935a83.2d88f4","fad64f0.0ca0eb"]]},{"id":"50935a83.2d88f4","type":"set","name":"set:service-data based on input: request-id ,svc-request-id & service-type","xml":"<set>\n\t\n\t<parameter name=\"service-data.request-information.request-id\" value=\"`$service-configuration-operation-input.request-information.request-id`\" />\n\t<parameter name=\"service-data.request-information.notification-url\" value=\"`$service-configuration-operation-input.request-information.notification-url`\" />\n\t<parameter name=\"service-data.request-information.request-action\" value=\"`$service-configuration-operation-input.request-information.request-action`\" />\n\t<parameter name=\"service-data.request-information.source\" value=\"`$service-configuration-operation-input.request-information.source`\" />\n\t<parameter name=\"service-data.request-information.order-number\" value=\"`$service-configuration-operation-input.request-information.order-number`\" />\n\t<parameter name=\"service.request-information.order-version\" value=\"`$service-configuration-operation-input.request-information.order-version`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-request-id\" value=\"`$service-configuration-operation-input.appc-request-header.svc-request-id`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-action\" value=\"`$service-configuration-operation-input.appc-request-header.svc-action`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-notification-url\" value=\"`$service-configuration-operation-input.appc-request-header.svc-notification-url`\" />\n\t<!-- \n\t<parameter name=\"service-data.service-information.service-instance-id\" value=\"`$service-configuration-operation-input.service-information.service-instance-id`\" />\n\t-->\n\t<parameter name=\"service-data.service-information.service-type\" value=\"`$service-configuration-operation-input.service-information.service-type`\" />\n\t<parameter name=\"service-data.request-information.request-sub-action\" value=\"`$service-configuration-operation-input.request-information.request-sub-action`\" />\n\n\t\n\t<!-- set service-data based on input only for Prepare\n\t<parameter name=\"service-data.\" value=\"`$service-configuration-operation-input.`\" />\n\t-->\n\t","comments":"","x":470.3333435058594,"y":178.00003051757812,"z":"57f142c6.1f478c","wires":[]},{"id":"e1359cee.43a9f","type":"call","name":"call: service-configuration-prepare","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-prepare\" mode=\"sync\">","comments":"","outputs":1,"x":1868.8332824707031,"y":399.3333740234375,"z":"57f142c6.1f478c","wires":[[]]},{"id":"1a154772.444899","type":"call","name":"call: service-configuration-backup","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-backup\" mode=\"sync\">","comments":"","outputs":1,"x":1895.8332824707031,"y":1118.3333129882812,"z":"57f142c6.1f478c","wires":[[]]},{"id":"fad64f0.0ca0eb","type":"switchNode","name":"switch: last-sub-action-status","xml":"<switch test=\"`$service-data.oper-status.last-sub-action-status`\">\n","comments":"","outputs":1,"x":332.8333435058594,"y":257.33335876464844,"z":"57f142c6.1f478c","wires":[["a0cc216d.461e7","17e973e8.0fc1ac"]]},{"id":"a0cc216d.461e7","type":"outcome","name":"InProgress","xml":"<outcome value='InProgress'>","comments":"","outputs":1,"x":556.8333435058594,"y":257.33335876464844,"z":"57f142c6.1f478c","wires":[["c17c511.dddb7b"]]},{"id":"c17c511.dddb7b","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":725.8333435058594,"y":255.33335876464844,"z":"57f142c6.1f478c","wires":[["db7678e6.fdbd48","2bea4db9.267f82","8ea5da83.26cac8","2c3a60cb.7af1c"]]},{"id":"db7678e6.fdbd48","type":"execute","name":"execute getTimeDifference","xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.ipAddressTools.IpAddressTool\" method=\"getTimeDifference\">\n\t<parameter name=\"inDate\" value=\"`$service-data.oper-status.modify-timestamp`\"/>\n\t<parameter name=\"ctxTempVariable\" value=\"tmp.inprogress-time\"/>","comments":"","outputs":1,"x":950.8333435058594,"y":172.33335876464844,"z":"57f142c6.1f478c","wires":[[]]},{"id":"2bea4db9.267f82","type":"switchNode","name":"switch: tmp.inprogress-time > 6 min (360 seconds)","xml":"<switch test=\"`$tmp.inprogress-time > 360`\">","comments":"","outputs":1,"x":1035.8333435058594,"y":217.33335876464844,"z":"57f142c6.1f478c","wires":[["79a11948.fe39d8"]]},{"id":"8ea5da83.26cac8","type":"set","name":"set: last-sub-action-status = InProgressTimeout","xml":"<set>\n\t<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"InProgressTimeout\" />","comments":"","x":1018.8333435058594,"y":268.33335876464844,"z":"57f142c6.1f478c","wires":[]},{"id":"79a11948.fe39d8","type":"outcomeFalse","name":"false ","xml":"<outcome value='false'>","comments":"","outputs":1,"x":1319.8333435058594,"y":214.33335876464844,"z":"57f142c6.1f478c","wires":[["a7a2d095.18535"]]},{"id":"a7a2d095.18535","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Still processing your previous request.'/>","comments":"","x":1488.8333435058594,"y":214.33335876464844,"z":"57f142c6.1f478c","wires":[]},{"id":"17e973e8.0fc1ac","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":552.8333435058594,"y":305.33335876464844,"z":"57f142c6.1f478c","wires":[["2c3a60cb.7af1c"]]},{"id":"78d15bd7.84caa4","type":"outcome","name":"VsbgServiceBackupRequest","xml":"<outcome value='VsbgServiceBackupRequest'>","comments":"","outputs":1,"x":430.8333435058594,"y":1239.3333740234375,"z":"57f142c6.1f478c","wires":[["ea4d78dd.6dcd78"]]},{"id":"ea4d78dd.6dcd78","type":"switchNode","name":"switch: request-sub-action","xml":"<switch test=\"`$service-configuration-operation-input.request-information.request-sub-action`\">\n<!--\n leaf request-sub-action {\n type enumeration {\n enum \"PREPARE\";\n enum \"ACTIVATE\";\n }\n }\n} \n-->","comments":"","outputs":1,"x":708.8333435058594,"y":1233.3333740234375,"z":"57f142c6.1f478c","wires":[["84453abd.a768b8","28792623.ef98aa","9787f6e7.6ccf78"]]},{"id":"98a0765b.ccc488","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-sub-action not recognized'/>\n","comments":"","x":1231.8333435058594,"y":946.3333740234375,"z":"57f142c6.1f478c","wires":[]},{"id":"7c055852.c45578","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":994.8333435058594,"y":948.3333740234375,"z":"57f142c6.1f478c","wires":[["98a0765b.ccc488"]]},{"id":"84453abd.a768b8","type":"outcome","name":"BACKUP","xml":"<outcome value='BACKUP'>","comments":"","outputs":1,"x":961.8333435058594,"y":1162.3333740234375,"z":"57f142c6.1f478c","wires":[["958a3503.5b2248"]]},{"id":"9787f6e7.6ccf78","type":"other","name":"RESTOREBACKUP","xml":"<outcome value='RESTOREBACKUP'>","comments":"","outputs":1,"x":993.8333435058594,"y":1301.3333740234375,"z":"57f142c6.1f478c","wires":[["424610c8.86c17"]]},{"id":"28792623.ef98aa","type":"other","name":"DELETEBACKUP","xml":"<outcome value='DELETEBACKUP'>","comments":"","outputs":1,"x":987.8333435058594,"y":1226.3333740234375,"z":"57f142c6.1f478c","wires":[["958a3503.5b2248"]]},{"id":"cc499bb2.e44078","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1196.8334045410156,"y":404,"z":"57f142c6.1f478c","wires":[["5a5419b8.fc9918","31add50b.19bf1a"]]},{"id":"5a5419b8.fc9918","type":"switchNode","name":"switch: vnf-type","xml":"<switch test=\"`$vnf-type`\">\n\n\n\n","comments":"","outputs":1,"x":1390.8333740234375,"y":445.99998474121094,"z":"57f142c6.1f478c","wires":[["1e58ebd8.081eb4","954b003f.67029","9a9bdf49.8ba78"]]},{"id":"91388dfc.6747d","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1616.8334045410156,"y":530,"z":"57f142c6.1f478c","wires":[["24a0fbd6.988d54"]]},{"id":"24a0fbd6.988d54","type":"call","name":"call: service-configuration-prepare-sbc","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-prepare-sbc\" mode=\"sync\">","comments":"","outputs":1,"x":1865.8334045410156,"y":531,"z":"57f142c6.1f478c","wires":[[]]},{"id":"21e1499f.20daa6","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1200.8334045410156,"y":632,"z":"57f142c6.1f478c","wires":[["e4abddd7.b20bb","644356b8.a81388"]]},{"id":"e4abddd7.b20bb","type":"switchNode","name":"switch: vnf-type","xml":"<switch test=\"`$vnf-type`\">\n\n\n","comments":"","outputs":1,"x":1407.8333740234375,"y":687.9999847412109,"z":"57f142c6.1f478c","wires":[["a8bcf335.4b6e2","2095438c.a75e9c","bb4c3fe0.cf855"]]},{"id":"b625abfb.61b5b8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1612.8334045410156,"y":865,"z":"57f142c6.1f478c","wires":[["8f4ded84.df145"]]},{"id":"8f4ded84.df145","type":"call","name":"call: service-configuration-activate-sbc","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-activate-sbc\" mode=\"sync\">","comments":"","outputs":1,"x":1870.8334045410156,"y":865,"z":"57f142c6.1f478c","wires":[[]]},{"id":"5ed23ab3.8f89b4","type":"switchNode","name":"switch: vnf-type","xml":"<switch test=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\">\n\n\n","comments":"","outputs":1,"x":1426.8333435058594,"y":1180,"z":"57f142c6.1f478c","wires":[["9e313562.3da0e8","e1d6aa6b.f84178","90f39d1d.80f2e","49273b18.628b74"]]},{"id":"9e313562.3da0e8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1603.8334045410156,"y":1225.9999389648438,"z":"57f142c6.1f478c","wires":[["cacc58e7.d542e8"]]},{"id":"cacc58e7.d542e8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-sub-action not recognized'/>\n","comments":"","x":1767.8334045410156,"y":1226.9999389648438,"z":"57f142c6.1f478c","wires":[]},{"id":"958a3503.5b2248","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1164.8333435058594,"y":1182,"z":"57f142c6.1f478c","wires":[["5ed23ab3.8f89b4","74cd7b8e.ce5be4"]]},{"id":"424610c8.86c17","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1201.8333435058594,"y":1301,"z":"57f142c6.1f478c","wires":[["71166b82.41c6b4","12ceb3cb.d87cac"]]},{"id":"71166b82.41c6b4","type":"switchNode","name":"switch: vnf-type","xml":"<switch test=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\">\n\n\n","comments":"","outputs":1,"x":1403.8333740234375,"y":1401.999984741211,"z":"57f142c6.1f478c","wires":[["5c593415.be3a7c","e4202ecb.1ac4c","ee07041c.0ca338","817e32b6.557fd"]]},{"id":"9f48a4dd.288c18","type":"other","name":"ISBC","xml":"<outcome value='ISBC'>","comments":"","outputs":1,"x":1610.8334045410156,"y":1359.9999389648438,"z":"57f142c6.1f478c","wires":[["cf377cc7.2c72f"]]},{"id":"5c593415.be3a7c","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1593.8334045410156,"y":1592.9999389648438,"z":"57f142c6.1f478c","wires":[["e23a5427.dc90c8"]]},{"id":"912b075b.2b9118","type":"call","name":"call: service-configuration-backup","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-backup\" mode=\"sync\">","comments":"","outputs":1,"x":1862.8334045410156,"y":1496.9999389648438,"z":"57f142c6.1f478c","wires":[[]]},{"id":"cf377cc7.2c72f","type":"call","name":"call: service-configuration-restorebkup-sbc","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-restorebkup-sbc\" mode=\"sync\">","comments":"","outputs":1,"x":1987.8334045410156,"y":1357.9999389648438,"z":"57f142c6.1f478c","wires":[[]]},{"id":"e0db2af5.61e098","type":"comment","name":"Use vnftype from config tree","info":"","comments":"","x":1106.8334045410156,"y":586,"z":"57f142c6.1f478c","wires":[]},{"id":"a8bcf335.4b6e2","type":"outcome","name":"N-SBG","xml":"<outcome value='N-SBG'>\n","comments":"","outputs":1,"x":1616.5499572753906,"y":602.8833618164062,"z":"57f142c6.1f478c","wires":[["87a37d2a.6ca3e"]]},{"id":"6947ff76.6c01d","type":"outcome","name":"TSBC","xml":"<outcome value='TSBC'>\n","comments":"","outputs":1,"x":1612,"y":1316.3333587646484,"z":"57f142c6.1f478c","wires":[["cf377cc7.2c72f"]]},{"id":"31add50b.19bf1a","type":"set","name":"set VNF-Type","xml":"<set>\n<parameter name=\"vnf-type\" value=\"`$service-configuration-operation-input.vnf-config-parameters-list.vnf-config-parameters[0].vnf-type`\" />\n\t\n","comments":"","x":1403,"y":374.33335876464844,"z":"57f142c6.1f478c","wires":[]},{"id":"644356b8.a81388","type":"set","name":"set VNF-Type","xml":"<set>\n<parameter name=\"vnf-type\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[0].vnf-type`\" />\n\t\n","comments":"","x":1424,"y":596.3333587646484,"z":"57f142c6.1f478c","wires":[]},{"id":"74cd7b8e.ce5be4","type":"set","name":"set VNF-Type","xml":"<set>\n<parameter name=\"vnf-type\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\" />\n\t\n","comments":"","x":1421,"y":1112.3333587646484,"z":"57f142c6.1f478c","wires":[]},{"id":"12ceb3cb.d87cac","type":"set","name":"set VNF-Type","xml":"<set>\n<parameter name=\"vnf-type\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\" />\n\t\n","comments":"","x":1410,"y":1300.3333587646484,"z":"57f142c6.1f478c","wires":[]},{"id":"e4202ecb.1ac4c","type":"outcome","name":"N-SBG","xml":"<outcome value='N-SBG'>\n","comments":"","outputs":1,"x":1611.6666564941406,"y":1457.6666870117188,"z":"57f142c6.1f478c","wires":[["912b075b.2b9118"]]},{"id":"e23a5427.dc90c8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-sub-action not recognized'/>\n","comments":"","x":1767.6666564941406,"y":1592.6666870117188,"z":"57f142c6.1f478c","wires":[]},{"id":"1e58ebd8.081eb4","type":"other","name":"A-SBG","xml":"<outcome value='A-SBG'>","comments":"","outputs":1,"x":1613.6666564941406,"y":401.66668701171875,"z":"57f142c6.1f478c","wires":[["e1359cee.43a9f"]]},{"id":"9a9bdf49.8ba78","type":"other","name":"N-SBG","xml":"<outcome value='N-SBG'>","comments":"","outputs":1,"x":1615.6666564941406,"y":358.66668701171875,"z":"57f142c6.1f478c","wires":[["e1359cee.43a9f"]]},{"id":"954b003f.67029","type":"other","name":"T-SBG","xml":"<outcome value='T-SBG'>","comments":"","outputs":1,"x":1614.6666564941406,"y":447.66668701171875,"z":"57f142c6.1f478c","wires":[["e1359cee.43a9f"]]},{"id":"2095438c.a75e9c","type":"other","name":"A-SBG","xml":"<outcome value='A-SBG'>","comments":"","outputs":1,"x":1614.6666564941406,"y":640.6666870117188,"z":"57f142c6.1f478c","wires":[["87a37d2a.6ca3e"]]},{"id":"bb4c3fe0.cf855","type":"other","name":"T-SBG","xml":"<outcome value='T-SBG'>","comments":"","outputs":1,"x":1614.6666564941406,"y":687.6666870117188,"z":"57f142c6.1f478c","wires":[["87a37d2a.6ca3e"]]},{"id":"e1d6aa6b.f84178","type":"outcome","name":"N-SBG","xml":"<outcome value='N-SBG'>\n","comments":"","outputs":1,"x":1608.6666564941406,"y":1066.6666870117188,"z":"57f142c6.1f478c","wires":[["1a154772.444899"]]},{"id":"90f39d1d.80f2e","type":"other","name":"A-SBG","xml":"<outcome value='A-SBG'>","comments":"","outputs":1,"x":1609.6666564941406,"y":1107.6666870117188,"z":"57f142c6.1f478c","wires":[["1a154772.444899"]]},{"id":"49273b18.628b74","type":"other","name":"T-SBG","xml":"<outcome value='T-SBG'>","comments":"","outputs":1,"x":1610.6666564941406,"y":1152.6666870117188,"z":"57f142c6.1f478c","wires":[["1a154772.444899"]]},{"id":"a9b42c2b.83b31","type":"outcome","name":"vDBE-V","xml":"<outcome value='vDBE-V'>\n","comments":"","outputs":1,"x":1615.6666564941406,"y":737.6666870117188,"z":"57f142c6.1f478c","wires":[["c5f4780c.2868d8"]]},{"id":"c1b3fa8.0bc5e08","type":"other","name":"vDBE-I","xml":"<outcome value='vDBE-I'>","comments":"","outputs":1,"x":1614.6666564941406,"y":776.6666870117188,"z":"57f142c6.1f478c","wires":[["c5f4780c.2868d8"]]},{"id":"c8dfc4c3.d05048","type":"other","name":"vDBE-P","xml":"<outcome value='vDBE-P'>","comments":"","outputs":1,"x":1610.6666564941406,"y":821.6666870117188,"z":"57f142c6.1f478c","wires":[["c5f4780c.2868d8"]]},{"id":"c5f4780c.2868d8","type":"call","name":"call: service-configuration-activate-vdbe","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-activate-vdbe\" mode=\"sync\">","comments":"","outputs":1,"x":1906.6666564941406,"y":771.6666870117188,"z":"57f142c6.1f478c","wires":[[]]},{"id":"ee07041c.0ca338","type":"other","name":"A-SBG","xml":"<outcome value='A-SBG'>","comments":"","outputs":1,"x":1607.6666564941406,"y":1500.6666870117188,"z":"57f142c6.1f478c","wires":[["912b075b.2b9118"]]},{"id":"817e32b6.557fd","type":"other","name":"T-SBG","xml":"<outcome value='T-SBG'>","comments":"","outputs":1,"x":1610.6666564941406,"y":1536.6666870117188,"z":"57f142c6.1f478c","wires":[["912b075b.2b9118"]]},{"id":"2dd38ed4.235162","type":"outcome","name":"vUSP - Metaswitch vSBC","xml":"<outcome value='vUSP - Metaswitch vSBC'>\n","comments":"","outputs":1,"x":1662.6666564941406,"y":1403.6666870117188,"z":"57f142c6.1f478c","wires":[["cf377cc7.2c72f"]]},{"id":"c7742018.c7acd","type":"comment","name":"Keep only SBG Flow","info":"","comments":"","x":1800,"y":311,"z":"57f142c6.1f478c","wires":[]}]
+[{"id":"b3509dbf.084df","type":"comment","name":"service-configuration-operation","info":"","comments":"","x":1233.3332824707031,"y":125.33335876464844,"z":"57f142c6.1f478c","wires":[]},{"id":"337f0433.e9ec7c","type":"dgstart","name":"DGSTART","outputs":1,"x":93.66665649414062,"y":99.66668701171875,"z":"57f142c6.1f478c","wires":[["d12b2f59.1acc5"]]},{"id":"d12b2f59.1acc5","type":"service-logic","name":"Appc-API 4.0.0","module":"Appc-API","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='4.0.0'>","outputs":1,"x":274.66668701171875,"y":99,"z":"57f142c6.1f478c","wires":[["99a183f8.1b55b"]]},{"id":"99a183f8.1b55b","type":"method","name":"method service-configuration-operation","xml":"<method rpc='service-configuration-operation' mode='sync'>\n","comments":"","outputs":1,"x":549.3333435058594,"y":104.00001525878906,"z":"57f142c6.1f478c","wires":[["da27abb6.e9a128"]]},{"id":"2c3a60cb.7af1c","type":"switchNode","name":"switch: request-action","xml":"<switch test=\"`$service-configuration-operation-input.request-information.request-action`\">\n<!--\n leaf request-action {\n type enumeration {\n enum \"VsbgServiceActivateRequest\";\n }\n }\n}\n-->\n\n","comments":"","outputs":1,"x":159.83340454101562,"y":663.0000305175781,"z":"57f142c6.1f478c","wires":[["ce54964e.79ea38","fe8b9eb9.73ad2","78d15bd7.84caa4"]]},{"id":"ce54964e.79ea38","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":381.1743469238281,"y":1447.136474609375,"z":"57f142c6.1f478c","wires":[["f098f080.0fb19"]]},{"id":"fe8b9eb9.73ad2","type":"outcome","name":"VsbgServiceActivateRequest","xml":"<outcome value='VsbgServiceActivateRequest'>","comments":"","outputs":1,"x":477.8334655761719,"y":646.416748046875,"z":"57f142c6.1f478c","wires":[["fa999334.02fee"]]},{"id":"f098f080.0fb19","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-action not recognized'/>\n","comments":"","x":571.2252502441406,"y":1447.0010986328125,"z":"57f142c6.1f478c","wires":[]},{"id":"87a37d2a.6ca3e","type":"call","name":"call: service-configuration-activate","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-activate\" mode=\"sync\">","comments":"","outputs":1,"x":1874.4999084472656,"y":637.4166259765625,"z":"57f142c6.1f478c","wires":[[]]},{"id":"fa999334.02fee","type":"switchNode","name":"switch: request-sub-action","xml":"<switch test=\"`$service-configuration-operation-input.request-information.request-sub-action`\">\n<!--\n leaf request-sub-action {\n type enumeration {\n enum \"PREPARE\";\n enum \"ACTIVATE\";\n }\n }\n} \n-->","comments":"","outputs":1,"x":761.1110534667969,"y":645.2222900390625,"z":"57f142c6.1f478c","wires":[["100480f1.8fdcef","1ab975fc.edd7ca","7c055852.c45578"]]},{"id":"100480f1.8fdcef","type":"outcome","name":"PREPARE","xml":"<outcome value='PREPARE'>","comments":"","outputs":1,"x":994.3333435058594,"y":406.666748046875,"z":"57f142c6.1f478c","wires":[["cc499bb2.e44078"]]},{"id":"1ab975fc.edd7ca","type":"other","name":"ACTIVATE","xml":"<outcome value='ACTIVATE'>","comments":"","outputs":1,"x":1025.6663513183594,"y":629.6666259765625,"z":"57f142c6.1f478c","wires":[["21e1499f.20daa6"]]},{"id":"d36bac8b.003aa","type":"record","name":"record","xml":"<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"service-configuration-operation\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-operation-input.appc-request-header.svc-action`\"/>\n<parameter name=\"field4\" value=\"`$service-configuration-operation-input.appc-request-header.svc-request-id`\"/>\n<parameter name=\"field5\" value=\"`$service-configuration-operation-input.service-information.service-instance-id`\"/>\n<parameter name=\"field6\" value=\"`$service-configuration-operation-input.request-information.request-id`\"/>\n<parameter name=\"field7\" value=\"`$service-configuration-operation-input.request-information.request-action`\"/>\n<parameter name=\"field8\" value=\"`$service-configuration-operation-input.request-information.source`\"/>\n<parameter name=\"field9\" value=\"`$service-configuration-operation-input.service-information.service-instance-id`\"/>\n<parameter name=\"field10\" value=\"`$service-configuration-operation-input.service-information.service-type`\"/>\n<parameter name=\"field11\" value=\"`$service-configuration-operation-input.request-information.request-sub-action`\"/>","comments":"","outputs":1,"x":264.6667175292969,"y":213.33335876464844,"z":"57f142c6.1f478c","wires":[[]]},{"id":"da27abb6.e9a128","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":77,"y":204.33335876464844,"z":"57f142c6.1f478c","wires":[["d36bac8b.003aa","50935a83.2d88f4","fad64f0.0ca0eb"]]},{"id":"50935a83.2d88f4","type":"set","name":"set:service-data based on input: request-id ,svc-request-id & service-type","xml":"<set>\n\t\n\t<parameter name=\"service-data.request-information.request-id\" value=\"`$service-configuration-operation-input.request-information.request-id`\" />\n\t<parameter name=\"service-data.request-information.notification-url\" value=\"`$service-configuration-operation-input.request-information.notification-url`\" />\n\t<parameter name=\"service-data.request-information.request-action\" value=\"`$service-configuration-operation-input.request-information.request-action`\" />\n\t<parameter name=\"service-data.request-information.source\" value=\"`$service-configuration-operation-input.request-information.source`\" />\n\t<parameter name=\"service-data.request-information.order-number\" value=\"`$service-configuration-operation-input.request-information.order-number`\" />\n\t<parameter name=\"service.request-information.order-version\" value=\"`$service-configuration-operation-input.request-information.order-version`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-request-id\" value=\"`$service-configuration-operation-input.appc-request-header.svc-request-id`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-action\" value=\"`$service-configuration-operation-input.appc-request-header.svc-action`\" />\n\t<parameter name=\"service-data.appc-request-header.svc-notification-url\" value=\"`$service-configuration-operation-input.appc-request-header.svc-notification-url`\" />\n\t<!-- \n\t<parameter name=\"service-data.service-information.service-instance-id\" value=\"`$service-configuration-operation-input.service-information.service-instance-id`\" />\n\t-->\n\t<parameter name=\"service-data.service-information.service-type\" value=\"`$service-configuration-operation-input.service-information.service-type`\" />\n\t<parameter name=\"service-data.request-information.request-sub-action\" value=\"`$service-configuration-operation-input.request-information.request-sub-action`\" />\n\n\t\n\t<!-- set service-data based on input only for Prepare\n\t<parameter name=\"service-data.\" value=\"`$service-configuration-operation-input.`\" />\n\t-->\n\t","comments":"","x":470.3333435058594,"y":178.00003051757812,"z":"57f142c6.1f478c","wires":[]},{"id":"e1359cee.43a9f","type":"call","name":"call: service-configuration-prepare","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-prepare\" mode=\"sync\">","comments":"","outputs":1,"x":1868.8332824707031,"y":399.3333740234375,"z":"57f142c6.1f478c","wires":[[]]},{"id":"1a154772.444899","type":"call","name":"call: service-configuration-backup","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-backup\" mode=\"sync\">","comments":"","outputs":1,"x":1895.8332824707031,"y":1118.3333129882812,"z":"57f142c6.1f478c","wires":[[]]},{"id":"fad64f0.0ca0eb","type":"switchNode","name":"switch: last-sub-action-status","xml":"<switch test=\"`$service-data.oper-status.last-sub-action-status`\">\n","comments":"","outputs":1,"x":332.8333435058594,"y":257.33335876464844,"z":"57f142c6.1f478c","wires":[["a0cc216d.461e7","17e973e8.0fc1ac"]]},{"id":"a0cc216d.461e7","type":"outcome","name":"InProgress","xml":"<outcome value='InProgress'>","comments":"","outputs":1,"x":556.8333435058594,"y":257.33335876464844,"z":"57f142c6.1f478c","wires":[["c17c511.dddb7b"]]},{"id":"c17c511.dddb7b","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":725.8333435058594,"y":255.33335876464844,"z":"57f142c6.1f478c","wires":[["db7678e6.fdbd48","2bea4db9.267f82","8ea5da83.26cac8","2c3a60cb.7af1c"]]},{"id":"db7678e6.fdbd48","type":"execute","name":"execute getTimeDifference","xml":"<execute plugin=\"com.att.sdnctl.sli.plugin.ipAddressTools.IpAddressTool\" method=\"getTimeDifference\">\n\t<parameter name=\"inDate\" value=\"`$service-data.oper-status.modify-timestamp`\"/>\n\t<parameter name=\"ctxTempVariable\" value=\"tmp.inprogress-time\"/>","comments":"","outputs":1,"x":950.8333435058594,"y":172.33335876464844,"z":"57f142c6.1f478c","wires":[[]]},{"id":"2bea4db9.267f82","type":"switchNode","name":"switch: tmp.inprogress-time > 6 min (360 seconds)","xml":"<switch test=\"`$tmp.inprogress-time > 360`\">","comments":"","outputs":1,"x":1035.8333435058594,"y":217.33335876464844,"z":"57f142c6.1f478c","wires":[["79a11948.fe39d8"]]},{"id":"8ea5da83.26cac8","type":"set","name":"set: last-sub-action-status = InProgressTimeout","xml":"<set>\n\t<parameter name=\"service-data.oper-status.last-sub-action-status\" value=\"InProgressTimeout\" />","comments":"","x":1018.8333435058594,"y":268.33335876464844,"z":"57f142c6.1f478c","wires":[]},{"id":"79a11948.fe39d8","type":"outcomeFalse","name":"false ","xml":"<outcome value='false'>","comments":"","outputs":1,"x":1319.8333435058594,"y":214.33335876464844,"z":"57f142c6.1f478c","wires":[["a7a2d095.18535"]]},{"id":"a7a2d095.18535","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='Still processing your previous request.'/>","comments":"","x":1488.8333435058594,"y":214.33335876464844,"z":"57f142c6.1f478c","wires":[]},{"id":"17e973e8.0fc1ac","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":552.8333435058594,"y":305.33335876464844,"z":"57f142c6.1f478c","wires":[["2c3a60cb.7af1c"]]},{"id":"78d15bd7.84caa4","type":"outcome","name":"VsbgServiceBackupRequest","xml":"<outcome value='VsbgServiceBackupRequest'>","comments":"","outputs":1,"x":430.8333435058594,"y":1239.3333740234375,"z":"57f142c6.1f478c","wires":[["ea4d78dd.6dcd78"]]},{"id":"ea4d78dd.6dcd78","type":"switchNode","name":"switch: request-sub-action","xml":"<switch test=\"`$service-configuration-operation-input.request-information.request-sub-action`\">\n<!--\n leaf request-sub-action {\n type enumeration {\n enum \"PREPARE\";\n enum \"ACTIVATE\";\n }\n }\n} \n-->","comments":"","outputs":1,"x":708.8333435058594,"y":1233.3333740234375,"z":"57f142c6.1f478c","wires":[["84453abd.a768b8","28792623.ef98aa","9787f6e7.6ccf78"]]},{"id":"98a0765b.ccc488","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-sub-action not recognized'/>\n","comments":"","x":1231.8333435058594,"y":946.3333740234375,"z":"57f142c6.1f478c","wires":[]},{"id":"7c055852.c45578","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":994.8333435058594,"y":948.3333740234375,"z":"57f142c6.1f478c","wires":[["98a0765b.ccc488"]]},{"id":"84453abd.a768b8","type":"outcome","name":"BACKUP","xml":"<outcome value='BACKUP'>","comments":"","outputs":1,"x":961.8333435058594,"y":1162.3333740234375,"z":"57f142c6.1f478c","wires":[["958a3503.5b2248"]]},{"id":"9787f6e7.6ccf78","type":"other","name":"RESTOREBACKUP","xml":"<outcome value='RESTOREBACKUP'>","comments":"","outputs":1,"x":993.8333435058594,"y":1301.3333740234375,"z":"57f142c6.1f478c","wires":[["424610c8.86c17"]]},{"id":"28792623.ef98aa","type":"other","name":"DELETEBACKUP","xml":"<outcome value='DELETEBACKUP'>","comments":"","outputs":1,"x":987.8333435058594,"y":1226.3333740234375,"z":"57f142c6.1f478c","wires":[["958a3503.5b2248"]]},{"id":"cc499bb2.e44078","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1196.8334045410156,"y":404,"z":"57f142c6.1f478c","wires":[["5a5419b8.fc9918","31add50b.19bf1a"]]},{"id":"5a5419b8.fc9918","type":"switchNode","name":"switch: vnf-type","xml":"<switch test=\"`$vnf-type`\">\n\n\n\n","comments":"","outputs":1,"x":1390.8333740234375,"y":445.99998474121094,"z":"57f142c6.1f478c","wires":[["1e58ebd8.081eb4","954b003f.67029","9a9bdf49.8ba78"]]},{"id":"91388dfc.6747d","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1616.8334045410156,"y":530,"z":"57f142c6.1f478c","wires":[["24a0fbd6.988d54"]]},{"id":"24a0fbd6.988d54","type":"call","name":"call: service-configuration-prepare-sbc","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-prepare-sbc\" mode=\"sync\">","comments":"","outputs":1,"x":1865.8334045410156,"y":531,"z":"57f142c6.1f478c","wires":[[]]},{"id":"21e1499f.20daa6","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1200.8334045410156,"y":632,"z":"57f142c6.1f478c","wires":[["e4abddd7.b20bb","644356b8.a81388"]]},{"id":"e4abddd7.b20bb","type":"switchNode","name":"switch: vnf-type","xml":"<switch test=\"`$vnf-type`\">\n\n\n","comments":"","outputs":1,"x":1407.8333740234375,"y":687.9999847412109,"z":"57f142c6.1f478c","wires":[["a8bcf335.4b6e2","2095438c.a75e9c","bb4c3fe0.cf855"]]},{"id":"b625abfb.61b5b8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1612.8334045410156,"y":865,"z":"57f142c6.1f478c","wires":[["8f4ded84.df145"]]},{"id":"8f4ded84.df145","type":"call","name":"call: service-configuration-activate-sbc","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-activate-sbc\" mode=\"sync\">","comments":"","outputs":1,"x":1870.8334045410156,"y":865,"z":"57f142c6.1f478c","wires":[[]]},{"id":"5ed23ab3.8f89b4","type":"switchNode","name":"switch: vnf-type","xml":"<switch test=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\">\n\n\n","comments":"","outputs":1,"x":1426.8333435058594,"y":1180,"z":"57f142c6.1f478c","wires":[["9e313562.3da0e8","e1d6aa6b.f84178","90f39d1d.80f2e","49273b18.628b74"]]},{"id":"9e313562.3da0e8","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1603.8334045410156,"y":1225.9999389648438,"z":"57f142c6.1f478c","wires":[["cacc58e7.d542e8"]]},{"id":"cacc58e7.d542e8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-sub-action not recognized'/>\n","comments":"","x":1767.8334045410156,"y":1226.9999389648438,"z":"57f142c6.1f478c","wires":[]},{"id":"958a3503.5b2248","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1164.8333435058594,"y":1182,"z":"57f142c6.1f478c","wires":[["5ed23ab3.8f89b4","74cd7b8e.ce5be4"]]},{"id":"424610c8.86c17","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1201.8333435058594,"y":1301,"z":"57f142c6.1f478c","wires":[["71166b82.41c6b4","12ceb3cb.d87cac"]]},{"id":"71166b82.41c6b4","type":"switchNode","name":"switch: vnf-type","xml":"<switch test=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\">\n\n\n","comments":"","outputs":1,"x":1403.8333740234375,"y":1401.999984741211,"z":"57f142c6.1f478c","wires":[["5c593415.be3a7c","e4202ecb.1ac4c","ee07041c.0ca338","817e32b6.557fd"]]},{"id":"9f48a4dd.288c18","type":"other","name":"ISBC","xml":"<outcome value='ISBC'>","comments":"","outputs":1,"x":1610.8334045410156,"y":1359.9999389648438,"z":"57f142c6.1f478c","wires":[["cf377cc7.2c72f"]]},{"id":"5c593415.be3a7c","type":"other","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":1593.8334045410156,"y":1592.9999389648438,"z":"57f142c6.1f478c","wires":[["e23a5427.dc90c8"]]},{"id":"912b075b.2b9118","type":"call","name":"call: service-configuration-backup","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-backup\" mode=\"sync\">","comments":"","outputs":1,"x":1862.8334045410156,"y":1496.9999389648438,"z":"57f142c6.1f478c","wires":[[]]},{"id":"cf377cc7.2c72f","type":"call","name":"call: service-configuration-restorebkup-sbc","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-restorebkup-sbc\" mode=\"sync\">","comments":"","outputs":1,"x":1987.8334045410156,"y":1357.9999389648438,"z":"57f142c6.1f478c","wires":[[]]},{"id":"e0db2af5.61e098","type":"comment","name":"Use vnftype from config tree","info":"","comments":"","x":1106.8334045410156,"y":586,"z":"57f142c6.1f478c","wires":[]},{"id":"a8bcf335.4b6e2","type":"outcome","name":"N-SBG","xml":"<outcome value='N-SBG'>\n","comments":"","outputs":1,"x":1616.5499572753906,"y":602.8833618164062,"z":"57f142c6.1f478c","wires":[["87a37d2a.6ca3e"]]},{"id":"6947ff76.6c01d","type":"outcome","name":"TSBC","xml":"<outcome value='TSBC'>\n","comments":"","outputs":1,"x":1612,"y":1316.3333587646484,"z":"57f142c6.1f478c","wires":[["cf377cc7.2c72f"]]},{"id":"31add50b.19bf1a","type":"set","name":"set VNF-Type","xml":"<set>\n<parameter name=\"vnf-type\" value=\"`$service-configuration-operation-input.vnf-config-parameters-list.vnf-config-parameters[0].vnf-type`\" />\n\t\n","comments":"","x":1403,"y":374.33335876464844,"z":"57f142c6.1f478c","wires":[]},{"id":"644356b8.a81388","type":"set","name":"set VNF-Type","xml":"<set>\n<parameter name=\"vnf-type\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[0].vnf-type`\" />\n\t\n","comments":"","x":1424,"y":596.3333587646484,"z":"57f142c6.1f478c","wires":[]},{"id":"74cd7b8e.ce5be4","type":"set","name":"set VNF-Type","xml":"<set>\n<parameter name=\"vnf-type\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\" />\n\t\n","comments":"","x":1421,"y":1112.3333587646484,"z":"57f142c6.1f478c","wires":[]},{"id":"12ceb3cb.d87cac","type":"set","name":"set VNF-Type","xml":"<set>\n<parameter name=\"vnf-type\" value=\"`$service-configuration-operation-input.vnf-config-information.vnf-type`\" />\n\t\n","comments":"","x":1410,"y":1300.3333587646484,"z":"57f142c6.1f478c","wires":[]},{"id":"e4202ecb.1ac4c","type":"outcome","name":"N-SBG","xml":"<outcome value='N-SBG'>\n","comments":"","outputs":1,"x":1611.6666564941406,"y":1457.6666870117188,"z":"57f142c6.1f478c","wires":[["912b075b.2b9118"]]},{"id":"e23a5427.dc90c8","type":"returnFailure","name":"return failure","xml":"<return status='failure'>\n\t<parameter name='error-code' value='400'/>\n\t<parameter name='error-message' value='req-sub-action not recognized'/>\n","comments":"","x":1767.6666564941406,"y":1592.6666870117188,"z":"57f142c6.1f478c","wires":[]},{"id":"1e58ebd8.081eb4","type":"other","name":"A-SBG","xml":"<outcome value='A-SBG'>","comments":"","outputs":1,"x":1613.6666564941406,"y":401.66668701171875,"z":"57f142c6.1f478c","wires":[["e1359cee.43a9f"]]},{"id":"9a9bdf49.8ba78","type":"other","name":"N-SBG","xml":"<outcome value='N-SBG'>","comments":"","outputs":1,"x":1615.6666564941406,"y":358.66668701171875,"z":"57f142c6.1f478c","wires":[["e1359cee.43a9f"]]},{"id":"954b003f.67029","type":"other","name":"T-SBG","xml":"<outcome value='T-SBG'>","comments":"","outputs":1,"x":1614.6666564941406,"y":447.66668701171875,"z":"57f142c6.1f478c","wires":[["e1359cee.43a9f"]]},{"id":"2095438c.a75e9c","type":"other","name":"A-SBG","xml":"<outcome value='A-SBG'>","comments":"","outputs":1,"x":1614.6666564941406,"y":640.6666870117188,"z":"57f142c6.1f478c","wires":[["87a37d2a.6ca3e"]]},{"id":"bb4c3fe0.cf855","type":"other","name":"T-SBG","xml":"<outcome value='T-SBG'>","comments":"","outputs":1,"x":1614.6666564941406,"y":687.6666870117188,"z":"57f142c6.1f478c","wires":[["87a37d2a.6ca3e"]]},{"id":"e1d6aa6b.f84178","type":"outcome","name":"N-SBG","xml":"<outcome value='N-SBG'>\n","comments":"","outputs":1,"x":1608.6666564941406,"y":1066.6666870117188,"z":"57f142c6.1f478c","wires":[["1a154772.444899"]]},{"id":"90f39d1d.80f2e","type":"other","name":"A-SBG","xml":"<outcome value='A-SBG'>","comments":"","outputs":1,"x":1609.6666564941406,"y":1107.6666870117188,"z":"57f142c6.1f478c","wires":[["1a154772.444899"]]},{"id":"49273b18.628b74","type":"other","name":"T-SBG","xml":"<outcome value='T-SBG'>","comments":"","outputs":1,"x":1610.6666564941406,"y":1152.6666870117188,"z":"57f142c6.1f478c","wires":[["1a154772.444899"]]},{"id":"a9b42c2b.83b31","type":"outcome","name":"vDBE-V","xml":"<outcome value='vDBE-V'>\n","comments":"","outputs":1,"x":1615.6666564941406,"y":737.6666870117188,"z":"57f142c6.1f478c","wires":[["c5f4780c.2868d8"]]},{"id":"c1b3fa8.0bc5e08","type":"other","name":"vDBE-I","xml":"<outcome value='vDBE-I'>","comments":"","outputs":1,"x":1614.6666564941406,"y":776.6666870117188,"z":"57f142c6.1f478c","wires":[["c5f4780c.2868d8"]]},{"id":"c8dfc4c3.d05048","type":"other","name":"vDBE-P","xml":"<outcome value='vDBE-P'>","comments":"","outputs":1,"x":1610.6666564941406,"y":821.6666870117188,"z":"57f142c6.1f478c","wires":[["c5f4780c.2868d8"]]},{"id":"c5f4780c.2868d8","type":"call","name":"call: service-configuration-activate-vdbe","xml":"<call module=\"Appc-API\" rpc=\"service-configuration-activate-vdbe\" mode=\"sync\">","comments":"","outputs":1,"x":1906.6666564941406,"y":771.6666870117188,"z":"57f142c6.1f478c","wires":[[]]},{"id":"ee07041c.0ca338","type":"other","name":"A-SBG","xml":"<outcome value='A-SBG'>","comments":"","outputs":1,"x":1607.6666564941406,"y":1500.6666870117188,"z":"57f142c6.1f478c","wires":[["912b075b.2b9118"]]},{"id":"817e32b6.557fd","type":"other","name":"T-SBG","xml":"<outcome value='T-SBG'>","comments":"","outputs":1,"x":1610.6666564941406,"y":1536.6666870117188,"z":"57f142c6.1f478c","wires":[["912b075b.2b9118"]]},{"id":"2dd38ed4.235162","type":"outcome","name":"vUSP - Metaswitch vSBC","xml":"<outcome value='vUSP - Metaswitch vSBC'>\n","comments":"","outputs":1,"x":1662.6666564941406,"y":1403.6666870117188,"z":"57f142c6.1f478c","wires":[["cf377cc7.2c72f"]]},{"id":"c7742018.c7acd","type":"comment","name":"Keep only SBG Flow","info":"","comments":"","x":1800,"y":311,"z":"57f142c6.1f478c","wires":[]}]
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 0e41453ab..5508d5e15 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,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"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.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-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.openecomp.sdnc.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.openecomp.sdnc.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.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"]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-aai-sbg.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-aai-sbg.json
index 07695b9c2..1bb2a338c 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-aai-sbg.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-aai-sbg.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"934ee5c1.ed026","type":"dgstart","name":"DGSTART","outputs":1,"x":209.88333129882812,"y":102.88333129882812,"z":"51183e72.be2d18","wires":[["fd1d6346.a4f578"]]},{"id":"fd1d6346.a4f578","type":"service-logic","name":"Appc-API 4.0.0","module":"Appc-API","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='4.0.0'>","outputs":1,"x":382.0500183105469,"y":100.54998779296875,"z":"51183e72.be2d18","wires":[["89009f89.dec4f"]]},{"id":"89009f89.dec4f","type":"method","name":"method update-aai-sbg","xml":"<method rpc='update-aai-sbg' mode='sync'>\n","comments":"","outputs":1,"x":608.3833923339844,"y":97.2166519165039,"z":"51183e72.be2d18","wires":[["2759b8e1.1e787"]]},{"id":"e67da642.e668e8","type":"get-resource","name":"get-resource: A&AI Data for VNF","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-name = $service-configuration-notification-input.service-information.service-instance-id\" pfx=\"tmp.aai-data-vnf\" >\n\n\n","comments":"","outputs":1,"x":547.8833312988281,"y":489.8833312988281,"z":"51183e72.be2d18","wires":[["fcbbc896.fdb958","93ee0e04.43d5e","59a4d66a.fc329"]]},{"id":"2759b8e1.1e787","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":221.88333129882812,"y":447.772216796875,"z":"51183e72.be2d18","wires":[["7d7db087.62a4d","81e07f1f.fa7d5","e67da642.e668e8"]]},{"id":"6a5df891.756878","type":"save","name":"update: A&AI ( VNF)","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-id = $tmp.aai-data-vnf.vnf-id\" force=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n\t","comments":"","outputs":1,"x":1175.8833312988281,"y":554.8833312988281,"z":"51183e72.be2d18","wires":[["b0d535db.58fd8"]]},{"id":"b0d535db.58fd8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1380.8833312988281,"y":554.8833312988281,"z":"51183e72.be2d18","wires":[["48f5b2f2.8d33a4"]]},{"id":"fcbbc896.fdb958","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":812.8833312988281,"y":272.772216796875,"z":"51183e72.be2d18","wires":[["55cd3331.f4719c"]]},{"id":"59a4d66a.fc329","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":807.8833312988281,"y":419.772216796875,"z":"51183e72.be2d18","wires":[["be26fd.216171"]]},{"id":"55cd3331.f4719c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":992.8833312988281,"y":269.772216796875,"z":"51183e72.be2d18","wires":[["97afe3e.6d45e2","2669d4e7.6bbd74"]]},{"id":"2669d4e7.6bbd74","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-configuration-notification-input.service-information.service-instance-id + '.' + $error-message`\"/>","comments":"","x":1242.8833312988281,"y":293.772216796875,"z":"51183e72.be2d18","wires":[]},{"id":"97afe3e.6d45e2","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Get Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n\n","comments":"","outputs":1,"x":1192.8833312988281,"y":220.772216796875,"z":"51183e72.be2d18","wires":[[]]},{"id":"7d7db087.62a4d","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"CALLING Get fOR SERVICEINSTANCEID\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n<parameter name=\"RESPONSEMSG\" value=\"`$response-message`\"/>\n","comments":"","outputs":1,"x":461.8833312988281,"y":411.772216796875,"z":"51183e72.be2d18","wires":[[]]},{"id":"93ee0e04.43d5e","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":806.8833312988281,"y":535.8833312988281,"z":"51183e72.be2d18","wires":[["db96e9ae.c9a468"]]},{"id":"db96e9ae.c9a468","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":969.8833312988281,"y":535.8833312988281,"z":"51183e72.be2d18","wires":[["6a5df891.756878","4d1f5900.c09c1","f05d5abf.7be1b","bc824889.58ce48"]]},{"id":"4d1f5900.c09c1","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"VNFID\" value=\"`$tmp.aai-data-vnf.vnf-id`\"/>\n<parameter name=\"RELATIONSHIPLEN\" value=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\"/>\n<parameter name=\"RELATIONSHIPVALUE\" value=\"`$tmp.aai-data-vnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\"/>\n","comments":"","outputs":1,"x":1141.8833312988281,"y":506.88330078125,"z":"51183e72.be2d18","wires":[[]]},{"id":"48f5b2f2.8d33a4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1551.8833312988281,"y":551.8833312988281,"z":"51183e72.be2d18","wires":[["7b9ada6b.ea15b4","bb08d771.8208c8"]]},{"id":"7b9ada6b.ea15b4","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $tmp.aai-data-vnf.vnf-id + '.' + $error-message`\"/>","comments":"","x":1812.8833312988281,"y":559.8833312988281,"z":"51183e72.be2d18","wires":[]},{"id":"bb08d771.8208c8","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Update Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$tmp.aai-data-vnf.vnf-id`\"/>\n\n","comments":"","outputs":1,"x":1740.8833312988281,"y":510.88330078125,"z":"51183e72.be2d18","wires":[[]]},{"id":"81e07f1f.fa7d5","type":"set","name":"set: Append to response-message","xml":"<set>\n\t <parameter name=\"response-message\" value=\"`$error-message + '.' + $response-message`\"/>","comments":"","x":530.8833312988281,"y":582.7722473144531,"z":"51183e72.be2d18","wires":[]},{"id":"be26fd.216171","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":973.8833312988281,"y":421.8833312988281,"z":"51183e72.be2d18","wires":[["ec7fb69b.7e148","691d3d4e.256624"]]},{"id":"ec7fb69b.7e148","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Get Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n<parameter name=\"ErrorMessage\" value=\"`$tmp.aai-data-vnf.error-message`\"/>\n<parameter name=\"HTTP Code\" value=\"`$tmp.aai-data-vnf.error.http.response-code`\"/>","comments":"","outputs":1,"x":1142.8833312988281,"y":385.8833312988281,"z":"51183e72.be2d18","wires":[[]]},{"id":"691d3d4e.256624","type":"set","name":"set: Append to error message","xml":"<set>\n<parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-configuration-notification-input.service-information.service-instance-id + '.' + $tmp.aai-data-vnf.error-message + '.HTTP Code:' + $tmp.aai-data-vnf.error.http.response-code + '.' + $error-message `\"/>\n","comments":"","x":1204.8833312988281,"y":437.8833312988281,"z":"51183e72.be2d18","wires":[]},{"id":"f05d5abf.7be1b","type":"call","name":"call: update-vserver-info","xml":"<call module=\"Appc-API\" rpc=\"update-vserver-info\" mode=\"sync\">","comments":"","outputs":1,"x":1182.8833312988281,"y":604.9944152832031,"z":"51183e72.be2d18","wires":[[]]},{"id":"bc824889.58ce48","type":"call","name":"call: update-vnfc-info","xml":"<call module=\"Appc-API\" rpc=\"update-vnfc-info\" mode=\"sync\">","comments":"","outputs":1,"x":1158.8833312988281,"y":656.9944152832031,"z":"51183e72.be2d18","wires":[[]]}] \ No newline at end of file
+[{"id":"934ee5c1.ed026","type":"dgstart","name":"DGSTART","outputs":1,"x":209.88333129882812,"y":102.88333129882812,"z":"51183e72.be2d18","wires":[["fd1d6346.a4f578"]]},{"id":"fd1d6346.a4f578","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":382.0500183105469,"y":100.54998779296875,"z":"51183e72.be2d18","wires":[["89009f89.dec4f"]]},{"id":"89009f89.dec4f","type":"method","name":"method update-aai-sbg","xml":"<method rpc='update-aai-sbg' mode='sync'>\n","comments":"","outputs":1,"x":608.3833923339844,"y":97.2166519165039,"z":"51183e72.be2d18","wires":[["2759b8e1.1e787"]]},{"id":"e67da642.e668e8","type":"get-resource","name":"get-resource: A&AI Data for VNF","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-name = $service-configuration-notification-input.service-information.service-instance-id\" pfx=\"tmp.aai-data-vnf\" >\n\n\n","comments":"","outputs":1,"x":547.8833312988281,"y":489.8833312988281,"z":"51183e72.be2d18","wires":[["fcbbc896.fdb958","93ee0e04.43d5e","59a4d66a.fc329"]]},{"id":"2759b8e1.1e787","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":221.88333129882812,"y":447.772216796875,"z":"51183e72.be2d18","wires":[["7d7db087.62a4d","81e07f1f.fa7d5","e67da642.e668e8"]]},{"id":"6a5df891.756878","type":"save","name":"update: A&AI ( VNF)","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-id = $tmp.aai-data-vnf.vnf-id\" force=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n\t","comments":"","outputs":1,"x":1175.8833312988281,"y":554.8833312988281,"z":"51183e72.be2d18","wires":[["b0d535db.58fd8"]]},{"id":"b0d535db.58fd8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1380.8833312988281,"y":554.8833312988281,"z":"51183e72.be2d18","wires":[["48f5b2f2.8d33a4"]]},{"id":"fcbbc896.fdb958","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":812.8833312988281,"y":272.772216796875,"z":"51183e72.be2d18","wires":[["55cd3331.f4719c"]]},{"id":"59a4d66a.fc329","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":807.8833312988281,"y":419.772216796875,"z":"51183e72.be2d18","wires":[["be26fd.216171"]]},{"id":"55cd3331.f4719c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":992.8833312988281,"y":269.772216796875,"z":"51183e72.be2d18","wires":[["97afe3e.6d45e2","2669d4e7.6bbd74"]]},{"id":"2669d4e7.6bbd74","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-configuration-notification-input.service-information.service-instance-id + '.' + $error-message`\"/>","comments":"","x":1242.8833312988281,"y":293.772216796875,"z":"51183e72.be2d18","wires":[]},{"id":"97afe3e.6d45e2","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=\"Get Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n\n","comments":"","outputs":1,"x":1192.8833312988281,"y":220.772216796875,"z":"51183e72.be2d18","wires":[[]]},{"id":"7d7db087.62a4d","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=\"CALLING Get fOR SERVICEINSTANCEID\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n<parameter name=\"RESPONSEMSG\" value=\"`$response-message`\"/>\n","comments":"","outputs":1,"x":461.8833312988281,"y":411.772216796875,"z":"51183e72.be2d18","wires":[[]]},{"id":"93ee0e04.43d5e","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":806.8833312988281,"y":535.8833312988281,"z":"51183e72.be2d18","wires":[["db96e9ae.c9a468"]]},{"id":"db96e9ae.c9a468","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":969.8833312988281,"y":535.8833312988281,"z":"51183e72.be2d18","wires":[["6a5df891.756878","4d1f5900.c09c1","f05d5abf.7be1b","bc824889.58ce48"]]},{"id":"4d1f5900.c09c1","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=\"VNFID\" value=\"`$tmp.aai-data-vnf.vnf-id`\"/>\n<parameter name=\"RELATIONSHIPLEN\" value=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\"/>\n<parameter name=\"RELATIONSHIPVALUE\" value=\"`$tmp.aai-data-vnf.relationship-list.relationship[0].relationship-data[0].relationship-value`\"/>\n","comments":"","outputs":1,"x":1141.8833312988281,"y":506.88330078125,"z":"51183e72.be2d18","wires":[[]]},{"id":"48f5b2f2.8d33a4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1551.8833312988281,"y":551.8833312988281,"z":"51183e72.be2d18","wires":[["7b9ada6b.ea15b4","bb08d771.8208c8"]]},{"id":"7b9ada6b.ea15b4","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $tmp.aai-data-vnf.vnf-id + '.' + $error-message`\"/>","comments":"","x":1812.8833312988281,"y":559.8833312988281,"z":"51183e72.be2d18","wires":[]},{"id":"bb08d771.8208c8","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=\"Update Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$tmp.aai-data-vnf.vnf-id`\"/>\n\n","comments":"","outputs":1,"x":1740.8833312988281,"y":510.88330078125,"z":"51183e72.be2d18","wires":[[]]},{"id":"81e07f1f.fa7d5","type":"set","name":"set: Append to response-message","xml":"<set>\n\t <parameter name=\"response-message\" value=\"`$error-message + '.' + $response-message`\"/>","comments":"","x":530.8833312988281,"y":582.7722473144531,"z":"51183e72.be2d18","wires":[]},{"id":"be26fd.216171","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":973.8833312988281,"y":421.8833312988281,"z":"51183e72.be2d18","wires":[["ec7fb69b.7e148","691d3d4e.256624"]]},{"id":"ec7fb69b.7e148","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=\"Get Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n<parameter name=\"ErrorMessage\" value=\"`$tmp.aai-data-vnf.error-message`\"/>\n<parameter name=\"HTTP Code\" value=\"`$tmp.aai-data-vnf.error.http.response-code`\"/>","comments":"","outputs":1,"x":1142.8833312988281,"y":385.8833312988281,"z":"51183e72.be2d18","wires":[[]]},{"id":"691d3d4e.256624","type":"set","name":"set: Append to error message","xml":"<set>\n<parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-configuration-notification-input.service-information.service-instance-id + '.' + $tmp.aai-data-vnf.error-message + '.HTTP Code:' + $tmp.aai-data-vnf.error.http.response-code + '.' + $error-message `\"/>\n","comments":"","x":1204.8833312988281,"y":437.8833312988281,"z":"51183e72.be2d18","wires":[]},{"id":"f05d5abf.7be1b","type":"call","name":"call: update-vserver-info","xml":"<call module=\"Appc-API\" rpc=\"update-vserver-info\" mode=\"sync\">","comments":"","outputs":1,"x":1182.8833312988281,"y":604.9944152832031,"z":"51183e72.be2d18","wires":[[]]},{"id":"bc824889.58ce48","type":"call","name":"call: update-vnfc-info","xml":"<call module=\"Appc-API\" rpc=\"update-vnfc-info\" mode=\"sync\">","comments":"","outputs":1,"x":1158.8833312988281,"y":656.9944152832031,"z":"51183e72.be2d18","wires":[[]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-aai.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-aai.json
index f7c52d5ee..32000fece 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-aai.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-aai.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"c0f51dc8.101b5","type":"dgstart","name":"DGSTART","outputs":1,"x":121.88333129882812,"y":66.88333129882812,"z":"f4b8442.0fb85b8","wires":[["5b4f1a30.f05d0c"]]},{"id":"5b4f1a30.f05d0c","type":"service-logic","name":"Appc-API 4.0.0","module":"Appc-API","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='4.0.0'>","outputs":1,"x":282.0500183105469,"y":68.54998779296875,"z":"f4b8442.0fb85b8","wires":[["772060.d25c87a"]]},{"id":"772060.d25c87a","type":"method","name":"method update-aai","xml":"<method rpc='update-aai' mode='sync'>\n","comments":"","outputs":1,"x":474.3833923339844,"y":70.2166519165039,"z":"f4b8442.0fb85b8","wires":[["467329f1.60b6d8"]]},{"id":"8f46f427.916b28","type":"get-resource","name":"get-resource: A&AI Data for VNF","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-name = $service-configuration-notification-input.service-information.service-instance-id\" pfx=\"tmp.aai-data-vnf\" >\n\n\n","comments":"","outputs":1,"x":407.8833312988281,"y":171.772216796875,"z":"f4b8442.0fb85b8","wires":[["44304e59.3bc55","2f765229.4761fe","6ecd659b.76cea4"]]},{"id":"3d2bf799.9f116","type":"get-resource","name":"get-resource: A&AI Data for VM Name","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vserver\" key=\"vserver.vserver-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vm-name\" pfx=\"tmp.aai-data-vm\" >\n\n","comments":"","outputs":1,"x":1504.8833312988281,"y":465.772216796875,"z":"f4b8442.0fb85b8","wires":[["9b245605.84f748","27de335a.86c014","5e5954df.b3da24"]]},{"id":"22c57ca4.f5ae0c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":644.8833312988281,"y":414.7722473144531,"z":"f4b8442.0fb85b8","wires":[["13419e55.a341c2"]]},{"id":"24deeccb.be1d7c","type":"get-resource","name":"get-resource: A&AI Data for VM Name","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vserver\" key=\"vserver.vserver-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vm-name\" pfx=\"tmp.aai-data-vm\" >\n\n\n","comments":"","outputs":1,"x":1395.8833312988281,"y":1069.7722473144531,"z":"f4b8442.0fb85b8","wires":[["4e85a946.01f12","6c8fb30.49c2b4c","143f5af6.ccb0d5"]]},{"id":"b14ec23a.f5b1c8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":646.8833312988281,"y":975.7722473144531,"z":"f4b8442.0fb85b8","wires":[["2200faf8.6ff19e"]]},{"id":"467329f1.60b6d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":130.88333129882812,"y":129.772216796875,"z":"f4b8442.0fb85b8","wires":[["8f46f427.916b28","60b5221b.b51ed4","bf464434.9b9188","a0358bc1.4f2e98","78560055.675858"]]},{"id":"fc179dae.0a925","type":"save","name":"update: A&AI ( VNF)","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-id = $tmp.aai-data-vnf.vnf-id\" force=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n\t","comments":"","outputs":1,"x":980.8833312988281,"y":252.77224731445312,"z":"f4b8442.0fb85b8","wires":[["ade15db9.d9e358"]]},{"id":"ade15db9.d9e358","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1153.8833312988281,"y":254.77224731445312,"z":"f4b8442.0fb85b8","wires":[["57d1d045.81e0e8"]]},{"id":"29bfefae.5a7748","type":"save","name":"update: A&AI ( VM)","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vserver\" \nkey=\"vserver.vserver-id = $tmp.aai-data-vm.vserver-id AND \ntenant.tenant-id = $tmp.aai-data-vm.tenant-id AND\ncloud-region.cloud-owner = 'att-aic' AND\ncloud-region.cloud-region-id = $tmp.aai-data-vm.cloud-region-id\"\nforce=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n","comments":"","outputs":1,"x":1986.8833312988281,"y":541.772216796875,"z":"f4b8442.0fb85b8","wires":[["dfd718cc.1c6ab"]]},{"id":"dfd718cc.1c6ab","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2166.883331298828,"y":538.772216796875,"z":"f4b8442.0fb85b8","wires":[["4de83cd2.84ecac"]]},{"id":"a34e98d9.f45ed8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2017.8833312988281,"y":1128.7722473144531,"z":"f4b8442.0fb85b8","wires":[["4983c83b.88014"]]},{"id":"58ca3986.4a71d8","type":"save","name":"update: A&AI ( VM)","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vserver\" \nkey=\"vserver.vserver-id = $tmp.aai-data-vm.vserver-id AND \ntenant.tenant-id = $tmp.aai-data-vm.tenant-id AND\ncloud-region.cloud-owner = $tmp.aai-data-vm.cloud-owner AND\ncloud-region.cloud-region-id = $tmp.aai-data-vm.cloud-region-id\"\nforce=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>","comments":"","outputs":1,"x":1833.3833312988281,"y":1132.7722473144531,"z":"f4b8442.0fb85b8","wires":[["a34e98d9.f45ed8"]]},{"id":"28bcdf63.918a08","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Get AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vm-name`\"/>\n\n","comments":"","outputs":1,"x":2163.883331298828,"y":362.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"9b245605.84f748","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1793.8833312988281,"y":386.772216796875,"z":"f4b8442.0fb85b8","wires":[["9b6cab7d.997098"]]},{"id":"27de335a.86c014","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1767.8833312988281,"y":461.772216796875,"z":"f4b8442.0fb85b8","wires":[["9b6cab7d.997098"]]},{"id":"9b6cab7d.997098","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1971.8833312988281,"y":424.772216796875,"z":"f4b8442.0fb85b8","wires":[["28bcdf63.918a08","5311e5a9.4fa464"]]},{"id":"a6d2ceb6.01d71","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vm-name`\"/>\n\n","comments":"","outputs":1,"x":2006.8833312988281,"y":988.7722473144531,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"4e85a946.01f12","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1649.8833312988281,"y":993.7722473144531,"z":"f4b8442.0fb85b8","wires":[["178c51ad.e112ae"]]},{"id":"6c8fb30.49c2b4c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1651.8833312988281,"y":1063.7722473144531,"z":"f4b8442.0fb85b8","wires":[["178c51ad.e112ae"]]},{"id":"178c51ad.e112ae","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1834.8833312988281,"y":1006.7722473144531,"z":"f4b8442.0fb85b8","wires":[["a6d2ceb6.01d71","c946205b.f6ca3"]]},{"id":"6ecd659b.76cea4","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":701.8833312988281,"y":80.772216796875,"z":"f4b8442.0fb85b8","wires":[["ff266133.3d2d18"]]},{"id":"44304e59.3bc55","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":645.8833312988281,"y":148.772216796875,"z":"f4b8442.0fb85b8","wires":[["f043b65d.df114"]]},{"id":"ff266133.3d2d18","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":863.8833312988281,"y":66.772216796875,"z":"f4b8442.0fb85b8","wires":[["f67029f1.15e53","9155ecda.9c9088"]]},{"id":"9155ecda.9c9088","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-configuration-notification-input.service-information.service-instance-id + '.' + $error-message`\"/>","comments":"","x":1151.8833312988281,"y":90.772216796875,"z":"f4b8442.0fb85b8","wires":[]},{"id":"f67029f1.15e53","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Get Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n\n","comments":"","outputs":1,"x":1066.8833312988281,"y":51.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"5311e5a9.4fa464","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vm-name + '.' + $error-message`\"/>","comments":"","x":2222.883331298828,"y":422.772216796875,"z":"f4b8442.0fb85b8","wires":[]},{"id":"66e5357a.c3e564","type":"for","name":"for: vnf-config-parameters-list","xml":"<for index=\"i\" start=\"0\" end=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters_length`\">","comments":"","outputs":1,"x":414.8833312988281,"y":414.7722473144531,"z":"f4b8442.0fb85b8","wires":[["22c57ca4.f5ae0c"]]},{"id":"f013923f.8ff4c8","type":"for","name":"for: vnf-config-parameters-list","xml":"<for index=\"i\" start=\"0\" end=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters_length`\" >","comments":"","outputs":1,"x":416.8833312988281,"y":973.7722473144531,"z":"f4b8442.0fb85b8","wires":[["b14ec23a.f5b1c8"]]},{"id":"c7ca81f5.584878","type":"for","name":"for: vnf-config-parameters-list.system-controller","xml":"<for index=\"j\" start=\"0\" end=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller_length`\" >","comments":"","outputs":1,"x":911.8833312988281,"y":536.7722473144531,"z":"f4b8442.0fb85b8","wires":[["267d83bc.359cd4"]]},{"id":"f6bd5a4d.edb528","type":"for","name":"for: vnf-config-parameters-list.payload","xml":"<for index=\"j\" start=\"0\" end=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload_length`\" >","comments":"","outputs":1,"x":864.8833312988281,"y":1074.7722473144531,"z":"f4b8442.0fb85b8","wires":[["32cf2348.780e2c"]]},{"id":"267d83bc.359cd4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1216.8833312988281,"y":536.7722473144531,"z":"f4b8442.0fb85b8","wires":[["ca00e322.7a457","3d2bf799.9f116"]]},{"id":"ca00e322.7a457","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"VNFCNAME\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name`\"/>\n<parameter name=\"VMNAME\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vm-name`\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.backup-information.service-instance-id`\"/>","comments":"","outputs":1,"x":1402.8833312988281,"y":416.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"6cf10415.3db5f4","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"VNFCNAME\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name`\"/>\n<parameter name=\"VMNAME\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vm-name`\"/>\n\n","comments":"","outputs":1,"x":1325.8833312988281,"y":1011.7722473144531,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"32cf2348.780e2c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1133.8833312988281,"y":1079.7722473144531,"z":"f4b8442.0fb85b8","wires":[["6cf10415.3db5f4","24deeccb.be1d7c"]]},{"id":"dc845fa1.861eb","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"SYSCONTRVSERVERID\" value=\"`$tmp.aai-data-vm.vserver-id`\"/>\n\n<parameter name=\"SYSCONTRLTENANTID\" value=\"`$tmp.aai-data-vm.tenant-id`\"/>\n<parameter name=\"SYSCONTRLCLOUDREGION\" value=\"`$tmp.aai-data-vm.cloud-region-id`\"/>\n<parameter name=\"SYSCONTRLCLOUDOWNER\" value=\"`$tmp.aai-data-vm.cloud-owner`\"/>","comments":"","outputs":1,"x":1980.8833312988281,"y":496.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"be3a649.92a8298","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"PAYLDVSERVERID\" value=\"`$tmp.aai-data-vm.vserver-id`\"/>\n\n<parameter name=\"PAYLDTENANTID\" value=\"`$tmp.aai-data-vm.tenant-id`\"/>\n<parameter name=\"PAYLDCLOUDREGION\" value=\"`$tmp.aai-data-vm.cloud-region-id`\"/>","comments":"","outputs":1,"x":1809.8833312988281,"y":1073.7722473144531,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"60b5221b.b51ed4","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"CALLING Get fOR SERVICEINSTANCEID\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n<parameter name=\"RESPONSEMSG\" value=\"`$response-message`\"/>\n","comments":"","outputs":1,"x":334.8833312988281,"y":126.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"2f765229.4761fe","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":644.8833312988281,"y":196.77224731445312,"z":"f4b8442.0fb85b8","wires":[["e003b6d1.c077e8"]]},{"id":"e003b6d1.c077e8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":792.8833312988281,"y":200.77224731445312,"z":"f4b8442.0fb85b8","wires":[["fc179dae.0a925","5bfbd468.92001c"]]},{"id":"5e5954df.b3da24","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1643.8833312988281,"y":518.7722778320312,"z":"f4b8442.0fb85b8","wires":[["2654c4ca.7ead04"]]},{"id":"143f5af6.ccb0d5","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1452.8833312988281,"y":1141.7722473144531,"z":"f4b8442.0fb85b8","wires":[["a50cc54f.09ab9"]]},{"id":"2654c4ca.7ead04","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1799.8833312988281,"y":515.7722778320312,"z":"f4b8442.0fb85b8","wires":[["dc845fa1.861eb","29bfefae.5a7748","8496bab.f61c148"]]},{"id":"a50cc54f.09ab9","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1621.8833312988281,"y":1134.7722473144531,"z":"f4b8442.0fb85b8","wires":[["be3a649.92a8298","58ca3986.4a71d8","ead40740.d1b23"]]},{"id":"5bfbd468.92001c","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"VNFID\" value=\"`$tmp.aai-data-vnf.vnf-id`\"/>\n\n","comments":"","outputs":1,"x":957.8833312988281,"y":205.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"57d1d045.81e0e8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1306.8833312988281,"y":256.7722473144531,"z":"f4b8442.0fb85b8","wires":[["477e8b0f.ff62c4","c9598522.b5021"]]},{"id":"477e8b0f.ff62c4","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $tmp.aai-data-vnf.vnf-id + '.' + $error-message`\"/>","comments":"","x":1531.8833312988281,"y":272.7722473144531,"z":"f4b8442.0fb85b8","wires":[]},{"id":"4de83cd2.84ecac","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2321.883331298828,"y":534.772216796875,"z":"f4b8442.0fb85b8","wires":[["7c7c5c09.263cc4","8f9d540b.6eaf78"]]},{"id":"7c7c5c09.263cc4","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $tmp.aai-data-vm.vserver-id + ' and ' + $tmp.aai-data-vm.tenant-id + '.' + $error-message`\"/>","comments":"","x":2579.883331298828,"y":526.772216796875,"z":"f4b8442.0fb85b8","wires":[]},{"id":"c946205b.f6ca3","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vm-name + '.' + $error-message`\"/>","comments":"","x":2063.883331298828,"y":1040.7722473144531,"z":"f4b8442.0fb85b8","wires":[]},{"id":"4983c83b.88014","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2172.883331298828,"y":1128.7722473144531,"z":"f4b8442.0fb85b8","wires":[["2fd2a1ea.86ecc6","33e73c2c.e10484"]]},{"id":"2fd2a1ea.86ecc6","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name + ' and ' + $tmp.aai-data-vm.vserver-id + ' and ' + $tmp.aai-data-vm.tenant-id + '.' + $error-message`\"/>","comments":"","x":2431.883331298828,"y":1134.7722473144531,"z":"f4b8442.0fb85b8","wires":[]},{"id":"c9598522.b5021","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Update Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$tmp.aai-data-vnf.vnf-id`\"/>\n\n","comments":"","outputs":1,"x":1455.8833312988281,"y":213.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"8f9d540b.6eaf78","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Update Request to AnAI Failed\"/>\n<parameter name=\"VSERVERID\" value=\"`$tmp.aai-data-vm.vserver-id`\"/>\n<parameter name=\"TENANTID\" value=\"`$tmp.aai-data-vm.tenant-id`\"/>\n\n","comments":"","outputs":1,"x":2521.883331298828,"y":461.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"33e73c2c.e10484","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Update Request to AnAI Failed\"/>\n<parameter name=\"VSERVERID\" value=\"`$tmp.aai-data-vm.vserver-id`\"/>\n<parameter name=\"TENANTID\" value=\"`$tmp.aai-data-vm.tenant-id`\"/>\n<parameter name=\"VNFCNAME\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":2372.883331298828,"y":1079.7722473144531,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"bf464434.9b9188","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"RETURNED RESPONSEMESSAGE\"/>\n<parameter name=\"RESPONSEMSG\" value=\"`$response-message`\"/>\n<parameter name=\"ERRORMSG\" value=\"`$error-message`\"/>\n\n","comments":"","outputs":1,"x":184.88333129882812,"y":1151.7722473144531,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"a0358bc1.4f2e98","type":"set","name":"set: Append to response-message","xml":"<set>\n\t <parameter name=\"response-message\" value=\"`$error-message + '.' + $response-message`\"/>","comments":"","x":323.8833312988281,"y":1079.7722473144531,"z":"f4b8442.0fb85b8","wires":[]},{"id":"8496bab.f61c148","type":"get-resource","name":"get-resource: A&AI Data for VNFC Name ","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vnfc\" key=\"vnfc.vnfc-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name\" pfx=\"tmp.aai-data-vnfc\" >\n\n\n","comments":"","outputs":1,"x":1325.8833312988281,"y":727.8833312988281,"z":"f4b8442.0fb85b8","wires":[["c81a3f16.23e79","8ac07d6d.14c18","41789484.81275c"]]},{"id":"c81a3f16.23e79","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1613.8833312988281,"y":727.8833312988281,"z":"f4b8442.0fb85b8","wires":[["b0afd80f.959b8"]]},{"id":"8ac07d6d.14c18","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1613.8833312988281,"y":771.8833312988281,"z":"f4b8442.0fb85b8","wires":[["7ee37ca7.a378d4"]]},{"id":"41789484.81275c","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1574.8833312988281,"y":843.8833312988281,"z":"f4b8442.0fb85b8","wires":[["2e5147af.8c502"]]},{"id":"7ee37ca7.a378d4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1785.8833312988281,"y":772.8833312988281,"z":"f4b8442.0fb85b8","wires":[["2310ad0.71ba6d4","2f6809a1.5e9c2e"]]},{"id":"2310ad0.71ba6d4","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Get AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":1958.8833312988281,"y":773.8833312988281,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"2f6809a1.5e9c2e","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name + '.' + $error-message`\"/>","comments":"","x":2035.8833312988281,"y":825.8833312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"85ceea54.89cff8","type":"save","name":"update: A&AI VNFC","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vnfc\" \nkey=\"vnfc.vnfc-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name and \nvserver.vserver-id = $tmp.aai-data-vm.vserver-id AND \ntenant.tenant-id = $tmp.aai-data-vm.tenant-id AND\ncloud-region.cloud-owner = $tmp.aai-data-vm.cloud-owner AND\ncloud-region.region-id = $tmp.aai-data-vm.cloud-region-id \" \nforce=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n<parameter name=\"orchestration-status\" value=\"`$tmp.aai-orch-status`\"/>\n","comments":"","outputs":1,"x":1972.8833312988281,"y":884.8833312988281,"z":"f4b8442.0fb85b8","wires":[["a8b24e73.4ee988"]]},{"id":"a8b24e73.4ee988","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2157.883331298828,"y":882.8833312988281,"z":"f4b8442.0fb85b8","wires":[["c879f837.bac108"]]},{"id":"c879f837.bac108","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2316.883331298828,"y":881.8833312988281,"z":"f4b8442.0fb85b8","wires":[["556dfd9c.657114","b3f09d6d.b550b8"]]},{"id":"556dfd9c.657114","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Update Request to AnAI Failed\"/>\n<parameter name=\"VSERVERID\" value=\"`$tmp.aai-data-vm.vserver-id`\"/>\n<parameter name=\"TENANTID\" value=\"`$tmp.aai-data-vm.tenant-id`\"/>\n<parameter name=\"VNFCNAME\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":2482.883331298828,"y":874.8833312988281,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"b3f09d6d.b550b8","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name + ' and ' + $tmp.aai-data-vm.vserver-id + ' and ' + $tmp.aai-data-vm.tenant-id + '.' + $error-message`\"/>","comments":"","x":2550.883331298828,"y":949.8833312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"2e5147af.8c502","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1741.8833312988281,"y":850.8833312988281,"z":"f4b8442.0fb85b8","wires":[["85ceea54.89cff8"]]},{"id":"b0afd80f.959b8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1777.8833312988281,"y":729.8833312988281,"z":"f4b8442.0fb85b8","wires":[["49a48a4e.19f34c"]]},{"id":"ead40740.d1b23","type":"get-resource","name":"get-resource: A&AI Data for VNFC Name ","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vnfc\" key=\"vnfc.vnfc-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name\" pfx=\"tmp.aai-data-vnfc\" >\n\n\n","comments":"","outputs":1,"x":1336.8833312988281,"y":1266.8833312988281,"z":"f4b8442.0fb85b8","wires":[["549cc3e0.c9dea4","5258b27.a79774c","6ccdd521.4c3d74"]]},{"id":"549cc3e0.c9dea4","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1659.8833312988281,"y":1210.8833312988281,"z":"f4b8442.0fb85b8","wires":[["4ac698fc.12ef8"]]},{"id":"4ac698fc.12ef8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1828.8833312988281,"y":1211.8833312988281,"z":"f4b8442.0fb85b8","wires":[["9cd69d90.4ab5e","ab0a4f4f.4f2b6","368e0e52.df43ea","823a01a9.fa859"]]},{"id":"5258b27.a79774c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1325.8833312988281,"y":1681.88330078125,"z":"f4b8442.0fb85b8","wires":[["37e6ac9f.881974"]]},{"id":"37e6ac9f.881974","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1493.3833312988281,"y":1672.38330078125,"z":"f4b8442.0fb85b8","wires":[["a5e4a430.a1dae8","ba1f3312.90a09"]]},{"id":"a5e4a430.a1dae8","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Get AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":1683.8833312988281,"y":1647.1334228515625,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"ba1f3312.90a09","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name + '.' + $error-message`\"/>","comments":"","x":1747.8833312988281,"y":1709.6334228515625,"z":"f4b8442.0fb85b8","wires":[]},{"id":"6ccdd521.4c3d74","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1271.8833312988281,"y":1772.88330078125,"z":"f4b8442.0fb85b8","wires":[["3f437625.64f4a2"]]},{"id":"3f437625.64f4a2","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1432.8833312988281,"y":1769.88330078125,"z":"f4b8442.0fb85b8","wires":[["c322e2ca.cc10c8"]]},{"id":"c322e2ca.cc10c8","type":"save","name":"update: A&AI VNFC","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vnfc\" \nkey=\"vnfc.vnfc-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name and \nvserver.vserver-id = $tmp.aai-data-vm.vserver-id AND \ntenant.tenant-id = $tmp.aai-data-vm.tenant-id AND \ncloud-region.region-id = $tmp.aai-data-vm.cloud-region-id \" \nforce=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n<parameter name=\"orchestration-status\" value=\"`$tmp.aai-orch-status`\"/>","comments":"","outputs":1,"x":1651.6333312988281,"y":1766.38330078125,"z":"f4b8442.0fb85b8","wires":[["f36135db.fdc948"]]},{"id":"f36135db.fdc948","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1842.8833312988281,"y":1758.88330078125,"z":"f4b8442.0fb85b8","wires":[["92615a3d.bc7a9"]]},{"id":"92615a3d.bc7a9","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2014.6333312988281,"y":1761.3834228515625,"z":"f4b8442.0fb85b8","wires":[["cb2d609f.88cab","94b652f5.e7a418"]]},{"id":"cb2d609f.88cab","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Update Request to AnAI Failed\"/>\n<parameter name=\"VSERVERID\" value=\"`$tmp.aai-data-vm.vserver-id`\"/>\n<parameter name=\"TENANTID\" value=\"`$tmp.aai-data-vm.tenant-id`\"/>\n<parameter name=\"VNFCNAME\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":2225.883331298828,"y":1757.8834533691406,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"94b652f5.e7a418","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name + ' and ' + $tmp.aai-data-vm.vserver-id + ' and ' + $tmp.aai-data-vm.tenant-id + '.' + $error-message`\"/>","comments":"","x":2279.883331298828,"y":1818.63330078125,"z":"f4b8442.0fb85b8","wires":[]},{"id":"37dca69b.66ac62","type":"save","name":"save Put VNFC","xml":"<save plugin='org.openecomp.sdnc.sli.aai.AAIService' resource='vnfc' key='vnfc.vnfc-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name' force='true' pfx='tmp.vnfc-payload'>\n<parameter name='nfc-naming-code' value='`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-function-code`'/>\n<parameter name='nfc-function' value='`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-type`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n<parameter name='group-notation' value='`$tmp.group-notation`'/>\n<parameter name='in-maint' value = 'false'/>\n<parameter name='is-closed-loop' value = 'false'/>\n\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"vserver\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"vserver.vserver-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vm.vserver-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"tenant.tenant-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value='`$tmp.aai-data-vm.tenant-id`'/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"cloud-region.cloud-owner\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"att-aic\"/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-value\" value='`$tmp.aai-data-vm.cloud-region-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vnf.vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].related-to\" value=\"vf-module\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vnf.vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-key\" value=\"vf-module.vf-module-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-value\" value='`$tmp.vf-module-id`'/>\n\n","comments":"","outputs":1,"x":1819.8833312988281,"y":1568.772216796875,"z":"f4b8442.0fb85b8","wires":[["15433db9.df194a"]]},{"id":"15433db9.df194a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2012.3833312988281,"y":1569.272216796875,"z":"f4b8442.0fb85b8","wires":[["b83ce7.4ec9b318"]]},{"id":"b83ce7.4ec9b318","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2178.633331298828,"y":1571.772216796875,"z":"f4b8442.0fb85b8","wires":[["c4e01cc9.cc4588","2f357b42.686584"]]},{"id":"c4e01cc9.cc4588","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Insert to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":2383.133331298828,"y":1543.272216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"2f357b42.686584","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Insert to A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name + '.' + $error-message`\"/>","comments":"","x":2447.133331298828,"y":1608.272216796875,"z":"f4b8442.0fb85b8","wires":[]},{"id":"847918b3.b0aa9","type":"save","name":"save Put VNFC","xml":"<save plugin='org.openecomp.sdnc.sli.aai.AAIService' resource='vnfc' key='vnfc.vnfc-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name' force='true' pfx='tmp.vnfc-sys-controller'>\n<parameter name='nfc-naming-code' value='`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-function-code`'/>\n<parameter name='nfc-function' value='`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-type`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n<parameter name='in-maint' value = 'false'/>\n<parameter name='is-closed-loop' value = 'false'/>\n<parameter name='ipaddress-v4-oam-vip' value='`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].ipaddress-v4-oam-vip`'/>\n\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"vserver\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"vserver.vserver-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vm.vserver-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"tenant.tenant-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value='`$tmp.aai-data-vm.tenant-id`'/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"cloud-region.cloud-owner\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"att-aic\"/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-value\" value='`$tmp.aai-data-vm.cloud-region-id`'/>\n\n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vnf.vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].related-to\" value=\"vf-module\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vnf.vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-key\" value=\"vf-module.vf-module-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-value\" value='`$tmp.vf-module-id`'/>\n\n\n\n\n","comments":"","outputs":1,"x":2108.883331298828,"y":719.88330078125,"z":"f4b8442.0fb85b8","wires":[["b3c3c3d0.4d379"]]},{"id":"b3c3c3d0.4d379","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2279.883331298828,"y":722.88330078125,"z":"f4b8442.0fb85b8","wires":[["86981ca7.0f486"]]},{"id":"86981ca7.0f486","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2429.883331298828,"y":725.88330078125,"z":"f4b8442.0fb85b8","wires":[["fb7984a3.2a359","473192dd.1f183c"]]},{"id":"fb7984a3.2a359","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Insert to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":2636.883331298828,"y":716.88330078125,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"473192dd.1f183c","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Insert to A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name + '.' + $error-message`\"/>","comments":"","x":2607.883331298828,"y":776.88330078125,"z":"f4b8442.0fb85b8","wires":[]},{"id":"78560055.675858","type":"switchNode","name":"switch: vnf config parameters length","xml":"<switch test=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters_length`\">","comments":"","outputs":1,"x":427.8833312988281,"y":308.8833312988281,"z":"f4b8442.0fb85b8","wires":[["cdd9fcc9.e2fd58","8cd6d147.ae0218","34c2463.cf0b8ba"]]},{"id":"cdd9fcc9.e2fd58","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":700.8833312988281,"y":262.8833312988281,"z":"f4b8442.0fb85b8","wires":[["42a9f090.5576b"]]},{"id":"8cd6d147.ae0218","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":692.8833312988281,"y":305.8833312988281,"z":"f4b8442.0fb85b8","wires":[["42a9f090.5576b"]]},{"id":"42a9f090.5576b","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":901.8833312988281,"y":323.8833312988281,"z":"f4b8442.0fb85b8","wires":[["fac19019.555ba","69639e79.b60028"]]},{"id":"13419e55.a341c2","type":"switchNode","name":"switch: vnf config parameters length","xml":"<switch test=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller_length`\">","comments":"","outputs":1,"x":892.8833312988281,"y":417.8833312988281,"z":"f4b8442.0fb85b8","wires":[["2b70f3b6.70ab34","1cfb5f7f.146ea9","4bbed44c.48958c"]]},{"id":"2b70f3b6.70ab34","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1177.8833312988281,"y":397.8833312988281,"z":"f4b8442.0fb85b8","wires":[["dfc67bfa.c70f28"]]},{"id":"1cfb5f7f.146ea9","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":1175.8833312988281,"y":433.8833312988281,"z":"f4b8442.0fb85b8","wires":[["dfc67bfa.c70f28"]]},{"id":"dfc67bfa.c70f28","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1383.8833312988281,"y":341.8833312988281,"z":"f4b8442.0fb85b8","wires":[["38f7f12.d30130e","538b5769.d570d"]]},{"id":"38f7f12.d30130e","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"System Controller VM and VNFC data not in config tree\"/>\n\n\n","comments":"","outputs":1,"x":1548.8833312988281,"y":362.8833312988281,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"2200faf8.6ff19e","type":"switchNode","name":"switch: vnf config parameters length","xml":"<switch test=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload_length`\">","comments":"","outputs":1,"x":913.8833312988281,"y":931.8833312988281,"z":"f4b8442.0fb85b8","wires":[["578b3fc6.dfebe","ab715923.f11558","4ea5e5a.72a741c"]]},{"id":"578b3fc6.dfebe","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1186.8833312988281,"y":843.8833312988281,"z":"f4b8442.0fb85b8","wires":[["3426556e.ca5e6a"]]},{"id":"ab715923.f11558","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":1175.8833312988281,"y":896.8833312988281,"z":"f4b8442.0fb85b8","wires":[["3426556e.ca5e6a"]]},{"id":"3426556e.ca5e6a","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1370.8833312988281,"y":867.8833312988281,"z":"f4b8442.0fb85b8","wires":[["f79a2016.ec9188","a39acb97.4339d8"]]},{"id":"f79a2016.ec9188","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Payload VM and VNFC data not in config tree\"/>\n\n\n","comments":"","outputs":1,"x":1550.8833312988281,"y":940.8833312988281,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"fac19019.555ba","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"RETURNED RESPONSEMESSAGE\"/>\n<parameter name=\"RESPONSEMSG\" value=\"`$response-message`\"/>\n<parameter name=\"ERRORMSG\" value=\"`$error-message`\"/>\n<parameter name=\"field3\" value=\"VM and VNFC data not in config tree.Stop the flow\"/>\n\n","comments":"","outputs":1,"x":1085.8833312988281,"y":355.8833312988281,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"f043b65d.df114","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":811.8833312988281,"y":150.88333129882812,"z":"f4b8442.0fb85b8","wires":[["7133566.c86f728","e6574c9f.d7f28"]]},{"id":"7133566.c86f728","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Get Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n<parameter name=\"ErrorMessage\" value=\"`$tmp.aai-data-vnf.error-message`\"/>\n<parameter name=\"HTTP Code\" value=\"`$tmp.aai-data-vnf.error.http.response-code`\"/>","comments":"","outputs":1,"x":984.8833312988281,"y":128.88333129882812,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"e6574c9f.d7f28","type":"set","name":"set: Append to error message","xml":"<set>\n<parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-configuration-notification-input.service-information.service-instance-id + '.' + $tmp.aai-data-vnf.error-message + '.HTTP Code:' + $tmp.aai-data-vnf.error.http.response-code + '.' + $error-message `\"/>\n","comments":"","x":1042.8833312988281,"y":166.88333129882812,"z":"f4b8442.0fb85b8","wires":[]},{"id":"69639e79.b60028","type":"set","name":"set: Append to error message","xml":"<set>\n<parameter name=\"error-message\" value=\"`'VM and VNFC Data not found in config tree.' + $error-message `\"/>\n","comments":"","x":1143.8833312988281,"y":310.8833312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"538b5769.d570d","type":"set","name":"set: Append to error message","xml":"<set>\n<parameter name=\"error-message\" value=\"`'System Controller VM and VNFC Data not found in config tree.' + $error-message `\"/>\n","comments":"","x":1616.8833312988281,"y":320.8833312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"a39acb97.4339d8","type":"set","name":"set: Append to error message","xml":"<set>\n<parameter name=\"error-message\" value=\"`'Payload VM and VNFC Data not found in config tree.' + $error-message `\"/>\n","comments":"","x":1618.8833312988281,"y":892.8833312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"34c2463.cf0b8ba","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":685.8833312988281,"y":351.8833312988281,"z":"f4b8442.0fb85b8","wires":[["ae635f4d.64e9d8"]]},{"id":"ae635f4d.64e9d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":164.88333129882812,"y":414.8833312988281,"z":"f4b8442.0fb85b8","wires":[["66e5357a.c3e564","f013923f.8ff4c8"]]},{"id":"4bbed44c.48958c","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1175.8833312988281,"y":476.8833312988281,"z":"f4b8442.0fb85b8","wires":[["753d2624.a03b78"]]},{"id":"753d2624.a03b78","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":637.8833312988281,"y":536.8833312988281,"z":"f4b8442.0fb85b8","wires":[["c7ca81f5.584878"]]},{"id":"4ea5e5a.72a741c","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1176.8833312988281,"y":948.8833312988281,"z":"f4b8442.0fb85b8","wires":[["9c636d62.83d92"]]},{"id":"9c636d62.83d92","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1080.8833312988281,"y":995.8833312988281,"z":"f4b8442.0fb85b8","wires":[["f6bd5a4d.edb528"]]},{"id":"ab0a4f4f.4f2b6","type":"switchNode","name":"Check Odd or Even VM Name","xml":"<switch test=\"`((( $tmp.vm_last_number / 2 ) * 2 ) == $tmp.vm_last_number )`\">\n","comments":"","outputs":1,"x":2131.1332092285156,"y":1283.3833312988281,"z":"f4b8442.0fb85b8","wires":[["43163cb2.20f664","62bb1ac8.becec4"]]},{"id":"9cd69d90.4ab5e","type":"set","name":"Set VM Name & Mated Pair","xml":"<set>\n<parameter name ='tmp.vm-name' value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vm-name`\"/>\n<parameter name ='tmp.vm-name-length' value=\"`length($service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vm-name)`\"/>\n<parameter name='tmp.mated-pair-number' value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].mated-pair-number`\"/>\n\n\n","comments":"","x":2116.133087158203,"y":1179.8833312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"96796fac.e80f8","type":"set","name":"Set Even Group Notation","xml":"<set>\n<parameter name='tmp.group-notation' value=\"`$tmp.odd-group-notation`\"/>\n","comments":"","x":2600.383331298828,"y":1306.8833312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"43163cb2.20f664","type":"outcomeFalse","name":"Odd Pair","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2393.133331298828,"y":1216.8833312988281,"z":"f4b8442.0fb85b8","wires":[["5da8532.413e72c"]]},{"id":"62bb1ac8.becec4","type":"other","name":"Even Pair","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2396.883331298828,"y":1306.8833312988281,"z":"f4b8442.0fb85b8","wires":[["96796fac.e80f8"]]},{"id":"5da8532.413e72c","type":"set","name":"Set Odd Group Notation","xml":"<set>\n<parameter name='tmp.odd-group-notation' value=\"`$tmp.mated-pair-number`\"/>\n<parameter name='tmp.group-notation' value=\"`$tmp.mated-pair-number`\"/>\n","comments":"","x":2586.883331298828,"y":1215.6333312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"368e0e52.df43ea","type":"set","name":"Get VM Name last digit","xml":"<set>\n<parameter name='tmp.vm_last_number' value='`substr($tmp.vm-name, $tmp.vm-name-length - 1, $tmp.vm-name-length)`' />\n","comments":"","x":2100.5162658691406,"y":1232.5166320800781,"z":"f4b8442.0fb85b8","wires":[]},{"id":"49a48a4e.19f34c","type":"call","name":"call: GetVfModuleInfo","xml":"<call module=\"APPC\" rpc=\"GetVfModuleInfo\" mode=\"sync\">","comments":"","outputs":1,"x":1694.8833312988281,"y":633.772216796875,"z":"f4b8442.0fb85b8","wires":[["8bed42ae.eb616"]]},{"id":"8bed42ae.eb616","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1867.8833312988281,"y":634.772216796875,"z":"f4b8442.0fb85b8","wires":[["3a57ec9f.7eae7c"]]},{"id":"3a57ec9f.7eae7c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2021.8833312988281,"y":635.772216796875,"z":"f4b8442.0fb85b8","wires":[["7166bf9.bf9e3c"]]},{"id":"7166bf9.bf9e3c","type":"switchNode","name":"switch: tmp.vf-module-id","xml":"<switch test=\"`$tmp.vf-module-id`\">","comments":"","outputs":1,"x":2234.883331298828,"y":624.772216796875,"z":"f4b8442.0fb85b8","wires":[["7d0fbd67.81486c","39dae372.2d7164"]]},{"id":"7d0fbd67.81486c","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2436.883331298828,"y":625.772216796875,"z":"f4b8442.0fb85b8","wires":[["78903187.23f99"]]},{"id":"78903187.23f99","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2589.883331298828,"y":624.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"39dae372.2d7164","type":"outcome","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2299.883331298828,"y":666.772216796875,"z":"f4b8442.0fb85b8","wires":[["847918b3.b0aa9"]]},{"id":"823a01a9.fa859","type":"call","name":"call: GetVfModuleInfo","xml":"<call module=\"APPC\" rpc=\"GetVfModuleInfo\" mode=\"sync\">","comments":"","outputs":1,"x":2034.8833312988281,"y":1374.772216796875,"z":"f4b8442.0fb85b8","wires":[["9376c1dd.d71158","b37aa195.39825"]]},{"id":"9376c1dd.d71158","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2236.883331298828,"y":1369.772216796875,"z":"f4b8442.0fb85b8","wires":[["db84adc3.3cb7b"]]},{"id":"db84adc3.3cb7b","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2394.883331298828,"y":1369.772216796875,"z":"f4b8442.0fb85b8","wires":[["1a92d485.722c43"]]},{"id":"1a92d485.722c43","type":"switchNode","name":"switch: tmp.vf-module-id","xml":"<switch test=\"`$tmp.vf-module-id`\">","comments":"","outputs":1,"x":2611.883331298828,"y":1372.772216796875,"z":"f4b8442.0fb85b8","wires":[["46fe9440.3d5704"]]},{"id":"1f39adc9.664c52","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2588.883331298828,"y":1432.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"46fe9440.3d5704","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2421.883331298828,"y":1430.772216796875,"z":"f4b8442.0fb85b8","wires":[["1f39adc9.664c52"]]},{"id":"b37aa195.39825","type":"outcome","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2242.883331298828,"y":1461.772216796875,"z":"f4b8442.0fb85b8","wires":[["37dca69b.66ac62"]]}] \ No newline at end of file
+[{"id":"c0f51dc8.101b5","type":"dgstart","name":"DGSTART","outputs":1,"x":121.88333129882812,"y":66.88333129882812,"z":"f4b8442.0fb85b8","wires":[["5b4f1a30.f05d0c"]]},{"id":"5b4f1a30.f05d0c","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":282.0500183105469,"y":68.54998779296875,"z":"f4b8442.0fb85b8","wires":[["772060.d25c87a"]]},{"id":"772060.d25c87a","type":"method","name":"method update-aai","xml":"<method rpc='update-aai' mode='sync'>\n","comments":"","outputs":1,"x":474.3833923339844,"y":70.2166519165039,"z":"f4b8442.0fb85b8","wires":[["467329f1.60b6d8"]]},{"id":"8f46f427.916b28","type":"get-resource","name":"get-resource: A&AI Data for VNF","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-name = $service-configuration-notification-input.service-information.service-instance-id\" pfx=\"tmp.aai-data-vnf\" >\n\n\n","comments":"","outputs":1,"x":407.8833312988281,"y":171.772216796875,"z":"f4b8442.0fb85b8","wires":[["44304e59.3bc55","2f765229.4761fe","6ecd659b.76cea4"]]},{"id":"3d2bf799.9f116","type":"get-resource","name":"get-resource: A&AI Data for VM Name","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vserver\" key=\"vserver.vserver-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vm-name\" pfx=\"tmp.aai-data-vm\" >\n\n","comments":"","outputs":1,"x":1504.8833312988281,"y":465.772216796875,"z":"f4b8442.0fb85b8","wires":[["9b245605.84f748","27de335a.86c014","5e5954df.b3da24"]]},{"id":"22c57ca4.f5ae0c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":644.8833312988281,"y":414.7722473144531,"z":"f4b8442.0fb85b8","wires":[["13419e55.a341c2"]]},{"id":"24deeccb.be1d7c","type":"get-resource","name":"get-resource: A&AI Data for VM Name","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vserver\" key=\"vserver.vserver-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vm-name\" pfx=\"tmp.aai-data-vm\" >\n\n\n","comments":"","outputs":1,"x":1395.8833312988281,"y":1069.7722473144531,"z":"f4b8442.0fb85b8","wires":[["4e85a946.01f12","6c8fb30.49c2b4c","143f5af6.ccb0d5"]]},{"id":"b14ec23a.f5b1c8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":646.8833312988281,"y":975.7722473144531,"z":"f4b8442.0fb85b8","wires":[["2200faf8.6ff19e"]]},{"id":"467329f1.60b6d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":130.88333129882812,"y":129.772216796875,"z":"f4b8442.0fb85b8","wires":[["8f46f427.916b28","60b5221b.b51ed4","bf464434.9b9188","a0358bc1.4f2e98","78560055.675858"]]},{"id":"fc179dae.0a925","type":"save","name":"update: A&AI ( VNF)","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-id = $tmp.aai-data-vnf.vnf-id\" force=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n\t","comments":"","outputs":1,"x":980.8833312988281,"y":252.77224731445312,"z":"f4b8442.0fb85b8","wires":[["ade15db9.d9e358"]]},{"id":"ade15db9.d9e358","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1153.8833312988281,"y":254.77224731445312,"z":"f4b8442.0fb85b8","wires":[["57d1d045.81e0e8"]]},{"id":"29bfefae.5a7748","type":"save","name":"update: A&AI ( VM)","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vserver\" \nkey=\"vserver.vserver-id = $tmp.aai-data-vm.vserver-id AND \ntenant.tenant-id = $tmp.aai-data-vm.tenant-id AND\ncloud-region.cloud-owner = 'att-aic' AND\ncloud-region.cloud-region-id = $tmp.aai-data-vm.cloud-region-id\"\nforce=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n","comments":"","outputs":1,"x":1986.8833312988281,"y":541.772216796875,"z":"f4b8442.0fb85b8","wires":[["dfd718cc.1c6ab"]]},{"id":"dfd718cc.1c6ab","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2166.883331298828,"y":538.772216796875,"z":"f4b8442.0fb85b8","wires":[["4de83cd2.84ecac"]]},{"id":"a34e98d9.f45ed8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2017.8833312988281,"y":1128.7722473144531,"z":"f4b8442.0fb85b8","wires":[["4983c83b.88014"]]},{"id":"58ca3986.4a71d8","type":"save","name":"update: A&AI ( VM)","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vserver\" \nkey=\"vserver.vserver-id = $tmp.aai-data-vm.vserver-id AND \ntenant.tenant-id = $tmp.aai-data-vm.tenant-id AND\ncloud-region.cloud-owner = $tmp.aai-data-vm.cloud-owner AND\ncloud-region.cloud-region-id = $tmp.aai-data-vm.cloud-region-id\"\nforce=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>","comments":"","outputs":1,"x":1833.3833312988281,"y":1132.7722473144531,"z":"f4b8442.0fb85b8","wires":[["a34e98d9.f45ed8"]]},{"id":"28bcdf63.918a08","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=\"Get AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vm-name`\"/>\n\n","comments":"","outputs":1,"x":2163.883331298828,"y":362.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"9b245605.84f748","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1793.8833312988281,"y":386.772216796875,"z":"f4b8442.0fb85b8","wires":[["9b6cab7d.997098"]]},{"id":"27de335a.86c014","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1767.8833312988281,"y":461.772216796875,"z":"f4b8442.0fb85b8","wires":[["9b6cab7d.997098"]]},{"id":"9b6cab7d.997098","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1971.8833312988281,"y":424.772216796875,"z":"f4b8442.0fb85b8","wires":[["28bcdf63.918a08","5311e5a9.4fa464"]]},{"id":"a6d2ceb6.01d71","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=\"AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vm-name`\"/>\n\n","comments":"","outputs":1,"x":2006.8833312988281,"y":988.7722473144531,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"4e85a946.01f12","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1649.8833312988281,"y":993.7722473144531,"z":"f4b8442.0fb85b8","wires":[["178c51ad.e112ae"]]},{"id":"6c8fb30.49c2b4c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1651.8833312988281,"y":1063.7722473144531,"z":"f4b8442.0fb85b8","wires":[["178c51ad.e112ae"]]},{"id":"178c51ad.e112ae","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1834.8833312988281,"y":1006.7722473144531,"z":"f4b8442.0fb85b8","wires":[["a6d2ceb6.01d71","c946205b.f6ca3"]]},{"id":"6ecd659b.76cea4","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":701.8833312988281,"y":80.772216796875,"z":"f4b8442.0fb85b8","wires":[["ff266133.3d2d18"]]},{"id":"44304e59.3bc55","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":645.8833312988281,"y":148.772216796875,"z":"f4b8442.0fb85b8","wires":[["f043b65d.df114"]]},{"id":"ff266133.3d2d18","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":863.8833312988281,"y":66.772216796875,"z":"f4b8442.0fb85b8","wires":[["f67029f1.15e53","9155ecda.9c9088"]]},{"id":"9155ecda.9c9088","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-configuration-notification-input.service-information.service-instance-id + '.' + $error-message`\"/>","comments":"","x":1151.8833312988281,"y":90.772216796875,"z":"f4b8442.0fb85b8","wires":[]},{"id":"f67029f1.15e53","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=\"Get Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n\n","comments":"","outputs":1,"x":1066.8833312988281,"y":51.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"5311e5a9.4fa464","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vm-name + '.' + $error-message`\"/>","comments":"","x":2222.883331298828,"y":422.772216796875,"z":"f4b8442.0fb85b8","wires":[]},{"id":"66e5357a.c3e564","type":"for","name":"for: vnf-config-parameters-list","xml":"<for index=\"i\" start=\"0\" end=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters_length`\">","comments":"","outputs":1,"x":414.8833312988281,"y":414.7722473144531,"z":"f4b8442.0fb85b8","wires":[["22c57ca4.f5ae0c"]]},{"id":"f013923f.8ff4c8","type":"for","name":"for: vnf-config-parameters-list","xml":"<for index=\"i\" start=\"0\" end=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters_length`\" >","comments":"","outputs":1,"x":416.8833312988281,"y":973.7722473144531,"z":"f4b8442.0fb85b8","wires":[["b14ec23a.f5b1c8"]]},{"id":"c7ca81f5.584878","type":"for","name":"for: vnf-config-parameters-list.system-controller","xml":"<for index=\"j\" start=\"0\" end=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller_length`\" >","comments":"","outputs":1,"x":911.8833312988281,"y":536.7722473144531,"z":"f4b8442.0fb85b8","wires":[["267d83bc.359cd4"]]},{"id":"f6bd5a4d.edb528","type":"for","name":"for: vnf-config-parameters-list.payload","xml":"<for index=\"j\" start=\"0\" end=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload_length`\" >","comments":"","outputs":1,"x":864.8833312988281,"y":1074.7722473144531,"z":"f4b8442.0fb85b8","wires":[["32cf2348.780e2c"]]},{"id":"267d83bc.359cd4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1216.8833312988281,"y":536.7722473144531,"z":"f4b8442.0fb85b8","wires":[["ca00e322.7a457","3d2bf799.9f116"]]},{"id":"ca00e322.7a457","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=\"VNFCNAME\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name`\"/>\n<parameter name=\"VMNAME\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vm-name`\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.backup-information.service-instance-id`\"/>","comments":"","outputs":1,"x":1402.8833312988281,"y":416.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"6cf10415.3db5f4","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=\"VNFCNAME\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name`\"/>\n<parameter name=\"VMNAME\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vm-name`\"/>\n\n","comments":"","outputs":1,"x":1325.8833312988281,"y":1011.7722473144531,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"32cf2348.780e2c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1133.8833312988281,"y":1079.7722473144531,"z":"f4b8442.0fb85b8","wires":[["6cf10415.3db5f4","24deeccb.be1d7c"]]},{"id":"dc845fa1.861eb","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=\"SYSCONTRVSERVERID\" value=\"`$tmp.aai-data-vm.vserver-id`\"/>\n\n<parameter name=\"SYSCONTRLTENANTID\" value=\"`$tmp.aai-data-vm.tenant-id`\"/>\n<parameter name=\"SYSCONTRLCLOUDREGION\" value=\"`$tmp.aai-data-vm.cloud-region-id`\"/>\n<parameter name=\"SYSCONTRLCLOUDOWNER\" value=\"`$tmp.aai-data-vm.cloud-owner`\"/>","comments":"","outputs":1,"x":1980.8833312988281,"y":496.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"be3a649.92a8298","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=\"PAYLDVSERVERID\" value=\"`$tmp.aai-data-vm.vserver-id`\"/>\n\n<parameter name=\"PAYLDTENANTID\" value=\"`$tmp.aai-data-vm.tenant-id`\"/>\n<parameter name=\"PAYLDCLOUDREGION\" value=\"`$tmp.aai-data-vm.cloud-region-id`\"/>","comments":"","outputs":1,"x":1809.8833312988281,"y":1073.7722473144531,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"60b5221b.b51ed4","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=\"CALLING Get fOR SERVICEINSTANCEID\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n<parameter name=\"RESPONSEMSG\" value=\"`$response-message`\"/>\n","comments":"","outputs":1,"x":334.8833312988281,"y":126.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"2f765229.4761fe","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":644.8833312988281,"y":196.77224731445312,"z":"f4b8442.0fb85b8","wires":[["e003b6d1.c077e8"]]},{"id":"e003b6d1.c077e8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":792.8833312988281,"y":200.77224731445312,"z":"f4b8442.0fb85b8","wires":[["fc179dae.0a925","5bfbd468.92001c"]]},{"id":"5e5954df.b3da24","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1643.8833312988281,"y":518.7722778320312,"z":"f4b8442.0fb85b8","wires":[["2654c4ca.7ead04"]]},{"id":"143f5af6.ccb0d5","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1452.8833312988281,"y":1141.7722473144531,"z":"f4b8442.0fb85b8","wires":[["a50cc54f.09ab9"]]},{"id":"2654c4ca.7ead04","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1799.8833312988281,"y":515.7722778320312,"z":"f4b8442.0fb85b8","wires":[["dc845fa1.861eb","29bfefae.5a7748","8496bab.f61c148"]]},{"id":"a50cc54f.09ab9","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1621.8833312988281,"y":1134.7722473144531,"z":"f4b8442.0fb85b8","wires":[["be3a649.92a8298","58ca3986.4a71d8","ead40740.d1b23"]]},{"id":"5bfbd468.92001c","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=\"VNFID\" value=\"`$tmp.aai-data-vnf.vnf-id`\"/>\n\n","comments":"","outputs":1,"x":957.8833312988281,"y":205.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"57d1d045.81e0e8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1306.8833312988281,"y":256.7722473144531,"z":"f4b8442.0fb85b8","wires":[["477e8b0f.ff62c4","c9598522.b5021"]]},{"id":"477e8b0f.ff62c4","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $tmp.aai-data-vnf.vnf-id + '.' + $error-message`\"/>","comments":"","x":1531.8833312988281,"y":272.7722473144531,"z":"f4b8442.0fb85b8","wires":[]},{"id":"4de83cd2.84ecac","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2321.883331298828,"y":534.772216796875,"z":"f4b8442.0fb85b8","wires":[["7c7c5c09.263cc4","8f9d540b.6eaf78"]]},{"id":"7c7c5c09.263cc4","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $tmp.aai-data-vm.vserver-id + ' and ' + $tmp.aai-data-vm.tenant-id + '.' + $error-message`\"/>","comments":"","x":2579.883331298828,"y":526.772216796875,"z":"f4b8442.0fb85b8","wires":[]},{"id":"c946205b.f6ca3","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vm-name + '.' + $error-message`\"/>","comments":"","x":2063.883331298828,"y":1040.7722473144531,"z":"f4b8442.0fb85b8","wires":[]},{"id":"4983c83b.88014","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2172.883331298828,"y":1128.7722473144531,"z":"f4b8442.0fb85b8","wires":[["2fd2a1ea.86ecc6","33e73c2c.e10484"]]},{"id":"2fd2a1ea.86ecc6","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name + ' and ' + $tmp.aai-data-vm.vserver-id + ' and ' + $tmp.aai-data-vm.tenant-id + '.' + $error-message`\"/>","comments":"","x":2431.883331298828,"y":1134.7722473144531,"z":"f4b8442.0fb85b8","wires":[]},{"id":"c9598522.b5021","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=\"Update Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$tmp.aai-data-vnf.vnf-id`\"/>\n\n","comments":"","outputs":1,"x":1455.8833312988281,"y":213.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"8f9d540b.6eaf78","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=\"Update Request to AnAI Failed\"/>\n<parameter name=\"VSERVERID\" value=\"`$tmp.aai-data-vm.vserver-id`\"/>\n<parameter name=\"TENANTID\" value=\"`$tmp.aai-data-vm.tenant-id`\"/>\n\n","comments":"","outputs":1,"x":2521.883331298828,"y":461.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"33e73c2c.e10484","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=\"Update Request to AnAI Failed\"/>\n<parameter name=\"VSERVERID\" value=\"`$tmp.aai-data-vm.vserver-id`\"/>\n<parameter name=\"TENANTID\" value=\"`$tmp.aai-data-vm.tenant-id`\"/>\n<parameter name=\"VNFCNAME\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":2372.883331298828,"y":1079.7722473144531,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"bf464434.9b9188","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=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"RETURNED RESPONSEMESSAGE\"/>\n<parameter name=\"RESPONSEMSG\" value=\"`$response-message`\"/>\n<parameter name=\"ERRORMSG\" value=\"`$error-message`\"/>\n\n","comments":"","outputs":1,"x":184.88333129882812,"y":1151.7722473144531,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"a0358bc1.4f2e98","type":"set","name":"set: Append to response-message","xml":"<set>\n\t <parameter name=\"response-message\" value=\"`$error-message + '.' + $response-message`\"/>","comments":"","x":323.8833312988281,"y":1079.7722473144531,"z":"f4b8442.0fb85b8","wires":[]},{"id":"8496bab.f61c148","type":"get-resource","name":"get-resource: A&AI Data for VNFC Name ","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vnfc\" key=\"vnfc.vnfc-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name\" pfx=\"tmp.aai-data-vnfc\" >\n\n\n","comments":"","outputs":1,"x":1325.8833312988281,"y":727.8833312988281,"z":"f4b8442.0fb85b8","wires":[["c81a3f16.23e79","8ac07d6d.14c18","41789484.81275c"]]},{"id":"c81a3f16.23e79","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1613.8833312988281,"y":727.8833312988281,"z":"f4b8442.0fb85b8","wires":[["b0afd80f.959b8"]]},{"id":"8ac07d6d.14c18","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1613.8833312988281,"y":771.8833312988281,"z":"f4b8442.0fb85b8","wires":[["7ee37ca7.a378d4"]]},{"id":"41789484.81275c","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1574.8833312988281,"y":843.8833312988281,"z":"f4b8442.0fb85b8","wires":[["2e5147af.8c502"]]},{"id":"7ee37ca7.a378d4","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1785.8833312988281,"y":772.8833312988281,"z":"f4b8442.0fb85b8","wires":[["2310ad0.71ba6d4","2f6809a1.5e9c2e"]]},{"id":"2310ad0.71ba6d4","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=\"Get AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":1958.8833312988281,"y":773.8833312988281,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"2f6809a1.5e9c2e","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name + '.' + $error-message`\"/>","comments":"","x":2035.8833312988281,"y":825.8833312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"85ceea54.89cff8","type":"save","name":"update: A&AI VNFC","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vnfc\" \nkey=\"vnfc.vnfc-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name and \nvserver.vserver-id = $tmp.aai-data-vm.vserver-id AND \ntenant.tenant-id = $tmp.aai-data-vm.tenant-id AND\ncloud-region.cloud-owner = $tmp.aai-data-vm.cloud-owner AND\ncloud-region.region-id = $tmp.aai-data-vm.cloud-region-id \" \nforce=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n<parameter name=\"orchestration-status\" value=\"`$tmp.aai-orch-status`\"/>\n","comments":"","outputs":1,"x":1972.8833312988281,"y":884.8833312988281,"z":"f4b8442.0fb85b8","wires":[["a8b24e73.4ee988"]]},{"id":"a8b24e73.4ee988","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2157.883331298828,"y":882.8833312988281,"z":"f4b8442.0fb85b8","wires":[["c879f837.bac108"]]},{"id":"c879f837.bac108","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2316.883331298828,"y":881.8833312988281,"z":"f4b8442.0fb85b8","wires":[["556dfd9c.657114","b3f09d6d.b550b8"]]},{"id":"556dfd9c.657114","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=\"Update Request to AnAI Failed\"/>\n<parameter name=\"VSERVERID\" value=\"`$tmp.aai-data-vm.vserver-id`\"/>\n<parameter name=\"TENANTID\" value=\"`$tmp.aai-data-vm.tenant-id`\"/>\n<parameter name=\"VNFCNAME\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":2482.883331298828,"y":874.8833312988281,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"b3f09d6d.b550b8","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name + ' and ' + $tmp.aai-data-vm.vserver-id + ' and ' + $tmp.aai-data-vm.tenant-id + '.' + $error-message`\"/>","comments":"","x":2550.883331298828,"y":949.8833312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"2e5147af.8c502","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1741.8833312988281,"y":850.8833312988281,"z":"f4b8442.0fb85b8","wires":[["85ceea54.89cff8"]]},{"id":"b0afd80f.959b8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1777.8833312988281,"y":729.8833312988281,"z":"f4b8442.0fb85b8","wires":[["49a48a4e.19f34c"]]},{"id":"ead40740.d1b23","type":"get-resource","name":"get-resource: A&AI Data for VNFC Name ","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vnfc\" key=\"vnfc.vnfc-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name\" pfx=\"tmp.aai-data-vnfc\" >\n\n\n","comments":"","outputs":1,"x":1336.8833312988281,"y":1266.8833312988281,"z":"f4b8442.0fb85b8","wires":[["549cc3e0.c9dea4","5258b27.a79774c","6ccdd521.4c3d74"]]},{"id":"549cc3e0.c9dea4","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":1659.8833312988281,"y":1210.8833312988281,"z":"f4b8442.0fb85b8","wires":[["4ac698fc.12ef8"]]},{"id":"4ac698fc.12ef8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1828.8833312988281,"y":1211.8833312988281,"z":"f4b8442.0fb85b8","wires":[["9cd69d90.4ab5e","ab0a4f4f.4f2b6","368e0e52.df43ea","823a01a9.fa859"]]},{"id":"5258b27.a79774c","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1325.8833312988281,"y":1681.88330078125,"z":"f4b8442.0fb85b8","wires":[["37e6ac9f.881974"]]},{"id":"37e6ac9f.881974","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1493.3833312988281,"y":1672.38330078125,"z":"f4b8442.0fb85b8","wires":[["a5e4a430.a1dae8","ba1f3312.90a09"]]},{"id":"a5e4a430.a1dae8","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=\"Get AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":1683.8833312988281,"y":1647.1334228515625,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"ba1f3312.90a09","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name + '.' + $error-message`\"/>","comments":"","x":1747.8833312988281,"y":1709.6334228515625,"z":"f4b8442.0fb85b8","wires":[]},{"id":"6ccdd521.4c3d74","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":1271.8833312988281,"y":1772.88330078125,"z":"f4b8442.0fb85b8","wires":[["3f437625.64f4a2"]]},{"id":"3f437625.64f4a2","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1432.8833312988281,"y":1769.88330078125,"z":"f4b8442.0fb85b8","wires":[["c322e2ca.cc10c8"]]},{"id":"c322e2ca.cc10c8","type":"save","name":"update: A&AI VNFC","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vnfc\" \nkey=\"vnfc.vnfc-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name and \nvserver.vserver-id = $tmp.aai-data-vm.vserver-id AND \ntenant.tenant-id = $tmp.aai-data-vm.tenant-id AND \ncloud-region.region-id = $tmp.aai-data-vm.cloud-region-id \" \nforce=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n<parameter name=\"orchestration-status\" value=\"`$tmp.aai-orch-status`\"/>","comments":"","outputs":1,"x":1651.6333312988281,"y":1766.38330078125,"z":"f4b8442.0fb85b8","wires":[["f36135db.fdc948"]]},{"id":"f36135db.fdc948","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1842.8833312988281,"y":1758.88330078125,"z":"f4b8442.0fb85b8","wires":[["92615a3d.bc7a9"]]},{"id":"92615a3d.bc7a9","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2014.6333312988281,"y":1761.3834228515625,"z":"f4b8442.0fb85b8","wires":[["cb2d609f.88cab","94b652f5.e7a418"]]},{"id":"cb2d609f.88cab","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=\"Update Request to AnAI Failed\"/>\n<parameter name=\"VSERVERID\" value=\"`$tmp.aai-data-vm.vserver-id`\"/>\n<parameter name=\"TENANTID\" value=\"`$tmp.aai-data-vm.tenant-id`\"/>\n<parameter name=\"VNFCNAME\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":2225.883331298828,"y":1757.8834533691406,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"94b652f5.e7a418","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name + ' and ' + $tmp.aai-data-vm.vserver-id + ' and ' + $tmp.aai-data-vm.tenant-id + '.' + $error-message`\"/>","comments":"","x":2279.883331298828,"y":1818.63330078125,"z":"f4b8442.0fb85b8","wires":[]},{"id":"37dca69b.66ac62","type":"save","name":"save Put VNFC","xml":"<save plugin='org.openecomp.sdnc.sli.aai.AAIService' resource='vnfc' key='vnfc.vnfc-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name' force='true' pfx='tmp.vnfc-payload'>\n<parameter name='nfc-naming-code' value='`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-function-code`'/>\n<parameter name='nfc-function' value='`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-type`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n<parameter name='group-notation' value='`$tmp.group-notation`'/>\n<parameter name='in-maint' value = 'false'/>\n<parameter name='is-closed-loop' value = 'false'/>\n\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"vserver\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"vserver.vserver-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vm.vserver-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"tenant.tenant-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value='`$tmp.aai-data-vm.tenant-id`'/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"cloud-region.cloud-owner\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"att-aic\"/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-value\" value='`$tmp.aai-data-vm.cloud-region-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vnf.vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].related-to\" value=\"vf-module\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vnf.vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-key\" value=\"vf-module.vf-module-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-value\" value='`$tmp.vf-module-id`'/>\n\n","comments":"","outputs":1,"x":1819.8833312988281,"y":1568.772216796875,"z":"f4b8442.0fb85b8","wires":[["15433db9.df194a"]]},{"id":"15433db9.df194a","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2012.3833312988281,"y":1569.272216796875,"z":"f4b8442.0fb85b8","wires":[["b83ce7.4ec9b318"]]},{"id":"b83ce7.4ec9b318","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2178.633331298828,"y":1571.772216796875,"z":"f4b8442.0fb85b8","wires":[["c4e01cc9.cc4588","2f357b42.686584"]]},{"id":"c4e01cc9.cc4588","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=\"Insert to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":2383.133331298828,"y":1543.272216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"2f357b42.686584","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Insert to A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vnfc-name + '.' + $error-message`\"/>","comments":"","x":2447.133331298828,"y":1608.272216796875,"z":"f4b8442.0fb85b8","wires":[]},{"id":"847918b3.b0aa9","type":"save","name":"save Put VNFC","xml":"<save plugin='org.openecomp.sdnc.sli.aai.AAIService' resource='vnfc' key='vnfc.vnfc-name = $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name' force='true' pfx='tmp.vnfc-sys-controller'>\n<parameter name='nfc-naming-code' value='`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-function-code`'/>\n<parameter name='nfc-function' value='`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-type`'/>\n<parameter name='prov-status' value='`$tmp.aai-prov-status`'/>\n<parameter name='orchestration-status' value='`$tmp.aai-orch-status`'/>\n<parameter name='in-maint' value = 'false'/>\n<parameter name='is-closed-loop' value = 'false'/>\n<parameter name='ipaddress-v4-oam-vip' value='`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].ipaddress-v4-oam-vip`'/>\n\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"vserver\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"vserver.vserver-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vm.vserver-id`'/>\n\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-key\" value=\"tenant.tenant-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[1].relationship-value\" value='`$tmp.aai-data-vm.tenant-id`'/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-key\" value=\"cloud-region.cloud-owner\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[2].relationship-value\" value=\"att-aic\"/>\n\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-key\" value=\"cloud-region.cloud-region-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[3].relationship-value\" value='`$tmp.aai-data-vm.cloud-region-id`'/>\n\n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vnf.vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].related-to\" value=\"vf-module\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[0].relationship-value\" value='`$tmp.aai-data-vnf.vnf-id`'/>\n\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-key\" value=\"vf-module.vf-module-id\" />\n<parameter name=\"relationship-list.relationship[2].relationship-data[1].relationship-value\" value='`$tmp.vf-module-id`'/>\n\n\n\n\n","comments":"","outputs":1,"x":2108.883331298828,"y":719.88330078125,"z":"f4b8442.0fb85b8","wires":[["b3c3c3d0.4d379"]]},{"id":"b3c3c3d0.4d379","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2279.883331298828,"y":722.88330078125,"z":"f4b8442.0fb85b8","wires":[["86981ca7.0f486"]]},{"id":"86981ca7.0f486","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2429.883331298828,"y":725.88330078125,"z":"f4b8442.0fb85b8","wires":[["fb7984a3.2a359","473192dd.1f183c"]]},{"id":"fb7984a3.2a359","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=\"Insert to AnAI Request Failed\"/>\n<parameter name=\"field3\" value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name`\"/>\n\n","comments":"","outputs":1,"x":2636.883331298828,"y":716.88330078125,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"473192dd.1f183c","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Insert to A&amp;AI Failed for ' + $service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller[$j].vnfc-name + '.' + $error-message`\"/>","comments":"","x":2607.883331298828,"y":776.88330078125,"z":"f4b8442.0fb85b8","wires":[]},{"id":"78560055.675858","type":"switchNode","name":"switch: vnf config parameters length","xml":"<switch test=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters_length`\">","comments":"","outputs":1,"x":427.8833312988281,"y":308.8833312988281,"z":"f4b8442.0fb85b8","wires":[["cdd9fcc9.e2fd58","8cd6d147.ae0218","34c2463.cf0b8ba"]]},{"id":"cdd9fcc9.e2fd58","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":700.8833312988281,"y":262.8833312988281,"z":"f4b8442.0fb85b8","wires":[["42a9f090.5576b"]]},{"id":"8cd6d147.ae0218","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":692.8833312988281,"y":305.8833312988281,"z":"f4b8442.0fb85b8","wires":[["42a9f090.5576b"]]},{"id":"42a9f090.5576b","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":901.8833312988281,"y":323.8833312988281,"z":"f4b8442.0fb85b8","wires":[["fac19019.555ba","69639e79.b60028"]]},{"id":"13419e55.a341c2","type":"switchNode","name":"switch: vnf config parameters length","xml":"<switch test=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].system-controller_length`\">","comments":"","outputs":1,"x":892.8833312988281,"y":417.8833312988281,"z":"f4b8442.0fb85b8","wires":[["2b70f3b6.70ab34","1cfb5f7f.146ea9","4bbed44c.48958c"]]},{"id":"2b70f3b6.70ab34","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1177.8833312988281,"y":397.8833312988281,"z":"f4b8442.0fb85b8","wires":[["dfc67bfa.c70f28"]]},{"id":"1cfb5f7f.146ea9","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":1175.8833312988281,"y":433.8833312988281,"z":"f4b8442.0fb85b8","wires":[["dfc67bfa.c70f28"]]},{"id":"dfc67bfa.c70f28","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1383.8833312988281,"y":341.8833312988281,"z":"f4b8442.0fb85b8","wires":[["38f7f12.d30130e","538b5769.d570d"]]},{"id":"38f7f12.d30130e","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=\"System Controller VM and VNFC data not in config tree\"/>\n\n\n","comments":"","outputs":1,"x":1548.8833312988281,"y":362.8833312988281,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"2200faf8.6ff19e","type":"switchNode","name":"switch: vnf config parameters length","xml":"<switch test=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload_length`\">","comments":"","outputs":1,"x":913.8833312988281,"y":931.8833312988281,"z":"f4b8442.0fb85b8","wires":[["578b3fc6.dfebe","ab715923.f11558","4ea5e5a.72a741c"]]},{"id":"578b3fc6.dfebe","type":"other","name":"outcome: Length=0","xml":"<outcome value='0'>\n","comments":"","outputs":1,"x":1186.8833312988281,"y":843.8833312988281,"z":"f4b8442.0fb85b8","wires":[["3426556e.ca5e6a"]]},{"id":"ab715923.f11558","type":"other","name":"outcome: NULL","xml":"<outcome value=''>\n","comments":"","outputs":1,"x":1175.8833312988281,"y":896.8833312988281,"z":"f4b8442.0fb85b8","wires":[["3426556e.ca5e6a"]]},{"id":"3426556e.ca5e6a","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1370.8833312988281,"y":867.8833312988281,"z":"f4b8442.0fb85b8","wires":[["f79a2016.ec9188","a39acb97.4339d8"]]},{"id":"f79a2016.ec9188","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=\"Payload VM and VNFC data not in config tree\"/>\n\n\n","comments":"","outputs":1,"x":1550.8833312988281,"y":940.8833312988281,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"fac19019.555ba","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=\"RETURNED RESPONSEMESSAGE\"/>\n<parameter name=\"RESPONSEMSG\" value=\"`$response-message`\"/>\n<parameter name=\"ERRORMSG\" value=\"`$error-message`\"/>\n<parameter name=\"field3\" value=\"VM and VNFC data not in config tree.Stop the flow\"/>\n\n","comments":"","outputs":1,"x":1085.8833312988281,"y":355.8833312988281,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"f043b65d.df114","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":811.8833312988281,"y":150.88333129882812,"z":"f4b8442.0fb85b8","wires":[["7133566.c86f728","e6574c9f.d7f28"]]},{"id":"7133566.c86f728","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=\"Get Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n<parameter name=\"ErrorMessage\" value=\"`$tmp.aai-data-vnf.error-message`\"/>\n<parameter name=\"HTTP Code\" value=\"`$tmp.aai-data-vnf.error.http.response-code`\"/>","comments":"","outputs":1,"x":984.8833312988281,"y":128.88333129882812,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"e6574c9f.d7f28","type":"set","name":"set: Append to error message","xml":"<set>\n<parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $service-configuration-notification-input.service-information.service-instance-id + '.' + $tmp.aai-data-vnf.error-message + '.HTTP Code:' + $tmp.aai-data-vnf.error.http.response-code + '.' + $error-message `\"/>\n","comments":"","x":1042.8833312988281,"y":166.88333129882812,"z":"f4b8442.0fb85b8","wires":[]},{"id":"69639e79.b60028","type":"set","name":"set: Append to error message","xml":"<set>\n<parameter name=\"error-message\" value=\"`'VM and VNFC Data not found in config tree.' + $error-message `\"/>\n","comments":"","x":1143.8833312988281,"y":310.8833312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"538b5769.d570d","type":"set","name":"set: Append to error message","xml":"<set>\n<parameter name=\"error-message\" value=\"`'System Controller VM and VNFC Data not found in config tree.' + $error-message `\"/>\n","comments":"","x":1616.8833312988281,"y":320.8833312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"a39acb97.4339d8","type":"set","name":"set: Append to error message","xml":"<set>\n<parameter name=\"error-message\" value=\"`'Payload VM and VNFC Data not found in config tree.' + $error-message `\"/>\n","comments":"","x":1618.8833312988281,"y":892.8833312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"34c2463.cf0b8ba","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":685.8833312988281,"y":351.8833312988281,"z":"f4b8442.0fb85b8","wires":[["ae635f4d.64e9d8"]]},{"id":"ae635f4d.64e9d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":164.88333129882812,"y":414.8833312988281,"z":"f4b8442.0fb85b8","wires":[["66e5357a.c3e564","f013923f.8ff4c8"]]},{"id":"4bbed44c.48958c","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1175.8833312988281,"y":476.8833312988281,"z":"f4b8442.0fb85b8","wires":[["753d2624.a03b78"]]},{"id":"753d2624.a03b78","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":637.8833312988281,"y":536.8833312988281,"z":"f4b8442.0fb85b8","wires":[["c7ca81f5.584878"]]},{"id":"4ea5e5a.72a741c","type":"other","name":"outcome: Other","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":1176.8833312988281,"y":948.8833312988281,"z":"f4b8442.0fb85b8","wires":[["9c636d62.83d92"]]},{"id":"9c636d62.83d92","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1080.8833312988281,"y":995.8833312988281,"z":"f4b8442.0fb85b8","wires":[["f6bd5a4d.edb528"]]},{"id":"ab0a4f4f.4f2b6","type":"switchNode","name":"Check Odd or Even VM Name","xml":"<switch test=\"`((( $tmp.vm_last_number / 2 ) * 2 ) == $tmp.vm_last_number )`\">\n","comments":"","outputs":1,"x":2131.1332092285156,"y":1283.3833312988281,"z":"f4b8442.0fb85b8","wires":[["43163cb2.20f664","62bb1ac8.becec4"]]},{"id":"9cd69d90.4ab5e","type":"set","name":"Set VM Name & Mated Pair","xml":"<set>\n<parameter name ='tmp.vm-name' value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vm-name`\"/>\n<parameter name ='tmp.vm-name-length' value=\"`length($service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].vm-name)`\"/>\n<parameter name='tmp.mated-pair-number' value=\"`$service-data.vnf-config-parameters-list.vnf-config-parameters[$i].payload[$j].mated-pair-number`\"/>\n\n\n","comments":"","x":2116.133087158203,"y":1179.8833312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"96796fac.e80f8","type":"set","name":"Set Even Group Notation","xml":"<set>\n<parameter name='tmp.group-notation' value=\"`$tmp.odd-group-notation`\"/>\n","comments":"","x":2600.383331298828,"y":1306.8833312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"43163cb2.20f664","type":"outcomeFalse","name":"Odd Pair","xml":"<outcome value='false'>\n","comments":"","outputs":1,"x":2393.133331298828,"y":1216.8833312988281,"z":"f4b8442.0fb85b8","wires":[["5da8532.413e72c"]]},{"id":"62bb1ac8.becec4","type":"other","name":"Even Pair","xml":"<outcome value='Other'>\n","comments":"","outputs":1,"x":2396.883331298828,"y":1306.8833312988281,"z":"f4b8442.0fb85b8","wires":[["96796fac.e80f8"]]},{"id":"5da8532.413e72c","type":"set","name":"Set Odd Group Notation","xml":"<set>\n<parameter name='tmp.odd-group-notation' value=\"`$tmp.mated-pair-number`\"/>\n<parameter name='tmp.group-notation' value=\"`$tmp.mated-pair-number`\"/>\n","comments":"","x":2586.883331298828,"y":1215.6333312988281,"z":"f4b8442.0fb85b8","wires":[]},{"id":"368e0e52.df43ea","type":"set","name":"Get VM Name last digit","xml":"<set>\n<parameter name='tmp.vm_last_number' value='`substr($tmp.vm-name, $tmp.vm-name-length - 1, $tmp.vm-name-length)`' />\n","comments":"","x":2100.5162658691406,"y":1232.5166320800781,"z":"f4b8442.0fb85b8","wires":[]},{"id":"49a48a4e.19f34c","type":"call","name":"call: GetVfModuleInfo","xml":"<call module=\"APPC\" rpc=\"GetVfModuleInfo\" mode=\"sync\">","comments":"","outputs":1,"x":1694.8833312988281,"y":633.772216796875,"z":"f4b8442.0fb85b8","wires":[["8bed42ae.eb616"]]},{"id":"8bed42ae.eb616","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1867.8833312988281,"y":634.772216796875,"z":"f4b8442.0fb85b8","wires":[["3a57ec9f.7eae7c"]]},{"id":"3a57ec9f.7eae7c","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2021.8833312988281,"y":635.772216796875,"z":"f4b8442.0fb85b8","wires":[["7166bf9.bf9e3c"]]},{"id":"7166bf9.bf9e3c","type":"switchNode","name":"switch: tmp.vf-module-id","xml":"<switch test=\"`$tmp.vf-module-id`\">","comments":"","outputs":1,"x":2234.883331298828,"y":624.772216796875,"z":"f4b8442.0fb85b8","wires":[["7d0fbd67.81486c","39dae372.2d7164"]]},{"id":"7d0fbd67.81486c","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2436.883331298828,"y":625.772216796875,"z":"f4b8442.0fb85b8","wires":[["78903187.23f99"]]},{"id":"78903187.23f99","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2589.883331298828,"y":624.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"39dae372.2d7164","type":"outcome","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2299.883331298828,"y":666.772216796875,"z":"f4b8442.0fb85b8","wires":[["847918b3.b0aa9"]]},{"id":"823a01a9.fa859","type":"call","name":"call: GetVfModuleInfo","xml":"<call module=\"APPC\" rpc=\"GetVfModuleInfo\" mode=\"sync\">","comments":"","outputs":1,"x":2034.8833312988281,"y":1374.772216796875,"z":"f4b8442.0fb85b8","wires":[["9376c1dd.d71158","b37aa195.39825"]]},{"id":"9376c1dd.d71158","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":2236.883331298828,"y":1369.772216796875,"z":"f4b8442.0fb85b8","wires":[["db84adc3.3cb7b"]]},{"id":"db84adc3.3cb7b","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2394.883331298828,"y":1369.772216796875,"z":"f4b8442.0fb85b8","wires":[["1a92d485.722c43"]]},{"id":"1a92d485.722c43","type":"switchNode","name":"switch: tmp.vf-module-id","xml":"<switch test=\"`$tmp.vf-module-id`\">","comments":"","outputs":1,"x":2611.883331298828,"y":1372.772216796875,"z":"f4b8442.0fb85b8","wires":[["46fe9440.3d5704"]]},{"id":"1f39adc9.664c52","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":2588.883331298828,"y":1432.772216796875,"z":"f4b8442.0fb85b8","wires":[[]]},{"id":"46fe9440.3d5704","type":"outcome","name":"NULL","xml":"<outcome value=''>","comments":"","outputs":1,"x":2421.883331298828,"y":1430.772216796875,"z":"f4b8442.0fb85b8","wires":[["1f39adc9.664c52"]]},{"id":"b37aa195.39825","type":"outcome","name":"Other","xml":"<outcome value='Other'>","comments":"","outputs":1,"x":2242.883331298828,"y":1461.772216796875,"z":"f4b8442.0fb85b8","wires":[["37dca69b.66ac62"]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vnfc-info.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vnfc-info.json
index 9073b282b..468851dc0 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vnfc-info.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vnfc-info.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"ca99a786.1adf8","type":"get-resource","name":"get-resource: A&AI Data for VServer","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vserver\" \nkey=\"vserver.vserver-id = $aaiinfo[$k].vserverid AND \ntenant.tenant-id = $aaiinfo[$k].tenantid AND\ncloud-region.cloud-owner = $aaiinfo[$k].cloudowner AND\ncloud-region.cloud-region-id = $aaiinfo[$k].cloudregionid\"\npfx=\"tmp.vserver\" >\n\n","comments":"","outputs":1,"x":709.88330078125,"y":246,"z":"c52d74c3.6a173","wires":[["fde2a23.0ae856","2217ca10.f4dbfe","45df48e.32abe38"]]},{"id":"68770954.89e85","type":"dgstart","name":"DGSTART","outputs":1,"x":204.88330078125,"y":92,"z":"c52d74c3.6a173","wires":[["57a94af7.1d52e4"]]},{"id":"57a94af7.1d52e4","type":"service-logic","name":"Appc-API 4.0.0","module":"Appc-API","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='4.0.0'>","outputs":1,"x":375.88330078125,"y":92,"z":"c52d74c3.6a173","wires":[["d80de510.a9535"]]},{"id":"d80de510.a9535","type":"method","name":"method update-vnfc-info","xml":"<method rpc='update-vnfc-info' mode='sync'>\n","comments":"","outputs":1,"x":593.88330078125,"y":91,"z":"c52d74c3.6a173","wires":[["36ef9227.2f9f7e"]]},{"id":"36ef9227.2f9f7e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":213.88330078125,"y":173,"z":"c52d74c3.6a173","wires":[["e4367acb.1fb978","ec095f59.d1d65"]]},{"id":"e4367acb.1fb978","type":"set","name":"set vnfclistlen=0","xml":"<set>\n<parameter name='vnfclistlen' value='0' />\n","comments":"","x":411.88330078125,"y":173,"z":"c52d74c3.6a173","wires":[]},{"id":"ec095f59.d1d65","type":"for","name":"for: ...aaiinfo[]","xml":"<for atomic=\"true\" index=\"k\" start=\"0\" end=\"`$listlen`\" >","comments":"","outputs":1,"x":243.88330078125,"y":246,"z":"c52d74c3.6a173","wires":[["6b34e3c9.27ea34"]]},{"id":"6b34e3c9.27ea34","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":447.88330078125,"y":246,"z":"c52d74c3.6a173","wires":[["ca99a786.1adf8"]]},{"id":"fde2a23.0ae856","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":972.88330078125,"y":204,"z":"c52d74c3.6a173","wires":[["d8eb874c.b59238"]]},{"id":"2217ca10.f4dbfe","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":954.88330078125,"y":266,"z":"c52d74c3.6a173","wires":[["d8eb874c.b59238"]]},{"id":"45df48e.32abe38","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":197.88330078125,"y":365,"z":"c52d74c3.6a173","wires":[["9c9021bc.b88fa8"]]},{"id":"d8eb874c.b59238","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1132.88330078125,"y":235,"z":"c52d74c3.6a173","wires":[["4590c797.1fa088","aed133a2.2225f8"]]},{"id":"9c9021bc.b88fa8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":367.88330078125,"y":363,"z":"c52d74c3.6a173","wires":[["5baeb97d.8be528"]]},{"id":"5baeb97d.8be528","type":"switchNode","name":"switch: relationship length","xml":"<switch test=\"`$tmp.vserver.relationship-list.relationship_length`\">","comments":"","outputs":1,"x":614.88330078125,"y":360,"z":"c52d74c3.6a173","wires":[["6c48093.1fa56f8","a039aec1.91e03"]]},{"id":"a039aec1.91e03","type":"other","name":"Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":170.88330078125,"y":474,"z":"c52d74c3.6a173","wires":[["b8d7820d.5420b"]]},{"id":"6c48093.1fa56f8","type":"outcome","name":"NULL","xml":"<outcome value=\"\">","comments":"","outputs":1,"x":859.88330078125,"y":364,"z":"c52d74c3.6a173","wires":[["6cb2d58.62be52c"]]},{"id":"6cb2d58.62be52c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1022.88330078125,"y":366,"z":"c52d74c3.6a173","wires":[[]]},{"id":"b8d7820d.5420b","type":"for","name":"for: ...relationship[]","xml":"<for atomic=\"true\" index=\"i\" start=\"0\" end=\"`$tmp.vserver.relationship-list.relationship_length`\" >","comments":"","outputs":1,"x":333.88330078125,"y":476,"z":"c52d74c3.6a173","wires":[["584bee63.5ef69"]]},{"id":"a801b938.dfe4","type":"switchNode","name":"switch: ...related-to","xml":"<switch test=\"`$tmp.vserver.relationship-list.relationship[$i].related-to`\">","comments":"","outputs":1,"x":438.88330078125,"y":538,"z":"c52d74c3.6a173","wires":[["f69424a2.0350d"]]},{"id":"f69424a2.0350d","type":"outcome","name":"vnfc","xml":"<outcome value=\"vnfc\">","comments":"","outputs":1,"x":628.88330078125,"y":535,"z":"c52d74c3.6a173","wires":[["e43d220d.0c97f"]]},{"id":"e43d220d.0c97f","type":"for","name":"for: ...relationship-data[]","xml":"<for atomic=\"true\" index=\"j\" start=\"0\" end=\"`$tmp.vserver.relationship-list.relationship[$i].relationship-data_length`\" >","comments":"","outputs":1,"x":832.88330078125,"y":528,"z":"c52d74c3.6a173","wires":[["5f70befc.28273"]]},{"id":"5f70befc.28273","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":227.88330078125,"y":631,"z":"c52d74c3.6a173","wires":[["b03df48b.fe3f4"]]},{"id":"b03df48b.fe3f4","type":"switchNode","name":"switch: ...relationship-key","xml":"<switch test=\"`$tmp.vserver.relationship-list.relationship[$i].relationship-data[$j].relationship-key`\">","comments":"","outputs":1,"x":450.88330078125,"y":631,"z":"c52d74c3.6a173","wires":[["d0c0b651.ef1c58"]]},{"id":"d0c0b651.ef1c58","type":"outcome","name":"vnfc-name","xml":"<outcome value=\"vnfc.vnfc-name\">","comments":"","outputs":1,"x":658.88330078125,"y":630,"z":"c52d74c3.6a173","wires":[["b7f0009.11cd18"]]},{"id":"584bee63.5ef69","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":221.88330078125,"y":543,"z":"c52d74c3.6a173","wires":[["a801b938.dfe4"]]},{"id":"aed133a2.2225f8","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $aaiinfo[$k].vserverid + '.' + $error-message`\"/>","comments":"","x":1372.88330078125,"y":256,"z":"c52d74c3.6a173","wires":[]},{"id":"4590c797.1fa088","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Get Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n\n","comments":"","outputs":1,"x":1301.88330078125,"y":187,"z":"c52d74c3.6a173","wires":[[]]},{"id":"44fa882d.37258","type":"save","name":"update: A&AI VNFC","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vnfc\" \nkey=\"vnfc.vnfc-name = $tmp.vserver.relationship-list.relationship[$i].relationship-data[$j].relationship-value and \nvserver.vserver-id = $aaiinfo[$k].vserverid AND \ntenant.tenant-id = $aaiinfo[$k].tenantid AND \ncloud-region.region-id = $aaiinfo[$k].cloudregionid \" \nforce=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n<parameter name=\"orchestration-status\" value=\"`$tmp.aai-orch-status`\"/>","comments":"","outputs":1,"x":1056.88330078125,"y":636,"z":"c52d74c3.6a173","wires":[["ac6f0c46.257ed8"]]},{"id":"ac6f0c46.257ed8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1239.88330078125,"y":637,"z":"c52d74c3.6a173","wires":[["51900e55.4456b"]]},{"id":"51900e55.4456b","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1398.88330078125,"y":639,"z":"c52d74c3.6a173","wires":[["bf4d5312.a11fc","42ec4cbb.ffb7ec"]]},{"id":"bf4d5312.a11fc","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Update Request to AnAI Failed\"/>\n<parameter name=\"VNFCNAME\" value=\"`$vnfcinfo[$vnfclistlen].vnfcname`\"/>\n<parameter name=\"VSERVERID\" value=\"`$vnfcinfo[$vnfclistlen].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$vnfcinfo[$vnfclistlen].tenantid`\"/>\n\n","comments":"","outputs":1,"x":1581.88330078125,"y":596,"z":"c52d74c3.6a173","wires":[[]]},{"id":"42ec4cbb.ffb7ec","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for VNFC ' + $vnfcinfo[$vnfclistlen].vnfcname + '.' + $error-message`\"/>","comments":"","x":1643.88330078125,"y":668,"z":"c52d74c3.6a173","wires":[]},{"id":"b7f0009.11cd18","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":834.88330078125,"y":632,"z":"c52d74c3.6a173","wires":[["44fa882d.37258","6309de41.c6ea18"]]},{"id":"6309de41.c6ea18","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"VNFCNAME\" value=\"`$tmp.vserver.relationship-list.relationship[$i].relationship-data[$j].relationship-value`\"/>\n<parameter name=\"VSERVERID\" value=\"`$aaiinfo[$k].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$aaiinfo[$k].tenantid`\"/>\n<parameter name=\"CLOUDOWNER\" value=\"`$aaiinfo[$k].cloudowner`\"/>\n<parameter name=\"CLOUDREGIONID\" value=\"`$aaiinfo[$k].cloudregionid`\"/>\n","comments":"","outputs":1,"x":1027.88330078125,"y":581,"z":"c52d74c3.6a173","wires":[[]]}] \ No newline at end of file
+[{"id":"ca99a786.1adf8","type":"get-resource","name":"get-resource: A&AI Data for VServer","xml":"<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vserver\" \nkey=\"vserver.vserver-id = $aaiinfo[$k].vserverid AND \ntenant.tenant-id = $aaiinfo[$k].tenantid AND\ncloud-region.cloud-owner = $aaiinfo[$k].cloudowner AND\ncloud-region.cloud-region-id = $aaiinfo[$k].cloudregionid\"\npfx=\"tmp.vserver\" >\n\n","comments":"","outputs":1,"x":709.88330078125,"y":246,"z":"c52d74c3.6a173","wires":[["fde2a23.0ae856","2217ca10.f4dbfe","45df48e.32abe38"]]},{"id":"68770954.89e85","type":"dgstart","name":"DGSTART","outputs":1,"x":204.88330078125,"y":92,"z":"c52d74c3.6a173","wires":[["57a94af7.1d52e4"]]},{"id":"57a94af7.1d52e4","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":375.88330078125,"y":92,"z":"c52d74c3.6a173","wires":[["d80de510.a9535"]]},{"id":"d80de510.a9535","type":"method","name":"method update-vnfc-info","xml":"<method rpc='update-vnfc-info' mode='sync'>\n","comments":"","outputs":1,"x":593.88330078125,"y":91,"z":"c52d74c3.6a173","wires":[["36ef9227.2f9f7e"]]},{"id":"36ef9227.2f9f7e","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":213.88330078125,"y":173,"z":"c52d74c3.6a173","wires":[["e4367acb.1fb978","ec095f59.d1d65"]]},{"id":"e4367acb.1fb978","type":"set","name":"set vnfclistlen=0","xml":"<set>\n<parameter name='vnfclistlen' value='0' />\n","comments":"","x":411.88330078125,"y":173,"z":"c52d74c3.6a173","wires":[]},{"id":"ec095f59.d1d65","type":"for","name":"for: ...aaiinfo[]","xml":"<for atomic=\"true\" index=\"k\" start=\"0\" end=\"`$listlen`\" >","comments":"","outputs":1,"x":243.88330078125,"y":246,"z":"c52d74c3.6a173","wires":[["6b34e3c9.27ea34"]]},{"id":"6b34e3c9.27ea34","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":447.88330078125,"y":246,"z":"c52d74c3.6a173","wires":[["ca99a786.1adf8"]]},{"id":"fde2a23.0ae856","type":"not-found","name":"not-found","xml":"<outcome value='not-found'>\n","comments":"","outputs":1,"x":972.88330078125,"y":204,"z":"c52d74c3.6a173","wires":[["d8eb874c.b59238"]]},{"id":"2217ca10.f4dbfe","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":954.88330078125,"y":266,"z":"c52d74c3.6a173","wires":[["d8eb874c.b59238"]]},{"id":"45df48e.32abe38","type":"failure","name":"success","xml":"<outcome value='success'>\n","comments":"","outputs":1,"x":197.88330078125,"y":365,"z":"c52d74c3.6a173","wires":[["9c9021bc.b88fa8"]]},{"id":"d8eb874c.b59238","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1132.88330078125,"y":235,"z":"c52d74c3.6a173","wires":[["4590c797.1fa088","aed133a2.2225f8"]]},{"id":"9c9021bc.b88fa8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":367.88330078125,"y":363,"z":"c52d74c3.6a173","wires":[["5baeb97d.8be528"]]},{"id":"5baeb97d.8be528","type":"switchNode","name":"switch: relationship length","xml":"<switch test=\"`$tmp.vserver.relationship-list.relationship_length`\">","comments":"","outputs":1,"x":614.88330078125,"y":360,"z":"c52d74c3.6a173","wires":[["6c48093.1fa56f8","a039aec1.91e03"]]},{"id":"a039aec1.91e03","type":"other","name":"Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":170.88330078125,"y":474,"z":"c52d74c3.6a173","wires":[["b8d7820d.5420b"]]},{"id":"6c48093.1fa56f8","type":"outcome","name":"NULL","xml":"<outcome value=\"\">","comments":"","outputs":1,"x":859.88330078125,"y":364,"z":"c52d74c3.6a173","wires":[["6cb2d58.62be52c"]]},{"id":"6cb2d58.62be52c","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1022.88330078125,"y":366,"z":"c52d74c3.6a173","wires":[[]]},{"id":"b8d7820d.5420b","type":"for","name":"for: ...relationship[]","xml":"<for atomic=\"true\" index=\"i\" start=\"0\" end=\"`$tmp.vserver.relationship-list.relationship_length`\" >","comments":"","outputs":1,"x":333.88330078125,"y":476,"z":"c52d74c3.6a173","wires":[["584bee63.5ef69"]]},{"id":"a801b938.dfe4","type":"switchNode","name":"switch: ...related-to","xml":"<switch test=\"`$tmp.vserver.relationship-list.relationship[$i].related-to`\">","comments":"","outputs":1,"x":438.88330078125,"y":538,"z":"c52d74c3.6a173","wires":[["f69424a2.0350d"]]},{"id":"f69424a2.0350d","type":"outcome","name":"vnfc","xml":"<outcome value=\"vnfc\">","comments":"","outputs":1,"x":628.88330078125,"y":535,"z":"c52d74c3.6a173","wires":[["e43d220d.0c97f"]]},{"id":"e43d220d.0c97f","type":"for","name":"for: ...relationship-data[]","xml":"<for atomic=\"true\" index=\"j\" start=\"0\" end=\"`$tmp.vserver.relationship-list.relationship[$i].relationship-data_length`\" >","comments":"","outputs":1,"x":832.88330078125,"y":528,"z":"c52d74c3.6a173","wires":[["5f70befc.28273"]]},{"id":"5f70befc.28273","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":227.88330078125,"y":631,"z":"c52d74c3.6a173","wires":[["b03df48b.fe3f4"]]},{"id":"b03df48b.fe3f4","type":"switchNode","name":"switch: ...relationship-key","xml":"<switch test=\"`$tmp.vserver.relationship-list.relationship[$i].relationship-data[$j].relationship-key`\">","comments":"","outputs":1,"x":450.88330078125,"y":631,"z":"c52d74c3.6a173","wires":[["d0c0b651.ef1c58"]]},{"id":"d0c0b651.ef1c58","type":"outcome","name":"vnfc-name","xml":"<outcome value=\"vnfc.vnfc-name\">","comments":"","outputs":1,"x":658.88330078125,"y":630,"z":"c52d74c3.6a173","wires":[["b7f0009.11cd18"]]},{"id":"584bee63.5ef69","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":221.88330078125,"y":543,"z":"c52d74c3.6a173","wires":[["a801b938.dfe4"]]},{"id":"aed133a2.2225f8","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Get from A&amp;AI Failed for ' + $aaiinfo[$k].vserverid + '.' + $error-message`\"/>","comments":"","x":1372.88330078125,"y":256,"z":"c52d74c3.6a173","wires":[]},{"id":"4590c797.1fa088","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=\"Get Request to AnAI Failed\"/>\n<parameter name=\"field3\" value=\"`$service-configuration-notification-input.service-information.service-instance-id`\"/>\n\n","comments":"","outputs":1,"x":1301.88330078125,"y":187,"z":"c52d74c3.6a173","wires":[[]]},{"id":"44fa882d.37258","type":"save","name":"update: A&AI VNFC","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vnfc\" \nkey=\"vnfc.vnfc-name = $tmp.vserver.relationship-list.relationship[$i].relationship-data[$j].relationship-value and \nvserver.vserver-id = $aaiinfo[$k].vserverid AND \ntenant.tenant-id = $aaiinfo[$k].tenantid AND \ncloud-region.region-id = $aaiinfo[$k].cloudregionid \" \nforce=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n<parameter name=\"orchestration-status\" value=\"`$tmp.aai-orch-status`\"/>","comments":"","outputs":1,"x":1056.88330078125,"y":636,"z":"c52d74c3.6a173","wires":[["ac6f0c46.257ed8"]]},{"id":"ac6f0c46.257ed8","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":1239.88330078125,"y":637,"z":"c52d74c3.6a173","wires":[["51900e55.4456b"]]},{"id":"51900e55.4456b","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1398.88330078125,"y":639,"z":"c52d74c3.6a173","wires":[["bf4d5312.a11fc","42ec4cbb.ffb7ec"]]},{"id":"bf4d5312.a11fc","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=\"Update Request to AnAI Failed\"/>\n<parameter name=\"VNFCNAME\" value=\"`$vnfcinfo[$vnfclistlen].vnfcname`\"/>\n<parameter name=\"VSERVERID\" value=\"`$vnfcinfo[$vnfclistlen].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$vnfcinfo[$vnfclistlen].tenantid`\"/>\n\n","comments":"","outputs":1,"x":1581.88330078125,"y":596,"z":"c52d74c3.6a173","wires":[[]]},{"id":"42ec4cbb.ffb7ec","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for VNFC ' + $vnfcinfo[$vnfclistlen].vnfcname + '.' + $error-message`\"/>","comments":"","x":1643.88330078125,"y":668,"z":"c52d74c3.6a173","wires":[]},{"id":"b7f0009.11cd18","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":834.88330078125,"y":632,"z":"c52d74c3.6a173","wires":[["44fa882d.37258","6309de41.c6ea18"]]},{"id":"6309de41.c6ea18","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=\"VNFCNAME\" value=\"`$tmp.vserver.relationship-list.relationship[$i].relationship-data[$j].relationship-value`\"/>\n<parameter name=\"VSERVERID\" value=\"`$aaiinfo[$k].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$aaiinfo[$k].tenantid`\"/>\n<parameter name=\"CLOUDOWNER\" value=\"`$aaiinfo[$k].cloudowner`\"/>\n<parameter name=\"CLOUDREGIONID\" value=\"`$aaiinfo[$k].cloudregionid`\"/>\n","comments":"","outputs":1,"x":1027.88330078125,"y":581,"z":"c52d74c3.6a173","wires":[[]]}]
diff --git a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vserver-info.json b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vserver-info.json
index b451430ae..59e3973b3 100644
--- a/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vserver-info.json
+++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_update-vserver-info.json
@@ -1,21 +1 @@
-/*-
- * ============LICENSE_START=======================================================
- * ONAP : APP-C
- * ================================================================================
- * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
- * ================================================================================
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- * ============LICENSE_END=========================================================
- */
-
-[{"id":"fb57c265.1ba01","type":"dgstart","name":"DGSTART","outputs":1,"x":219,"y":54,"z":"7ec136e2.e63208","wires":[["185188b4.36cb77"]]},{"id":"185188b4.36cb77","type":"service-logic","name":"Appc-API 4.0.0","module":"Appc-API","version":"4.0.0","comments":"","xml":"<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='Appc-API' version='4.0.0'>","outputs":1,"x":390,"y":52,"z":"7ec136e2.e63208","wires":[["d3b34772.6e59f8"]]},{"id":"d3b34772.6e59f8","type":"method","name":"method update-vserver-info","xml":"<method rpc='update-vserver-info' mode='sync'>\n","comments":"","outputs":1,"x":618,"y":54,"z":"7ec136e2.e63208","wires":[["531cec36.49f504"]]},{"id":"531cec36.49f504","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":208,"y":108,"z":"7ec136e2.e63208","wires":[["875b1407.c421d8","41c061d8.a53ca","73a4109.f924ef"]]},{"id":"875b1407.c421d8","type":"set","name":"set listlen=0","xml":"<set>\n<parameter name='listlen' value='0' />\n","comments":"","x":386,"y":110,"z":"7ec136e2.e63208","wires":[]},{"id":"41c061d8.a53ca","type":"switchNode","name":"switch: relationship length","xml":"<switch test=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\">","comments":"","outputs":1,"x":240,"y":182,"z":"7ec136e2.e63208","wires":[["abcca544.fa55e8","4d4625e4.11b96c"]]},{"id":"4d4625e4.11b96c","type":"other","name":"Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":441,"y":263,"z":"7ec136e2.e63208","wires":[["782291d7.96aa1"]]},{"id":"abcca544.fa55e8","type":"outcome","name":"NULL","xml":"<outcome value=\"\">","comments":"","outputs":1,"x":448,"y":181,"z":"7ec136e2.e63208","wires":[["53fc41ee.f2a9f"]]},{"id":"53fc41ee.f2a9f","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":584,"y":180,"z":"7ec136e2.e63208","wires":[["f7e3690.45d8a98"]]},{"id":"4d016af.3128194","type":"for","name":"for: ...relationship[]","xml":"<for atomic=\"true\" index=\"i\" start=\"0\" end=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\" >","comments":"","outputs":1,"x":779,"y":269,"z":"7ec136e2.e63208","wires":[["1a71448.22d60bc"]]},{"id":"9b3225cd.90bf18","type":"switchNode","name":"switch: ...related-to","xml":"<switch test=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].related-to`\">","comments":"","outputs":1,"x":651,"y":343,"z":"7ec136e2.e63208","wires":[["df84265d.f084a8"]]},{"id":"df84265d.f084a8","type":"outcome","name":"vserver","xml":"<outcome value=\"vserver\">","comments":"","outputs":1,"x":376,"y":433,"z":"7ec136e2.e63208","wires":[["53e2f95c.eafab8"]]},{"id":"96f6935c.60847","type":"for","name":"for: ...relationship-data[]","xml":"<for atomic=\"true\" index=\"j\" start=\"0\" end=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data_length`\" >","comments":"","outputs":1,"x":774,"y":429,"z":"7ec136e2.e63208","wires":[["f4ad596a.fd0f58"]]},{"id":"7255506e.be107","type":"switchNode","name":"switch: ...relationship-key","xml":"<switch test=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-key`\">","comments":"","outputs":1,"x":1281,"y":406,"z":"7ec136e2.e63208","wires":[["93748d51.43dc5","d91de34.d004d2","8770a1e7.506fc","205912c3.6a437e"]]},{"id":"93748d51.43dc5","type":"outcome","name":"vserver-id","xml":"<outcome value=\"vserver.vserver-id\">","comments":"","outputs":1,"x":1515.5,"y":340,"z":"7ec136e2.e63208","wires":[["a9a68c63.9d993"]]},{"id":"d91de34.d004d2","type":"outcome","name":"tenant-id","xml":"<outcome value=\"tenant.tenant-id\">","comments":"","outputs":1,"x":1509,"y":413,"z":"7ec136e2.e63208","wires":[["bcb84af7.25e408"]]},{"id":"8770a1e7.506fc","type":"outcome","name":"cloud-owner","xml":"<outcome value=\"cloud-region.cloud-owner\">","comments":"","outputs":1,"x":1518,"y":502,"z":"7ec136e2.e63208","wires":[["b647ebc2.e53768"]]},{"id":"205912c3.6a437e","type":"outcome","name":"cloud-region-id","xml":"<outcome value=\"cloud-region.cloud-region-id\">","comments":"","outputs":1,"x":1518,"y":591,"z":"7ec136e2.e63208","wires":[["14d7bb26.c3cfd5"]]},{"id":"a9a68c63.9d993","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1698,"y":339,"z":"7ec136e2.e63208","wires":[["699f0edf.474f4"]]},{"id":"bcb84af7.25e408","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1699,"y":413,"z":"7ec136e2.e63208","wires":[["cb69969f.96fd98"]]},{"id":"b647ebc2.e53768","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1711,"y":503,"z":"7ec136e2.e63208","wires":[["1fc1517e.50999f"]]},{"id":"14d7bb26.c3cfd5","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1719,"y":582,"z":"7ec136e2.e63208","wires":[["c95c710e.e3083"]]},{"id":"699f0edf.474f4","type":"set","name":"set vserverid","xml":"<set>\n<parameter name=\"aaiinfo[$listlen].vserverid\" value=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`\" />\n","comments":"","x":1940,"y":346,"z":"7ec136e2.e63208","wires":[]},{"id":"cb69969f.96fd98","type":"set","name":"set tenantid","xml":"<set>\n<parameter name='aaiinfo[$listlen].tenantid' value='`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`' />\n","comments":"","x":1947,"y":413,"z":"7ec136e2.e63208","wires":[]},{"id":"1fc1517e.50999f","type":"set","name":"set cloudowner","xml":"<set>\n<parameter name='aaiinfo[$listlen].cloudowner' value='`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`' />\n","comments":"","x":1946,"y":498,"z":"7ec136e2.e63208","wires":[]},{"id":"c95c710e.e3083","type":"set","name":"set cloudregion","xml":"<set>\n<parameter name='aaiinfo[$listlen].cloudregionid' value='`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`' />\n","comments":"","x":1933,"y":571,"z":"7ec136e2.e63208","wires":[]},{"id":"f4ad596a.fd0f58","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":994,"y":430,"z":"7ec136e2.e63208","wires":[["7255506e.be107"]]},{"id":"6ede6908.924968","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"VSERVERID\" value=\"`$aaiinfo[$listlen].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$aaiinfo[$listlen].tenantid`\"/>\n<parameter name=\"CLOUDOWNER\" value=\"`$aaiinfo[$listlen].cloudowner`\"/>\n<parameter name=\"CLOUDREGIONID\" value=\"`$aaiinfo[$listlen].cloudregionid`\"/>\n","comments":"","outputs":1,"x":740,"y":590,"z":"7ec136e2.e63208","wires":[[]]},{"id":"f7e3690.45d8a98","type":"set","name":"set listlen=0","xml":"<set>\n<parameter name='listlen' value='0' />\n","comments":"","x":736,"y":177,"z":"7ec136e2.e63208","wires":[]},{"id":"9efd4b8.e1f9eb8","type":"set","name":"increment listlen","xml":"<set>\n\t<parameter name='listlen' value='`$listlen + 1`' />\n\n","comments":"","x":763,"y":778,"z":"7ec136e2.e63208","wires":[]},{"id":"8701a0e1.96a92","type":"save","name":"update: A&AI ( VM)","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vserver\" \nkey=\"vserver.vserver-id = $aaiinfo[$listlen].vserverid AND \ntenant.tenant-id = $aaiinfo[$listlen].tenantid AND\ncloud-region.cloud-owner = $aaiinfo[$listlen].cloudowner AND\ncloud-region.cloud-region-id = $aaiinfo[$listlen].cloudregionid\"\n force=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n","comments":"","outputs":1,"x":769.5,"y":654,"z":"7ec136e2.e63208","wires":[["37951ea8.1137b2"]]},{"id":"37951ea8.1137b2","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":963.5,"y":654,"z":"7ec136e2.e63208","wires":[["b793f606.57c9d8"]]},{"id":"b793f606.57c9d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1132.5,"y":655,"z":"7ec136e2.e63208","wires":[["40a42380.b197ac","e7af383f.fc57f8"]]},{"id":"40a42380.b197ac","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Update Request to AnAI Failed\"/>\n<parameter name=\"VSERVERID\" value=\"`$aaiinfo[$i].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$aaiinfo[$i].tenantid`\"/>\n\n","comments":"","outputs":1,"x":1331.5,"y":635,"z":"7ec136e2.e63208","wires":[[]]},{"id":"e7af383f.fc57f8","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $aaiinfo[$i].vserverid + ' and ' + $aaiinfo[$i].tenantid + '.' + $error-message`\"/>","comments":"","x":1406.5,"y":696,"z":"7ec136e2.e63208","wires":[]},{"id":"53e2f95c.eafab8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":552,"y":431,"z":"7ec136e2.e63208","wires":[["96f6935c.60847","8701a0e1.96a92","9efd4b8.e1f9eb8","6ede6908.924968"]]},{"id":"782291d7.96aa1","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":599,"y":267,"z":"7ec136e2.e63208","wires":[["4d016af.3128194"]]},{"id":"1a71448.22d60bc","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":453,"y":343,"z":"7ec136e2.e63208","wires":[["9b3225cd.90bf18"]]},{"id":"73a4109.f924ef","type":"record","name":"record","xml":"<record plugin=\"org.openecomp.sdnc.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"RELATIONSHIPLEN\" value=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\"/>\n\n","comments":"","outputs":1,"x":375,"y":145,"z":"7ec136e2.e63208","wires":[[]]}]
+[{"id":"fb57c265.1ba01","type":"dgstart","name":"DGSTART","outputs":1,"x":219,"y":54,"z":"7ec136e2.e63208","wires":[["185188b4.36cb77"]]},{"id":"185188b4.36cb77","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":390,"y":52,"z":"7ec136e2.e63208","wires":[["d3b34772.6e59f8"]]},{"id":"d3b34772.6e59f8","type":"method","name":"method update-vserver-info","xml":"<method rpc='update-vserver-info' mode='sync'>\n","comments":"","outputs":1,"x":618,"y":54,"z":"7ec136e2.e63208","wires":[["531cec36.49f504"]]},{"id":"531cec36.49f504","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":208,"y":108,"z":"7ec136e2.e63208","wires":[["875b1407.c421d8","41c061d8.a53ca","73a4109.f924ef"]]},{"id":"875b1407.c421d8","type":"set","name":"set listlen=0","xml":"<set>\n<parameter name='listlen' value='0' />\n","comments":"","x":386,"y":110,"z":"7ec136e2.e63208","wires":[]},{"id":"41c061d8.a53ca","type":"switchNode","name":"switch: relationship length","xml":"<switch test=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\">","comments":"","outputs":1,"x":240,"y":182,"z":"7ec136e2.e63208","wires":[["abcca544.fa55e8","4d4625e4.11b96c"]]},{"id":"4d4625e4.11b96c","type":"other","name":"Other","xml":"<outcome value=\"Other\">","comments":"","outputs":1,"x":441,"y":263,"z":"7ec136e2.e63208","wires":[["782291d7.96aa1"]]},{"id":"abcca544.fa55e8","type":"outcome","name":"NULL","xml":"<outcome value=\"\">","comments":"","outputs":1,"x":448,"y":181,"z":"7ec136e2.e63208","wires":[["53fc41ee.f2a9f"]]},{"id":"53fc41ee.f2a9f","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":584,"y":180,"z":"7ec136e2.e63208","wires":[["f7e3690.45d8a98"]]},{"id":"4d016af.3128194","type":"for","name":"for: ...relationship[]","xml":"<for atomic=\"true\" index=\"i\" start=\"0\" end=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\" >","comments":"","outputs":1,"x":779,"y":269,"z":"7ec136e2.e63208","wires":[["1a71448.22d60bc"]]},{"id":"9b3225cd.90bf18","type":"switchNode","name":"switch: ...related-to","xml":"<switch test=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].related-to`\">","comments":"","outputs":1,"x":651,"y":343,"z":"7ec136e2.e63208","wires":[["df84265d.f084a8"]]},{"id":"df84265d.f084a8","type":"outcome","name":"vserver","xml":"<outcome value=\"vserver\">","comments":"","outputs":1,"x":376,"y":433,"z":"7ec136e2.e63208","wires":[["53e2f95c.eafab8"]]},{"id":"96f6935c.60847","type":"for","name":"for: ...relationship-data[]","xml":"<for atomic=\"true\" index=\"j\" start=\"0\" end=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data_length`\" >","comments":"","outputs":1,"x":774,"y":429,"z":"7ec136e2.e63208","wires":[["f4ad596a.fd0f58"]]},{"id":"7255506e.be107","type":"switchNode","name":"switch: ...relationship-key","xml":"<switch test=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-key`\">","comments":"","outputs":1,"x":1281,"y":406,"z":"7ec136e2.e63208","wires":[["93748d51.43dc5","d91de34.d004d2","8770a1e7.506fc","205912c3.6a437e"]]},{"id":"93748d51.43dc5","type":"outcome","name":"vserver-id","xml":"<outcome value=\"vserver.vserver-id\">","comments":"","outputs":1,"x":1515.5,"y":340,"z":"7ec136e2.e63208","wires":[["a9a68c63.9d993"]]},{"id":"d91de34.d004d2","type":"outcome","name":"tenant-id","xml":"<outcome value=\"tenant.tenant-id\">","comments":"","outputs":1,"x":1509,"y":413,"z":"7ec136e2.e63208","wires":[["bcb84af7.25e408"]]},{"id":"8770a1e7.506fc","type":"outcome","name":"cloud-owner","xml":"<outcome value=\"cloud-region.cloud-owner\">","comments":"","outputs":1,"x":1518,"y":502,"z":"7ec136e2.e63208","wires":[["b647ebc2.e53768"]]},{"id":"205912c3.6a437e","type":"outcome","name":"cloud-region-id","xml":"<outcome value=\"cloud-region.cloud-region-id\">","comments":"","outputs":1,"x":1518,"y":591,"z":"7ec136e2.e63208","wires":[["14d7bb26.c3cfd5"]]},{"id":"a9a68c63.9d993","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1698,"y":339,"z":"7ec136e2.e63208","wires":[["699f0edf.474f4"]]},{"id":"bcb84af7.25e408","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1699,"y":413,"z":"7ec136e2.e63208","wires":[["cb69969f.96fd98"]]},{"id":"b647ebc2.e53768","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1711,"y":503,"z":"7ec136e2.e63208","wires":[["1fc1517e.50999f"]]},{"id":"14d7bb26.c3cfd5","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":1719,"y":582,"z":"7ec136e2.e63208","wires":[["c95c710e.e3083"]]},{"id":"699f0edf.474f4","type":"set","name":"set vserverid","xml":"<set>\n<parameter name=\"aaiinfo[$listlen].vserverid\" value=\"`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`\" />\n","comments":"","x":1940,"y":346,"z":"7ec136e2.e63208","wires":[]},{"id":"cb69969f.96fd98","type":"set","name":"set tenantid","xml":"<set>\n<parameter name='aaiinfo[$listlen].tenantid' value='`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`' />\n","comments":"","x":1947,"y":413,"z":"7ec136e2.e63208","wires":[]},{"id":"1fc1517e.50999f","type":"set","name":"set cloudowner","xml":"<set>\n<parameter name='aaiinfo[$listlen].cloudowner' value='`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`' />\n","comments":"","x":1946,"y":498,"z":"7ec136e2.e63208","wires":[]},{"id":"c95c710e.e3083","type":"set","name":"set cloudregion","xml":"<set>\n<parameter name='aaiinfo[$listlen].cloudregionid' value='`$tmp.aai-data-vnf.relationship-list.relationship[$i].relationship-data[$j].relationship-value`' />\n","comments":"","x":1933,"y":571,"z":"7ec136e2.e63208","wires":[]},{"id":"f4ad596a.fd0f58","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":994,"y":430,"z":"7ec136e2.e63208","wires":[["7255506e.be107"]]},{"id":"6ede6908.924968","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=\"VSERVERID\" value=\"`$aaiinfo[$listlen].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$aaiinfo[$listlen].tenantid`\"/>\n<parameter name=\"CLOUDOWNER\" value=\"`$aaiinfo[$listlen].cloudowner`\"/>\n<parameter name=\"CLOUDREGIONID\" value=\"`$aaiinfo[$listlen].cloudregionid`\"/>\n","comments":"","outputs":1,"x":740,"y":590,"z":"7ec136e2.e63208","wires":[[]]},{"id":"f7e3690.45d8a98","type":"set","name":"set listlen=0","xml":"<set>\n<parameter name='listlen' value='0' />\n","comments":"","x":736,"y":177,"z":"7ec136e2.e63208","wires":[]},{"id":"9efd4b8.e1f9eb8","type":"set","name":"increment listlen","xml":"<set>\n\t<parameter name='listlen' value='`$listlen + 1`' />\n\n","comments":"","x":763,"y":778,"z":"7ec136e2.e63208","wires":[]},{"id":"8701a0e1.96a92","type":"save","name":"update: A&AI ( VM)","xml":"<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" resource=\"vserver\" \nkey=\"vserver.vserver-id = $aaiinfo[$listlen].vserverid AND \ntenant.tenant-id = $aaiinfo[$listlen].tenantid AND\ncloud-region.cloud-owner = $aaiinfo[$listlen].cloudowner AND\ncloud-region.cloud-region-id = $aaiinfo[$listlen].cloudregionid\"\n force=\"true\" local-only=\"false\" pfx=\"tmp.AnAI-data.vnf\" >\n<parameter name=\"prov-status\" value=\"`$tmp.aai-prov-status`\"/>\n","comments":"","outputs":1,"x":769.5,"y":654,"z":"7ec136e2.e63208","wires":[["37951ea8.1137b2"]]},{"id":"37951ea8.1137b2","type":"failure","name":"failure","xml":"<outcome value='failure'>\n","comments":"","outputs":1,"x":963.5,"y":654,"z":"7ec136e2.e63208","wires":[["b793f606.57c9d8"]]},{"id":"b793f606.57c9d8","type":"block","name":"block : atomic","xml":"<block atomic='true'>","atomic":"true","comments":"","outputs":1,"x":1132.5,"y":655,"z":"7ec136e2.e63208","wires":[["40a42380.b197ac","e7af383f.fc57f8"]]},{"id":"40a42380.b197ac","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=\"Update Request to AnAI Failed\"/>\n<parameter name=\"VSERVERID\" value=\"`$aaiinfo[$i].vserverid`\"/>\n<parameter name=\"TENANTID\" value=\"`$aaiinfo[$i].tenantid`\"/>\n\n","comments":"","outputs":1,"x":1331.5,"y":635,"z":"7ec136e2.e63208","wires":[[]]},{"id":"e7af383f.fc57f8","type":"set","name":"set: Append to error message","xml":"<set>\n\t <parameter name=\"error-message\" value=\"`'Update to A&amp;AI Failed for ' + $aaiinfo[$i].vserverid + ' and ' + $aaiinfo[$i].tenantid + '.' + $error-message`\"/>","comments":"","x":1406.5,"y":696,"z":"7ec136e2.e63208","wires":[]},{"id":"53e2f95c.eafab8","type":"block","name":"block : atomic","xml":"<block atomic=\"true\">","atomic":"true","outputs":1,"x":552,"y":431,"z":"7ec136e2.e63208","wires":[["96f6935c.60847","8701a0e1.96a92","9efd4b8.e1f9eb8","6ede6908.924968"]]},{"id":"782291d7.96aa1","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":599,"y":267,"z":"7ec136e2.e63208","wires":[["4d016af.3128194"]]},{"id":"1a71448.22d60bc","type":"block","name":"block","xml":"<block>","atomic":"false","comments":"","outputs":1,"x":453,"y":343,"z":"7ec136e2.e63208","wires":[["9b3225cd.90bf18"]]},{"id":"73a4109.f924ef","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=\"RELATIONSHIPLEN\" value=\"`$tmp.aai-data-vnf.relationship-list.relationship_length`\"/>\n\n","comments":"","outputs":1,"x":375,"y":145,"z":"7ec136e2.e63208","wires":[[]]}]