You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Amit Mondal (Jira)" <ji...@apache.org> on 2022/09/23 09:00:00 UTC
[jira] [Created] (FELIX-6565) Make HTTP Servlet dependency optional in HealthCheck core bundle
Amit Mondal created FELIX-6565:
----------------------------------
Summary: Make HTTP Servlet dependency optional in HealthCheck core bundle
Key: FELIX-6565
URL: https://issues.apache.org/jira/browse/FELIX-6565
Project: Felix
Issue Type: Improvement
Components: Health Checks
Reporter: Amit Mondal
Currently, the Felix HealthCheck core bundle mandatorily imports _*javax.servlet*_ package which is used by {_}*HealthCheckExecutorServlet*{_}. In our current system, we don't use HTTP at all, hence, _*javax.servlet*_ is not available in the runtime. Hence, the health checks don't work as it mandatorily requires _*javax.servlet*_ package dependency. Since, _*HealthCheckExecutorServlet*_ is not a core component for the health checks, we can consider the following options:
# Provide a separate bundle with HTTP dependency (invasive approach)
# Make _*javax.servlet*_ an optional package for HealthCheck core and conditionally enable _*HealthCheckExecutorServlet*_ component if _*javax.servlet*_ is wired to the HealthCheck core bundle (similar approach we did for Quartz to check the availability of Quartz in runtime)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)