sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konrad Windszus (JIRA)" <>
Subject [jira] [Assigned] (SLING-7297) Add methods to wait for OSGi components and OSGi services
Date Sun, 10 Dec 2017 11:05:03 GMT


Konrad Windszus reassigned SLING-7297:

    Assignee: Konrad Windszus

> Add methods to wait for OSGi components and OSGi services
> ---------------------------------------------------------
>                 Key: SLING-7297
>                 URL:
>             Project: Sling
>          Issue Type: Improvement
>          Components: Apache Sling Testing Clients
>    Affects Versions: Apache Sling Testing Clients 1.1.4
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
> Sometimes in an IT you need to wait for a specific OSGi component or service to be available
(i.e. active). Just waiting for the bundle is not necessarily enough, as the contained services/components
might not yet have been started. Therefore having the following additional two methods would
be beneficial: 
> # {{waitComponentActive(String componentName, long, long}} to wait until the component
with given name is active and 
> # {{waitServiceAvailable(String serviceType, String bundleSymbolicName, long, long)}}
to wait until a service of the given type is available. If the bundleSymbolicName is not null
it should also check that this service is being registered from the given bundle.
> The following ReST calls against the Apache Felix WebConsole can be used to check for
> {{/system/console/components/<componentName>.json}} returns metadata about a specific
component. All services are listed via {{/system/console/services.json}}. This can be used
to extract information about a specific service.
> See also the related discussion at:

This message was sent by Atlassian JIRA

View raw message