|
| 1 | +# active profiles config |
| 2 | +# |
| 3 | +# application use two active profiles |
| 4 | +# |
| 5 | +# one for select repository layer |
| 6 | +# ------------------------------------------------ |
| 7 | +# When using HSQL, use: hsqldb |
| 8 | +# When using MySQL, use: mysql |
| 9 | +# When using PostgeSQL, use: postgresql |
| 10 | +# ------------------------------------------------ |
| 11 | +# |
| 12 | +# one - for select database |
| 13 | +# ------------------------------------------------ |
| 14 | +# When using Spring jpa, use: jpa |
| 15 | +# When using Spring JDBC, use: jdbc |
| 16 | +# When using Spring Data JPA, use: spring-data-jpa |
| 17 | +# ------------------------------------------------ |
| 18 | + |
| 19 | +spring.profiles.active=hsqldb,spring-data-jpa |
| 20 | + |
| 21 | +# ------------------------------------------------ |
| 22 | + |
| 23 | +server.port=9966 |
| 24 | +server.context-path=/petclinic/ |
| 25 | + |
| 26 | +spring.messages.basename=messages/messages |
| 27 | + |
| 28 | +logging.level.org.springframework=INFO |
| 29 | +#logging.level.org.springframework=DEBUG |
| 30 | + |
| 31 | +#logging.level.org.hibernate.SQL=DEBUG |
| 32 | +#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE |
| 33 | + |
| 34 | +# enable the desired authentication type |
| 35 | +# by default the authentication is disabled |
| 36 | +security.ignored=/** |
| 37 | +basic.authentication.enabled=true |
0 commit comments