This is an automated email from the ASF dual-hosted git repository.
cziegeler pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-servlets-resolver.git
The following commit(s) were added to refs/heads/master by this push:
new a474650 SLING-12599 : Make dependency to Apache Felix HC optional
a474650 is described below
commit a4746506528aa8a7411d675c17d684e67ff6d36a
Author: Carsten Ziegeler <[email protected]>
AuthorDate: Mon Mar 31 08:56:03 2025 +0200
SLING-12599 : Make dependency to Apache Felix HC optional
---
.../sling/servlets/resolver/internal/bundle/BundledScriptTrackerHC.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/src/main/java/org/apache/sling/servlets/resolver/internal/bundle/BundledScriptTrackerHC.java
b/src/main/java/org/apache/sling/servlets/resolver/internal/bundle/BundledScriptTrackerHC.java
index 9a7d3a4..03e2d90 100644
---
a/src/main/java/org/apache/sling/servlets/resolver/internal/bundle/BundledScriptTrackerHC.java
+++
b/src/main/java/org/apache/sling/servlets/resolver/internal/bundle/BundledScriptTrackerHC.java
@@ -31,12 +31,14 @@ import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
import org.osgi.service.component.annotations.Activate;
import org.osgi.service.component.annotations.Component;
+import org.osgi.service.component.annotations.ConfigurationPolicy;
import org.osgi.service.component.annotations.Reference;
import org.osgi.service.metatype.annotations.AttributeDefinition;
import org.osgi.service.metatype.annotations.Designate;
import org.osgi.service.metatype.annotations.ObjectClassDefinition;
@Component(
+ configurationPolicy = ConfigurationPolicy.REQUIRE,
property = {
"felix.healthcheck.name=BundledScriptTracker",
},