Skip to content

Commit

Permalink
chore(#148): 데이터소스 설정 간소화: datasource의 URL 및 username을 치환
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeonkim committed Oct 20, 2024
1 parent 478f8c6 commit ff1fe7a
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions service/order/server/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spring:
datasource:
url: jdbc:mysql://sasaping-database.ctem8i2eavmt.ap-northeast-2.rds.amazonaws.com:3306/order
username: sasaping
url: ${DB_URL}/order
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ spring:
application:
name: payment
datasource:
url: jdbc:mysql://sasaping-database.ctem8i2eavmt.ap-northeast-2.rds.amazonaws.com:3306/payment
username: sasaping
url: ${DB_URL}/payment
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://sasaping-database.ctem8i2eavmt.ap-northeast-2.rds.amazonaws.com:3306/product
username: sasaping
url: ${DB_URL}/product
username: ${DB_USERNAME}
password: ${DB_PASSWORD}

cassandra:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spring:
datasource:
url: jdbc:mysql://sasaping-database.ctem8i2eavmt.ap-northeast-2.rds.amazonaws.com:3306/promotion
username: sasaping
url: ${DB_URL}/promotion
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver

Expand Down
4 changes: 2 additions & 2 deletions service/search/server/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spring:
datasource:
url: jdbc:mysql://sasaping-database.ctem8i2eavmt.ap-northeast-2.rds.amazonaws.com:3306/product
username: sasaping
url: ${DB_URL}/product
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
Expand Down
4 changes: 2 additions & 2 deletions service/slack/server/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ spring:
application:
name: slack
datasource:
url: jdbc:mysql://sasaping-database.ctem8i2eavmt.ap-northeast-2.rds.amazonaws.com:3306/payment
username: sasaping
url: ${DB_URL}/payment
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
Expand Down
4 changes: 2 additions & 2 deletions service/user/server/src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spring:
datasource:
url: jdbc:mysql://sasaping-database.ctem8i2eavmt.ap-northeast-2.rds.amazonaws.com:3306/user
username: sasaping
url: ${DB_URL}/user
username: ${DB_USERNAME}
password: ${DB_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver

Expand Down

0 comments on commit ff1fe7a

Please sign in to comment.