Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lhns/http-wait

Simple http proxy that retries the request and delays the response until an expected status code is received
https://github.com/lhns/http-wait

http microservice proxy

Last synced: 17 days ago
JSON representation

Simple http proxy that retries the request and delays the response until an expected status code is received

Awesome Lists containing this project

README

        

# http-wait
[![Docker Workflow](https://github.com/lhns/http-wait/workflows/Docker/badge.svg)](https://github.com/lhns/http-wait/actions?query=workflow%3ADocker)
[![Release Notes](https://img.shields.io/github/release/lhns/http-wait.svg?maxAge=3600)](https://github.com/lhns/http-wait/releases/latest)
[![Apache License 2.0](https://img.shields.io/github/license/lhns/http-wait.svg?maxAge=3600)](https://www.apache.org/licenses/LICENSE-2.0)

Simple http proxy that retries the request and delays the response until an expected status code is received.

## Enviromnet variables
- **LOG_LEVEL**: log level (default: INFO)
- **SERVER_HOST**: listen host (default: 0.0.0.0)
- **SERVER_PORT**: listen port (default: 8080)
- **STATUS_CODES**: expected status codes comma separated (default: 200)
- **RETRY_TIMEOUT**: time to delay response until gateway timeout (default: 5min)
- **RETRY_INTERVAL**: retry interval (default: 5s)
- **CONNECT_TIMEOUT**: gateway connect timeout (default: RETRY_INTERVAL)

## Docker builds
https://github.com/users/lhns/packages/container/package/http-wait

## License
This project uses the Apache 2.0 License. See the file called LICENSE.