From fa8755dd88991e46ef91df63b4653c693b81fe24 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:52:56 +0000 Subject: [PATCH 1/7] forge: open work branch for BAIS-CTX-1783821073-attempt-2 --- .forge/BAIS-CTX-1783821073-attempt-2.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .forge/BAIS-CTX-1783821073-attempt-2.md diff --git a/.forge/BAIS-CTX-1783821073-attempt-2.md b/.forge/BAIS-CTX-1783821073-attempt-2.md new file mode 100644 index 0000000..7477b95 --- /dev/null +++ b/.forge/BAIS-CTX-1783821073-attempt-2.md @@ -0,0 +1,3 @@ +# BAIS-CTX-1783821073-attempt-2 + +Forge 이슈 작업 브랜치 `forge/BAIS-CTX-1783821073-attempt-2`. From 698cc3500d742cf9f73425618d3917ed67bde8a5 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:53:24 +0000 Subject: [PATCH 2/7] =?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-CTX-1783821073)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pom.xml diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..61c60dd --- /dev/null +++ b/pom.xml @@ -0,0 +1,16 @@ + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.5.14 + + com.klaro.bais + bais-platform + 1.0-SNAPSHOT + pom + + + services/payments + + From 00e5f849980637dddf9316d6058725a887b02fc7 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:55:38 +0000 Subject: [PATCH 3/7] forge: open work branch for BAIS-CTX-1783821073-attempt-4 --- .forge/BAIS-CTX-1783821073-attempt-4.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .forge/BAIS-CTX-1783821073-attempt-4.md diff --git a/.forge/BAIS-CTX-1783821073-attempt-4.md b/.forge/BAIS-CTX-1783821073-attempt-4.md new file mode 100644 index 0000000..27c880c --- /dev/null +++ b/.forge/BAIS-CTX-1783821073-attempt-4.md @@ -0,0 +1,3 @@ +# BAIS-CTX-1783821073-attempt-4 + +Forge 이슈 작업 브랜치 `forge/BAIS-CTX-1783821073-attempt-4`. From 8c5cd504598134668cf240c256c5346a6a404de7 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:55:49 +0000 Subject: [PATCH 4/7] =?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-CTX-1783821073)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pom.xml diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..d025c7b --- /dev/null +++ b/pom.xml @@ -0,0 +1,22 @@ + + + 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 From 407114e3ff9c90d308cec145a41d5613cc189a18 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:55:50 +0000 Subject: [PATCH 5/7] =?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-CTX-1783821073)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/payments/pom.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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..f4d20af --- /dev/null +++ b/services/payments/pom.xml @@ -0,0 +1,29 @@ + + + 4.0.0 + + + com.klaro.bais + bais-platform + 1.0-SNAPSHOT + ../../pom.xml + + + payments + + + org.apache.commons + commons-lang3 + 3.18.0 + + + org.springframework.boot + spring-boot-starter-test + 3.5.14 + test + + + + \ No newline at end of file From 20ea4732a7bdfc2ec0c3892df7a6926f38502370 Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:55:51 +0000 Subject: [PATCH 6/7] =?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-CTX-1783821073)?= 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 From c52405f3af48316c8bbabc97279dd4e1dfc3687a Mon Sep 17 00:00:00 2001 From: forge-bot Date: Sun, 12 Jul 2026 01:55:52 +0000 Subject: [PATCH 7/7] =?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-CTX-1783821073)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../payments/PaymentReferenceServiceTest.java | 24 +++++++++++++++++++ 1 file changed, 24 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..b363d79 --- /dev/null +++ b/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java @@ -0,0 +1,24 @@ +package com.klaro.bais.payments; + +import org.junit.jupiter.api.Test; +import static org.junit.jupiter.api.Assertions.assertEquals; + +class PaymentReferenceServiceTest { + + private final PaymentReferenceService service = new PaymentReferenceService(); + + @Test + void testNormalizeNull() { + assertEquals("", service.normalize(null)); + } + + @Test + void testNormalizeEmpty() { + assertEquals("", service.normalize(" ")); + } + + @Test + void testNormalizeNormalString() { + assertEquals("test", service.normalize(" test ")); + } +} \ No newline at end of file