소스 수정

This commit is contained in:
jade
2026-07-09 21:57:26 +09:00
parent 1196bde772
commit 654c61edc5
6 changed files with 60 additions and 0 deletions

View File

@@ -86,3 +86,23 @@ services:
- GLOW_COMMUNICATION_EXTMCI_PORT=8081
- GLOW_COMMUNICATION_EAI_HOST=tcp://gateway
- GLOW_COMMUNICATION_EAI_PORT=8081
\n payment:
build:
context: ./payment
ports:
- "8085:8085"
depends_on:
- redis
environment:
- TZ=Asia/Seoul
- SPRING_REDIS_HOST=redis
- SPRING_REDIS_PORT=6379
- SPRING_DATA_REDIS_PORT=6379
- AXHUB_GATEWAY_URL=http://gateway:8081
- AXHUB_TOOL_URL=http://payment:8085
- GLOW_COMMUNICATION_MCI_HOST=http://gateway
- GLOW_COMMUNICATION_MCI_PORT=8081
- GLOW_COMMUNICATION_EXTMCI_HOST=http://gateway
- GLOW_COMMUNICATION_EXTMCI_PORT=8081
- GLOW_COMMUNICATION_EAI_HOST=tcp://gateway
- GLOW_COMMUNICATION_EAI_PORT=8081

4
payment/Dockerfile Normal file
View File

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

10
payment/build.gradle Normal file
View File

@@ -0,0 +1,10 @@
plugins {
id 'org.springframework.boot'
}
dependencies {
implementation project(':axhub-tool-core')
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.32'
annotationProcessor 'org.projectlombok:lombok:1.18.32'
}

View File

@@ -0,0 +1,13 @@
package io.shinhanlife.axhub.biz.mcp.tool.payment;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
@EnableCaching
@SpringBootApplication(scanBasePackages = "io.shinhanlife.axhub.biz.mcp")
public class PaymentToolApplication {
public static void main(String[] args) {
SpringApplication.run(PaymentToolApplication.class, args);
}
}

View File

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

View File

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