summaryrefslogtreecommitdiff
path: root/examples/spring-boot/src/main/java/eu
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2023-09-24 12:57:37 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2023-09-24 13:48:17 +0200
commitddcce2e8bc1c43e73a4033b4d76b5e06a4a3ad89 (patch)
treec2f8f53ec1dc0480c8dcc895605f5e961989d626 /examples/spring-boot/src/main/java/eu
parent95c2a90fb4d0a8c69af70f12dd12cdb168116cb4 (diff)
feat(core): Add DefaultConfiguratorFactory for JBoss Log Manager 3.x.
Change-Id: I6bf88c9e6c8c4aba303cc1d18e8f18c917dd6b88
Diffstat (limited to 'examples/spring-boot/src/main/java/eu')
-rw-r--r--examples/spring-boot/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/RootResource.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/spring-boot/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/RootResource.java b/examples/spring-boot/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/RootResource.java
index a2b824a..77c1f84 100644
--- a/examples/spring-boot/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/RootResource.java
+++ b/examples/spring-boot/src/main/java/eu/mulk/quarkus/googlecloud/jsonlogging/example/RootResource.java
@@ -10,9 +10,11 @@ import jakarta.annotation.PostConstruct;
import org.jboss.logging.Logger;
import org.jboss.logging.MDC;
import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
-@RestController("/")
+@RestController
+@RequestMapping("/")
public class RootResource {
static final Logger log = Logger.getLogger(RootResource.class);