From 6f73749e0c7fe5fbdc06dac26b10a29c749c5821 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Tue, 14 Jul 2026 05:48:48 +0000 Subject: [PATCH 1/7] forge: open work branch for role-developer-reverify-550-001-attempt-1-run-41adeb6fc379 --- ...le-developer-reverify-550-001-attempt-1-run-41adeb6fc379.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .forge/role-developer-reverify-550-001-attempt-1-run-41adeb6fc379.md diff --git a/.forge/role-developer-reverify-550-001-attempt-1-run-41adeb6fc379.md b/.forge/role-developer-reverify-550-001-attempt-1-run-41adeb6fc379.md new file mode 100644 index 0000000..4d96a47 --- /dev/null +++ b/.forge/role-developer-reverify-550-001-attempt-1-run-41adeb6fc379.md @@ -0,0 +1,3 @@ +# role-developer-reverify-550-001-attempt-1-run-41adeb6fc379 + +Forge 이슈 작업 브랜치 `forge/role-developer-reverify-550-001-attempt-1-run-41adeb6fc379`. -- 2.49.1 From 6fd7dc04782685c62b01de3f9b74d85281fdb3fe Mon Sep 17 00:00:00 2001 From: forge-bot Date: Tue, 14 Jul 2026 05:49:08 +0000 Subject: [PATCH 2/7] =?UTF-8?q?Spring=20=EC=A0=84=ED=99=98=20=EA=B3=A8?= =?UTF-8?q?=EA=B2=A9=20=EC=B5=9C=EC=8B=A0=20reviewer=20=EA=B2=80=EC=A6=9D?= =?UTF-8?q?=20(role-developer-reverify-550-001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 pom.xml diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..f54ffa9 --- /dev/null +++ b/pom.xml @@ -0,0 +1,53 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.2.5 + + + + com.example + spring-boot-minimal + 1.0.0 + jar + Spring Boot Minimal Application + Minimum compilable Spring Boot application for reviewer verification + + + 17 + 17 + 17 + UTF-8 + + + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + org.apache.maven.plugins + maven-surefire-plugin + 3.2.5 + + + + \ No newline at end of file -- 2.49.1 From 972e5a7fad80ded4f9c4b31b10fb812ca8d2e682 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Tue, 14 Jul 2026 05:49:09 +0000 Subject: [PATCH 3/7] =?UTF-8?q?Spring=20=EC=A0=84=ED=99=98=20=EA=B3=A8?= =?UTF-8?q?=EA=B2=A9=20=EC=B5=9C=EC=8B=A0=20reviewer=20=EA=B2=80=EC=A6=9D?= =?UTF-8?q?=20(role-developer-reverify-550-001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../example/SpringBootMinimalApplication.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/main/java/com/example/SpringBootMinimalApplication.java diff --git a/src/main/java/com/example/SpringBootMinimalApplication.java b/src/main/java/com/example/SpringBootMinimalApplication.java new file mode 100644 index 0000000..7962d79 --- /dev/null +++ b/src/main/java/com/example/SpringBootMinimalApplication.java @@ -0,0 +1,16 @@ +package com.example; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * Main Spring Boot application entry point. + * This is the minimum required class to bootstrap a Spring application. + */ +@SpringBootApplication +public class SpringBootMinimalApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringBootMinimalApplication.class, args); + } +} -- 2.49.1 From 632740dea73deecd9abb901c02d8f217ef62c4fb Mon Sep 17 00:00:00 2001 From: forge-bot Date: Tue, 14 Jul 2026 05:49:10 +0000 Subject: [PATCH 4/7] =?UTF-8?q?Spring=20=EC=A0=84=ED=99=98=20=EA=B3=A8?= =?UTF-8?q?=EA=B2=A9=20=EC=B5=9C=EC=8B=A0=20reviewer=20=EA=B2=80=EC=A6=9D?= =?UTF-8?q?=20(role-developer-reverify-550-001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../example/controller/HealthController.java | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/main/java/com/example/controller/HealthController.java diff --git a/src/main/java/com/example/controller/HealthController.java b/src/main/java/com/example/controller/HealthController.java new file mode 100644 index 0000000..7a9047c --- /dev/null +++ b/src/main/java/com/example/controller/HealthController.java @@ -0,0 +1,26 @@ +package com.example.controller; + +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +import java.util.Map; + +/** + * Simple REST controller for health check endpoint. + */ +@RestController +@RequestMapping("/api") +public class HealthController { + + @GetMapping("/health") + public ResponseEntity> health() { + return ResponseEntity.ok(Map.of("status", "UP")); + } + + @GetMapping("/ping") + public ResponseEntity ping() { + return ResponseEntity.ok("pong"); + } +} -- 2.49.1 From 82ce0fe5e6a8f25a4a9381e65557972590d5f11c Mon Sep 17 00:00:00 2001 From: forge-bot Date: Tue, 14 Jul 2026 05:49:11 +0000 Subject: [PATCH 5/7] =?UTF-8?q?Spring=20=EC=A0=84=ED=99=98=20=EA=B3=A8?= =?UTF-8?q?=EA=B2=A9=20=EC=B5=9C=EC=8B=A0=20reviewer=20=EA=B2=80=EC=A6=9D?= =?UTF-8?q?=20(role-developer-reverify-550-001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/HealthControllerTest.java | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/test/java/com/example/controller/HealthControllerTest.java diff --git a/src/test/java/com/example/controller/HealthControllerTest.java b/src/test/java/com/example/controller/HealthControllerTest.java new file mode 100644 index 0000000..2c00fa8 --- /dev/null +++ b/src/test/java/com/example/controller/HealthControllerTest.java @@ -0,0 +1,35 @@ +package com.example.controller; + +import org.junit.jupiter.api.Test; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTest; +import org.springframework.test.web.servlet.MockMvc; + +import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status; + +/** + * Focused unit tests for HealthController. + * Uses @WebMvcTest for slice testing without full context. + */ +@WebMvcTest(HealthController.class) +class HealthControllerTest { + + @Autowired + private MockMvc mockMvc; + + @Test + void health_shouldReturnUpStatus() throws Exception { + mockMvc.perform(get("/api/health")) + .andExpect(status().isOk()) + .andExpect(jsonPath("$.status").value("UP")); + } + + @Test + void ping_shouldReturnPong() throws Exception { + mockMvc.perform(get("/api/ping")) + .andExpect(status().isOk()) + .andExpect(org.springframework.test.web.servlet.result.MockMvcResultMatchers.content().string("pong")); + } +} -- 2.49.1 From d35dfe419e886ef5ae4fe6d6b76bdf4298d1a1d8 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Tue, 14 Jul 2026 05:49:12 +0000 Subject: [PATCH 6/7] =?UTF-8?q?Spring=20=EC=A0=84=ED=99=98=20=EA=B3=A8?= =?UTF-8?q?=EA=B2=A9=20=EC=B5=9C=EC=8B=A0=20reviewer=20=EA=B2=80=EC=A6=9D?= =?UTF-8?q?=20(role-developer-reverify-550-001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SpringBootMinimalApplicationTests.java | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/test/java/com/example/SpringBootMinimalApplicationTests.java diff --git a/src/test/java/com/example/SpringBootMinimalApplicationTests.java b/src/test/java/com/example/SpringBootMinimalApplicationTests.java new file mode 100644 index 0000000..3ed26f7 --- /dev/null +++ b/src/test/java/com/example/SpringBootMinimalApplicationTests.java @@ -0,0 +1,20 @@ +package com.example; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.TestPropertySource; + +/** + * Integration test to verify Spring Boot context loads successfully. + */ +@SpringBootTest +@TestPropertySource(properties = { + "spring.main.allow-bean-definition-overriding=true" +}) +class SpringBootMinimalApplicationTests { + + @Test + void contextLoads() { + // Verifies that the Spring application context loads without errors + } +} -- 2.49.1 From 38bf3426ed4f4a80a0e16aadb1b8ec7aa4a5faee Mon Sep 17 00:00:00 2001 From: forge-bot Date: Tue, 14 Jul 2026 05:49:13 +0000 Subject: [PATCH 7/7] =?UTF-8?q?Spring=20=EC=A0=84=ED=99=98=20=EA=B3=A8?= =?UTF-8?q?=EA=B2=A9=20=EC=B5=9C=EC=8B=A0=20reviewer=20=EA=B2=80=EC=A6=9D?= =?UTF-8?q?=20(role-developer-reverify-550-001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.properties | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/main/resources/application.properties diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..71fe516 --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1,8 @@ +# Spring Boot minimal configuration +spring.application.name=spring-boot-minimal + +# Disable banner for cleaner test output +spring.main.banner-mode=off + +# Test profile settings +spring.test.mockmvc.print=none -- 2.49.1