Created
September 13, 2018 11:19
-
-
Save AlicanAkkus/a8a369d39d10f11fdf4a0b5fb1ac66db to your computer and use it in GitHub Desktop.
Spring Boot test property file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spring: | |
application: | |
name: my-api | |
profiles: | |
active: test | |
--- | |
spring: | |
profiles: test | |
jpa: | |
show-sql: false | |
hibernate: | |
ddl-auto: create-drop | |
open-in-view: false | |
database-platform: org.hibernate.dialect.MySQLDialect | |
datasource: | |
url: jdbc:mysql://localhost:4306/my-api?createDatabaseIfNotExist=true | |
driver-class-name: com.mysql.jdbc.Driver | |
username: root | |
password: root_password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment