forked from kimhyungsik/ax_hub_mcp_tool
refactor: Rename payment module to axhub-tool-payment
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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"]
|
||||
@@ -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"
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
Reference in New Issue
Block a user