[ 
https://issues.apache.org/jira/browse/SLING-6543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Windszus updated SLING-6543:
-----------------------------------
    Fix Version/s: Slingstart Maven Plugin 1.8.2

> slingstart-maven-plugin: Optionally make the start mojo blocking until the 
> server is fully up and running
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SLING-6543
>                 URL: https://issues.apache.org/jira/browse/SLING-6543
>             Project: Sling
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: Slingstart Maven Plugin 1.7.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: Slingstart Maven Plugin 1.8.2
>
>
> Right now the {{start}} goal will only start the server (in a dedicated 
> process) and then return when the control port returns that the server is 
> started. 
> That does not necessarily mean that all services from all bundles are already 
> fully started. Especially in some cases the HTTP port is not yet bound!
> It should be possible to block until the server is fully started and some 
> services are up and running. Otherwise follow-up processes (like 
> {{maven-failsafe-plugin}}) will need to implement some wait approach.
> One possibility is to issue repeated GET requests against the instance at a 
> dedicated URL until it reports a 200 (similar to what is done in 
> {{SlingTestBase.waitForServerReady(...)}} 
> (https://github.com/apache/sling/blob/trunk/testing/tools/src/main/java/org/apache/sling/testing/tools/sling/SlingTestBase.java#L263).
>  The list of URLs must be configurable.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to