You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by pa...@apache.org on 2020/09/14 11:12:43 UTC

[sling-org-apache-sling-commons-scheduler] branch master updated: SLING-8354 Migrate to Felix HC API

This is an automated email from the ASF dual-hosted git repository.

pauls pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-scheduler.git


The following commit(s) were added to refs/heads/master by this push:
     new 91ccd34  SLING-8354 Migrate to Felix HC API
91ccd34 is described below

commit 91ccd34e1081bbd8f013052c029f85aae2e9fec5
Author: georg.henzler <ge...@netcentric.biz>
AuthorDate: Wed Aug 5 01:00:49 2020 +0200

    SLING-8354 Migrate to Felix HC API
---
 pom.xml                                                          | 9 ++++-----
 .../sling/commons/scheduler/impl/SchedulerHealthCheck.java       | 6 +++---
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/pom.xml b/pom.xml
index 2d18de7..f2ce6dd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -85,8 +85,7 @@
                             !javax.xml.bind,
                             org.apache.sling.discovery;resolution:=optional,
                             org.apache.sling.settings;resolution:=optional,
-                            org.apache.sling.hc.api;resolution:=optional,
-                            org.apache.sling.hc.util;resolution:=optional,
+                            org.apache.felix.hc.api;resolution:=optional,
                             *                        
                         </Import-Package>
                         <Export-Package>
@@ -176,9 +175,9 @@
             <scope>provided</scope>
         </dependency>
         <dependency>
-            <groupId>org.apache.sling</groupId>
-            <artifactId>org.apache.sling.hc.core</artifactId>
-            <version>1.0.6</version>
+            <groupId>org.apache.felix</groupId>
+            <artifactId>org.apache.felix.healthcheck.api</artifactId>
+            <version>2.0.0</version>
             <scope>provided</scope>
         </dependency>
         <dependency>
diff --git a/src/main/java/org/apache/sling/commons/scheduler/impl/SchedulerHealthCheck.java b/src/main/java/org/apache/sling/commons/scheduler/impl/SchedulerHealthCheck.java
index 6cb51aa..82dd1cd 100644
--- a/src/main/java/org/apache/sling/commons/scheduler/impl/SchedulerHealthCheck.java
+++ b/src/main/java/org/apache/sling/commons/scheduler/impl/SchedulerHealthCheck.java
@@ -22,9 +22,9 @@ import java.util.Iterator;
 import java.util.Map.Entry;
 import java.util.SortedMap;
 
-import org.apache.sling.hc.api.HealthCheck;
-import org.apache.sling.hc.api.Result;
-import org.apache.sling.hc.util.FormattingResultLog;
+import org.apache.felix.hc.api.HealthCheck;
+import org.apache.felix.hc.api.Result;
+import org.apache.felix.hc.api.FormattingResultLog;
 import org.osgi.framework.Constants;
 import org.osgi.service.component.annotations.Activate;
 import org.osgi.service.component.annotations.Component;