feat: Separate Gateway and Tool server architectures, implement Tool Auto-Registration, and add mock response mapping

This commit is contained in:
jade
2026-07-04 00:22:44 +09:00
parent 93b2d6e205
commit a3e4dc7e38
9 changed files with 191 additions and 8 deletions

View File

@@ -0,0 +1,22 @@
package io.shinhanlife;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import java.util.Collections;
@SpringBootApplication
@ComponentScan(basePackages = {
"io.shinhanlife.axhub.biz.mcp.gateway",
"io.shinhanlife.axhub.biz.mcp.adapter",
"io.shinhanlife.axhub.common.mcp"
})
public class AxHubGatewayApplication {
public static void main(String[] args) {
SpringApplication app = new SpringApplication(AxHubGatewayApplication.class);
// Gateway는 8081 포트에서 실행
app.setDefaultProperties(Collections.singletonMap("server.port", "8081"));
app.run(args);
}
}