From 78861d6db173c5eac0ebc6120574fbbbd769527b Mon Sep 17 00:00:00 2001 From: ayushaga14 Date: Wed, 11 Oct 2023 17:23:47 +0530 Subject: [PATCH 1/2] modify ll url --- .../src/main/java/com/akto/listener/RuntimeListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/main/java/com/akto/listener/RuntimeListener.java b/apps/dashboard/src/main/java/com/akto/listener/RuntimeListener.java index f73d8104ba..3defbb6f10 100644 --- a/apps/dashboard/src/main/java/com/akto/listener/RuntimeListener.java +++ b/apps/dashboard/src/main/java/com/akto/listener/RuntimeListener.java @@ -238,7 +238,7 @@ public static void addLlmSampleData(int accountId) { } try { - String mockServiceUrl = "http://sampl-aktol-1exannwybqov-67928726.ap-south-1.elb.amazonaws.com:5000"; + String mockServiceUrl = "https://vuln-llm.akto.io:5000"; String data = convertStreamToString(InitializerListener.class.getResourceAsStream("/LlmSampleApiData.json")); JSONArray dataobject = new JSONArray(data); for (Object obj: dataobject) { From 7b6e022ec6e10278f9d5cb5398097c54683f41f8 Mon Sep 17 00:00:00 2001 From: ayushaga14 Date: Wed, 11 Oct 2023 17:40:46 +0530 Subject: [PATCH 2/2] remove port --- .../src/main/java/com/akto/listener/RuntimeListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dashboard/src/main/java/com/akto/listener/RuntimeListener.java b/apps/dashboard/src/main/java/com/akto/listener/RuntimeListener.java index 3defbb6f10..3e6bc319b7 100644 --- a/apps/dashboard/src/main/java/com/akto/listener/RuntimeListener.java +++ b/apps/dashboard/src/main/java/com/akto/listener/RuntimeListener.java @@ -238,7 +238,7 @@ public static void addLlmSampleData(int accountId) { } try { - String mockServiceUrl = "https://vuln-llm.akto.io:5000"; + String mockServiceUrl = "https://vuln-llm.akto.io"; String data = convertStreamToString(InitializerListener.class.getResourceAsStream("/LlmSampleApiData.json")); JSONArray dataobject = new JSONArray(data); for (Object obj: dataobject) {