From ddcce2e8bc1c43e73a4033b4d76b5e06a4a3ad89 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 24 Sep 2023 12:57:37 +0200 Subject: feat(core): Add DefaultConfiguratorFactory for JBoss Log Manager 3.x. Change-Id: I6bf88c9e6c8c4aba303cc1d18e8f18c917dd6b88 --- .../eu/mulk/quarkus/googlecloud/jsonlogging/example/RootResource.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples/spring-boot/src/main/java') 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); -- cgit v1.2.3