diff --git a/.gitignore b/.gitignore index f44e616..5b6ef7f 100644 --- a/.gitignore +++ b/.gitignore @@ -105,3 +105,7 @@ TODO.txt *.report.md *.claude.md diff + +*rinjae* +src/main/resources/application-dev.yml +src/main/resources/application-gf63.yml \ No newline at end of file diff --git a/build.gradle b/build.gradle index b04316c..e089aa4 100644 --- a/build.gradle +++ b/build.gradle @@ -137,6 +137,15 @@ compileJava { options.compilerArgs += ["-parameters"] options.encoding = 'UTF-8' } + +processResources { + exclude { details -> + details.file.name.startsWith('application-') && + details.file.name.endsWith('.yml') && + !(details.file.name in ['application-stage.yml', 'application-prod.yml']) + } +} + test { useJUnitPlatform() enabled = true diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml deleted file mode 100644 index fb5f832..0000000 --- a/src/main/resources/application-dev.yml +++ /dev/null @@ -1,52 +0,0 @@ -spring: - jta: - enabled: true - config: - activate: - on-profile: dev - jpa: - properties: - hibernate: - show_sql: false - format_sql: true - use_sql_comments: true - devtools: - restart: - enabled: false - additional-exclude: logback*.xml - livereload: - enabled: true - thymeleaf: - cache: false - -ems: - datasource: - jdbc-url: jdbc:oracle:thin:@//192.168.240.177:1599/DAPM -# jdbc-url: jdbc:oracle:thin:@//192.168.240.177:1599/PAPM - driver-class-name: oracle.jdbc.OracleDriver - username: EMSAPP - password: EMSAPP123! - - -gateway: - datasource: - jdbc-url: jdbc:oracle:thin:@//192.168.240.177:1599/DAPM -# jdbc-url: jdbc:oracle:thin:@//192.168.240.177:1599/PAPM - driver-class-name: oracle.jdbc.OracleDriver - username: AGWAPP - password: AGWAPP123! - -portal: - auth-virtual-code: 654321 - test-auth-notice-enabled: true - -proxy: - targets: - stg: http://localhost:10000/monitoring - prod: http://localhost:10000/monitoring - -# stg: http://inter-ndapiap01.k-bank.com:7090/monitoring -# prod: http://inter-ndapiap01.k-bank.com:7090/monitoring - timeout: - connect: 5000 - read: 5000 diff --git a/src/main/resources/application-gf63.yml b/src/main/resources/application-gf63.yml deleted file mode 100644 index 35e0bac..0000000 --- a/src/main/resources/application-gf63.yml +++ /dev/null @@ -1,61 +0,0 @@ -server.port: '30200' - -spring: - jta: - enabled: true - web: - resources: - cache: - period: 0 # 캐시 비활성화 (개발 환경) - cachecontrol: - max-age: 0 - must-revalidate: true - no-cache: true - jpa: - properties: - hibernate: - show_sql: false - format_sql: true - use_sql_comments: true - devtools: - restart: - enabled: false - additional-exclude: logback*.xml - livereload: - enabled: true - thymeleaf: - cache: false - -ems: - datasource: - jdbc-url: jdbc:oracle:thin:@//192.168.240.177:1599/DAPM -# jdbc-url: jdbc:oracle:thin:@//192.168.240.177:1599/PAPM - driver-class-name: oracle.jdbc.OracleDriver - username: EMSAPP - password: EMSAPP123! - - -gateway: - datasource: - jdbc-url: jdbc:oracle:thin:@//192.168.240.177:1599/DAPM -# jdbc-url: jdbc:oracle:thin:@//192.168.240.177:1599/PAPM - driver-class-name: oracle.jdbc.OracleDriver - username: AGWAPP - password: AGWAPP123! - -portal: - logging: - log-path: d:/kjb-logs - # auth-virtual-code 제거 - gf63는 랜덤 인증번호 사용 - test-auth-notice-enabled: true - -proxy: - targets: - stg: http://localhost:10000/monitoring - prod: http://localhost:10000/monitoring - - # stg: http://inter-ndapiap01.k-bank.com:7090/monitoring - # prod: http://inter-ndapiap01.k-bank.com:7090/monitoring - timeout: - connect: 5000 - read: 5000 diff --git a/src/main/resources/application-kjb_rinjae.yml b/src/main/resources/application-kjb_rinjae.yml deleted file mode 100644 index d577ce7..0000000 --- a/src/main/resources/application-kjb_rinjae.yml +++ /dev/null @@ -1,60 +0,0 @@ -server.port: '30200' - -spring: - jta: - enabled: true - web: - resources: - cache: - period: 0 # 캐시 비활성화 (개발 환경) - cachecontrol: - max-age: 0 - must-revalidate: true - no-cache: true - jpa: - properties: - hibernate: - show_sql: false - format_sql: true - use_sql_comments: true - devtools: - restart: - enabled: false - livereload: - enabled: true - thymeleaf: - cache: false - -ems: - datasource: -# jdbc-url: jdbc:oracle:thin:@//192.168.240.177:1599/DAPM - jdbc-url: jdbc:oracle:thin:@//10.14.8.30:11521/ELINKDB - driver-class-name: oracle.jdbc.OracleDriver - username: EMSAPP - password: EMSAPP123! - - -gateway: - datasource: -# jdbc-url: jdbc:oracle:thin:@//192.168.240.177:1599/DAPM - jdbc-url: jdbc:oracle:thin:@//10.14.8.30:11521/ELINKDB - driver-class-name: oracle.jdbc.OracleDriver - username: AGWAPP - password: AGWAPP123! - -portal: - logging: - log-path: C:\eactive\logs - auth-virtual-code: 654321 - test-auth-notice-enabled: true - -proxy: - targets: - stg: http://localhost:10000/monitoring - prod: http://localhost:10000/monitoring - - # stg: http://inter-ndapiap01.k-bank.com:7090/monitoring - # prod: http://inter-ndapiap01.k-bank.com:7090/monitoring - timeout: - connect: 5000 - read: 5000 diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index fe28001..333b9ba 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -26,12 +26,4 @@ spring: cache: false portal: - test-auth-notice-enabled: false # prod 환경: UI 안내 미표시 - -proxy: - targets: - stg: http://inter-dapiwas01.k-bank.com:7090/monitoring - prod: http://inter-apiwas00.k-bank.com:7090/monitoring - timeout: - connect: 5000 - read: 5000 \ No newline at end of file + test-auth-notice-enabled: false # prod 환경: UI 안내 미표시 \ No newline at end of file diff --git a/src/main/resources/application-stage.yml b/src/main/resources/application-stage.yml index ff61939..6cf4377 100644 --- a/src/main/resources/application-stage.yml +++ b/src/main/resources/application-stage.yml @@ -45,10 +45,3 @@ gateway: hibernate-physical-naming-strategy: com.eactive.apim.portal.common.entity.CustomPhysicalNamingStrategy entity-package: com.eactive.eai.data.entity.onl -#proxy: -# targets: -# stg: http://inter-dapiwas01.k-bank.com:7090/monitoring -# prod: http://inter-dapiwas01.k-bank.com:7090/monitoring -# timeout: -# connect: 5000 -# read: 5000 \ No newline at end of file diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index af0551b..f3582d9 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -60,6 +60,7 @@ ems: datasource: jndi-name: jdbc/dsOBP_EMS schema: EMSADM + driver-class-name: oracle.jdbc.OracleDriver hibernate-dialect: org.hibernate.dialect.Oracle12cDialect hibernate-physical-naming-strategy: com.eactive.apim.portal.common.entity.CustomPhysicalNamingStrategy @@ -69,6 +70,7 @@ gateway: datasource: jndi-name: jdbc/dsOBP_AGW schema: AGWADM + driver-class-name: oracle.jdbc.OracleDriver hibernate-dialect: org.hibernate.dialect.Oracle12cDialect hibernate-physical-naming-strategy: com.eactive.apim.portal.common.entity.CustomPhysicalNamingStrategy