From 7c29dc0c3ab3f6db1c2bff4d22474662045f8fee Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:17:18 +0000 Subject: [PATCH 1/5] forge: open work branch for BAIS-CI-1783819034-attempt-1 --- .forge/BAIS-CI-1783819034-attempt-1.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .forge/BAIS-CI-1783819034-attempt-1.md diff --git a/.forge/BAIS-CI-1783819034-attempt-1.md b/.forge/BAIS-CI-1783819034-attempt-1.md new file mode 100644 index 0000000..a87424e --- /dev/null +++ b/.forge/BAIS-CI-1783819034-attempt-1.md @@ -0,0 +1,3 @@ +# BAIS-CI-1783819034-attempt-1 + +Forge 이슈 작업 브랜치 `forge/BAIS-CI-1783819034-attempt-1`. -- 2.49.1 From 7838ad70609801d31efc7d57e6beedbd4a865221 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:17:30 +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-CI-1783819034)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 pom.xml diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..500afce --- /dev/null +++ b/pom.xml @@ -0,0 +1,15 @@ + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.5.14 + + com.klaro.bais + bais-platform + 1.0-SNAPSHOT + pom + + services/payments + + \ No newline at end of file -- 2.49.1 From 1219608c4fc0ed499755f0e17d3f1c04f1fbca43 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:17:31 +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-CI-1783819034)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/payments/pom.xml | 19 +++++++++++++++++++ 1 file changed, 19 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..cde3614 --- /dev/null +++ b/services/payments/pom.xml @@ -0,0 +1,19 @@ + + 4.0.0 + + com.klaro.bais + bais-platform + 1.0-SNAPSHOT + ../../pom.xml + + com.klaro.bais + payments + 1.0-SNAPSHOT + + + org.apache.commons + commons-lang3 + 3.18.0 + + + \ No newline at end of file -- 2.49.1 From a7fb81379c543c7c707d9cc7177da986dbfb0a31 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:17:32 +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-CI-1783819034)?= 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 20b03fcbfae23702cddc4b9f658fbfe39ef22574 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:17:33 +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-CI-1783819034)?= 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..b0bdf88 --- /dev/null +++ b/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java @@ -0,0 +1,26 @@ +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_RegularStringInput() { + assertEquals("Hello, World!", service.normalize(" Hello, World! ")); + } +} \ No newline at end of file -- 2.49.1