From 6bf684fbbcab0f9a58c36de506041a4af11691f5 Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Mon, 12 Jun 2023 12:09:57 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B6=80=ED=8A=B8=20=EC=84=A4=EC=A0=95=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 128 ++++++-------------------- src/main/resources/application.yml | 37 ++++++++ src/main/resources/log4j2.xml | 44 --------- src/main/resources/logback-spring.xml | 81 ++++++++++++++++ src/main/resources/lombok.config | 2 - 5 files changed, 146 insertions(+), 146 deletions(-) create mode 100644 src/main/resources/application.yml delete mode 100644 src/main/resources/log4j2.xml create mode 100644 src/main/resources/logback-spring.xml delete mode 100644 src/main/resources/lombok.config diff --git a/pom.xml b/pom.xml index d95533e2..81264782 100644 --- a/pom.xml +++ b/pom.xml @@ -1,125 +1,53 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - xit-app + + + org.springframework.boot + spring-boot-starter-parent + 2.7.12 + + + + cokr.xit.app fims - war - 1.0.0-SNAPSHOT + 0.0.1-SNAPSHOT fims - http://www.xit.co.kr + fims - UTF-8 - 17 - ${java.version} - ${java.version} - - + 17 - - - maven-public - http://xit.xit-nexus.com:8081/repository/maven-public/ - - - egovframe - https://maven.egovframe.go.kr/maven/ - - true - - - false - - - - - - cokr.xit.base - xit-base - 23.04.01-SNAPSHOT - - org.mariadb.jdbc mariadb-java-client - 2.7.2 - - - org.junit.jupiter - junit-jupiter-engine - 5.9.2 - provided - - - - - - - org.egovframe.rte - org.egovframe.rte.fdl.cmmn - 4.1.0 - - - org.egovframe.rte - org.egovframe.rte.fdl.idgnr - 4.1.0 + runtime - - fims + - org.apache.maven.plugins - maven-war-plugin - 3.3.2 + org.springframework.boot + spring-boot-maven-plugin + + + + org.projectlombok + lombok + + + - - - - - maven-snapshot - - http://xit.xit-nexus.com:8081/repository/maven-snapshots/ - - - - - maven-release - http://xit.xit-nexus.com:8081/repository/maven-releases/ - - - - - - - - - + \ No newline at end of file diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml new file mode 100644 index 00000000..d435e99d --- /dev/null +++ b/src/main/resources/application.yml @@ -0,0 +1,37 @@ +server: + servlet: + context-path: /fims + +spring: + application: + name: fims + + main: + allow-bean-definition-overriding: true + + sql: + init: + platform: mariadb + + datasource: + driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy + url: jdbc:log4jdbc:mariadb://211.119.124.9:4407/platform?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false + username: fimsweb + password: fimsweb!@ + +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 +# extFileName: +# - encoding: UTF-8 +# filename: classpath*:properties/your-file-01.properties +# - encoding: UTF-8 +# filename: classpath*:properties/your-file-02.properties diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml deleted file mode 100644 index 38834dce..00000000 --- a/src/main/resources/log4j2.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml new file mode 100644 index 00000000..e3e4f752 --- /dev/null +++ b/src/main/resources/logback-spring.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + ${LOG_PATTERN} + + + + + ${LOG_PATH}/${LOG_FILE_NAME}.log + + ${LOG_PATTERN} + + + + + ${LOG_PATH}/${LOG_FILE_NAME}.%d{yyyy-MM-dd}_%i.log + + 10MB + + + 30 + + + + + + + error + ACCEPT + DENY + + + ${LOG_PATH}/${ERR_LOG_FILE_NAME}.log + + ${LOG_PATTERN} + + + + + ${LOG_PATH}/${ERR_LOG_FILE_NAME}.%d{yyyy-MM-dd}_%i.log + + + 10MB + + + 60 + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/lombok.config b/src/main/resources/lombok.config deleted file mode 100644 index 0a8874c0..00000000 --- a/src/main/resources/lombok.config +++ /dev/null @@ -1,2 +0,0 @@ -# see https://projectlombok.org/features/constructor lombok.copyableAnnotations -lombok.copyableAnnotations += org.springframework.beans.factory.annotation.Qualifier