From 92eef55ef557e992acf9737b428135eb7366589c Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:04:24 +0000 Subject: [PATCH 1/5] forge: open work branch for BAIS-MAVEN-1783816946-attempt-4 --- .forge/BAIS-MAVEN-1783816946-attempt-4.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .forge/BAIS-MAVEN-1783816946-attempt-4.md diff --git a/.forge/BAIS-MAVEN-1783816946-attempt-4.md b/.forge/BAIS-MAVEN-1783816946-attempt-4.md new file mode 100644 index 0000000..f6560a7 --- /dev/null +++ b/.forge/BAIS-MAVEN-1783816946-attempt-4.md @@ -0,0 +1,3 @@ +# BAIS-MAVEN-1783816946-attempt-4 + +Forge 이슈 작업 브랜치 `forge/BAIS-MAVEN-1783816946-attempt-4`. -- 2.49.1 From 59391ddb7c141ea834c45f4339b0c5c38654c07c Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:04:56 +0000 Subject: [PATCH 2/5] =?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-MAVEN-1783816946)?= 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 ff40e672de4252c7d51db9d54d58c9a2fc541760 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:04:57 +0000 Subject: [PATCH 3/5] =?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-MAVEN-1783816946)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/payments/pom.xml | 21 +++++++++++++++++++++ 1 file changed, 21 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..9adb645 --- /dev/null +++ b/services/payments/pom.xml @@ -0,0 +1,21 @@ + + + 4.0.0 + + com.klaro.bais + bais-platform + 1.0-SNAPSHOT + ../../pom.xml + + payments + + + + org.apache.commons + commons-lang3 + 3.18.0 + + + \ No newline at end of file -- 2.49.1 From 2c6b01676bff72454360f6307e78fadfa4a88ca7 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:04:58 +0000 Subject: [PATCH 4/5] =?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-MAVEN-1783816946)?= 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 20ed5fcd004ac47e2e34856b649b0a1c8018c4bf Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:04:59 +0000 Subject: [PATCH 5/5] =?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-MAVEN-1783816946)?= 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