From 5efeac561135917781162584f166959d49916f1e Mon Sep 17 00:00:00 2001 From: leebj Date: Mon, 29 Jul 2024 17:47:40 +0900 Subject: [PATCH] no message --- .../xit/fims/base/web/MainController.java | 11 +--- src/main/resources/application.yml | 56 ------------------- .../resources/intf-conf/disabled-parking.conf | 16 ------ src/main/resources/intf-conf/file-job.conf | 55 ------------------ src/main/resources/intf-conf/gpki.conf | 25 --------- src/main/resources/intf-conf/lntris.conf | 20 ------- .../resources/intf-conf/xit-lvis.properties | 34 ----------- 7 files changed, 1 insertion(+), 216 deletions(-) delete mode 100644 src/main/resources/application.yml delete mode 100644 src/main/resources/intf-conf/disabled-parking.conf delete mode 100644 src/main/resources/intf-conf/file-job.conf delete mode 100644 src/main/resources/intf-conf/gpki.conf delete mode 100644 src/main/resources/intf-conf/lntris.conf delete mode 100644 src/main/resources/intf-conf/xit-lvis.properties diff --git a/src/main/java/cokr/xit/fims/base/web/MainController.java b/src/main/java/cokr/xit/fims/base/web/MainController.java index 04d4da92..65ccb09b 100644 --- a/src/main/java/cokr/xit/fims/base/web/MainController.java +++ b/src/main/java/cokr/xit/fims/base/web/MainController.java @@ -15,7 +15,6 @@ import org.springframework.web.servlet.mvc.method.annotation.SseEmitter; import cokr.xit.base.code.CommonCode; import cokr.xit.base.code.service.CodeService; -import cokr.xit.base.crypto.bean.XitAria; import cokr.xit.base.security.access.service.AuthorityService; import cokr.xit.base.user.SigunguQuery; import cokr.xit.base.user.service.SigunguDepartmentService; @@ -75,7 +74,7 @@ public class MainController extends cokr.xit.base.web.MainController { mav.addObject("sggList", sggs); - mav.addObject("sysSggCd", System.getProperty("sgg.active")); + mav.addObject("sysSggCd", System.getProperty("sgg")); return mav; @@ -166,11 +165,6 @@ public class MainController extends cokr.xit.base.web.MainController { @RequestMapping(name="접속자 IP 확인", value="/ipInfo.do") public ModelAndView ipInfo(HttpServletRequest hreq) { - XitAria crypto = new XitAria("xit-aria"); - String a1 = crypto.encrypt("1234567890123"); - String a2 = crypto.decrypt(a1); - - String remoteAddr = CmmnUtil.getClientIpAddr(hreq); String net = ""; @@ -203,10 +197,7 @@ public class MainController extends cokr.xit.base.web.MainController { return new ModelAndView("jsonView") .addObject("remoteAddr", remoteAddr) .addObject("net", net) - .addObject("a1",a1) - .addObject("a2",a2) ; - } diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml deleted file mode 100644 index 8e0ef512..00000000 --- a/src/main/resources/application.yml +++ /dev/null @@ -1,56 +0,0 @@ -server: - shutdown: graceful - port: 9078 - servlet: - context-path: / - -# ssl: -# enabled: true -# key-alias: fimskeystore -# key-store: classpath:fimskeystore.pkcs12 -# key-store-password: 'Xit5811807@)@#' -# key-password: 'Xit5811807@)@#' -# trust-store: classpath:fimstrust.pkcs12 -# trust-store-password: 'Xit5811807@)@#' - -# tomcat: -# remoteip: -# protocol-header-https-value: https - -spring: - application: - name: fims - main: - allow-bean-definition-overriding: true -# web-application-type: SERVLET - sql: - init: - platform: mariadb - datasource: - hikari: - driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy - jdbc-url: jdbc:log4jdbc:mariadb://211.119.124.9:4407/fims?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false&autocommit=false - username: fimsweb - password: fimsweb!@ - auto-commit: false - mvc: - static-path-pattern: /resources/**,/webjars/**,/files/** - web: - resources: - static-locations: /resources/,classpath:/META-INF/resources/webjars/,file:files/ - -messageSource: - basenames: - - classpath:message/message-common - - classpath:message/authentication-message - - classpath:org/egovframe/rte/fdl/property/messages/properties - -propertyService: - properties: - - tempDir: C:\temp - - pageUnit: 10 - - pageSize: 10 - - permitAccess: /intf/**/* - extFileName: - - encoding: UTF-8 - filename: classpath*:intf-conf/xit-lvis.properties diff --git a/src/main/resources/intf-conf/disabled-parking.conf b/src/main/resources/intf-conf/disabled-parking.conf deleted file mode 100644 index 6e5d80f6..00000000 --- a/src/main/resources/intf-conf/disabled-parking.conf +++ /dev/null @@ -1,16 +0,0 @@ -{ - "template": "template/disabled-parking-request.xml", /* 장애인 표지 조회를 위한 요청 xml 템플릿의 클래스패스 상의 경로 */ - - "serviceUrl": "http://localhost:9078/rid/ynservice/swsdn/DisabledParkingYnService", /* 장애인 표지 조회 모의 서비스 url */ - "targetServer": "SVR1311000030", /* 장애인 표지 조회 서버인증서 아이디 */ - - "request": { /* 요청 xml의 파라미터 시작과 끝 태그 */ - "start": "", - "end": "" - }, - - "response": { /* 응답 xml의 데이터 시작과 끝 태그 */ - "start": "", - "end": "" - } -} \ No newline at end of file diff --git a/src/main/resources/intf-conf/file-job.conf b/src/main/resources/intf-conf/file-job.conf deleted file mode 100644 index 36106eba..00000000 --- a/src/main/resources/intf-conf/file-job.conf +++ /dev/null @@ -1,55 +0,0 @@ -{ - "dirs": { - "receive": "files/ESB_AGENT/RCV", /* 수신 파일 최상위 디렉토리 */ - "send": "files/ESB_AGENT/SND", /* 전송 파일 최상위 디렉토리 */ - - "working": "files/interface/work", /* 파일 작업 최상위 디렉토리 */ - "success": "files/interface/success", /* 작업 완료한 파일의 최상위 디렉토리 */ - "fail": "files/interface/fail" /* 작업 실패한 파일의 최상위 디렉토리 */ - }, - - "dirCodes": { - "lntris": "1741000NIS", /* 차세대 지방세외수입 시스템 */ - "smg": "CG131000000768", /* 국민신문고 기관코드 */ - "epost": "CG144523401150" /* epost 기관코드 */ - }, - - "defaults": { - "charset": "euc-kr", - "fetchSize": 50, - "workSize": 50 - }, - - "jobs": [ - { /* 국민신문고 수신 */ - "name": "smg-receive", - "dirCode": "smg", /* <-- dirCodes */ - "infoType": "010", - "alert": "http://localhost:9078/intf/fims/smg/petition/receive.do" /* 업무 통보 url */ - }, - { /* 국민신문고 전송 */ - "name": "smg-send", - "dirCode": "smg", /* <-- dirCodes */ - "alert": "http://localhost:9078/intf/fims/smg/petition/reply.do" /* 업무 통보 url */ - }, - - { /* epost 전자우편 신청 전송 */ - "name": "epost-send-request", - "dirCode": "epost", /* <-- dirCodes */ - - "conOrg": "PJCT", /* 외부기관 구분코드 */ - "rceptId": "40219", /* 접수우체국 국기호 */ - "expiryDays": 10, /* 배달 만료 일수 */ - - "attachmentDir": "files/interface/attachment/epost", /* 원본 첨부파일 디렉토리 경로 */ - "txtFilename": "POSDF5$send_{yyyyMMddHHmmssSSS}.txt", - "zipFilename": "POSDF5${conKey}.zip" - }, - - { /* epost 전자우편 신청 수신 결과 */ - "name": "epost-receive-result", - "dirCode": "epost", /* <-- dirCodes */ - "alert": "http://localhost:9078/api/epost/result/receive.do" /* 업무 통보 url */ - } - ] -} \ No newline at end of file diff --git a/src/main/resources/intf-conf/gpki.conf b/src/main/resources/intf-conf/gpki.conf deleted file mode 100644 index 90a29829..00000000 --- a/src/main/resources/intf-conf/gpki.conf +++ /dev/null @@ -1,25 +0,0 @@ -{ - "license": "C:\\GPKI\\Lic", /* 이용기관 GPKI API 라이센스 디렉토리 */ - - "charset": "UTF-8", /* 문자셋 */ - - "server": { - "local": "SVR4060262001", /* 이용기관 서버 CN */ - "targets": "SVR1311000030" /* 대상기관 서버인증서 아이디, 여러 개일 경우 컴마(,)로 구분 */ - }, - - "ldapUrl": "ldap://10.1.7.118:389/cn=", /* 대상기관 인증서 다운로드를 위한 행정망 LDAP URL */ - /*"ldapUrl": "ldap://152.99.57.127:389/cn=", 대상기관 인증서 다운로드를 위한 인터넷망 LDAP URL */ - "certDir": "C:\\GPKI\\Certificate\\class1", /* 서버 인증서, 키 저장 디렉토리 */ - - "env": { /* 이용기관 서버 인증서 */ - "certFile": "SVR4060262001_env.cer", - "privateKeyFile": "SVR4060262001_env.key", - "privateKeyPassword": "wkddodls3322!" - }, - "sig": { /* 이용기관 서버 전자서명 */ - "certFile": "SVR4060262001_sig.cer", - "privateKeyFile": "SVR4060262001_sig.key", - "privateKeyPassword": "wkddodls3322!" - } -} \ No newline at end of file diff --git a/src/main/resources/intf-conf/lntris.conf b/src/main/resources/intf-conf/lntris.conf deleted file mode 100644 index 0ea855a4..00000000 --- a/src/main/resources/intf-conf/lntris.conf +++ /dev/null @@ -1,20 +0,0 @@ -{ - "useDatabase": true, - "sendRequest": false, - - "locals": [ - { - "organization": "4060000", /* 지역 자치단체 코드(7자리) */ - "systems": ["DPV","PVS","BPV","ECA","PES"] /* 지역 시스템 코드(3자리) */ - } - ], - - "remote": { - "organization": "1741000", /* 지방세외수입 기관 코드(7자리) */ - "systems": ["NIS"], /* 지방세외수입 시스템 코드(3자리) */ - "urls": { - "basic": "http://localhost:9079/mediate/ltis", /* 연계(개별) url */ - "special": "http://localhost:9079/mediate/ltis" /* 연계(특화) url */ - } - } -} \ No newline at end of file diff --git a/src/main/resources/intf-conf/xit-lvis.properties b/src/main/resources/intf-conf/xit-lvis.properties deleted file mode 100644 index 0c32328a..00000000 --- a/src/main/resources/intf-conf/xit-lvis.properties +++ /dev/null @@ -1,34 +0,0 @@ -#\uc2dc\uad70\uad6c\ucf54\ub4dc(\ud544\uc218) -lvis.sigungu.code=41480 -#\ub2f4\ub2f9\uc790 \uc8fc\ubbfc\ub4f1\ub85d\ubc88\ud638 -lvis.charger.ihinum= -#\ub2f4\ub2f9\uc790 IP \uc5b4\ub4dc\ub808\uc2a4 -lvis.charger.ip_adres= -#\ub2f4\ub2f9\uc790\uba85 -lvis.charger.nm=\uae40\ud30c\uc8fc -#\ub2f4\ub2f9\uc790 \uc5f0\ub77d\ucc98 -lvis.charger.wrc_telno=031-940-0000 - -#\uc815\ubcf4\uc2dc\uc2a4\ud15c ID(\ud544\uc218) -lvis.info_sys.id=41-000 -#\uc815\ubcf4\uc2dc\uc2a4\ud15c IP(\ud544\uc218) -lvis.info_sys.ip=101.0.115.13 -#\uc815\ubcf4\uc2dc\uc2a4\ud15c MAC \uc5b4\ub4dc\ub808\uc2a4 -lvis.info_sys.macaddress=EC:EB:B8:97:F2:14 - -#\uc554\ud638\ud654\ud0a4 -lvis.enc.key=0BCE7F19897CEA91 -#\uc554\ud638\ud654\ud0a4 \uadf8\ub8f9 -lvis.enc.key_group=1 -#\uc554\ud638\ud654\ud0a4 \ubc88\ud638 -lvis.enc.key_no=1 - -#lvis \uc0ac\uc6a9 \uc11c\ube44\uc2a4 (production || test || local) -lvis.host.active=production -#lvis \uc6b4\uc601 \uc11c\ube44\uc2a4 \uc8fc\uc18c -lvis.host.production=http://211.119.124.9:9079/lvis/services/WsFrontController -#lvis \ud14c\uc2a4\ud2b8 \uc11c\ube44\uc2a4 \uc8fc\uc18c -lvis.host.test=http://211.119.124.9:9079/lvis/services/WsFrontController - -#\uc790\ub3d9\ucc28 \uae30\ubcf8\uc0ac\ud56d \uc870\ud68c \ub85c\uadf8 \uc800\uc7a5 \uc5ec\ubd80(true || false) -lvis.log.basicInfo=true \ No newline at end of file