Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scravy/waitfor-maven-plugin
Wait for a URL to become available
https://github.com/scravy/waitfor-maven-plugin
integration-testing integration-tests java-8 java8 maven-plugin
Last synced: about 2 months ago
JSON representation
Wait for a URL to become available
- Host: GitHub
- URL: https://github.com/scravy/waitfor-maven-plugin
- Owner: scravy
- License: bsd-2-clause
- Created: 2018-04-04T15:30:25.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2022-05-10T04:36:56.000Z (over 2 years ago)
- Last Synced: 2023-07-03T10:42:45.225Z (over 1 year ago)
- Topics: integration-testing, integration-tests, java-8, java8, maven-plugin
- Language: Java
- Size: 29.3 KB
- Stars: 7
- Watchers: 10
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# waitfor-maven-plugin [![Build Status](https://travis-ci.org/scravy/waitfor-maven-plugin.svg?branch=main)](https://travis-ci.org/scravy/waitfor-maven-plugin)
Maven Coordinates:
de.scravy
waitfor-maven-plugin
1.4## Minimal Configuration Example
de.scravy
waitfor-maven-plugin
1.4
wait-for-environment-to-be-up
pre-integration-test
waitfor
http://localhost:8080/health
http://localhost:8080/loaded_components
{"component_1": "loaded", "component_2": "loaded"}
## Full Configuration Example
de.scravy
waitfor-maven-plugin
1.4
wait-for-environment-to-be-up
pre-integration-test
waitfor
false
false
false
false
true
30
500
http://localhost:9090/health
GET
200
Authorization
Bearer SOMETOKEN
http://localhost:9090/resource
POST
201
{
"some": "thing"
}
Content-Type
application/json
## Options
### insecure
The `insecure` flag allows bypassing https certificate checks. This is handy when using self-signed certificates for
example.### redirect
The `redirect` flag allows following or not the 302 REDIRECT response. Set it to `false` to avoid redirect.
If a redirect is sent by the server, the `statusCode` will be `302`.