Hi Oliver,

On Wed, Jun 20, 2018 at 7:48 PM Oliver Lietz <[email protected]> wrote:
> ...is there no way already to query all available OSGi Capabilities?...

That's probably possible but I'm focusing on application-level
capabilities here, which might not map directly to OSGi capabilities.

For example, an external image processing service might be available
(configured, with valid credentials) or not, a Sling Health Check
might validate that and provide a CapabilitiesSource with the results,
that HTTP clients can get.

OTOH if OSGi capabilities are relevant for these HTTP clients, it's
easy to create a CapabilitiesSource to expose some or all of them.

-Bertrand

Reply via email to