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/HrTestReq.java b/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/HrTestReq.java deleted file mode 100644 index 8770b0b..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/HrTestReq.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 HrTestReq - * @description AX HUB 시스템 처리 클래스 - * @author system - * @create 2026.07.13 - *
- * ---------- 개정이력 ---------- - * 수정일 수정자 수정내용 - * ---------- -------- --------------------------- - * 2026.07.13 system 최초생성 - * - *- */ -@Data -@JsonInclude(JsonInclude.Include.NON_NULL) -public class HrTestReq { - // TODO: Add request fields here -} diff --git a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/HrTestRes.java b/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/HrTestRes.java deleted file mode 100644 index 3ab0fa0..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/dto/HrTestRes.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 HrTestRes - * @description AX HUB 시스템 처리 클래스 - * @author system - * @create 2026.07.13 - *
- * ---------- 개정이력 ---------- - * 수정일 수정자 수정내용 - * ---------- -------- --------------------------- - * 2026.07.13 system 최초생성 - * - *- */ -@Data -@JsonInclude(JsonInclude.Include.NON_NULL) -public class HrTestRes { - 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 11da8ae..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/HrToolApplication.java +++ /dev/null @@ -1,28 +0,0 @@ -package io.shinhanlife.axhub.biz.mcp.tool.hr; - -import org.springframework.boot.SpringApplication; -import org.springframework.boot.autoconfigure.SpringBootApplication; -import org.springframework.cache.annotation.EnableCaching; - -/** - * @package io.shinhanlife.axhub.biz.mcp.tool.hr - * @className HrToolApplication - * @description AX HUB 시스템 처리 클래스 - * @author - * @create - *
- * ---------- 개정이력 ---------- - * 수정일 수정자 수정내용 - * ---------- -------- --------------------------- - * 최초생성 - * - *- */ -@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 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/mapper/HrMciMapper.java b/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/mapper/HrMciMapper.java deleted file mode 100644 index 1646411..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/hr/mapper/HrMciMapper.java +++ /dev/null @@ -1,17 +0,0 @@ -package io.shinhanlife.axhub.biz.mcp.tool.hr.mapper; - -import io.shinhanlife.axhub.biz.mcp.tool.dto.SmsSendReq; -import io.shinhanlife.axhub.biz.mcp.tool.sms.dto.SmsMciReqDto; -import org.mapstruct.Mapper; -import org.mapstruct.Mapping; -import org.mapstruct.factory.Mappers; - -@Mapper(componentModel = "spring") -public interface HrMciMapper { - - HrMciMapper INSTANCE = Mappers.getMapper(HrMciMapper.class); - - @Mapping(source = "phoneNumber", target = "phone") - @Mapping(source = "message", target = "content") - SmsMciReqDto toMciReq(SmsSendReq req); -} diff --git a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/service/HrTestService.java b/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/service/HrTestService.java deleted file mode 100644 index 707df19..0000000 --- a/axhub-tool-hr/src/main/java/io/shinhanlife/axhub/biz/mcp/tool/service/HrTestService.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.HrTestReq; -import io.shinhanlife.axhub.biz.mcp.tool.dto.HrTestRes; -import org.springframework.stereotype.Service; - -/** - * @package io.shinhanlife.axhub.biz.mcp.tool.service - * @className HrTestService - * @description AX HUB 시스템 처리 클래스 - * @author system - * @create 2026.07.13 - *
- * ---------- 개정이력 ---------- - * 수정일 수정자 수정내용 - * ---------- -------- --------------------------- - * 2026.07.13 system 최초생성 - * - *- */ -@Service -@McpTool( - routingType = "HTTP", - categoryKey = "hr" -) -public class HrTestService extends AbstractMcpToolService { - - @McpFunction( - displayName = "HrTest 툴", - name = "hrtest", - description = "인사 테스트", - prompt = "인사 테스트 해줘.", - mappingId = "HR_TEST", - register = true, - requiresApproval = false - ) - public Object execute(HrTestReq req) { - return executeLegacy("HTTP", "HR_TEST", 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 16a2930..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 2c12d7c..0000000 --- a/axhub-tool-hr/src/main/resources/application-local.yml +++ /dev/null @@ -1,12 +0,0 @@ -spring: - application: - name: axhub-tool-hr - config: - import: "classpath:config/application-glow-local.yml" - -server: - port: 8086 - -axhub: - tool: - url: "http://tool-hr:8086" 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 1a4d891..0000000 --- a/axhub-tool-hr/src/main/resources/application.properties +++ /dev/null @@ -1,2 +0,0 @@ -spring.profiles.active=local -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 @@ - -