[ 
https://issues.apache.org/jira/browse/SLING-2197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093472#comment-13093472
 ] 

Carsten Ziegeler commented on SLING-2197:
-----------------------------------------

Please note that there is no official rest api of the OSGi console! So whatever 
might work with the current version might not work with a newer version of the 
console.

I suggest to add such a functionality to a testing bundle running server side - 
or make use of the OSGi installer

> Sling testing tools: verify that all bundles are started after installing them
> ------------------------------------------------------------------------------
>
>                 Key: SLING-2197
>                 URL: https://issues.apache.org/jira/browse/SLING-2197
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Bertrand Delacretaz
>
> After installing additional bundles, the SlingTestBase class should check 
> that they are all started, try to start those that are not, and exit only 
> once they are all started or a time out occurs.
> Best might be to add the following methods to the WebconsoleClient class:
> startBundle(String symbolicName)
> String getBundleState(String symbolicName)
> startAllBundles(String ...symbolicName)
> And use those new methods in the SlingTestBase class.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to