Spring Boot 之application.properties配置文件内容

Spring-Boot官方开发指导文档

默认创建spring-boot项目后,会在resources目录下生成一个空的application.properties配置文件,springboot启动时加载该配置文件。

application.properties(或者application.yml)中包含系统属性、环境变量、命令参数这类信息。

下面简要说一部分spring-boot项目中application.properties内的一些常用配置,更多参照官方文档。

这些参数配置不一定要写在application.properties里面,可以在application.properties里面配置指定自定义配置文件名称和位置:(但是无论怎么配置,spring-boot都会读取加载application.properties文件)

spring.config.name=自定义的配置文件名称

spring.config.location=配置文件位置(可以是classpath或者有效url)

也可以通过在自定义类上设置@PropertySource注解指定读取某个配置文件

1、命令行参数

server.address=xxx.xxx.xx.xxx  //服务器绑定ip地址,多网卡时可以指定

server.port=xxx 

//可以指定springboot内嵌容器启动的端口,默认使用tomcat容器时在8080端口,右键run- java application/springboot..,可以支持不同的容器,在引入不同的依赖时。当server.port=0时,表示自动扫面获取一个可用的端口。

ssl的安全访问配置

server.port=8443
server.ssl.key-store=classpath:keystore.jks
server.ssl.key-store-password=secret
server.ssl.key-password=another-secret

目前spring-boot不支持http和https同时启用的情况,只支持使用其中一个,如果需要同时使用,可以使用其他形式的实现方式。

该部分对应org.springframework.boot.autoconfigure.webServerProperties类。


此外还有一些不是很常用的如:

server.http2.enable=true/false

//该属性可以支持http2的协议类型,目前只支持tomcat和undertow的容器并且需要JDK1.8+.


官文上对于内嵌tomcat的配置参数也有很多,还可以编码来实现很多tomcat中的功能,不多说了,内容多,需要的看一下官网。


2、 系统属性/变量

2.1 开发/测试/生产环境配置

spring.profiles.active=xxxx

//该系统变量可以指明要使用的配置文件,一般应用于多环境配置分离,如生产环境(production),开发环境(development),测试环境(test)等,可以自定义,如开发环境配置文件为application-dev.properties,则spring.profiles.active=dev,在启动时会加载application-dev.properties配置文件。


2.2 关于Banner

项目启动时会打印一大堆符号组成的东西,看了好久感觉好像是打印的Spring这几个字母。

SpringBoot里叫banner配置。

banner.location=xxx.txt //可以自定义输出信息的位置

banner.charset=utf-8 //指定编码格式

spring.main.banner-mode=console/off    //banner图开启或者打印模式


2.3 Mysql数据源配置(引入spring-boot-starter-jdbc自动集成)

注解使用jdbcTemplate或者集成Mybatis(引入maven:mybatis-spring-boot-starter )

spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/company?allowMultiQueries=true
spring.datasource.username=root
spring.datasource.password=xxxx

该部分配置为spring数据源的配置,使用jdbcTemplate进行数据库操作(使用jdbcTempate,会自动提示导入spring-boot-starter-jdbc等依赖)。在使用单元测试时,同时运行多个可能会出现数据源冲突,此时可以通过下面的属性生成唯一的数据源名称

spring.datasource.generate-unique-name=true

spring.datasource.*  的属性集配置对应org.springframework.boot.autoconfigure.jdbcDataSourceProperties类。


2.4 MongoDB数据源配置(引入spring-boot-starter-data-mongodb自动集成)

spring.data.mongodb.*对应的属性类为MongoProperties.java

常用基本属性:

spring.data.mongodb.host=xxx //默认localhost

spring.data.mongodb.port=xxx //默认27017

spring.data.mongodb.database=xx //数据库

spring.data.mongodb.username=xx //数据库用户名

spring.data.mongodb.password=xx //数据库用户密码

上述参数还可以用一个代替:(上述参数不可与该参数同时使用)

spring.data.mongodb.uri=mongodb://localhost:27017/test

如果有密码:

mongodb://username:password@localhost:27017/dbname


2.5 Redis配置(引入spring-boot-starter-data-redis自动集成)

#spring.redis.url=
#上面url形式等同下面
#host和port默认值取值localhost,6379
spring.redis.host=localhost
spring.redis.port=6379

#链接池配置,下面是默认值

spring.pool.max-idle=8

spring.pool.min-idel=0

spring.pool.max-wait=-1 //-1禁用该属性,等待单位milliseconds

spring.pool.max-active=8

#密码,无密码时不需要
#spring.redis.password=
#spring.redis.ssl=true/false

对应类org.springframework.boot.autoconfigure.data.redis.RedisProperties.java类


2.6 MyBatis配置(引入mybatis-spring-boot-starter自动集成)

如果不适用xml映射文件配置,下面的不需要,直接使用注解可以实现

#本例子中放在resources/mybatis/mybatis-config.xml中

mybatis.config-location=classpath:mybatis/mybatis-config.xml

