From 7497ca39d906c2a22aee23c414ac04b37cb10738 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 00:45:21 +0000 Subject: [PATCH 1/5] forge: open work branch for BAIS-MAVEN-1783816946-attempt-2 --- .forge/BAIS-MAVEN-1783816946-attempt-2.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .forge/BAIS-MAVEN-1783816946-attempt-2.md diff --git a/.forge/BAIS-MAVEN-1783816946-attempt-2.md b/.forge/BAIS-MAVEN-1783816946-attempt-2.md new file mode 100644 index 0000000..a2ce7a5 --- /dev/null +++ b/.forge/BAIS-MAVEN-1783816946-attempt-2.md @@ -0,0 +1,3 @@ +# BAIS-MAVEN-1783816946-attempt-2 + +Forge 이슈 작업 브랜치 `forge/BAIS-MAVEN-1783816946-attempt-2`. -- 2.49.1 From 18ca5426dff41ab0deb27037b9b5ce000dae1a27 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 00:45:31 +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..032132d --- /dev/null +++ b/pom.xml @@ -0,0 +1,20 @@ + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 3.5.14 + + + com.klaro.bais + bais-platform + 1.0-SNAPSHOT + pom + + + services/payments + + -- 2.49.1 From 476f87a0e37531a456071b0957508934b9e66a04 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 00:45:32 +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..730f6a3 --- /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 + + + -- 2.49.1 From fbd49aa17f8d4ab026bbd1398a0223bc628cff5d Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 00:45:33 +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..159a78d --- /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); + } +} -- 2.49.1 From 99cd61812347002c9d269513c3df41ec346c0e5c Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 00:45:35 +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 | 26 +++++++++++++++++++ 1 file changed, 26 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..d37e4af --- /dev/null +++ b/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java @@ -0,0 +1,26 @@ +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() { + String result = service.normalize(null); + assertEquals("", result); + } + + @Test + void testNormalize_emptyInput() { + String result = service.normalize(" "); + assertEquals("", result); + } + + @Test + void testNormalize_validInput() { + String result = service.normalize(" valid input "); + assertEquals("valid input", result); + } +} -- 2.49.1