aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/application-mysql.yml
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-04-25 11:29:44 +0300
committerGravatar Vitaly Takmazov2019-04-25 11:29:44 +0300
commit1d873c6f85ca90d1448dd54cbe718d84e83d79ea (patch)
tree49e8c5ececa6b18278303910050568b567869e7b /src/test/resources/application-mysql.yml
parent364fb7fad241ab4945ec1069e199a1d6344ae0ad (diff)
mysql test profile
run as SPRING_PROFILES_ACTIVE=mysql ./gradlew check
Diffstat (limited to 'src/test/resources/application-mysql.yml')
-rw-r--r--src/test/resources/application-mysql.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/resources/application-mysql.yml b/src/test/resources/application-mysql.yml
new file mode 100644
index 00000000..2203714f
--- /dev/null
+++ b/src/test/resources/application-mysql.yml
@@ -0,0 +1,13 @@
+spring:
+ datasource:
+ platform: mysql
+ initialization-mode: always
+ driver-class-name: org.mariadb.jdbc.Driver
+ url: jdbc:mariadb://localhost:${mariaDB4j.port}/test?zeroDateTimeBehavior=convertToNull&useMysqlMetadata=true
+ username: root
+ password:
+ flyway:
+ baseline-on-migrate: true
+
+mariaDB4j:
+ port: 3307 \ No newline at end of file