-
Notifications
You must be signed in to change notification settings - Fork 7
/
application.properties
177 lines (132 loc) · 6.3 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
# ###############################
# Tomcat Configuration
# ###############################
server.context-path=/spring-rest-api-starter-it/api
#spring.data.rest.base-path=/api
server.port=18080
spring.datasource.tomcat.max-wait=20000
spring.datasource.tomcat.max-active=50
spring.datasource.tomcat.max-idle=20
spring.datasource.tomcat.min-idle=15
spring.http.multipart.max-file-size=20MB
spring.http.multipart.max-request-size=20MB
# ###############################
# Data Source Configuration
# ###############################
# ###############
# MariaDB ==> Requires Hibernate Core >= 5.2.8 ==> Spring Boot 2
#spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
# Allows Hibernate to generate SQL optimized for a particular DBMS
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MariaDB53Dialect
#spring.jpa.properties.hibernate.dialect.storage_engine=innodb
# For DB initialization through Script, also set ddl-auto to none
#spring.datasource.platform=mariadb
# https://stackoverflow.com/questions/35856652/spring-boot-mysql-database-initialization-error-with-stored-procedures
#spring.datasource.separator=^;
# Connection url for the database
#spring.datasource.url=jdbc:mariadb://localhost:3306/spring_rest_api_starter_it?zeroDateTimeBehavior=convertToNull&createDatabaseIfNotExist=true
# Username and password
#spring.datasource.username=root
#spring.datasource.password=
# ###############
# MySQL
#spring.datasource.driver-class-name=com.mysql.jdbc.Driver
# Allows Hibernate to generate SQL optimized for a particular DBMS
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
#spring.jpa.properties.hibernate.dialect.storage_engine=innodb
# For DB initialization through Script, also set ddl-auto to none
#spring.datasource.platform=mysql
# https://stackoverflow.com/questions/35856652/spring-boot-mysql-database-initialization-error-with-stored-procedures
#spring.datasource.separator=^;
# Connection url for the database
#spring.datasource.url=jdbc:mysql://localhost:3306/spring_rest_api_starter_it?zeroDateTimeBehavior=convertToNull&createDatabaseIfNotExist=true&verifyServerCertificate=false&useSSL=true
# Username and password
#spring.datasource.username=root
#spring.datasource.password=
# ###############
# PostgreSQL
#spring.datasource.driver-class-name=org.postgresql.Driver
# For DB initialization through Script, also set ddl-auto to none
#spring.datasource.platform=postgresql
# Allows Hibernate to generate SQL optimized for a particular DBMS
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect
# Connection url for the database
#spring.datasource.url=jdbc:postgresql://localhost:5432/spring_rest_api_starter_it
# Username and password
#spring.datasource.username=postgres
#spring.datasource.password=postgres
# ###############
# H2
spring.datasource.driver-class-name=org.h2.Driver
# For DB initialization through Script, also set ddl-auto to none
spring.datasource.platform=h2
# Connection url for the database
spring.datasource.url=jdbc:h2:file:./data/h2/spring_rest_api_starter_it
# Username and password
spring.datasource.username=root
spring.datasource.password=
# ###############################
# JPA / Hibernate Configuration
# ###############################
#spring.jpa.properties.hibernate.current_session_context_class=org.springframework.orm.hibernate4.SpringSessionContext
# Show or not log for each sql query
spring.jpa.show-sql=false
spring.jpa.properties.hibernate.format_sql=false
# DDL auto must be set to "create" to ensure that Hibernate will run the
# schema.sql file at application startup or to allow JPA to create the schema
spring.jpa.hibernate.ddl-auto=create
# Naming strategy
#spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.cfg.ImprovedNamingStrategy
#spring.jpa.hibernate.naming.physical-strategy=org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.hibernate.naming.strategy=org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.properties.hibernate.id.new_generator_mappings=false
# ###############################
# Log Configuration
# ###############################
# Default logging configuration delegated to log4j2-spring.xml
# ###############################
# JavaMail Configuration
# ###############################
spring.mail.host=localhost
spring.mail.port=2525
spring.mail.protocol=smtp
spring.mail.test-connection=false
spring.mail.username=username
spring.mail.password=secret
spring.mail.properties.mail.debug=false
spring.mail.properties.mail.smtp.debug=false
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.ssl.enable=false
spring.mail.properties.mail.smtp.starttls.enable=true
# ###############################
# Custom App Configuration
# ###############################
application.build_timestamp=@timestamp@
application.email.app_title=My App Integration Tests
application.security.debug=false
# For simple symmetric MAC signing
application.security.signing-key=123456
# For RSA signing
#application.security.signing-key-path=data/keys/.id_rsa
#application.security.verifying-key-path=data/keys/.id_rsa.pub
# For RSA KeyPair signing
#application.security.key-pair-path=data/keys/.private.jks
#application.security.key-pair-password=youshouldoverwritethiswithsomethingelse
#application.security.key-pair-alias=spring_rest_api_starter_key
#application.security.verifying-key-path=data/keys/public.txt
application.file.upload_dir=data/integration-test/media
application.data.domain_name=monogramm.io
application.data.admin_password=thisisaverysecurepasswordforintegrationtests
application.data.demo=true
application.welcome.app_banner=resources/app-banner.txt
application.welcome.ascii_art=\n\
\ __ __ ____ _ _ ____ _____ _____ __ __ __ __ \n\
| \\/ | / __ \\ | \\ | | / __ \\ / ____| | __ \\ /\\ | \\/ | | \\/ | \n\
| \\ / | | | | | | \\| | | | | | | | __ | |__) | / \\ | \\ / | | \\ / | \n\
| |\\/| | | | | | | . ` | | | | | | | |_ | | _ / / /\\ \\ | |\\/| | | |\\/| | \n\
| | | | | |__| | | |\\ | | |__| | | |__| | | | \\ \\ / ____ \\ | | | | | | | | \n\
|_| |_| \\____/ |_| \\_| \\____/ \\_____| |_| \\_\\ /_/ \\_\\ |_| |_| |_| |_| \n