Skip to content

Commit 23d7a6b

Browse files
committed
Merge pull request #2469 from izeye/application-properties
* application-properties: Improve doc for application.properties.
2 parents b4cb7a3 + 319663a commit 23d7a6b

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,12 @@ content into your application; rather pick only the properties that you need.
9696
spring.mvc.ignore-default-model-on-redirect=true # If the the content of the "default" model should be ignored redirects
9797
spring.view.prefix= # MVC view prefix
9898
spring.view.suffix= # ... and suffix
99+
100+
# SPRING RESOURCES HANDLING ({sc-spring-boot-autoconfigure}/web/ResourceProperties.{sc-ext}[ResourceProperties])
99101
spring.resources.cache-period= # cache timeouts in headers sent to browser
100102
spring.resources.add-mappings=true # if default mappings should be added
101103
102-
# SPRING HATEOS ({sc-spring-boot-autoconfigure}/hateoas/HateoasProperties.{sc-ext}[HateoasProperties])
104+
# SPRING HATEOAS ({sc-spring-boot-autoconfigure}/hateoas/HateoasProperties.{sc-ext}[HateoasProperties])
103105
spring.hateoas.apply-to-primary-object-mapper=true # if the primary mapper should also be configured
104106
105107
# HTTP encoding ({sc-spring-boot-autoconfigure}/web/HttpEncodingProperties.{sc-ext}[HttpEncodingProperties])
@@ -215,7 +217,7 @@ content into your application; rather pick only the properties that you need.
215217
security.headers.content-type=false
216218
security.headers.hsts=all # none / domain / all
217219
security.sessions=stateless # always / never / if_required / stateless
218-
security.ignored=false
220+
security.ignored= # Comma-separated list of paths to exclude from the default secured paths
219221
220222
# DATASOURCE ({sc-spring-boot-autoconfigure}/jdbc/DataSourceAutoConfiguration.{sc-ext}[DataSourceAutoConfiguration] & {sc-spring-boot-autoconfigure}/jdbc/DataSourceProperties.{sc-ext}[DataSourceProperties])
221223
spring.datasource.name= # name of the data source
@@ -244,7 +246,7 @@ content into your application; rather pick only the properties that you need.
244246
spring.datasource.max-wait=
245247
spring.datasource.jmx-enabled=false # Export JMX MBeans (if supported)
246248
247-
# DATASOURCE ({sc-spring-boot-autoconfigure}/dao/PersistenceExceptionTranslationAutoConfiguration.{sc-ext}[PersistenceExceptionTranslationAutoConfiguration]
249+
# DAO ({sc-spring-boot-autoconfigure}/dao/PersistenceExceptionTranslationAutoConfiguration.{sc-ext}[PersistenceExceptionTranslationAutoConfiguration])
248250
spring.dao.exceptiontranslation.enabled=true
249251
250252
# MONGODB ({sc-spring-boot-autoconfigure}/mongo/MongoProperties.{sc-ext}[MongoProperties])
@@ -339,17 +341,17 @@ content into your application; rather pick only the properties that you need.
339341
spring.jta.bitronix.datasource.unique-name=dataSource # The unique name used to identify the resource during recovery
340342
spring.jta.bitronix.datasource.use-tm-join=true Whether or not TMJOIN should be used when starting XAResources
341343
342-
# SOLR ({sc-spring-boot-autoconfigure}/solr/SolrProperties.{sc-ext}[SolrProperties}])
344+
# SOLR ({sc-spring-boot-autoconfigure}/solr/SolrProperties.{sc-ext}[SolrProperties])
343345
spring.data.solr.host=http://127.0.0.1:8983/solr
344346
spring.data.solr.zk-host=
345347
spring.data.solr.repositories.enabled=true # if spring data repository support is enabled
346348
347-
# ELASTICSEARCH ({sc-spring-boot-autoconfigure}/elasticsearch/ElasticsearchProperties.{sc-ext}[ElasticsearchProperties}])
349+
# ELASTICSEARCH ({sc-spring-boot-autoconfigure}/elasticsearch/ElasticsearchProperties.{sc-ext}[ElasticsearchProperties])
348350
spring.data.elasticsearch.cluster-name= # The cluster name (defaults to elasticsearch)
349351
spring.data.elasticsearch.cluster-nodes= # The address(es) of the server node (comma-separated; if not specified starts a client node)
350352
spring.data.elasticsearch.repositories.enabled=true # if spring data repository support is enabled
351353
352-
# DATA RESET ({spring-data-rest-javadoc}/core/config/RepositoryRestConfiguration.{dc-ext}[RepositoryRestConfiguration}])
354+
# DATA REST ({spring-data-rest-javadoc}/core/config/RepositoryRestConfiguration.{dc-ext}[RepositoryRestConfiguration])
353355
spring.data.rest.base-uri= # base URI against which the exporter should calculate its links
354356
355357
# FLYWAY ({sc-spring-boot-autoconfigure}/flyway/FlywayProperties.{sc-ext}[FlywayProperties])

0 commit comments

Comments
 (0)