FYI I took a crack at adding a webconsole status screen for this:
https://github.com/apache/sling-org-apache-sling-feature-apiregions/pull/16/files.
You can see the format in one of the test artifacts:
Wouldn't it be nice to build a web console interface for this? Looks very
cumbersome at the moment and after having talks with internal Adobe
customer support I can already tell you that even support doesn't know how
api regions work (I asked why a package was not exported in Global, and
they just
There's a reason for that. :-) I revised the script following your email.
Rev 1 used reflection to construct a new RegionConfiguration using the
BundleContext.
On Mon, Aug 23, 2021, 3:04 AM David Bosschaert
wrote:
> Hi Daniel,
>
> Only looked at your groovy script after I wrote the mail and I
Hi Daniel,
Only looked at your groovy script after I wrote the mail and I see that it
does pretty much exactly what I described :)
The RegionConfiguration class also allows dynamic changes to the
configuration which can be found via ConfigAdmin.
Cheers,
David
On Sun, 22 Aug 2021 at 22:49,
Hi Daniel,
You can find the API Regions definitions via the ResolverHookFactory
service that implements the API Regions at runtime. Just look for the
ResolverHookFactory service and then check its *.properties service
registration properties. They contain the full path of the associated files: