[ 
https://issues.apache.org/jira/browse/SLING-12417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joerg Hoh updated SLING-12417:
------------------------------
    Description: 
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.

  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 (no log statement 
indicating this).

We should have a healthcheck which exposes the information, that processing of 
capabilities is ongoing (or not). This combined with the information that all 
bundles are active should give a good indication, if it's safe to start request 
handling.


> [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
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to