-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.properties
34 lines (34 loc) · 1.22 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
###########################
### DB - datasource/JPA ###
###########################
spring.datasource.url=jdbc:mysql://localhost:${dbPort\:3306}/sakila?serverTimezone=UTC
spring.datasource.username=sakila
spring.datasource.password=p_ssW0rd
#spring.datasource.dbcp2.max-wait-millis=30000
#spring.datasource.dbcp2.validation-query=SELECT 1
#spring.datasource.dbcp2.validation-query-timeout=30
spring.jpa.hibernate.ddl-auto=update
spring.jpa.open-in-view=true
#logging.level.org.hibernate.SQL=DEBUG
#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
#spring.jpa.show-sql=true
#spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
#spring.jpa.properties.hibernate.id.new_generator_mappings=true
#spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
##########################
### general api config ###
##########################
server.servlet.context-path=/api
server.port=8888
###############
### GraphQL ###
###############
#server.servlet.context-path=/spring-graphql-query-vs-rest-get-method
graphql.servlet.mapping=/graphql
graphql.servlet.async-timeout=60000
graphql.servlet.max-query-depth=100
graphql.servlet.exception-handlers-enabled=true
############
### gRPC ###
############
grpc.server.port=8889