diff --git a/src/test/java/app/LocalApps.java b/src/test/java/app/LocalApps.java index b5e7cde..9978fc7 100644 --- a/src/test/java/app/LocalApps.java +++ b/src/test/java/app/LocalApps.java @@ -13,7 +13,6 @@ public LocalApps() { new Core("http://localhost", 8088, "Local - Core"), new Operator("http://localhost", 8888, "Local - Public Operator", Operator.Type.PUBLIC), new Operator("http://localhost", 8180, "Local - Private Operator", Operator.Type.PRIVATE), - new Loki("http://localhost", 3100, "Local - Loki"), new Prometheus("http://localhost", 9085, "Local - Validator Prometheus") )); } diff --git a/src/test/java/app/component/Loki.java b/src/test/java/app/component/Loki.java deleted file mode 100644 index 09ca119..0000000 --- a/src/test/java/app/component/Loki.java +++ /dev/null @@ -1,25 +0,0 @@ -package app.component; - -import app.common.HttpClient; - -import java.net.URLEncoder; -import java.nio.charset.StandardCharsets; - -public class Loki extends App { - public Loki(String host, Integer port, String name) { - super(host, port, name); - } - - public String getLogs(String app) throws Exception { - return HttpClient.get(getBaseUrl() - + "/loki/api/v1/query_range?query=" - + URLEncoder.encode("{app=\"%s\"}".formatted(app), StandardCharsets.UTF_8) - +"&limit=5000" - ); - } - - @Override - public boolean isHealthy() throws Exception { - return HttpClient.get(getBaseUrl() + "/ready").contains("ready"); - } -}