mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 19:07:28 +00:00
31 lines
928 B
Properties
31 lines
928 B
Properties
# database init, supports mysql too
|
|
database=h2
|
|
spring.sql.init.schema-locations=classpath*:db/${database}/schema.sql
|
|
spring.sql.init.data-locations=classpath*:db/${database}/data.sql
|
|
|
|
# Web
|
|
spring.thymeleaf.mode=HTML
|
|
|
|
# JPA
|
|
spring.jpa.hibernate.ddl-auto=none
|
|
spring.jpa.open-in-view=true
|
|
|
|
# Internationalization
|
|
spring.messages.basename=messages/messages
|
|
|
|
# Actuator
|
|
management.endpoints.web.exposure.include=*
|
|
|
|
# Logging
|
|
logging.level.org.springframework=INFO
|
|
# logging.level.org.springframework.web=DEBUG
|
|
# logging.level.org.springframework.context.annotation=TRACE
|
|
|
|
# Maximum time static resources should be cached
|
|
spring.web.resources.cache.cachecontrol.max-age=12h
|
|
|
|
#Disable Spring AI by default
|
|
spring.ai.chat.client.enabled=false
|
|
#Currently these properties require dummy values when a spring AI is in the classpath, even when chat is disabled.
|
|
spring.ai.azure.openai.api-key=dummy
|
|
spring.ai.azure.openai.endpoint=dummy
|