springboot 最全配置文件

  1. # COMMON SPRING BOOT PROPERTIES  
  2. #  
  3. # This sample file is provided as a guideline. Do NOT copy it in its  
  4. # entirety to your own application.               ^^^  
  5. # ===================================================================  
  6.   
  7.   
  8. # ----------------------------------------  
  9. # CORE PROPERTIES  
  10. # ----------------------------------------  
  11.   
  12. # BANNER  
  13. banner.charset=UTF-8 # Banner file encoding.  
  14. banner.location=classpath:banner.txt # Banner file location.  
  15.   
  16. # LOGGING  
  17. logging.config= # Location of the logging configuration file. For instance `classpath:logback.xml` for Logback  
  18. logging.exception-conversion-word=%wEx # Conversion word used when logging exceptions.  
  19. logging.file= # Log file name. For instance `myapp.log`  
  20. logging.level.*= # Log levels severity mapping. For instance `logging.level.org.springframework=DEBUG`  
  21. logging.path= # Location of the log file. For instance `/var/log`  
  22. logging.pattern.console= # Appender pattern for output to the console. Only supported with the default logback setup.  
  23. logging.pattern.file= # Appender pattern for output to the file. Only supported with the default logback setup.  
  24. logging.pattern.level= # Appender pattern for log level (default %5p). Only supported with the default logback setup.  
  25. logging.register-shutdown-hook=false # Register a shutdown hook for the logging system when it is initialized.  
  26.   
  27. # AOP  
  28. spring.aop.auto=true # Add @EnableAspectJAutoProxy.  
  29. spring.aop.proxy-target-class=false # Whether subclass-based (CGLIB) proxies are to be created (true) as opposed to standard Java interface-based proxies (false).  
  30.   
  31. # IDENTITY (ContextIdApplicationContextInitializer)  
  32. spring.application.index= # Application index.  
  33. spring.application.name= # Application name.  
  34.   
  35. # ADMIN (SpringApplicationAdminJmxAutoConfiguration)  
  36. spring.application.admin.enabled=false # Enable admin features for the application.  
  37. spring.application.admin.jmx-name=org.springframework.boot:type=Admin,name=SpringApplication # JMX name of the application admin MBean.  
  38.   
  39. # AUTO-CONFIGURATION  
  40. spring.autoconfigure.exclude= # Auto-configuration classes to exclude.  
  41.   
  42. # SPRING CORE  
  43. spring.beaninfo.ignore=true # Skip search of BeanInfo classes.  
  44.   
  45. # SPRING CACHE (CacheProperties)  
  46. spring.cache.cache-names= # Comma-separated list of cache names to create if supported by the underlying cache manager.  
  47. spring.cache.ehcache.config= # The location of the configuration file to use to initialize EhCache.  
  48. spring.cache.guava.spec= # The spec to use to create caches. Check CacheBuilderSpec for more details on the spec format.  
  49. spring.cache.hazelcast.config= # The location of the configuration file to use to initialize Hazelcast.  
  50. spring.cache.infinispan.config= # The location of the configuration file to use to initialize Infinispan.  
  51. spring.cache.jcache.config= # The location of the configuration file to use to initialize the cache manager.  
  52. 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.  
  53. spring.cache.type= # Cache type, auto-detected according to the environment by default.  
  54.   
  55. # SPRING CONFIG - using environment property only (ConfigFileApplicationListener)  
  56. spring.config.location= # Config file locations.  
  57. spring.config.name=application # Config file name.  
  58.   
  59. # HAZELCAST (HazelcastProperties)  
  60. spring.hazelcast.config= # The location of the configuration file to use to initialize Hazelcast.  
  61.   
  62. # JMX  
  63. spring.jmx.default-domain= # JMX domain name.  
  64. spring.jmx.enabled=true # Expose management beans to the JMX domain.  
  65. spring.jmx.server=mbeanServer # MBeanServer bean name.  
  66.   
  67. # Email (MailProperties)  
  68. spring.mail.default-encoding=UTF-8 # Default MimeMessage encoding.  
  69. spring.mail.host= # SMTP server host. For instance `smtp.example.com`  
  70. spring.mail.jndi-name= # Session JNDI name. When set, takes precedence to others mail settings.  
  71. spring.mail.password= # Login password of the SMTP server.  
  72. spring.mail.port= # SMTP server port.  
  73. spring.mail.properties.*= # Additional JavaMail session properties.  
  74. spring.mail.protocol=smtp # Protocol used by the SMTP server.  
  75. spring.mail.test-connection=false # Test that the mail server is available on startup.  
  76. spring.mail.username= # Login user of the SMTP server.  
  77.   
  78. # APPLICATION SETTINGS (SpringApplication)  
  79. spring.main.banner-mode=console # Mode used to display the banner when the application runs.  
  80. spring.main.sources= # Sources (class name, package name or XML resource location) to include in the ApplicationContext.  
  81. spring.main.web-environment= # Run the application in a web environment (auto-detected by default).  
  82.   
  83. # FILE ENCODING (FileEncodingApplicationListener)  
  84. spring.mandatory-file-encoding= # Expected character encoding the application must use.  
  85.   
  86. # INTERNATIONALIZATION (MessageSourceAutoConfiguration)  
  87. spring.messages.basename=messages # Comma-separated list of basenames, each following the ResourceBundle convention.  
  88. spring.messages.cache-seconds=-1 # Loaded resource bundle files cache expiration, in seconds. When set to -1, bundles are cached forever.  
  89. spring.messages.encoding=UTF-8 # Message bundles encoding.  
  90. 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.  
  91.   
  92. # OUTPUT  
  93. spring.output.ansi.enabled=detect # Configure the ANSI output (can be "detect", "always", "never").  
  94.   
  95. # PID FILE (ApplicationPidFileWriter)  
  96. spring.pid.fail-on-write-error= # Fail if ApplicationPidFileWriter is used but it cannot write the PID file.  
  97. spring.pid.file= # Location of the PID file to write (if ApplicationPidFileWriter is used).  
  98.   
  99. # PROFILES  
  100. spring.profiles.active= # Comma-separated list of active profiles.  
  101. spring.profiles.include= # Unconditionally activate the specified comma separated profiles.  
  102.   
  103. # SENDGRID (SendGridAutoConfiguration)  
  104. spring.sendgrid.username= # SendGrid account username  
  105. spring.sendgrid.password= # SendGrid account password  
  106. spring.sendgrid.proxy.host= # SendGrid proxy host  
  107. spring.sendgrid.proxy.port= # SendGrid proxy port  
  108.   
  109.   
  110. # ----------------------------------------  
  111. # WEB PROPERTIES  
  112. # ----------------------------------------  
  113.   
  114. # MULTIPART (MultipartProperties)  
  115. multipart.enabled=true # Enable support of multi-part uploads.  
  116. multipart.file-size-threshold=0 # Threshold after which files will be written to disk. Values can use the suffixed "MB" or "KB" to indicate a Megabyte or Kilobyte size.  
  117. multipart.location= # Intermediate location of uploaded files.  
  118. multipart.max-file-size=1Mb # Max file size. Values can use the suffixed "MB" or "KB" to indicate a Megabyte or Kilobyte size.  
  119. multipart.max-request-size=10Mb # Max request size. Values can use the suffixed "MB" or "KB" to indicate a Megabyte or Kilobyte size.  
  120.   
  121. # EMBEDDED SERVER CONFIGURATION (ServerProperties)  
  122. server.address= # Network address to which the server should bind to.  
  123. server.compression.enabled=false # If response compression is enabled.  
  124. server.compression.excluded-user-agents= # List of user-agents to exclude from compression.  
  125. server.compression.mime-types= # Comma-separated list of MIME types that should be compressed. For instance `text/html,text/css,application/json`  
  126. server.compression.min-response-size= # Minimum response size that is required for compression to be performed. For instance 2048  
  127. server.context-parameters.*= # Servlet context init parameters. For instance `server.context-parameters.a=alpha`  
  128. server.context-path= # Context path of the application.  
  129. server.display-name=application # Display name of the application.  
  130. server.error.include-stacktrace=never # When to include a "stacktrace" attribute.  
  131. server.error.path=/error # Path of the error controller.  
  132. server.error.whitelabel.enabled=true # Enable the default error page displayed in browsers in case of a server error.  
  133. server.jsp-servlet.class-name=org.apache.jasper.servlet.JspServlet # The class name of the JSP servlet.  
  134. server.jsp-servlet.init-parameters.*= # Init parameters used to configure the JSP servlet  
  135. server.jsp-servlet.registered=true # Whether or not the JSP servlet is registered  
  136. server.port=8080 # Server HTTP port.  
  137. server.server-header= # The value sent in the server response header (uses servlet container default if empty)  
  138. server.servlet-path=/ # Path of the main dispatcher servlet.  
  139. server.session.cookie.comment= # Comment for the session cookie.  
  140. server.session.cookie.domain= # Domain for the session cookie.  
  141. server.session.cookie.http-only= # "HttpOnly" flag for the session cookie.  
  142. server.session.cookie.max-age= # Maximum age of the session cookie in seconds.  
  143. server.session.cookie.name= # Session cookie name.  
  144. server.session.cookie.path= # Path of the session cookie.  
  145. server.session.cookie.secure= # "Secure" flag for the session cookie.  
  146. server.session.persistent=false # Persist session data between restarts.  
  147. server.session.store-dir= # Directory used to store session data.  
  148. server.session.timeout= # Session timeout in seconds.  
  149. server.session.tracking-modes= # Session tracking modes (one or more of the following: "cookie", "url", "ssl").  
  150. server.ssl.ciphers= # Supported SSL ciphers.  
  151. server.ssl.client-auth= # Whether client authentication is wanted ("want") or needed ("need"). Requires a trust store.  
  152. server.ssl.enabled= #  
  153. server.ssl.key-alias= #  
  154. server.ssl.key-password= #  
  155. server.ssl.key-store= #  
  156. server.ssl.key-store-password= #  
  157. server.ssl.key-store-provider= #  
  158. server.ssl.key-store-type= #  
  159. server.ssl.protocol= #  
  160. server.ssl.trust-store= #  
  161. server.ssl.trust-store-password= #  
  162. server.ssl.trust-store-provider= #  
  163. server.ssl.trust-store-type= #  
  164. server.tomcat.accesslog.directory=logs # Directory in which log files are created. Can be relative to the tomcat base dir or absolute.  
  165. server.tomcat.accesslog.enabled=false # Enable access log.  
  166. server.tomcat.accesslog.pattern=common # Format pattern for access logs.  
  167. server.tomcat.accesslog.prefix=access_log # Log file name prefix.  
  168. server.tomcat.accesslog.suffix=.log # Log file name suffix.  
  169. server.tomcat.background-processor-delay=30 # Delay in seconds between the invocation of backgroundProcess methods.  
  170. server.tomcat.basedir= # Tomcat base directory. If not specified a temporary directory will be used.  
  171. server.tomcat.internal-proxies=10\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}|\\  
  172.         192\\.168\\.\\d{1,3}\\.\\d{1,3}|\\  
  173.         169\\.254\\.\\d{1,3}\\.\\d{1,3}|\\  
  174.         127\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}|\\  
  175.         172\\.1[6-9]{1}\\.\\d{1,3}\\.\\d{1,3}|\\  
  176.         172\\.2[0-9]{1}\\.\\d{1,3}\\.\\d{1,3}|\\  
  177.         172\\.3[0-1]{1}\\.\\d{1,3}\\.\\d{1,3} # regular expression matching trusted IP addresses.  
  178. server.tomcat.max-http-header-size=0 # Maximum size in bytes of the HTTP message header.  
  179. server.tomcat.max-threads=0 # Maximum amount of worker threads.  
  180. server.tomcat.port-header=X-Forwarded-Port # Name of the HTTP header used to override the original port value.  
  181. server.tomcat.protocol-header= # Header that holds the incoming protocol, usually named "X-Forwarded-Proto".  
  182. server.tomcat.protocol-header-https-value=https # Value of the protocol header that indicates that the incoming request uses SSL.  
  183. server.tomcat.remote-ip-header= # Name of the http header from which the remote ip is extracted. For instance `X-FORWARDED-FOR`  
  184. server.tomcat.uri-encoding=UTF-8 # Character encoding to use to decode the URI.  
  185. server.undertow.accesslog.dir= # Undertow access log directory.  
  186. server.undertow.accesslog.enabled=false # Enable access log.  
  187. server.undertow.accesslog.pattern=common # Format pattern for access logs.  
  188. server.undertow.buffer-size= # Size of each buffer in bytes.  
  189. server.undertow.buffers-per-region= # Number of buffer per region.  
  190. server.undertow.direct-buffers= # Allocate buffers outside the Java heap.  
  191. server.undertow.io-threads= # Number of I/O threads to create for the worker.  
  192. server.undertow.worker-threads= # Number of worker threads.  
  193. server.use-forward-headers= # If X-Forwarded-* headers should be applied to the HttpRequest.  
  194.   
  195. # FREEMARKER (FreeMarkerAutoConfiguration)  
  196. spring.freemarker.allow-request-override=false # Set whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name.  
  197. spring.freemarker.allow-session-override=false # Set whether HttpSession attributes are allowed to override (hide) controller generated model attributes of the same name.  
  198. spring.freemarker.cache=false # Enable template caching.  
  199. spring.freemarker.charset=UTF-8 # Template encoding.  
  200. spring.freemarker.check-template-location=true # Check that the templates location exists.  
  201. spring.freemarker.content-type=text/html # Content-Type value.  
  202. spring.freemarker.enabled=true # Enable MVC view resolution for this technology.  
  203. spring.freemarker.expose-request-attributes=false # Set whether all request attributes should be added to the model prior to merging with the template.  
  204. spring.freemarker.expose-session-attributes=false # Set whether all HttpSession attributes should be added to the model prior to merging with the template.  
  205. spring.freemarker.expose-spring-macro-helpers=true # Set whether to expose a RequestContext for use by Spring's macro library, under the name "springMacroRequestContext".  
  206. spring.freemarker.prefer-file-system-access=true # Prefer file system access for template loading. File system access enables hot detection of template changes.  
  207. spring.freemarker.prefix= # Prefix that gets prepended to view names when building a URL.  
  208. spring.freemarker.request-context-attribute= # Name of the RequestContext attribute for all views.  
  209. spring.freemarker.settings.*= # Well-known FreeMarker keys which will be passed to FreeMarker's Configuration.  
  210. spring.freemarker.suffix= # Suffix that gets appended to view names when building a URL.  
  211. spring.freemarker.template-loader-path=classpath:/templates/ # Comma-separated list of template paths.  
  212. spring.freemarker.view-names= # White list of view names that can be resolved.  
  213.   
  214. # GROOVY TEMPLATES (GroovyTemplateAutoConfiguration)  
  215. spring.groovy.template.allow-request-override=false # Set whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name.  
  216. spring.groovy.template.allow-session-override=false # Set whether HttpSession attributes are allowed to override (hide) controller generated model attributes of the same name.  
  217. spring.groovy.template.cache= # Enable template caching.  
  218. spring.groovy.template.charset=UTF-8 # Template encoding.  
  219. spring.groovy.template.check-template-location=true # Check that the templates location exists.  
  220. spring.groovy.template.configuration.*= # See GroovyMarkupConfigurer  
  221. spring.groovy.template.content-type=test/html # Content-Type value.  
  222. spring.groovy.template.enabled=true # Enable MVC view resolution for this technology.  
  223. spring.groovy.template.expose-request-attributes=false # Set whether all request attributes should be added to the model prior to merging with the template.  
  224. spring.groovy.template.expose-session-attributes=false # Set whether all HttpSession attributes should be added to the model prior to merging with the template.  
  225. 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".  
  226. spring.groovy.template.prefix= # Prefix that gets prepended to view names when building a URL.  
  227. spring.groovy.template.request-context-attribute= # Name of the RequestContext attribute for all views.  
  228. spring.groovy.template.resource-loader-path=classpath:/templates/ # Template path.  
  229. spring.groovy.template.suffix=.tpl # Suffix that gets appended to view names when building a URL.  
  230. spring.groovy.template.view-names= # White list of view names that can be resolved.  
  231.   
  232. # SPRING HATEOAS (HateoasProperties)  
  233. 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.  
  234.   
  235. # HTTP message conversion  
  236. spring.http.converters.preferred-json-mapper=jackson # Preferred JSON mapper to use for HTTP message conversion. Set to "gson" to force the use of Gson when both it and Jackson are on the classpath.  
  237.   
  238. # HTTP encoding (HttpEncodingProperties)  
  239. spring.http.encoding.charset=UTF-8 # Charset of HTTP requests and responses. Added to the "Content-Type" header if not set explicitly.  
  240. spring.http.encoding.enabled=true # Enable http encoding support.  
  241. spring.http.encoding.force=true # Force the encoding to the configured charset on HTTP requests and responses.  
  242.   
  243. # JACKSON (JacksonProperties)  
  244. spring.jackson.date-format= # Date format string or a fully-qualified date format class name. For instance `yyyy-MM-dd HH:mm:ss`.  
  245. spring.jackson.deserialization.*= # Jackson on/off features that affect the way Java objects are deserialized.  
  246. spring.jackson.generator.*= # Jackson on/off features for generators.  
  247. 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.  
  248. spring.jackson.locale= # Locale used for formatting.  
  249. spring.jackson.mapper.*= # Jackson general purpose on/off features.  
  250. spring.jackson.parser.*= # Jackson on/off features for parsers.  
  251. 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.  
  252. spring.jackson.serialization.*= # Jackson on/off features that affect the way Java objects are serialized.  
  253. spring.jackson.serialization-inclusion= # Controls the inclusion of properties during serialization. Configured with one of the values in Jackson's JsonInclude.Include enumeration.  
  254. spring.jackson.time-zone= # Time zone used when formatting dates. For instance `America/Los_Angeles`  
  255.   
  256. # JERSEY (JerseyProperties)  
  257. spring.jersey.application-path= # Path that serves as the base URI for the application. Overrides the value of "@ApplicationPath" if specified.  
  258. spring.jersey.filter.order=0 # Jersey filter chain order.  
  259. spring.jersey.init.*= # Init parameters to pass to Jersey via the servlet or filter.  
  260. spring.jersey.type=servlet # Jersey integration type. Can be either "servlet" or "filter".  
  261.   
  262. # SPRING MOBILE DEVICE VIEWS (DeviceDelegatingViewResolverAutoConfiguration)  
  263. spring.mobile.devicedelegatingviewresolver.enable-fallback=false # Enable support for fallback resolution.  
  264. spring.mobile.devicedelegatingviewresolver.enabled=false # Enable device view resolver.  
  265. spring.mobile.devicedelegatingviewresolver.mobile-prefix=mobile/ # Prefix that gets prepended to view names for mobile devices.  
  266. spring.mobile.devicedelegatingviewresolver.mobile-suffix= # Suffix that gets appended to view names for mobile devices.  
  267. spring.mobile.devicedelegatingviewresolver.normal-prefix= # Prefix that gets prepended to view names for normal devices.  
  268. spring.mobile.devicedelegatingviewresolver.normal-suffix= # Suffix that gets appended to view names for normal devices.  
  269. spring.mobile.devicedelegatingviewresolver.tablet-prefix=tablet/ # Prefix that gets prepended to view names for tablet devices.  
  270. spring.mobile.devicedelegatingviewresolver.tablet-suffix= # Suffix that gets appended to view names for tablet devices.  
  271.   
  272. # SPRING MOBILE SITE PREFERENCE (SitePreferenceAutoConfiguration)  
  273. spring.mobile.sitepreference.enabled=true # Enable SitePreferenceHandler.  
  274.   
  275. # MUSTACHE TEMPLATES (MustacheAutoConfiguration)  
  276. spring.mustache.cache=false # Enable template caching.  
  277. spring.mustache.charset=UTF-8 # Template encoding.  
  278. spring.mustache.check-template-location=true # Check that the templates location exists.  
  279. spring.mustache.content-type=text/html # Content-Type value.  
  280. spring.mustache.enabled=true # Enable MVC view resolution for this technology.  
  281. spring.mustache.prefix=classpath:/templates/ # Prefix to apply to template names.  
  282. spring.mustache.suffix=.html # Suffix to apply to template names.  
  283. spring.mustache.view-names= # White list of view names that can be resolved.  
  284.   
  285. # SPRING MVC (WebMvcProperties)  
  286. spring.mvc.async.request-timeout= # Amount of time (in milliseconds) before asynchronous request handling times out.  
  287. spring.mvc.date-format= # Date format to use. For instance `dd/MM/yyyy`.  
  288. spring.mvc.dispatch-trace-request=false # Dispatch TRACE requests to the FrameworkServlet doService method.  
  289. spring.mvc.dispatch-options-request=false # Dispatch OPTIONS requests to the FrameworkServlet doService method.  
  290. spring.mvc.favicon.enabled=true # Enable resolution of favicon.ico.  
  291. spring.mvc.ignore-default-model-on-redirect=true # If the content of the "default" model should be ignored during redirect scenarios.  
  292. spring.mvc.locale= # Locale to use.  
  293. spring.mvc.media-types.*= # Maps file extensions to media types for content negotiation.  
  294. spring.mvc.message-codes-resolver-format= # Formatting strategy for message codes. For instance `PREFIX_ERROR_CODE`.  
  295. spring.mvc.static-path-pattern=/** # Path pattern used for static resources. 
  296. spring.mvc.throw-exception-if-no-handler-found=false # If a "NoHandlerFoundException" should be thrown if no Handler was found to process a request. 
  297. spring.mvc.view.prefix= # Spring MVC view prefix. 
  298. spring.mvc.view.suffix= # Spring MVC view suffix. 
  299.  
  300. # SPRING RESOURCES HANDLING (ResourceProperties) 
  301. spring.resources.add-mappings=true # Enable default resource handling. 
  302. spring.resources.cache-period= # Cache period for the resources served by the resource handler, in seconds. 
  303. spring.resources.chain.cache=true # Enable caching in the Resource chain. 
  304. spring.resources.chain.enabled= # Enable the Spring Resource Handling chain. Disabled by default unless at least one strategy has been enabled. 
  305. spring.resources.chain.html-application-cache=false # Enable HTML5 application cache manifest rewriting. 
  306. spring.resources.chain.strategy.content.enabled=false # Enable the content Version Strategy. 
  307. spring.resources.chain.strategy.content.paths=/** # Comma-separated list of patterns to apply to the Version Strategy. 
  308. spring.resources.chain.strategy.fixed.enabled=false # Enable the fixed Version Strategy. 
  309. spring.resources.chain.strategy.fixed.paths= # Comma-separated list of patterns to apply to the Version Strategy. 
  310. spring.resources.chain.strategy.fixed.version= # Version string to use for the Version Strategy. 
  311. spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/ # Locations of static resources. 
  312.  
  313. # SPRING SOCIAL (SocialWebAutoConfiguration) 
  314. spring.social.auto-connection-views=false # Enable the connection status view for supported providers. 
  315.  
  316. # SPRING SOCIAL FACEBOOK (FacebookAutoConfiguration) 
  317. spring.social.facebook.app-id= # your application's Facebook App ID 
  318. spring.social.facebook.app-secret= # your application's Facebook App Secret 
  319.  
  320. # SPRING SOCIAL LINKEDIN (LinkedInAutoConfiguration) 
  321. spring.social.linkedin.app-id= # your application's LinkedIn App ID 
  322. spring.social.linkedin.app-secret= # your application's LinkedIn App Secret 
  323.  
  324. # SPRING SOCIAL TWITTER (TwitterAutoConfiguration) 
  325. spring.social.twitter.app-id= # your application's Twitter App ID 
  326. spring.social.twitter.app-secret= # your application's Twitter App Secret 
  327.  
  328. # THYMELEAF (ThymeleafAutoConfiguration) 
  329. spring.thymeleaf.cache=true # Enable template caching. 
  330. spring.thymeleaf.check-template-location=true # Check that the templates location exists. 
  331. spring.thymeleaf.content-type=text/html # Content-Type value. 
  332. spring.thymeleaf.enabled=true # Enable MVC Thymeleaf view resolution. 
  333. spring.thymeleaf.encoding=UTF-8 # Template encoding. 
  334. spring.thymeleaf.excluded-view-names= # Comma-separated list of view names that should be excluded from resolution. 
  335. spring.thymeleaf.mode=HTML5 # Template mode to be applied to templates. See also StandardTemplateModeHandlers. 
  336. spring.thymeleaf.prefix=classpath:/templates/ # Prefix that gets prepended to view names when building a URL. 
  337. spring.thymeleaf.suffix=.html # Suffix that gets appended to view names when building a URL. 
  338. spring.thymeleaf.template-resolver-order= # Order of the template resolver in the chain. 
  339. spring.thymeleaf.view-names= # Comma-separated list of view names that can be resolved. 
  340.  
  341. # VELOCITY TEMPLATES (VelocityAutoConfiguration) 
  342. spring.velocity.allow-request-override=false # Set whether HttpServletRequest attributes are allowed to override (hide) controller generated model attributes of the same name. 
  343. spring.velocity.allow-session-override=false # Set whether HttpSession attributes are allowed to override (hide) controller generated model attributes of the same name. 
  344. spring.velocity.cache= # Enable template caching. 
  345. spring.velocity.charset=UTF-8 # Template encoding. 
  346. spring.velocity.check-template-location=true # Check that the templates location exists. 
  347. spring.velocity.content-type=text/html # Content-Type value. 
  348. spring.velocity.date-tool-attribute= # Name of the DateTool helper object to expose in the Velocity context of the view. 
  349. spring.velocity.enabled=true # Enable MVC view resolution for this technology. 
  350. spring.velocity.expose-request-attributes=false # Set whether all request attributes should be added to the model prior to merging with the template. 
  351. spring.velocity.expose-session-attributes=false # Set whether all HttpSession attributes should be added to the model prior to merging with the template. 
  352. spring.velocity.expose-spring-macro-helpers=true # Set whether to expose a RequestContext for use by Spring's macro library, under the name "springMacroRequestContext". 
  353. spring.velocity.number-tool-attribute= # Name of the NumberTool helper object to expose in the Velocity context of the view. 
  354. spring.velocity.prefer-file-system-access=true # Prefer file system access for template loading. File system access enables hot detection of template changes. 
  355. spring.velocity.prefix= # Prefix that gets prepended to view names when building a URL. 
  356. spring.velocity.properties.*= # Additional velocity properties. 
  357. spring.velocity.request-context-attribute= # Name of the RequestContext attribute for all views. 
  358. spring.velocity.resource-loader-path=classpath:/templates/ # Template path. 
  359. spring.velocity.suffix=.vm # Suffix that gets appended to view names when building a URL. 
  360. spring.velocity.toolbox-config-location= # Velocity Toolbox config location. For instance `/WEB-INF/toolbox.xml` 
  361. spring.velocity.view-names= # White list of view names that can be resolved. 
  362.  
  363.  
  364.  
  365. # ---------------------------------------- 
  366. # SECURITY PROPERTIES 
  367. # ---------------------------------------- 
  368. # SECURITY (SecurityProperties) 
  369. security.basic.authorize-mode=role # Security authorize mode to apply. 
  370. security.basic.enabled=true # Enable basic authentication. 
  371. security.basic.path=/** # Comma-separated list of paths to secure. 
  372. security.basic.realm=Spring # HTTP basic realm name. 
  373. security.enable-csrf=false # Enable Cross Site Request Forgery support. 
  374. security.filter-order=0 # Security filter chain order. 
  375. security.filter-dispatcher-types=ASYNC, FORWARD, INCLUDE, REQUEST # Security filter chain dispatcher types. 
  376. security.headers.cache=true # Enable cache control HTTP headers. 
  377. security.headers.content-type=true # Enable "X-Content-Type-Options" header. 
  378. security.headers.frame=true # Enable "X-Frame-Options" header. 
  379. security.headers.hsts= # HTTP Strict Transport Security (HSTS) mode (none, domain, all). 
  380. security.headers.xss=true # Enable cross site scripting (XSS) protection. 
  381. security.ignored= # Comma-separated list of paths to exclude from the default secured paths. 
  382. security.require-ssl=false # Enable secure channel for all requests. 
  383. security.sessions=stateless # Session creation policy (always, never, if_required, stateless). 
  384. security.user.name=user # Default user name. 
  385. security.user.password= # Password for the default user name. A random password is logged on startup by default. 
  386. security.user.role=USER # Granted roles for the default user name. 
  387.  
  388. # SECURITY OAUTH2 CLIENT (OAuth2ClientProperties 
  389. security.oauth2.client.client-id= # OAuth2 client id. 
  390. security.oauth2.client.client-secret= # OAuth2 client secret. A random secret is generated by default 
  391.  
  392. # SECURITY OAUTH2 RESOURCES (ResourceServerProperties 
  393. security.oauth2.resource.id= # Identifier of the resource. 
  394. security.oauth2.resource.jwt.key-uri= # The URI of the JWT token. Can be set if the value is not available and the key is public. 
  395. security.oauth2.resource.jwt.key-value= # The verification key of the JWT token. Can either be a symmetric secret or PEM-encoded RSA public key. 
  396. security.oauth2.resource.prefer-token-info=true # Use the token info, can be set to false to use the user info. 
  397. security.oauth2.resource.service-id=resource # 
  398. security.oauth2.resource.token-info-uri= # URI of the token decoding endpoint. 
  399. security.oauth2.resource.token-type= # The token type to send when using the userInfoUri. 
  400. security.oauth2.resource.user-info-uri= # URI of the user endpoint. 
  401.  
  402. # SECURITY OAUTH2 SSO (OAuth2SsoProperties 
  403. security.oauth2.sso.filter-order= # Filter order to apply if not providing an explicit WebSecurityConfigurerAdapter 
  404. security.oauth2.sso.login-path=/login # Path to the login page, i.e. the one that triggers the redirect to the OAuth2 Authorization Server 
  405.  
  406.  
  407. # ---------------------------------------- 
  408. # DATA PROPERTIES 
  409. # ---------------------------------------- 
  410.  
  411. # FLYWAY (FlywayProperties) 
  412. flyway.baseline-description= # 
  413. flyway.baseline-version=1 # version to start migration 
  414. flyway.baseline-on-migrate= # 
  415. flyway.check-location=false # Check that migration scripts location exists. 
  416. flyway.clean-on-validation-error= # 
  417. flyway.enabled=true # Enable flyway. 
  418. flyway.encoding= # 
  419. flyway.ignore-failed-future-migration= # 
  420. flyway.init-sqls= # SQL statements to execute to initialize a connection immediately after obtaining it. 
  421. flyway.locations=classpath:db/migration # locations of migrations scripts 
  422. flyway.out-of-order= # 
  423. flyway.password= # JDBC password if you want Flyway to create its own DataSource 
  424. flyway.placeholder-prefix= # 
  425. flyway.placeholder-replacement= # 
  426. flyway.placeholder-suffix= # 
  427. flyway.placeholders.*= # 
  428. flyway.schemas= # schemas to update 
  429. flyway.sql-migration-prefix=V # 
  430. flyway.sql-migration-separator= # 
  431. flyway.sql-migration-suffix=.sql # 
  432. flyway.table= # 
  433. flyway.url= # JDBC url of the database to migrate. If not set, the primary configured data source is used. 
  434. flyway.user= # Login user of the database to migrate. 
  435. flyway.validate-on-migrate= # 
  436.  
  437. # LIQUIBASE (LiquibaseProperties) 
  438. liquibase.change-log=classpath:/db/changelog/db.changelog-master.yaml # Change log configuration path. 
  439. liquibase.check-change-log-location=true # Check the change log location exists. 
  440. liquibase.contexts= # Comma-separated list of runtime contexts to use. 
  441. liquibase.default-schema= # Default database schema. 
  442. liquibase.drop-first=false # Drop the database schema first. 
  443. liquibase.enabled=true # Enable liquibase support. 
  444. liquibase.labels= # Comma-separated list of runtime labels to use. 
  445. liquibase.parameters.*= # Change log parameters. 
  446. liquibase.password= # Login password of the database to migrate. 
  447. liquibase.url= # JDBC url of the database to migrate. If not set, the primary configured data source is used. 
  448. liquibase.user= # Login user of the database to migrate. 
  449.  
  450. # DAO (PersistenceExceptionTranslationAutoConfiguration) 
  451. spring.dao.exceptiontranslation.enabled=true # Enable the PersistenceExceptionTranslationPostProcessor. 
  452.  
  453. # CASSANDRA (CassandraProperties) 
  454. spring.data.cassandra.cluster-name= # Name of the Cassandra cluster. 
  455. spring.data.cassandra.compression= # Compression supported by the Cassandra binary protocol. 
  456. spring.data.cassandra.connect-timeout-millis= # Socket option: connection time out. 
  457. spring.data.cassandra.consistency-level= # Queries consistency level. 
  458. spring.data.cassandra.contact-points=localhost # Comma-separated list of cluster node addresses. 
  459. spring.data.cassandra.fetch-size= # Queries default fetch size. 
  460. spring.data.cassandra.keyspace-name= # Keyspace name to use. 
  461. spring.data.cassandra.load-balancing-policy= # Class name of the load balancing policy. 
  462. spring.data.cassandra.port= # Port of the Cassandra server. 
  463. spring.data.cassandra.password= # Login password of the server. 
  464. spring.data.cassandra.read-timeout-millis= # Socket option: read time out. 
  465. spring.data.cassandra.reconnection-policy= # Reconnection policy class. 
  466. spring.data.cassandra.retry-policy= # Class name of the retry policy. 
  467. spring.data.cassandra.serial-consistency-level= # Queries serial consistency level. 
  468. spring.data.cassandra.ssl=false # Enable SSL support. 
  469. spring.data.cassandra.username= # Login user of the server. 
  470.  
  471. # ELASTICSEARCH (ElasticsearchProperties) 
  472. spring.data.elasticsearch.cluster-name=elasticsearch # Elasticsearch cluster name. 
  473. spring.data.elasticsearch.cluster-nodes= # Comma-separated list of cluster node addresses. If not specified, starts a client node. 
  474. spring.data.elasticsearch.properties.*= # Additional properties used to configure the client. 
  475. spring.data.elasticsearch.repositories.enabled=true # Enable Elasticsearch repositories. 
  476.  
  477. # MONGODB (MongoProperties) 
  478. spring.data.mongodb.authentication-database= # Authentication database name. 
  479. spring.data.mongodb.database=test # Database name. 
  480. spring.data.mongodb.field-naming-strategy= # Fully qualified name of the FieldNamingStrategy to use. 
  481. spring.data.mongodb.grid-fs-database= # GridFS database name. 
  482. spring.data.mongodb.host=localhost # Mongo server host. 
  483. spring.data.mongodb.password= # Login password of the mongo server. 
  484. spring.data.mongodb.port=27017 # Mongo server port. 
  485. spring.data.mongodb.repositories.enabled=true # Enable Mongo repositories. 
  486. spring.data.mongodb.uri=mongodb://localhost/test # Mongo database URI. When set, host and port are ignored. 
  487. spring.data.mongodb.username= # Login user of the mongo server. 
  488.  
  489. # DATA REST (RepositoryRestProperties) 
  490. spring.data.rest.base-path= # Base path to be used by Spring Data REST to expose repository resources. 
  491. spring.data.rest.default-page-size= # Default size of pages. 
  492. spring.data.rest.enable-enum-translation= # Enable enum value translation via the Spring Data REST default resource bundle. 
  493. spring.data.rest.limit-param-name= # Name of the URL query string parameter that indicates how many results to return at once. 
  494. spring.data.rest.max-page-size= # Maximum size of pages. 
  495. spring.data.rest.page-param-name= # Name of the URL query string parameter that indicates what page to return. 
  496. spring.data.rest.return-body-on-create= # Return a response body after creating an entity. 
  497. spring.data.rest.return-body-on-update= # Return a response body after updating an entity. 
  498. spring.data.rest.sort-param-name= # Name of the URL query string parameter that indicates what direction to sort results. 
  499.  
  500. # SOLR (SolrProperties) 
  501. spring.data.solr.host=http://127.0.0.1:8983/solr # Solr host. Ignored if "zk-host" is set. 
  502. spring.data.solr.repositories.enabled=true # Enable Solr repositories. 
  503. spring.data.solr.zk-host= # ZooKeeper host address in the form HOST:PORT. 
  504.  
  505. # DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties) 
  506. spring.datasource.continue-on-error=false # Do not stop if an error occurs while initializing the database. 
  507. spring.datasource.data= # Data (DML) script resource reference. 
  508. spring.datasource.driver-class-name= # Fully qualified name of the JDBC driver. Auto-detected based on the URL by default. 
  509. spring.datasource.initialize=true # Populate the database using 'data.sql'. 
  510. spring.datasource.jmx-enabled=false # Enable JMX support (if provided by the underlying pool). 
  511. spring.datasource.jndi-name= # JNDI location of the datasource. Class, url, username & password are ignored when set. 
  512. spring.datasource.max-active= # For instance 100 
  513. spring.datasource.max-idle= # For instance 8 
  514. spring.datasource.max-wait= 
  515. spring.datasource.min-evictable-idle-time-millis= 
  516. spring.datasource.min-idle=8 
  517. spring.datasource.name=testdb # Name of the datasource. 
  518. spring.datasource.password= # Login password of the database. 
  519. spring.datasource.platform=all # Platform to use in the schema resource (schema-${platform}.sql). 
  520. spring.datasource.schema= # Schema (DDL) script resource reference. 
  521. spring.datasource.separator=; # Statement separator in SQL initialization scripts. 
  522. spring.datasource.sql-script-encoding= # SQL scripts encoding. 
  523. spring.datasource.test-on-borrow= # For instance `false` 
  524. spring.datasource.test-on-return= # For instance `false` 
  525. spring.datasource.test-while-idle= # 
  526. spring.datasource.time-between-eviction-runs-millis= 1 
  527. spring.datasource.type= # Fully qualified name of the connection pool implementation to use. By default, it is auto-detected from the classpath. 
  528. spring.datasource.url= # JDBC url of the database. 
  529. spring.datasource.username= 
  530. spring.datasource.validation-query= 
  531.  
  532. # H2 Web Console (H2ConsoleProperties) 
  533. spring.h2.console.enabled=false # Enable the console. 
  534. spring.h2.console.path=/h2-console # Path at which the console will be available. 
  535.  
  536. # JOOQ (JooqAutoConfiguration) 
  537. spring.jooq.sql-dialect= # SQLDialect JOOQ used when communicating with the configured datasource. For instance `POSTGRES` 
  538.  
  539. # JPA (JpaBaseConfiguration, HibernateJpaAutoConfiguration) 
  540. spring.data.jpa.repositories.enabled=true # Enable JPA repositories. 
  541. spring.jpa.database= # Target database to operate on, auto-detected by default. Can be alternatively set using the "databasePlatform" property. 
  542. spring.jpa.database-platform= # Name of the target database to operate on, auto-detected by default. Can be alternatively set using the "Database" enum. 
  543. spring.jpa.generate-ddl=false # Initialize the schema on startup. 
  544. spring.jpa.hibernate.ddl-auto= # DDL mode. This is actually a shortcut for the "hibernate.hbm2ddl.auto" property. Default to "create-drop" when using an embedded database, "none" otherwise. 
  545. spring.jpa.hibernate.naming-strategy= # Naming strategy fully qualified name. 
  546. spring.jpa.open-in-view=true # Register OpenEntityManagerInViewInterceptor. Binds a JPA EntityManager to the thread for the entire processing of the request. 
  547. spring.jpa.properties.*= # Additional native properties to set on the JPA provider. 
  548. spring.jpa.show-sql=false # Enable logging of SQL statements. 
  549.  
  550. # JTA (JtaAutoConfiguration) 
  551. spring.jta.log-dir= # Transaction logs directory. 
  552.  
  553. # ATOMIKOS 
  554. spring.jta.checkpoint-interval=500 # Interval between checkpoints. 
  555. spring.jta.console-file-count=1 # Number of debug logs files that can be created. 
  556. spring.jta.console-file-limit=-1 # How many bytes can be stored at most in debug logs files. 
  557. spring.jta.console-file-name=tm.out # Debug logs file name. 
  558. spring.jta.console-log-level= # Console log level. 
  559. spring.jta.default-jta-timeout=10000 # Default timeout for JTA transactions. 
  560. spring.jta.enable-logging=true # Enable disk logging. 
  561. spring.jta.force-shutdown-on-vm-exit=false # Specify if a VM shutdown should trigger forced shutdown of the transaction core. 
  562. spring.jta.log-base-dir= # Directory in which the log files should be stored. 
  563. spring.jta.log-base-name=tmlog # Transactions log file base name. 
  564. spring.jta.max-actives=50 # Maximum number of active transactions. 
  565. spring.jta.max-timeout=300000 # Maximum timeout (in milliseconds) that can be allowed for transactions. 
  566. spring.jta.output-dir= # Directory in which to store the debug log files. 
  567. spring.jta.serial-jta-transactions=true # Specify if sub-transactions should be joined when possible. 
  568. spring.jta.service= # Transaction manager implementation that should be started. 
  569. spring.jta.threaded-two-phase-commit=true # Use different (and concurrent) threads for two-phase commit on the participating resources. 
  570. spring.jta.transaction-manager-unique-name= # Transaction manager's unique name. 
  571. spring.jta.atomikos.connectionfactory.borrow-connection-timeout=30 # Timeout, in seconds, for borrowing connections from the pool. 
  572. spring.jta.atomikos.connectionfactory.ignore-session-transacted-flag=true # Whether or not to ignore the transacted flag when creating session. 
  573. spring.jta.atomikos.connectionfactory.local-transaction-mode=false # Whether or not local transactions are desired. 
  574. spring.jta.atomikos.connectionfactory.maintenance-interval=60 # The time, in seconds, between runs of the pool's maintenance thread. 
  575. spring.jta.atomikos.connectionfactory.max-idle-time=60 # The time, in seconds, after which connections are cleaned up from the pool. 
  576. spring.jta.atomikos.connectionfactory.max-lifetime=0 # The time, in seconds, that a connection can be pooled for before being destroyed. 0 denotes no limit. 
  577. spring.jta.atomikos.connectionfactory.max-pool-size=1 # The maximum size of the pool. 
  578. spring.jta.atomikos.connectionfactory.min-pool-size=1 # The minimum size of the pool. 
  579. spring.jta.atomikos.connectionfactory.reap-timeout=0 # The reap timeout, in seconds, for borrowed connections. 0 denotes no limit. 
  580. spring.jta.atomikos.connectionfactory.unique-resource-name=jmsConnectionFactory # The unique name used to identify the resource during recovery. 
  581. spring.jta.atomikos.datasource.borrow-connection-timeout=30 # Timeout, in seconds, for borrowing connections from the pool. 
  582. spring.jta.atomikos.datasource.default-isolation-level= # Default isolation level of connections provided by the pool. 
  583. spring.jta.atomikos.datasource.login-timeout= # Timeout, in seconds, for establishing a database connection. 
  584. spring.jta.atomikos.datasource.maintenance-interval=60 # The time, in seconds, between runs of the pool's maintenance thread. 
  585. spring.jta.atomikos.datasource.max-idle-time=60 # The time, in seconds, after which connections are cleaned up from the pool. 
  586. spring.jta.atomikos.datasource.max-lifetime=0 # The time, in seconds, that a connection can be pooled for before being destroyed. 0 denotes no limit. 
  587. spring.jta.atomikos.datasource.max-pool-size=1 # The maximum size of the pool. 
  588. spring.jta.atomikos.datasource.min-pool-size=1 # The minimum size of the pool. 
  589. spring.jta.atomikos.datasource.reap-timeout=0 # The reap timeout, in seconds, for borrowed connections. 0 denotes no limit. 
  590. spring.jta.atomikos.datasource.test-query= # SQL query or statement used to validate a connection before returning it. 
  591. spring.jta.atomikos.datasource.unique-resource-name=dataSource # The unique name used to identify the resource during recovery. 
  592.  
  593. # BITRONIX 
  594. spring.jta.allow-multiple-lrc=false # Allow multiple LRC resources to be enlisted into the same transaction. 
  595. spring.jta.asynchronous2-pc=false # Enable asynchronously execution of two phase commit. 
  596. spring.jta.background-recovery-interval-seconds=60 # Interval in seconds at which to run the recovery process in the background. 
  597. spring.jta.current-node-only-recovery=true # Recover only the current node. 
  598. spring.jta.debug-zero-resource-transaction=false # Log the creation and commit call stacks of transactions executed without a single enlisted resource. 
  599. spring.jta.default-transaction-timeout=60 # Default transaction timeout in seconds. 
  600. spring.jta.disable-jmx=false # Enable JMX support. 
  601. spring.jta.exception-analyzer= # Set the fully qualified name of the exception analyzer implementation to use. 
  602. spring.jta.filter-log-status=false # Enable filtering of logs so that only mandatory logs are written. 
  603. spring.jta.force-batching-enabled=true #  Set if disk forces are batched. 
  604. spring.jta.forced-write-enabled=true # Set if logs are forced to disk. 
  605. spring.jta.graceful-shutdown-interval=60 # Maximum amount of seconds the TM will wait for transactions to get done before aborting them at shutdown time. 
  606. spring.jta.jndi-transaction-synchronization-registry-name= # JNDI name of the TransactionSynchronizationRegistry. 
  607. spring.jta.jndi-user-transaction-name= # JNDI name of the UserTransaction. 
  608. spring.jta.journal=disk # Name of the journal. Can be 'disk', 'null' or a class name. 
  609. spring.jta.log-part1-filename=btm1.tlog # Name of the first fragment of the journal. 
  610. spring.jta.log-part2-filename=btm2.tlog # Name of the second fragment of the journal. 
  611. spring.jta.max-log-size-in-mb=2 # Maximum size in megabytes of the journal fragments. 
  612. spring.jta.resource-configuration-filename= # ResourceLoader configuration file name. 
  613. spring.jta.server-id= # ASCII ID that must uniquely identify this TM instance. Default to the machine's IP address. 
  614. spring.jta.skip-corrupted-logs=false # Skip corrupted transactions log entries. 
  615. spring.jta.warn-about-zero-resource-transaction=true # Log a warning for transactions executed without a single enlisted resource. 
  616. spring.jta.bitronix.connectionfactory.acquire-increment=1 # Number of connections to create when growing the pool. 
  617. spring.jta.bitronix.connectionfactory.acquisition-interval=1 # Time, in seconds, to wait before trying to acquire a connection again after an invalid connection was acquired. 
  618. spring.jta.bitronix.connectionfactory.acquisition-timeout=30 # Timeout, in seconds, for acquiring connections from the pool. 
  619. spring.jta.bitronix.connectionfactory.allow-local-transactions=true # Whether or not the transaction manager should allow mixing XA and non-XA transactions. 
  620. spring.jta.bitronix.connectionfactory.apply-transaction-timeout=false # Whether or not the transaction timeout should be set on the XAResource when it is enlisted. 
  621. spring.jta.bitronix.connectionfactory.automatic-enlisting-enabled=true # Whether or not resources should be enlisted and delisted automatically. 
  622. spring.jta.bitronix.connectionfactory.cache-producers-consumers=true # Whether or not produces and consumers should be cached. 
  623. 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. 
  624. spring.jta.bitronix.connectionfactory.ignore-recovery-failures=false # Whether or not recovery failures should be ignored. 
  625. spring.jta.bitronix.connectionfactory.max-idle-time=60 # The time, in seconds, after which connections are cleaned up from the pool. 
  626. spring.jta.bitronix.connectionfactory.max-pool-size=10 # The maximum size of the pool. 0 denotes no limit. 
  627. spring.jta.bitronix.connectionfactory.min-pool-size=0 # The minimum size of the pool. 
  628. spring.jta.bitronix.connectionfactory.password= # The password to use to connect to the JMS provider. 
  629. 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. 
  630. spring.jta.bitronix.connectionfactory.test-connections=true # Whether or not connections should be tested when acquired from the pool. 
  631. 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). 
  632. spring.jta.bitronix.connectionfactory.unique-name=jmsConnectionFactory # The unique name used to identify the resource during recovery. 
  633. spring.jta.bitronix.connectionfactory.use-tm-join=true Whether or not TMJOIN should be used when starting XAResources. 
  634. spring.jta.bitronix.connectionfactory.user= # The user to use to connect to the JMS provider. 
  635. spring.jta.bitronix.datasource.acquire-increment=1 # Number of connections to create when growing the pool. 
  636. spring.jta.bitronix.datasource.acquisition-interval=1 # Time, in seconds, to wait before trying to acquire a connection again after an invalid connection was acquired. 
  637. spring.jta.bitronix.datasource.acquisition-timeout=30 # Timeout, in seconds, for acquiring connections from the pool. 
  638. spring.jta.bitronix.datasource.allow-local-transactions=true # Whether or not the transaction manager should allow mixing XA and non-XA transactions. 
  639. spring.jta.bitronix.datasource.apply-transaction-timeout=false # Whether or not the transaction timeout should be set on the XAResource when it is enlisted. 
  640. spring.jta.bitronix.datasource.automatic-enlisting-enabled=true # Whether or not resources should be enlisted and delisted automatically. 
  641. spring.jta.bitronix.datasource.cursor-holdability= # The default cursor holdability for connections. 
  642. 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. 
  643. spring.jta.bitronix.datasource.enable-jdbc4-connection-test= # Whether or not Connection.isValid() is called when acquiring a connection from the pool. 
  644. spring.jta.bitronix.datasource.ignore-recovery-failures=false # Whether or not recovery failures should be ignored. 
  645. spring.jta.bitronix.datasource.isolation-level= # The default isolation level for connections. 
  646. spring.jta.bitronix.datasource.local-auto-commit= # The default auto-commit mode for local transactions. 
  647. spring.jta.bitronix.datasource.login-timeout= # Timeout, in seconds, for establishing a database connection. 
  648. spring.jta.bitronix.datasource.max-idle-time=60 # The time, in seconds, after which connections are cleaned up from the pool. 
  649. spring.jta.bitronix.datasource.max-pool-size=10 # The maximum size of the pool. 0 denotes no limit. 
  650. spring.jta.bitronix.datasource.min-pool-size=0 # The minimum size of the pool. 
  651. spring.jta.bitronix.datasource.prepared-statement-cache-size=0 # The target size of the prepared statement cache. 0 disables the cache. 
  652. 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. 
  653. spring.jta.bitronix.datasource.test-query= # SQL query or statement used to validate a connection before returning it. 
  654. 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). 
  655. spring.jta.bitronix.datasource.unique-name=dataSource # The unique name used to identify the resource during recovery. 
  656. spring.jta.bitronix.datasource.use-tm-join=true Whether or not TMJOIN should be used when starting XAResources. 
  657.  
  658. # EMBEDDED MONGODB (EmbeddedMongoProperties) 
  659. spring.mongodb.embedded.features=SYNC_DELAY # Comma-separated list of features to enable. 
  660. spring.mongodb.embedded.version=2.6.10 # Version of Mongo to use. 
  661.  
  662. # REDIS (RedisProperties) 
  663. spring.redis.database=0 # Database index used by the connection factory. 
  664. spring.redis.host=localhost # Redis server host. 
  665. spring.redis.password= # Login password of the redis server. 
  666. spring.redis.pool.max-active=8 # Max number of connections that can be allocated by the pool at a given time. Use a negative value for no limit. 
  667. spring.redis.pool.max-idle=8 # Max number of "idle" connections in the pool. Use a negative value to indicate an unlimited number of idle connections. 
  668. spring.redis.pool.max-wait=-1 # Maximum amount of time (in milliseconds) a connection allocation should block before throwing an exception when the pool is exhausted. Use a negative value to block indefinitely. 
  669. spring.redis.pool.min-idle=0 # Target for the minimum number of idle connections to maintain in the pool. This setting only has an effect if it is positive. 
  670. spring.redis.port=6379 # Redis server port. 
  671. spring.redis.sentinel.master= # Name of Redis server. 
  672. spring.redis.sentinel.nodes= # Comma-separated list of host:port pairs. 
  673. spring.redis.timeout=0 # Connection timeout in milliseconds. 
  674.  
  675.  
  676. # ---------------------------------------- 
  677. # INTEGRATION PROPERTIES 
  678. # ---------------------------------------- 
  679.  
  680. # ACTIVEMQ (ActiveMQProperties) 
  681. spring.activemq.broker-url= # URL of the ActiveMQ broker. Auto-generated by default. For instance `tcp://localhost:61616` 
  682. spring.activemq.in-memory=true # Specify if the default broker URL should be in memory. Ignored if an explicit broker has been specified. 
  683. spring.activemq.password= # Login password of the broker. 
  684. spring.activemq.pooled=false # Specify if a PooledConnectionFactory should be created instead of a regular ConnectionFactory. 
  685. spring.activemq.user= # Login user of the broker. 
  686.  
  687. # ARTEMIS (ArtemisProperties) 
  688. spring.artemis.embedded.cluster-password= # Cluster password. Randomly generated on startup by default. 
  689. spring.artemis.embedded.data-directory= # Journal file directory. Not necessary if persistence is turned off. 
  690. spring.artemis.embedded.enabled=true # Enable embedded mode if the Artemis server APIs are available. 
  691. spring.artemis.embedded.persistent=false # Enable persistent store. 
  692. spring.artemis.embedded.queues= # Comma-separated list of queues to create on startup. 
  693. spring.artemis.embedded.server-id= # Server id. By default, an auto-incremented counter is used. 
  694. spring.artemis.embedded.topics= # Comma-separated list of topics to create on startup. 
  695. spring.artemis.host=localhost # Artemis broker host. 
  696. spring.artemis.mode= # Artemis deployment mode, auto-detected by default. Can be explicitly set to "native" or "embedded". 
  697. spring.artemis.port=61616 # Artemis broker port. 
  698.  
  699. # SPRING BATCH (BatchProperties) 
  700. spring.batch.initializer.enabled=true # Create the required batch tables on startup if necessary. 
  701. spring.batch.job.enabled=true # Execute all Spring Batch jobs in the context on startup. 
  702. spring.batch.job.names= # Comma-separated list of job names to execute on startup (For instance `job1,job2`). By default, all Jobs found in the context are executed. 
  703. spring.batch.schema=classpath:org/springframework/batch/core/schema-@@platform@@.sql # Path to the SQL file to use to initialize the database schema. 
  704. spring.batch.table-prefix= # Table prefix for all the batch meta-data tables. 
  705.  
  706. # HORNETQ (HornetQProperties) 
  707. spring.hornetq.embedded.cluster-password= # Cluster password. Randomly generated on startup by default. 
  708. spring.hornetq.embedded.data-directory= # Journal file directory. Not necessary if persistence is turned off. 
  709. spring.hornetq.embedded.enabled=true # Enable embedded mode if the HornetQ server APIs are available. 
  710. spring.hornetq.embedded.persistent=false # Enable persistent store. 
  711. spring.hornetq.embedded.queues= # Comma-separated list of queues to create on startup. 
  712. spring.hornetq.embedded.server-id= # Server id. By default, an auto-incremented counter is used. 
  713. spring.hornetq.embedded.topics= # Comma-separated list of topics to create on startup. 
  714. spring.hornetq.host=localhost # HornetQ broker host. 
  715. spring.hornetq.mode= # HornetQ deployment mode, auto-detected by default. Can be explicitly set to "native" or "embedded". 
  716. spring.hornetq.port=5445 # HornetQ broker port. 
  717.  
  718. # JMS (JmsProperties) 
  719. spring.jms.jndi-name= # Connection factory JNDI name. When set, takes precedence to others connection factory auto-configurations. 
  720. spring.jms.listener.acknowledge-mode= # Acknowledge mode of the container. By default, the listener is transacted with automatic acknowledgment. 
  721. spring.jms.listener.auto-startup=true # Start the container automatically on startup. 
  722. spring.jms.listener.concurrency= # Minimum number of concurrent consumers. 
  723. spring.jms.listener.max-concurrency= # Maximum number of concurrent consumers. 
  724. spring.jms.pub-sub-domain=false # Specify if the default destination type is topic. 
  725.  
  726. # RABBIT (RabbitProperties) 
  727. spring.rabbitmq.addresses= # Comma-separated list of addresses to which the client should connect to. 
  728. spring.rabbitmq.dynamic=true # Create an AmqpAdmin bean. 
  729. spring.rabbitmq.host=localhost # RabbitMQ host. 
  730. spring.rabbitmq.listener.acknowledge-mode= # Acknowledge mode of container. 
  731. spring.rabbitmq.listener.auto-startup=true # Start the container automatically on startup. 
  732. spring.rabbitmq.listener.concurrency= # Minimum number of consumers. 
  733. spring.rabbitmq.listener.max-concurrency= # Maximum number of consumers. 
  734. spring.rabbitmq.listener.prefetch= # Number of messages to be handled in a single request. It should be greater than or equal to the transaction size (if used). 
  735. spring.rabbitmq.listener.transaction-size= # Number of messages to be processed in a transaction. For best results it should be less than or equal to the prefetch count. 
  736. spring.rabbitmq.password= # Login to authenticate against the broker. 
  737. spring.rabbitmq.port=5672 # RabbitMQ port. 
  738. spring.rabbitmq.requested-heartbeat= # Requested heartbeat timeout, in seconds; zero for none. 
  739. spring.rabbitmq.ssl.enabled=false # Enable SSL support. 
  740. spring.rabbitmq.ssl.key-store= # Path to the key store that holds the SSL certificate. 
  741. spring.rabbitmq.ssl.key-store-password= # Password used to access the key store. 
  742. spring.rabbitmq.ssl.trust-store= # Trust store that holds SSL certificates. 
  743. spring.rabbitmq.ssl.trust-store-password= # Password used to access the trust store. 
  744. spring.rabbitmq.username= # Login user to authenticate to the broker. 
  745. spring.rabbitmq.virtual-host= # Virtual host to use when connecting to the broker. 
  746.  
  747.  
  748. # ---------------------------------------- 
  749. # ACTUATOR PROPERTIES 
  750. # ---------------------------------------- 
  751.  
  752. # ENDPOINTS (AbstractEndpoint subclasses) 
  753. endpoints.enabled=true # Enable endpoints. 
  754. endpoints.sensitive= # Default endpoint sensitive setting. 
  755. endpoints.actuator.enabled=true # Enable the endpoint. 
  756. endpoints.actuator.path= # Endpoint URL path. 
  757. endpoints.actuator.sensitive=false # Enable security on the endpoint. 
  758. endpoints.autoconfig.enabled= # Enable the endpoint. 
  759. endpoints.autoconfig.id= # Endpoint identifier. 
  760. endpoints.autoconfig.sensitive= # Mark if the endpoint exposes sensitive information. 
  761. endpoints.beans.enabled= # Enable the endpoint. 
  762. endpoints.beans.id= # Endpoint identifier. 
  763. endpoints.beans.sensitive= # Mark if the endpoint exposes sensitive information. 
  764. endpoints.configprops.enabled= # Enable the endpoint. 
  765. endpoints.configprops.id= # Endpoint identifier. 
  766. endpoints.configprops.keys-to-sanitize=password,secret,key,.*credentials.*,vcap_services # Keys that should be sanitized. Keys can be simple strings that the property ends with or regex expressions. 
  767. endpoints.configprops.sensitive= # Mark if the endpoint exposes sensitive information. 
  768. endpoints.docs.curies.enabled=false # Enable the curie generation. 
  769. endpoints.docs.enabled=true # Enable actuator docs endpoint. 
  770. endpoints.docs.path=/docs # 
  771. endpoints.docs.sensitive=false # 
  772. endpoints.dump.enabled= # Enable the endpoint. 
  773. endpoints.dump.id= # Endpoint identifier. 
  774. endpoints.dump.sensitive= # Mark if the endpoint exposes sensitive information. 
  775. endpoints.env.enabled= # Enable the endpoint. 
  776. endpoints.env.id= # Endpoint identifier. 
  777. endpoints.env.keys-to-sanitize=password,secret,key,.*credentials.*,vcap_services # Keys that should be sanitized. Keys can be simple strings that the property ends with or regex expressions. 
  778. endpoints.env.sensitive= # Mark if the endpoint exposes sensitive information. 
  779. endpoints.flyway.enabled= # Enable the endpoint. 
  780. endpoints.flyway.id= # Endpoint identifier. 
  781. endpoints.flyway.sensitive= # Mark if the endpoint exposes sensitive information. 
  782. endpoints.health.enabled= # Enable the endpoint. 
  783. endpoints.health.id= # Endpoint identifier. 
  784. endpoints.health.mapping.*= # Mapping of health statuses to HttpStatus codes. By default, registered health statuses map to sensible defaults (i.e. UP maps to 200). 
  785. endpoints.health.sensitive= # Mark if the endpoint exposes sensitive information. 
  786. endpoints.health.time-to-live=1000 # Time to live for cached result, in milliseconds. 
  787. endpoints.info.enabled= # Enable the endpoint. 
  788. endpoints.info.id= # Endpoint identifier. 
  789. endpoints.info.sensitive= # Mark if the endpoint exposes sensitive information. 
  790. endpoints.jolokia.enabled=true # Enable Jolokia endpoint. 
  791. endpoints.jolokia.path=/jolokia # Endpoint URL path. 
  792. endpoints.jolokia.sensitive=true # Enable security on the endpoint. 
  793. endpoints.liquibase.enabled= # Enable the endpoint. 
  794. endpoints.liquibase.id= # Endpoint identifier. 
  795. endpoints.liquibase.sensitive= # Mark if the endpoint exposes sensitive information. 
  796. endpoints.logfile.enabled=true # Enable the endpoint. 
  797. endpoints.logfile.path=/logfile # Endpoint URL path. 
  798. endpoints.logfile.sensitive=true # Enable security on the endpoint. 
  799. endpoints.mappings.enabled= # Enable the endpoint. 
  800. endpoints.mappings.id= # Endpoint identifier. 
  801. endpoints.mappings.sensitive= # Mark if the endpoint exposes sensitive information. 
  802. endpoints.metrics.enabled= # Enable the endpoint. 
  803. endpoints.metrics.filter.enabled=true # Enable the metrics servlet filter. 
  804. endpoints.metrics.id= # Endpoint identifier. 
  805. endpoints.metrics.sensitive= # Mark if the endpoint exposes sensitive information. 
  806. endpoints.shutdown.enabled= # Enable the endpoint. 
  807. endpoints.shutdown.id= # Endpoint identifier. 
  808. endpoints.shutdown.sensitive= # Mark if the endpoint exposes sensitive information. 
  809. endpoints.trace.enabled= # Enable the endpoint. 
  810. endpoints.trace.id= # Endpoint identifier. 
  811. endpoints.trace.sensitive= # Mark if the endpoint exposes sensitive information. 
  812.  
  813. # ENDPOINTS CORS CONFIGURATION (EndpointCorsProperties) 
  814. endpoints.cors.allow-credentials= # Set whether credentials are supported. When not set, credentials are not supported. 
  815. endpoints.cors.allowed-headers= # Comma-separated list of headers to allow in a request. '*' allows all headers. 
  816. endpoints.cors.allowed-methods=GET # Comma-separated list of methods to allow. '*' allows all methods. 
  817. endpoints.cors.allowed-origins= # Comma-separated list of origins to allow. '*' allows all origins. When not set, CORS support is disabled. 
  818. endpoints.cors.exposed-headers= # Comma-separated list of headers to include in a response. 
  819. endpoints.cors.max-age=1800 # How long, in seconds, the response from a pre-flight request can be cached by clients. 
  820.  
  821. # JMX ENDPOINT (EndpointMBeanExportProperties) 
  822. endpoints.jmx.domain= # JMX domain name. Initialized with the value of 'spring.jmx.default-domain' if set. 
  823. endpoints.jmx.enabled=true # Enable JMX export of all endpoints. 
  824. endpoints.jmx.static-names= # Additional static properties to append to all ObjectNames of MBeans representing Endpoints. 
  825. endpoints.jmx.unique-names=false # Ensure that ObjectNames are modified in case of conflict. 
  826.  
  827. # JOLOKIA (JolokiaProperties) 
  828. jolokia.config.*= # See Jolokia manual 
  829.  
  830. # MANAGEMENT HTTP SERVER (ManagementServerProperties) 
  831. management.add-application-context-header=true # Add the "X-Application-Context" HTTP header in each response. 
  832. management.address= # Network address that the management endpoints should bind to. 
  833. management.context-path= # Management endpoint context-path. For instance `/actuator` 
  834. management.port= # Management endpoint HTTP port. Use the same port as the application by default. 
  835. management.security.enabled=true # Enable security. 
  836. management.security.role=ADMIN # Role required to access the management endpoint. 
  837. management.security.sessions=stateless # Session creating policy to use (always, never, if_required, stateless). 
  838.  
  839. # HEALTH INDICATORS (previously health.*) 
  840. management.health.db.enabled=true # Enable database health check. 
  841. management.health.defaults.enabled=true # Enable default health indicators. 
  842. management.health.diskspace.enabled=true # Enable disk space health check. 
  843. management.health.diskspace.path= # Path used to compute the available disk space. 
  844. management.health.diskspace.threshold=0 # Minimum disk space that should be available, in bytes. 
  845. management.health.elasticsearch.enabled=true # Enable elasticsearch health check. 
  846. management.health.elasticsearch.indices= # Comma-separated index names. 
  847. management.health.elasticsearch.response-timeout=100 # The time, in milliseconds, to wait for a response from the cluster. 
  848. management.health.jms.enabled=true # Enable JMS health check. 
  849. management.health.mail.enabled=true # Enable Mail health check. 
  850. management.health.mongo.enabled=true # Enable MongoDB health check. 
  851. management.health.rabbit.enabled=true # Enable RabbitMQ health check. 
  852. management.health.redis.enabled=true # Enable Redis health check. 
  853. management.health.solr.enabled=true # Enable Solr health check. 
  854. management.health.status.order=DOWN, OUT_OF_SERVICE, UNKNOWN, UP # Comma-separated list of health statuses in order of severity. 
  855.  
  856. # TRACING ((TraceProperties) 
  857. management.trace.include=request-headers,response-headers,errors # Items to be included in the trace. 
  858.  
  859. # REMOTE SHELL 
  860. shell.auth=simple # Authentication type. Auto-detected according to the environment. 
  861. shell.auth.jaas.domain=my-domain # JAAS domain. 
  862. shell.auth.key.path= # Path to the authentication key. This should point to a valid ".pem" file. 
  863. shell.auth.simple.user.name=user # Login user. 
  864. shell.auth.simple.user.password= # Login password. 
  865. shell.auth.spring.roles=ADMIN # Comma-separated list of required roles to login to the CRaSH console. 
  866. shell.command-path-patterns=classpath*:/commands/**,classpath*:/crash/commands/** # Patterns to use to look for commands. 
  867. shell.command-refresh-interval=-1 # Scan for changes and update the command if necessary (in seconds). 
  868. shell.config-path-patterns=classpath*:/crash/* # Patterns to use to look for configurations. 
  869. shell.disabled-commands=jpa*,jdbc*,jndi* # Comma-separated list of commands to disable. 
  870. shell.disabled-plugins= # Comma-separated list of plugins to disable. Certain plugins are disabled by default based on the environment. 
  871. shell.ssh.auth-timeout = # Number of milliseconds after user will be prompted to login again. 
  872. shell.ssh.enabled=true # Enable CRaSH SSH support. 
  873. shell.ssh.idle-timeout = # Number of milliseconds after which unused connections are closed. 
  874. shell.ssh.key-path= # Path to the SSH server key. 
  875. shell.ssh.port=2000 # SSH port. 
  876. shell.telnet.enabled=false # Enable CRaSH telnet support. Enabled by default if the TelnetPlugin is  available. 
  877. shell.telnet.port=5000 # Telnet port. 
  878.  
  879. # GIT INFO 
  880. spring.git.properties= # Resource reference to a generated git info properties file. 
  881.  
  882. # METRICS EXPORT (MetricExportProperties) 
  883. spring.metrics.export.aggregate.key-pattern= # Pattern that tells the aggregator what to do with the keys from the source repository. 
  884. spring.metrics.export.aggregate.prefix= # Prefix for global repository if active. 
  885. spring.metrics.export.delay-millis=5000 # Delay in milliseconds between export ticks. Metrics are exported to external sources on a schedule with this delay. 
  886. spring.metrics.export.enabled=true # Flag to enable metric export (assuming a MetricWriter is available). 
  887. spring.metrics.export.excludes= # List of patterns for metric names to exclude. Applied after the includes. 
  888. spring.metrics.export.includes= # List of patterns for metric names to include. 
  889. spring.metrics.export.redis.key=keys.spring.metrics # Key for redis repository export (if active). 
  890. spring.metrics.export.redis.prefix=spring.metrics # Prefix for redis repository if active. 
  891. spring.metrics.export.send-latest= # Flag to switch off any available optimizations based on not exporting unchanged metric values. 
  892. spring.metrics.export.statsd.host= # Host of a statsd server to receive exported metrics. 
  893. spring.metrics.export.statsd.port=8125 # Port of a statsd server to receive exported metrics. 
  894. spring.metrics.export.statsd.prefix= # Prefix for statsd exported metrics. 
  895. spring.metrics.export.triggers.*= # Specific trigger properties per MetricWriter bean name. 
  896.  
  897.  
  898. # ---------------------------------------- 
  899. # DEVTOOLS PROPERTIES 
  900. # ---------------------------------------- 
  901.  
  902. # DEVTOOLS (DevToolsProperties) 
  903. spring.devtools.livereload.enabled=true # Enable a livereload.com compatible server. 
  904. spring.devtools.livereload.port=35729 # Server port. 
  905. spring.devtools.restart.additional-exclude= # Additional patterns that should be excluded from triggering a full restart. 
  906. spring.devtools.restart.additional-paths= # Additional paths to watch for changes. 
  907. spring.devtools.restart.enabled=true # Enable automatic restart. 
  908. 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.  
  909. spring.devtools.restart.poll-interval=1000 # Amount of time (in milliseconds) to wait between polling for classpath changes.  
  910. spring.devtools.restart.quiet-period=400 # Amount of quiet time (in milliseconds) required without any classpath changes before a restart is triggered.  
  911. 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.  
  912.   
  913. # REMOTE DEVTOOLS (RemoteDevToolsProperties)  
  914. spring.devtools.remote.context-path=/.~~spring-boot!~ # Context path used to handle the remote connection.  
  915. spring.devtools.remote.debug.enabled=true # Enable remote debug support.  
  916. spring.devtools.remote.debug.local-port=8000 # Local remote debug server port.  
  917. spring.devtools.remote.proxy.host= # The host of the proxy to use to connect to the remote application.  
  918. spring.devtools.remote.proxy.port= # The port of the proxy to use to connect to the remote application.  
  919. spring.devtools.remote.restart.enabled=true # Enable remote restart.  
  920. spring.devtools.remote.secret= # A shared secret required to establish a connection (required to enable remote support).  
  921. spring.devtools.remote.secret-header-name=X-AUTH-TOKEN # HTTP header used to transfer the shared secret.
相關文章
相關標籤/搜索