欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

基于spring boot 的配置参考大全(推荐)

程序员文章站 2024-02-25 08:07:10
如下所示: # =================================================================== # co...

如下所示:

# ===================================================================
# common spring boot properties
#
# this sample file is provided as a guideline. do not copy it in its
# entirety to your own application. ^^^
# ===================================================================


# ----------------------------------------
# core properties
# ----------------------------------------

# banner
banner.charset=utf-8 # banner file encoding.
banner.location=classpath:banner.txt # banner file location.
banner.image.location=classpath:banner.gif # banner image file location (jpg/png can also be used).
banner.image.width= # width of the banner image in chars (default 76)
banner.image.height= # height of the banner image in chars (default based on image height)
banner.image.margin= # left hand image margin in chars (default 2)
banner.image.invert= # if images should be inverted for dark terminal themes (default false)

# logging
logging.config= # location of the logging configuration file. for instance `classpath:logback.xml` for logback
logging.exception-conversion-word=%wex # conversion word used when logging exceptions.
logging.file= # log file name. for instance `myapp.log`
logging.level.*= # log levels severity mapping. for instance `logging.level.org.springframework=debug`
logging.path= # location of the log file. for instance `/var/log`
logging.pattern.console= # appender pattern for output to the console. only supported with the default logback setup.
logging.pattern.file= # appender pattern for output to the file. only supported with the default logback setup.
logging.pattern.level= # appender pattern for log level (default %5p). only supported with the default logback setup.
logging.register-shutdown-hook=false # register a shutdown hook for the logging system when it is initialized.

# aop
spring.aop.auto=true # add @enableaspectjautoproxy.
spring.aop.proxy-target-class=false # whether subclass-based (cglib) proxies are to be created (true) as opposed to standard java interface-based proxies (false).

# identity (contextidapplicationcontextinitializer)
spring.application.index= # application index.
spring.application.name= # application name.

# admin (springapplicationadminjmxautoconfiguration)
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.

# auto-configuration
spring.autoconfigure.exclude= # auto-configuration classes to exclude.

# spring core
spring.beaninfo.ignore=true # skip search of beaninfo classes.

# spring cache (cacheproperties)
spring.cache.cache-names= # comma-separated list of cache names to create if supported by the underlying cache manager.
spring.cache.caffeine.spec= # the spec to use to create caches. check caffeinespec for more details on the spec format.
spring.cache.couchbase.expiration=0 # entry expiration in milliseconds. by default the entries never expire.
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. check cachebuilderspec for more details on the spec format.
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. only needed if more than one jsr-107 implementation is available on the classpath.
spring.cache.type= # cache type, auto-detected according to the environment by default.

# spring config - using environment property only (configfileapplicationlistener)
spring.config.location= # config file locations.
spring.config.name=application # config file name.

# hazelcast (hazelcastproperties)
spring.hazelcast.config= # the location of the configuration file to use to initialize hazelcast.

# project information (projectinfoproperties)
spring.info.build.location=classpath:meta-inf/build-info.properties # location of the generated build-info.properties file.
spring.info.git.location=classpath:git.properties # location of the generated git.properties file.

# jmx
spring.jmx.default-domain= # jmx domain name.
spring.jmx.enabled=true # expose management beans to the jmx domain.
spring.jmx.server=mbeanserver # mbeanserver bean name.

# email (mailproperties)
spring.mail.default-encoding=utf-8 # default mimemessage encoding.
spring.mail.host= # smtp server host. for instance `smtp.example.com`
spring.mail.jndi-name= # session jndi name. when set, takes precedence to others mail settings.
spring.mail.password= # login password of the smtp server.
spring.mail.port= # smtp server port.
spring.mail.properties.*= # additional javamail session properties.
spring.mail.protocol=smtp # protocol used by the smtp server.
spring.mail.test-connection=false # test that the mail server is available on startup.
spring.mail.username= # login user of the smtp server.

# application settings (springapplication)
spring.main.banner-mode=console # mode used to display the banner when the application runs.
spring.main.sources= # sources (class name, package name or xml resource location) to include in the applicationcontext.
spring.main.web-environment= # run the application in a web environment (auto-detected by default).

# file encoding (fileencodingapplicationlistener)
spring.mandatory-file-encoding= # expected character encoding the application must use.

# internationalization (messagesourceautoconfiguration)
spring.messages.always-use-message-format=false # set whether to always apply the messageformat rules, parsing even messages without arguments.
spring.messages.basename=messages # comma-separated list of basenames, each following the resourcebundle convention.
spring.messages.cache-seconds=-1 # loaded resource bundle files cache expiration, in seconds. when set to -1, bundles are cached forever.
spring.messages.encoding=utf-8 # message bundles encoding.
spring.messages.fallback-to-system-locale=true # set whether to fall back to the system locale if no files for a specific locale have been found.

# output
spring.output.ansi.enabled=detect # configure the ansi output (can be "detect", "always", "never").

# pid file (applicationpidfilewriter)
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).

# profiles
spring.profiles.active= # comma-separated list of active profiles.
spring.profiles.include= # unconditionally activate the specified comma separated profiles.

# sendgrid (sendgridautoconfiguration)
spring.sendgrid.api-key= # sendgrid api key (alternative to username/password)
spring.sendgrid.username= # sendgrid account username
spring.sendgrid.password= # sendgrid account password
spring.sendgrid.proxy.host= # sendgrid proxy host
spring.sendgrid.proxy.port= # sendgrid proxy port


# ----------------------------------------
# web properties
# ----------------------------------------

# embedded server configuration (serverproperties)
server.address= # network address to which the server should bind to.
server.compression.enabled=false # if response compression is enabled.
server.compression.excluded-user-agents= # list of user-agents to exclude from compression.
server.compression.mime-types= # comma-separated list of mime types that should be compressed. for instance `text/html,text/css,application/json`
server.compression.min-response-size= # minimum response size that is required for compression to be performed. for instance 2048
server.connection-timeout= # time in milliseconds that connectors will wait for another http request before closing the connection. when not set, the connector's container-specific default will be used. use a value of -1 to indicate no (i.e. infinite) timeout.
server.context-parameters.*= # servlet context init parameters. for instance `server.context-parameters.a=alpha`
server.context-path= # context path of the application.
server.display-name=application # display name of the application.
server.max-http-header-size=0 # maximum size in bytes of the http message header.
server.max-http-post-size=0 # maximum size in bytes of the http post content.
server.error.include-stacktrace=never # when to include a "stacktrace" attribute.
server.error.path=/error # path of the error controller.
server.error.whitelabel.enabled=true # enable the default error page displayed in browsers in case of a server error.
server.jetty.acceptors= # number of acceptor threads to use.
server.jetty.selectors= # number of selector threads to use.
server.jsp-servlet.class-name=org.apache.jasper.servlet.jspservlet # the class name of the jsp servlet.
server.jsp-servlet.init-parameters.*= # init parameters used to configure the jsp servlet
server.jsp-servlet.registered=true # whether or not the jsp servlet is registered
server.port=8080 # server http port.
server.server-header= # value to use for the server response header (no header is sent if empty)
server.servlet-path=/ # path of the main dispatcher servlet.
server.use-forward-headers= # if x-forwarded-* headers should be applied to the httprequest.
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.store-dir= # directory used to store session data.
server.session.timeout= # session timeout in seconds.
server.session.tracking-modes= # session tracking modes (one or more of the following: "cookie", "url", "ssl").
server.ssl.ciphers= # supported ssl ciphers.
server.ssl.client-auth= # whether client authentication is wanted ("want") or needed ("need"). requires a trust store.
server.ssl.enabled= # enable ssl support.
server.ssl.enabled-protocols= # enabled ssl protocols.
server.ssl.key-alias= # alias that identifies the key in the key store.
server.ssl.key-password= # password used to access the key in the key store.
server.ssl.key-store= # path to the key store that holds the ssl certificate (typically a jks file).
server.ssl.key-store-password= # password used to access the key store.
server.ssl.key-store-provider= # provider for the key store.
server.ssl.key-store-type= # type of the key store.
server.ssl.protocol=tls # ssl protocol to use.
server.ssl.trust-store= # trust store that holds ssl certificates.
server.ssl.trust-store-password= # password used to access the trust store.
server.ssl.trust-store-provider= # provider for the trust store.
server.ssl.trust-store-type= # type of the trust store.
server.tomcat.accesslog.directory=logs # directory in which log files are created. can be relative to the tomcat base dir or absolute.
server.tomcat.accesslog.enabled=false # enable access log.
server.tomcat.accesslog.pattern=common # format pattern for access logs.
server.tomcat.accesslog.prefix=access_log # log file name prefix.
server.tomcat.accesslog.rename-on-rotate=false # defer inclusion of the date stamp in the file name until rotate time.
server.tomcat.accesslog.suffix=.log # log file name suffix.
server.tomcat.background-processor-delay=30 # delay in seconds between the invocation of backgroundprocess methods.
server.tomcat.basedir= # tomcat base directory. if not specified a temporary directory will be used.
server.tomcat.internal-proxies=10\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}|\\
192\\.168\\.\\d{1,3}\\.\\d{1,3}|\\
169\\.254\\.\\d{1,3}\\.\\d{1,3}|\\
127\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}|\\
172\\.1[6-9]{1}\\.\\d{1,3}\\.\\d{1,3}|\\
172\\.2[0-9]{1}\\.\\d{1,3}\\.\\d{1,3}|\\
172\\.3[0-1]{1}\\.\\d{1,3}\\.\\d{1,3} # regular expression matching trusted ip addresses.
server.tomcat.max-threads=0 # maximum amount of worker threads.
server.tomcat.min-spare-threads=0 # minimum amount of worker threads.
server.tomcat.port-header=x-forwarded-port # name of the http header used to override the original port value.
server.tomcat.protocol-header= # header that holds the incoming protocol, usually named "x-forwarded-proto".
server.tomcat.protocol-header-https-value=https # value of the protocol header that indicates that the incoming request uses ssl.
server.tomcat.redirect-context-root= # whether requests to the context root should be redirected by appending a / to the path.
server.tomcat.remote-ip-header= # name of the http header from which the remote ip is extracted. for instance `x-forwarded-for`
server.tomcat.uri-encoding=utf-8 # character encoding to use to decode the uri.
server.undertow.accesslog.dir= # undertow access log directory.
server.undertow.accesslog.enabled=false # enable access log.
server.undertow.accesslog.pattern=common # format pattern for access logs.
server.undertow.buffer-size= # size of each buffer in bytes.
server.undertow.buffers-per-region= # number of buffer per region.
server.undertow.direct-buffers= # allocate buffers outside the java heap.
server.undertow.io-threads= # number of i/o threads to create for the worker.
server.undertow.worker-threads= # number of worker threads.

# freemarker (freemarkerautoconfiguration)
spring.freemarker.allow-request-override=false # set whether httpservletrequest attributes are allowed to override (hide) controller generated model attributes of the same name.
spring.freemarker.allow-session-override=false # set whether httpsession attributes are allowed to override (hide) controller generated model attributes of the same name.
spring.freemarker.cache=false # enable template caching.
spring.freemarker.charset=utf-8 # template encoding.
spring.freemarker.check-template-location=true # check that the templates location exists.
spring.freemarker.content-type=text/html # content-type value.
spring.freemarker.enabled=true # enable mvc view resolution for this technology.
spring.freemarker.expose-request-attributes=false # set whether all request attributes should be added to the model prior to merging with the template.
spring.freemarker.expose-session-attributes=false # set whether all httpsession attributes should be added to the model prior to merging with the template.
spring.freemarker.expose-spring-macro-helpers=true # set whether to expose a requestcontext for use by spring's macro library, under the name "springmacrorequestcontext".
spring.freemarker.prefer-file-system-access=true # prefer file system access for template loading. file system access enables hot detection of template changes.
spring.freemarker.prefix= # prefix that gets prepended to view names when building a url.
spring.freemarker.request-context-attribute= # name of the requestcontext attribute for all views.
spring.freemarker.settings.*= # well-known freemarker keys which will be passed to freemarker's configuration.
spring.freemarker.suffix= # suffix that gets appended to view names when building a url.
spring.freemarker.template-loader-path=classpath:/templates/ # comma-separated list of template paths.
spring.freemarker.view-names= # white list of view names that can be resolved.

# groovy templates (groovytemplateautoconfiguration)
spring.groovy.template.allow-request-override=false # set whether httpservletrequest attributes are allowed to override (hide) controller generated model attributes of the same name.
spring.groovy.template.allow-session-override=false # set whether httpsession attributes are allowed to override (hide) controller generated model attributes of the same name.
spring.groovy.template.cache= # enable template caching.
spring.groovy.template.charset=utf-8 # template encoding.
spring.groovy.template.check-template-location=true # check that the templates location exists.
spring.groovy.template.configuration.*= # see groovymarkupconfigurer
spring.groovy.template.content-type=test/html # content-type value.
spring.groovy.template.enabled=true # enable mvc view resolution for this technology.
spring.groovy.template.expose-request-attributes=false # set whether all request attributes should be added to the model prior to merging with the template.
spring.groovy.template.expose-session-attributes=false # set whether all httpsession attributes should be added to the model prior to merging with the template.
spring.groovy.template.expose-spring-macro-helpers=true # set whether to expose a requestcontext for use by spring's macro library, under the name "springmacrorequestcontext".
spring.groovy.template.prefix= # prefix that gets prepended to view names when building a url.
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.groovy.template.suffix=.tpl # suffix that gets appended to view names when building a url.
spring.groovy.template.view-names= # white list of view names that can be resolved.

# spring hateoas (hateoasproperties)
spring.hateoas.use-hal-as-default-json-media-type=true # specify if application/hal+json responses should be sent to requests that accept application/json.

# http message conversion
spring.http.converters.preferred-json-mapper=jackson # preferred json mapper to use for http message conversion. set to "gson" to force the use of gson when both it and jackson are on the classpath.

# http encoding (httpencodingproperties)
spring.http.encoding.charset=utf-8 # charset of http requests and responses. added to the "content-type" header if not set explicitly.
spring.http.encoding.enabled=true # enable http encoding support.
spring.http.encoding.force= # force the encoding to the configured charset on http requests and responses.
spring.http.encoding.force-request= # force the encoding to the configured charset on http requests. defaults to true when "force" has not been specified.
spring.http.encoding.force-response= # force the encoding to the configured charset on http responses.

# multipart (multipartproperties)
spring.http.multipart.enabled=true # enable support of multi-part uploads.
spring.http.multipart.file-size-threshold=0 # threshold after which files will be written to disk. values can use the suffixed "mb" or "kb" to indicate a megabyte or kilobyte size.
spring.http.multipart.location= # intermediate location of uploaded files.
spring.http.multipart.max-file-size=1mb # max file size. values can use the suffixed "mb" or "kb" to indicate a megabyte or kilobyte size.
spring.http.multipart.max-request-size=10mb # max request size. values can use the suffixed "mb" or "kb" to indicate a megabyte or kilobyte size.

# jackson (jacksonproperties)
spring.jackson.date-format= # date format string or a fully-qualified date format class name. for instance `yyyy-mm-dd hh:mm:ss`.
spring.jackson.default-property-inclusion= # controls the inclusion of properties during serialization.
spring.jackson.deserialization.*= # jackson on/off features that affect the way java objects are deserialized.
spring.jackson.generator.*= # jackson on/off features for generators.
spring.jackson.joda-date-time-format= # joda date time format string. if not configured, "date-format" will be used as a fallback if it is configured with a format string.
spring.jackson.locale= # locale used for formatting.
spring.jackson.mapper.*= # jackson general purpose on/off features.
spring.jackson.parser.*= # jackson on/off features for parsers.
spring.jackson.property-naming-strategy= # one of the constants on jackson's propertynamingstrategy. can also be a fully-qualified class name of a propertynamingstrategy subclass.
spring.jackson.serialization.*= # jackson on/off features that affect the way java objects are serialized.
spring.jackson.serialization-inclusion= # controls the inclusion of properties during serialization. configured with one of the values in jackson's jsoninclude.include enumeration.
spring.jackson.time-zone= # time zone used when formatting dates. for instance `america/los_angeles`

# jersey (jerseyproperties)
spring.jersey.application-path= # path that serves as the base uri for the application. overrides the value of "@applicationpath" if specified.
spring.jersey.filter.order=0 # jersey filter chain order.
spring.jersey.init.*= # init parameters to pass to jersey via the servlet or filter.
spring.jersey.servlet.load-on-startup=-1 # load on startup priority of the jersey servlet.
spring.jersey.type=servlet # jersey integration type. can be either "servlet" or "filter".

# spring mobile device views (devicedelegatingviewresolverautoconfiguration)
spring.mobile.devicedelegatingviewresolver.enable-fallback=false # enable support for fallback resolution.
spring.mobile.devicedelegatingviewresolver.enabled=false # enable device view resolver.
spring.mobile.devicedelegatingviewresolver.mobile-prefix=mobile/ # prefix that gets prepended to view names for mobile devices.
spring.mobile.devicedelegatingviewresolver.mobile-suffix= # suffix that gets appended to view names for mobile devices.
spring.mobile.devicedelegatingviewresolver.normal-prefix= # prefix that gets prepended to view names for normal devices.
spring.mobile.devicedelegatingviewresolver.normal-suffix= # suffix that gets appended to view names for normal devices.
spring.mobile.devicedelegatingviewresolver.tablet-prefix=tablet/ # prefix that gets prepended to view names for tablet devices.
spring.mobile.devicedelegatingviewresolver.tablet-suffix= # suffix that gets appended to view names for tablet devices.

# spring mobile site preference (sitepreferenceautoconfiguration)
spring.mobile.sitepreference.enabled=true # enable sitepreferencehandler.

# mustache templates (mustacheautoconfiguration)
spring.mustache.allow-request-override= # set whether httpservletrequest attributes are allowed to override (hide) controller generated model attributes of the same name.
spring.mustache.allow-session-override= # set whether httpsession attributes are allowed to override (hide) controller generated model attributes of the same name.
spring.mustache.cache= # enable template caching.
spring.mustache.charset= # template encoding.
spring.mustache.check-template-location= # check that the templates location exists.
spring.mustache.content-type= # content-type value.
spring.mustache.enabled= # enable mvc view resolution for this technology.
spring.mustache.expose-request-attributes= # set whether all request attributes should be added to the model prior to merging with the template.
spring.mustache.expose-session-attributes= # set whether all httpsession attributes should be added to the model prior to merging with the template.
spring.mustache.expose-spring-macro-helpers= # set whether to expose a requestcontext for use by spring's macro library, under the name "springmacrorequestcontext".
spring.mustache.prefix=classpath:/templates/ # prefix to apply to template names.
spring.mustache.request-context-attribute= # name of the requestcontext attribute for all views.
spring.mustache.suffix=.html # suffix to apply to template names.
spring.mustache.view-names= # white list of view names that can be resolved.

# spring mvc (webmvcproperties)
spring.mvc.async.request-timeout= # amount of time (in milliseconds) before asynchronous request handling times out.
spring.mvc.date-format= # date format to use. for instance `dd/mm/yyyy`.
spring.mvc.dispatch-trace-request=false # dispatch trace requests to the frameworkservlet doservice method.
spring.mvc.dispatch-options-request=true # dispatch options requests to the frameworkservlet doservice method.
spring.mvc.favicon.enabled=true # enable resolution of favicon.ico.
spring.mvc.ignore-default-model-on-redirect=true # if the content of the "default" model should be ignored during redirect scenarios.
spring.mvc.locale= # locale to use. by default, this locale is overridden by the "accept-language" header.
spring.mvc.locale-resolver=accept-header # define how the locale should be resolved.
spring.mvc.log-resolved-exception=false # enable warn logging of exceptions resolved by a "handlerexceptionresolver".
spring.mvc.media-types.*= # maps file extensions to media types for content negotiation.
spring.mvc.message-codes-resolver-format= # formatting strategy for message codes. for instance `prefix_error_code`.
spring.mvc.servlet.load-on-startup=-1 # load on startup priority of the spring web services servlet.
spring.mvc.static-path-pattern=/** # path pattern used for static resources.
spring.mvc.throw-exception-if-no-handler-found=false # if a "nohandlerfoundexception" should be thrown if no handler was found to process a request.
spring.mvc.view.prefix= # spring mvc view prefix.
spring.mvc.view.suffix= # spring mvc view suffix.

# spring resources handling (resourceproperties)
spring.resources.add-mappings=true # enable default resource handling.
spring.resources.cache-period= # cache period for the resources served by the resource handler, in seconds.
spring.resources.chain.cache=true # enable caching in the resource chain.
spring.resources.chain.enabled= # enable the spring resource handling chain. disabled by default unless at least one strategy has been enabled.
spring.resources.chain.gzipped=false # enable resolution of already gzipped resources.
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.static-locations=classpath:/meta-inf/resources/,classpath:/resources/,classpath:/static/,classpath:/public/ # locations of static resources.

# spring session (sessionproperties)
spring.session.hazelcast.map-name=spring:session:sessions # name of the map used to store sessions.
spring.session.jdbc.initializer.enabled=true # create the required session tables on startup if necessary.
spring.session.jdbc.schema=classpath:org/springframework/session/jdbc/schema-@@platform@@.sql # path to the sql file to use to initialize the database schema.
spring.session.jdbc.table-name=spring_session # name of database table used to store sessions.
spring.session.mongo.collection-name=sessions # collection name used to store sessions.
spring.session.redis.flush-mode= # flush mode for the redis sessions.
spring.session.redis.namespace= # namespace for keys used to store sessions.
spring.session.store-type= # session store type.

# spring social (socialwebautoconfiguration)
spring.social.auto-connection-views=false # enable the connection status view for supported providers.

# spring social facebook (facebookautoconfiguration)
spring.social.facebook.app-id= # your application's facebook app id
spring.social.facebook.app-secret= # your application's facebook app secret

# spring social linkedin (linkedinautoconfiguration)
spring.social.linkedin.app-id= # your application's linkedin app id
spring.social.linkedin.app-secret= # your application's linkedin app secret

# spring social twitter (twitterautoconfiguration)
spring.social.twitter.app-id= # your application's twitter app id
spring.social.twitter.app-secret= # your application's twitter app secret

# thymeleaf (thymeleafautoconfiguration)
spring.thymeleaf.cache=true # enable template caching.
spring.thymeleaf.check-template-location=true # check that the templates location exists.
spring.thymeleaf.content-type=text/html # content-type value.
spring.thymeleaf.enabled=true # enable mvc thymeleaf view resolution.
spring.thymeleaf.encoding=utf-8 # template encoding.
spring.thymeleaf.excluded-view-names= # comma-separated list of view names that should be excluded from resolution.
spring.thymeleaf.mode=html5 # template mode to be applied to templates. see also standardtemplatemodehandlers.
spring.thymeleaf.prefix=classpath:/templates/ # prefix that gets prepended to view names when building a url.
spring.thymeleaf.suffix=.html # suffix that gets appended to view names when building a url.
spring.thymeleaf.template-resolver-order= # order of the template resolver in the chain.
spring.thymeleaf.view-names= # comma-separated list of view names that can be resolved.

# velocity templates (velocityautoconfiguration)
spring.velocity.allow-request-override=false # set whether httpservletrequest attributes are allowed to override (hide) controller generated model attributes of the same name.
spring.velocity.allow-session-override=false # set whether httpsession attributes are allowed to override (hide) controller generated model attributes of the same name.
spring.velocity.cache= # enable template caching.
spring.velocity.charset=utf-8 # template encoding.
spring.velocity.check-template-location=true # check that the templates location exists.
spring.velocity.content-type=text/html # content-type value.
spring.velocity.date-tool-attribute= # name of the datetool helper object to expose in the velocity context of the view.
spring.velocity.enabled=true # enable mvc view resolution for this technology.
spring.velocity.expose-request-attributes=false # set whether all request attributes should be added to the model prior to merging with the template.
spring.velocity.expose-session-attributes=false # set whether all httpsession attributes should be added to the model prior to merging with the template.
spring.velocity.expose-spring-macro-helpers=true # set whether to expose a requestcontext for use by spring's macro library, under the name "springmacrorequestcontext".
spring.velocity.number-tool-attribute= # name of the numbertool helper object to expose in the velocity context of the view.
spring.velocity.prefer-file-system-access=true # prefer file system access for template loading. file system access enables hot detection of template changes.
spring.velocity.prefix= # prefix that gets prepended to view names when building a url.
spring.velocity.properties.*= # additional velocity properties.
spring.velocity.request-context-attribute= # name of the requestcontext attribute for all views.
spring.velocity.resource-loader-path=classpath:/templates/ # template path.
spring.velocity.suffix=.vm # suffix that gets appended to view names when building a url.
spring.velocity.toolbox-config-location= # velocity toolbox config location. for instance `/web-inf/toolbox.xml`
spring.velocity.view-names= # white list of view names that can be resolved.

# spring web services (webservicesproperties)
spring.webservices.path=/services # path that serves as the base uri for the services.
spring.webservices.servlet.init= # servlet init parameters to pass to spring web services.
spring.webservices.servlet.load-on-startup=-1 # load on startup priority of the spring web services servlet.

 

# ----------------------------------------
# security properties
# ----------------------------------------
# security (securityproperties)
security.basic.authorize-mode=role # security authorize mode to apply.
security.basic.enabled=true # enable basic authentication.
security.basic.path=/** # comma-separated list of paths to secure.
security.basic.realm=spring # http basic realm name.
security.enable-csrf=false # enable cross site request forgery support.
security.filter-order=0 # security filter chain order.
security.filter-dispatcher-types=async, forward, include, request # security filter chain dispatcher types.
security.headers.cache=true # enable cache control http headers.
security.headers.content-type=true # enable "x-content-type-options" header.
security.headers.frame=true # enable "x-frame-options" header.
security.headers.hsts= # http strict transport security (hsts) mode (none, domain, all).
security.headers.xss=true # enable cross site scripting (xss) protection.
security.ignored= # comma-separated list of paths to exclude from the default secured paths.
security.require-ssl=false # enable secure channel for all requests.
security.sessions=stateless # session creation policy (always, never, if_required, stateless).
security.user.name=user # default user name.
security.user.password= # password for the default user name. a random password is logged on startup by default.
security.user.role=user # granted roles for the default user name.

# security oauth2 client (oauth2clientproperties
security.oauth2.client.client-id= # oauth2 client id.
security.oauth2.client.client-secret= # oauth2 client secret. a random secret is generated by default

# security oauth2 resources (resourceserverproperties
security.oauth2.resource.id= # identifier of the resource.
security.oauth2.resource.jwt.key-uri= # the uri of the jwt token. can be set if the value is not available and the key is public.
security.oauth2.resource.jwt.key-value= # the verification key of the jwt token. can either be a symmetric secret or pem-encoded rsa public key.
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 (oauth2ssoproperties
security.oauth2.sso.filter-order= # filter order to apply if not providing an explicit websecurityconfigureradapter
security.oauth2.sso.login-path=/login # path to the login page, i.e. the one that triggers the redirect to the oauth2 authorization server


# ----------------------------------------
# data properties
# ----------------------------------------

# flyway (flywayproperties)
flyway.baseline-description= #
flyway.baseline-version=1 # version to start migration
flyway.baseline-on-migrate= #
flyway.check-location=false # check that migration scripts location exists.
flyway.clean-on-validation-error= #
flyway.enabled=true # enable flyway.
flyway.encoding= #
flyway.ignore-failed-future-migration= #
flyway.init-sqls= # sql statements to execute to initialize a connection immediately after obtaining it.
flyway.locations=classpath:db/migration # locations of migrations scripts
flyway.out-of-order= #
flyway.password= # jdbc password if you want flyway to create its own datasource
flyway.placeholder-prefix= #
flyway.placeholder-replacement= #
flyway.placeholder-suffix= #
flyway.placeholders.*= #
flyway.schemas= # schemas to update
flyway.sql-migration-prefix=v #
flyway.sql-migration-separator= #
flyway.sql-migration-suffix=.sql #
flyway.table= #
flyway.url= # jdbc url of the database to migrate. if not set, the primary configured data source is used.
flyway.user= # login user of the database to migrate.
flyway.validate-on-migrate= #

# liquibase (liquibaseproperties)
liquibase.change-log=classpath:/db/changelog/db.changelog-master.yaml # change log configuration path.
liquibase.check-change-log-location=true # check the change log location exists.
liquibase.contexts= # comma-separated list of runtime contexts to use.
liquibase.default-schema= # default database schema.
liquibase.drop-first=false # drop the database schema first.
liquibase.enabled=true # enable liquibase support.
liquibase.labels= # comma-separated list of runtime labels to use.
liquibase.parameters.*= # change log parameters.
liquibase.password= # login password of the database to migrate.
liquibase.rollback-file= # file to which rollback sql will be written when an update is performed.
liquibase.url= # jdbc url of the database to migrate. if not set, the primary configured data source is used.
liquibase.user= # login user of the database to migrate.

# couchbase (couchbaseproperties)
spring.couchbase.bootstrap-hosts= # couchbase nodes (host or ip address) to bootstrap from.
spring.couchbase.bucket.name=default # name of the bucket to connect to.
spring.couchbase.bucket.password= # password of the bucket.
spring.couchbase.env.endpoints.key-value=1 # number of sockets per node against the key/value service.
spring.couchbase.env.endpoints.query=1 # number of sockets per node against the query (n1ql) service.
spring.couchbase.env.endpoints.view=1 # number of sockets per node against the view service.
spring.couchbase.env.ssl.enabled= # enable ssl support. enabled automatically if a "keystore" is provided unless specified otherwise.
spring.couchbase.env.ssl.key-store= # path to the jvm key store that holds the certificates.
spring.couchbase.env.ssl.key-store-password= # password used to access the key store.
spring.couchbase.env.timeouts.connect=5000 # bucket connections timeout in milliseconds.
spring.couchbase.env.timeouts.key-value=2500 # blocking operations performed on a specific key timeout in milliseconds.
spring.couchbase.env.timeouts.query=7500 # n1ql query operations timeout in milliseconds.
spring.couchbase.env.timeouts.socket-connect=1000 # socket connect connections timeout in milliseconds.
spring.couchbase.env.timeouts.view=7500 # regular and geospatial view operations timeout in milliseconds.

# dao (persistenceexceptiontranslationautoconfiguration)
spring.dao.exceptiontranslation.enabled=true # enable the persistenceexceptiontranslationpostprocessor.

# cassandra (cassandraproperties)
spring.data.cassandra.cluster-name= # name of the cassandra cluster.
spring.data.cassandra.compression= # compression supported by the cassandra binary protocol.
spring.data.cassandra.connect-timeout-millis= # socket option: connection time out.
spring.data.cassandra.consistency-level= # queries consistency level.
spring.data.cassandra.contact-points=localhost # comma-separated list of cluster node addresses.
spring.data.cassandra.fetch-size= # queries default fetch size.
spring.data.cassandra.keyspace-name= # keyspace name to use.
spring.data.cassandra.load-balancing-policy= # class name of the load balancing policy.
spring.data.cassandra.port= # port of the cassandra server.
spring.data.cassandra.password= # login password of the server.
spring.data.cassandra.read-timeout-millis= # socket option: read time out.
spring.data.cassandra.reconnection-policy= # reconnection policy class.
spring.data.cassandra.retry-policy= # class name of the retry policy.
spring.data.cassandra.serial-consistency-level= # queries serial consistency level.
spring.data.cassandra.schema-action=none # schema action to take at startup.
spring.data.cassandra.ssl=false # enable ssl support.
spring.data.cassandra.username= # login user of the server.

# data couchbase (couchbasedataproperties)
spring.data.couchbase.auto-index=false # automatically create views and indexes.
spring.data.couchbase.consistency=read-your-own-writes # consistency to apply by default on generated queries.
spring.data.couchbase.repositories.enabled=true # enable couchbase repositories.

# elasticsearch (elasticsearchproperties)
spring.data.elasticsearch.cluster-name=elasticsearch # elasticsearch cluster name.
spring.data.elasticsearch.cluster-nodes= # comma-separated list of cluster node addresses. if not specified, starts a client node.
spring.data.elasticsearch.properties.*= # additional properties used to configure the client.
spring.data.elasticsearch.repositories.enabled=true # enable elasticsearch repositories.

# mongodb (mongoproperties)
spring.data.mongodb.authentication-database= # authentication database name.
spring.data.mongodb.database=test # database name.
spring.data.mongodb.field-naming-strategy= # fully qualified name of the fieldnamingstrategy to use.
spring.data.mongodb.grid-fs-database= # gridfs database name.
spring.data.mongodb.host=localhost # mongo server host.
spring.data.mongodb.password= # login password of the mongo server.
spring.data.mongodb.port=27017 # mongo server port.
spring.data.mongodb.repositories.enabled=true # enable mongo repositories.
spring.data.mongodb.uri=mongodb://localhost/test # mongo database uri. when set, host and port are ignored.
spring.data.mongodb.username= # login user of the mongo server.

# data redis
spring.data.redis.repositories.enabled=true # enable redis repositories.

# neo4j (neo4jproperties)
spring.data.neo4j.compiler= # compiler to use.
spring.data.neo4j.embedded.enabled=true # enable embedded mode if the embedded driver is available.
spring.data.neo4j.password= # login password of the server.
spring.data.neo4j.repositories.enabled=true # enable neo4j repositories.
spring.data.neo4j.session.scope=singleton # scope (lifetime) of the session.
spring.data.neo4j.uri= # uri used by the driver. auto-detected by default.
spring.data.neo4j.username= # login user of the server.

# data rest (repositoryrestproperties)
spring.data.rest.base-path= # base path to be used by spring data rest to expose repository resources.
spring.data.rest.default-page-size= # default size of pages.
spring.data.rest.enable-enum-translation= # enable enum value translation via the spring data rest default resource bundle.
spring.data.rest.limit-param-name= # name of the url query string parameter that indicates how many results to return at once.
spring.data.rest.max-page-size= # maximum size of pages.
spring.data.rest.page-param-name= # name of the url query string parameter that indicates what page to return.
spring.data.rest.return-body-on-create= # return a response body after creating an entity.
spring.data.rest.return-body-on-update= # return a response body after updating an entity.
spring.data.rest.sort-param-name= # name of the url query string parameter that indicates what direction to sort results.

# solr (solrproperties)
spring.data.solr.host=http://127.0.0.1:8983/solr # solr host. ignored if "zk-host" is set.
spring.data.solr.repositories.enabled=true # enable solr repositories.
spring.data.solr.zk-host= # zookeeper host address in the form host:port.

# datasource (datasourceautoconfiguration & datasourceproperties)
spring.datasource.continue-on-error=false # do not stop if an error occurs while initializing the database.
spring.datasource.data= # data (dml) script resource reference.
spring.datasource.data-username= # user of the database to execute dml scripts (if different).
spring.datasource.data-password= # password of the database to execute dml scripts (if different).
spring.datasource.dbcp.*= # commons dbcp specific settings
spring.datasource.dbcp2.*= # commons dbcp2 specific settings
spring.datasource.driver-class-name= # fully qualified name of the jdbc driver. auto-detected based on the url by default.
spring.datasource.hikari.*= # hikari specific settings
spring.datasource.initialize=true # populate the database using 'data.sql'.
spring.datasource.jmx-enabled=false # enable jmx support (if provided by the underlying pool).
spring.datasource.jndi-name= # jndi location of the datasource. class, url, username & password are ignored when set.
spring.datasource.name=testdb # name of the datasource.
spring.datasource.password= # login password of the database.
spring.datasource.platform=all # platform to use in the schema resource (schema-${platform}.sql).
spring.datasource.schema= # schema (ddl) script resource reference.
spring.datasource.schema-username= # user of the database to execute ddl scripts (if different).
spring.datasource.schema-password= # password of the database to execute ddl scripts (if different).
spring.datasource.separator=; # statement separator in sql initialization scripts.
spring.datasource.sql-script-encoding= # sql scripts encoding.
spring.datasource.tomcat.*= # tomcat datasource specific settings
spring.datasource.type= # fully qualified name of the connection pool implementation to use. by default, it is auto-detected from the classpath.
spring.datasource.url= # jdbc url of the database.
spring.datasource.username=

# jest (elasticsearch http client) (jestproperties)
spring.elasticsearch.jest.connection-timeout=3000 # connection timeout in milliseconds.
spring.elasticsearch.jest.password= # login password.
spring.elasticsearch.jest.proxy.host= # proxy host the http client should use.
spring.elasticsearch.jest.proxy.port= # proxy port the http client should use.
spring.elasticsearch.jest.read-timeout=3000 # read timeout in milliseconds.
spring.elasticsearch.jest.uris=http://localhost:9200 # comma-separated list of the elasticsearch instances to use.
spring.elasticsearch.jest.username= # login user.

# h2 web console (h2consoleproperties)
spring.h2.console.enabled=false # enable the console.
spring.h2.console.path=/h2-console # path at which the console will be available.
spring.h2.console.settings.trace=false # enable trace output.
spring.h2.console.settings.web-allow-others=false # enable remote access.

# jooq (jooqautoconfiguration)
spring.jooq.sql-dialect= # sqldialect jooq used when communicating with the configured datasource. for instance `postgres`

# jpa (jpabaseconfiguration, hibernatejpaautoconfiguration)
spring.data.jpa.repositories.enabled=true # enable jpa repositories.
spring.jpa.database= # target database to operate on, auto-detected by default. can be alternatively set using the "databaseplatform" property.
spring.jpa.database-platform= # name of the target database to operate on, auto-detected by default. can be alternatively set using the "database" enum.
spring.jpa.generate-ddl=false # initialize the schema on startup.
spring.jpa.hibernate.ddl-auto= # ddl mode. this is actually a shortcut for the "hibernate.hbm2ddl.auto" property. default to "create-drop" when using an embedded database, "none" otherwise.
spring.jpa.hibernate.naming.implicit-strategy= # hibernate 5 implicit naming strategy fully qualified name.
spring.jpa.hibernate.naming.physical-strategy= # hibernate 5 physical naming strategy fully qualified name.
spring.jpa.hibernate.naming.strategy= # hibernate 4 naming strategy fully qualified name. not supported with hibernate 5.
spring.jpa.hibernate.use-new-id-generator-mappings= # use hibernate's newer identifiergenerator for auto, table and sequence.
spring.jpa.open-in-view=true # register openentitymanagerinviewinterceptor. binds a jpa entitymanager to the thread for the entire processing of the request.
spring.jpa.properties.*= # additional native properties to set on the jpa provider.
spring.jpa.show-sql=false # enable logging of sql statements.

# jta (jtaautoconfiguration)
spring.jta.enabled=true # enable jta support.
spring.jta.log-dir= # transaction logs directory.
spring.jta.transaction-manager-id= # transaction manager unique identifier.

# atomikos (atomikosproperties)
spring.jta.atomikos.connectionfactory.borrow-connection-timeout=30 # timeout, in seconds, for borrowing connections from the pool.
spring.jta.atomikos.connectionfactory.ignore-session-transacted-flag=true # whether or not to ignore the transacted flag when creating session.
spring.jta.atomikos.connectionfactory.local-transaction-mode=false # whether or not local transactions are desired.
spring.jta.atomikos.connectionfactory.maintenance-interval=60 # the time, in seconds, between runs of the pool's maintenance thread.
spring.jta.atomikos.connectionfactory.max-idle-time=60 # the time, in seconds, after which connections are cleaned up from the pool.
spring.jta.atomikos.connectionfactory.max-lifetime=0 # the time, in seconds, that a connection can be pooled for before being destroyed. 0 denotes no limit.
spring.jta.atomikos.connectionfactory.max-pool-size=1 # the maximum size of the pool.
spring.jta.atomikos.connectionfactory.min-pool-size=1 # the minimum size of the pool.
spring.jta.atomikos.connectionfactory.reap-timeout=0 # the reap timeout, in seconds, for borrowed connections. 0 denotes no limit.
spring.jta.atomikos.connectionfactory.unique-resource-name=jmsconnectionfactory # the unique name used to identify the resource during recovery.
spring.jta.atomikos.datasource.borrow-connection-timeout=30 # timeout, in seconds, for borrowing connections from the pool.
spring.jta.atomikos.datasource.default-isolation-level= # default isolation level of connections provided by the pool.
spring.jta.atomikos.datasource.login-timeout= # timeout, in seconds, for establishing a database connection.
spring.jta.atomikos.datasource.maintenance-interval=60 # the time, in seconds, between runs of the pool's maintenance thread.
spring.jta.atomikos.datasource.max-idle-time=60 # the time, in seconds, after which connections are cleaned up from the pool.
spring.jta.atomikos.datasource.max-lifetime=0 # the time, in seconds, that a connection can be pooled for before being destroyed. 0 denotes no limit.
spring.jta.atomikos.datasource.max-pool-size=1 # the maximum size of the pool.
spring.jta.atomikos.datasource.min-pool-size=1 # the minimum size of the pool.
spring.jta.atomikos.datasource.reap-timeout=0 # the reap timeout, in seconds, for borrowed connections. 0 denotes no limit.
spring.jta.atomikos.datasource.test-query= # sql query or statement used to validate a connection before returning it.
spring.jta.atomikos.datasource.unique-resource-name=datasource # the unique name used to identify the resource during recovery.
spring.jta.atomikos.properties.checkpoint-interval=500 # interval between checkpoints.
spring.jta.atomikos.properties.console-file-count=1 # number of debug logs files that can be created.
spring.jta.atomikos.properties.console-file-limit=-1 # how many bytes can be stored at most in debug logs files.
spring.jta.atomikos.properties.console-file-name=tm.out # debug logs file name.
spring.jta.atomikos.properties.console-log-level= # console log level.
spring.jta.atomikos.properties.default-jta-timeout=10000 # default timeout for jta transactions.
spring.jta.atomikos.properties.enable-logging=true # enable disk logging.
spring.jta.atomikos.properties.force-shutdown-on-vm-exit=false # specify if a vm shutdown should trigger forced shutdown of the transaction core.
spring.jta.atomikos.properties.log-base-dir= # directory in which the log files should be stored.
spring.jta.atomikos.properties.log-base-name=tmlog # transactions log file base name.
spring.jta.atomikos.properties.max-actives=50 # maximum number of active transactions.
spring.jta.atomikos.properties.max-timeout=300000 # maximum timeout (in milliseconds) that can be allowed for transactions.
spring.jta.atomikos.properties.output-dir= # directory in which to store the debug log files.
spring.jta.atomikos.properties.serial-jta-transactions=true # specify if sub-transactions should be joined when possible.
spring.jta.atomikos.properties.service= # transaction manager implementation that should be started.
spring.jta.atomikos.properties.threaded-two-phase-commit=true # use different (and concurrent) threads for two-phase commit on the participating resources.
spring.jta.atomikos.properties.transaction-manager-unique-name= # transaction manager's unique name.

# bitronix
spring.jta.bitronix.connectionfactory.acquire-increment=1 # number of connections to create when growing the pool.
spring.jta.bitronix.connectionfactory.acquisition-interval=1 # time, in seconds, to wait before trying to acquire a connection again after an invalid connection was acquired.
spring.jta.bitronix.connectionfactory.acquisition-timeout=30 # timeout, in seconds, for acquiring connections from the pool.
spring.jta.bitronix.connectionfactory.allow-local-transactions=true # whether or not the transaction manager should allow mixing xa and non-xa transactions.
spring.jta.bitronix.connectionfactory.apply-transaction-timeout=false # whether or not the transaction timeout should be set on the xaresource when it is enlisted.
spring.jta.bitronix.connectionfactory.automatic-enlisting-enabled=true # whether or not resources should be enlisted and delisted automatically.
spring.jta.bitronix.connectionfactory.cache-producers-consumers=true # whether or not produces and consumers should be cached.
spring.jta.bitronix.connectionfactory.defer-connection-release=true # whether or not the provider can run many transactions on the same connection and supports transaction interleaving.
spring.jta.bitronix.connectionfactory.ignore-recovery-failures=false # whether or not recovery failures should be ignored.
spring.jta.bitronix.connectionfactory.max-idle-time=60 # the time, in seconds, after which connections are cleaned up from the pool.
spring.jta.bitronix.connectionfactory.max-pool-size=10 # the maximum size of the pool. 0 denotes no limit.
spring.jta.bitronix.connectionfactory.min-pool-size=0 # the minimum size of the pool.
spring.jta.bitronix.connectionfactory.password= # the password to use to connect to the jms provider.
spring.jta.bitronix.connectionfactory.share-transaction-connections=false # whether or not connections in the accessible state can be shared within the context of a transaction.
spring.jta.bitronix.connectionfactory.test-connections=true # whether or not connections should be tested when acquired from the pool.
spring.jta.bitronix.connectionfactory.two-pc-ordering-position=1 # the position that this resource should take during two-phase commit (always first is integer.min_value, always last is integer.max_value).
spring.jta.bitronix.connectionfactory.unique-name=jmsconnectionfactory # the unique name used to identify the resource during recovery.
spring.jta.bitronix.connectionfactory.use-tm-join=true whether or not tmjoin should be used when starting xaresources.
spring.jta.bitronix.connectionfactory.user= # the user to use to connect to the jms provider.
spring.jta.bitronix.datasource.acquire-increment=1 # number of connections to create when growing the pool.
spring.jta.bitronix.datasource.acquisition-interval=1 # time, in seconds, to wait before trying to acquire a connection again after an invalid connection was acquired.
spring.jta.bitronix.datasource.acquisition-timeout=30 # timeout, in seconds, for acquiring connections from the pool.
spring.jta.bitronix.datasource.allow-local-transactions=true # whether or not the transaction manager should allow mixing xa and non-xa transactions.
spring.jta.bitronix.datasource.apply-transaction-timeout=false # whether or not the transaction timeout should be set on the xaresource when it is enlisted.
spring.jta.bitronix.datasource.automatic-enlisting-enabled=true # whether or not resources should be enlisted and delisted automatically.
spring.jta.bitronix.datasource.cursor-holdability= # the default cursor holdability for connections.
spring.jta.bitronix.datasource.defer-connection-release=true # whether or not the database can run many transactions on the same connection and supports transaction interleaving.
spring.jta.bitronix.datasource.enable-jdbc4-connection-test= # whether or not connection.isvalid() is called when acquiring a connection from the pool.
spring.jta.bitronix.datasource.ignore-recovery-failures=false # whether or not recovery failures should be ignored.
spring.jta.bitronix.datasource.isolation-level= # the default isolation level for connections.
spring.jta.bitronix.datasource.local-auto-commit= # the default auto-commit mode for local transactions.
spring.jta.bitronix.datasource.login-timeout= # timeout, in seconds, for establishing a database connection.
spring.jta.bitronix.datasource.max-idle-time=60 # the time, in seconds, after which connections are cleaned up from the pool.
spring.jta.bitronix.datasource.max-pool-size=10 # the maximum size of the pool. 0 denotes no limit.
spring.jta.bitronix.datasource.min-pool-size=0 # the minimum size of the pool.
spring.jta.bitronix.datasource.prepared-statement-cache-size=0 # the target size of the prepared statement cache. 0 disables the cache.
spring.jta.bitronix.datasource.share-transaction-connections=false # whether or not connections in the accessible state can be shared within the context of a transaction.
spring.jta.bitronix.datasource.test-query= # sql query or statement used to validate a connection before returning it.
spring.jta.bitronix.datasource.two-pc-ordering-position=1 # the position that this resource should take during two-phase commit (always first is integer.min_value, always last is integer.max_value).
spring.jta.bitronix.datasource.unique-name=datasource # the unique name used to identify the resource during recovery.
spring.jta.bitronix.datasource.use-tm-join=true whether or not tmjoin should be used when starting xaresources.
spring.jta.bitronix.properties.allow-multiple-lrc=false # allow multiple lrc resources to be enlisted into the same transaction.
spring.jta.bitronix.properties.asynchronous2-pc=false # enable asynchronously execution of two phase commit.
spring.jta.bitronix.properties.background-recovery-interval-seconds=60 # interval in seconds at which to run the recovery process in the background.
spring.jta.bitronix.properties.current-node-only-recovery=true # recover only the current node.
spring.jta.bitronix.properties.debug-zero-resource-transaction=false # log the creation and commit call stacks of transactions executed without a single enlisted resource.
spring.jta.bitronix.properties.default-transaction-timeout=60 # default transaction timeout in seconds.
spring.jta.bitronix.properties.disable-jmx=false # enable jmx support.
spring.jta.bitronix.properties.exception-analyzer= # set the fully qualified name of the exception analyzer implementation to use.
spring.jta.bitronix.properties.filter-log-status=false # enable filtering of logs so that only mandatory logs are written.
spring.jta.bitronix.properties.force-batching-enabled=true # set if disk forces are batched.
spring.jta.bitronix.properties.forced-write-enabled=true # set if logs are forced to disk.
spring.jta.bitronix.properties.graceful-shutdown-interval=60 # maximum amount of seconds the tm will wait for transactions to get done before aborting them at shutdown time.
spring.jta.bitronix.properties.jndi-transaction-synchronization-registry-name= # jndi name of the transactionsynchronizationregistry.
spring.jta.bitronix.properties.jndi-user-transaction-name= # jndi name of the usertransaction.
spring.jta.bitronix.properties.journal=disk # name of the journal. can be 'disk', 'null' or a class name.
spring.jta.bitronix.properties.log-part1-filename=btm1.tlog # name of the first fragment of the journal.
spring.jta.bitronix.properties.log-part2-filename=btm2.tlog # name of the second fragment of the journal.
spring.jta.bitronix.properties.max-log-size-in-mb=2 # maximum size in megabytes of the journal fragments.
spring.jta.bitronix.properties.resource-configuration-filename= # resourceloader configuration file name.
spring.jta.bitronix.properties.server-id= # ascii id that must uniquely identify this tm instance. default to the machine's ip address.
spring.jta.bitronix.properties.skip-corrupted-logs=false # skip corrupted transactions log entries.
spring.jta.bitronix.properties.warn-about-zero-resource-transaction=true # log a warning for transactions executed without a single enlisted resource.

# narayana (narayanaproperties)
spring.jta.narayana.default-timeout=60 # transaction timeout in seconds.
spring.jta.narayana.expiry-scanners=com.arjuna.ats.internal.arjuna.recovery.expiredtransactionstatusmanagerscanner # comma-separated list of expiry scanners.
spring.jta.narayana.log-dir= # transaction object store directory.
spring.jta.narayana.one-phase-commit=true # enable one phase commit optimisation.
spring.jta.narayana.periodic-recovery-period=120 # interval in which periodic recovery scans are performed in seconds.
spring.jta.narayana.recovery-backoff-period=10 # back off period between first and second phases of the recovery scan in seconds.
spring.jta.narayana.recovery-db-pass= # database password to be used by recovery manager.
spring.jta.narayana.recovery-db-user= # database username to be used by recovery manager.
spring.jta.narayana.recovery-jms-pass= # jms password to be used by recovery manager.
spring.jta.narayana.recovery-jms-user= # jms username to be used by recovery manager.
spring.jta.narayana.recovery-modules= # comma-separated list of recovery modules.
spring.jta.narayana.transaction-manager-id=1 # unique transaction manager id.
spring.jta.narayana.xa-resource-orphan-filters= # comma-separated list of orphan filters.

# embedded mongodb (embeddedmongoproperties)
spring.mongodb.embedded.features=sync_delay # comma-separated list of features to enable.
spring.mongodb.embedded.storage.databasedir= # directory used for data storage.
spring.mongodb.embedded.storage.oplogsize= # maximum size of the oplog in megabytes.
spring.mongodb.embedded.storage.replsetname= # name of the replica set.
spring.mongodb.embedded.version=2.6.10 # version of mongo to use.

# redis (redisproperties)
spring.redis.cluster.max-redirects= # maximum number of redirects to follow when executing commands across the cluster.
spring.redis.cluster.nodes= # comma-separated list of "host:port" pairs to bootstrap from.
spring.redis.database=0 # database index used by the connection factory.
spring.redis.host=localhost # redis server host.
spring.redis.password= # login password of the redis server.
spring.redis.pool.max-active=8 # max number of connections that can be allocated by the pool at a given time. use a negative value for no limit.
spring.redis.pool.max-idle=8 # max number of "idle" connections in the pool. use a negative value to indicate an unlimited number of idle connections.
spring.redis.pool.max-wait=-1 # maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. use a negative value to block indefinitely.
spring.redis.pool.min-idle=0 # target for the minimum number of idle connections to maintain in the pool. this setting only has an effect if it is positive.
spring.redis.port=6379 # redis server port.
spring.redis.sentinel.master= # name of redis server.
spring.redis.sentinel.nodes= # comma-separated list of host:port pairs.
spring.redis.timeout=0 # connection timeout in milliseconds.


# ----------------------------------------
# integration properties
# ----------------------------------------

# activemq (activemqproperties)
spring.activemq.broker-url= # url of the activemq broker. auto-generated by default. for instance `tcp://localhost:61616`
spring.activemq.in-memory=true # specify if the default broker url should be in memory. ignored if an explicit broker has been specified.
spring.activemq.password= # login password of the broker.
spring.activemq.user= # login user of the broker.
spring.activemq.packages.trust-all=false # trust all packages.
spring.activemq.packages.trusted= # comma-separated list of specific packages to trust (when not trusting all packages).
spring.activemq.pool.configuration.*= # see pooledconnectionfactory.
spring.activemq.pool.enabled=false # whether a pooledconnectionfactory should be created instead of a regular connectionfactory.
spring.activemq.pool.expiry-timeout=0 # connection expiration timeout in milliseconds.
spring.activemq.pool.idle-timeout=30000 # connection idle timeout in milliseconds.
spring.activemq.pool.max-connections=1 # maximum number of pooled connections.

# artemis (artemisproperties)
spring.artemis.embedded.cluster-password= # cluster password. randomly generated on startup by default.
spring.artemis.embedded.data-directory= # journal file directory. not necessary if persistence is turned off.
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= # server id. by default, an auto-incremented counter is used.
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. can be explicitly set to "native" or "embedded".
spring.artemis.password= # login password of the broker.
spring.artemis.port=61616 # artemis broker port.
spring.artemis.user= # login user of the broker.

# spring batch (batchproperties)
spring.batch.initializer.enabled=true # create the required batch tables on startup if necessary.
spring.batch.job.enabled=true # execute all spring batch jobs in the context on startup.
spring.batch.job.names= # comma-separated list of job names to execute on startup (for instance `job1,job2`). by default, all jobs found in the context are executed.
spring.batch.schema=classpath:org/springframework/batch/core/schema-@@platform@@.sql # path to the sql file to use to initialize the database schema.
spring.batch.table-prefix= # table prefix for all the batch meta-data tables.

# hornetq (hornetqproperties)
spring.hornetq.embedded.cluster-password= # cluster password. randomly generated on startup by default.
spring.hornetq.embedded.data-directory= # journal file directory. not necessary if persistence is turned off.
spring.hornetq.embedded.enabled=true # enable embedded mode if the hornetq server apis are available.
spring.hornetq.embedded.persistent=false # enable persistent store.
spring.hornetq.embedded.queues= # comma-separated list of queues to create on startup.
spring.hornetq.embedded.server-id= # server id. by default, an auto-incremented counter is used.
spring.hornetq.embedded.topics= # comma-separated list of topics to create on startup.
spring.hornetq.host=localhost # hornetq broker host.
spring.hornetq.mode= # hornetq deployment mode, auto-detected by default. can be explicitly set to "native" or "embedded".
spring.hornetq.password= # login password of the broker.
spring.hornetq.port=5445 # hornetq broker port.
spring.hornetq.user= # login user of the broker.

# jms (jmsproperties)
spring.jms.jndi-name= # connection factory jndi name. when set, takes precedence to others connection factory auto-configurations.
spring.jms.listener.acknowledge-mode= # acknowledge mode of the container. by default, the listener is transacted with automatic acknowledgment.
spring.jms.listener.auto-startup=true # start the container automatically on startup.
spring.jms.listener.concurrency= # minimum number of concurrent consumers.
spring.jms.listener.max-concurrency= # maximum number of concurrent consumers.
spring.jms.pub-sub-domain=false # specify if the default destination type is topic.

# rabbit (rabbitproperties)
spring.rabbitmq.addresses= # comma-separated list of addresses to which the client should connect.
spring.rabbitmq.cache.channel.checkout-timeout= # number of milliseconds to wait to obtain a channel if the cache size has been reached.
spring.rabbitmq.cache.channel.size= # number of channels to retain in the cache.
spring.rabbitmq.cache.connection.mode=channel # connection factory cache mode.
spring.rabbitmq.cache.connection.size= # number of connections to cache.
spring.rabbitmq.connection-timeout= # connection timeout, in milliseconds; zero for infinite.
spring.rabbitmq.dynamic=true # create an amqpadmin bean.
spring.rabbitmq.host=localhost # rabbitmq host.
spring.rabbitmq.listener.acknowledge-mode= # acknowledge mode of container.
spring.rabbitmq.listener.auto-startup=true # start the container automatically on startup.
spring.rabbitmq.listener.concurrency= # minimum number of consumers.
spring.rabbitmq.listener.default-requeue-rejected= # whether or not to requeue delivery failures; default `true`.
spring.rabbitmq.listener.max-concurrency= # maximum number of consumers.
spring.rabbitmq.listener.prefetch= # number of messages to be handled in a single request. it should be greater than or equal to the transaction size (if used).
spring.rabbitmq.listener.retry.enabled=false # whether or not publishing retries are enabled.
spring.rabbitmq.listener.retry.initial-interval=1000 # interval between the first and second attempt to deliver a message.
spring.rabbitmq.listener.retry.max-attempts=3 # maximum number of attempts to deliver a message.
spring.rabbitmq.listener.retry.max-interval=10000 # maximum number of attempts to deliver a message.
spring.rabbitmq.listener.retry.multiplier=1.0 # a multiplier to apply to the previous delivery retry interval.
spring.rabbitmq.listener.retry.stateless=true # whether or not retry is stateless or stateful.
spring.rabbitmq.listener.transaction-size= # number of messages to be processed in a transaction. for best results it should be less than or equal to the prefetch count.
spring.rabbitmq.password= # login to authenticate against the broker.
spring.rabbitmq.port=5672 # rabbitmq port.
spring.rabbitmq.publisher-confirms=false # enable publisher confirms.
spring.rabbitmq.publisher-returns=false # enable publisher returns.
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.rabbitmq.ssl.algorithm= # ssl algorithm to use. by default configure by the rabbit client library.
spring.rabbitmq.template.mandatory=false # enable mandatory messages.
spring.rabbitmq.template.receive-timeout=0 # timeout for `receive()` methods.
spring.rabbitmq.template.reply-timeout=5000 # timeout for `sendandreceive()` methods.
spring.rabbitmq.template.retry.enabled=false # set to true to enable retries in the `rabbittemplate`.
spring.rabbitmq.template.retry.initial-interval=1000 # interval between the first and second attempt to publish a message.
spring.rabbitmq.template.retry.max-attempts=3 # maximum number of attempts to publish a message.
spring.rabbitmq.template.retry.max-interval=10000 # maximum number of attempts to publish a message.
spring.rabbitmq.template.retry.multiplier=1.0 # a multiplier to apply to the previous publishing retry interval.
spring.rabbitmq.username= # login user to authenticate to the broker.
spring.rabbitmq.virtual-host= # virtual host to use when connecting to the broker.


# ----------------------------------------
# actuator properties
# ----------------------------------------

# endpoints (abstractendpoint subclasses)
endpoints.enabled=true # enable endpoints.
endpoints.sensitive= # default endpoint sensitive setting.
endpoints.actuator.enabled=true # enable the endpoint.
endpoints.actuator.path= # endpoint url path.
endpoints.actuator.sensitive=false # enable security on the endpoint.
endpoints.autoconfig.enabled= # enable the endpoint.
endpoints.autoconfig.id= # endpoint identifier.
endpoints.autoconfig.path= # endpoint path.
endpoints.autoconfig.sensitive= # mark if the endpoint exposes sensitive information.
endpoints.beans.enabled= # enable the endpoint.
endpoints.beans.id= # endpoint identifier.
endpoints.beans.path= # endpoint path.
endpoints.beans.sensitive= # mark if the endpoint exposes sensitive information.
endpoints.configprops.enabled= # enable the endpoint.
endpoints.configprops.id= # endpoint identifier.
endpoints.configprops.keys-to-sanitize=password,secret,key,token,.*credentials.*,vcap_services # keys that should be sanitized. keys can be simple strings that the property ends with or regex expressions.
endpoints.configprops.path= # endpoint path.
endpoints.configprops.sensitive= # mark if the endpoint exposes sensitive information.
endpoints.docs.curies.enabled=false # enable the curie generation.
endpoints.docs.enabled=true # enable actuator docs endpoint.
endpoints.docs.path=/docs #
endpoints.docs.sensitive=false #
endpoints.dump.enabled= # enable the endpoint.
endpoints.dump.id= # endpoint identifier.
endpoints.dump.path= # endpoint path.
endpoints.dump.sensitive= # mark if the endpoint exposes sensitive information.
endpoints.env.enabled= # enable the endpoint.
endpoints.env.id= # endpoint identifier.
endpoints.env.keys-to-sanitize=password,secret,key,token,.*credentials.*,vcap_services # keys that should be sanitized. keys can be simple strings that the property ends with or regex expressions.
endpoints.env.path= # endpoint path.
endpoints.env.sensitive= # mark if the endpoint exposes sensitive information.
endpoints.flyway.enabled= # enable the endpoint.
endpoints.flyway.id= # endpoint identifier.
endpoints.flyway.sensitive= # mark if the endpoint exposes sensitive information.
endpoints.health.enabled= # enable the endpoint.
endpoints.health.id= # endpoint identifier.
endpoints.health.mapping.*= # mapping of health statuses to httpstatus codes. by default, registered health statuses map to sensible defaults (i.e. up maps to 200).
endpoints.health.path= # endpoint path.
endpoints.health.sensitive= # mark if the endpoint exposes sensitive information.
endpoints.health.time-to-live=1000 # time to live for cached result, in milliseconds.
endpoints.heapdump.enabled= # enable the endpoint.
endpoints.heapdump.path= # endpoint path.
endpoints.heapdump.sensitive= # mark if the endpoint exposes sensitive information.
endpoints.info.enabled= # enable the endpoint.
endpoints.info.id= # endpoint identifier.
endpoints.info.path= # endpoint path.
endpoints.info.sensitive= # mark if the endpoint exposes sensitive information.
endpoints.jolokia.enabled=true # enable jolokia endpoint.
endpoints.jolokia.path=/jolokia # endpoint url path.
endpoints.jolokia.sensitive=true # enable security on the endpoint.
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.external-file= # external logfile to be accessed.
endpoints.logfile.path=/logfile # endpoint url path.
endpoints.logfile.sensitive=true # enable security on the endpoint.
endpoints.mappings.enabled= # enable the endpoint.
endpoints.mappings.id= # endpoint identifier.
endpoints.mappings.path= # endpoint path.
endpoints.mappings.sensitive= # mark if the endpoint exposes sensitive information.
endpoints.metrics.enabled= # enable the endpoint.
endpoints.metrics.filter.enabled=true # enable the metrics servlet filter.
endpoints.metrics.filter.gauge-submissions=merged # http filter gauge submissions (merged, per-http-method)
endpoints.metrics.filter.counter-submissions=merged # http filter counter submissions (merged, per-http-method)
endpoints.metrics.id= # endpoint identifier.
endpoints.metrics.path= # endpoint path.
endpoints.metrics.sensitive= # mark if the endpoint exposes sensitive information.
endpoints.shutdown.enabled= # enable the endpoint.
endpoints.shutdown.id= # endpoint identifier.
endpoints.shutdown.path= # endpoint path.
endpoints.shutdown.sensitive= # mark if the endpoint exposes sensitive information.
endpoints.trace.enabled= # enable the endpoint.
endpoints.trace.id= # endpoint identifier.
endpoints.trace.path= # endpoint path.
endpoints.trace.sensitive= # mark if the endpoint exposes sensitive information.

# endpoints cors configuration (endpointcorsproperties)
endpoints.cors.allow-credentials= # set whether credentials are supported. when not set, credentials are not supported.
endpoints.cors.allowed-headers= # comma-separated list of headers to allow in a request. '*' allows all headers.
endpoints.cors.allowed-methods=get # comma-separated list of methods to allow. '*' allows all methods.
endpoints.cors.allowed-origins= # comma-separated list of origins to allow. '*' allows all origins. when not set, cors support is disabled.
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.

# jmx endpoint (endpointmbeanexportproperties)
endpoints.jmx.domain= # jmx domain name. initialized with the value of 'spring.jmx.default-domain' if set.
endpoints.jmx.enabled=true # enable jmx export of all endpoints.
endpoints.jmx.static-names= # additional static properties to append to all objectnames of mbeans representing endpoints.
endpoints.jmx.unique-names=false # ensure that objectnames are modified in case of conflict.

# jolokia (jolokiaproperties)
jolokia.config.*= # see jolokia manual

# management http server (managementserverproperties)
management.add-application-context-header=true # add the "x-application-context" http header in each response.
management.address= # network address that the management endpoints should bind to.
management.context-path= # management endpoint context-path. for instance `/actuator`
management.port= # management endpoint http port. uses the same port as the application by default. configure a different port to use management-specific ssl.
management.security.enabled=true # enable security.
management.security.roles=admin # comma-separated list of roles that can access the management endpoint.
management.security.sessions=stateless # session creating policy to use (always, never, if_required, stateless).
management.ssl.ciphers= # supported ssl ciphers. requires a custom management.port.
management.ssl.client-auth= # whether client authentication is wanted ("want") or needed ("need"). requires a trust store. requires a custom management.port.
management.ssl.enabled= # enable ssl support. requires a custom management.port.
management.ssl.enabled-protocols= # enabled ssl protocols. requires a custom management.port.
management.ssl.key-alias= # alias that identifies the key in the key store. requires a custom management.port.
management.ssl.key-password= # password used to access the key in the key store. requires a custom management.port.
management.ssl.key-store= # path to the key store that holds the ssl certificate (typically a jks file). requires a custom management.port.
management.ssl.key-store-password= # password used to access the key store. requires a custom management.port.
management.ssl.key-store-provider= # provider for the key store. requires a custom management.port.
management.ssl.key-store-type= # type of the key store. requires a custom management.port.
management.ssl.protocol=tls # ssl protocol to use. requires a custom management.port.
management.ssl.trust-store= # trust store that holds ssl certificates. requires a custom management.port.
management.ssl.trust-store-password= # password used to access the trust store. requires a custom management.port.
management.ssl.trust-store-provider= # provider for the trust store. requires a custom management.port.
management.ssl.trust-store-type= # type of the trust store. requires a custom management.port.

# health indicators (previously health.*)
management.health.db.enabled=true # enable database health check.
management.health.defaults.enabled=true # enable default health indicators.
management.health.diskspace.enabled=true # enable disk space health check.
management.health.diskspace.path= # path used to compute the available disk space.
management.health.diskspace.threshold=0 # minimum disk space that should be available, in bytes.
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.
management.health.mongo.enabled=true # enable mongodb health check.
management.health.rabbit.enabled=true # enable rabbitmq health check.
management.health.redis.enabled=true # enable redis health check.
management.health.solr.enabled=true # enable solr health check.
management.health.status.order=down, out_of_service, unknown, up # comma-separated list of health statuses in order of severity.

# info contributors (infocontributorproperties)
management.info.build.enabled=true # enable build info.
management.info.defaults.enabled=true # enable default info contributors.
management.info.env.enabled=true # enable environment info.
management.info.git.enabled=true # enable git info.
management.info.git.mode=simple # mode to use to expose git information.

# remote shell (shellproperties)
management.shell.auth.type=simple # authentication type. auto-detected according to the environment.
management.shell.auth.jaas.domain=my-domain # jaas domain.
management.shell.auth.key.path= # path to the authentication key. this should point to a valid ".pem" file.
management.shell.auth.simple.user.name=user # login user.
management.shell.auth.simple.user.password= # login password.
management.shell.auth.spring.roles=admin # comma-separated list of required roles to login to the crash console.
management.shell.command-path-patterns=classpath*:/commands/**,classpath*:/crash/commands/** # patterns to use to look for commands.
management.shell.command-refresh-interval=-1 # scan for changes and update the command if necessary (in seconds).
management.shell.config-path-patterns=classpath*:/crash/* # patterns to use to look for configurations.
management.shell.disabled-commands=jpa*,jdbc*,jndi* # comma-separated list of commands to disable.
management.shell.disabled-plugins= # comma-separated list of plugins to disable. certain plugins are disabled by default based on the environment.
management.shell.ssh.auth-timeout = # number of milliseconds after user will be prompted to login again.
management.shell.ssh.enabled=true # enable crash ssh support.
management.shell.ssh.idle-timeout = # number of milliseconds after which unused connections are closed.
management.shell.ssh.key-path= # path to the ssh server key.
management.shell.ssh.port=2000 # ssh port.
management.shell.telnet.enabled=false # enable crash telnet support. enabled by default if the telnetplugin is available.
management.shell.telnet.port=5000 # telnet port.

# tracing (traceproperties)
management.trace.include=request-headers,response-headers,cookies,errors # items to be included in the trace.

# metrics export (metricexportproperties)
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=5000 # delay in milliseconds between export ticks. metrics are exported to external sources on a schedule with this delay.
spring.metrics.export.enabled=true # flag to enable metric export (assuming a metricwriter is available).
spring.metrics.export.excludes= # list of patterns for metric names to exclude. applied after the includes.
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.statsd.host= # host of a statsd server to receive exported metrics.
spring.metrics.export.statsd.port=8125 # port of a statsd server to receive exported metrics.
spring.metrics.export.statsd.prefix= # prefix for statsd exported metrics.
spring.metrics.export.triggers.*= # specific trigger properties per metricwriter bean name.


# ----------------------------------------
# devtools properties
# ----------------------------------------

# devtools (devtoolsproperties)
spring.devtools.livereload.enabled=true # enable a livereload.com compatible server.
spring.devtools.livereload.port=35729 # server port.
spring.devtools.restart.additional-exclude= # additional patterns that should be excluded from triggering a full restart.
spring.devtools.restart.additional-paths= # additional paths to watch for changes.
spring.devtools.restart.enabled=true # enable automatic restart.
spring.devtools.restart.exclude=meta-inf/maven/**,meta-inf/resources/**,resources/**,static/**,public/**,templates/**,**/*test.class,**/*tests.class,git.properties # patterns that should be excluded from triggering a full restart.
spring.devtools.restart.poll-interval=1000 # amount of time (in milliseconds) to wait between polling for classpath changes.
spring.devtools.restart.quiet-period=400 # 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. if not specified any classpath file change will trigger the restart.

# remote devtools (remotedevtoolsproperties)
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.proxy.host= # the host of the proxy to use to connect to the remote application.
spring.devtools.remote.proxy.port= # the port of the proxy to use to connect to the remote application.
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 boot 的配置参考大全(推荐)就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持。