Skip to content

Instantly share code, notes, and snippets.

@snicoll
Created July 22, 2015 17:52
Show Gist options
  • Save snicoll/c5b270278cb6e67395a8 to your computer and use it in GitHub Desktop.
Save snicoll/c5b270278cb6e67395a8 to your computer and use it in GitHub Desktop.
1.3 only keys

Configuration properties change between 1.2.5.RELEASE and 1.3.0.BUILD-SNAPSHOT

The following keys were added:

Table 1. New keys in 1.3.0.BUILD-SNAPSHOT

Key

Default value

Description

endpoints.cors.allow-credentials

Set whether credentials are supported.

endpoints.cors.allowed-headers

Comma-separated list of headers to allow in a request. '*' allows all headers.

endpoints.cors.allowed-methods

Comma-separated list of methods to allow. '*' allows all methods.

endpoints.cors.allowed-origins

Comma-separated list of origins to allow. '*' allows all origins.

endpoints.cors.exposed-headers

Comma-separated list of headers to include in a response.

endpoints.cors.max-age

1800

How long, in seconds, the response from a pre-flight request can be cached by clients.

endpoints.docs.curies.enabled

false

Enable the curie generation.

endpoints.docs.path

/docs

endpoints.docs.sensitive

false

endpoints.flyway.enabled

Enable the endpoint.

endpoints.flyway.id

Endpoint identifier.

endpoints.flyway.sensitive

Mark if the endpoint exposes sensitive information.

endpoints.hal.path

``

endpoints.hal.sensitive

false

endpoints.links.path

``

endpoints.links.sensitive

false

endpoints.liquibase.enabled

Enable the endpoint.

endpoints.liquibase.id

Endpoint identifier.

endpoints.liquibase.sensitive

Mark if the endpoint exposes sensitive information.

endpoints.logfile.enabled

true

Enable the endpoint.

endpoints.logfile.path

/logfile

Endpoint URL path.

endpoints.logfile.sensitive

true

Enable security on the endpoint.

flyway.placeholder-replacement

management.health.elasticsearch.enabled

true

Enable elasticsearch health check.

management.health.elasticsearch.indices

Comma-separated index names.

management.health.elasticsearch.response-timeout

100

The time, in milliseconds, to wait for a response from the cluster.

management.health.jms.enabled

true

Enable JMS health check.

management.health.mail.enabled

true

Enable Mail health check.

security.oauth2.client.access-token-uri

security.oauth2.client.access-token-validity-seconds

security.oauth2.client.additional-information

security.oauth2.client.authentication-scheme

security.oauth2.client.authorities

security.oauth2.client.authorized-grant-types

security.oauth2.client.auto-approve-scopes

security.oauth2.client.client-authentication-scheme

security.oauth2.client.client-id

security.oauth2.client.client-secret

security.oauth2.client.grant-type

security.oauth2.client.id

security.oauth2.client.pre-established-redirect-uri

security.oauth2.client.refresh-token-validity-seconds

security.oauth2.client.registered-redirect-uri

security.oauth2.client.resource-ids

security.oauth2.client.scope

security.oauth2.client.token-name

security.oauth2.client.use-current-uri

security.oauth2.client.user-authorization-uri

security.oauth2.resource.id

Identifier of the resource.

security.oauth2.resource.jwt.key-uri

The URI of the JWT token.

security.oauth2.resource.jwt.key-value

The verification key of the JWT token.

security.oauth2.resource.prefer-token-info

true

Use the token info, can be set to false to use the user info.

security.oauth2.resource.service-id

resource

security.oauth2.resource.token-info-uri

URI of the token decoding endpoint.

security.oauth2.resource.token-type

The token type to send when using the userInfoUri.

security.oauth2.resource.user-info-uri

URI of the user endpoint.

security.oauth2.sso.filter-order

Filter order to apply if not providing an explicit WebSecurityConfigurerAdapter (in which case the order can be provided there instead).

security.oauth2.sso.login-path

/login

Path to the login page, i.e. the one that triggers the redirect to the OAuth2 Authorization Server.

server.compression.enabled

server.compression.excluded-user-agents

server.compression.mime-types

server.compression.min-response-size

server.display-name

application

Display name of the application.

server.jsp-servlet.class-name

server.jsp-servlet.init-parameters

server.jsp-servlet.registered

server.session.cookie.comment

Comment for the session cookie.

server.session.cookie.domain

Domain for the session cookie.

server.session.cookie.http-only

"HttpOnly" flag for the session cookie.

server.session.cookie.max-age

Maximum age of the session cookie in seconds.

server.session.cookie.name

Session cookie name.

server.session.cookie.path

Path of the session cookie.

server.session.cookie.secure

"Secure" flag for the session cookie.

server.session.persistent

false

Persist session data between restarts.

server.session.timeout

Session timeout in seconds.

server.session.tracking-modes

Session tracking modes (one or more of the following: "cookie", "url", "ssl")

server.undertow.access-log-dir

Undertow access log directory.

server.undertow.access-log-enabled

false

Enable access log.

server.undertow.access-log-pattern

common

Format pattern for access logs.

spring.application.admin.enabled

false

Enable admin features for the application.

spring.application.admin.jmx-name

org.springframework.boot:type=Admin,name=SpringApplication

JMX name of the application admin MBean.

spring.artemis.embedded.cluster-password

Cluster password.

spring.artemis.embedded.data-directory

Journal file directory.

spring.artemis.embedded.enabled

true

Enable embedded mode if the Artemis server APIs are available.

spring.artemis.embedded.persistent

false

Enable persistent store.

spring.artemis.embedded.queues

``

Comma-separated list of queues to create on startup.

spring.artemis.embedded.server-id

0

Server id.

spring.artemis.embedded.topics

``

Comma-separated list of topics to create on startup.

spring.artemis.host

localhost

Artemis broker host.

spring.artemis.mode

Artemis deployment mode, auto-detected by default.

spring.artemis.port

61616

Artemis broker port.

spring.batch.table-prefix

Table prefix for all the batch meta-data tables.

spring.cache.cache-names

Comma-separated list of cache names to create if supported by the underlying cache manager.

spring.cache.ehcache.config

The location of the configuration file to use to initialize EhCache.

spring.cache.guava.spec

The spec to use to create caches.

spring.cache.hazelcast.config

The location of the configuration file to use to initialize Hazelcast.

spring.cache.infinispan.config

The location of the configuration file to use to initialize Infinispan.

spring.cache.jcache.config

The location of the configuration file to use to initialize the cache manager.

spring.cache.jcache.provider

Fully qualified name of the CachingProvider implementation to use to retrieve the JSR-107 compliant cache manager.

spring.cache.type

Cache type, auto-detected according to the environment by default.

spring.data.mongodb.field-naming-strategy

Fully qualified name of the FieldNamingStrategy to use.

spring.data.rest.base-path

spring.datasource.allow-pool-suspension

spring.datasource.health-check-properties

spring.datasource.health-check-registry

spring.datasource.validation-timeout

spring.devtools.livereload.enabled

true

Enable a livereload.com compatible server.

spring.devtools.livereload.port

35729

Server port.

spring.devtools.remote.context-path

/.~spring-boot!

Context path used to handle the remote connection.

spring.devtools.remote.debug.enabled

true

Enable remote debug support.

spring.devtools.remote.debug.local-port

8000

Local remote debug server port.

spring.devtools.remote.restart.enabled

true

Enable remote restart.

spring.devtools.remote.secret

A shared secret required to establish a connection (required to enable remote support).

spring.devtools.remote.secret-header-name

X-AUTH-TOKEN

HTTP header used to transfer the shared secret.

spring.devtools.restart.enabled

true

Enable automatic restart.

spring.devtools.restart.exclude

Patterns that should be excluding for triggering a full restart.

spring.devtools.restart.poll-interval

Amount of time (in milliseconds) to wait between polling for classpath changes.

spring.devtools.restart.quiet-period

Amount of quiet time (in milliseconds) required without any classpath changes before a restart is triggered.

spring.devtools.restart.trigger-file

Name of a specific file that when changed will trigger the restart check.

spring.freemarker.prefer-file-system-access

true

Prefer file system access for template loading.

spring.groovy.template.allow-request-override

Set whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name.

spring.groovy.template.expose-request-attributes

Set whether all request attributes should be added to the model prior to merging with the template.

spring.groovy.template.expose-session-attributes

Set whether all HttpSession attributes should be added to the model prior to merging with the template.

spring.groovy.template.expose-spring-macro-helpers

Set whether to expose a RequestContext for use by Spring’s macro library, under the name "springMacroRequestContext".

spring.groovy.template.request-context-attribute

Name of the RequestContext attribute for all views.

spring.groovy.template.resource-loader-path

classpath:/templates/

Template path.

spring.jackson.serialization-inclusion

Controls the inclusion of properties during serialization.

spring.jackson.time-zone

Time zone used when formatting dates.

spring.jms.listener.acknowledge-mode

Acknowledge mode of the container.

spring.jms.listener.concurrency

Minimum number of concurrent consumers.

spring.jms.listener.max-concurrency

Maximum number of concurrent consumers.

spring.jmx.default-domain

JMX domain name.

spring.jmx.server

mbeanServer

MBeanServer bean name.

spring.jooq.sql-dialect

SQLDialect JOOQ used when communicating with the configured datasource, for instance "POSTGRES".

spring.mail.jndi-name

Session JNDI name.

spring.mail.test-connection

false

Test that the mail server is available on startup.

spring.metrics.export.aggregate.key-pattern

``

Pattern that tells the aggregator what to do with the keys from the source repository.

spring.metrics.export.aggregate.prefix

``

Prefix for global repository if active.

spring.metrics.export.delay-millis

Delay in milliseconds between export ticks.

spring.metrics.export.enabled

Flag to enable metric export (assuming a MetricWriter is available).

