From 4e860c4c6dc4de93e8df33634efdb22136f06d92 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Tue, 14 Jul 2026 05:27:18 +0000 Subject: [PATCH 1/6] forge: open work branch for role-developer-reverify-001-attempt-2-run-2442ff580a26 --- .../role-developer-reverify-001-attempt-2-run-2442ff580a26.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .forge/role-developer-reverify-001-attempt-2-run-2442ff580a26.md diff --git a/.forge/role-developer-reverify-001-attempt-2-run-2442ff580a26.md b/.forge/role-developer-reverify-001-attempt-2-run-2442ff580a26.md new file mode 100644 index 0000000..5d2d619 --- /dev/null +++ b/.forge/role-developer-reverify-001-attempt-2-run-2442ff580a26.md @@ -0,0 +1,3 @@ +# role-developer-reverify-001-attempt-2-run-2442ff580a26 + +Forge 이슈 작업 브랜치 `forge/role-developer-reverify-001-attempt-2-run-2442ff580a26`. -- 2.49.1 From 5f91cef2be5e394c7241a5c715ea5f4a84ef394a Mon Sep 17 00:00:00 2001 From: forge-bot Date: Tue, 14 Jul 2026 05:27:27 +0000 Subject: [PATCH 2/6] =?UTF-8?q?Spring=20=EC=A0=84=ED=99=98=20=EC=B5=9C?= =?UTF-8?q?=EC=86=8C=20=EC=8B=A4=ED=96=89=20=EA=B3=A8=EA=B2=A9=20=EC=9E=AC?= =?UTF-8?q?=EA=B2=80=EC=A6=9D=20(role-developer-reverify-001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 pom.xml diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..717d32f --- /dev/null +++ b/pom.xml @@ -0,0 +1,48 @@ + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.2.5 + + + + com.example + spring-minimal + 1.0.0 + jar + spring-minimal + Spring Boot Minimal Application + + + 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 + + + + \ No newline at end of file -- 2.49.1 From 2adb2af02359fe8c1379686f1ccc62a7ec82a68d Mon Sep 17 00:00:00 2001 From: forge-bot Date: Tue, 14 Jul 2026 05:27:28 +0000 Subject: [PATCH 3/6] =?UTF-8?q?Spring=20=EC=A0=84=ED=99=98=20=EC=B5=9C?= =?UTF-8?q?=EC=86=8C=20=EC=8B=A4=ED=96=89=20=EA=B3=A8=EA=B2=A9=20=EC=9E=AC?= =?UTF-8?q?=EA=B2=80=EC=A6=9D=20(role-developer-reverify-001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/example/SpringMinimalApplication.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main/java/com/example/SpringMinimalApplication.java diff --git a/src/main/java/com/example/SpringMinimalApplication.java b/src/main/java/com/example/SpringMinimalApplication.java new file mode 100644 index 0000000..74982c8 --- /dev/null +++ b/src/main/java/com/example/SpringMinimalApplication.java @@ -0,0 +1,12 @@ +package com.example; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class SpringMinimalApplication { + + public static void main(String[] args) { + SpringApplication.run(SpringMinimalApplication.class, args); + } +} \ No newline at end of file -- 2.49.1 From 3d9fe0e272e29e716f23d47b0aa2019c7f621cd5 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Tue, 14 Jul 2026 05:27:30 +0000 Subject: [PATCH 4/6] =?UTF-8?q?Spring=20=EC=A0=84=ED=99=98=20=EC=B5=9C?= =?UTF-8?q?=EC=86=8C=20=EC=8B=A4=ED=96=89=20=EA=B3=A8=EA=B2=A9=20=EC=9E=AC?= =?UTF-8?q?=EA=B2=80=EC=A6=9D=20(role-developer-reverify-001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/controller/HealthController.java | 16 ++++++++++++++++ 1 file changed, 16 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..54812a6 --- /dev/null +++ b/src/main/java/com/example/controller/HealthController.java @@ -0,0 +1,16 @@ +package com.example.controller; + +import org.springframework.http.ResponseEntity; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RestController; + +import java.util.Map; + +@RestController +public class HealthController { + + @GetMapping("/health") + public ResponseEntity> health() { + return ResponseEntity.ok(Map.of("status", "UP")); + } +} \ No newline at end of file -- 2.49.1 From 575d6ebcb792735773e12dec19f620f36fc98f91 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Tue, 14 Jul 2026 05:27:31 +0000 Subject: [PATCH 5/6] =?UTF-8?q?Spring=20=EC=A0=84=ED=99=98=20=EC=B5=9C?= =?UTF-8?q?=EC=86=8C=20=EC=8B=A4=ED=96=89=20=EA=B3=A8=EA=B2=A9=20=EC=9E=AC?= =?UTF-8?q?=EA=B2=80=EC=A6=9D=20(role-developer-reverify-001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/HealthControllerTest.java | 38 +++++++++++++++++++ 1 file changed, 38 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..9a5dcb5 --- /dev/null +++ b/src/test/java/com/example/controller/HealthControllerTest.java @@ -0,0 +1,38 @@ +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.AutoConfigureMockMvc; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.web.servlet.MockMvc; +import org.springframework.test.web.servlet.MvcResult; + +import static org.hamcrest.Matchers.*; +import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get; +import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; + +@SpringBootTest +@AutoConfigureMockMvc +class HealthControllerTest { + + @Autowired + private MockMvc mockMvc; + + @Test + void healthEndpointReturnsUp() throws Exception { + mockMvc.perform(get("/health")) + .andExpect(status().isOk()) + .andExpect(jsonPath("$.status", is("UP"))); + } + + @Test + void healthEndpointReturnsJson() throws Exception { + MvcResult result = mockMvc.perform(get("/health")) + .andExpect(status().isOk()) + .andReturn(); + + String content = result.getResponse().getContentAsString(); + org.assertj.core.api.Assertions.assertThat(content) + .contains("{\"status\":\"UP\"}"); + } +} \ No newline at end of file -- 2.49.1 From 7458b85678b0a1f71d45a5affcb144c2e0454fa5 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Tue, 14 Jul 2026 05:27:32 +0000 Subject: [PATCH 6/6] =?UTF-8?q?Spring=20=EC=A0=84=ED=99=98=20=EC=B5=9C?= =?UTF-8?q?=EC=86=8C=20=EC=8B=A4=ED=96=89=20=EA=B3=A8=EA=B2=A9=20=EC=9E=AC?= =?UTF-8?q?=EA=B2=80=EC=A6=9D=20(role-developer-reverify-001)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/example/SpringMinimalApplicationTests.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/test/java/com/example/SpringMinimalApplicationTests.java diff --git a/src/test/java/com/example/SpringMinimalApplicationTests.java b/src/test/java/com/example/SpringMinimalApplicationTests.java new file mode 100644 index 0000000..1151e59 --- /dev/null +++ b/src/test/java/com/example/SpringMinimalApplicationTests.java @@ -0,0 +1,13 @@ +package com.example; + +import org.junit.jupiter.api.Test; +import org.springframework.boot.test.context.SpringBootTest; + +@SpringBootTest +class SpringMinimalApplicationTests { + + @Test + void contextLoads() { + // Verifies that the Spring context loads successfully + } +} \ No newline at end of file -- 2.49.1