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/20 14:39:15 UTC

[sling-org-apache-sling-hc-samples] 40/42: SLING-6855 - fix broken JSON content files in HC samples

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-hc-samples.git

commit 3a18803bb90e76a3f335f67cacf1c98bfd8fbbc8
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri Jun 9 12:30:46 2017 +0000

    SLING-6855 - fix broken JSON content files in HC samples
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1798196 13f79535-47bb-0310-9956-ffa450edef68
---
 .../install/org.apache.sling.hc.core.impl.CompositeHealthCheck-1.json | 4 ++--
 .../org.apache.sling.hc.core.impl.JmxAttributeHealthCheck-1.json      | 2 +-
 .../org.apache.sling.hc.core.impl.ScriptableHealthCheck-1.json        | 2 +-
 .../org.apache.sling.hc.core.impl.ScriptableHealthCheck-2.json        | 2 +-
 .../org.apache.sling.hc.samples.impl.AsyncHealthCheckSample-1.json    | 2 +-
 .../org.apache.sling.hc.samples.impl.SlowHealthCheckSample-1.json     | 2 +-
 .../org.apache.sling.hc.support.DefaultLoginsHealthCheck-1.json       | 2 +-
 .../org.apache.sling.hc.support.SlingRequestStatusHealthCheck-1.json  | 2 +-
 .../org.apache.sling.junit.healthcheck.impl.JUnitHealthCheck-1.json   | 2 +-
 9 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.CompositeHealthCheck-1.json b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.CompositeHealthCheck-1.json
index c60b492..731e298 100644
--- a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.CompositeHealthCheck-1.json
+++ b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.CompositeHealthCheck-1.json
@@ -1,7 +1,7 @@
 {
     "jcr:primaryType" : "sling:OsgiConfig",
     "hc.name" : "CompositeHealthCheck: execute all HealthCheck tagged with 'script'", 
-    "hc.tags" : [composite],
-    "filter.tags" : [script],
+    "hc.tags" : ["composite"],
+    "filter.tags" : ["script"],
     "hc.mbean.name" : "CompositeHealthCheck/script" 
 }
diff --git a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.JmxAttributeHealthCheck-1.json b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.JmxAttributeHealthCheck-1.json
index 87f949f..cb87fc5 100644
--- a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.JmxAttributeHealthCheck-1.json
+++ b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.JmxAttributeHealthCheck-1.json
@@ -5,5 +5,5 @@
     "attribute.value.constraint" : "between 5000 and 50000", 
     "hc.name" : "LoadedClassCount is in range",
     "hc.mbean.name" : "JMX LoadedClassCount", 
-    "hc.tags" : [jvm, classloading, jmx] 
+    "hc.tags" : ["jvm", "classloading", "jmx"] 
 }
diff --git a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.ScriptableHealthCheck-1.json b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.ScriptableHealthCheck-1.json
index ca2dee0..4a36062 100644
--- a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.ScriptableHealthCheck-1.json
+++ b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.ScriptableHealthCheck-1.json
@@ -3,6 +3,6 @@
     "expression" : "jmx.attribute('java.lang:type=ClassLoading', 'LoadedClassCount') > 10 &&  jmx.attribute('java.lang:type=Runtime', 'ManagementSpecVersion') > 1", 
     "hc.name" : "LoadedClassCount and ManagementSpecVersion are in range", 
     "language.extension" : "ecma", 
-    "hc.tags" : [jvm, script],
+    "hc.tags" : ["jvm", "script"],
     "hc.mbean.name" : "LoadedClassCount and ManagementSpecVersion"
 }
diff --git a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.ScriptableHealthCheck-2.json b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.ScriptableHealthCheck-2.json
index 5e6c2f2..0d8add4 100644
--- a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.ScriptableHealthCheck-2.json
+++ b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.core.impl.ScriptableHealthCheck-2.json
@@ -4,6 +4,6 @@
     "hc.name" : "No inactive bundles", 
     "hc.mbean.name" : "InactiveBundlesCheck", 
     "language.extension" : "ecma", 
