Proxy recording failed requests
Working schema:
- Take requests.
- Do them to the target.
- Return the targets response to the caller. [TODO]
- If target fails: save the failed request and response.
- Present failed requests in an UI or CLI. [TODO]
- Do the requests using the CircuitBreaker design pattern. [TODO]
This was started on ElixirBridge no.2 at Elixir Tricity. The main purpose is to learn together and teach Elixir to others.
If available in Hex, the package can be installed
by adding excallback
to your list of dependencies in mix.exs
:
def deps do
[
{:excallback, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/excallback.