Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PingURL for deployable #75

Open
voitau opened this issue Jan 29, 2014 · 4 comments
Open

PingURL for deployable #75

voitau opened this issue Jan 29, 2014 · 4 comments

Comments

@voitau
Copy link

voitau commented Jan 29, 2014

Cargo maven2 plugin has this option:

pingURL

"URL on which to ping the deployed or undeployed application (to check if deployment or undeployment is successful), that should return an HTTP OK response only after the deployment is complete. If not set, the deployed or undeployed application will not be pinged, hence the deployment considered as complete as soon as the target server's method returns successfully."

Source: http://cargo.codehaus.org/Maven2+Plugin+Reference+Guide

Nice to have feature. For JBoss 7 cargoStartLocal finishes as soon as app server is started and is not waiting for deployment to complete. pingURL helps to wait for deployment.

@bmuschko
Copy link
Owner

I am happy about every contribution. Please submit a pull request if you need this feature soon.

@bmuschko
Copy link
Owner

The Ant task currently does not support these attributes. Before this can be implemented Cargo will need to support it first. For more information see this discussion on the Cargo user mailing list.

@bmuschko
Copy link
Owner

bmuschko commented Apr 2, 2014

Cargo 1.4.8 now supports the configuration of a pingable URL. I am open to pull requests. :-)

@sohag245

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants