빌드 환경 및 의존성 정리
- build.gradle: nexus 저장소 추가, com.diffplug.eclipse.apt 제거, kjb-safedb 주석 처리 - .gitignore: 빌드 산출물 제외 규칙 추가
This commit is contained in:
+3
-1
@@ -2,4 +2,6 @@ build/
|
||||
.settings
|
||||
.classpath
|
||||
.project
|
||||
out
|
||||
out
|
||||
/.apt_generated/
|
||||
/.apt_generated_tests/
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
/main/
|
||||
/test/
|
||||
/default/
|
||||
|
||||
+8
-1
@@ -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'
|
||||
|
||||
|
||||
@@ -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", ""); // 보안메일용으로 기입 불필요
|
||||
|
||||
|
||||
Reference in New Issue
Block a user