refactor: Rename payment module to axhub-tool-payment
This commit is contained in:
4
axhub-tool-payment/Dockerfile
Normal file
4
axhub-tool-payment/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM eclipse-temurin:21-jdk-alpine
|
||||
WORKDIR /app
|
||||
COPY build/libs/axhub-tool-payment-0.0.1-SNAPSHOT.jar app.jar
|
||||
ENTRYPOINT ["java", "-jar", "app.jar"]
|
||||
10
axhub-tool-payment/build.gradle
Normal file
10
axhub-tool-payment/build.gradle
Normal 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'
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
12
axhub-tool-payment/src/main/resources/application-local.yml
Normal file
12
axhub-tool-payment/src/main/resources/application-local.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
spring:
|
||||
application:
|
||||
name: axhub-tool-payment
|
||||
config:
|
||||
import: "classpath:config/application-glow-local.yml"
|
||||
|
||||
server:
|
||||
port: 8085
|
||||
|
||||
axhub:
|
||||
tool:
|
||||
url: "http://tool-payment:8085"
|
||||
Reference in New Issue
Block a user