refactor: Rename payment module to axhub-tool-payment

This commit is contained in:
jade
2026-07-09 22:02:57 +09:00
parent 654c61edc5
commit 4919ae936e
7 changed files with 9 additions and 9 deletions

View File

@@ -109,7 +109,7 @@ public class PodScaffolder {
if (Files.exists(settingsPath)) {
String settings = Files.readString(settingsPath);
if (!settings.contains("include '" + moduleName + "'")) {
Files.writeString(settingsPath, "\\ninclude '" + moduleName + "'\\n", StandardOpenOption.APPEND);
Files.writeString(settingsPath, System.lineSeparator() + "include '" + moduleName + "'" + System.lineSeparator(), StandardOpenOption.APPEND);
}
}
@@ -141,7 +141,7 @@ public class PodScaffolder {
- GLOW_COMMUNICATION_EAI_HOST=tcp://gateway
- GLOW_COMMUNICATION_EAI_PORT=8081
""".formatted(serviceName, moduleName, portStr, portStr, serviceName, portStr);
Files.writeString(dockerComposePath, "\\n" + newService, StandardOpenOption.APPEND);
Files.writeString(dockerComposePath, System.lineSeparator() + newService, StandardOpenOption.APPEND);
}
}

View File

@@ -1,4 +1,4 @@
FROM eclipse-temurin:21-jdk-alpine
WORKDIR /app
COPY build/libs/payment-0.0.1-SNAPSHOT.jar app.jar
COPY build/libs/axhub-tool-payment-0.0.1-SNAPSHOT.jar app.jar
ENTRYPOINT ["java", "-jar", "app.jar"]

View File

@@ -1,6 +1,6 @@
spring:
application:
name: payment
name: axhub-tool-payment
config:
import: "classpath:config/application-glow-local.yml"
@@ -9,4 +9,4 @@ server:
axhub:
tool:
url: "http://payment:8085"
url: "http://tool-payment:8085"

View File

@@ -86,9 +86,9 @@ services:
- GLOW_COMMUNICATION_EXTMCI_PORT=8081
- GLOW_COMMUNICATION_EAI_HOST=tcp://gateway
- GLOW_COMMUNICATION_EAI_PORT=8081
\n payment:
tool-payment:
build:
context: ./payment
context: ./axhub-tool-payment
ports:
- "8085:8085"
depends_on:
@@ -99,7 +99,7 @@ services:
- SPRING_REDIS_PORT=6379
- SPRING_DATA_REDIS_PORT=6379
- AXHUB_GATEWAY_URL=http://gateway:8081
- AXHUB_TOOL_URL=http://payment:8085
- AXHUB_TOOL_URL=http://tool-payment:8085
- GLOW_COMMUNICATION_MCI_HOST=http://gateway
- GLOW_COMMUNICATION_MCI_PORT=8081
- GLOW_COMMUNICATION_EXTMCI_HOST=http://gateway

View File

@@ -6,4 +6,4 @@ include 'axhub-tool-core'
include 'axhub-tool-sms'
include 'axhub-tool-email'
include 'axhub-tool-other'
\ninclude 'payment'\n
include 'axhub-tool-payment'