spring.metrics.export.excludes

List of patterns for metric names to exclude.

spring.metrics.export.includes

List of patterns for metric names to include.

spring.metrics.export.redis.key

keys.spring.metrics

Key for redis repository export (if active).

spring.metrics.export.redis.prefix

spring.metrics

Prefix for redis repository if active.

spring.metrics.export.send-latest

Flag to switch off any available optimizations based on not exporting unchanged metric values.

spring.metrics.export.triggers

Specific trigger properties per MetricWriter bean name.

spring.mobile.devicedelegatingviewresolver.enable-fallback

false

Enable support for fallback resolution.

spring.mongodb.embedded.features

Comma-separated list of features to enable.

spring.mongodb.embedded.version

2.6.10

Version of Mongo to use.

spring.mvc.async.request-timeout

Amount of time (in milliseconds) before asynchronous request handling times out.

spring.mvc.favicon.enabled

true

Enable resolution of favicon.ico.

spring.mvc.view.prefix

Spring MVC view prefix.

spring.mvc.view.suffix

Spring MVC view suffix.

spring.pid.fail-on-write-error

Fail if ApplicationPidFileWriter is used but it cannot write the PID file.

spring.pid.file

Location of the PID file to write (if ApplicationPidFileWriter is used).

spring.rabbitmq.listener.acknowledge-mode

Acknowledge mode of container.

spring.rabbitmq.listener.concurrency

Minimum number of consumers.

spring.rabbitmq.listener.max-concurrency

Maximum number of consumers.

spring.rabbitmq.listener.prefetch

Number of messages to be handled in a single request.

spring.rabbitmq.listener.transaction-size

Number of messages to be processed in a transaction.

spring.rabbitmq.requested-heartbeat

Requested heartbeat timeout, in seconds; zero for none.

spring.rabbitmq.ssl.enabled

false

Enable SSL support.

spring.rabbitmq.ssl.key-store

Path to the key store that holds the SSL certificate.

spring.rabbitmq.ssl.key-store-password

Password used to access the key store.

spring.rabbitmq.ssl.trust-store

Trust store that holds SSL certificates.

spring.rabbitmq.ssl.trust-store-password

Password used to access the trust store.

spring.redis.timeout

0

Connection timeout in milliseconds.

spring.resources.chain.cache

true

Enable caching in the Resource chain.

spring.resources.chain.enabled

Enable the Spring Resource Handling chain.

spring.resources.chain.html-application-cache

false

Enable HTML5 application cache manifest rewriting.

spring.resources.chain.strategy.content.enabled

false

Enable the content Version Strategy.

spring.resources.chain.strategy.content.paths

/**

Comma-separated list of patterns to apply to the Version Strategy.

spring.resources.chain.strategy.fixed.enabled

false

Enable the fixed Version Strategy.

spring.resources.chain.strategy.fixed.paths

Comma-separated list of patterns to apply to the Version Strategy.

spring.resources.chain.strategy.fixed.version

Version string to use for the Version Strategy.

spring.resources.favicon-locations

spring.resources.static-locations

Locations of static resources.

spring.sendgrid.password

SendGrid password.

spring.sendgrid.proxy.host

SendGrid proxy host.

spring.sendgrid.proxy.port

SendGrid proxy port.

spring.sendgrid.username

SendGrid username.

The following keys were removed:

Table 2. Removed keys in 1.3.0.BUILD-SNAPSHOT

Key

Default value

Description

http.mappers.json-pretty-print

Enable json pretty print.

http.mappers.json-sort-keys

Enable key sorting.

server.tomcat.compressable-mime-types

text/html,text/xml,text/plain

Comma-separated list of MIME types for which compression is used.

server.tomcat.compression

off

Controls response compression.

spring.data.rest.base-uri

spring.freemarker.char-set

spring.groovy.template.char-set

spring.http.gzip.buffer-size

Size of the output buffer in bytes.

spring.http.gzip.deflate-compression-level

Level used for deflate compression (0-9).

spring.http.gzip.deflate-no-wrap

noWrap setting for deflate compression.

spring.http.gzip.exclude-agent-patterns

Comma-separated list of regular expression patterns to control user agents excluded from compression.

spring.http.gzip.exclude-path-patterns

Comma-separated list of regular expression patterns to control the paths that are excluded from compression.

spring.http.gzip.exclude-paths

Comma-separated list of paths to exclude from compression.

spring.http.gzip.excluded-agents

Comma-separated list of user agents to exclude from compression.

spring.http.gzip.excluded-mime-types

Comma-separated list of MIME types to exclude from compression.

spring.http.gzip.methods

Comma-separated list of HTTP methods for which compression is enabled.

spring.http.gzip.mime-types

Comma-separated list of MIME types which should be compressed.

spring.http.gzip.min-gzip-size

Minimum content length required for compression to occur.

spring.http.gzip.vary

Vary header sent on responses that may be compressed.

spring.mustache.char-set

spring.velocity.char-set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment