forked from kimhyungsik/ax_hub_mcp_tool
feat: Refactor monolith to microservices architecture
This commit is contained in:
12
axhub-tool-email/build.gradle
Normal file
12
axhub-tool-email/build.gradle
Normal file
@@ -0,0 +1,12 @@
|
||||
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,19 @@
|
||||
package io.shinhanlife.axhub.biz.mcp.tool.dto;
|
||||
|
||||
import io.shinhanlife.axhub.biz.mcp.tool.annotation.McpParameter;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class EmailSendReq {
|
||||
|
||||
@McpParameter(description = "수신자 이메일 주소", required = true)
|
||||
private String emailAddress;
|
||||
|
||||
@McpParameter(description = "이메일 제목", required = true)
|
||||
private String subject;
|
||||
|
||||
@McpParameter(description = "이메일 본문 내용", required = true)
|
||||
private String body;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package io.shinhanlife.axhub.biz.mcp.tool.email;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cache.annotation.EnableCaching;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableCaching
|
||||
public class AxHubToolEmailApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(AxHubToolEmailApplication.class, args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user