-
Notifications
You must be signed in to change notification settings - Fork 57
/
application.properties
51 lines (39 loc) · 1.87 KB
/
application.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
spring.application.name=water-service
spring.application.org=teahouse
spring.profiles.default=local
server.port=8091
spring.output.ansi.enabled=always
spring.jackson.serialization.indent_output=true
spring.jackson.date-format=com.fasterxml.jackson.databind.util.ISO8601DateFormat
spring.mvc.problemdetails.enabled=true
logging.file.name=${spring.application.home:.}/logs/${spring.application.name}.log
logbook.predicate.exclude[0].path=/actuator/**
management.endpoints.web.exposure.include=*
management.endpoint.health.show-details=always
management.endpoint.env.show-values=always
management.info.env.enabled=true
management.info.java.enabled=true
management.info.os.enabled=true
spring.cloud.discovery.client.composite-indicator.enabled=false
management.observations.key-values.org=${spring.application.org}
management.metrics.tags.application=${spring.application.name}
management.metrics.tags.org=${spring.application.org}
management.metrics.tags.profiles=${spring.profiles.active}
management.prometheus.metrics.export.step=10s
management.metrics.distribution.percentiles-histogram.http.server.requests=true
management.tracing.sampling.probability=1.0
server.tomcat.mbeanregistry.enabled=true
logging.level.org.springframework.web.servlet.DispatcherServlet=DEBUG
logging.level.com.netflix.discovery=OFF
spring.datasource.url=jdbc:h2:mem:water-db;MODE=MySQL
spring.datasource.username=sa
spring.datasource.password=password
spring.jpa.hibernate.ddl-auto=validate
spring.h2.console.enabled=true
jdbc.datasource-proxy.query.enable-logging=true
jdbc.datasource-proxy.query.log-level=INFO
jdbc.datasource-proxy.include-parameter-values=true
# Generate schema creation script
#spring.jpa.properties.hibernate.hbm2ddl.delimiter=;
#spring.jpa.properties.jakarta.persistence.schema-generation.scripts.action=create
#spring.jpa.properties.jakarta.persistence.schema-generation.scripts.create-target=create.sql