Migrate SpringBootWebApplicationTest to spring profiles
- Instead of replacing configuration with dev configuration on classpath, create dev profile and use that - Move common properties to application.yaml Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
27
http-service/src/test/resources/application-dev.yaml
Normal file
27
http-service/src/test/resources/application-dev.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
# Enable debug logging
|
||||
debug: true
|
||||
logging.level.net.runelite: DEBUG
|
||||
|
||||
# Development data sources
|
||||
datasource:
|
||||
runelite:
|
||||
jndiName:
|
||||
driverClassName: com.mysql.jdbc.Driver
|
||||
type: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
|
||||
url: jdbc:mysql://localhost:3306/runelite
|
||||
username: runelite
|
||||
password: runelite
|
||||
runelite-cache:
|
||||
jndiName:
|
||||
driverClassName: com.mysql.jdbc.Driver
|
||||
type: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
|
||||
url: jdbc:mysql://localhost:3306/runelite-cache
|
||||
username: runelite
|
||||
password: runelite
|
||||
runelite-tracker:
|
||||
jndiName:
|
||||
driverClassName: com.mysql.jdbc.Driver
|
||||
type: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
|
||||
url: jdbc:mysql://localhost:3306/runelite-tracker
|
||||
username: runelite
|
||||
password: runelite
|
||||
Reference in New Issue
Block a user