diff options
author | 2017-08-15 21:18:04 -0500 | |
---|---|---|
committer | 2017-08-18 05:46:40 +0000 | |
commit | cf4b15ab00249af6f4d05afd75d16bec689f3241 (patch) | |
tree | 14468fef53aecf04700eab421acca88fc8e853d4 /appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_audit-configuration-notification.json | |
parent | ab6c2c0cd441cf40723016e9a82aeeeb933fec7e (diff) |
Initial add of appc-directed-graph bundles
Directed Graph library
Additional JIRA Issues: APPC-66, APPC-71, APPC-74
Issue-ID: APPC-65
Change-Id: I1bd643f7675dec19e562e99db65bafa0dcda6ef4
Signed-off-by: Skip Wonnell <kw5258@att.com>
Diffstat (limited to 'appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_audit-configuration-notification.json')
-rw-r--r-- | appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_audit-configuration-notification.json | 21 |
1 files changed, 21 insertions, 0 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 new file mode 100644 index 000000000..239e119cc --- /dev/null +++ b/appc-directed-graph/appc-dgraph/provider/src/main/resources/json/Appc-API/Appc-API_audit-configuration-notification.json @@ -0,0 +1,21 @@ +/*- + * ============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":[[]]}] |