mybatis.mapper-locaitons=classpath:mybatis/mappings/*.xml


#下面的配置可以在mybatis-config.xml中配置

#mybatis.configuration.*=xxx
#别名实体包,多个逗号隔开
#mybatis.type-aliases-package=com.tom.bean
#类型转换器包,多个逗号隔开
#mybatis.type-handlers-package=com.tom.mybatis.handlers
#执行类型
#mybatis.executor-type=SIMPLE/REUSE/BATCH


2.7 cache配置(引入spring-boot-starter-cache自动集成)

对于缓存自动集成,spring-boot也提供了很多方案,这里说一下默认的spring-cache、ehcache、redis-cache的相关属性配置

spring.cache.type=cache/ehcache/redis....(参照CacheType类) //用于指明要使用的缓存类型

ehcache专用:

spring.cache.ehcache.config=classpath:cache/ehcache.xml //用于配置使用ehcache时配置文件所在位置


在使用默认的cache时(默认cache是采用concurrentMap实现的缓存,前提是没有引入spring-boot-starter-data-redis等其他缓存依赖)或者使用redis时,可以使用下面参数配置

spring.cache.cache-names=xxx,xxx,xxx   //配置缓存名称


redis专用:

spring.cache.redis.time-to-live=600000    //缓存有效时间,单位毫秒


spring.cache.*对应类为:org.springframework.boot.autoconfigure.cache.cacheProperties.java

完成上面的设置就可以在项目中使用spring注解,但是要使用@EnableCaching启用注解,具体cache使用详见下面的章节。


2.8 文件上传配置

#默认true

#spring.http.mutipart.enabled=true

#上传中转文件位置,
#spring.http.multipart.location=
#最大上传文件大小,默认1MB
spring.http.multipart.max-file-size=5MB
#最大请求大小,默认10MB
spring.http.multipart.max-request-size=20MB

对应类:org.springframework.boot.autoconfigure.web.MultipartProperties


(注意:在实际类中出现驼峰表示的变量,配置属性单词间用-分割)


3、SpringBoot官网基本属性集合

  1. # ===================================================================  
  2. # COMMON SPRING BOOT PROPERTIES  
  3. #  
  4. # This sample file is provided as a guideline. Do NOT copy it in its  
  5. # entirety to your own application.               ^^^  
  6. # ===================================================================  
  7.   
  8.   
  9. ----------------------------------------  
  10. # CORE PROPERTIES  
  11. ----------------------------------------  
  12.   
  13. # BANNER  
  14. banner.charset=UTF-8 # Banner file encoding.  
  15. banner.location=classpath:banner.txt # Banner file location.  
  16. banner.image.location=classpath:banner.gif # Banner image file location (jpg/png can also be used).  
  17. banner.image.width= # Width of the banner image in chars (default 76)  
  18. banner.image.height= # Height of the banner image in chars (default based on image height)  
  19. banner.image.margin= # Left hand image margin in chars (default 2)  
  20. banner.image.invert= # If images should be inverted for dark terminal themes (default false)  
  21.   
  22. # LOGGING  
  23. logging.config= # Location of the logging configuration file. For instance `classpath:logback.xml` for Logback  
  24. logging.exception-conversion-word=%wEx # Conversion word used when logging exceptions.  
  25. logging.file= # Log file nameFor instance `myapp.log`  
  26. logging.file.max-history= # Maximum of archive log files to keep. Only supported with the default logback setup.  
  27. logging.file.max-size= # Maximum log file sizeOnly supported with the default logback setup.  
  28. logging.level.*= # Log levels severity mapping. For instance `logging.level.org.springframework=DEBUG`  
  29. logging.path= # Location of the log file. For instance `/var/log`  
  30. logging.pattern.console= # Appender pattern for output to the console. Only supported with the default logback setup.  
  31. logging.pattern.file= # Appender pattern for output to the file. Only supported with the default logback setup.  
  32. logging.pattern.level= # Appender pattern for log level (default %5p). Only supported with the default logback setup.  
  33. logging.pattern.dateformat= # Appender pattern for log dateformat (default yyyy-MM-dd HH:mm:ss.SSS). Only supported with the default logback setup.  
  34. logging.register-shutdown-hook=false # Register a shutdown hook for the logging system when it is initialized.  
  35.   
  36. # AOP  
  37. spring.aop.auto=true # Add @EnableAspectJAutoProxy.  
  38. spring.aop.proxy-target-class=true # Whether subclass-based (CGLIB) proxies are to be created (trueas opposed to standard Java interface-based proxies (false).  
  39.   
  40. # IDENTITY (ContextIdApplicationContextInitializer)  
  41. spring.application.index= # Application index.  
  42. spring.application.name= # Application name.  
  43.   
  44. # ADMIN (SpringApplicationAdminJmxAutoConfiguration)  
  45. spring.application.admin.enabled=false # Enable admin features for the application.  
  46. spring.application.admin.jmx-name=org.springframework.boot:type=Admin,name=SpringApplication # JMX name of the application admin MBean.  
  47.   
  48. # AUTO-CONFIGURATION  
  49. spring.autoconfigure.exclude= # Auto-configuration classes to exclude.  
  50.   
  51. # SPRING CORE  
  52. spring.beaninfo.ignore=true # Skip search of BeanInfo classes.  
  53.   
  54. # SPRING CACHE (CacheProperties)  
  55. spring.cache.cache-names= # Comma-separated list of cache names to create if supported by the underlying cache manager.  
  56. spring.cache.caffeine.spec= # The spec to use to create caches. Check CaffeineSpec for more details on the spec format.  
  57. spring.cache.couchbase.expiration=0 # Entry expiration in milliseconds. By default the entries never expire.  
  58. spring.cache.ehcache.config= # The location of the configuration file to use to initialize EhCache.  
  59. spring.cache.infinispan.config= # The location of the configuration file to use to initialize Infinispan.  
  60. spring.cache.jcache.config= # The location of the configuration file to use to initialize the cache manager.  
  61. 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.  
  62. spring.cache.redis.cache-null-values=true # Allow caching null values.  
  63. spring.cache.redis.key-prefix= # Key prefix.  
  64. spring.cache.redis.time-to-live=0 # Entry expiration in milliseconds. By default the entries never expire.  
  65. spring.cache.redis.use-key-prefix=true # Whether to use the key prefix when writing to Redis.  
  66. spring.cache.type= # Cache type, auto-detected according to the environment by default.  
  67.   
  68. # SPRING CONFIG - using environment property only (ConfigFileApplicationListener)  
  69. spring.config.location= # Config file locations.  
  70. spring.config.name=application # Config file name.  
  71.   
  72. # HAZELCAST (HazelcastProperties)  
  73. spring.hazelcast.config= # The location of the configuration file to use to initialize Hazelcast.  
  74.   
  75. # PROJECT INFORMATION (ProjectInfoProperties)  
  76. spring.info.build.location=classpath:META-INF/build-info.properties # Location of the generated build-info.properties file.  
  77. spring.info.git.location=classpath:git.properties # Location of the generated git.properties file.  
  78.   
  79. # JMX  
  80. spring.jmx.default-domain= # JMX domain name.  
  81. spring.jmx.enabled=true # Expose management beans to the JMX domain.  
  82. spring.jmx.server=mbeanServer # MBeanServer bean name.  
  83.   
  84. # Email (MailProperties)  
  85. spring.mail.default-encoding=UTF-8 # Default MimeMessage encoding.  
  86. spring.mail.host= # SMTP server host. For instance `smtp.example.com`  
  87. spring.mail.jndi-name= # Session JNDI nameWhen set, takes precedence to others mail settings.  
  88. spring.mail.password= # Login password of the SMTP server.  
  89. spring.mail.port= # SMTP server port.  
  90. spring.mail.properties.*= # Additional JavaMail session properties.  
  91. spring.mail.protocol=smtp # Protocol used by the SMTP server.  
  92. spring.mail.test-connection=false # Test that the mail server is available on startup.  
  93. spring.mail.username= # Login user of the SMTP server.  
  94.   
  95. # APPLICATION SETTINGS (SpringApplication)  
  96. spring.main.banner-mode=console # Mode used to display the banner when the application runs.  
  97. spring.main.sources= # Sources (class name, package name or XML resource location) to include in the ApplicationContext.  
  98. spring.main.web-application-type= # Flag to explicitly request a specific type of web application. Auto-detected based on the classpath if not set.  
  99.   
  100. # FILE ENCODING (FileEncodingApplicationListener)  
  101. spring.mandatory-file-encoding= # Expected character encoding the application must use.  
  102.   
  103. # INTERNATIONALIZATION (MessageSourceAutoConfiguration)  
  104. spring.messages.always-use-message-format=false # Set whether to always apply the MessageFormat rules, parsing even messages without arguments.  
  105. spring.messages.basename=messages # Comma-separated list of basenames, each following the ResourceBundle convention.  
  106. spring.messages.cache-seconds=-1 # Loaded resource bundle files cache expiration, in seconds. When set to -1, bundles are cached forever.  
  107. spring.messages.encoding=UTF-8 # Message bundles encoding.  
  108. 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.  
  109. spring.messages.use-code-as-default-message=false # Set whether to use the message code as default message instead of throwing a "NoSuchMessageException". Recommended during development only.  
  110.   
  111. OUTPUT  
  112. spring.output.ansi.enabled=detect # Configure the ANSI output.  
  113.   
  114. # PID FILE (ApplicationPidFileWriter)  
  115. spring.pid.fail-on-write-error= # Fail if ApplicationPidFileWriter is used but it cannot write the PID file.  
  116. spring.pid.file= # Location of the PID file to write (if ApplicationPidFileWriter is used).  
  117.   
  118. # PROFILES  
  119. spring.profiles.active= # Comma-separated list (or list if using YAML) of active profiles.  
  120. spring.profiles.include= # Unconditionally activate the specified comma separated profiles (or list of profiles if using YAML).  
  121.   
  122. # QUARTZ SCHEDULER (QuartzProperties)  
  123. spring.quartz.job-store-type=memory # Quartz job store type.  
  124. spring.quartz.properties.*= # Additional Quartz Scheduler properties.  
  125. spring.quartz.jdbc.initialize-schema=embedded # Database schema initialization mode.  
  126. spring.quartz.jdbc.schema=classpath:org/quartz/impl/jdbcjobstore/tables_@@platform@@.sql # Path to the SQL file to use to initialize the database schema.  
  127.   
  128. # Reactor  
  129. spring.reactor.stacktrace-mode.enabled=false # Set whether Reactor should collect stacktrace information at runtime.  
  130.   
  131. # SENDGRID (SendGridAutoConfiguration)  
  132. spring.sendgrid.api-key= # SendGrid API key.  
  133. spring.sendgrid.proxy.host= # SendGrid proxy host.  
  134. spring.sendgrid.proxy.port= # SendGrid proxy port.  
  135.   
  136.   
  137. ----------------------------------------  
  138. # WEB PROPERTIES  
  139. ----------------------------------------  
  140.   
  141. # EMBEDDED SERVER CONFIGURATION (ServerProperties)  
  142. server.address= # Network address to which the server should bind to.  
  143. server.compression.enabled=false # If response compression is enabled.  
  144. server.compression.excluded-user-agents= # List of user-agents to exclude from compression.  
  145. server.compression.mime-types=text/html,text/xml,text/plain,text/css,text/javascript,application/javascript # Comma-separated list of MIME types that should be compressed.  
  146. server.compression.min-response-size=2048 # Minimum response size that is required for compression to be performed.  
  147. server.connection-timeout= # Time in milliseconds that connectors will wait for another HTTP request before closing the connectionWhen not set, the connector's container-specific default will be used. Use a value of -1 to indicate no (i.e. infinite) timeout.  
  148. server.display-name=application # Display name of the application.  
  149. server.max-http-header-size=0 # Maximum size in bytes of the HTTP message header.  
  150. server.error.include-exception=false # Include the "exception" attribute.  
  151. server.error.include-stacktrace=never # When to include a "stacktrace" attribute.  
  152. server.error.path=/error # Path of the error controller.  
  153. server.error.whitelabel.enabled=true # Enable the default error page displayed in browsers in case of a server error.  
  154. server.http2.enabled=true # Whether to enable HTTP/2 support, if the current environment supports it.  
  155. server.jetty.acceptors= # Number of acceptor threads to use.  
  156. server.jetty.accesslog.append=false # Append to log.  
  157. server.jetty.accesslog.date-format=dd/MMM/yyyy:HH:mm:ss Z # Timestamp format of the request log.  
  158. server.jetty.accesslog.enabled=false # Enable access log.  
  159. server.jetty.accesslog.extended-format=false # Enable extended NCSA format.  
  160. server.jetty.accesslog.file-date-format= # Date format to place in log file name.  
  161. server.jetty.accesslog.filename= # Log filename. If not specified, logs will be redirected to "System.err".  
  162. server.jetty.accesslog.locale= # Locale of the request log.  
  163. server.jetty.accesslog.log-cookies=false # Enable logging of the request cookies.  
  164. server.jetty.accesslog.log-latency=false # Enable logging of request processing time.  
  165. server.jetty.accesslog.log-server=false # Enable logging of the request hostname.  
  166. server.jetty.accesslog.retention-period=31 # Number of days before rotated log files are deleted.  
  167. server.jetty.accesslog.time-zone=GMT # Timezone of the request log.  
  168. server.jetty.max-http-post-size=0 # Maximum size in bytes of the HTTP post or put content.  
  169. server.jetty.selectors= # Number of selector threads to use.  
  170. server.port=8080 # Server HTTP port.  
  171. server.server-header= # Value to use for the Server response header (no header is sent if empty)  
  172. server.use-forward-headers= # If X-Forwarded-* headers should be applied to the HttpRequest.  
  173. server.servlet.context-parameters.*= # Servlet context init parameters  
  174.    server.servlet.context-path= # Context path of the application.  
  175.    server.servlet.jsp.class-name=org.apache.jasper.servlet.JspServlet # The class name of the JSP servlet.  
  176. server.servlet.jsp.init-parameters.*= # Init parameters used to configure the JSP servlet  
  177. server.servlet.jsp.registered=true # Whether or not the JSP servlet is registered  
  178.    server.servlet.path=/ # Path of the main dispatcher servlet.  
  179. server.session.cookie.comment= # Comment for the session cookie.  
  180. server.session.cookie.domain= # Domain for the session cookie.  
  181. server.session.cookie.http-only= # "HttpOnly" flag for the session cookie.  
  182. server.session.cookie.max-age= # Maximum age of the session cookie in seconds.  
  183. server.session.cookie.name= # Session cookie name.  
  184. server.session.cookie.path= # Path of the session cookie.  
  185. server.session.cookie.secure= # "Secure" flag for the session cookie.  
  186. server.session.persistent=false # Persist session data between restarts.  
  187. server.session.store-dir= # Directory used to store session data.  
  188. server.session.timeout= # Session timeout in seconds.  
  189. server.session.tracking-modes= # Session tracking modes (one or more of the following: "cookie""url""ssl").  
  190. server.ssl.ciphers= # Supported SSL ciphers.  
  191. server.ssl.client-auth= # Whether client authentication is wanted ("want"or needed ("need"). Requires a trust store.  
  192. server.ssl.enabled= # Enable SSL support.  
  193. server.ssl.enabled-protocols= # Enabled SSL protocols.  
  194. server.ssl.key-alias= # Alias that identifies the key in the key store.  
  195. server.ssl.key-password= # Password used to access the key in the key store.  
  196. server.ssl.key-store= # Path to the key store that holds the SSL certificate (typically a jks file).  
  197. server.ssl.key-store-password= # Password used to access the key store.  
  198. server.ssl.key-store-provider= # Provider for the key store.  
  199. server.ssl.key-store-type= # Type of the key store.  
  200. server.ssl.protocol=TLS # SSL protocol to use.  
  201. server.ssl.trust-store= # Trust store that holds SSL certificates.  
  202. server.ssl.trust-store-password= # Password used to access the trust store.  
  203. server.ssl.trust-store-provider= # Provider for the trust store.  
  204. server.ssl.trust-store-type= # Type of the trust store.  
  205. server.tomcat.accept-count= # Maximum queue length for incoming connection requests when all possible request processing threads are in use.  
  206. server.tomcat.accesslog.buffered=true # Buffer output such that it is only flushed periodically.  
  207. server.tomcat.accesslog.directory=logs # Directory in which log files are created. Can be relative to the tomcat base dir or absolute.  
  208. server.tomcat.accesslog.enabled=false # Enable access log.  
  209. server.tomcat.accesslog.file-date-format=.yyyy-MM-dd # Date format to place in log file name.  
  210. server.tomcat.accesslog.pattern=common # Format pattern for access logs.  
  211. server.tomcat.accesslog.prefix=access_log # Log file name prefix.  
  212. server.tomcat.accesslog.rename-on-rotate=false # Defer inclusion of the date stamp in the file name until rotate time.  
  213. server.tomcat.accesslog.request-attributes-enabled=false # Set request attributes for IP address, Hostname, protocol and port used for the request.  
  214. server.tomcat.accesslog.rotate=true # Enable access log rotation.  
  215. server.tomcat.accesslog.suffix=.log # Log file name suffix.  
  216. server.tomcat.additional-tld-skip-patterns= # Comma-separated list of additional patterns that match jars to ignore for TLD scanning.  
  217. server.tomcat.background-processor-delay=30 # Delay in seconds between the invocation of backgroundProcess methods.  
  218. server.tomcat.basedir= # Tomcat base directory. If not specified a temporary directory will be used.  
  219. server.tomcat.internal-proxies=10\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}|\\  
  220.         192\\.168\\.\\d{1,3}\\.\\d{1,3}|\\  
  221.         169\\.254\\.\\d{1,3}\\.\\d{1,3}|\\  
  222.         127\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}|\\  
  223.         172\\.1[6-9]{1}\\.\\d{1,3}\\.\\d{1,3}|\\  
  224.         172\\.2[0-9]{1}\\.\\d{1,3}\\.\\d{1,3}|\\  
  225.         172\\.3[0-1]{1}\\.\\d{1,3}\\.\\d{1,3} # regular expression matching trusted IP addresses.  
  226. server.tomcat.max-connections= # Maximum number of connections that the server will accept and process at any given time.  
  227. server.tomcat.max-http-header-size=0 # Maximum size in bytes of the HTTP message header.  
  228. server.tomcat.max-http-post-size=0 # Maximum size in bytes of the HTTP post content.  
  229. server.tomcat.max-threads=0 # Maximum amount of worker threads.  
  230. server.tomcat.min-spare-threads=0 # Minimum amount of worker threads.  
  231. server.tomcat.port-header=X-Forwarded-Port # Name of the HTTP header used to override the original port value.  
  232. server.tomcat.protocol-header= # Header that holds the incoming protocol, usually named "X-Forwarded-Proto".  
  233. server.tomcat.protocol-header-https-value=https # Value of the protocol header that indicates that the incoming request uses SSL.  
  234. server.tomcat.redirect-context-root= # Whether requests to the context root should be redirected by appending a / to the path.  
  235. server.tomcat.remote-ip-header= # Name of the http header from which the remote ip is extracted. For instance `X-FORWARDED-FOR`  
  236. spring.tomcat.resource.cache-ttl=5000 # Time-to-live in milliseconds of the static resource cache.  
  237. server.tomcat.uri-encoding=UTF-8 # Character encoding to use to decode the URI.  
  238. server.undertow.accesslog.dir= # Undertow access log directory.  
  239. server.undertow.accesslog.enabled=false # Enable access log.  
  240. server.undertow.accesslog.pattern=common # Format pattern for access logs.  
  241. server.undertow.accesslog.prefix=access_log. # Log file name prefix.  
  242. server.undertow.accesslog.rotate=true # Enable access log rotation.  
  243. server.undertow.accesslog.suffix=log # Log file name suffix.  
  244. server.undertow.buffer-size= # Size of each buffer in bytes.  
  245. server.undertow.direct-buffers= # Allocate buffers outside the Java heap.  
  246. server.undertow.io-threads= # Number of I/O threads to create for the worker.  
  247. server.undertow.eager-filter-init=true # Whether servlet filters should be initialized on startup.  
  248. server.undertow.max-http-post-size=0 # Maximum size in bytes of the HTTP post content.  
  249. server.undertow.worker-threads= # Number of worker threads.  
  250.   
  251. # FREEMARKER (FreeMarkerAutoConfiguration)  
  252. spring.freemarker.allow-request-override=false # Set whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name.  
  253. spring.freemarker.allow-session-override=false # Set whether HttpSession attributes are allowed to override (hide) controller generated model attributes of the same name.  
  254. spring.freemarker.cache=false # Enable template caching.  
  255. spring.freemarker.charset=UTF-8 # Template encoding.  
  256. spring.freemarker.check-template-location=true # Check that the templates location exists.  
  257. spring.freemarker.content-type=text/html # Content-Type value.  
  258. spring.freemarker.enabled=true # Enable MVC view resolution for this technology.  
  259. spring.freemarker.expose-request-attributes=false # Set whether all request attributes should be added to the model prior to merging with the template.  
  260. spring.freemarker.expose-session-attributes=false # Set whether all HttpSession attributes should be added to the model prior to merging with the template.  
  261. spring.freemarker.expose-spring-macro-helpers=true # Set whether to expose a RequestContext for use by Spring's macro library, under the name "springMacroRequestContext".  
  262. spring.freemarker.prefer-file-system-access=true # Prefer file system access for template loading. File system access enables hot detection of template changes.  
  263. spring.freemarker.prefix= # Prefix that gets prepended to view names when building a URL.  
  264. spring.freemarker.request-context-attribute= # Name of the RequestContext attribute for all views.  
  265. spring.freemarker.settings.*= # Well-known FreeMarker keys which will be passed to FreeMarker's Configuration.  
  266. spring.freemarker.suffix=.ftl # Suffix that gets appended to view names when building a URL.  
  267. spring.freemarker.template-loader-path=classpath:/templates/ # Comma-separated list of template paths.  
  268. spring.freemarker.view-names= # White list of view names that can be resolved.  
  269.   
  270. # GROOVY TEMPLATES (GroovyTemplateAutoConfiguration)  
  271. spring.groovy.template.allow-request-override=false # Set whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name.  
  272. spring.groovy.template.allow-session-override=false # Set whether HttpSession attributes are allowed to override (hide) controller generated model attributes of the same name.  
  273. spring.groovy.template.cache= # Enable template caching.  
  274. spring.groovy.template.charset=UTF-8 # Template encoding.  
  275. spring.groovy.template.check-template-location=true # Check that the templates location exists.  
  276. spring.groovy.template.configuration.*= # See GroovyMarkupConfigurer  
  277. spring.groovy.template.content-type=test/html # Content-Type value.  
  278. spring.groovy.template.enabled=true # Enable MVC view resolution for this technology.  
  279. spring.groovy.template.expose-request-attributes=false # Set whether all request attributes should be added to the model prior to merging with the template.  
  280. spring.groovy.template.expose-session-attributes=false # Set whether all HttpSession attributes should be added to the model prior to merging with the template.  
  281. 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".  
  282. spring.groovy.template.prefix= # Prefix that gets prepended to view names when building a URL.  
  283. spring.groovy.template.request-context-attribute= # Name of the RequestContext attribute for all views.  
  284. spring.groovy.template.resource-loader-path=classpath:/templates/ # Template path.  
  285. spring.groovy.template.suffix=.tpl # Suffix that gets appended to view names when building a URL.  
  286. spring.groovy.template.view-names= # White list of view names that can be resolved.  
  287.   
  288. # SPRING HATEOAS (HateoasProperties)  
  289. 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.  
  290.   
  291. # HTTP message conversion  
  292. spring.http.converters.preferred-json-mapper= # Preferred JSON mapper to use for HTTP message conversion, auto-detected according to the environment by default.  
  293.   
  294. # HTTP encoding (HttpEncodingProperties)  
  295. spring.http.encoding.charset=UTF-8 # Charset of HTTP requests and responses. Added to the "Content-Type" header if not set explicitly.  
  296. spring.http.encoding.enabled=true # Enable http encoding support.  
  297. spring.http.encoding.force= # Force the encoding to the configured charset on HTTP requests and responses.  
  298. spring.http.encoding.force-request= # Force the encoding to the configured charset on HTTP requests. Defaults to true when "force" has not been specified.  
  299. spring.http.encoding.force-response= # Force the encoding to the configured charset on HTTP responses.  
  300. spring.http.encoding.mapping= # Locale to Encoding mapping.  
  301.   
  302. # MULTIPART (MultipartProperties)  
  303. spring.servlet.multipart.enabled=true # Enable support of multipart uploads.  
  304. spring.servlet.multipart.file-size-threshold=0 # Threshold after which files will be written to disk. Values can use the suffixes "MB" or "KB" to indicate megabytes or kilobytes respectively.  
  305. spring.servlet.multipart.location= # Intermediate location of uploaded files.  
  306. spring.servlet.multipart.max-file-size=1MB # Max file sizeValues can use the suffixes "MB" or "KB" to indicate megabytes or kilobytes respectively.  
  307. spring.servlet.multipart.max-request-size=10MB # Max request sizeValues can use the suffixes "MB" or "KB" to indicate megabytes or kilobytes respectively.  
  308. spring.servlet.multipart.resolve-lazily=false # Whether to resolve the multipart request lazily at the time of file or parameter access.  
  309.   
  310. # JACKSON (JacksonProperties)  
  311. spring.jackson.date-format= # Date format string or a fully-qualified date format class nameFor instance `yyyy-MM-dd HH:mm:ss`.  
  312. spring.jackson.default-property-inclusion= # Controls the inclusion of properties during serialization.  
  313. spring.jackson.deserialization.*= # Jackson on/off features that affect the way Java objects are deserialized.  
  314. spring.jackson.generator.*= # Jackson on/off features for generators.  
  315. 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.  
  316. spring.jackson.locale= # Locale used for formatting.  
  317. spring.jackson.mapper.*= # Jackson general purpose on/off features.  
  318. spring.jackson.parser.*= # Jackson on/off features for parsers.  
  319. 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.  
  320. spring.jackson.serialization.*= # Jackson on/off features that affect the way Java objects are serialized.  
  321. spring.jackson.time-zone= # Time zone used when formatting dates. For instance `America/Los_Angeles`  
  322.   
  323. # JERSEY (JerseyProperties)  
  324. spring.jersey.application-path= # Path that serves as the base URI for the application. Overrides the value of "@ApplicationPath" if specified.  
  325. spring.jersey.filter.order=0 # Jersey filter chain order.  
  326. spring.jersey.init.*= # Init parameters to pass to Jersey via the servlet or filter.  
  327. spring.jersey.servlet.load-on-startup=-1 # Load on startup priority of the Jersey servlet.  
  328. spring.jersey.type=servlet # Jersey integration type.  
  329.   
  330.    # SPRING LDAP (LdapProperties)  
  331.    spring.ldap.urls= # LDAP URLs of the server.  
  332.    spring.ldap.base= # Base suffix from which all operations should originate.  
  333.    spring.ldap.username= # Login user of the server.  
  334.    spring.ldap.password= # Login password of the server.  
  335.    spring.ldap.base-environment.*= # LDAP specification settings.  
  336.   
  337.    # EMBEDDED LDAP (EmbeddedLdapProperties)  
  338.    spring.ldap.embedded.base-dn= # The base DN  
  339.    spring.ldap.embedded.credential.username= # Embedded LDAP username.  
  340.    spring.ldap.embedded.credential.password= # Embedded LDAP password.  
  341.    spring.ldap.embedded.ldif=classpath:schema.ldif # Schema (LDIF) script resource reference.  
  342.    spring.ldap.embedded.port= # Embedded LDAP port.  
  343.    spring.ldap.embedded.validation.enabled=true # Enable LDAP schema validation.  
  344.    spring.ldap.embedded.validation.schema= # Path to the custom schema.  
  345.   
  346. # MUSTACHE TEMPLATES (MustacheAutoConfiguration)  
  347. spring.mustache.allow-request-override= # Set whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name.  
  348. spring.mustache.allow-session-override= # Set whether HttpSession attributes are allowed to override (hide) controller generated model attributes of the same name.  
  349. spring.mustache.cache= # Enable template caching.  
  350. spring.mustache.charset= # Template encoding.  
  351. spring.mustache.check-template-location= # Check that the templates location exists.  
  352. spring.mustache.content-type= # Content-Type value.  
  353. spring.mustache.enabled= # Enable MVC view resolution for this technology.  
  354. spring.mustache.expose-request-attributes= # Set whether all request attributes should be added to the model prior to merging with the template.  
  355. spring.mustache.expose-session-attributes= # Set whether all HttpSession attributes should be added to the model prior to merging with the template.  
  356. spring.mustache.expose-spring-macro-helpers= # Set whether to expose a RequestContext for use by Spring's macro library, under the name "springMacroRequestContext".  
  357. spring.mustache.prefix=classpath:/templates/ # Prefix to apply to template names.  
  358. spring.mustache.request-context-attribute= # Name of the RequestContext attribute for all views.  
  359. spring.mustache.suffix=.mustache # Suffix to apply to template names.  
  360. spring.mustache.view-names= # White list of view names that can be resolved.  
  361.   
  362. # SPRING MVC (WebMvcProperties)  
  363. spring.mvc.async.request-timeout= # Amount of time (in milliseconds) before asynchronous request handling times out.  
  364. spring.mvc.date-format= # Date format to use. For instance `dd/MM/yyyy`.  
  365. spring.mvc.dispatch-trace-request=false # Dispatch TRACE requests to the FrameworkServlet doService method.  
  366. spring.mvc.dispatch-options-request=true # Dispatch OPTIONS requests to the FrameworkServlet doService method.  
  367. spring.mvc.favicon.enabled=true # Enable resolution of favicon.ico.  
  368. spring.mvc.formcontent.putfilter.enabled=true # Enable Spring's HttpPutFormContentFilter.  
  369. spring.mvc.ignore-default-model-on-redirect=true # If the content of the "default" model should be ignored during redirect scenarios.  
  370. spring.mvc.locale= # Locale to use. By default, this locale is overridden by the "Accept-Language" header.  
  371. spring.mvc.locale-resolver=accept-header # Define how the locale should be resolved.  
  372. spring.mvc.log-resolved-exception=false # Enable warn logging of exceptions resolved by a "HandlerExceptionResolver".  
  373. spring.mvc.media-types.*= # Maps file extensions to media types for content negotiation.  
  374. spring.mvc.message-codes-resolver-format= # Formatting strategy for message codes. For instance `PREFIX_ERROR_CODE`.  
  375. spring.mvc.servlet.load-on-startup=-1 # Load on startup priority of the Spring Web Services servlet.  
  376. spring.mvc.static-path-pattern=/** # Path pattern used for static resources.  
  377. spring.mvc.throw-exception-if-no-handler-found=false # If a "NoHandlerFoundException" should be thrown if no Handler was found to process a request.  
  378. spring.mvc.view.prefix= # Spring MVC view prefix.  
  379. spring.mvc.view.suffix= # Spring MVC view suffix.  
  380.   
  381. # SPRING RESOURCES HANDLING (ResourceProperties)  
  382. spring.resources.add-mappings=true # Enable default resource handling.  
  383. spring.resources.cache-period= # Cache period for the resources served by the resource handler, in seconds.  
  384. spring.resources.chain.cache=true # Enable caching in the Resource chain.  
  385. spring.resources.chain.enabled= # Enable the Spring Resource Handling chain. Disabled by default unless at least one strategy has been enabled.  
  386. spring.resources.chain.gzipped=false # Enable resolution of already gzipped resources.  
  387. spring.resources.chain.html-application-cache=false # Enable HTML5 application cache manifest rewriting.  
  388. spring.resources.chain.strategy.content.enabled=false # Enable the content Version Strategy.  
  389. spring.resources.chain.strategy.content.paths=/** # Comma-separated list of patterns to apply to the Version Strategy.  
  390. spring.resources.chain.strategy.fixed.enabled=false # Enable the fixed Version Strategy.  
  391. spring.resources.chain.strategy.fixed.paths=/** # Comma-separated list of patterns to apply to the Version Strategy.  
  392. spring.resources.chain.strategy.fixed.version= # Version string to use for the Version Strategy.  
  393. spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/ # Locations of static resources.  
  394.   
  395. # SPRING SESSION (SessionProperties)  
  396. spring.session.store-type= # Session store type.  
  397. spring.session.servlet.filter-order=-2147483598 # Session repository filter order.  
  398. spring.session.servlet.filter-dispatcher-types=ASYNC,ERROR,REQUEST # Session repository filter dispatcher types.  
  399.   
  400. # SPRING SESSION HAZELCAST (HazelcastSessionProperties)  
  401. spring.session.hazelcast.flush-mode=on-save # Sessions flush mode.  
  402. spring.session.hazelcast.map-name=spring:session:sessions # Name of the map used to store sessions.  
  403.   
  404. # SPRING SESSION JDBC (JdbcSessionProperties)  
  405. spring.session.jdbc.cleanup-cron=0 * * * * * # Cron expression for expired session cleanup job.  
  406. spring.session.jdbc.initialize-schema=embedded # Database schema initialization mode.  
  407. spring.session.jdbc.schema=classpath:org/springframework/session/jdbc/schema-@@platform@@.sql # Path to the SQL file to use to initialize the database schema.  
  408. spring.session.jdbc.table-name=SPRING_SESSION # Name of database table used to store sessions.  
  409.   
  410. # SPRING SESSION MONGODB (MongoSessionProperties)  
  411. spring.session.mongodb.collection-name=sessions # Collection name used to store sessions.  
  412.   
  413. # SPRING SESSION REDIS (RedisSessionProperties)  
  414. spring.session.redis.cleanup-cron=0 * * * * * # Cron expression for expired session cleanup job.  
  415. spring.session.redis.flush-mode=on-save # Sessions flush mode.  
  416. spring.session.redis.namespace= # Namespace for keys used to store sessions.  
  417.   
  418. # SPRING SOCIAL (SocialWebAutoConfiguration)  
  419. spring.social.auto-connection-views=false # Enable the connection status view for supported providers.  
  420.   
  421. # SPRING SOCIAL FACEBOOK (FacebookAutoConfiguration)  
  422. spring.social.facebook.app-id= # your application's Facebook App ID  
  423. spring.social.facebook.app-secret= # your application's Facebook App Secret  
  424.   
  425. # SPRING SOCIAL LINKEDIN (LinkedInAutoConfiguration)  
  426. spring.social.linkedin.app-id= # your application's LinkedIn App ID  
  427. spring.social.linkedin.app-secret= # your application's LinkedIn App Secret  
  428.   
  429. # SPRING SOCIAL TWITTER (TwitterAutoConfiguration)  
  430. spring.social.twitter.app-id= # your application's Twitter App ID  
  431. spring.social.twitter.app-secret= # your application's Twitter App Secret  
  432.   
  433. # THYMELEAF (ThymeleafAutoConfiguration)  
  434. spring.thymeleaf.cache=true # Enable template caching.  
  435. spring.thymeleaf.check-template=true # Check that the template exists before rendering it.  
  436. spring.thymeleaf.check-template-location=true # Check that the templates location exists.  
  437. spring.thymeleaf.enabled=true # Enable Thymeleaf view resolution for Web frameworks.  
  438. spring.thymeleaf.encoding=UTF-8 # Template files encoding.  
  439. spring.thymeleaf.excluded-view-names= # Comma-separated list of view names that should be excluded from resolution.  
  440. spring.thymeleaf.mode=HTML5 # Template mode to be applied to templates. See also StandardTemplateModeHandlers.  
  441. spring.thymeleaf.prefix=classpath:/templates/ # Prefix that gets prepended to view names when building a URL.  
  442. spring.thymeleaf.reactive.max-chunk-size= # Maximum size of data buffers used for writing to the response, in bytes.  
  443. spring.thymeleaf.reactive.media-types= # Media types supported by the view technology.  
  444. spring.thymeleaf.servlet.content-type=text/html # Content-Type value written to HTTP responses.  
  445. spring.thymeleaf.suffix=.html # Suffix that gets appended to view names when building a URL.  
  446. spring.thymeleaf.template-resolver-order= # Order of the template resolver in the chain.  
  447. spring.thymeleaf.view-names= # Comma-separated list of view names that can be resolved.  
  448.   
  449. # SPRING WEB FLUX (WebFluxProperties)  
  450. spring.webflux.static-path-pattern=/** # Path pattern used for static resources.  
  451.   
  452. # SPRING WEB SERVICES (WebServicesProperties)  
  453. spring.webservices.path=/services # Path that serves as the base URI for the services.  
  454. spring.webservices.servlet.init= # Servlet init parameters to pass to Spring Web Services.  
  455. spring.webservices.servlet.load-on-startup=-1 # Load on startup priority of the Spring Web Services servlet.  
  456. spring.webservices.wsdl-locations= # Comma-separated list of locations of WSDLs and accompanying XSDs to be exposed as beans.  
  457.   
  458.   
  459.   
  460. ----------------------------------------  
  461. # SECURITY PROPERTIES  
  462. ----------------------------------------  
  463. # SECURITY (SecurityProperties)  
  464. spring.security.filter.order=0 # Security filter chain order.  
  465. spring.security.filter.dispatcher-types=ASYNC,ERROR,REQUEST # Security filter chain dispatcher types.  
  466.   
  467. # SECURITY OAUTH2 CLIENT (OAuth2ClientProperties)  
  468. spring.security.oauth2.client.provider.*= # OAuth provider details.  
  469. spring.security.oauth2.client.registration.*= # OAuth client registrations.  
  470.   
  471. ----------------------------------------  
  472. # DATA PROPERTIES  
  473. ----------------------------------------  
  474.   
  475. # FLYWAY (FlywayProperties)  
  476. spring.flyway.allow-mixed-migrations= #  
  477. spring.flyway.baseline-description= #  
  478. spring.flyway.baseline-on-migrate= #  
  479. spring.flyway.baseline-version=1 # version to start migration  
  480. spring.flyway.check-location=true # Check that migration scripts location exists.  
  481. spring.flyway.clean-disabled= #  
  482. spring.flyway.clean-on-validation-error= #  
  483. spring.flyway.enabled=true # Enable flyway.  
  484. spring.flyway.encoding= #  
  485. spring.flyway.group= #  
  486. spring.flyway.ignore-failed-future-migration= #  
  487. spring.flyway.ignore-future-migrations= #  
  488. spring.flyway.ignore-missing-migrations= #  
  489. spring.flyway.init-sqls= # SQL statements to execute to initialize a connection immediately after obtaining it.  
  490. spring.flyway.installed-by= #  
  491. spring.flyway.locations=classpath:db/migration # locations of migrations scripts  
  492. spring.flyway.mixed= #  
  493. spring.flyway.out-of-order= #  
  494. spring.flyway.password= # JDBC password if you want Flyway to create its own DataSource  
  495. spring.flyway.placeholder-prefix= #  
  496. spring.flyway.placeholder-replacement= #  
  497. spring.flyway.placeholder-suffix= #  
  498. spring.flyway.placeholders.*= #  
  499. spring.flyway.repeatable-sql-migration-prefix= #  
  500. spring.flyway.schemas= # schemas to update  
  501. spring.flyway.skip-default-callbacks= #  
  502. spring.flyway.skip-default-resolvers= #  
  503. spring.flyway.sql-migration-prefix=V #  
  504. spring.flyway.sql-migration-separator= #  
  505. spring.flyway.sql-migration-suffix=.sql #  
  506. spring.flyway.table= #  
  507. spring.flyway.target= #  
  508. spring.flyway.url= # JDBC url of the database to migrate. If not set, the primary configured data source is used.  
  509. spring.flyway.user= # Login user of the database to migrate.  
  510. spring.flyway.validate-on-migrate= #  
  511.   
  512. # LIQUIBASE (LiquibaseProperties)  
  513. spring.liquibase.change-log=classpath:/db/changelog/db.changelog-master.yaml # Change log configuration path.  
  514. spring.liquibase.check-change-log-location=true # Check the change log location exists.  
  515. spring.liquibase.contexts= # Comma-separated list of runtime contexts to use.  
  516. spring.liquibase.default-schema= # Default database schema.  
  517. spring.liquibase.drop-first=false # Drop the database schema first.  
  518. spring.liquibase.enabled=true # Enable liquibase support.  
  519. spring.liquibase.labels= # Comma-separated list of runtime labels to use.  
  520. spring.liquibase.parameters.*= # Change log parameters.  
  521. spring.liquibase.password= # Login password of the database to migrate.  
  522. spring.liquibase.rollback-file= # File to which rollback SQL will be written when an update is performed.  
  523. spring.liquibase.url= # JDBC url of the database to migrate. If not set, the primary configured data source is used.  
  524. spring.liquibase.user= # Login user of the database to migrate.  
  525.   
  526. # COUCHBASE (CouchbaseProperties)  
  527. spring.couchbase.bootstrap-hosts= # Couchbase nodes (host or IP address) to bootstrap from.  
  528. spring.couchbase.bucket.name=default # Name of the bucket to connect to.  
  529. spring.couchbase.bucket.password=  # Password of the bucket.  
  530. spring.couchbase.env.endpoints.key-value=1 # Number of sockets per node against the Key/value service.  
  531. spring.couchbase.env.endpoints.query=1 # Number of sockets per node against the Query (N1QL) service.  
  532. spring.couchbase.env.endpoints.view=1 # Number of sockets per node against the view service.  
  533. spring.couchbase.env.ssl.enabled= # Enable SSL support. Enabled automatically if a "keyStore" is provided unless specified otherwise.  
  534. spring.couchbase.env.ssl.key-store= # Path to the JVM key store that holds the certificates.  
  535. spring.couchbase.env.ssl.key-store-password= # Password used to access the key store.  
  536. spring.couchbase.env.timeouts.connect=5000 # Bucket connections timeout in milliseconds.  
  537. spring.couchbase.env.timeouts.key-value=2500 # Blocking operations performed on a specific key timeout in milliseconds.  
  538. spring.couchbase.env.timeouts.query=7500 # N1QL query operations timeout in milliseconds.  
  539. spring.couchbase.env.timeouts.socket-connect=1000 # Socket connect connections timeout in milliseconds.  
  540. spring.couchbase.env.timeouts.view=7500 # Regular and geospatial view operations timeout in milliseconds.  
  541.   
  542. # DAO (PersistenceExceptionTranslationAutoConfiguration)  
  543. spring.dao.exceptiontranslation.enabled=true # Enable the PersistenceExceptionTranslationPostProcessor.  
  544.   
  545. # CASSANDRA (CassandraProperties)  
  546. spring.data.cassandra.cluster-name= # Name of the Cassandra cluster.  
  547. spring.data.cassandra.compression=none # Compression supported by the Cassandra binary protocol.  
  548. spring.data.cassandra.connect-timeout-millis= # Socket optionconnection time out.  
  549. spring.data.cassandra.consistency-level= # Queries consistency level.  
  550. spring.data.cassandra.contact-points=localhost # Comma-separated list of cluster node addresses.  
  551. spring.data.cassandra.fetch-size= # Queries default fetch size.  
  552. spring.data.cassandra.keyspace-name= # Keyspace name to use.  
  553. spring.data.cassandra.load-balancing-policy= # Class name of the load balancing policy.  
  554. spring.data.cassandra.port= # Port of the Cassandra server.  
  555. spring.data.cassandra.password= # Login password of the server.  
  556. spring.data.cassandra.pool.heartbeat-interval=30 # Heartbeat interval (in seconds) after which a message is sent on an idle connection to make sure it's still alive.  
  557. spring.data.cassandra.pool.idle-timeout=120 # Idle timeout (in seconds) before an idle connection is removed.  
  558. spring.data.cassandra.pool.max-queue-size=256 # Maximum number of requests that get enqueued if no connection is available.  
  559. spring.data.cassandra.pool.pool-timeout=5000 # Pool timeout (in milliseconds) when trying to acquire a connection from a host's pool.  
  560. spring.data.cassandra.reactive-repositories.enabled=true # Enable Cassandra reactive repositories.  
  561. spring.data.cassandra.read-timeout-millis= # Socket optionread time out.  
  562. spring.data.cassandra.reconnection-policy= # Reconnection policy class.  
  563. spring.data.cassandra.repositories.enabled= # Enable Cassandra repositories.  
  564. spring.data.cassandra.retry-policy= # Class name of the retry policy.  
  565. spring.data.cassandra.serial-consistency-level= # Queries serial consistency level.  
  566. spring.data.cassandra.schema-action=none # Schema action to take at startup.  
  567. spring.data.cassandra.ssl=false # Enable SSL support.  
  568. spring.data.cassandra.username= # Login user of the server.  
  569.   
  570. # DATA COUCHBASE (CouchbaseDataProperties)  
  571. spring.data.couchbase.auto-index=false # Automatically create views and indexes.  
  572. spring.data.couchbase.consistency=read-your-own-writes # Consistency to apply by default on generated queries.  
  573. spring.data.couchbase.reactive-repositories.enabled=true # Enable Couchbase reactive repositories.  
  574. spring.data.couchbase.repositories.enabled=true # Enable Couchbase repositories.  
  575.   
  576. # ELASTICSEARCH (ElasticsearchProperties)  
  577. spring.data.elasticsearch.cluster-name=elasticsearch # Elasticsearch cluster name.  
  578. spring.data.elasticsearch.cluster-nodes= # Comma-separated list of cluster node addresses.  
  579. spring.data.elasticsearch.properties.*= # Additional properties used to configure the client.  
  580. spring.data.elasticsearch.repositories.enabled=true # Enable Elasticsearch repositories.  
  581.   
  582. # DATA LDAP  
  583. spring.data.ldap.repositories.enabled=true # Enable LDAP repositories.  
  584.   
  585. # MONGODB (MongoProperties)  
  586. spring.data.mongodb.authentication-database= # Authentication database name.  
  587. spring.data.mongodb.database=test # Database name.  
  588. spring.data.mongodb.field-naming-strategy= # Fully qualified name of the FieldNamingStrategy to use.  
  589. spring.data.mongodb.grid-fs-database= # GridFS database name.  
  590. spring.data.mongodb.host=localhost # Mongo server host. Cannot be set with uri.  
  591. spring.data.mongodb.password= # Login password of the mongo server. Cannot be set with uri.  
  592. spring.data.mongodb.port=27017 # Mongo server port. Cannot be set with uri.  
  593. spring.data.mongodb.reactive-repositories.enabled=true # Enable Mongo reactive repositories.  
  594. spring.data.mongodb.repositories.enabled=true # Enable Mongo repositories.  
  595. spring.data.mongodb.uri=mongodb://localhost/test # Mongo database URI. Cannot be set with host, port and credentials.  
  596. spring.data.mongodb.username= # Login user of the mongo server. Cannot be set with uri.  
  597.   
  598. # DATA REDIS  
  599. spring.data.redis.repositories.enabled=true # Enable Redis repositories.  
  600.   
  601. # NEO4J (Neo4jProperties)  
  602. spring.data.neo4j.auto-index=none # Auto index mode.  
  603. spring.data.neo4j.embedded.enabled=true # Enable embedded mode if the embedded driver is available.  
  604. spring.data.neo4j.open-in-view=true # Register OpenSessionInViewInterceptor. Binds a Neo4j Session to the thread for the entire processing of the request.  
  605. spring.data.neo4j.password= # Login password of the server.  
  606. spring.data.neo4j.repositories.enabled=true # Enable Neo4j repositories.  
  607. spring.data.neo4j.uri= # URI used by the driver. Auto-detected by default.  
  608. spring.data.neo4j.username= # Login user of the server.  
  609.   
  610. # DATA REST (RepositoryRestProperties)  
  611. spring.data.rest.base-path= # Base path to be used by Spring Data REST to expose repository resources.  
  612. spring.data.rest.default-page-size= # Default size of pages.  
  613. spring.data.rest.detection-strategy=default # Strategy to use to determine which repositories get exposed.  
  614. spring.data.rest.enable-enum-translation= # Enable enum value translation via the Spring Data REST default resource bundle.  
  615. spring.data.rest.limit-param-name= # Name of the URL query string parameter that indicates how many results to return at once.  
  616. spring.data.rest.max-page-size= # Maximum size of pages.  
  617. spring.data.rest.page-param-name= # Name of the URL query string parameter that indicates what page to return.  
  618. spring.data.rest.return-body-on-create= # Return a response body after creating an entity.  
  619. spring.data.rest.return-body-on-update= # Return a response body after updating an entity.  
  620. spring.data.rest.sort-param-name= # Name of the URL query string parameter that indicates what direction to sort results.  
  621.   
  622. # SOLR (SolrProperties)  
  623. spring.data.solr.host=http://127.0.0.1:8983/solr # Solr host. Ignored if "zk-host" is set.  
  624. spring.data.solr.repositories.enabled=true # Enable Solr repositories.  
  625. spring.data.solr.zk-host= # ZooKeeper host address in the form HOST:PORT.  
  626.   
  627. # DATA WEB (SpringDataWebProperties)  
  628. spring.data.web.pageable.default-page-size=20 # Default page size.  
  629. spring.data.web.pageable.page-parameter=page # Page index parameter name.  
  630. spring.data.web.pageable.size-parameter=size # Page size parameter name.  
  631. spring.data.web.sort.sort-parameter=sort # Sort parameter name.  
  632.   
  633. # DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)  
  634. spring.datasource.continue-on-error=false # Do not stop if an error occurs while initializing the database.  
  635. spring.datasource.data= # Data (DML) script resource references.  
  636. spring.datasource.data-username= # User of the database to execute DML scripts (if different).  
  637. spring.datasource.data-password= # Password of the database to execute DML scripts (if different).  
  638. spring.datasource.dbcp2.*= # Commons DBCP2 specific settings  
  639. spring.datasource.driver-class-name= # Fully qualified name of the JDBC driver. Auto-detected based on the URL by default.  
  640. spring.datasource.generate-unique-name=false # Generate a random datasource name.  
  641. spring.datasource.hikari.*= # Hikari specific settings  
  642. spring.datasource.initialization-mode=embedded # Initialize the datasource using available DDL and DML scripts.  
  643. spring.datasource.jmx-enabled=false # Enable JMX support (if provided by the underlying pool).  
  644. spring.datasource.jndi-name= # JNDI location of the datasource. Class, url, username & password are ignored when set.  
  645. spring.datasource.name=testdb # Name of the datasource.  
  646. spring.datasource.password= # Login password of the database.  
  647. spring.datasource.platform=all # Platform to use in the DDL or DML scripts (e.g. schema-${platform}.sql or data-${platform}.sql).  
  648. spring.datasource.schema= # Schema (DDL) script resource references.  
  649. spring.datasource.schema-username= # User of the database to execute DDL scripts (if different).  
  650. spring.datasource.schema-password= # Password of the database to execute DDL scripts (if different).  
  651. spring.datasource.separator=; # Statement separator in SQL initialization scripts.  
  652. spring.datasource.sql-script-encoding= # SQL scripts encoding.  
  653. spring.datasource.tomcat.*= # Tomcat datasource specific settings  
  654. spring.datasource.type= # Fully qualified name of the connection pool implementation to use. By default, it is auto-detected from the classpath.  
  655. spring.datasource.url= # JDBC url of the database.  
  656. spring.datasource.username= # Login user of the database.  
  657. spring.datasource.xa.data-source-class-name= # XA datasource fully qualified name.  
  658.    spring.datasource.xa.properties= # Properties to pass to the XA data source.  
  659.   
  660. # JEST (Elasticsearch HTTP client) (JestProperties)  
  661. spring.elasticsearch.jest.connection-timeout=3000 # Connection timeout in milliseconds.  
  662. spring.elasticsearch.jest.multi-threaded=true # Enable connection requests from multiple execution threads.  
  663. spring.elasticsearch.jest.password= # Login password.  
  664. spring.elasticsearch.jest.proxy.host= # Proxy host the HTTP client should use.  
  665. spring.elasticsearch.jest.proxy.port= # Proxy port the HTTP client should use.  
  666. spring.elasticsearch.jest.read-timeout=3000 # Read timeout in milliseconds.  
  667. spring.elasticsearch.jest.uris=http://localhost:9200 # Comma-separated list of the Elasticsearch instances to use.  
  668. spring.elasticsearch.jest.username= # Login user.  
  669.   
  670. # H2 Web Console (H2ConsoleProperties)  
  671. spring.h2.console.enabled=false # Enable the console.  
  672. spring.h2.console.path=/h2-console # Path at which the console will be available.  
  673. spring.h2.console.settings.trace=false # Enable trace output.  
  674. spring.h2.console.settings.web-allow-others=false # Enable remote access.  
  675.   
  676. # InfluxDB (InfluxDbProperties)  
  677. spring.influx.password= # Login password.  
  678. spring.influx.url= # Url of the InfluxDB instance to connect to.  
  679. spring.influx.user= # Login user.  
  680.   
  681. # JOOQ (JooqAutoConfiguration)  
  682. spring.jooq.sql-dialect= # Sql dialect to use, auto-detected by default.  
  683.   
  684. # JDBC (JdbcProperties)  
  685. spring.jdbc.template.fetch-size=-1 # Number of rows that should be fetched from the database when more rows are needed.  
  686. spring.jdbc.template.max-rows=-1 # Maximum number of rows.  
  687. spring.jdbc.template.query-timeout=-1 # Query timeout in seconds.  
  688.   
  689. # JPA (JpaBaseConfiguration, HibernateJpaAutoConfiguration)  
  690. spring.data.jpa.repositories.enabled=true # Enable JPA repositories.  
  691. spring.jpa.database= # Target database to operate on, auto-detected by default. Can be alternatively set using the "databasePlatform" property.  
  692. spring.jpa.database-platform= # Name of the target database to operate on, auto-detected by default. Can be alternatively set using the "Database" enum.  
  693. spring.jpa.generate-ddl=false # Initialize the schema on startup.  
  694. 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 and no schema manager was detected, "none" otherwise.  
  695. spring.jpa.hibernate.naming.implicit-strategy= # Hibernate 5 implicit naming strategy fully qualified name.  
  696. spring.jpa.hibernate.naming.physical-strategy= # Hibernate 5 physical naming strategy fully qualified name.  
  697. spring.jpa.hibernate.use-new-id-generator-mappings= # Use Hibernate's newer IdentifierGenerator for AUTO, TABLE and SEQUENCE.  
  698. spring.jpa.mapping-resources= # Mapping resources (equivalent to "mapping-file" entries in persistence.xml).  
  699. spring.jpa.open-in-view=true # Register OpenEntityManagerInViewInterceptor. Binds a JPA EntityManager to the thread for the entire processing of the request.  
  700. spring.jpa.properties.*= # Additional native properties to set on the JPA provider.  
  701. spring.jpa.show-sql=false # Enable logging of SQL statements.  
  702.   
  703. # JTA (JtaAutoConfiguration)  
  704. spring.jta.enabled=true # Enable JTA support.  
  705. spring.jta.log-dir= # Transaction logs directory.  
  706. spring.jta.transaction-manager-id= # Transaction manager unique identifier.  
  707.   
  708. # ATOMIKOS (AtomikosProperties)  
  709. spring.jta.atomikos.connectionfactory.borrow-connection-timeout=30 # Timeout, in seconds, for borrowing connections from the pool.  
  710. spring.jta.atomikos.connectionfactory.ignore-session-transacted-flag=true # Whether or not to ignore the transacted flag when creating session.  
  711. spring.jta.atomikos.connectionfactory.local-transaction-mode=false # Whether or not local transactions are desired.  
  712. spring.jta.atomikos.connectionfactory.maintenance-interval=60 # The timein seconds, between runs of the pool's maintenance thread.  
  713. spring.jta.atomikos.connectionfactory.max-idle-time=60 # The timein seconds, after which connections are cleaned up from the pool.  
  714. spring.jta.atomikos.connectionfactory.max-lifetime=0 # The timein seconds, that a connection can be pooled for before being destroyed. 0 denotes no limit.  
  715. spring.jta.atomikos.connectionfactory.max-pool-size=1 # The maximum size of the pool.  
  716. spring.jta.atomikos.connectionfactory.min-pool-size=1 # The minimum size of the pool.  
  717. spring.jta.atomikos.connectionfactory.reap-timeout=0 # The reap timeout, in seconds, for borrowed connections. 0 denotes no limit.  
  718. spring.jta.atomikos.connectionfactory.unique-resource-name=jmsConnectionFactory # The unique name used to identify the resource during recovery.  
  719. spring.jta.atomikos.datasource.borrow-connection-timeout=30 # Timeout, in seconds, for borrowing connections from the pool.  
  720. spring.jta.atomikos.datasource.default-isolation-level= # Default isolation level of connections provided by the pool.  
  721. spring.jta.atomikos.datasource.login-timeout= # Timeout, in seconds, for establishing a database connection.  
  722. spring.jta.atomikos.datasource.maintenance-interval=60 # The timein seconds, between runs of the pool's maintenance thread.  
  723. spring.jta.atomikos.datasource.max-idle-time=60 # The timein seconds, after which connections are cleaned up from the pool.  
  724. spring.jta.atomikos.datasource.max-lifetime=0 # The timein seconds, that a connection can be pooled for before being destroyed. 0 denotes no limit.  
  725. spring.jta.atomikos.datasource.max-pool-size=1 # The maximum size of the pool.  
  726. spring.jta.atomikos.datasource.min-pool-size=1 # The minimum size of the pool.  
  727. spring.jta.atomikos.datasource.reap-timeout=0 # The reap timeout, in seconds, for borrowed connections. 0 denotes no limit.  
  728. spring.jta.atomikos.datasource.test-query= # SQL query or statement used to validate a connection before returning it.  
  729. spring.jta.atomikos.datasource.unique-resource-name=dataSource # The unique name used to identify the resource during recovery.  
  730. spring.jta.atomikos.properties.allow-sub-transactions=true # Specify if sub-transactions are allowed.  
  731. spring.jta.atomikos.properties.checkpoint-interval=500 # Interval between checkpoints.  
  732. spring.jta.atomikos.properties.default-jta-timeout=10000 # Default timeout for JTA transactions.  
  733. spring.jta.atomikos.properties.enable-logging=true # Enable disk logging.  
  734. spring.jta.atomikos.properties.force-shutdown-on-vm-exit=false # Specify if a VM shutdown should trigger forced shutdown of the transaction core.  
  735. spring.jta.atomikos.properties.log-base-dir= # Directory in which the log files should be stored.  
  736. spring.jta.atomikos.properties.log-base-name=tmlog # Transactions log file base name.  
  737. spring.jta.atomikos.properties.max-actives=50 # Maximum number of active transactions.  
  738. spring.jta.atomikos.properties.max-timeout=300000 # Maximum timeout (in milliseconds) that can be allowed for transactions.  
  739. spring.jta.atomikos.properties.recovery.delay=10000 # Delay between two recovery scans.  
  740. spring.jta.atomikos.properties.recovery.forget-orphaned-log-entries-delay=86400000 # Delay after which recovery can cleanup pending ('orphaned') log entries.  
  741. spring.jta.atomikos.properties.recovery.max-retries=5 # Number of retry attempts to commit the transaction before throwing an exception.  
  742. spring.jta.atomikos.properties.recovery.retry-interval=10000 # Delay between retry attempts.  
  743. spring.jta.atomikos.properties.serial-jta-transactions=true # Specify if sub-transactions should be joined when possible.  
  744. spring.jta.atomikos.properties.service= # Transaction manager implementation that should be started.  
  745. spring.jta.atomikos.properties.threaded-two-phase-commit=false # Use different (and concurrent) threads for two-phase commit on the participating resources.  
  746. spring.jta.atomikos.properties.transaction-manager-unique-name= # Transaction manager's unique name.  
  747.   
  748. # BITRONIX  
  749. spring.jta.bitronix.connectionfactory.acquire-increment=1 # Number of connections to create when growing the pool.  
  750. spring.jta.bitronix.connectionfactory.acquisition-interval=1 # Timein seconds, to wait before trying to acquire a connection again after an invalid connection was acquired.  
  751. spring.jta.bitronix.connectionfactory.acquisition-timeout=30 # Timeout, in seconds, for acquiring connections from the pool.  
  752. spring.jta.bitronix.connectionfactory.allow-local-transactions=true # Whether or not the transaction manager should allow mixing XA and non-XA transactions.  
  753. spring.jta.bitronix.connectionfactory.apply-transaction-timeout=false # Whether or not the transaction timeout should be set on the XAResource when it is enlisted.  
  754. spring.jta.bitronix.connectionfactory.automatic-enlisting-enabled=true # Whether or not resources should be enlisted and delisted automatically.  
  755. spring.jta.bitronix.connectionfactory.cache-producers-consumers=true # Whether or not produces and consumers should be cached.  
  756. 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.  
  757. spring.jta.bitronix.connectionfactory.ignore-recovery-failures=false # Whether or not recovery failures should be ignored.  
  758. spring.jta.bitronix.connectionfactory.max-idle-time=60 # The timein seconds, after which connections are cleaned up from the pool.  
  759. spring.jta.bitronix.connectionfactory.max-pool-size=10 # The maximum size of the pool. 0 denotes no limit.  
  760. spring.jta.bitronix.connectionfactory.min-pool-size=0 # The minimum size of the pool.  
  761. spring.jta.bitronix.connectionfactory.password= # The password to use to connect to the JMS provider.  
  762. 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.  
  763. spring.jta.bitronix.connectionfactory.test-connections=true # Whether or not connections should be tested when acquired from the pool.  
  764. 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).  
  765. spring.jta.bitronix.connectionfactory.unique-name=jmsConnectionFactory # The unique name used to identify the resource during recovery.  
  766. spring.jta.bitronix.connectionfactory.use-tm-join=true Whether or not TMJOIN should be used when starting XAResources.  
  767. spring.jta.bitronix.connectionfactory.user= # The user to use to connect to the JMS provider.  
  768. spring.jta.bitronix.datasource.acquire-increment=1 # Number of connections to create when growing the pool.  
  769. spring.jta.bitronix.datasource.acquisition-interval=1 # Timein seconds, to wait before trying to acquire a connection again after an invalid connection was acquired.  
  770. spring.jta.bitronix.datasource.acquisition-timeout=30 # Timeout, in seconds, for acquiring connections from the pool.  
  771. spring.jta.bitronix.datasource.allow-local-transactions=true # Whether or not the transaction manager should allow mixing XA and non-XA transactions.  
  772. spring.jta.bitronix.datasource.apply-transaction-timeout=false # Whether or not the transaction timeout should be set on the XAResource when it is enlisted.  
  773. spring.jta.bitronix.datasource.automatic-enlisting-enabled=true # Whether or not resources should be enlisted and delisted automatically.  
  774. spring.jta.bitronix.datasource.cursor-holdability= # The default cursor holdability for connections.  
  775. 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.  
  776. spring.jta.bitronix.datasource.enable-jdbc4-connection-test= # Whether or not Connection.isValid() is called when acquiring a connection from the pool.  
  777. spring.jta.bitronix.datasource.ignore-recovery-failures=false # Whether or not recovery failures should be ignored.  
  778. spring.jta.bitronix.datasource.isolation-level= # The default isolation level for connections.  
  779. spring.jta.bitronix.datasource.local-auto-commit= # The default auto-commit mode for local transactions.  
  780. spring.jta.bitronix.datasource.login-timeout= # Timeout, in seconds, for establishing a database connection.  
  781. spring.jta.bitronix.datasource.max-idle-time=60 # The timein seconds, after which connections are cleaned up from the pool.  
  782. spring.jta.bitronix.datasource.max-pool-size=10 # The maximum size of the pool. 0 denotes no limit.  
  783. spring.jta.bitronix.datasource.min-pool-size=0 # The minimum size of the pool.  
  784. spring.jta.bitronix.datasource.prepared-statement-cache-size=0 # The target size of the prepared statement cache. 0 disables the cache.  
  785. 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.  
  786. spring.jta.bitronix.datasource.test-query= # SQL query or statement used to validate a connection before returning it.  
  787. 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).  
  788. spring.jta.bitronix.datasource.unique-name=dataSource # The unique name used to identify the resource during recovery.  
  789. spring.jta.bitronix.datasource.use-tm-join=true Whether or not TMJOIN should be used when starting XAResources.  
  790. spring.jta.bitronix.properties.allow-multiple-lrc=false # Allow multiple LRC resources to be enlisted into the same transaction.  
  791. spring.jta.bitronix.properties.asynchronous2-pc=false # Enable asynchronously execution of two phase commit.  
  792. spring.jta.bitronix.properties.background-recovery-interval-seconds=60 # Interval in seconds at which to run the recovery process in the background.  
  793. spring.jta.bitronix.properties.current-node-only-recovery=true # Recover only the current node.  
  794. spring.jta.bitronix.properties.debug-zero-resource-transaction=false # Log the creation and commit call stacks of transactions executed without a single enlisted resource.  
  795. spring.jta.bitronix.properties.default-transaction-timeout=60 # Default transaction timeout in seconds.  
  796. spring.jta.bitronix.properties.disable-jmx=false # Enable JMX support.  
  797. spring.jta.bitronix.properties.exception-analyzer= # Set the fully qualified name of the exception analyzer implementation to use.  
  798. spring.jta.bitronix.properties.filter-log-status=false # Enable filtering of logs so that only mandatory logs are written.  
  799. spring.jta.bitronix.properties.force-batching-enabled=true #  Set if disk forces are batched.  
  800. spring.jta.bitronix.properties.forced-write-enabled=true # Set if logs are forced to disk.  
  801. 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.  
  802. spring.jta.bitronix.properties.jndi-transaction-synchronization-registry-name= # JNDI name of the TransactionSynchronizationRegistry.  
  803. spring.jta.bitronix.properties.jndi-user-transaction-name= # JNDI name of the UserTransaction.  
  804. spring.jta.bitronix.properties.journal=disk # Name of the journal. Can be 'disk''null' or a class name.  
  805. spring.jta.bitronix.properties.log-part1-filename=btm1.tlog # Name of the first fragment of the journal.  
  806. spring.jta.bitronix.properties.log-part2-filename=btm2.tlog # Name of the second fragment of the journal.  
  807. spring.jta.bitronix.properties.max-log-size-in-mb=2 # Maximum size in megabytes of the journal fragments.  
  808. spring.jta.bitronix.properties.resource-configuration-filename= # ResourceLoader configuration file name.  
  809. spring.jta.bitronix.properties.server-id= # ASCII ID that must uniquely identify this TM instance. Default to the machine's IP address.  
  810. spring.jta.bitronix.properties.skip-corrupted-logs=false # Skip corrupted transactions log entries.  
  811. spring.jta.bitronix.properties.warn-about-zero-resource-transaction=true # Log a warning for transactions executed without a single enlisted resource.  
  812.   
  813. # NARAYANA (NarayanaProperties)  
  814. spring.jta.narayana.default-timeout=60 # Transaction timeout in seconds.  
  815. spring.jta.narayana.expiry-scanners=com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionStatusManagerScanner # Comma-separated list of expiry scanners.  
  816. spring.jta.narayana.log-dir= # Transaction object store directory.  
  817. spring.jta.narayana.one-phase-commit=true # Enable one phase commit optimisation.  
  818. spring.jta.narayana.periodic-recovery-period=120 # Interval in which periodic recovery scans are performed in seconds.  
  819. spring.jta.narayana.recovery-backoff-period=10 # Back off period between first and second phases of the recovery scan in seconds.  
  820. spring.jta.narayana.recovery-db-pass= # Database password to be used by recovery manager.  
  821. spring.jta.narayana.recovery-db-user= # Database username to be used by recovery manager.  
  822. spring.jta.narayana.recovery-jms-pass= # JMS password to be used by recovery manager.  
  823. spring.jta.narayana.recovery-jms-user= # JMS username to be used by recovery manager.  
  824. spring.jta.narayana.recovery-modules= # Comma-separated list of recovery modules.  
  825. spring.jta.narayana.transaction-manager-id=1 # Unique transaction manager id.  
  826. spring.jta.narayana.xa-resource-orphan-filters= # Comma-separated list of orphan filters.  
  827.   
  828. # EMBEDDED MONGODB (EmbeddedMongoProperties)  
  829. spring.mongodb.embedded.features=SYNC_DELAY # Comma-separated list of features to enable.  
  830. spring.mongodb.embedded.storage.database-dir= # Directory used for data storage.  
  831. spring.mongodb.embedded.storage.oplog-size= # Maximum size of the oplog in megabytes.  
  832. spring.mongodb.embedded.storage.repl-set-name= # Name of the replica set.  
  833. spring.mongodb.embedded.version=2.6.10 # Version of Mongo to use.  
  834.   
  835. # REDIS (RedisProperties)  
  836. spring.redis.cluster.max-redirects= # Maximum number of redirects to follow when executing commands across the cluster.  
  837. spring.redis.cluster.nodes= # Comma-separated list of "host:port" pairs to bootstrap from.  
  838. spring.redis.database=0 # Database index used by the connection factory.  
  839. spring.redis.url= # Connection URL, will override host, port and password (user will be ignored), e.g. redis://user:password@example.com:6379  
  840. spring.redis.host=localhost # Redis server host.  
  841. spring.redis.jedis.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.  
  842. spring.redis.jedis.pool.max-idle=8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.  
  843. spring.redis.jedis.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.  
  844. spring.redis.jedis.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.  
  845. spring.redis.lettuce.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.  
  846. spring.redis.lettuce.pool.max-idle=8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections.  
  847. spring.redis.lettuce.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.  
  848. spring.redis.lettuce.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.  
  849. spring.redis.lettuce.shutdown-timeout=100 # Shutdown timeout in milliseconds.  
  850. spring.redis.password= # Login password of the redis server.  
  851. spring.redis.port=6379 # Redis server port.  
  852. spring.redis.sentinel.master= # Name of Redis server.  
  853. spring.redis.sentinel.nodes= # Comma-separated list of host:port pairs.  
  854. spring.redis.ssl=false # Enable SSL support.  
  855. spring.redis.timeout=0 # Connection timeout in milliseconds.  
  856.   
  857. TRANSACTION (TransactionProperties)  
  858. spring.transaction.default-timeout= # Default transaction timeout in seconds.  
  859. spring.transaction.rollback-on-commit-failure= # Perform the rollback on commit failures.  
  860.   
  861.   
  862.   
  863. ----------------------------------------  
  864. # INTEGRATION PROPERTIES  
  865. ----------------------------------------  
  866.   
  867. # ACTIVEMQ (ActiveMQProperties)  
  868. spring.activemq.broker-url= # URL of the ActiveMQ broker. Auto-generated by default.  
  869. spring.activemq.close-timeout=15000 # Time to wait, in milliseconds, before considering a close complete.  
  870. spring.activemq.in-memory=true # Specify if the default broker URL should be in memory. Ignored if an explicit broker has been specified.  
  871. spring.activemq.non-blocking-redelivery=false # Do not stop message delivery before re-delivering messages from a rolled back transaction. This implies that message order will not be preserved when this is enabled.  
  872. spring.activemq.password= # Login password of the broker.  
  873. spring.activemq.send-timeout=0 # Time to wait, in milliseconds, on Message sends for a response. Set it to 0 to indicate to wait forever.  
  874. spring.activemq.user= # Login user of the broker.  
  875. spring.activemq.packages.trust-all= # Trust all packages.  
  876. spring.activemq.packages.trusted= # Comma-separated list of specific packages to trust (when not trusting all packages).  
  877. spring.activemq.pool.block-if-full=true # Block when a connection is requested and the pool is fullSet it to false to throw a "JMSException" instead.  
  878. spring.activemq.pool.block-if-full-timeout=-1 # Blocking period, in milliseconds, before throwing an exception if the pool is still full.  
  879. spring.activemq.pool.create-connection-on-startup=true # Create a connection on startup. Can be used to warm-up the pool on startup.  
  880. spring.activemq.pool.enabled=false # Whether a PooledConnectionFactory should be created instead of a regular ConnectionFactory.  
  881. spring.activemq.pool.expiry-timeout=0 # Connection expiration timeout in milliseconds.  
  882. spring.activemq.pool.idle-timeout=30000 # Connection idle timeout in milliseconds.  
  883. spring.activemq.pool.max-connections=1 # Maximum number of pooled connections.  
  884. spring.activemq.pool.maximum-active-session-per-connection=500 # Maximum number of active sessions per connection.  
  885. spring.activemq.pool.reconnect-on-exception=true # Reset the connection when a "JMSException" occurs.  
  886. spring.activemq.pool.time-between-expiration-check=-1 # Time to sleep, in milliseconds, between runs of the idle connection eviction thread. When negative, no idle connection eviction thread runs.  
  887. spring.activemq.pool.use-anonymous-producers=true # Use only one anonymous "MessageProducer" instance. Set it to false to create one "MessageProducer" every time one is required.  
  888.   
  889. # ARTEMIS (ArtemisProperties)  
  890. spring.artemis.embedded.cluster-password= # Cluster password. Randomly generated on startup by default.  
  891. spring.artemis.embedded.data-directory= # Journal file directory. Not necessary if persistence is turned off.  
  892. spring.artemis.embedded.enabled=true # Enable embedded mode if the Artemis server APIs are available.  
  893. spring.artemis.embedded.persistent=false # Enable persistent store.  
  894. spring.artemis.embedded.queues= # Comma-separated list of queues to create on startup.  
  895. spring.artemis.embedded.server-id= # Server id. By default, an auto-incremented counter is used.  
  896. spring.artemis.embedded.topics= # Comma-separated list of topics to create on startup.  
  897. spring.artemis.host=localhost # Artemis broker host.  
  898. spring.artemis.mode= # Artemis deployment mode, auto-detected by default.  
  899. spring.artemis.password= # Login password of the broker.  
  900. spring.artemis.port=61616 # Artemis broker port.  
  901. spring.artemis.user= # Login user of the broker.  
  902.   
  903. # SPRING BATCH (BatchProperties)  
  904. spring.batch.initialize-schema=embedded # Database schema initialization mode.  
  905. spring.batch.job.enabled=true # Execute all Spring Batch jobs in the context on startup.  
  906. spring.batch.job.names= # Comma-separated list of job names to execute on startup (For instance `job1,job2`). By defaultall Jobs found in the context are executed.  
  907. spring.batch.schema=classpath:org/springframework/batch/core/schema-@@platform@@.sql # Path to the SQL file to use to initialize the database schema.  
  908. spring.batch.table-prefix= # Table prefix for all the batch meta-data tables.  
  909.   
  910. # SPRING INTEGRATION (IntegrationProperties)  
  911. spring.integration.jdbc.initialize-schema=embedded # Database schema initialization mode.  
  912. spring.integration.jdbc.schema=classpath:org/springframework/integration/jdbc/schema-@@platform@@.sql # Path to the SQL file to use to initialize the database schema.  
  913.   
  914. # JMS (JmsProperties)  
  915. spring.jms.jndi-name= # Connection factory JNDI nameWhen set, takes precedence to others connection factory auto-configurations.  
  916. spring.jms.listener.acknowledge-mode= # Acknowledge mode of the container. By default, the listener is transacted with automatic acknowledgment.  
  917. spring.jms.listener.auto-startup=true # Start the container automatically on startup.  
  918. spring.jms.listener.concurrency= # Minimum number of concurrent consumers.  
  919. spring.jms.listener.max-concurrency= # Maximum number of concurrent consumers.  
  920. spring.jms.pub-sub-domain=false # Specify if the default destination type is topic.  
  921. spring.jms.template.default-destination= # Default destination to use on send/receive operations that do not have a destination parameter.  
  922. spring.jms.template.delivery-delay= # Delivery delay to use for send calls in milliseconds.  
  923. spring.jms.template.delivery-mode= # Delivery mode. Enable QoS when set.  
  924. spring.jms.template.priority= # Priority of a message when sending. Enable QoS when set.  
  925. spring.jms.template.qos-enabled= # Enable explicit QoS when sending a message.  
  926. spring.jms.template.receive-timeout= # Timeout to use for receive calls in milliseconds.  
  927. spring.jms.template.time-to-live= # Time-to-live of a message when sending in milliseconds. Enable QoS when set.  
  928.   
  929. # APACHE KAFKA (KafkaProperties)  
  930. spring.kafka.admin.client-id= # Id to pass to the server when making requests; used for server-side logging.  
  931. spring.kafka.admin.fail-fast=false # Fail fast if the broker is not available on startup.  
  932. spring.kafka.admin.properties.*= # Additional admin-specific properties used to configure the client.  
  933. spring.kafka.admin.ssl.key-password= # Password of the private key in the key store file.  
  934. spring.kafka.admin.ssl.keystore-location= # Location of the key store file.  
  935. spring.kafka.admin.ssl.keystore-password= # Store password for the key store file.  
  936. spring.kafka.admin.ssl.truststore-location= # Location of the trust store file.  
  937. spring.kafka.admin.ssl.truststore-password= # Store password for the trust store file.  
  938. spring.kafka.bootstrap-servers= # Comma-delimited list of host:port pairs to use for establishing the initial connection to the Kafka cluster.  
  939. spring.kafka.client-id= # Id to pass to the server when making requests; used for server-side logging.  
  940. spring.kafka.consumer.auto-commit-interval= # Frequency in milliseconds that the consumer offsets are auto-committed to Kafka if 'enable.auto.commit' true.  
  941. spring.kafka.consumer.auto-offset-reset= # What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server.  
  942. spring.kafka.consumer.bootstrap-servers= # Comma-delimited list of host:port pairs to use for establishing the initial connection to the Kafka cluster.  
  943. spring.kafka.consumer.client-id= # Id to pass to the server when making requests; used for server-side logging.  
  944. spring.kafka.consumer.enable-auto-commit= # If true the consumer's offset will be periodically committed in the background.  
  945. spring.kafka.consumer.fetch-max-wait= # Maximum amount of time in milliseconds the server will block before answering the fetch request if there isn't sufficient data to immediately satisfy the requirement given by "fetch.min.bytes".  
  946. spring.kafka.consumer.fetch-min-size= # Minimum amount of data the server should return for a fetch request in bytes.  
  947. spring.kafka.consumer.group-id= # Unique string that identifies the consumer group this consumer belongs to.  
  948. spring.kafka.consumer.heartbeat-interval= # Expected time in milliseconds between heartbeats to the consumer coordinator.  
  949. spring.kafka.consumer.key-deserializer= # Deserializer class for keys.  
  950. spring.kafka.consumer.max-poll-records= # Maximum number of records returned in a single call to poll().  
  951. spring.kafka.consumer.properties.*= # Additional consumer-specific properties used to configure the client.  
  952. spring.kafka.consumer.ssl.key-password= # Password of the private key in the key store file.  
  953. spring.kafka.consumer.ssl.keystore-location= # Location of the key store file.  
  954. spring.kafka.consumer.ssl.keystore-password= # Store password for the key store file.  
  955. spring.kafka.consumer.ssl.truststore-location= # Location of the trust store file.  
  956. spring.kafka.consumer.ssl.truststore-password= # Store password for the trust store file.  
  957. spring.kafka.consumer.value-deserializer= # Deserializer class for values.  
  958. spring.kafka.jaas.control-flag=required # Control flag for login configuration.  
  959. spring.kafka.jaas.enabled= # Enable JAAS configuration.  
  960. spring.kafka.jaas.login-module=com.sun.security.auth.module.Krb5LoginModule # Login module.  
  961. spring.kafka.jaas.options= # Additional JAAS options.  
  962. spring.kafka.listener.ack-count= # Number of records between offset commits when ackMode is "COUNT" or "COUNT_TIME".  
  963. spring.kafka.listener.ack-mode= # Listener AckMode; see the spring-kafka documentation.  
  964. spring.kafka.listener.ack-time= # Time in milliseconds between offset commits when ackMode is "TIME" or "COUNT_TIME".  
  965. spring.kafka.listener.concurrency= # Number of threads to run in the listener containers.  
  966. spring.kafka.listener.poll-timeout= # Timeout in milliseconds to use when polling the consumer.  
  967. spring.kafka.listener.type=single # Listener type.  
  968. spring.kafka.producer.acks= # Number of acknowledgments the producer requires the leader to have received before considering a request complete.  
  969. spring.kafka.producer.batch-size= # Number of records to batch before sending.  
  970. spring.kafka.producer.bootstrap-servers= # Comma-delimited list of host:port pairs to use for establishing the initial connection to the Kafka cluster.  
  971. spring.kafka.producer.buffer-memory= # Total bytes of memory the producer can use to buffer records waiting to be sent to the server.  
  972. spring.kafka.producer.client-id= # Id to pass to the server when making requests; used for server-side logging.  
  973. spring.kafka.producer.compression-type= # Compression type for all data generated by the producer.  
  974. spring.kafka.producer.key-serializer= # Serializer class for keys.  
  975. spring.kafka.producer.properties.*= # Additional producer-specific properties used to configure the client.  
  976. spring.kafka.producer.retries= # When greater than zero, enables retrying of failed sends.  
  977. spring.kafka.producer.ssl.key-password= # Password of the private key in the key store file.  
  978. spring.kafka.producer.ssl.keystore-location= # Location of the key store file.  
  979. spring.kafka.producer.ssl.keystore-password= # Store password for the key store file.  
  980. spring.kafka.producer.ssl.truststore-location= # Location of the trust store file.  
  981. spring.kafka.producer.ssl.truststore-password= # Store password for the trust store file.  
  982. spring.kafka.producer.value-serializer= # Serializer class for values.  
  983. spring.kafka.properties.*= # Additional properties, common to producers and consumers, used to configure the client.  
  984. spring.kafka.ssl.key-password= # Password of the private key in the key store file.  
  985. spring.kafka.ssl.keystore-location= # Location of the key store file.  
  986. spring.kafka.ssl.keystore-password= # Store password for the key store file.  
  987. spring.kafka.ssl.truststore-location= # Location of the trust store file.  
  988. spring.kafka.ssl.truststore-password= # Store password for the trust store file.  
  989. spring.kafka.template.default-topic= # Default topic to which messages will be sent.  
  990.   
  991. # RABBIT (RabbitProperties)  
  992. spring.rabbitmq.addresses= # Comma-separated list of addresses to which the client should connect.  
  993. spring.rabbitmq.cache.channel.checkout-timeout= # Number of milliseconds to wait to obtain a channel if the cache size has been reached.  
  994. spring.rabbitmq.cache.channel.size= # Number of channels to retain in the cache.  
  995. spring.rabbitmq.cache.connection.mode=channel # Connection factory cache mode.  
  996. spring.rabbitmq.cache.connection.size= # Number of connections to cache.  
  997. spring.rabbitmq.connection-timeout= # Connection timeout, in milliseconds; zero for infinite.  
  998. spring.rabbitmq.dynamic=true # Create an AmqpAdmin bean.  
  999. spring.rabbitmq.host=localhost # RabbitMQ host.  
  1000. spring.rabbitmq.listener.direct.acknowledge-mode= # Acknowledge mode of container.  
  1001. spring.rabbitmq.listener.direct.auto-startup=true # Start the container automatically on startup.  
  1002. spring.rabbitmq.listener.direct.consumers-per-queue= # Number of consumers per queue.  
  1003. spring.rabbitmq.listener.direct.default-requeue-rejected= # Whether rejected deliveries are requeued by defaultdefault true.  
  1004. spring.rabbitmq.listener.direct.idle-event-interval= # How often idle container events should be published in milliseconds.  
  1005. spring.rabbitmq.listener.direct.prefetch= # Number of messages to be handled in a single request. It should be greater than or equal to the transaction size (if used).  
  1006. spring.rabbitmq.listener.direct.retry.enabled=false # Whether or not publishing retries are enabled.  
  1007.    spring.rabbitmq.listener.direct.retry.initial-interval=1000 # Interval between the first and second attempt to publish or deliver a message.  
  1008.    spring.rabbitmq.listener.direct.retry.max-attempts=3 # Maximum number of attempts to publish or deliver a message.  
  1009.    spring.rabbitmq.listener.direct.retry.max-interval=10000 # Maximum interval between attempts.  
  1010.    spring.rabbitmq.listener.direct.retry.multiplier=1 # A multiplier to apply to the previous retry interval.  
  1011.    spring.rabbitmq.listener.direct.retry.stateless=true # Whether or not retries are stateless or stateful.  
  1012. spring.rabbitmq.listener.simple.acknowledge-mode= # Acknowledge mode of container.  
  1013. spring.rabbitmq.listener.simple.auto-startup=true # Start the container automatically on startup.  
  1014. spring.rabbitmq.listener.simple.concurrency= # Minimum number of listener invoker threads.  
  1015. spring.rabbitmq.listener.simple.default-requeue-rejected= # Whether or not to requeue delivery failures.  
  1016. spring.rabbitmq.listener.simple.idle-event-interval= # How often idle container events should be published in milliseconds.  
  1017. spring.rabbitmq.listener.simple.max-concurrency= # Maximum number of listener invoker.  
  1018. spring.rabbitmq.listener.simple.prefetch= # Number of messages to be handled in a single request. It should be greater than or equal to the transaction size (if used).  
  1019. spring.rabbitmq.listener.simple.retry.enabled=false # Whether or not publishing retries are enabled.  
  1020. spring.rabbitmq.listener.simple.retry.initial-interval=1000 # Interval between the first and second attempt to deliver a message.  
  1021. spring.rabbitmq.listener.simple.retry.max-attempts=3 # Maximum number of attempts to deliver a message.  
  1022. spring.rabbitmq.listener.simple.retry.max-interval=10000 # Maximum interval between attempts.  
  1023. spring.rabbitmq.listener.simple.retry.multiplier=1.0 # A multiplier to apply to the previous delivery retry interval.  
  1024. spring.rabbitmq.listener.simple.retry.stateless=true # Whether or not retry is stateless or stateful.  
  1025. spring.rabbitmq.listener.simple.transaction-size= # Number of messages to be processed in a transaction; number of messages between acks. For best results it should be less than or equal to the prefetch count.  
  1026. spring.rabbitmq.listener.type=simple # Listener container type.  
  1027. spring.rabbitmq.password= # Login to authenticate against the broker.  
  1028. spring.rabbitmq.port=5672 # RabbitMQ port.  
  1029. spring.rabbitmq.publisher-confirms=false # Enable publisher confirms.  
  1030. spring.rabbitmq.publisher-returns=false # Enable publisher returns.  
  1031. spring.rabbitmq.requested-heartbeat= # Requested heartbeat timeout, in seconds; zero for none.  
  1032. spring.rabbitmq.ssl.enabled=false # Enable SSL support.  
  1033. spring.rabbitmq.ssl.key-store= # Path to the key store that holds the SSL certificate.  
  1034. spring.rabbitmq.ssl.key-store-password= # Password used to access the key store.  
  1035. spring.rabbitmq.ssl.key-store-type=PKCS12 # Key store type.  
  1036. spring.rabbitmq.ssl.trust-store= # Trust store that holds SSL certificates.  
  1037. spring.rabbitmq.ssl.trust-store-password= # Password used to access the trust store.  
  1038. spring.rabbitmq.ssl.trust-store-type=JKS # Trust store type.  
  1039. spring.rabbitmq.ssl.algorithm= # SSL algorithm to use. By default configure by the rabbit client library.  
  1040. spring.rabbitmq.template.mandatory=false # Enable mandatory messages.  
  1041. spring.rabbitmq.template.receive-timeout=0 # Timeout for `receive()` methods.  
  1042. spring.rabbitmq.template.reply-timeout=5000 # Timeout for `sendAndReceive()` methods.  
  1043. spring.rabbitmq.template.retry.enabled=false # Set to true to enable retries in the `RabbitTemplate`.  
  1044. spring.rabbitmq.template.retry.initial-interval=1000 # Interval between the first and second attempt to publish a message.  
  1045. spring.rabbitmq.template.retry.max-attempts=3 # Maximum number of attempts to publish a message.  
  1046. spring.rabbitmq.template.retry.max-interval=10000 # Maximum number of attempts to publish a message.  
  1047. spring.rabbitmq.template.retry.multiplier=1.0 # A multiplier to apply to the previous publishing retry interval.  
  1048. spring.rabbitmq.username= # Login user to authenticate to the broker.  
  1049. spring.rabbitmq.virtual-host= # Virtual host to use when connecting to the broker.  
  1050.   
  1051.   
  1052. ----------------------------------------  
  1053. # ACTUATOR PROPERTIES  
  1054. ----------------------------------------  
  1055.   
  1056. # AUDIT EVENTS ENDPOINT (AuditEventsEndpoint)  
  1057. endpoints.auditevents.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1058. endpoints.auditevents.enabled= # Enable the auditevents endpoint.  
  1059. endpoints.auditevents.jmx.enabled= # Expose the auditevents endpoint as a JMX MBean.  
  1060. endpoints.auditevents.web.enabled= # Expose the auditevents endpoint as a Web endpoint.  
  1061. endpoints.auditevents.web.path=auditevents # Path of the auditevents endpoint.  
  1062.   
  1063. # BEANS ENDPOINT (BeansEndpoint)  
  1064. endpoints.beans.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1065. endpoints.beans.enabled= # Enable the beans endpoint.  
  1066. endpoints.beans.jmx.enabled= # Expose the beans endpoint as a JMX MBean.  
  1067. endpoints.beans.web.enabled= # Expose the beans endpoint as a Web endpoint.  
  1068. endpoints.beans.web.path=beans # Path of the beans endpoint.  
  1069.   
  1070. # CONDITIONS REPORT ENDPOINT (ConditionsReportEndpoint)  
  1071. endpoints.conditions.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1072. endpoints.conditions.enabled= # Enable the conditions endpoint.  
  1073. endpoints.conditions.jmx.enabled= # Expose the conditions endpoint as a JMX MBean.  
  1074. endpoints.conditions.web.enabled= # Expose the conditions endpoint as a Web endpoint.  
  1075. endpoints.conditions.web.path=conditions # Path of the conditions endpoint.  
  1076.   
  1077. # CONFIGURATION PROPERTIES REPORT ENDPOINT (ConfigurationPropertiesReportEndpoint)  
  1078. endpoints.configprops.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1079. endpoints.configprops.enabled= # Enable the configprops endpoint.  
  1080. endpoints.configprops.jmx.enabled= # Expose the configprops endpoint as a JMX MBean.  
  1081. 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 regular expressions.  
  1082. endpoints.configprops.web.enabled= # Expose the configprops endpoint as a Web endpoint.  
  1083. endpoints.configprops.web.path=configprops # Path of the configprops endpoint.  
  1084.   
  1085. # ENDPOINT DEFAULT SETTINGS  
  1086. endpoints.default.enabled=true # Enable all endpoints by default.  
  1087. endpoints.default.jmx.enabled=true # Enable all endpoints as JMX MBeans by default.  
  1088. endpoints.default.web.enabled=false # Enable all endpoints as Web endpoints by default.  
  1089.   
  1090. # ENVIRONMENT ENDPOINT  (EnvironmentEndpoint)  
  1091. endpoints.env.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1092. endpoints.env.enabled= # Enable the env endpoint.  
  1093. endpoints.env.jmx.enabled= # Expose the env endpoint as a JMX MBean.  
  1094. 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 regular expressions.  
  1095. endpoints.env.web.enabled= # Expose the env endpoint as a Web endpoint.  
  1096. endpoints.env.web.path=env # Path of the env endpoint.  
  1097.   
  1098. # FLYWAY ENDPOINT (FlywayEndpoint)  
  1099. endpoints.flyway.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1100. endpoints.flyway.enabled= # Enable the flyway endpoint.  
  1101. endpoints.flyway.jmx.enabled= # Expose the flyway endpoint as a JMX MBean.  
  1102. endpoints.flyway.web.enabled= # Expose the flyway endpoint as a Web endpoint.  
  1103. endpoints.flyway.web.path=flyway # Path of the flyway endpoint.  
  1104.   
  1105. # HEALTH ENDPOINT (HealthEndpoint)  
  1106. endpoints.health.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1107. endpoints.health.enabled= # Enable the health endpoint.  
  1108. endpoints.health.jmx.enabled= # Expose the health endpoint as a JMX MBean.  
  1109. endpoints.health.web.enabled= # Expose the health endpoint as a Web endpoint.  
  1110. endpoints.health.web.path=health # Path of the health endpoint.  
  1111.   
  1112. # HEAP DUMP ENDPOINT (HeapDumpWebEndpoint)  
  1113. endpoints.heapdump.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1114. endpoints.heapdump.enabled= # Enable the heapdump endpoint.  
  1115. endpoints.heapdump.web.enabled= # Expose the heapdump endpoint as a Web endpoint.  
  1116. endpoints.heapdump.web.path=heapdump # Path of the heapdump endpoint.  
  1117.   
  1118. # INFO ENDPOINT (InfoEndpoint)  
  1119. endpoints.info.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1120. endpoints.info.enabled=true # Enable the info endpoint.  
  1121. endpoints.info.jmx.enabled=true # Expose the info endpoint as a JMX MBean.  
  1122. endpoints.info.web.enabled=true # Expose the info endpoint as a Web endpoint.  
  1123. endpoints.info.web.path=info # Path of the info endpoint.  
  1124.   
  1125. # LIQUIBASE ENDPOINT (LiquibaseEndpoint)  
  1126. endpoints.liquibase.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1127. endpoints.liquibase.enabled= # Enable the liquibase endpoint.  
  1128. endpoints.liquibase.jmx.enabled= # Expose the liquibase endpoint as a JMX MBean.  
  1129. endpoints.liquibase.web.enabled= # Expose the liquibase endpoint as a Web endpoint.  
  1130. endpoints.liquibase.web.path=liquibase # Path of the liquibase endpoint.  
  1131.   
  1132. # LOG FILE ENDPOINT (LogFileWebEndpoint)  
  1133. endpoints.logfile.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1134. endpoints.logfile.enabled= # Enable the logfile endpoint.  
  1135. endpoints.logfile.external-file= # External Logfile to be accessed. Can be used if the logfile is written by output redirect and not by the logging system itself.  
  1136. endpoints.logfile.web.enabled= # Expose the logfile endpoint as a Web endpoint.  
  1137. endpoints.logfile.web.path=logfile # Path of the logfile endpoint.  
  1138.   
  1139. # LOGGERS ENDPOINT (LoggersEndpoint)  
  1140. endpoints.loggers.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1141. endpoints.loggers.enabled= # Enable the loggers endpoint.  
  1142. endpoints.loggers.jmx.enabled= # Expose the loggers endpoint as a JMX MBean.  
  1143. endpoints.loggers.web.enabled= # Expose the loggers endpoint as a Web endpoint.  
  1144. endpoints.loggers.web.path=loggers # Path of the loggers endpoint.  
  1145.   
  1146. # REQUEST MAPPING ENDPOINT  (RequestMappingEndpoint)  
  1147. endpoints.mappings.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1148. endpoints.mappings.enabled= # Enable the mappings endpoint.  
  1149. endpoints.mappings.jmx.enabled= # Expose the mappings endpoint as a JMX MBean.  
  1150. endpoints.mappings.web.enabled= # Expose the mappings endpoint as a Web endpoint.  
  1151. endpoints.mappings.web.path=mappings # Path of the mappings endpoint.  
  1152.   
  1153. # METRICS ENDPOINT (MetricsEndpoint)  
  1154. endpoints.metrics.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1155. endpoints.metrics.enabled= # Enable the metrics endpoint.  
  1156. endpoints.metrics.jmx.enabled= # Expose the metrics endpoint as a JMX MBean.  
  1157. endpoints.metrics.web.enabled= # Expose the metrics endpoint as a Web endpoint.  
  1158. endpoints.metrics.web.path=metrics # Path of the metrics endpoint.  
  1159.   
  1160. # PROMETHEUS ENDPOINT (PrometheusScrapeEndpoint)  
  1161. endpoints.prometheus.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1162. endpoints.prometheus.enabled= # Enable the metrics endpoint.  
  1163. endpoints.prometheus.web.enabled= # Expose the metrics endpoint as a Web endpoint.  
  1164. endpoints.prometheus.web.path=prometheus # Path of the prometheus endpoint.  
  1165.   
  1166. # SESSIONS ENDPOINT (SessionsEndpoint)  
  1167. endpoints.sessions.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1168. endpoints.sessions.enabled= # Enable the sessions endpoint.  
  1169. endpoints.sessions.jmx.enabled= # Expose the sessions endpoint as a JMX MBean.  
  1170. endpoints.sessions.web.enabled= # Expose the sessions endpoint as a Web endpoint.  
  1171. endpoints.sessions.web.path=sessions # Path of the sessions endpoint.  
  1172.   
  1173. # SHUTDOWN ENDPOINT (ShutdownEndpoint)  
  1174. endpoints.shutdown.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1175. endpoints.shutdown.enabled=false # Enable the shutdown endpoint.  
  1176. endpoints.shutdown.jmx.enabled=false # Expose the shutdown endpoint as a JMX MBean.  
  1177. endpoints.shutdown.web.enabled=false # Expose the shutdown endpoint as a Web endpoint.  
  1178. endpoints.shutdown.web.path=shutdown # Path of the shutdown endpoint.  
  1179.   
  1180. # STATUS ENDPOINT (StatusEndpoint)  
  1181. endpoints.status.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1182. endpoints.status.enabled=true # Enable the status endpoint.  
  1183. endpoints.status.jmx.enabled=true # Expose the status endpoint as a JMX MBean.  
  1184. endpoints.status.web.enabled=true # Expose the status endpoint as a Web endpoint.  
  1185. endpoints.status.web.path=status # Path of the status endpoint.  
  1186.   
  1187. # THREAD DUMP ENDPOINT (ThreadDumpEndpoint)  
  1188. endpoints.threaddump.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1189. endpoints.threaddump.enabled= # Enable the threaddump endpoint.  
  1190. endpoints.threaddump.jmx.enabled= # Expose the threaddump endpoint as a JMX MBean.  
  1191. endpoints.threaddump.web.enabled= # Expose the threaddump endpoint as a Web endpoint.  
  1192. endpoints.threaddump.web.path=threaddump # Path of the threaddump endpoint.  
  1193.   
  1194. # TRACE ENDPOINT (TraceEndpoint)  
  1195. endpoints.trace.cache.time-to-live=0 # Maximum time in milliseconds that a response can be cached.  
  1196. endpoints.trace.enabled= # Enable the trace endpoint.  
  1197. endpoints.trace.jmx.enabled= # Expose the trace endpoint as a JMX MBean.  
  1198. endpoints.trace.web.enabled= # Expose the trace endpoint as a Web endpoint.  
  1199. endpoints.trace.web.path=trace # Path of the trace endpoint.  
  1200.   
  1201. # MANAGEMENT HTTP SERVER (ManagementServerProperties)  
  1202. management.server.add-application-context-header=false # Add the "X-Application-Context" HTTP header in each response. Requires a custom management.server.port.  
  1203. management.server.address= # Network address that the management endpoints should bind to. Requires a custom management.server.port.  
  1204. management.server.context-path= # Management endpoint context-path. For instance `/actuator`. Requires a custom management.server.port  
  1205. management.server.port= # Management endpoint HTTP port. Uses the same port as the application by default. Configure a different port to use management-specific SSL.  
  1206. management.server.ssl.ciphers= # Supported SSL ciphers. Requires a custom management.port.  
  1207. management.server.ssl.client-auth= # Whether client authentication is wanted ("want"or needed ("need"). Requires a trust store. Requires a custom management.server.port.  
  1208. management.server.ssl.enabled= # Enable SSL support. Requires a custom management.server.port.  
  1209. management.server.ssl.enabled-protocols= # Enabled SSL protocols. Requires a custom management.server.port.  
  1210. management.server.ssl.key-alias= # Alias that identifies the key in the key store. Requires a custom management.server.port.  
  1211. management.server.ssl.key-password= # Password used to access the key in the key store. Requires a custom management.server.port.  
  1212. management.server.ssl.key-store= # Path to the key store that holds the SSL certificate (typically a jks file). Requires a custom management.server.port.  
  1213. management.server.ssl.key-store-password= # Password used to access the key store. Requires a custom management.server.port.  
  1214. management.server.ssl.key-store-provider= # Provider for the key store. Requires a custom management.server.port.  
  1215. management.server.ssl.key-store-type= # Type of the key store. Requires a custom management.server.port.  
  1216. management.server.ssl.protocol=TLS # SSL protocol to use. Requires a custom management.server.port.  
  1217. management.server.ssl.trust-store= # Trust store that holds SSL certificates. Requires a custom management.server.port.  
  1218. management.server.ssl.trust-store-password= # Password used to access the trust store. Requires a custom management.server.port.  
  1219. management.server.ssl.trust-store-provider= # Provider for the trust store. Requires a custom management.server.port.  
  1220. management.server.ssl.trust-store-type= # Type of the trust store. Requires a custom management.server.port.  
  1221.   
  1222. # CLOUDFOUNDRY  
  1223. management.cloudfoundry.enabled=true # Enable extended Cloud Foundry actuator endpoints.  
  1224.    management.cloudfoundry.skip-ssl-validation=false # Skip SSL verification for Cloud Foundry actuator endpoint security calls.  
  1225.   
  1226. # ENDPOINTS CORS CONFIGURATION (CorsEndpointProperties)  
  1227. management.endpoints.cors.allow-credentials= # Set whether credentials are supported. When not set, credentials are not supported.  
  1228. management.endpoints.cors.allowed-headers= # Comma-separated list of headers to allow in a request. '*' allows all headers.  
  1229. management.endpoints.cors.allowed-methods= # Comma-separated list of methods to allow. '*' allows all methods. When not set, defaults to GET.  
  1230. management.endpoints.cors.allowed-origins= # Comma-separated list of origins to allow. '*' allows all origins. When not set, CORS support is disabled.  
  1231. management.endpoints.cors.exposed-headers= # Comma-separated list of headers to include in a response.  
  1232. management.endpoints.cors.max-age=1800 # How long, in seconds, the response from a pre-flight request can be cached by clients.  
  1233.   
  1234. # ENDPOINTS WEB CONFIGURATION (WebEndpointProperties)  
  1235. management.endpoints.web.base-path=/application # Base path for Web endpoints. Relative to server.context-path or management.server.context-path if management.server.port is configured.  
  1236.   
  1237. # ENDPOINTS JMX CONFIGURATION (JmxEndpointExporterProperties)  
  1238. management.endpoints.jmx.domain=org.springframework.boot # Endpoints JMX domain name. Fallback to 'spring.jmx.default-domain' if set.  
  1239. management.endpoints.jmx.static-names=false # Additional static properties to append to all ObjectNames of MBeans representing Endpoints.  
  1240. management.endpoints.jmx.unique-names=false # Ensure that ObjectNames are modified in case of conflict.  
  1241.   
  1242. # HEALTH INDICATORS  
  1243. management.health.db.enabled=true # Enable database health check.  
  1244. management.health.cassandra.enabled=true # Enable cassandra health check.  
  1245. management.health.couchbase.enabled=true # Enable couchbase health check.  
  1246. management.health.defaults.enabled=true # Enable default health indicators.  
  1247. management.health.diskspace.enabled=true # Enable disk space health check.  
  1248. management.health.diskspace.path= # Path used to compute the available disk space.  
  1249. management.health.diskspace.threshold=0 # Minimum disk space that should be available, in bytes.  
  1250. management.health.elasticsearch.enabled=true # Enable elasticsearch health check.  
  1251. management.health.elasticsearch.indices= # Comma-separated index names.  
  1252. management.health.elasticsearch.response-timeout=100 # The timein milliseconds, to wait for a response from the cluster.  
  1253. management.health.jms.enabled=true # Enable JMS health check.  
  1254. management.health.ldap.enabled=true # Enable LDAP health check.  
  1255. management.health.mail.enabled=true # Enable Mail health check.  
  1256. management.health.mongo.enabled=true # Enable MongoDB health check.  
  1257. management.health.neo4j.enabled=true # Enable Neo4j health check.  
  1258. management.health.rabbit.enabled=true # Enable RabbitMQ health check.  
  1259. management.health.redis.enabled=true # Enable Redis health check.  
  1260. management.health.solr.enabled=true # Enable Solr health check.  
  1261. management.health.status.http-mapping= # Mapping of health statuses to HTTP status codes. By default, registered health statuses map to sensible defaults (i.e. UP maps to 200).  
  1262. management.health.status.order=DOWN, OUT_OF_SERVICE, UP, UNKNOWN # Comma-separated list of health statuses in order of severity.  
  1263.   
  1264. # INFO CONTRIBUTORS (InfoContributorProperties)  
  1265. management.info.build.enabled=true # Enable build info.  
  1266. management.info.defaults.enabled=true # Enable default info contributors.  
  1267. management.info.env.enabled=true # Enable environment info.  
  1268. management.info.git.enabled=true # Enable git info.  
  1269. management.info.git.mode=simple # Mode to use to expose git information.  
  1270.   
  1271. # JOLOKIA (JolokiaProperties)  
  1272. management.jolokia.config.*= # Jolokia settings. See the Jolokia manual for details.  
  1273. management.jolokia.enabled=false # Enable Jolokia.  
  1274. management.jolokia.path=/jolokia # Path at which Jolokia will be available.  
  1275.   
  1276. # TRACING (TraceEndpointProperties)  
  1277. management.trace.filter.enabled=true # Enable the trace servlet filter.  
  1278. management.trace.include=request-headers,response-headers,cookies,errors # Items to be included in the trace.  
  1279.   
  1280. # METRICS  
  1281. spring.metrics.use-global-registry=true # Whether or not auto-configured MeterRegistry implementations should be bound to the global static registry on Metrics.  
  1282. spring.metrics.export.atlas.batch-size= # Number of measurements per request to use for the backend. If more measurements are found, then multiple requests will be made.  
  1283. spring.metrics.export.atlas.config-refresh-frequency= # Frequency for refreshing config settings from the LWC service.  
  1284. spring.metrics.export.atlas.config-time-to-live= # Time to live for subscriptions from the LWC service.  
  1285. spring.metrics.export.atlas.config-uri= # URI for the Atlas LWC endpoint to retrieve current subscriptions.  
  1286. spring.metrics.export.atlas.connect-timeout= # Connection timeout for requests to the backend.  
  1287. spring.metrics.export.atlas.enabled= # Enable publishing to the backend.  
  1288. spring.metrics.export.atlas.eval-uri= # URI for the Atlas LWC endpoint to evaluate the data for a subscription.  
  1289. spring.metrics.export.atlas.lwc-enabled= # Enable streaming to Atlas LWC.  
  1290. spring.metrics.export.atlas.meter-time-to-live= # Time to love for meters that do not have any activity. After this period the meter will be considered expired and will not get reported.  
  1291. spring.metrics.export.atlas.num-threads= # Number of threads to use with the metrics publishing scheduler.  
  1292. spring.metrics.export.atlas.read-timeout= # Read timeout for requests to the backend.  
  1293. spring.metrics.export.atlas.step=1 # Step size (i.e. reporting frequency) to use.  
  1294. spring.metrics.export.atlas.uri= # URI of the Atlas server.  
  1295. spring.metrics.export.datadog.api-key= # Datadog API key.  
  1296. spring.metrics.export.datadog.batch-size= # Number of measurements per request to use for the backend. If more measurements are found, then multiple requests will be made.  
  1297. spring.metrics.export.datadog.connect-timeout= # Connection timeout for requests to the backend.  
  1298. spring.metrics.export.datadog.enabled= # Enable publishing to the backend.  
  1299. spring.metrics.export.datadog.num-threads= # Number of threads to use with the metrics publishing scheduler.  
  1300. spring.metrics.export.datadog.read-timeout= # Read timeout for requests to the backend.  
  1301. spring.metrics.export.datadog.step=1 # Step size (i.e. reporting frequency) to use.  
  1302. spring.metrics.export.datadog.uri= # URI to ship metrics to. If you need to publish metrics to an internal proxy en-route to Datadog, you can define the location of the proxy with this.  
  1303. spring.metrics.export.ganglia.addressing-mode= # UDP addressing mode, either unicast or multicast.  
  1304. spring.metrics.export.ganglia.duration-units= # Base time unit used to report durations.  
  1305. spring.metrics.export.ganglia.enabled= # Enable publishing to Ganglia.  
  1306. spring.metrics.export.ganglia.host= # Host of the Ganglia server to receive exported metrics.  
  1307. spring.metrics.export.ganglia.port= # Port of the Ganglia server to receive exported metrics.  
  1308. spring.metrics.export.ganglia.protocol-version= # Ganglia protocol version. Must be either 3.1 or 3.0.  
  1309. spring.metrics.export.ganglia.rate-units= # Base time unit used to report rates.  
  1310. spring.metrics.export.ganglia.step= # Step size (i.e. reporting frequency) to use.  
  1311. spring.metrics.export.ganglia.time-to-live= # Time to live for metrics on Ganglia.  
  1312. spring.metrics.export.graphite.duration-units= # Base time unit used to report durations.  
  1313. spring.metrics.export.graphite.enabled= # Enable publishing to Graphite.  
  1314. spring.metrics.export.graphite.host= # Host of the Graphite server to receive exported metrics.  
  1315. spring.metrics.export.graphite.port= # Port of the Graphite server to receive exported metrics.  
  1316. spring.metrics.export.graphite.protocol= # Protocol to use while shipping data to Graphite.  
  1317. spring.metrics.export.graphite.rate-units= # Base time unit used to report rates.  
  1318. spring.metrics.export.graphite.step= # Step size (i.e. reporting frequency) to use.  
  1319. spring.metrics.export.influx.batch-size= # Number of measurements per request to use for the backend. If more measurements are found, then multiple requests will be made.  
  1320. spring.metrics.export.influx.compressed= # Enable GZIP compression of metrics batches published to Influx.  
  1321. spring.metrics.export.influx.connect-timeout= # Connection timeout for requests to the backend.  
  1322. spring.metrics.export.influx.consistency= # Write consistency for each point.  
  1323. spring.metrics.export.influx.db= # Tag that will be mapped to "host" when shipping metrics to Influx. Can be omitted of host should be omitted on publishing.  
  1324. spring.metrics.export.influx.enabled= # Enable publishing to the backend.  
  1325. spring.metrics.export.influx.num-threads= # Number of threads to use with the metrics publishing scheduler.  
  1326. spring.metrics.export.influx.password= # Login password of the Influx server.  
  1327. spring.metrics.export.influx.read-timeout= # Read timeout for requests to the backend.  
  1328. spring.metrics.export.influx.retention-policy= # Retention policy to use (Influx writes to the DEFAULT retention policy if one is not specified).  
  1329. spring.metrics.export.influx.step=1 # Step size (i.e. reporting frequency) to use.  
  1330. spring.metrics.export.influx.uri= # URI of the Influx server.  
  1331. spring.metrics.export.influx.user-name= # Login user of the Influx server.  
  1332. spring.metrics.export.prometheus.descriptions= # Enable publishing descriptions as part of the scrape payload to Prometheus. Turn this off to minimize the amount of data sent on each scrape.  
  1333. spring.metrics.export.prometheus.enabled= # Enable publishing to Prometheus.  
  1334. spring.metrics.export.prometheus.step= # Step size (i.e. reporting frequency) to use.  
  1335. spring.metrics.export.simple.enabled=false # Enable publishing to the backend.  
  1336. spring.metrics.export.simple.step=10 # Step size (i.e. reporting frequency) to use.  
  1337. spring.metrics.export.statsd.enabled= # Export metrics to StatsD.  
  1338. spring.metrics.export.statsd.flavor= # StatsD line protocol to use.  
  1339. spring.metrics.export.statsd.host=localhost # Host of the StatsD server to receive exported metrics.  
  1340. spring.metrics.export.statsd.max-packet-length=1400 # Total length of a single payload should be kept within your network's MTU.  
  1341. spring.metrics.export.statsd.polling-frequency=10 # How often gauges will be polled. When a gauge is polled, its value is recalculated and if the value has changed, it is sent to the StatsD server.  
  1342. spring.metrics.export.statsd.port=8125 # Port of the StatsD server to receive exported metrics.  
  1343. spring.metrics.export.statsd.queue-size= # Maximum size of the queue of items waiting to be sent to the StatsD server.  
  1344. spring.metrics.jdbc.datasource-metric-name=data.source # Name of the metric for data source usage.  
  1345. spring.metrics.jdbc.instrument-datasource=true # Instrument all available data sources.  
  1346. spring.metrics.web.client.record-request-percentiles=false # Whether or not instrumented requests record percentiles histogram buckets by default.  
  1347. spring.metrics.web.client.requests-metric-name=http.client.requests # Name of the metric for sent requests.  
  1348. spring.metrics.web.server.auto-time-requests=true # Whether or not requests handled by Spring MVC or WebFlux should be automatically timed.  
  1349. spring.metrics.web.server.record-request-percentiles=false # Whether or not instrumented requests record percentiles histogram buckets by default.  
  1350. spring.metrics.web.server.requests-metric-name=http.server.requests # Name of the metric for received requests.  
  1351.   
  1352.   
  1353.   
  1354. ----------------------------------------  
  1355. # DEVTOOLS PROPERTIES  
  1356. ----------------------------------------  
  1357.   
  1358. # DEVTOOLS (DevToolsProperties)  
  1359. spring.devtools.livereload.enabled=true # Enable a livereload.com compatible server.  
  1360. spring.devtools.livereload.port=35729 # Server port.  
  1361. spring.devtools.restart.additional-exclude= # Additional patterns that should be excluded from triggering a full restart.  
  1362. spring.devtools.restart.additional-paths= # Additional paths to watch for changes.  
  1363. spring.devtools.restart.enabled=true # Enable automatic restart.  
  1364. 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.  
  1365. spring.devtools.restart.poll-interval=1000 # Amount of time (in milliseconds) to wait between polling for classpath changes.  
  1366. spring.devtools.restart.quiet-period=400 # Amount of quiet time (in milliseconds) required without any classpath changes before a restart is triggered.  
  1367. 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.  
  1368.   
  1369. # REMOTE DEVTOOLS (RemoteDevToolsProperties)  
  1370. spring.devtools.remote.context-path=/.~~spring-boot!~ # Context path used to handle the remote connection.  
  1371. spring.devtools.remote.proxy.host= # The host of the proxy to use to connect to the remote application.  
  1372. spring.devtools.remote.proxy.port= # The port of the proxy to use to connect to the remote application.  
  1373. spring.devtools.remote.restart.enabled=true # Enable remote restart.  
  1374. spring.devtools.remote.secret= # A shared secret required to establish a connection (required to enable remote support).  
  1375. spring.devtools.remote.secret-header-name=X-AUTH-TOKEN # HTTP header used to transfer the shared secret.  
  1376.   
  1377.   
  1378. ----------------------------------------  
  1379. # TESTING PROPERTIES  
  1380. ----------------------------------------  
  1381.   
  1382. spring.test.database.replace=any # Type of existing DataSource to replace.  
  1383. spring.test.mockmvc.print=default # MVC Print option.  

转载地址:点击打开链接

  • 2
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值