diff --git a/.gitignore b/.gitignore index 45a0feb..8cf334c 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ build/ .settings .classpath .project -out \ No newline at end of file +out +/.apt_generated/ +/.apt_generated_tests/ diff --git a/bin/.gitignore b/bin/.gitignore index 7eed456..7ac70cd 100644 --- a/bin/.gitignore +++ b/bin/.gitignore @@ -1,2 +1,3 @@ /main/ /test/ +/default/ diff --git a/build.gradle b/build.gradle index 25c188d..e5b9cb4 100644 --- a/build.gradle +++ b/build.gradle @@ -9,13 +9,20 @@ group = 'com.eactive.ext.kjb' version = '1.0-SNAPSHOT' def springVersion = "5.3.27" +def nexusUrl = "https://nexus.eactive.synology.me:8090" +repositories { + maven { + url "${nexusUrl}/repository/maven-public/" + allowInsecureProtocol = true + } +} dependencies { annotationProcessor "org.projectlombok:lombok:1.18.28" api project(':elink-portal-common') - api project(":kjb-safedb") + //api project(":kjb-safedb") api 'com.eactive.elink.common:elink-common-data:4.5.5' diff --git a/src/main/java/com/eactive/ext/kjb/ums/EmailJob.java b/src/main/java/com/eactive/ext/kjb/ums/EmailJob.java index 278abb4..07a7b09 100644 --- a/src/main/java/com/eactive/ext/kjb/ums/EmailJob.java +++ b/src/main/java/com/eactive/ext/kjb/ums/EmailJob.java @@ -8,7 +8,7 @@ import com.eactive.ext.kjb.common.KjbProperty; import com.eactive.ext.kjb.eai.EaiBatchInterface; import com.eactive.ext.kjb.eai.EaiBatchMessage; import com.eactive.ext.kjb.eai.KjbEaiBatchModule; -import com.eactive.ext.kjb.safedb.KjbSafedbWrapper; +//import com.eactive.ext.kjb.safedb.KjbSafedbWrapper; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonArray; @@ -230,14 +230,15 @@ public class EmailJob { public String generateJSON(boolean isPretty) { validateMessageRequest(messageRequest, true, true); - KjbSafedbWrapper safedb = KjbSafedbWrapper.getInstance(); +// KjbSafedbWrapper safedb = KjbSafedbWrapper.getInstance(); JsonObject jsonObject = new JsonObject(); jsonObject.addProperty("MAKE_DATE", DateTimeFormatter.ofPattern("yyyyMMdd").format(LocalDateTime.now())); jsonObject.addProperty("MAKE_SEQNO", DateTimeFormatter.ofPattern("HHmmssSSS").format(LocalDateTime.now())); jsonObject.addProperty("CAMP_ID", messageRequest.getServiceId()); // 전자금융 고객이메일 발송 업무ID (SERVICE_ID) jsonObject.addProperty("ID", messageRequest.getUmsUid()); // 고객 ID - jsonObject.addProperty("EMAIL", safedb.encryptNotRnnoString(messageRequest.getEmail())); +// jsonObject.addProperty("EMAIL", safedb.encryptNotRnnoString(messageRequest.getEmail())); + jsonObject.addProperty("EMAIL", messageRequest.getEmail()); jsonObject.addProperty("NAME", messageRequest.getUsername()); jsonObject.addProperty("ENCKEY", ""); // 보안메일용으로 기입 불필요