File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
java/com/ai/lawyer/global/config Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 55import org .springframework .boot .jdbc .DataSourceBuilder ;
66import org .springframework .context .annotation .Bean ;
77import org .springframework .context .annotation .Configuration ;
8+ import org .springframework .context .annotation .Profile ;
89
910import javax .sql .DataSource ;
1011
1112@ Configuration
13+ @ Profile ("!test-ci" )
1214public class MetaDBConfig {
1315
14- @ Value ("${spring.datasource-meta.jdbc- url}" )
16+ @ Value ("${spring.datasource-meta.url}" )
1517 private String url ;
1618
1719 @ Value ("${spring.datasource-meta.username}" )
Original file line number Diff line number Diff line change 66 driver-class-name : ${DEV_DATASOURCE_DRIVER}
77
88 datasource-meta :
9- jdbc- url : jdbc:mysql://localhost:3306/meta_db?useSSL=false&useUnicode=true&serverTimezone=Asia/Seoul&allowPublicKeyRetrieval=true&createDatabaseIfNotExist=true
9+ url : jdbc:mysql://localhost:3306/meta_db?useSSL=false&useUnicode=true&serverTimezone=Asia/Seoul&allowPublicKeyRetrieval=true&createDatabaseIfNotExist=true
1010 username : root
1111 password : balaw
1212 driver-class-name : com.mysql.cj.jdbc.Driver
You can’t perform that action at this time.
0 commit comments