ExtJs大比拼JQuery:Dom文档操作

Springboot极大的简化了Spring框架的使用配置流程,在核心配置文件里,几乎可以完成所有的配置工作,而且相比XML文件方式的配置,更加简洁明了。下面是官网给出的最全配置清单:

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

猜你喜欢

转载自blog.csdn.net/u010598111/article/details/80860336