Skip to content

Commit

Permalink
refactor: 추천 기본 데이터 개선
Browse files Browse the repository at this point in the history
  • Loading branch information
angelSuho committed Jun 14, 2023
1 parent 9e20165 commit d91f5d3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ out/

### secret yml ###
src/main/resources/application-secret.yml
src/main/resources/application-db.yml

### generated ###
src/main/generated
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'

// db
runtimeOnly 'com.h2database:h2'
runtimeOnly 'com.mysql:mysql-connector-j'

// test
Expand Down
7 changes: 7 additions & 0 deletions src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ spring:
hibernate:
format_sql: true
use_sql_comments: true
autoconfigure:
exclude:
- org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration
- org.springframework.boot.autoconfigure.session.SessionAutoConfiguration
data:
redis:
host: 172.17.0.1
logging.level:
org:
hibernate.SQL: debug
Expand Down
9 changes: 1 addition & 8 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
spring:
profiles:
active: dev
include: secret, data
include: secret, data, db
mvc:
pathmatch:
matching-strategy: ant_path_matcher
hiddenmethod:
filter:
enabled: true
data:
redis:
host: 172.17.0.1
# autoconfigure:
# exclude:
# - org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration
# - org.springframework.boot.autoconfigure.session.SessionAutoConfiguration
management:
endpoint:
health:
Expand Down

0 comments on commit d91f5d3

Please sign in to comment.