From d3f36559fc8eb508fd935586990805daf60afd7a Mon Sep 17 00:00:00 2001 From: Laura Trotta Date: Mon, 13 Jan 2025 17:38:34 +0100 Subject: [PATCH] removed unused esql article code --- .../java/co/elastic/clients/esql/article/EsqlArticle.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/examples/esql-article/src/main/java/co/elastic/clients/esql/article/EsqlArticle.java b/examples/esql-article/src/main/java/co/elastic/clients/esql/article/EsqlArticle.java index a59faa1db..f26e558fb 100644 --- a/examples/esql-article/src/main/java/co/elastic/clients/esql/article/EsqlArticle.java +++ b/examples/esql-article/src/main/java/co/elastic/clients/esql/article/EsqlArticle.java @@ -59,12 +59,7 @@ public class EsqlArticle { public static void main(String[] args) throws IOException, SQLException, InterruptedException { - String dir = System.getProperty("user.dir"); - Properties prop = new Properties(); - Path path = Paths.get(dir, "examples", "esql-article", "src", "main", "resources", "application" + - ".conf"); - prop.load(new FileInputStream(path.toString())); - + String serverUrl = System.getenv("server-url"); String apiKey = System.getenv("api-key"); String booksUrl = "https://raw.githubusercontent" +