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:
Tomas Slusny
2019-02-18 00:26:34 +01:00
parent 9838ae7e0f
commit 52a862c43b
4 changed files with 41 additions and 31 deletions

View 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