Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lhns/http-wait
- Owner: lhns
- License: apache-2.0
- Created: 2020-06-13T23:14:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-07T00:23:36.000Z (about 1 month ago)
- Last Synced: 2024-10-11T00:09:26.625Z (about 1 month ago)
- Topics: http, microservice, proxy
- Language: Scala
- Homepage: https://github.com/users/LolHens/packages/container/package/http-wait
- Size: 169 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.