refactor: dap-tool-* 모듈을 dap-was-* 이름으로 전면 개편 및 컨테이너명/파이프라인 연동
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 1m57s

This commit is contained in:
jade
2026-08-04 23:33:06 +09:00
parent 3e69436bfe
commit 136ad2fa71
268 changed files with 42 additions and 42 deletions

View File

@@ -3,7 +3,7 @@ plugins {
}
dependencies {
implementation project(':dap-tool-core')
implementation project(':dap-was-lib')
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'

View File

@@ -34,7 +34,7 @@ public class ScaffoldingController {
@PostMapping("/pod")
public String scaffoldPod(@RequestBody Map<String, String> req) {
try {
String moduleName = req.getOrDefault("moduleName", "dap-tool-oth");
String moduleName = req.getOrDefault("moduleName", "dap-was-oth");
if (!moduleName.startsWith("dap-tool-")) moduleName = "dap-tool-" + moduleName;
String port = req.getOrDefault("port", "8085");
String shortName = moduleName.replace("dap-tool-", "").replace("-", "");
@@ -57,7 +57,7 @@ public class ScaffoldingController {
String description = req.get("description");
String group = req.getOrDefault("categoryKey", req.getOrDefault("group", "COMMON"));
String routingType = req.getOrDefault("routingType", "HTTP");
String moduleName = req.getOrDefault("moduleName", "dap-tool-oth");
String moduleName = req.getOrDefault("moduleName", "dap-was-oth");
String author = req.get("author");
if (author == null || author.trim().isEmpty()) author = System.getProperty("user.name");
String date = req.get("date");
@@ -94,15 +94,15 @@ public class ScaffoldingController {
if (sourceDir == null) sourceDir = System.getProperty("user.dir");
File dir = new File(sourceDir);
File[] files = dir.listFiles(f -> f.isDirectory() && f.getName().startsWith("dap-tool-") && !f.getName().equals("dap-tool-core"));
File[] files = dir.listFiles(f -> f.isDirectory() && f.getName().startsWith("dap-tool-") && !f.getName().equals("dap-was-lib"));
if (files == null || files.length == 0) {
return List.of("dap-tool-oth", "dap-tool-hr", "dap-tool-sms");
return List.of("dap-was-oth", "dap-tool-hr", "dap-was-sms");
}
return Arrays.stream(files).map(File::getName).sorted().collect(Collectors.toList());
} catch (Exception e) {
return List.of("dap-tool-oth", "dap-tool-hr", "dap-tool-sms");
return List.of("dap-was-oth", "dap-tool-hr", "dap-was-sms");
}
}
}

View File

@@ -10,10 +10,10 @@
mcp:
gateway:
fallback:
default-url: http://tool-oth:8084
default-url: http://was-oth:8084
routes:
sms: http://tool-sms:8082
hr: http://tool-oth:8084
sms: http://was-sms:8082
hr: http://was-oth:8084
# --- 신한라이프 EAI/MCI 연계 IP 정보 (개발 환경) ---
shinhan:

View File

@@ -26,10 +26,10 @@ server:
mcp:
gateway:
fallback:
default-url: http://tool-oth:8084
default-url: http://was-oth:8084
routes:
sms: http://tool-sms:8082
hr: http://tool-oth:8084
sms: http://was-sms:8082
hr: http://was-oth:8084
agent-claims-required: false
trusted-claims-required: false
write-approval-required: false