Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: local 설정 파일 분리 #2

Merged
merged 2 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ public void addInterceptors(final InterceptorRegistry registry) {
registry.addInterceptor(userAuthInterceptor)
.excludePathPatterns(
"/admin/**",
"/test/**"
"/test/**",
"/api/login/**"
);
}

Expand Down
27 changes: 2 additions & 25 deletions server/src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,4 @@
spring:
config:
activate:
on-profile: test
flyway:
enabled: true
baseline-on-migrate: true
datasource:
url: jdbc:mysql://127.0.0.1:3306/sallange
username: root
password:
driver-class-name: com.mysql.cj.jdbc.Driver
jpa:
database-platform: org.hibernate.dialect.MySQLDialect
hibernate:
ddl-auto: validate
properties:
hibernate:
show_sql: true
format_sql: true
use_sql_comments: true
jdbc:
batch_size: 10
datasource:
driver-class-name: org.h2.Driver
url: jdbc:h2:mem:test;Mode=MySql

import:
- security/application-local.yml
Loading