diff --git a/.forge/BAIS-CTX-1783821073-attempt-4.md b/.forge/BAIS-CTX-1783821073-attempt-2.md similarity index 63% rename from .forge/BAIS-CTX-1783821073-attempt-4.md rename to .forge/BAIS-CTX-1783821073-attempt-2.md index 27c880c..7477b95 100644 --- a/.forge/BAIS-CTX-1783821073-attempt-4.md +++ b/.forge/BAIS-CTX-1783821073-attempt-2.md @@ -1,3 +1,3 @@ -# BAIS-CTX-1783821073-attempt-4 +# BAIS-CTX-1783821073-attempt-2 -Forge 이슈 작업 브랜치 `forge/BAIS-CTX-1783821073-attempt-4`. +Forge 이슈 작업 브랜치 `forge/BAIS-CTX-1783821073-attempt-2`. diff --git a/pom.xml b/pom.xml index d025c7b..61c60dd 100644 --- a/pom.xml +++ b/pom.xml @@ -1,22 +1,16 @@ - + + 4.0.0 + + org.springframework.boot + spring-boot-starter-parent + 3.5.14 + + com.klaro.bais + bais-platform + 1.0-SNAPSHOT + pom - 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 + + services/payments + + diff --git a/services/payments/pom.xml b/services/payments/pom.xml deleted file mode 100644 index f4d20af..0000000 --- a/services/payments/pom.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - 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 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 deleted file mode 100644 index a349b69..0000000 --- a/services/payments/src/main/java/com/klaro/bais/payments/PaymentReferenceService.java +++ /dev/null @@ -1,9 +0,0 @@ -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 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 deleted file mode 100644 index b363d79..0000000 --- a/services/payments/src/test/java/com/klaro/bais/payments/PaymentReferenceServiceTest.java +++ /dev/null @@ -1,24 +0,0 @@ -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