You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/10/18 23:27:11 UTC

[sling-org-apache-sling-installer-hc] 06/11: shorten description for URL prefixes, add tag installer

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

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-installer-hc.git

commit de9ea00befded786435f6aebca52dd1e246ae77e
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Thu Mar 2 07:19:10 2017 +0000

    shorten description for URL prefixes, add tag installer
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1785074 13f79535-47bb-0310-9956-ffa450edef68
---
 .../apache/sling/installer/hc/OsgiInstallerHealthCheck.java   | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/installer/hc/OsgiInstallerHealthCheck.java b/src/main/java/org/apache/sling/installer/hc/OsgiInstallerHealthCheck.java
index e423664..ab7abb4 100644
--- a/src/main/java/org/apache/sling/installer/hc/OsgiInstallerHealthCheck.java
+++ b/src/main/java/org/apache/sling/installer/hc/OsgiInstallerHealthCheck.java
@@ -37,7 +37,14 @@ import org.osgi.service.cm.ConfigurationAdmin;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
-@SlingHealthCheck(name = OsgiInstallerHealthCheck.HC_NAME, description = "Checks that all OSGi configurations/bundles are successfully installed by the OSGi Installer (and are not skipped for some reason).", tags = "osgi")
+@SlingHealthCheck(
+    name = OsgiInstallerHealthCheck.HC_NAME,
+    description = "Checks that all OSGi configurations/bundles are successfully installed by the OSGi Installer (and are not skipped for some reason).",
+    tags = {
+        "installer",
+        "osgi"
+    }
+)
 public class OsgiInstallerHealthCheck implements HealthCheck {
     protected static final String HC_NAME = "OSGi Installer Health Check";
 
@@ -48,7 +55,7 @@ public class OsgiInstallerHealthCheck implements HealthCheck {
 
     private static final String DEFAULT_URL_PREFIX = "jcrinstall:/apps/";
 
-    @Property(label = "URL Prefixes to consider", description = "Only those OSGi configurations/bundles whose location are starting with one of the given URL prefixes are checked (whether they are installed correctly). Open /system/console/osgi-installer for a list of valid prefixes. The bundles/configs with those prefixes are asserted to be successfully installed under all circumstances!", cardinality = 1, value = DEFAULT_URL_PREFIX)
+    @Property(label = "URL Prefixes to consider", description = "Only those OSGi configurations/bundles whose location are starting with one of the given URL prefixes are checked (whether they are installed correctly). Open /system/console/osgi-installer for a list of valid prefixes.", cardinality = 1, value = DEFAULT_URL_PREFIX)
     static final String PROP_URL_PREFIXES = "urlPrefixes";
 
     @Property(label = "Check Bundles", description = "If enabled bundles are checked (restricted to the ones matching one of the prefixes)", boolValue = true)

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.