Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-324

Chassis must support network failure simulation, so that I can developers can enhance the robustness of the app

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            acsukesh Aray Chenchu Sukesh
            acsukesh Aray Chenchu Sukesh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: