From c727855c84a9876ca43eb6b8b7d6a4158cf5702d Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 00:04:40 +0000 Subject: [PATCH 1/6] forge: open work branch for BAIS-MULTI-1783814676-attempt-1 --- .forge/BAIS-MULTI-1783814676-attempt-1.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .forge/BAIS-MULTI-1783814676-attempt-1.md diff --git a/.forge/BAIS-MULTI-1783814676-attempt-1.md b/.forge/BAIS-MULTI-1783814676-attempt-1.md new file mode 100644 index 0000000..a411374 --- /dev/null +++ b/.forge/BAIS-MULTI-1783814676-attempt-1.md @@ -0,0 +1,3 @@ +# BAIS-MULTI-1783814676-attempt-1 + +Forge 이슈 작업 브랜치 `forge/BAIS-MULTI-1783814676-attempt-1`. -- 2.49.1 From 6ed6dfa7fde35ff96d6ebd6ba74de6fda0525d45 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 00:04:55 +0000 Subject: [PATCH 2/6] =?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-1783814676)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pom.xml diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..0ecbec1 --- /dev/null +++ b/pom.xml @@ -0,0 +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 + + \ No newline at end of file -- 2.49.1 From 11c264a5544bc57227d5e2ed8a89e25f4743524e Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 00:09:46 +0000 Subject: [PATCH 3/6] =?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-1783814676)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 0ecbec1..ffda98b 100644 --- a/pom.xml +++ b/pom.xml @@ -6,13 +6,13 @@ 1.0-SNAPSHOT pom - - services/payments - - org.springframework.boot spring-boot-starter-parent 3.5.14 - \ No newline at end of file + + + services/payments + + -- 2.49.1 From b97c721d0b72b73966bf753957f1e034940a3d27 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 00:09:47 +0000 Subject: [PATCH 4/6] =?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-1783814676)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/payments/pom.xml | 20 ++++++++++++++++++++ 1 file changed, 20 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..84fbbd4 --- /dev/null +++ b/services/payments/pom.xml @@ -0,0 +1,20 @@ + + 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 22d42e16a0347d3c6c27db348895e1903327e138 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 00:09:48 +0000 Subject: [PATCH 5/6] =?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-1783814676)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../klaro/bais/payments/PaymentReferenceService.java | 10 ++++++++++ 1 file changed, 10 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..bb6832b --- /dev/null +++ b/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java @@ -0,0 +1,10 @@ +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 6a0178e3a7be8d026dbb42d905d66c5323329545 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 00:09:49 +0000 Subject: [PATCH 6/6] =?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-1783814676)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../payments/PaymentReferenceServiceTest.java | 29 +++++++++++++++++++ 1 file changed, 29 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..a28545c --- /dev/null +++ b/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java @@ -0,0 +1,29 @@ +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 testNormalizeWithNull() { + assertEquals("", service.normalize(null)); + } + + @Test + void testNormalizeWithEmptyString() { + assertEquals("", service.normalize("")); + } + + @Test + void testNormalizeWithWhiteSpace() { + assertEquals("", service.normalize(" ")); + } + + @Test + void testNormalizeWithValidString() { + assertEquals("validString", service.normalize(" validString " )); + } +} -- 2.49.1