diff --git a/axhub-tool-hr/Dockerfile b/axhub-tool-hr/Dockerfile deleted file mode 100644 index 3343e67..0000000 --- a/axhub-tool-hr/Dockerfile +++ /dev/null @@ -1,4 +0,0 @@ -FROM eclipse-temurin:21-jdk-alpine -WORKDIR /app -COPY build/libs/axhub-tool-hr-0.0.1-SNAPSHOT.jar app.jar -ENTRYPOINT ["java", "-jar", "app.jar"] diff --git a/axhub-tool-hr/build.gradle b/axhub-tool-hr/build.gradle deleted file mode 100644 index 997adcb..0000000 --- a/axhub-tool-hr/build.gradle +++ /dev/null @@ -1,10 +0,0 @@ -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' -} diff --git a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/SearchDetailHrReq.java b/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/SearchDetailHrReq.java deleted file mode 100644 index 86769e3..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/SearchDetailHrReq.java +++ /dev/null @@ -1,24 +0,0 @@ -package io.shinhanlife.axhub.biz.mcp.tool.dto; - -import com.fasterxml.jackson.annotation.JsonInclude; -import lombok.Data; - -/** - * @package io.shinhanlife.axhub.biz.mcp.tool.dto - * @className SearchDetailHrReq - * @description AX HUB 시스템 처리 클래스 - * @author root - * @create 2026.07.13 - *
- * ---------- 개정이력 ---------- - * 수정일 수정자 수정내용 - * ---------- -------- --------------------------- - * 2026.07.13 root 최초생성 - * - *- */ -@Data -@JsonInclude(JsonInclude.Include.NON_NULL) -public class SearchDetailHrReq { - // TODO: Add request fields here -} diff --git a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/SearchDetailHrRes.java b/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/SearchDetailHrRes.java deleted file mode 100644 index e3409d9..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/SearchDetailHrRes.java +++ /dev/null @@ -1,26 +0,0 @@ -package io.shinhanlife.axhub.biz.mcp.tool.dto; - -import com.fasterxml.jackson.annotation.JsonInclude; -import lombok.Data; - -/** - * @package io.shinhanlife.axhub.biz.mcp.tool.dto - * @className SearchDetailHrRes - * @description AX HUB 시스템 처리 클래스 - * @author root - * @create 2026.07.13 - *
- * ---------- 개정이력 ---------- - * 수정일 수정자 수정내용 - * ---------- -------- --------------------------- - * 2026.07.13 root 최초생성 - * - *- */ -@Data -@JsonInclude(JsonInclude.Include.NON_NULL) -public class SearchDetailHrRes { - private String status; - private String message; - // TODO: Add response fields here -} diff --git a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/SearchHrReq.java b/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/SearchHrReq.java deleted file mode 100644 index 4ee67d6..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/SearchHrReq.java +++ /dev/null @@ -1,24 +0,0 @@ -package io.shinhanlife.axhub.biz.mcp.tool.dto; - -import com.fasterxml.jackson.annotation.JsonInclude; -import lombok.Data; - -/** - * @package io.shinhanlife.axhub.biz.mcp.tool.dto - * @className SearchHrReq - * @description AX HUB 시스템 처리 클래스 - * @author root - * @create 2026.07.13 - *
- * ---------- 개정이력 ---------- - * 수정일 수정자 수정내용 - * ---------- -------- --------------------------- - * 2026.07.13 root 최초생성 - * - *- */ -@Data -@JsonInclude(JsonInclude.Include.NON_NULL) -public class SearchHrReq { - // TODO: Add request fields here -} diff --git a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/SearchHrRes.java b/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/SearchHrRes.java deleted file mode 100644 index 0f663cd..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/SearchHrRes.java +++ /dev/null @@ -1,26 +0,0 @@ -package io.shinhanlife.axhub.biz.mcp.tool.dto; - -import com.fasterxml.jackson.annotation.JsonInclude; -import lombok.Data; - -/** - * @package io.shinhanlife.axhub.biz.mcp.tool.dto - * @className SearchHrRes - * @description AX HUB 시스템 처리 클래스 - * @author root - * @create 2026.07.13 - *
- * ---------- 개정이력 ---------- - * 수정일 수정자 수정내용 - * ---------- -------- --------------------------- - * 2026.07.13 root 최초생성 - * - *- */ -@Data -@JsonInclude(JsonInclude.Include.NON_NULL) -public class SearchHrRes { - private String status; - private String message; - // TODO: Add response fields here -} diff --git a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/HrToolApplication.java b/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/HrToolApplication.java deleted file mode 100644 index 1c7547c..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/HrToolApplication.java +++ /dev/null @@ -1,15 +0,0 @@ -package io.shinhanlife.axhub.biz.mcp.tool.hr; - -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.boot.context.properties.ConfigurationPropertiesScan; -import org.springframework.cache.annotation.EnableCaching; - -@SpringBootApplication(scanBasePackages = {"io.shinhanlife.axhub.biz.mcp.tool", "io.shinhanlife.axhub.biz.mcp.adapter", "io.shinhanlife.axhub.common.mcp", "io.shinhanlife.axhub.common.config"}) -@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 HrToolApplication { - public static void main(String[] args) { - SpringApplication.run(HrToolApplication.class, args); - } -} diff --git a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/converter/SearchDetailHrMciConverter.java b/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/converter/SearchDetailHrMciConverter.java deleted file mode 100644 index cfd9312..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/converter/SearchDetailHrMciConverter.java +++ /dev/null @@ -1,34 +0,0 @@ -package io.shinhanlife.axhub.biz.mcp.tool.hr.converter; - -import io.shinhanlife.axhub.biz.mcp.tool.dto.SearchDetailHrReq; -import io.shinhanlife.axhub.biz.mcp.tool.dto.SearchDetailHrRes; -import io.shinhanlife.axhub.biz.mcp.tool.hr.dto.SearchDetailHrMciReqDto; -import io.shinhanlife.axhub.biz.mcp.tool.hr.dto.SearchDetailHrMciResDto; -import org.mapstruct.Mapper; -import org.mapstruct.Mapping; -import org.mapstruct.factory.Mappers; - -/** - * @package io.shinhanlife.axhub.biz.mcp.tool.hr.converter - * @className SearchDetailHrMciConverter - * @description AX HUB 시스템 처리 클래스 - * @author root - * @create 2026.07.13 - *
- * ---------- 개정이력 ---------- - * 수정일 수정자 수정내용 - * ---------- -------- --------------------------- - * 2026.07.13 root 최초생성 - * - *- */ -@Mapper(componentModel = "spring") -public interface SearchDetailHrMciConverter { - - SearchDetailHrMciConverter INSTANCE = Mappers.getMapper(SearchDetailHrMciConverter.class); - - // @Mapping(source = "sourceField", target = "targetField") - SearchDetailHrMciReqDto toMciReq(SearchDetailHrReq req); - - SearchDetailHrRes toRes(SearchDetailHrMciResDto mciRes); -} diff --git a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/dto/SearchDetailHrMciReqDto.java b/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/dto/SearchDetailHrMciReqDto.java deleted file mode 100644 index dba983d..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/dto/SearchDetailHrMciReqDto.java +++ /dev/null @@ -1,22 +0,0 @@ -package io.shinhanlife.axhub.biz.mcp.tool.hr.dto; - -import lombok.Data; - -/** - * @package io.shinhanlife.axhub.biz.mcp.tool.hr.dto - * @className SearchDetailHrMciReqDto - * @description AX HUB 시스템 처리 클래스 - * @author root - * @create 2026.07.13 - *
- * ---------- 개정이력 ---------- - * 수정일 수정자 수정내용 - * ---------- -------- --------------------------- - * 2026.07.13 root 최초생성 - * - *- */ -@Data -public class SearchDetailHrMciReqDto { - // TODO: Add legacy request fields here -} diff --git a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/dto/SearchDetailHrMciResDto.java b/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/dto/SearchDetailHrMciResDto.java deleted file mode 100644 index 76625f3..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/dto/SearchDetailHrMciResDto.java +++ /dev/null @@ -1,22 +0,0 @@ -package io.shinhanlife.axhub.biz.mcp.tool.hr.dto; - -import lombok.Data; - -/** - * @package io.shinhanlife.axhub.biz.mcp.tool.hr.dto - * @className SearchDetailHrMciResDto - * @description AX HUB 시스템 처리 클래스 - * @author root - * @create 2026.07.13 - *
- * ---------- 개정이력 ---------- - * 수정일 수정자 수정내용 - * ---------- -------- --------------------------- - * 2026.07.13 root 최초생성 - * - *- */ -@Data -public class SearchDetailHrMciResDto { - // TODO: Add legacy response fields here -} diff --git a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/service/SearchDetailHrService.java b/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/service/SearchDetailHrService.java deleted file mode 100644 index deec93f..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/service/SearchDetailHrService.java +++ /dev/null @@ -1,42 +0,0 @@ -package io.shinhanlife.axhub.biz.mcp.tool.service; - -import io.shinhanlife.axhub.biz.mcp.tool.annotation.McpFunction; -import io.shinhanlife.axhub.biz.mcp.tool.annotation.McpTool; -import io.shinhanlife.axhub.biz.mcp.tool.dto.SearchDetailHrReq; -import io.shinhanlife.axhub.biz.mcp.tool.dto.SearchDetailHrRes; -import org.springframework.stereotype.Service; - -/** - * @package io.shinhanlife.axhub.biz.mcp.tool.service - * @className SearchDetailHrService - * @description AX HUB 시스템 처리 클래스 - * @author root - * @create 2026.07.13 - *
- * ---------- 개정이력 ---------- - * 수정일 수정자 수정내용 - * ---------- -------- --------------------------- - * 2026.07.13 root 최초생성 - * - *- */ -@Service -@McpTool( - routingType = "MCI", - categoryKey = "hr" -) -public class SearchDetailHrService extends AbstractMcpToolService { - - @McpFunction( - displayName = "SearchDetailHr 툴", - name = "searchDetailhr", - description = "hr 상세 조회 합니다.", - prompt = "hr 상세 조회 합니다. 해줘.", - mappingId = "SEARCH_HR_002", - register = false, - requiresApproval = false - ) - public Object execute(SearchDetailHrReq req) { - return executeLegacy("MCI", "SEARCH_HR_002", req); - } -} diff --git a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/service/SearchHrService.java b/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/service/SearchHrService.java deleted file mode 100644 index e0bbb23..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/service/SearchHrService.java +++ /dev/null @@ -1,42 +0,0 @@ -package io.shinhanlife.axhub.biz.mcp.tool.service; - -import io.shinhanlife.axhub.biz.mcp.tool.annotation.McpFunction; -import io.shinhanlife.axhub.biz.mcp.tool.annotation.McpTool; -import io.shinhanlife.axhub.biz.mcp.tool.dto.SearchHrReq; -import io.shinhanlife.axhub.biz.mcp.tool.dto.SearchHrRes; -import org.springframework.stereotype.Service; - -/** - * @package io.shinhanlife.axhub.biz.mcp.tool.service - * @className SearchHrService - * @description AX HUB 시스템 처리 클래스 - * @author root - * @create 2026.07.13 - *
- * ---------- 개정이력 ---------- - * 수정일 수정자 수정내용 - * ---------- -------- --------------------------- - * 2026.07.13 root 최초생성 - * - *- */ -@Service -@McpTool( - routingType = "MCI", - categoryKey = "hr" -) -public class SearchHrService extends AbstractMcpToolService { - - @McpFunction( - displayName = "SearchHr 툴", - name = "SearchHr", - description = "HR 을 조회 합니다.", - prompt = "HR 을 조회 합니다. 해줘.", - mappingId = "SEARCH_HR_001", - register = false, - requiresApproval = false - ) - public Object execute(SearchHrReq req) { - return executeLegacy("MCI", "SEARCH_HR_001", req); - } -} diff --git a/axhub-tool-hr/src/main/resources/application-local.properties b/axhub-tool-hr/src/main/resources/application-local.properties deleted file mode 100644 index a311dfe..0000000 --- a/axhub-tool-hr/src/main/resources/application-local.properties +++ /dev/null @@ -1,30 +0,0 @@ -# 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:${server.port}/api/gateway -eims.tcp.host=127.0.0.1 -eims.tcp.port=8090 -eims.tcp.timeout=5000 -eims.jsp.form.url=http://localhost:${server.port}/mock/jsp-form -eims.jsp.json.url=http://localhost:${server.port}/mock/jsp-json -eims.mci.url=http://localhost:${server.port}/api/mock/esb/api -eims.mcistring.url=http://localhost:${server.port}/api/mock/esb/string - -# API 보안 키 설정 -mcp.security.tenant-domains.mcp-client-1=CUSTOMER,COMMON -mcp.security.tenant-domains.mcp-client-2=ALL - -# Gateway/Tool URLs -axhub.gateway.url=http://localhost:8081 -axhub.tool.url=http://localhost:${server.port} - -# Disable Kafka -spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration - -# Suppress Kafka Connection Logs -logging.level.org.apache.kafka=ERROR diff --git a/axhub-tool-hr/src/main/resources/application-local.yml b/axhub-tool-hr/src/main/resources/application-local.yml deleted file mode 100644 index 398cabe..0000000 --- a/axhub-tool-hr/src/main/resources/application-local.yml +++ /dev/null @@ -1,6 +0,0 @@ -spring: - application: - name: axhub-tool-hr - config: - import: "classpath:config/application-glow-local.yml" - diff --git a/axhub-tool-hr/src/main/resources/application.properties b/axhub-tool-hr/src/main/resources/application.properties deleted file mode 100644 index decd5fe..0000000 --- a/axhub-tool-hr/src/main/resources/application.properties +++ /dev/null @@ -1,10 +0,0 @@ -server.port=8086 -spring.application.name=axhub-tool-hr - -spring.profiles.active=local - -# Suppress Kafka Connection Logs -logging.level.org.apache.kafka=ERROR - -# Auto Prefix Namespace -mcp.namespace=hr diff --git a/axhub-tool-hr/src/main/resources/logback-spring.xml b/axhub-tool-hr/src/main/resources/logback-spring.xml deleted file mode 100644 index 43481e9..0000000 --- a/axhub-tool-hr/src/main/resources/logback-spring.xml +++ /dev/null @@ -1,24 +0,0 @@ - -