[
https://issues.apache.org/jira/browse/SLING-12417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu updated SLING-12417:
---------------------------------
Description:
When using bundled (and potentially precompiled) scripts, the information about
the provided scripts is exposed by a bundle using capabilities. These
capabilities are loaded async, and it's unclear when the loading process is
completed (a log statement was added with SLING-12461).
We should have a health check which can be configured with the symbolic names
of all expected bundles to contain such precompiled scripts. When all of these
have been correctly processed, the health check should return OK.
was:
When using precompiled scripts, the information about the scriptlets are
exposed by the bundle using capabilities. These capabilities are loaded async,
and it's unclear when the loading process is completed (a log statement was
added with SLING-12461).
We should have a healthcheck which can be configured with the symbolic names of
all expected bundles to contain such precompiled scripts. When all of these
have been correctly processed, the healthcheck should return OK.
> [Compiled Scripts] Add healthcheck for loading capabilities
> -----------------------------------------------------------
>
> Key: SLING-12417
> URL: https://issues.apache.org/jira/browse/SLING-12417
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Affects Versions: Servlets Resolver 2.11.2
> Reporter: Joerg Hoh
> Assignee: Joerg Hoh
> Priority: Major
>
> When using bundled (and potentially precompiled) scripts, the information
> about the provided scripts is exposed by a bundle using capabilities. These
> capabilities are loaded async, and it's unclear when the loading process is
> completed (a log statement was added with SLING-12461).
> We should have a health check which can be configured with the symbolic names
> of all expected bundles to contain such precompiled scripts. When all of
> these have been correctly processed, the health check should return OK.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)