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/11/07 09:40:07 UTC
[sling-org-apache-sling-hc-support] 20/31: add missing metatype to
core module, and fix and check metatype in support module
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.hc.support-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-hc-support.git
commit 0cc7be77c8335306dec171c3d1c42845b6aa2890
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Wed Sep 11 12:54:37 2013 +0000
add missing metatype to core module, and fix and check metatype in support module
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck/support@1521823 13f79535-47bb-0310-9956-ffa450edef68
---
.../OSGI-INF/metatype/metatype.properties | 47 +++++-----------------
1 file changed, 10 insertions(+), 37 deletions(-)
diff --git a/src/main/resources/OSGI-INF/metatype/metatype.properties b/src/main/resources/OSGI-INF/metatype/metatype.properties
index be5ecee..193b63b 100644
--- a/src/main/resources/OSGI-INF/metatype/metatype.properties
+++ b/src/main/resources/OSGI-INF/metatype/metatype.properties
@@ -22,13 +22,6 @@
# descriptions as used in the metatype.xml descriptor generated by the
# the Sling SCR plugin
-org.apache.sling.hc.JmxAttributeHealthCheck.name = JMX Attribute Health Check
-org.apache.sling.hc.JmxAttributeHealthCheck.description = Checks the value of a single JMX attribute.
-
-org.apache.sling.hc.ScriptableHealthCheck.name = Apache Sling Scriptable Health Check
-org.apache.sling.hc.ScriptableHealthCheck.description = Uses scripted expressions to verify multiple JMX \
- attributes or other values.
-
org.apache.sling.hc.DefaultLoginsHealthCheck.name = Apache Sling Default Logins Health Check
org.apache.sling.hc.DefaultLoginsHealthCheck.description = Expects default logins to fail, used to verify \
that they are disabled on production systems
@@ -36,24 +29,8 @@ org.apache.sling.hc.DefaultLoginsHealthCheck.description = Expects default login
org.apache.sling.hc.SlingRequestStatusHealthCheck.name = Apache Sling Sling Request Status Health Check
org.apache.sling.hc.SlingRequestStatusHealthCheck.description = Checks the HTTP status of Sling requests.
-org.apache.sling.hc.CompositeHealthCheck.name = Apache Sling Composite Health Check
-org.apache.sling.hc.CompositeHealthCheck.description = Executes a set of Health Checks, selected by tags.
-
-filter.tags.name = Filter tags
-filter.tags.description = Tags used to select which Health Checks the composite Health Check executes.
-
-mbean.name.name = MBean name
-mbean.name.description = The name of the MBean to check.
-
-attribute.name.name = Attribute name
-attribute.name.description = The name of the MBean attribute to check.
-
-attribute.value.constraint.name = Attribute value constraint
-attribute.value.constraint.description = Constraint on the MBean attribute value.
-
hc.mbean.name.name = MBean name
-hc.mbean.name.description = Name of the MBean to create for this Health Check. \
- Defaults to the Health Check name.
+hc.mbean.name.description = Name of the MBean to create for this Health Check.
hc.tags.name = Health Check tags
hc.tags.description = List of tags for this Health Check service, used to select \
@@ -63,17 +40,13 @@ hc.name.name = Health Check Name
hc.name.description = Name of this Health Check service. Used for the MBean that's created \
for this Health Check as well, unless a specific MBean name is configured.
-expression.name = Expression
-expression.description = The value of this expression must be "true" for the Health Check \
- to be successful.
-
-language.extension.name = Language extension
-language.extension.description = File extension of the language to use to evaluate the \
- expression, for example "ecma" or "groovy", asssuming the corresponding script engine \
- is available.
-
-username.name = Username
-username.description = The username to use to test logins.
+logins.name = Login credentials
+logins.description = Which credentials to check. Each one is in the format "user:password" \
+ like "admin:admin" for example. Do *not* put any confidential passwords here, the goal \
+ is just to check that the default/demo logins, which passwords are known anyway, are \
+ disabled.
-password.name = Password
-password.description = The password to use to test logins.
\ No newline at end of file
+path.name = Paths to check
+path.description = The list of paths to check, optionally with expected HTTP status responses. \
+ An entry like "/tmp/test.txt:301", for example, checks that /tmp/test.txt returns a \
+ 301 response.
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.