From f50c492b7a720b30255c8f473fa5d16d87a40749 Mon Sep 17 00:00:00 2001 From: limju Date: Tue, 14 Nov 2023 14:06:30 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20batch=20https=20=EC=A0=81=EC=9A=A9=20?= =?UTF-8?q?=20=20=20=20=20=20profile=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/config/application-prod.yml | 2 +- .../src/main/resources/config/application.yml | 22 +++++++++--------- .../main/resources/config/application-dev.yml | 5 +++- .../resources/config/application-local.yml | 3 +++ .../resources/config/application-prod.yml | 5 +++- .../src/main/resources/config/application.yml | 23 ++++++++++--------- 6 files changed, 35 insertions(+), 25 deletions(-) diff --git a/mens-api/src/main/resources/config/application-prod.yml b/mens-api/src/main/resources/config/application-prod.yml index cb2d9cc..f67b623 100644 --- a/mens-api/src/main/resources/config/application-prod.yml +++ b/mens-api/src/main/resources/config/application-prod.yml @@ -1,5 +1,5 @@ #----------------------------------------------------------------------- -# local 설정 +# prod 설정 #----------------------------------------------------------------------- spring: datasource: diff --git a/mens-api/src/main/resources/config/application.yml b/mens-api/src/main/resources/config/application.yml index 67b9cdf..481c748 100644 --- a/mens-api/src/main/resources/config/application.yml +++ b/mens-api/src/main/resources/config/application.yml @@ -64,7 +64,7 @@ spring: datasource: #type: com.zaxxer.hikari.HikariDataSource hikari: - maria: + primary: pool-name: xit-maria-pool auto-commit: false # 인프라의 적용된 connection time limit보다 작아야함 @@ -75,16 +75,16 @@ spring: data-source-properties: rewriteBatchedStatements: true - oracle: - pool-name: xit-oracle-pool - auto-commit: false - # 인프라의 적용된 connection time limit보다 작아야함 - max-lifetime: 1800000 - maximum-pool-size: 15 - minimum-idle: 5 -# transaction-isolation: TRANSACTION_READ_UNCOMMITTED - data-source-properties: - rewriteBatchedStatements: true +# secondary: +# pool-name: xit-oracle-pool +# auto-commit: false +# # 인프라의 적용된 connection time limit보다 작아야함 +# max-lifetime: 1800000 +# maximum-pool-size: 15 +# minimum-idle: 5 +## transaction-isolation: TRANSACTION_READ_UNCOMMITTED +# data-source-properties: +# rewriteBatchedStatements: true logging: level: diff --git a/mens-batch/src/main/resources/config/application-dev.yml b/mens-batch/src/main/resources/config/application-dev.yml index 07b73ad..fb1f8ca 100644 --- a/mens-batch/src/main/resources/config/application-dev.yml +++ b/mens-batch/src/main/resources/config/application-dev.yml @@ -1,6 +1,9 @@ #----------------------------------------------------------------------- -# local 설정 +# dev 설정 #----------------------------------------------------------------------- +server: + port: 9443 + http: 8082 spring: datasource: # =============== p6spy =============================== diff --git a/mens-batch/src/main/resources/config/application-local.yml b/mens-batch/src/main/resources/config/application-local.yml index 51ecde6..e9ed7ab 100644 --- a/mens-batch/src/main/resources/config/application-local.yml +++ b/mens-batch/src/main/resources/config/application-local.yml @@ -1,6 +1,9 @@ #----------------------------------------------------------------------- # local 설정 #----------------------------------------------------------------------- +server: + port: 9443 + http: 8082 spring: datasource: # =============== p6spy =============================== diff --git a/mens-batch/src/main/resources/config/application-prod.yml b/mens-batch/src/main/resources/config/application-prod.yml index ffaf5b1..641c066 100644 --- a/mens-batch/src/main/resources/config/application-prod.yml +++ b/mens-batch/src/main/resources/config/application-prod.yml @@ -1,6 +1,9 @@ #----------------------------------------------------------------------- -# local 설정 +# prod 설정 #----------------------------------------------------------------------- +server: + port: 9443 + http: 8082 spring: datasource: #username: root diff --git a/mens-batch/src/main/resources/config/application.yml b/mens-batch/src/main/resources/config/application.yml index ed47f45..5658d83 100644 --- a/mens-batch/src/main/resources/config/application.yml +++ b/mens-batch/src/main/resources/config/application.yml @@ -43,6 +43,7 @@ spring: # core의 application-common.yml과 application-auth.yml include include: + - https - common - auth - app @@ -63,7 +64,7 @@ spring: datasource: #type: com.zaxxer.hikari.HikariDataSource hikari: - maria: + primary: pool-name: xit-maria-pool auto-commit: false # 인프라의 적용된 connection time limit보다 작아야함 @@ -74,16 +75,16 @@ spring: data-source-properties: rewriteBatchedStatements: true - oracle: - pool-name: xit-oracle-pool - auto-commit: false - # 인프라의 적용된 connection time limit보다 작아야함 - max-lifetime: 1800000 - maximum-pool-size: 10 - minimum-idle: 5 -# transaction-isolation: TRANSACTION_READ_UNCOMMITTED - data-source-properties: - rewriteBatchedStatements: true +# secondary: +# pool-name: xit-oracle-pool +# auto-commit: false +# # 인프라의 적용된 connection time limit보다 작아야함 +# max-lifetime: 1800000 +# maximum-pool-size: 10 +# minimum-idle: 5 +## transaction-isolation: TRANSACTION_READ_UNCOMMITTED +# data-source-properties: +# rewriteBatchedStatements: true logging: level: