From 94139d1d3f36991e8f33724903720a42a5e4be90 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sat, 11 Jul 2026 23:21:20 +0000 Subject: [PATCH 1/9] forge: open work branch for BAIS-MULTI-1783812074-attempt-1 --- .forge/BAIS-MULTI-1783812074-attempt-1.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .forge/BAIS-MULTI-1783812074-attempt-1.md diff --git a/.forge/BAIS-MULTI-1783812074-attempt-1.md b/.forge/BAIS-MULTI-1783812074-attempt-1.md new file mode 100644 index 0000000..c17c09a --- /dev/null +++ b/.forge/BAIS-MULTI-1783812074-attempt-1.md @@ -0,0 +1,3 @@ +# BAIS-MULTI-1783812074-attempt-1 + +Forge 이슈 작업 브랜치 `forge/BAIS-MULTI-1783812074-attempt-1`. -- 2.49.1 From 109ace65dbf377537244cad48abe414c4078b15a Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sat, 11 Jul 2026 23:21:52 +0000 Subject: [PATCH 2/9] =?UTF-8?q?BAIS=20payments=20=EB=A9=80=ED=8B=B0?= =?UTF-8?q?=EB=AA=A8=EB=93=88=20=EC=B5=9C=EC=86=8C=20=EA=B5=AC=ED=98=84=20?= =?UTF-8?q?(BAIS-MULTI-1783812074)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pom.xml diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..26ee7f2 --- /dev/null +++ b/pom.xml @@ -0,0 +1,20 @@ + + + 4.0.0 + com.klaro.bais + bais-platform + 1.0-SNAPSHOT + pom + + + org.springframework.boot + spring-boot-starter-parent + 3.5.14 + + + + services/payments + + \ No newline at end of file -- 2.49.1 From f4d66785859b6d33f6c4878bd5c3da5c5b406fda Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sat, 11 Jul 2026 23:21:53 +0000 Subject: [PATCH 3/9] =?UTF-8?q?BAIS=20payments=20=EB=A9=80=ED=8B=B0?= =?UTF-8?q?=EB=AA=A8=EB=93=88=20=EC=B5=9C=EC=86=8C=20=EA=B5=AC=ED=98=84=20?= =?UTF-8?q?(BAIS-MULTI-1783812074)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/payments/pom.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 services/payments/pom.xml diff --git a/services/payments/pom.xml b/services/payments/pom.xml new file mode 100644 index 0000000..ef43d2a --- /dev/null +++ b/services/payments/pom.xml @@ -0,0 +1,17 @@ + + + 4.0.0 + + ../../pom.xml + + payments + + + org.apache.commons + commons-lang3 + 3.18.0 + + + \ No newline at end of file -- 2.49.1 From 72dd36b928efc10c7b5ab74945714c9db390b805 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sat, 11 Jul 2026 23:21:54 +0000 Subject: [PATCH 4/9] =?UTF-8?q?BAIS=20payments=20=EB=A9=80=ED=8B=B0?= =?UTF-8?q?=EB=AA=A8=EB=93=88=20=EC=B5=9C=EC=86=8C=20=EA=B5=AC=ED=98=84=20?= =?UTF-8?q?(BAIS-MULTI-1783812074)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/klaro/bais/payments/PaymentReferenceService.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java diff --git a/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java b/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java new file mode 100644 index 0000000..a349b69 --- /dev/null +++ b/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java @@ -0,0 +1,9 @@ +package com.klaro.bais.payments; + +import org.apache.commons.lang3.StringUtils; + +public class PaymentReferenceService { + public String normalize(String input) { + return StringUtils.trimToEmpty(input); + } +} \ No newline at end of file -- 2.49.1 From ad8985c9ec1c3b018d035b40cc2ded794906bd91 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sat, 11 Jul 2026 23:21:55 +0000 Subject: [PATCH 5/9] =?UTF-8?q?BAIS=20payments=20=EB=A9=80=ED=8B=B0?= =?UTF-8?q?=EB=AA=A8=EB=93=88=20=EC=B5=9C=EC=86=8C=20=EA=B5=AC=ED=98=84=20?= =?UTF-8?q?(BAIS-MULTI-1783812074)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../payments/PaymentReferenceServiceTest.java | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java diff --git a/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java b/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java new file mode 100644 index 0000000..77624c9 --- /dev/null +++ b/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java @@ -0,0 +1,28 @@ +package com.klaro.bais.payments; + +import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.*; + +class PaymentReferenceServiceTest { + private final PaymentReferenceService service = new PaymentReferenceService(); + + @Test + void testNormalize_NullInput() { + assertEquals("", service.normalize(null)); + } + + @Test + void testNormalize_EmptyInput() { + assertEquals("", service.normalize("")); + } + + @Test + void testNormalize_WhitespaceInput() { + assertEquals("", service.normalize(" ")); + } + + @Test + void testNormalize_ValidInput() { + assertEquals("valid", service.normalize(" valid ")); + } +} \ No newline at end of file -- 2.49.1 From 35c531bef748053983e426e32ab26e46cd87033d Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sat, 11 Jul 2026 23:24:41 +0000 Subject: [PATCH 6/9] =?UTF-8?q?BAIS=20payments=20=EB=A9=80=ED=8B=B0?= =?UTF-8?q?=EB=AA=A8=EB=93=88=20=EC=B5=9C=EC=86=8C=20=EA=B5=AC=ED=98=84=20?= =?UTF-8?q?(1/2)=20(BAIS-MULTI-1783812074)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index 26ee7f2..c907802 100644 --- a/pom.xml +++ b/pom.xml @@ -1,20 +1,18 @@ - - + 4.0.0 + com.klaro.bais bais-platform 1.0-SNAPSHOT pom + + services/payments + + org.springframework.boot spring-boot-starter-parent 3.5.14 - - - services/payments - - \ No newline at end of file + -- 2.49.1 From df461d2f6c6972e1b1a893112011280d09e71cb9 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sat, 11 Jul 2026 23:24:42 +0000 Subject: [PATCH 7/9] =?UTF-8?q?BAIS=20payments=20=EB=A9=80=ED=8B=B0?= =?UTF-8?q?=EB=AA=A8=EB=93=88=20=EC=B5=9C=EC=86=8C=20=EA=B5=AC=ED=98=84=20?= =?UTF-8?q?(1/2)=20(BAIS-MULTI-1783812074)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/payments/pom.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/services/payments/pom.xml b/services/payments/pom.xml index ef43d2a..64e32c5 100644 --- a/services/payments/pom.xml +++ b/services/payments/pom.xml @@ -1,12 +1,16 @@ - - + 4.0.0 + ../../pom.xml + com.klaro.bais + bais-platform + 1.0-SNAPSHOT + payments + 1.0-SNAPSHOT + org.apache.commons @@ -14,4 +18,4 @@ 3.18.0 - \ No newline at end of file + -- 2.49.1 From cf485f5b9fa0586d40ed4c667e5a2700cc86dd96 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sat, 11 Jul 2026 23:24:43 +0000 Subject: [PATCH 8/9] =?UTF-8?q?BAIS=20payments=20=EB=A9=80=ED=8B=B0?= =?UTF-8?q?=EB=AA=A8=EB=93=88=20=EC=B5=9C=EC=86=8C=20=EA=B5=AC=ED=98=84=20?= =?UTF-8?q?(1/2)=20(BAIS-MULTI-1783812074)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/klaro/bais/payments/PaymentReferenceService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java b/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java index a349b69..159a78d 100644 --- a/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java +++ b/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java @@ -6,4 +6,4 @@ public class PaymentReferenceService { public String normalize(String input) { return StringUtils.trimToEmpty(input); } -} \ No newline at end of file +} -- 2.49.1 From 75374636697b2566dc2856c0b8373c4a80183537 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sat, 11 Jul 2026 23:24:46 +0000 Subject: [PATCH 9/9] =?UTF-8?q?BAIS=20payments=20=EB=A9=80=ED=8B=B0?= =?UTF-8?q?=EB=AA=A8=EB=93=88=20=EC=B5=9C=EC=86=8C=20=EA=B5=AC=ED=98=84=20?= =?UTF-8?q?(1/2)=20(BAIS-MULTI-1783812074)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../payments/PaymentReferenceServiceTest.java | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java b/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java index 77624c9..6c139a6 100644 --- a/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java +++ b/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java @@ -1,28 +1,25 @@ package com.klaro.bais.payments; import org.junit.jupiter.api.Test; -import static org.junit.jupiter.api.Assertions.*; + +import static org.junit.jupiter.api.Assertions.assertEquals; class PaymentReferenceServiceTest { + private final PaymentReferenceService service = new PaymentReferenceService(); @Test - void testNormalize_NullInput() { + void testNormalizeWithNull() { assertEquals("", service.normalize(null)); } @Test - void testNormalize_EmptyInput() { + void testNormalizeWithEmptyString() { assertEquals("", service.normalize("")); } @Test - void testNormalize_WhitespaceInput() { - assertEquals("", service.normalize(" ")); + void testNormalizeWithNormalString() { + assertEquals("Hello, World!", service.normalize(" Hello, World! ")); } - - @Test - void testNormalize_ValidInput() { - assertEquals("valid", service.normalize(" valid ")); - } -} \ No newline at end of file +} -- 2.49.1