You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by en...@apache.org on 2022/11/19 22:18:55 UTC
[sling-org-apache-sling-hc-support] branch master updated: SLING-11444 describe deprecated migration
This is an automated email from the ASF dual-hosted git repository.
enorman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-hc-support.git
The following commit(s) were added to refs/heads/master by this push:
new 211fabe SLING-11444 describe deprecated migration
211fabe is described below
commit 211fabe7933c4439e23b1c8b960ba18dcbf5c51d
Author: Eric Norman <en...@apache.org>
AuthorDate: Sat Nov 19 14:18:51 2022 -0800
SLING-11444 describe deprecated migration
---
README.md | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index fb28b2d..d480a62 100644
--- a/README.md
+++ b/README.md
@@ -10,4 +10,12 @@ Additional general purpose health checks. Module specific health checks should b
## DEPRECATED
-Note that this functionality has **moved to the [org.apache.felix.healthcheck.generalchecks](https://github.com/apache/felix-dev/tree/master/healthcheck/generalchecks) and [org.apache.sling.auth.core](https://github.com/apache/sling-org-apache-sling-auth-core) modules**
+Note that this functionality has moved to the [org.apache.felix.healthcheck.generalchecks](https://github.com/apache/felix-dev/tree/master/healthcheck/generalchecks) and [org.apache.sling.auth.core](https://github.com/apache/sling-org-apache-sling-auth-core) modules
+
+#### Migration to non-deprecated alternatives
+Any configuration that was registered using the old PID should be moved to the new PID as below:
+
+Deprecated Factory PID | New Factory PID
+--- | ---
+org.apache.sling.hc.support.DefaultLoginsHealthCheck | org.apache.sling.auth.core.DefaultLoginsHealthCheck
+org.apache.sling.hc.support.ScriptedHealthCheck | org.apache.felix.hc.generalchecks.ScriptedHealthCheck