-    "hc.tags" : [bundles, script],
+    "hc.tags" : ["bundles", "script"],
     "hc.mbean.name" : "NoInactiveBundles"
 }
diff --git a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.samples.impl.AsyncHealthCheckSample-1.json b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.samples.impl.AsyncHealthCheckSample-1.json
index 030ddb3..14ae4cd 100644
--- a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.samples.impl.AsyncHealthCheckSample-1.json
+++ b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.samples.impl.AsyncHealthCheckSample-1.json
@@ -1,7 +1,7 @@
 {
     "jcr:primaryType" : "sling:OsgiConfig",
     "hc.name" : "Asynchronous Health Check sample", 
-    "hc.tags" : [async],
+    "hc.tags" : ["async"],
     "hc.mbean.name" : "AsyncHealthCheckSample", 
     "hc.async.cronExpression" : "*/5 * * * * ?" 
 }
diff --git a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.samples.impl.SlowHealthCheckSample-1.json b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.samples.impl.SlowHealthCheckSample-1.json
index f6cd0c1..78581ba 100644
--- a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.samples.impl.SlowHealthCheckSample-1.json
+++ b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.samples.impl.SlowHealthCheckSample-1.json
@@ -1,7 +1,7 @@
 {
     "jcr:primaryType" : "sling:OsgiConfig",
     "hc.name" : "Slow Health Check sample (1200-3700 msec)", 
-    "hc.tags" : [slow],
+    "hc.tags" : ["slow"],
     "hc.mbean.name" : "SlowHealthCheckSample",
     "execution.time.min.msec" : "1200", 
     "execution.time.max.msec" : "3700" 
diff --git a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.support.DefaultLoginsHealthCheck-1.json b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.support.DefaultLoginsHealthCheck-1.json
index 3ab3bdb..1d86b90 100644
--- a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.support.DefaultLoginsHealthCheck-1.json
+++ b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.support.DefaultLoginsHealthCheck-1.json
@@ -2,6 +2,6 @@
     "jcr:primaryType" : "sling:OsgiConfig",
     "logins" : ["admin:admin","foo:bar"],
     "hc.name" : "Default logins should fail", 
-    "hc.tags" : [security],
+    "hc.tags" : ["security"],
     "hc.mbean.name" : "DefaultLoginsFail"
 }
diff --git a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.support.SlingRequestStatusHealthCheck-1.json b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.support.SlingRequestStatusHealthCheck-1.json
index 7887f92..99a81b6 100644
--- a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.support.SlingRequestStatusHealthCheck-1.json
+++ b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.hc.support.SlingRequestStatusHealthCheck-1.json
@@ -7,6 +7,6 @@
         "some/non/existent/path:404"
     ],
     "hc.name" : "Initial content is present", 
-    "hc.tags" : [request, sling],
+    "hc.tags" : ["request", "sling"],
     "hc.mbean.name" : "InitialContentPresent"
 }
diff --git a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.junit.healthcheck.impl.JUnitHealthCheck-1.json b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.junit.healthcheck.impl.JUnitHealthCheck-1.json
index ee2d4b4..a8aa572 100644
--- a/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.junit.healthcheck.impl.JUnitHealthCheck-1.json
+++ b/src/main/resources/SLING-CONTENT/apps/hc/demo/install/org.apache.sling.junit.healthcheck.impl.JUnitHealthCheck-1.json
@@ -1,7 +1,7 @@
 {
     "jcr:primaryType" : "sling:OsgiConfig",
     "hc.name" : "JUnit Health Check Sample", 
-    "hc.tags" : [junit],
+    "hc.tags" : ["junit"],
     "test.package.or.class" : "org.apache.sling.hc",
     "hc.mbean.name" : "JUnitHealthCheck" 
 }

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