From 2f117c35212dc12774b942a421b07ef654defb22 Mon Sep 17 00:00:00 2001 From: shatvani Date: Thu, 31 Oct 2024 19:14:13 +0100 Subject: [PATCH 1/2] Update ApplicationController.java --- src/main/java/hu/cubix/cloud/api/ApplicationController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/hu/cubix/cloud/api/ApplicationController.java b/src/main/java/hu/cubix/cloud/api/ApplicationController.java index caf347b..64f7eba 100644 --- a/src/main/java/hu/cubix/cloud/api/ApplicationController.java +++ b/src/main/java/hu/cubix/cloud/api/ApplicationController.java @@ -20,7 +20,7 @@ public ApplicationController(@Value("${hw.message.default}") String defaultMessa this.defaultMessage = defaultMessage; } - @GetMapping("/application/test") + @GetMapping("/cubix/test") public CubixResponse demoMessage(@RequestParam(required = false, name = "message") String message) { if (!StringUtils.hasText(message)) { message = defaultMessage; From 22d01e9e200af3c0341c718e8f2f79581f328500 Mon Sep 17 00:00:00 2001 From: shatvani Date: Thu, 31 Oct 2024 19:15:14 +0100 Subject: [PATCH 2/2] Update application.properties --- src/main/resources/application.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 038f6ea..6980b94 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1 +1 @@ -hw.message.default=default +hw.message.default='Thisisadefaultmessage'