Skip to content

Instantly share code, notes, and snippets.

@bvader
Created September 27, 2018 04:09
Show Gist options
  • Save bvader/d37cb69f51b52f340de24665d5aa8530 to your computer and use it in GitHub Desktop.
Save bvader/d37cb69f51b52f340de24665d5aa8530 to your computer and use it in GitHub Desktop.
spring-petclinic-rest:src/main/resources/application.properties
# active profiles config
#
# application use two active profiles
#
# one for select repository layer
# ------------------------------------------------
# When using HSQL, use: hsqldb
# When using MySQL, use: mysql
# When using PostgeSQL, use: postgresql
# ------------------------------------------------
#
# one - for select database
# ------------------------------------------------
# When using Spring jpa, use: jpa
# When using Spring JDBC, use: jdbc
# When using Spring Data JPA, use: spring-data-jpa
# ------------------------------------------------
spring.profiles.active=mysql,spring-data-jpa
# ------------------------------------------------
server.port=9966
server.context-path=/petclinic/
spring.messages.basename=messages/messages
logging.level.org.springframework=INFO
#logging.level.org.springframework=DEBUG
#logging.level.org.hibernate.SQL=DEBUG
#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
# enable the desired authentication type
# by default the authentication is disabled
security.ignored=/**
basic.authentication.enabled=false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment