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:39:35 UTC

[sling-org-apache-sling-hc-it] 05/37: SLING-2822 - rename to 'health check', fix more names

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

rombert pushed a commit to annotated tag org.apache.sling.hc.it-1.0.4
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-hc-it.git

commit 28301aceaea081791d39dd8740f62075e4b808e5
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri Apr 19 09:24:26 2013 +0000

    SLING-2822 - rename to 'health check', fix more names
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck/it@1469755 13f79535-47bb-0310-9956-ffa450edef68
---
 src/test/java/org/apache/sling/hc/it/core/AllRulesTest.java  | 6 +++---
 src/test/java/org/apache/sling/hc/it/core/OsgiRulesTest.java | 4 ++--
 src/test/java/org/apache/sling/hc/it/core/U.java             | 4 ++--
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/test/java/org/apache/sling/hc/it/core/AllRulesTest.java b/src/test/java/org/apache/sling/hc/it/core/AllRulesTest.java
index b5fa52f..147052a 100644
--- a/src/test/java/org/apache/sling/hc/it/core/AllRulesTest.java
+++ b/src/test/java/org/apache/sling/hc/it/core/AllRulesTest.java
@@ -25,7 +25,7 @@ import java.util.List;
 import javax.inject.Inject;
 
 import org.apache.sling.hc.api.EvaluationResult;
-import org.apache.sling.hc.api.MuppetFacade;
+import org.apache.sling.hc.api.HealthCheckFacade;
 import org.apache.sling.hc.api.Rule;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -38,7 +38,7 @@ import org.ops4j.pax.exam.junit.PaxExam;
 public class AllRulesTest {
     
     @Inject
-    private MuppetFacade facade;
+    private HealthCheckFacade facade;
     
     @Configuration
     public Option[] config() {
@@ -52,7 +52,7 @@ public class AllRulesTest {
             "osgi:bundle.state:org.apache.sling.hc.core:active",
             "osgi:bundle.state:some.nonexistenbundle:BUNDLE_NOT_FOUND",
             "jmxbeans:java.lang#type=ClassLoading:LoadedClassCount:> 100",
-            "muppet:RuleBuilderCount:between 2 and 10"
+            "healthcheck:RuleBuilderCount:between 2 and 10"
         };
         final List<EvaluationResult> r = U.evaluateRules(facade, rules);
         
diff --git a/src/test/java/org/apache/sling/hc/it/core/OsgiRulesTest.java b/src/test/java/org/apache/sling/hc/it/core/OsgiRulesTest.java
index 36b32c4..2cb3498 100644
--- a/src/test/java/org/apache/sling/hc/it/core/OsgiRulesTest.java
+++ b/src/test/java/org/apache/sling/hc/it/core/OsgiRulesTest.java
@@ -25,7 +25,7 @@ import java.util.List;
 import javax.inject.Inject;
 
 import org.apache.sling.hc.api.EvaluationResult;
-import org.apache.sling.hc.api.MuppetFacade;
+import org.apache.sling.hc.api.HealthCheckFacade;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.ops4j.pax.exam.Configuration;
@@ -36,7 +36,7 @@ import org.ops4j.pax.exam.junit.PaxExam;
 public class OsgiRulesTest {
     
     @Inject
-    private MuppetFacade facade;
+    private HealthCheckFacade facade;
     
     @Configuration
     public Option[] config() {
diff --git a/src/test/java/org/apache/sling/hc/it/core/U.java b/src/test/java/org/apache/sling/hc/it/core/U.java
index d9fc180..1fd3a49 100644
--- a/src/test/java/org/apache/sling/hc/it/core/U.java
+++ b/src/test/java/org/apache/sling/hc/it/core/U.java
@@ -28,7 +28,7 @@ import java.io.StringReader;
 import java.util.List;
 
 import org.apache.sling.hc.api.EvaluationResult;
-import org.apache.sling.hc.api.MuppetFacade;
+import org.apache.sling.hc.api.HealthCheckFacade;
 import org.apache.sling.hc.api.RulesEngine;
 import org.ops4j.pax.exam.Option;
 
@@ -56,7 +56,7 @@ public class U {
         }
     }
     
-    static List<EvaluationResult> evaluateRules(MuppetFacade facade, String [] rules) throws IOException {
+    static List<EvaluationResult> evaluateRules(HealthCheckFacade facade, String [] rules) throws IOException {
         final RulesEngine e = facade.getNewRulesEngine();
         final StringBuilder b = new StringBuilder();
         for(String line : rules) {

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