diff --git a/README.md b/README.md
index 41cda01..b6382ef 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,5 @@
### 프로젝트 실행 오류 처리
+
```text
import static cokr.xit.ens.modules.common.ctgy.sys.mng.domain.QOrgMng.orgMng;
관련해서 못찾는 경우가 발생
@@ -10,12 +11,14 @@ annotations, java 폴더가 Excluded 상태인데 마우스 우클릭해서 Sour
```
### 배포
+
```text
[민자]
-mvn clean package -P prod-iup
+mvn clean package -P prod
```
### 업무
+
```text
[전자고지]
- 나이스 CI 소켓
@@ -30,6 +33,7 @@ mvn clean package -P prod-iup
```
### 연계
+
```text
[나이스 CI 소켓]
- /doc/NICE_CI모듈.zip
@@ -51,4 +55,4 @@ mvn clean package -P prod-iup
[네이버페이 간편결제]
- 개발자센터 : https://developer.pay.naver.com/
-```
\ No newline at end of file
+```
diff --git a/pom.xml b/pom.xml
index eb87676..a263cad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -386,16 +386,16 @@
WEB-INF/classes/**/ens/batch/**,
WEB-INF/classes/**/ens/modules/**,
- WEB-INF/classes/application-local*.yml,
+ WEB-INF/classes/application-local.yml,
- prod-iup
+ prod
- prod-iup
+ prod
${package.include.base}
WEB-INF/classes/**/ens/modules/**,
@@ -403,7 +403,7 @@
WEB-INF/classes/**/ens/biz/iup/**,
- WEB-INF/classes/application-prod-iup.yml,
+ WEB-INF/classes/application-prod.yml,
WEB-INF/classes/mybatis-mapper/**,
@@ -414,57 +414,5 @@
-
- prod-traffic-cc
-
- prod-traffic
-
- ${package.include.base}
- WEB-INF/classes/**/ens/batch/**/EnsKkoMydocScheduler.class,
- WEB-INF/classes/**/ens/modules/common/**,
- WEB-INF/classes/**/ens/modules/kkomydoc/**,
- WEB-INF/classes/**/ens/biz/traffic/chuncheon/**,
- WEB-INF/classes/application-prod-traffic.yml,
-
-
- ${package.exclude.base}
- WEB-INF/classes/**/ens/modules/common/ctgy/intgrnnoti/**,
-
-
-
-
-
- src/main/resources
-
- mybatis-mapper/**
-
-
-
-
-
-
- prod-traffic-cheonan
-
- prod-traffic-cheonan
-
- ${package.include.base}
- WEB-INF/classes/**/ens/batch/**/EnsIntgrnScheduler.class,
- WEB-INF/classes/**/ens/batch/**/EnsKkoMydocScheduler.class,
- WEB-INF/classes/**/ens/batch/**/EnsKtGibisScheduler.class,
- WEB-INF/classes/**/ens/modules/**,
-
-
-
-
- WEB-INF/classes/**/ens/biz/traffic/cheonan/**,
- WEB-INF/classes/application-prod-traffic-cheonan.yml,
- WEB-INF/classes/mybatis-mapper/**,
-
-
- ${package.exclude.base}
-
- ojdbc6
-
-
diff --git a/src/main/java/cokr/xit/ens/ModulePostApplication.java b/src/main/java/cokr/xit/ens/ModulePostApplication.java
index 399307d..c8b5780 100644
--- a/src/main/java/cokr/xit/ens/ModulePostApplication.java
+++ b/src/main/java/cokr/xit/ens/ModulePostApplication.java
@@ -25,7 +25,7 @@ public class ModulePostApplication {
if (Checks.isEmpty(System.getProperty("spring.profiles.active"))) {
log.error("====================================================================");
log.error(">>>>>>>>>>>>>> Undefined start option <<<<<<<<<<<<<<");
- log.error(">>>>>>>>>>>>>> -Dspring.profiles.active=local|dev|prod-traffic/prod-traffic-cheonan/prod-iup <<<<<<<<<<<<<<");
+ log.error(">>>>>>>>>>>>>> -Dspring.profiles.active=local|dev|prod <<<<<<<<<<<<<<");
log.error("============== ENS Application start fail ===============");
log.error("====================================================================");
System.exit(-1);
diff --git a/src/main/java/cokr/xit/ens/biz/iup/init/IupJpaRunner.java b/src/main/java/cokr/xit/ens/biz/iup/init/IupJpaRunner.java
index c2026fe..5f42400 100644
--- a/src/main/java/cokr/xit/ens/biz/iup/init/IupJpaRunner.java
+++ b/src/main/java/cokr/xit/ens/biz/iup/init/IupJpaRunner.java
@@ -1,20 +1,22 @@
package cokr.xit.ens.biz.iup.init;
-import cokr.xit.ens.core.init.InitJpaRunner;
-import cokr.xit.ens.modules.common.code.PostSeCd;
-import cokr.xit.ens.modules.common.ctgy.sys.mng.model.OrgMngDTO;
-import com.fasterxml.jackson.databind.ObjectMapper;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
-import java.util.ArrayList;
-import java.util.List;
-import java.util.Map;
+import com.fasterxml.jackson.databind.ObjectMapper;
+
+import cokr.xit.ens.core.init.InitJpaRunner;
+import cokr.xit.ens.modules.common.code.PostSeCd;
+import cokr.xit.ens.modules.common.ctgy.sys.mng.model.OrgMngDTO;
@Component
@Transactional
-@Profile({"prod-iup", "local-maria", "local-oracle"})
+@Profile({"prod", "local"})
public class IupJpaRunner extends InitJpaRunner {
ObjectMapper mapper = new ObjectMapper();
@@ -139,4 +141,4 @@ public class IupJpaRunner extends InitJpaRunner {
}
-}
\ No newline at end of file
+}
diff --git a/src/main/java/cokr/xit/ens/biz/traffic/cheonan/code/SndngProcessSttusCd.java b/src/main/java/cokr/xit/ens/biz/traffic/cheonan/code/SndngProcessSttusCd.java
deleted file mode 100644
index dcf8688..0000000
--- a/src/main/java/cokr/xit/ens/biz/traffic/cheonan/code/SndngProcessSttusCd.java
+++ /dev/null
@@ -1,40 +0,0 @@
-package cokr.xit.ens.biz.traffic.cheonan.code;
-
-import cokr.xit.ens.core.code.CodeMapperType;
-
-
-
-/**
- * 주정차웹 전자고지 발송처리상태 코드
- */
-public enum SndngProcessSttusCd implements CodeMapperType {
-
- accept("접수")
- , acptok("접수성공")
- , acptfail("접수실패")
-
- , ensmake("제작")
- , ensstart("전송시작")
- , ensok("전송성공")
- , ensfail("전송실패")
- , ensopen("열람중")
- , ensclose("조회기간마감")
- ;
-
- private final String code;
- private final String codeNm;
- SndngProcessSttusCd(String codeNm) {
- this.code = this.name();
- this.codeNm = codeNm;
- }
-
- @Override
- public String getCode() {
- return this.code;
- }
-
- @Override
- public String getCodeNm() {
- return this.codeNm;
- }
-}
diff --git a/src/main/java/cokr/xit/ens/biz/traffic/cheonan/code/SndngResultSttusCd.java b/src/main/java/cokr/xit/ens/biz/traffic/cheonan/code/SndngResultSttusCd.java
deleted file mode 100644
index 0cd07a9..0000000
--- a/src/main/java/cokr/xit/ens/biz/traffic/cheonan/code/SndngResultSttusCd.java
+++ /dev/null
@@ -1,66 +0,0 @@
-package cokr.xit.ens.biz.traffic.cheonan.code;
-
-import cokr.xit.ens.core.code.CodeMapperType;
-
-
-/**
- * 주정차웹 전자고지 발송결과상태 코드
- */
-public enum SndngResultSttusCd implements CodeMapperType {
-
- UNKNOWN("알수없음")
-
- , REG("등록")
- , MAKING("제작")
-
- , ACPT_OK("접수요청성공")
- , ACPT_FAIL("접수실패")
- , ACPT_CMPLT("접수완료")
-
-
- , UNIDENTIFIED_USER("비회원")
- , FORBIDDEN("수신거부")
- , INVALID_VALUE("파라미터 오류")
- , INTERNAL_ERROR("API 서버 내부 오류")
- , INVALID_REQUEST("유효하지 않은 요청")
- , FORBIDDEN_USER("허용되지 않은 사용자")
-
- , FAIL("전송실패")
- , SENT("송신")
- , RECEIVED("수신")
- , READ("열람")
- , EXPIRED("만료")
- ;
-
- private final String code;
- private final String codeNm;
-
- SndngResultSttusCd(String codeNm) {
- this.code = this.name();
- this.codeNm = codeNm;
- }
-
- @Override
- public String getCode() {
- return this.code;
- }
-
- @Override
- public String getCodeNm() {
- return this.codeNm;
- }
-
-
- public static SndngResultSttusCd valueOfEnum(String statCd) {
- if (statCd == null)
- return SndngResultSttusCd.UNKNOWN;
-
- SndngResultSttusCd sndngResultSttusCd = null;
- try {
- sndngResultSttusCd = SndngResultSttusCd.valueOf(statCd);
- } catch (IllegalArgumentException e) {
- sndngResultSttusCd = SndngResultSttusCd.UNKNOWN;
- }
- return sndngResultSttusCd;
- }
-}
diff --git a/src/main/java/cokr/xit/ens/biz/traffic/cheonan/code/SndngSeCd.java b/src/main/java/cokr/xit/ens/biz/traffic/cheonan/code/SndngSeCd.java
deleted file mode 100644
index 6af68d3..0000000
--- a/src/main/java/cokr/xit/ens/biz/traffic/cheonan/code/SndngSeCd.java
+++ /dev/null
@@ -1,49 +0,0 @@
-package cokr.xit.ens.biz.traffic.cheonan.code;
-
-import cokr.xit.ens.core.code.CodeMapperType;
-
-
-/**
- * 주정차웹 전자고지 발송구분 코드
- */
-public enum SndngSeCd implements CodeMapperType {
-
- UNKNOWN("알수없음")
- ,intgrnNoti("통합 전자고지")
- ,kkoMydoc("카카오페이 내문서함(인증톡)")
- ,kkoAlimtalk("카카오페이 알림톡")
- ,nvSigntalk("네이버 고지서(인증톡)")
- ,ktSigntalk("KT 인증톡")
- ,ktGibis("KT 인증톡(지비스)");
- ;
-
- private final String code;
- private final String codeNm;
- SndngSeCd(String codeNm) {
- this.code = this.name();
- this.codeNm = codeNm;
- }
-
- @Override
- public String getCode() {
- return this.code;
- }
-
- @Override
- public String getCodeNm() {
- return this.codeNm;
- }
-
- public static SndngSeCd valueOfEnum(String statCd) {
- if (statCd == null)
- return SndngSeCd.UNKNOWN;
-
- SndngSeCd SndngSeCd = null;
- try {
- SndngSeCd = SndngSeCd.valueOf(statCd);
- } catch (IllegalArgumentException e) {
- SndngSeCd = SndngSeCd.UNKNOWN;
- }
- return SndngSeCd;
- }
-}
diff --git a/src/main/java/cokr/xit/ens/biz/traffic/cheonan/init/TrafficCaJpaRunner.java b/src/main/java/cokr/xit/ens/biz/traffic/cheonan/init/TrafficCaJpaRunner.java
deleted file mode 100644
index d02c00c..0000000
--- a/src/main/java/cokr/xit/ens/biz/traffic/cheonan/init/TrafficCaJpaRunner.java
+++ /dev/null
@@ -1,130 +0,0 @@
-package cokr.xit.ens.biz.traffic.cheonan.init;
-
-import cokr.xit.ens.biz.traffic.cheonan.signtalk.domain.repository.TcaNhtTmplatManageRepository;
-import cokr.xit.ens.biz.traffic.cheonan.signtalk.domain.repository.TcaRlaybsnmManageRepository;
-import cokr.xit.ens.core.init.InitJpaRunner;
-import cokr.xit.ens.modules.common.code.PostSeCd;
-import cokr.xit.ens.modules.common.ctgy.sys.mng.model.OrgMngDTO;
-import cokr.xit.ens.modules.ktsigntalk.common.code.MTypeCd;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.context.annotation.Profile;
-import org.springframework.stereotype.Component;
-import org.springframework.transaction.annotation.Transactional;
-
-import java.util.List;
-import java.util.Map;
-import java.util.stream.Collectors;
-
-
-/**
- * 주정차웹-천안
- */
-//TODO: 데이터초기화 목적으로 사용. ex) 최초 배포 시
-//@Component
-@Transactional
-@Profile({"prod-traffic-cheonan", "local-test"})
-public class TrafficCaJpaRunner extends InitJpaRunner {
- ObjectMapper mapper = new ObjectMapper();
-
-// @Value("${contract.custom.dng.nice.dici.rest.client-id}")
-// private String DNG_NICE_CD_CLIENT_ID;
-// @Value("${contract.custom.dng.nice.dici.rest.client-secret}")
-// private String DNG_NICE_CD_CLIENT_SECRET;
-// @Value("${contract.custom.dng.kakao.pay.mydoc.access-token}")
-// private String DNG_KKO_MD_ACCESS_TOKEN;
-// @Value("${contract.custom.dng.kakao.pay.mydoc.contract-uuid}")
-// private String DNG_KKO_MD_CONTRACT_UUID;
-//
-// @Value("${contract.custom.sbg.nice.dici.rest.client-id}")
-// private String SBG_NICE_CD_CLIENT_ID;
-// @Value("${contract.custom.sbg.nice.dici.rest.client-secret}")
-// private String SBG_NICE_CD_CLIENT_SECRET;
-// @Value("${contract.custom.sbg.kakao.pay.mydoc.access-token}")
-// private String SBG_KKO_MD_ACCESS_TOKEN;
-// @Value("${contract.custom.sbg.kakao.pay.mydoc.contract-uuid}")
-// private String SBG_KKO_MD_CONTRACT_UUID;
-
- @Autowired
- private TcaRlaybsnmManageRepository tcaRlaybsnmManageRepository;
- @Autowired
- private TcaNhtTmplatManageRepository tcaNhtTmplatManageRepository;
-
- @Override
- protected List createOrgMngDTO() {
-// List list = new ArrayList<>();
-// list.add(createOrgMngDTO("TCA01", "", "천안-동남구", "N", null, null, DNG_NICE_CD_CLIENT_ID, DNG_NICE_CD_CLIENT_SECRET, DNG_KKO_MD_ACCESS_TOKEN, DNG_KKO_MD_CONTRACT_UUID));
-// list.add(createOrgMngDTO("TCA02", "", "천안-서북구", "N", null, null, SBG_NICE_CD_CLIENT_ID, SBG_NICE_CD_CLIENT_SECRET, SBG_KKO_MD_ACCESS_TOKEN, SBG_KKO_MD_CONTRACT_UUID));
-// return list;
- return tcaRlaybsnmManageRepository.findAll().stream()
- .map(entity -> OrgMngDTO.builder()
- .orgCd(entity.getSignguCode())
- .orgNm(entity.getSignguNm())
-
- .kkoMdAccessToken(entity.getKakaoAccessToken())
- .kkoMdContractUuid(entity.getKakaoContractUuid())
-
- .kkoBpCsignYn("N")
-// .kkoBpBillerCode(KKO_BP_BILLER_CODE)
-// .kkoBpAuthorization(KKO_BP_AUTHORIZATION)
-// .kkoBpCsignPrepayApi(kkoBpPrepayApi)
-// .kkoBpCsignPayResultApi(kkoBpPayResultApi)
-
-// .kkoAtBsid(KKO_AT_BSID)
-// .kkoAtPasswd(KKO_AT_PASSWD)
-// .kkoAtSenderKey(KKO_AT_SENDER_KEY)
-
- .niceCdSiteCode(null)
- .niceCdSitePw(entity.getNiceSiteCode())
- .niceCdClientId(entity.getNiceClientId())
- .niceCdClientSercet(entity.getNiceClientSecret())
-
-// .nvStXNaverClientId(NV_ST_X_NAVER_CLIENT_ID)
-// .nvStXNaverClientSecret(NV_ST_X_NAVER_CLIENT_SECRET)
-// .nvStOrgId(nvOrgId)
-
-// .ktStAccessToken(null)
-// .ktStServiceCd(null)
-// .ktStServiceKey(null)
- .ktStClientId(entity.getKtClientId())
- .ktStClientSecret(entity.getKtClientSecret())
- .build())
- .collect(Collectors.toList());
- }
-
- @Override
- protected List