Fix tools/call routing and dependency injection for MSA architecture
This commit is contained in:
4
axhub-tool-other/Dockerfile
Normal file
4
axhub-tool-other/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM eclipse-temurin:21-jdk-alpine
|
||||
WORKDIR /app
|
||||
COPY build/libs/axhub-tool-other-0.0.1-SNAPSHOT.jar app.jar
|
||||
ENTRYPOINT ["java", "-jar", "app.jar"]
|
||||
@@ -4,7 +4,8 @@ import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cache.annotation.EnableCaching;
|
||||
|
||||
@SpringBootApplication
|
||||
@SpringBootApplication(scanBasePackages = {"io.shinhanlife.axhub.biz.mcp.tool", "io.shinhanlife.axhub.biz.mcp.adapter", "io.shinhanlife.axhub.common.mcp", "io.shinhanlife.axhub.common.config"})
|
||||
@org.springframework.boot.context.properties.ConfigurationPropertiesScan(basePackages = {"io.shinhanlife.axhub.biz.mcp.tool", "io.shinhanlife.axhub.biz.mcp.adapter", "io.shinhanlife.axhub.common.mcp", "io.shinhanlife.axhub.common.config"})
|
||||
@EnableCaching
|
||||
public class AxHubToolOtherApplication {
|
||||
public static void main(String[] args) {
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
# Local ?˜ê²½ ?„ìš© ?¤ì • (H2 메모ë¦?DB ??
|
||||
spring.datasource.url=jdbc:p6spy:h2:mem:testdb;DB_CLOSE_DELAY=-1;
|
||||
spring.datasource.driverClassName=com.p6spy.engine.spy.P6SpyDriver
|
||||
spring.datasource.username=sa
|
||||
spring.datasource.password=password
|
||||
|
||||
spring.h2.console.enabled=true
|
||||
# EIMS µ¿Àû ¶ó¿ìÆÃ Á¢¼Ó Á¤º¸
|
||||
eims.http.url=http://localhost:8081/api/gateway
|
||||
eims.tcp.host=127.0.0.1
|
||||
eims.tcp.port=8090
|
||||
eims.tcp.timeout=5000
|
||||
eims.jsp.form.url=http://localhost:8081/mock/jsp-form
|
||||
eims.jsp.json.url=http://localhost:8081/mock/jsp-json
|
||||
eims.mci.url=http://localhost:8081/mock/esb/api
|
||||
|
||||
# API º¸¾È Ű ¼³Á¤
|
||||
mcp.security.api-keys.SHINHAN_MCP_SECRET_KEY_2026=mcp-client-1
|
||||
mcp.security.api-keys.SHINHAN_MCP_TEST_KEY_9999=mcp-client-2
|
||||
mcp.security.tenant-domains.mcp-client-1=CUSTOMER,COMMON
|
||||
mcp.security.tenant-domains.mcp-client-2=ALL
|
||||
|
||||
# Gateway/Tool URLs
|
||||
mcp.adapter.url=http://localhost:8081/rpc/v1/execute
|
||||
mcp.gateway.url=http://localhost:8081/mcp/api/v1
|
||||
mcp.tool.host=localhost
|
||||
@@ -0,0 +1,4 @@
|
||||
server.port=8084
|
||||
spring.application.name=axhub-tool-other
|
||||
|
||||
spring.profiles.active=local
|
||||
Reference in New Issue
Block a user