[ https://issues.apache.org/jira/browse/SCB-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16349919#comment-16349919 ]
ASF GitHub Bot commented on SCB-324: ------------------------------------ coveralls commented on issue #543: [SCB-324] Fault-Injection handler implementation URL: https://github.com/apache/incubator-servicecomb-java-chassis/pull/543#issuecomment-362319234 [![Coverage Status](https://coveralls.io/builds/15340337/badge)](https://coveralls.io/builds/15340337) Coverage increased (+0.03%) to 87.346% when pulling **fd3f3308c1fdf2bd8ceae54f35d61bc1be2bbfea on maheshrajus:master** into **25fe20db66cfa96c524111c775f9415b16917c75 on apache:master**. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Chassis must support network failure simulation, so that I can developers can > enhance the robustness of the app > --------------------------------------------------------------------------------------------------------------- > > Key: SCB-324 > URL: https://issues.apache.org/jira/browse/SCB-324 > Project: Apache ServiceComb > Issue Type: Task > Components: Java-Chassis > Reporter: sukesh > Assignee: sukesh > Priority: Minor > Fix For: java-chassis-1.0.0-m1 > > > Add new handler for fault injection. > 1) If handler 'fault-injection' is added in application property > file(microservice.yaml) then fault-injection handler should include in > handler chain. > 2) When handler is called read the configuration and listen the configuration > event related to fault inject. The sample configuration file is in next slide. > 3) The configuration mainly consist > -delay > -abort > *delay:*can set the delay for requests based on percentage configured. The > unit is ms. The delay percentage default value is 100% > *abort*: Abort the requests based on percentage configured. For rest > transport protocol error code can be configurable(500, 421) and highway > protocol does not support for error return. The abort percentage default > value is 100% > 4) This features currently supports at consumer side. -- This message was sent by Atlassian JIRA (v7.6.3#76005)