http:wait
Full name:
org.kuali.maven.plugins:maven-http-plugin:1.0.0-SNAPSHOT:wait
Description:
Repeatedly contact the specified HTTP URL until a valid HTTP
response code is returned or the maximum wait timeout is exceeded,
whichever comes first.
Attributes:
- Requires a Maven project to be executed.
- Since version: 1.0.
- Invokes the execution of the lifecycle phase validate prior to executing itself.
Optional Parameters
Name |
Type |
Since |
Description |
dateFormat |
String |
1.0 |
The format to use when displaying dates in the log messages Default value is: yyyy-MM-dd HH:mm:ss z. |
httpSuccessCodes |
String |
1.0 |
Comma separated list of HTTP status codes that represent success Default value is: 200,302,304. |
requestTimeout |
int |
1.0 |
The maximum number of milliseconds to wait for an individual HTTP
request to complete Default value is: 3000. |
sleepInterval |
int |
1.0 |
The number of milliseconds to sleep in between HTTP requests Default value is: 3000. |
timeout |
int |
1.0 |
The maximum number of seconds to wait for the url to respond
correctly Default value is: 180. |
url |
String |
1.0 |
The url to contact Default value is: http://localhost. |
Parameter Details
dateFormat:
The format to use when displaying dates in the log messages
- Type: java.lang.String
- Since: 1.0
- Required: No
- Expression: ${http.dateFormat}
- Default: yyyy-MM-dd HH:mm:ss z
httpSuccessCodes:
Comma separated list of HTTP status codes that represent success
- Type: java.lang.String
- Since: 1.0
- Required: No
- Expression: ${http.successCodes}
- Default: 200,302,304
requestTimeout:
The maximum number of milliseconds to wait for an individual HTTP
request to complete
- Type: int
- Since: 1.0
- Required: No
- Expression: ${http.requestTimeout}
- Default: 3000
sleepInterval:
The number of milliseconds to sleep in between HTTP requests
- Type: int
- Since: 1.0
- Required: No
- Expression: ${http.sleepInterval}
- Default: 3000
timeout:
The maximum number of seconds to wait for the url to respond
correctly
- Type: int
- Since: 1.0
- Required: No
- Expression: ${http.timeout}
- Default: 180
url:
The url to contact
- Type: java.lang.String
- Since: 1.0
- Required: No
- Expression: ${http.url}
- Default: http://localhost