spring-petclinic/src/main/resources/application.properties
Oded Shopen 290bb439d1 Chatbot for Spring Petclinic.
Supports quering the owners, also guides the user through adding a pet to an owner
2024-09-11 13:09:56 +01:00

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