Skip to content

Commit 2f17c38

Browse files
committed
Use dashed case for properties appendix
Fixes gh-1834
1 parent 57a4cb1 commit 2f17c38

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ content into your application; rather pick only the properties that you need.
103103
spring.thymeleaf.cache=true # set to false for hot refresh
104104
105105
# FREEMARKER ({sc-spring-boot-autoconfigure}/freemarker/FreeMarkerAutoConfiguration.{sc-ext}[FreeMarkerAutoConfiguration])
106-
spring.freemarker.allowRequestOverride=false
106+
spring.freemarker.allow-request-override=false
107107
spring.freemarker.cache=true
108108
spring.freemarker.check-template-location=true
109-
spring.freemarker.charSet=UTF-8
109+
spring.freemarker.char-set=UTF-8
110110
spring.freemarker.contentType=text/html
111111
spring.freemarker.exposeRequestAttributes=false
112112
spring.freemarker.exposeSessionAttributes=false
@@ -115,35 +115,35 @@ content into your application; rather pick only the properties that you need.
115115
spring.freemarker.requestContextAttribute=
116116
spring.freemarker.settings.*=
117117
spring.freemarker.suffix=.ftl
118-
spring.freemarker.templateLoaderPath=classpath:/templates/
118+
spring.freemarker.template-loader-path=classpath:/templates/
119119
spring.freemarker.viewNames= # whitelist of view names that can be resolved
120120
121121
# GROOVY TEMPLATES ({sc-spring-boot-autoconfigure}/groovy/template/GroovyTemplateAutoConfiguration.{sc-ext}[GroovyTemplateAutoConfiguration])
122122
spring.groovy.template.cache=true
123-
spring.groovy.template.charSet=UTF-8
123+
spring.groovy.template.char-set=UTF-8
124124
spring.groovy.template.configuration.*= # See Groovy's TemplateConfiguration
125125
spring.groovy.template.contentType=text/html
126126
spring.groovy.template.prefix=classpath:/templates/
127127
spring.groovy.template.suffix=.tpl
128-
spring.groovy.template.viewNames= # whitelist of view names that can be resolved
128+
spring.groovy.template.view-names= # whitelist of view names that can be resolved
129129
130130
# VELOCITY TEMPLATES ({sc-spring-boot-autoconfigure}/velocity/VelocityAutoConfiguration.{sc-ext}[VelocityAutoConfiguration])
131-
spring.velocity.allowRequestOverride=false
131+
spring.velocity.allow-request-override=false
132132
spring.velocity.cache=true
133133
spring.velocity.check-template-location=true
134-
spring.velocity.charSet=UTF-8
135-
spring.velocity.contentType=text/html
136-
spring.velocity.dateToolAttribute=
137-
spring.velocity.exposeRequestAttributes=false
138-
spring.velocity.exposeSessionAttributes=false
139-
spring.velocity.exposeSpringMacroHelpers=false
140-
spring.velocity.numberToolAttribute=
134+
spring.velocity.char-set=UTF-8
135+
spring.velocity.content-type=text/html
136+
spring.velocity.date-tool-attribute=
137+
spring.velocity.expose-Request-attributes=false
138+
spring.velocity.expose-Session-attributes=false
139+
spring.velocity.expose-Spring-macro-helpers=false
140+
spring.velocity.number-tool-attribute=
141141
spring.velocity.prefix=
142142
spring.velocity.properties.*=
143-
spring.velocity.requestContextAttribute=
144-
spring.velocity.resourceLoaderPath=classpath:/templates/
143+
spring.velocity.request-context-attribute=
144+
spring.velocity.resource-loader-path=classpath:/templates/
145145
spring.velocity.suffix=.vm
146-
spring.velocity.viewNames= # whitelist of view names that can be resolved
146+
spring.velocity.view-names= # whitelist of view names that can be resolved
147147
148148
# INTERNATIONALIZATION ({sc-spring-boot-autoconfigure}/MessageSourceAutoConfiguration.{sc-ext}[MessageSourceAutoConfiguration])
149149
spring.messages.basename=messages
@@ -163,7 +163,7 @@ content into your application; rather pick only the properties that you need.
163163
security.headers.xss=false
164164
security.headers.cache=false
165165
security.headers.frame=false
166-
security.headers.contentType=false
166+
security.headers.content-type=false
167167
security.headers.hsts=all # none / domain / all
168168
security.sessions=stateless # always / never / if_required / stateless
169169
security.ignored=false
@@ -173,11 +173,11 @@ content into your application; rather pick only the properties that you need.
173173
spring.datasource.initialize=true # populate using data.sql
174174
spring.datasource.schema= # a schema (DDL) script resource reference
175175
spring.datasource.data= # a data (DML) script resource reference
176-
spring.datasource.sqlScriptEncoding= # a charset for reading SQL scripts
176+
spring.datasource.sql-script-encoding= # a charset for reading SQL scripts
177177
spring.datasource.platform= # the platform to use in the schema resource (schema-${platform}.sql)
178-
spring.datasource.continueOnError=false # continue even if can't be initialized
178+
spring.datasource.continue-on-error=false # continue even if can't be initialized
179179
spring.datasource.separator=; # statement separator in SQL initialization scripts
180-
spring.datasource.driverClassName= # JDBC Settings...
180+
spring.datasource.driver-class-name= # JDBC Settings...
181181
spring.datasource.url=
182182
spring.datasource.username=
183183
spring.datasource.password=
@@ -201,7 +201,7 @@ content into your application; rather pick only the properties that you need.
201201
202202
# JPA ({sc-spring-boot-autoconfigure}/orm/jpa/JpaBaseConfiguration.{sc-ext}[JpaBaseConfiguration], {sc-spring-boot-autoconfigure}/orm/jpa/HibernateJpaAutoConfiguration.{sc-ext}[HibernateJpaAutoConfiguration])
203203
spring.jpa.properties.*= # properties to set on the JPA connection
204-
spring.jpa.openInView=true
204+
spring.jpa.open-in-view=true
205205
spring.jpa.show-sql=true
206206
spring.jpa.database-platform=
207207
spring.jpa.database=
@@ -212,7 +212,7 @@ content into your application; rather pick only the properties that you need.
212212
213213
# SOLR ({sc-spring-boot-autoconfigure}/solr/SolrProperties.{sc-ext}[SolrProperties}])
214214
spring.data.solr.host=http://127.0.0.1:8983/solr
215-
spring.data.solr.zkHost=
215+
spring.data.solr.zk-host=
216216
spring.data.solr.repositories.enabled=true # if spring data repository support is enabled
217217
218218
# ELASTICSEARCH ({sc-spring-boot-autoconfigure}/elasticsearch/ElasticsearchProperties.{sc-ext}[ElasticsearchProperties}])
@@ -225,7 +225,7 @@ content into your application; rather pick only the properties that you need.
225225
# FLYWAY ({sc-spring-boot-autoconfigure}/flyway/FlywayProperties.{sc-ext}[FlywayProperties])
226226
flyway.locations=classpath:db/migrations # locations of migrations scripts
227227
flyway.schemas= # schemas to update
228-
flyway.initVersion= 1 # version to start migration
228+
flyway.init-version= 1 # version to start migration
229229
flyway.sql-migration-prefix=V
230230
flyway.sql-migration-suffix=.sql
231231
flyway.enabled=true
@@ -252,7 +252,7 @@ content into your application; rather pick only the properties that you need.
252252
spring.rabbitmq.addresses= # connection addresses (e.g. myhost:9999,otherhost:1111)
253253
spring.rabbitmq.username= # login user
254254
spring.rabbitmq.password= # login password
255-
spring.rabbitmq.virtualHost=
255+
spring.rabbitmq.virtual-host=
256256
spring.rabbitmq.dynamic=
257257
258258
# REDIS ({sc-spring-boot-autoconfigure}/redis/RedisProperties.{sc-ext}[RedisProperties])
@@ -276,7 +276,7 @@ content into your application; rather pick only the properties that you need.
276276
spring.hornetq.host=localhost # hornetQ host (native mode)
277277
spring.hornetq.port=5445 # hornetQ port (native mode)
278278
spring.hornetq.embedded.enabled=true # if the embedded server is enabled (needs hornetq-jms-server.jar)
279-
spring.hornetq.embedded.serverId= # auto-generated id of the embedded server (integer)
279+
spring.hornetq.embedded.server-id= # auto-generated id of the embedded server (integer)
280280
spring.hornetq.embedded.persistent=false # message persistence
281281
spring.hornetq.embedded.data-directory= # location of data content (when persistence is enabled)
282282
spring.hornetq.embedded.queues= # comma-separated queues to create on startup
@@ -319,12 +319,12 @@ content into your application; rather pick only the properties that you need.
319319
320320
# SPRING MOBILE DEVICE VIEWS ({sc-spring-boot-autoconfigure}/mobile/DeviceDelegatingViewResolverAutoConfiguration.{sc-ext}[DeviceDelegatingViewResolverAutoConfiguration])
321321
spring.mobile.devicedelegatingviewresolver.enabled=true # disabled by default
322-
spring.mobile.devicedelegatingviewresolver.normalPrefix=
323-
spring.mobile.devicedelegatingviewresolver.normalSuffix=
324-
spring.mobile.devicedelegatingviewresolver.mobilePrefix=mobile/
325-
spring.mobile.devicedelegatingviewresolver.mobileSuffix=
326-
spring.mobile.devicedelegatingviewresolver.tabletPrefix=tablet/
327-
spring.mobile.devicedelegatingviewresolver.tabletSuffix=
322+
spring.mobile.devicedelegatingviewresolver.normal-prefix=
323+
spring.mobile.devicedelegatingviewresolver.normal-suffix=
324+
spring.mobile.devicedelegatingviewresolver.mobile-prefix=mobile/
325+
spring.mobile.devicedelegatingviewresolver.mobile-suffix=
326+
spring.mobile.devicedelegatingviewresolver.tablet-prefix=tablet/
327+
spring.mobile.devicedelegatingviewresolver.tablet-suffix=
328328
329329
# ----------------------------------------
330330
# ACTUATOR PROPERTIES
@@ -333,7 +333,7 @@ content into your application; rather pick only the properties that you need.
333333
# MANAGEMENT HTTP SERVER ({sc-spring-boot-actuator}/autoconfigure/ManagementServerProperties.{sc-ext}[ManagementServerProperties])
334334
management.port= # defaults to 'server.port'
335335
management.address= # bind to a specific NIC
336-
management.contextPath= # default to '/'
336+
management.context-path= # default to '/'
337337
management.add-application-context-header= # default to true
338338
339339
# ENDPOINTS ({sc-spring-boot-actuator}/endpoint/AbstractEndpoint.{sc-ext}[AbstractEndpoint] subclasses)
@@ -378,7 +378,7 @@ content into your application; rather pick only the properties that you need.
378378
endpoints.jmx.enabled=true
379379
endpoints.jmx.domain= # the JMX domain, defaults to 'org.springboot'
380380
endpoints.jmx.unique-names=false
381-
endpoints.jmx.staticNames=
381+
endpoints.jmx.static-names=
382382
383383
# JOLOKIA ({sc-spring-boot-actuator}/autoconfigure/JolokiaProperties.{sc-ext}[JolokiaProperties])
384384
jolokia.config.*= # See Jolokia manual
@@ -390,7 +390,7 @@ content into your application; rather pick only the properties that you need.
390390
shell.config-path-patterns= # classpath*:/crash/*
391391
shell.disabled-plugins=false # don't expose plugins
392392
shell.ssh.enabled= # ssh settings ...
393-
shell.ssh.keyPath=
393+
shell.ssh.key-path=
394394
shell.ssh.port=
395395
shell.telnet.enabled= # telnet settings ...
396396
shell.telnet.port=

0 commit comments

Comments
 (0)