1. flyway.baseline-description
  2. 执行基线时标记已有Schema的描述。
  3. flyway.baseline-on-migrate
  4. 在没有元数据表的情况下,针对非空Schema执行迁移时是否自动调用基线。(默认值:
  5. false 。)
  6. flyway.baseline-version
  7. 执行基线时用来标记已有Schema的版本。(默认值: 1 。)
  8. flyway.check-location
  9. 检查迁移脚本所在的位置是否存在。(默认值: false 。)
  10. flyway.clean-on-validation-error
  11. 在验证错误时,是否自动执行清理。(默认值: false 。)
  12. flyway.enabled
  13. 开启Flyway。(默认值: true 。)
  14. flyway.encoding
  15. 设置SQL迁移文件的编码。(默认值: UTF-8 。)
  16. flyway.ignore-failed-future-migration
  17. 在读元数据表时,是否忽略失败的后续迁移。(默认值: false 。)
  18. flyway.init-sqls
  19. 获取连接后立即执行初始化的SQL语句。
  20. flyway.locations
  21. 迁移脚本的位置。(默认值: db/migration 。)
  22. flyway.out-of-order
  23. 是否允许乱序(out of order)迁移。(默认值: false 。)
  24. flyway.password
  25. 待迁移数据库的登录密码。
  26. flyway.placeholder-prefix
  27. 设置每个占位符的前缀。(默认值: ${ 。)
  28. flyway.placeholder-replacement
  29. 是否要替换占位符。(默认值: true 。)
  30. flyway.placeholder-suffix
  31. 设置占位符的后缀。(默认值: } 。)
  32. flyway.placeholders.[placeholder name]
  33. 设置占位符的值。
  34. flyway.schemas
  35. Flyway管理的Schema列表,区分大小写。默认连接对应的默认Schema
  36. flyway.sql-migration-prefix
  37. SQL迁移的文件名前缀。(默认值: V 。)
  38. flyway.sql-migration-separator
  39. SQL迁移的文件名分隔符。(默认值: __ 。)
  40. flyway.sql-migration-suffix
  41. SQL迁移的文件名后缀。(默认值: .sql 。)
  42. flyway.table
  43. Flyway使用的Schema元数据表名称。(默认值: schema_version 。)
  44. flyway.target
  45. Flyway要迁移到的目标版本号。(默认最新版本。)
  46. flyway.url
  47. 待迁移的数据库的JDBC URL。如果没有设置,就使用配置的主数据源。
  48. flyway.user
  49. 待迁移数据库的登录用户。
  50. flyway.validate-on-migrate
  51. 在运行迁移时是否要自动验证。(默认值: true 。)
  52. liquibase.change-log
  53. 变更日志配置路径。(默认值: classpath:/db/changelog/db.changelog-master.
  54. yaml 。)
  55. liquibase.check-change-log-location
  56. 检查变更日志位置是否存在。(默认值: true 。)
  57. liquibase.contexts
  58. 要使用的运行时上下文列表,用逗号分隔。
  59. liquibase.default-schema
  60. 默认的数据库Schema
  61. liquibase.drop-first
  62. 先删除数据库Schema。(默认值: false 。)
  63. liquibase.enabled
  64. 开启Liquibase支持。(默认值: true 。)
  65. liquibase.password
  66. 待迁移数据库的登录密码。
  67. liquibase.url
  68. 待迁移数据库的JDBC URL。如果没有设置,就使用配置的主数据源。
  69. liquibase.user
  70. 待迁移数据库的登录用户。
  71. multipart.enabled
  72. 开启分段(multi-part)上传支持。(默认值: true 。)
  73. multipart.file-size-threshold
  74. 大于该阈值的文件会写到磁盘上。这里的值可以使用 MB KB 后缀来表明是兆字节还是千
  75. 字节。(默认值: 0 。)
  76. multipart.location
  77. 上传文件的中间存放位置。
  78. multipart.max-file-size
  79. 最大文件大小。这里的值可以使用 MB KB 后缀来表明是兆字节还是千字节。(默认值:
  80. 1MB 。)
  81. multipart.max-request-size
  82. 最大请求大小。这里的值可以使用 MB KB 后缀来表明是兆字节还是千字节。(默认值:
  83. 10MB 。)
  84. security.basic.authorize-mode
  85. 要运用的安全授权模式。
  86. security.basic.enabled
  87. 开启基本身份验证。(默认值: true 。)
  88. security.basic.path
  89. 要保护的路径,用逗号分隔。(默认值: ["/**"] 。)
  90. security.basic.realm
  91. HTTP基本领域(realm)用户名。(默认值: Spring 。)
  92. security.enable-csrf
  93. 开启跨站请求伪造(cross-site request forgery)支持。(默认值: false 。)
  94. security.filter-order
  95. 安全过滤器链顺序。(默认值: 0 。)
  96. security.headers.cache
  97. 开启缓存控制HTTP头。(默认值: false 。)
  98. security.headers.content-type
  99. 开启 X-Content-Type-Options 头。(默认值: false 。)
  100. security.headers.frame
  101. 开启 X-Frame-Options 头。(默认值: false 。)
  102. security.headers.hsts
  103. HTTP Strict Transport SecurityHSTS)模式(可设置为 none domain all )。
  104. security.headers.xss
  105. 开启跨站脚本(cross-site scripting)保护。(默认值: false 。)
  106. security.ignored
  107. 要从默认保护路径中排除掉的路径列表,用逗号分隔。
  108. security.oauth2.client.access-token-uri
  109. 用于获取访问令牌的URI
  110. security.oauth2.client.access-token-validity-seconds
  111. 在令牌过期前多长时间验证一次。
  112. security.oauth2.client.additional-information. [key]
  113. 设置额外的信息,令牌授予者会将其添加到令牌里。
  114. security.oauth2.client.authentication-scheme
  115. 传送持有人令牌(bearer token)的方法,包括 form header none query ,可选其一。
  116. (默认值: header 。)
  117. security.oauth2.client.authorities
  118. 要赋予经授权客户端的权限。
  119. security.oauth2.client.authorized-grant-types
  120. 客户端可用的授予类型。
  121. security.oauth2.client.auto-approve-scopes
  122. 客户端自动通过的范围。
  123. security.oauth2.client.client-authentication-scheme
  124. 在客户端身份认证时用于传输身份认证信息的方法,包括 form header none query
  125. 可选其一。(默认值: header 。)
  126. security.oauth2.client.client-id
  127. OAuth2客户端ID
  128. security.oauth2.client.client-secret
  129. OAuth2客户端密钥。默认随机生成。
  130. security.oauth2.client.grant-type
  131. 获得资源访问令牌的授予类型。
  132. security.oauth2.client.id
  133. 应用程序的客户端ID
  134. security.oauth2.client.pre-established-redirect-uri
  135. 与服务器预先建立好的重定向URI。如果设置了该属性,用户授权请求中的重定向URI
  136. 被忽略,因为服务器不需要它。
  137. security.oauth2.client.refresh-token-validity-seconds
  138. 刷新令牌在过期前的有效时间。
  139. security.oauth2.client.registered-redirect-uri
  140. 客户端里注册的重定向URI,用逗号分隔。
  141. security.oauth2.client.resource-ids
  142. 与客户端关联的资源ID,用逗号分隔。
  143. security.oauth2.client.scope
  144. 客户端分配的域。
  145. security.oauth2.client.token-name
  146. 令牌名称。
  147. security.oauth2.client.use-current-uri
  148. 请求里的当前URI (如果设置了的话)是否优先于预建立的重定向URI。(默认值: true 。)
  149. security.oauth2.client.user-authorization-uri
  150. 用户要重定向以便授访问令牌的URI
  151. security.oauth2.resource.id
  152. 资源的标识符。
  153. security.oauth2.resource.jwt.key-uri
  154. JWT令牌的URI。如果没有配置 key-value ,使用的又是公钥,那么可以对这个属性进行
  155. 设置。
  156. security.oauth2.resource.jwt.key-value
  157. JWT令牌的验证密钥,可以是对称密钥,也可以是PEM编码的RSA公钥。如果没有配置
  158. 这个属性,那么可以用 key-uri 代替。
  159. security.oauth2.resource.prefer-token-info
  160. 使用令牌的信息,设置为 false 则使用用户信息。(默认值: true 。)
  161. security.oauth2.resource.service-id
  162. 服务ID。(默认值: resource 。)
  163. security.oauth2.resource.token-info-uri
  164. 令牌解码端点URI
  165. security.oauth2.resource.token-type
  166. 在使用 userInfoUri 时发送的令牌类型。
  167. security.oauth2.resource.user-info-uri
  168. 用户端点的URI
  169. security.oauth2.sso.filter-order
  170. 在没有显式提供 WebSecurityConfigurerAdapter 时应用的过滤器顺序,在 Web-
  171. SecurityConfigurerAdapter 里也可以指定顺序。
  172. security.oauth2.sso.login-path
  173. 登录页的路径——登录页是触发重定向到OAuth2授权服务器的页面。(默认值:
  174. /login 。)
  175. security.require-ssl
  176. 对所有请求开启安全通道。(默认值: false 。)
  177. security.sessions
  178. 创建会话使用的策略。(可选值包括: always never if_required stateless 。)
  179. security.user.name
  180. 默认的用户名。(默认值: user 。)
  181. security.user.password
  182. 默认用户的密码。
  183. security.user.role
  184. 赋予默认用户的角色。
  185. server.address
  186. 服务器绑定的网络地址。
  187. server.compression.enabled
  188. 是否要开启压缩。(默认值: false 。)
  189. server.compression.excluded-user-agents
  190. 用逗号分割的列表,标明哪些用户代理不该开启压缩。(可选值包括: text/html
  191. text/xml text/plain text/css
  192. server.compression.mime-types
  193. 要开启压缩的MIME类型列表,用逗号分割。
  194. server.compression.min-response-size
  195. 要执行压缩的最小响应大小(单位为字节)。(默认值: 2048 。)
  196. server.context-parameters.[param name]
  197. 设置一个Servlet上下文参数。
  198. server.context-path
  199. 应用程序的上下文路径。
  200. server.display-name
  201. 应用程序的显示名称。(默认值: application 。)
  202. server.jsp-servlet.class-name
  203. 针对JSP使用的Servlet类名。(默认值: org.apache.jasper.servlet.JspServlet 。)
  204. server.jsp-servlet.init-parameters.[param name]
  205. 设置JSP Servlet初始化参数。
  206. server.jsp-servlet.registered
  207. JSP Servlet是否要注册到内嵌的Servlet容器里。(默认值: true 。)
  208. server.port
  209. 服务器的HTTP端口。
  210. server.servlet-path
  211. 主分发器Servlet的路径。(默认值: / 。)
  212. server.session.cookie.comment
  213. 会话Cookie的注释。
  214. server.session.cookie.domain
  215. 会话Cookie的域。
  216. server.session.cookie.http-only
  217. 会话Cookie HttpOnly 标记。
  218. server.session.cookie.max-age
  219. 会话Cookie的最大保存时间,单位为秒。
  220. server.session.cookie.name
  221. 会话Cookie名称。
  222. server.session.cookie.path
  223. 会话Cookie的路径。
  224. server.session.cookie.secure
  225. 会话Cookie Secure 标记。
  226. server.session.persistent
  227. 是否在两次重启间持久化会话数据。(默认值: false 。)
  228. server.session.timeout
  229. 会话超时时间,单位为秒。
  230. server.session.tracking-modes
  231. 会话跟踪模式(包括: cookie url ssl ,可选其一或若干)。
  232. server.ssl.ciphers
  233. 支持的SSL加密算法。
  234. server.ssl.client-auth
  235. 客户端授权是主动想( want )还是被动需要( need )。要有一个TrustStore
  236. server.ssl.enabled
  237. 是否开启SSL。(默认值: true 。)
  238. server.ssl.key-alias
  239. KeyStore里标识密钥的别名。
  240. server.ssl.key-password
  241. KeyStore里用于访问密钥的密码。
  242. server.ssl.key-store
  243. 持有SSL证书的KeyStore的路径(通常指向一个.jks文件)。
  244. server.ssl.key-store-password
  245. 访问KeyStore时使用的密钥。
  246. server.ssl.key-store-provider
  247. KeyStore的提供者。
  248. server.ssl.key-store-type
  249. KeyStore的类型。
  250. server.ssl.protocol
  251. 要使用的SSL协议。(默认值: TLS 。)
  252. server.ssl.trust-store
  253. 持有SSL证书的TrustStore
  254. server.ssl.trust-store-password
  255. 用于访问TrustStore的密码。
  256. server.ssl.trust-store-provider
  257. TrustStore的提供者。
  258. server.ssl.trust-store-type
  259. TrustStore的类型。
  260. server.tomcat.access-log-enabled
  261. 是否开启访问日志。(默认值: false 。)
  262. server.tomcat.access-log-pattern
  263. 访问日志的格式。(默认值: common 。)
  264. server.tomcat.accesslog.directory
  265. 创建日志文件的目录。可以相对于Tomcat基础目录,也可以是绝对路径。(默认值: logs 。)
  266. server.tomcat.accesslog.enabled
  267. 开启访问日志。(默认值: false 。)
  268. server.tomcat.accesslog.pattern
  269. 访问日志的格式。(默认值: common 。)
  270. server.tomcat.accesslog.prefix
  271. 日志文件名的前缀。(默认值: access_log 。)
  272. server.tomcat.accesslog.suffix
  273. 日志文件名的后缀。(默认值: .log 。)
  274. server.tomcat.background-processor-delay
  275. 两次调用 backgroundProcess 方法之间的延迟时间,单位为秒。(默认值: 30 。)
  276. server.tomcat.basedir
  277. Tomcat的基础目录。如果没有指定则使用一个临时目录。
  278. server.tomcat.internal-proxies
  279. 匹配可信任代理服务器的正则表达式。默认值:“10.\d{1,3}.\d{1,3}. \d{1,3}|192.168.\d
  280. {1,3}.\d{1,3}| 169.254.\d{1,3}.\d{1,3}| 127.\d{1,3}.\d{1,3}.\d{1,3}|172.1[6-9]{1}.\d{1,3}
  281. .\d{1,3}| 172.2[0-9]{1}.\d{1,3}.\d{1,3}|172.3[0-1]{1}.\d{1,3}.\d{1,3}”。
  282. server.tomcat.max-http-header-size
  283. HTTP消息头的最大字节数。(默认值: 0 。)
  284. server.tomcat.max-threads
  285. 最大工作线程数。(默认值: 0 。)
  286. server.tomcat.port-header
  287. 用来覆盖原始端口值的HTTP头的名字。
  288. server.tomcat.protocol-header
  289. 持有流入协议的HTTP头,通常的名字是 X-Forwarded-Proto 。仅当设置了 remoteIp-
  290. Header 的时候,它会被配置为 RemoteIpValve
  291. server.tomcat.protocol-header-https-value
  292. 协议头的值,表明流入请求使用了SSL。(默认值: https 。)
  293. server.tomcat.remote-ip-header
  294. 表明从哪个HTTP头里可以提取到远端IP。仅当设置了 remoteIpHeader 的时候,它会被
  295. 配置为 RemoteIpValve
  296. server.tomcat.uri-encoding
  297. 用来解码URI的字符编码。
  298. server.undertow.access-log-dir
  299. Undertow的访问日志目录。(默认值: logs 。)
  300. server.undertow.access-log-enabled
  301. 是否开启访问日志。(默认值: false 。)
  302. server.undertow.access-log-pattern
  303. 访问日志的格式。(默认值: common 。)
  304. server.undertow.accesslog.dir
  305. Undertow访问日志目录。
  306. server.undertow.accesslog.enabled
  307. 开启访问日志。(默认值: false 。)
  308. server.undertow.accesslog.pattern
  309. 访问日志的格式。(默认值: common 。)
  310. server.undertow.buffer-size
  311. 每个缓冲的字节数。
  312. server.undertow.buffers-per-region
  313. 每个区(region)的缓冲数。
  314. server.undertow.direct-buffers
  315. Java堆外分配缓冲。
  316. server.undertow.io-threads
  317. 要为工作线程创建的I/O线程数。
  318. server.undertow.worker-threads
  319. 工作线程数。
  320. spring.activemq.broker-url
  321. ActiveMQ代理的URL。默认自动生成。
  322. spring.activemq.in-memory
  323. 标明默认代理URL是否应该在内存里。如果指定了一个显式的代理则忽略该属性。(默认
  324. 值: true 。)
  325. spring.activemq.password
  326. 代理的登录密码。
  327. spring.activemq.pooled
  328. 标明是否要创建一个 PooledConnectionFactory 来代替普通的 ConnectionFactory
  329. (默认值: false 。)
  330. spring.activemq.user
  331. 代理的登录用户名。
  332. spring.aop.auto
  333. 添加 @EnableAspectJAutoProxy 。(默认值: true 。)
  334. spring.aop.proxy-target-class
  335. 是否要创建基于子类(即Code Generation LibraryCGLIB)的代理来代替基于Java接口
  336. 的代理,前者为 true ,后者为 false 。(默认值: false 。)
  337. spring.application.admin.enabled
  338. 开启应用程序的管理功能。(默认值: false 。)
  339. spring.application.admin.jmx-name
  340. 应用程序管理MBeanJMX名称。(默认值: org.springframework.boot:type=
  341. Admin,name=SpringApplication 。)
  342. spring.artemis.embedded.cluster-password
  343. 集群密码。默认在启动时随机生成。
  344. spring.artemis.embedded.data-directory
  345. Journal文件目录。如果关闭了持久化则不需要该属性。
  346. spring.artemis.embedded.enabled
  347. 如果有Artemis服务器API则开启嵌入模式。(默认值: true 。)
  348. spring.artemis.embedded.persistent
  349. 开启持久化存储。(默认值: false 。)
  350. spring.artemis.embedded.queues
  351. 要在启动时创建的队列列表,用逗号分隔。(默认值: [] 。)
  352. spring.artemis.embedded.server-id
  353. 服务器ID。默认情况下,使用一个自动递增的计数器。(默认值: 0 。)
  354. spring.artemis.embedded.topics
  355. 在启动时要创建的主题列表,用逗号分隔。(默认值: [] 。)
  356. spring.artemis.host
  357. Artemis代理主机。(默认值: localhost 。)
  358. spring.artemis.mode
  359. Artemis部署模式,默认自动检测。可以显式地设置为 native embedded
  360. spring.artemis.port
  361. Artemis代理端口。(默认值: 61616 。)
  362. spring.autoconfigure.exclude
  363. 要排除的自动配置类。
  364. spring.batch.initializer.enabled
  365. 如果有必要的话,在启动时创建需要的批处理表。(默认值: true 。)
  366. spring.batch.job.enabled
  367. 在启动时执行上下文里的所有Spring Batch任务。(默认值: true 。)
  368. spring.batch.job.names
  369. 启动时要执行的任务名列表,用逗号分隔。默认在上下文里找到的所有任务都会执行。
  370. spring.batch.schema
  371. Schema SQL 。( classpath:org/
  372. springframework/batch/core/schema-@@platform@@.sql 。)
  373. spring.batch.table-prefix
  374. 所有批处理元数据表的表前缀。
  375. spring.cache.cache-names
  376. 如果底层缓存管理器支持缓存名的话,可以在这里指定要创建的缓存名列表,用逗号分
  377. 隔。通常这会禁用运行时创建其他额外缓存的能力。
  378. spring.cache.ehcache.config
  379. 用来初始化EhCache的配置文件的位置。
  380. spring.cache.guava.spec
  381. 用来创建缓存的Spec。要获得有关Spec格式的详细情况,可以查看 CacheBuilderSpec
  382. spring.cache.hazelcast.config
  383. 用来初始化Hazelcast的配置文件的位置。
  384. spring.cache.infinispan.config
  385. 用来初始化Infinispan的配置文件的位置。
  386. spring.cache.jcache.config
  387. 用来初始化缓存管理器的配置文件的位置。配置文件依赖于底层的缓存实现。
  388. spring.cache.jcache.provider
  389. CachingProvider 实现的全限定类名,用来获取JSR-107兼容的缓存管理器,仅在
  390. Classpath里有不只一个JSR-107实现时才需要这个属性。
  391. spring.cache.type
  392. 缓存类型,默认根据环境自动检测。
  393. spring.dao.exceptiontranslation.enabled
  394. 打开 PersistenceExceptionTranslationPostProcessor 。(默认值: true 。)
  395. spring.data.elasticsearch.cluster-name
  396. Elasticsearch集群名。(默认值: elasticsearch
  397. spring.data.elasticsearch.cluster-nodes
  398. 集群节点地址列表,用逗号分隔。如果没有指定,就启动一个客户端节点。
  399. spring.data.elasticsearch.properties
  400. 用来配置客户端的额外属性。
  401. spring.data.elasticsearch.repositories.enabled
  402. 开启Elasticsearch仓库。(默认值: true 。)
  403. spring.data.jpa.repositories.enabled
  404. 开启JPA仓库。(默认值: true 。)
  405. spring.data.mongodb.authentication-database
  406. 身份认证数据库名。
  407. spring.data.mongodb.database
  408. 数据库名。
  409. spring.data.mongodb.field-naming-strategy
  410. 要使用的 FieldNamingStrategy 的全限定名。
  411. spring.data.mongodb.grid-fs-database
  412. GridFS数据库名称。
  413. spring.data.mongodb.host
  414. Mongo服务器主机地址。
  415. spring.data.mongodb.password
  416. Mongo服务器的登录密码。
  417. spring.data.mongodb.port
  418. Mongo服务器端口号。
  419. spring.data.mongodb.repositories.enabled
  420. 开启Mongo仓库。(默认值: true 。)
  421. spring.data.mongodb.uri
  422. Mongo数据库URI。设置了该属性后就主机和端口号会被忽略。(默认值: mongodb://
  423. localhost/test 。)
  424. spring.data.mongodb.username
  425. Mongo服务器的登录用户名。
  426. spring.data.rest.base-path
  427. 用于发布仓库资源的基本路径。
  428. spring.data.rest.default-page-size
  429. 分页数据的默认页大小。(默认值: 20 。)
  430. spring.data.rest.limit-param-name
  431. 用于标识一次返回多少记录的URL查询字符串参数名。(默认值: size 。)
  432. spring.data.rest.max-page-size
  433. 最大分页大小。(默认值: 1000 。)
  434. spring.data.rest.page-param-name
  435. URL查询字符串参数的名称,用来标识返回哪一页。(默认值: page 。)
  436. spring.data.rest.return-body-on-create
  437. 在创建实体后是否返回一个响应体。(默认值: false 。)
  438. spring.data.rest.return-body-on-update
  439. 在更新实体后是否返回一个响应体。(默认值: false 。)
  440. spring.data.rest.sort-param-name
  441. URL查询字符串参数的名称,用来标识结果排序的方向。(默认值: sort 。)
  442. spring.data.solr.host
  443. Solr的主机地址。如果设置了 zk-host 则忽略该属性。(默认值: http://127.0.0.1:
  444. 8983/solr 。)
  445. spring.data.solr.repositories.enabled
  446. 开启Solr仓库。(默认值: true 。)
  447. spring.data.solr.zk-host
  448. ZooKeeper主机地址,格式为“主机:端口”。
  449. spring.datasource.abandon-when-percentage-full
  450. 一个百分比形式的阈值,超过该阈值则关闭并报告被弃用(超时)的连接。
  451. spring.datasource.allow-pool-suspension
  452. 是否允许池暂停(pool suspension)。在开启池暂停后会有性能会受到一定影响,除非你
  453. 真的需要这个功能(例如在冗余的系统下),否则不要开启它。该属性只在使用Hikari
  454. 据库连接池时有用。(默认值: false 。)
  455. spring.datasource.alternate-username-allowed
  456. 是否允许使用其他用户名。
  457. spring.datasource.auto-commit
  458. 更新操作是否自动提交。
  459. spring.datasource.catalog
  460. 默认的Catalog名称。
  461. spring.datasource.commit-on-return
  462. 在连接归还时,连接池是否要提交挂起的事务。
  463. spring.datasource.connection-init-sql
  464. 在所有新连接创建时都会执行的SQL语句,该语句会在连接加入连接池前执行。
  465. spring.datasource.connection-init-sqls
  466. 在物理连接第一次创建时执行的SQL语句列表。(用于DBCP连接池。)
  467. spring.datasource.connection-properties.[key]
  468. 设置创建连接时使用的属性。(用于DBCP连接池。)
  469. spring.datasource.connection-test-query
  470. 用于测试连接有效性的SQL查询。
  471. spring.datasource.connection-timeout
  472. 连接超时(单位为毫秒)。
  473. spring.datasource.continue-on-error
  474. 初始化数据库时发生错误不要终止。(默认值: false 。)
  475. spring.datasource.data
  476. 指向数据(数据库操纵语言,Data Manipulation LanguageDML)脚本资源的引用。
  477. spring.datasource.data-source-class-name
  478. 用于获取连接的数据源的全限定类名。
  479. spring.datasource.data-source-jndi
  480. 用于获取连接的数据源的JNDI位置。
  481. spring.datasource.data-source-properties.[key]
  482. 设置创建数据源时使用的属性。(用于Hikari连接池。)
  483. spring.datasource.db-properties
  484. 设置创建数据源时使用的属性。(用于Tomcat连接池。)
  485. spring.datasource.default-auto-commit
  486. 连接上的操作是否自动提交。
  487. spring.datasource.default-catalog
  488. 连接的默认Catalog
  489. spring.datasource.default-read-only
  490. 连接的默认只读状态。
  491. spring.datasource.default-transaction-isolation
  492. 连接的默认事务隔离级别。
  493. spring.datasource.driver-class-name
  494. JDBC驱动的全限定类名。默认根据URL自动检测。
  495. spring.datasource.fair-queue
  496. 是否以FIFO方式返回连接。
  497. spring.datasource.health-check-properties.[key]
  498. 设置要纳入健康检查的属性。(用于Hikari连接池。)
  499. spring.datasource.idle-timeout
  500. 连接池中的连接能保持闲置状态的最长时间,单位为毫秒。(默认值: 10 。)
  501. spring.datasource.ignore-exception-on-pre-load
  502. 初始化数据库连接池时是否要忽略连接。
  503. spring.datasource.init-sql
  504. 在连接第一次创建时运行的自定义查询。
  505. spring.datasource.initial-size
  506. 在连接池启动时要建立的连接数。
  507. spring.datasource.initialization-fail-fast
  508. 在连接池创建时,如果达不到最小连接数是否要抛出异常。(默认值: true 。)
  509. spring.datasource.initialize
  510. 使用data.sql初始化数据库。(默认值: true 。)
  511. spring.datasource.isolate-internal-queries
  512. 是否要隔离内部请求。(默认值: false 。)
  513. spring.datasource.jdbc-interceptors
  514. 一个分号分隔的类名列表,这些类都扩展了 JdbcInterceptor 类。这些拦截器会插入
  515. java.sql.Connection 对象的操作链里。(用于Tomcat连接池。)
  516. spring.datasource.jdbc-url
  517. 用来创建连接的JDBC URL
  518. spring.datasource.jmx-enabled
  519. 开启JMX支持(如果底层连接池提供该功能的话)。(默认值: false 。)
  520. spring. datasource.jndi-name
  521. 数据源的JNDI位置。设置了该属性则忽略类、URL、用户名和密码属性。
  522. spring.datasource.leak-detection-threshold
  523. 用来检测Hikari连接池连接泄露的阈值,单位为毫秒。
  524. spring.datasource.log-abandoned
  525. 是否针对弃用语句或连接的应用程序代码记录下跟踪栈。用于DBCP连接池。(默认值:
  526. false 。)
  527. spring.datasource.log-validation-errors
  528. 在使用Tomcat连接池时是否要记录验证错误。
  529. spring.datasource.login-timeout
  530. 连接数据库的超时时间(单位为秒)。
  531. spring.datasource.max-active
  532. 连接池中的最大活跃连接数。
  533. spring.datasource.max-age
  534. 连接池中连接的最长寿命。
  535. spring.datasource.max-idle
  536. 连接池中的最大空闲连接数。
  537. spring.datasource.max-lifetime
  538. 连接池中连接的最长寿命(单位为毫秒)。
  539. spring.datasource.max-open-prepared-statements
  540. 开启状态的 PreparedStatement 的数量上限。
  541. spring.datasource.max-wait
  542. 连接池在等待返回连接时,最长等待多少毫秒再抛出异常。
  543. spring.datasource.maximum-pool-size
  544. 连接池能达到的最大规模,包含空闲连接的数量和使用中的连接数量。
  545. spring.datasource.min-evictable-idle-time-millis
  546. 一个空闲连接被空闲连接释放器(如果存在的话)优雅地释放前,最短会在连接池里停
  547. 留多少时间。
  548. spring.datasource.min-idle
  549. 连接池里始终应该保持的最小连接数。(用于DBCPTomcat连接池。)
  550. spring.datasource.minimum-idle:
  551. HikariCP试图在连接池里维持的最小空闲连接数。
  552. spring.datasource.name
  553. 数据源的名称。
  554. spring.datasource.num-tests-per-eviction-run
  555. 空闲对象释放器线程(如果存在的话)每次运行时要检查的对象数。
  556. spring.datasource.password
  557. 数据库的登录密码。
  558. spring.datasource.platform
  559. Schema资源(schema-${platform}.sql)里要使用的平台。(默认值: all 。)
  560. spring.datasource.pool-name
  561. 连接池名称。
  562. spring.datasource.pool-prepared-statements
  563. 是否要将 Statement 放在池里。
  564. spring.datasource.propagate-interrupt-state
  565. 对于等待连接的中断线程,是否要传播中断状态。
  566. spring.datasource.read-only
  567. 在使用Hikari连接池时将数据源设置为只读。
  568. spring.datasource.register-mbeans
  569. Hikari连接池是否要注册JMX MBean
  570. spring.datasource.remove-abandoned
  571. 被弃用的连接在到达弃用超时后是否应该被移除。
  572. spring.datasource.remove-abandoned-timeout
  573. 连接在多少秒后应该考虑弃用。
  574. spring.datasource.rollback-on-return
  575. 在连接归还连接池时,是否要回滚挂起的事务。
  576. spring.datasource.schema
  577. Schema(数据定义语言,Data Definition LanguageDDL)脚本资源的引用。
  578. spring.datasource.separator
  579. SQL初始化脚本里的语句分割符。(默认值: ; 。)
  580. spring.datasource.sql-script-encoding
  581. SQL脚本的编码。
  582. spring.datasource.suspect-timeout
  583. 在记录一个疑似弃用连接前要等待多少秒。
  584. spring.datasource.test-on-borrow
  585. 从连接池中借用连接时是否要进行测试。
  586. spring.datasource.test-on-connect
  587. 在建立连接时是否要进行测试。
  588. spring.datasource.test-on-return
  589. 在将连接归还到连接池时是否要进行测试。
  590. spring.datasource.test-while-idle
  591. 在连接空闲时是否要进行测试。
  592. spring.datasource.time-between-eviction-runs-millis
  593. 在两次空闲连接验证、弃用连接清理和空闲池大小调整之间睡眠的毫秒数。
  594. spring.datasource.transaction-isolation
  595. 在使用Hikari连接池时设置默认事务隔离级别。
  596. spring.datasource.url
  597. 数据库的JDBC URL
  598. spring.datasource.use-disposable-connection-facade
  599. 连接是否要用一个门面(facade)封装起来,在调用了 Connection.close() 后就不能
  600. 再使用这个连接了。
  601. spring.datasource.use-equals
  602. 在比较方法名时是否使用 String.equals() 来代替 ==
  603. spring.datasource.use-lock
  604. 在操作连接对象时是否要加锁。
  605. spring.datasource.username
  606. 数据库的登录用户名。
  607. spring.datasource.validation-interval
  608. 执行连接验证的间隔时间,单位为毫秒。
  609. spring.datasource.validation-query
  610. 在连接池里的连接返回给调用者或连接池时,要执行的验证SQL查询。
  611. spring.datasource.validation-query-timeout
  612. 在连接验证查询执行失败前等待的超时时间,单位为秒。
  613. spring.datasource.validation-timeout
  614. 在连接验证失败前等待的超时时间,单位为秒。(用于Hikari连接池。)
  615. spring.datasource.validator-class-name
  616. 可选验证器类的全限定类名,用于执行测试查询。
  617. spring.datasource.xa.data-source-class-name
  618. XA数据源的全限定类名。
  619. spring.datasource.xa.properties
  620. 要传递给XA数据源的属性。
  621. spring.freemarker.allow-request-override
  622. HttpServletRequest 的属性是否允许覆盖(隐藏)控制器生成的同名模型属性。
  623. spring.freemarker.allow-session-override
  624. HttpSession 的属性是否允许覆盖(隐藏)控制器生成的同名模型属性。
  625. spring.freemarker.cache
  626. 开启模板缓存。
  627. spring.freemarker.charset
  628. 模板编码。
  629. spring.freemarker.check-template-location
  630. 检查模板位置是否存在。
  631. spring.freemarker.content-type
  632. Content-Type 的值。
  633. spring.freemarker.enabled
  634. 开启FreeMarkerMVC视图解析。
  635. spring.freemarker.expose-request-attributes
  636. 在模型合并到模板前,是否要把所有的请求属性添加到模型里。
  637. spring.freemarker.expose-session-attributes
  638. 在模型合并到模板前,是否要把所有的 HttpSession 属性添加到模型里。
  639. spring.freemarker.expose-spring-macro-helpers
  640. 是否发布供Spring宏程序库使用的 RequestContext ,并将命其名为 springMacro-
  641. RequestContext
  642. spring.freemarker.prefer-file-system-access
  643. 加载模板时优先通过文件系统访问。文件系统访问能够实时检测到模板变更。(默认值:
  644. true 。)
  645. spring.freemarker.prefix
  646. 在构建URL时添加到视图名称前的前缀。
  647. spring.freemarker.request-context-attribute
  648. 在所有视图里使用的 RequestContext 属性的名称。
  649. spring.freemarker.settings
  650. 要传递给FreeMarker配置的各种键。
  651. spring.freemarker.suffix
  652. 在构建URL时添加到视图名称后的后缀。
  653. spring.freemarker.template-loader-path
  654. 模板路径列表,用逗号分隔。(默认值: ["classpath:/templates/"] 。)
  655. spring.freemarker.view-names
  656. 可解析的视图名称的白名单。
  657. spring.groovy.template.allow-request-override
  658. HttpServletRequest 的属性是否允许覆盖(隐藏)控制器生成的同名模型属性。
  659. spring.groovy.template.allow-session-override
  660. HttpSession 的属性是否允许覆盖(隐藏)控制器生成的同名模型属性。
  661. spring.groovy.template.cache
  662. 开启模板缓存。
  663. spring.groovy.template.charset
  664. 模板编码。
  665. spring.groovy.template.check-template-location
  666. 检查模板位置是否存在。
  667. spring.groovy.template.configuration.auto-escape
  668. 模型变量在模板里呈现时是否要做转义。(默认值: false 。)
  669. spring.groovy.template.configuration.auto-indent
  670. 模板是否要自动呈现缩进。(默认值: false 。)
  671. spring.groovy.template.configuration.auto-indent-string
  672. 开启自动缩进时用于缩进的字符串,可以是 SPACES ,也可以是 TAB 。(默认值: SPACES 。)
  673. spring.groovy.template.configuration.auto-new-line
  674. 模板里是否要呈现新的空行。(默认值: false 。)
  675. spring.groovy.template.configuration.base-template-class
  676. 模板基类。
  677. spring.groovy.template.configuration.cache-templates
  678. 模板是否应该缓存。(默认值: true 。)
  679. spring.groovy.template.configuration.declaration-encoding
  680. 用来写声明头的编码。
  681. spring.groovy.template.configuration.expand-empty-elements
  682. 没有正文的元素该用短形式(例如,
  683. )还是扩展形式(例如,
  684. )来书
  685. 写。(默认值: false 。)
  686. spring.groovy.template.configuration.locale
  687. 设置模板地域。
  688. spring.groovy.template.configuration.new-line-string
  689. 在自动空行开启后用来呈现空行的字符串。(默认为系统的 line.separator 属性值。)
  690. spring.groovy.template.configuration.resource-loader-path
  691. Groovy模板的路径。(默认值: classpath:/templates/ 。)
  692. spring.groovy.template.configuration.use-double-quotes
  693. 属性是该用双引号还是单引号。(默认值: false 。)
  694. spring.groovy.template.content-type
  695. Content-Type 的值。
  696. spring.groovy.template.enabled
  697. 开启Groovy模板的MVC视图解析。
  698. spring.groovy.template.expose-request-attributes
  699. 在模型合并到模板前,是否要把所有的请求属性添加到模型里。
  700. spring.groovy.template.expose-session-attributes
  701. 在模型合并到模板前,是否要把所有的 HttpSession 属性添加到模型里。
  702. spring.groovy.template.expose-spring-macro-helpers
  703. 是否发布供Spring宏程序库使用的 RequestContext ,并将其命名为 springMacro-
  704. RequestContext
  705. spring.groovy.template.prefix
  706. 在构建URL时,添加到视图名称前的前缀。
  707. spring.groovy.template.request-context-attribute
  708. 所有视图里使用的 RequestContext 属性的名称。
  709. spring.groovy.template.resource-loader-path
  710. 模板路径(默认值: classpath:/ templates/ 。)
  711. spring.groovy.template.suffix
  712. 在构建URL时,添加到视图名称后的后缀。
  713. spring.groovy.template.view-names
  714. 可解析的视图名称白名单。
  715. spring.h2.console.enabled
  716. 开启控制台。(默认值: false 。)
  717. spring.h2.console.path
  718. 可以找到控制台的路径。(默认值: /h2-console 。)
  719. spring.hateoas.apply-to-primary-object-mapper
  720. 指定主 ObjectMapper 是否要应用HATEOAS支持。(默认值: true 。)
  721. spring.hornetq.embedded.cluster-password
  722. 集群密码。默认在启动时随机生成。
  723. spring.hornetq.embedded.data-directory
  724. 日志文件目录。如果关闭了持久化功能则不需要该属性。
  725. spring.hornetq.embedded.enabled
  726. 如果有HornetQ服务器API,则开启嵌入模式。(默认值: true 。)
  727. spring.hornetq.embedded.persistent
  728. 开启持久化存储。(默认值: false 。)
  729. spring.hornetq.embedded.queues
  730. 启动时要创建的队列列表,用逗号分隔。(默认值: [] 。)
  731. spring.hornetq.embedded.server-id
  732. 服务器ID。默认使用自增长计数器。(默认值: 0 。)
  733. spring.hornetq.embedded.topics
  734. 启动时要创建的主题列表,用逗号分隔。(默认值: [] 。)
  735. spring.hornetq.host
  736. HornetQ的主机。(默认值: localhost 。)
  737. spring.hornetq.mode
  738. HornetQ的部署模式,默认为自动检测。可以显式地设置为 native embedded
  739. spring.hornetq.port
  740. HornetQ的端口。(默认值: 5445 。)
  741. spring.http.converters.preferred-json-mapper
  742. HTTP消息转换时优先使用JSON映射器。
  743. spring.http.encoding.charset
  744. HTTP请求和响应的字符集。如果没有显式地指定 Content-Type 头,则将该属性值作为
  745. 这个头的值。(默认值: UTF-8 。)
  746. spring.http.encoding.enabled
  747. 开启HTTP编码支持。(默认值: true 。)
  748. spring.http.encoding.force
  749. 强制将HTTP请求和响应编码为所配置的字符集。(默认值: true 。)
  750. spring.jackson.date-format
  751. 日期格式字符串(yyyy-MM-dd HH:mm:ss)或日期格式类的全限定类名。
  752. spring.jackson.deserialization
  753. 影响Java对象反序列化的Jackson on/off特性。
  754. spring.jackson.generator
  755. 用于生成器的Jackson on/off特性。
  756. spring.jackson.joda-date-time-format
  757. Joda日期时间格式字符串(yyyy-MM-dd HH:mm:ss)。如果没有配置,而 date-format
  758. 又配置了一个格式字符串的话,会将它作为降级配置。
  759. spring.jackson.locale
  760. 用于格式化的地域值。
  761. spring.jackson.mapper
  762. Jackson的通用on/off特性。
  763. spring.jackson.parser
  764. 用于解析器的Jackson on/off特性。
  765. spring.jackson.property-naming-strategy
  766. Jackson PropertyNamingStrategy 中的一个常量( CAMEL_CASE_TO_LOWER_CASE_
  767. WITH_UNDERSCORES )。也可以设置 PropertyNamingStrategy 的子类的全限定类名。
  768. spring.jackson.serialization
  769. 影响Java对象序列化的Jackson on/off特性。
  770. spring.jackson.serialization-inclusion
  771. 控制序列化时要包含哪些属性。可选择Jackson JsonInclude.Include 枚举里的某个
  772. 值。
  773. spring.jackson.time-zone
  774. 格式化日期时使用的时区。可以配置各种可识别的时区标识符,比如 America/Los_
  775. Angeles 或者 GMT+10
  776. spring.jersey.filter.order
  777. Jersey过滤器链的顺序。(默认值: 0 。)
  778. spring.jersey.init
  779. 通过Servlet或过滤器传递给Jersey的初始化参数。
  780. spring.jersey.type
  781. Jersey集成类型。可以是 servlet 或者 filter
  782. spring.jms.jndi-name
  783. 连接工厂的JNDI名字。设置了该属性,则优先于其他自动配置的连接工厂。
  784. spring.jms.listener.acknowledge-mode
  785. 容器的应答模式(acknowledgment mode)。默认情况下,监听器使用自动应答。
  786. spring.jms.listener.auto-startup
  787. 启动时自动启动容器。(默认值: true 。)
  788. spring.jms.listener.concurrency
  789. 并发消费者的数量下限。
  790. spring.jms.listener.max-concurrency
  791. 并发消费者的数量上限。
  792. spring.jms.pub-sub-domain
  793. 如果是主题而非队列,指明默认的目的地类型是否支持Pub/Sub。(默认值: false 。)
  794. spring.jmx.default-domain
  795. JMX域名。
  796. spring.jmx.enabled
  797. 将管理Bean发布到JMX域里。(默认值: true 。)
  798. spring.jmx.server
  799. MBeanServer Bean名称。(默认值: mbeanServer 。)
  800. spring.jooq.sql-dialect
  801. 在与配置的数据源通信时,JOOQ使用的 SQLDialect ,比如 POSTGRES
  802. spring.jpa.database
  803. 要操作的目标数据库,默认自动检测。也可以通过 databasePlatform 属性进行设置。
  804. spring.jpa.database-platform
  805. 要操作的目标数据库,默认自动检测。也可以通过 Database 枚举来设置。
  806. spring.jpa.generate-ddl
  807. 启动时要初始化Schema。(默认值: false 。)
  808. spring.jpa.hibernate.ddl-auto
  809. DDL模式( none validate update create create-drop )。这是 hibernate.
  810. hbm2ddl.auto 属性的一个快捷方式。在使用嵌入式数据库时,默认为 create-drop
  811. 其他情况下默认为 none
  812. spring.jpa.hibernate.naming-strategy
  813. Hibernate命名策略的全限定类名。
  814. spring.jpa.open-in-view
  815. 注册 OpenEntityManagerInViewInterceptor ,在请求的整个处理过程中,将一个JPA
  816. EntityManager 绑定到线程上。(默认值: true 。)
  817. spring.jpa.properties
  818. JPA提供方要设置的额外原生属性。
  819. spring.jpa.show-sql
  820. 在使用Bitronix Transaction Manager时打开SQL语句日志。(默认值: false 。)
  821. spring.jta.allow-multiple-lrc
  822. 在使用Bitronix Transaction Manager时,事务管理器是否应该允许一个事务涉及多个LRC
  823. 资源。(默认值: false 。)
  824. spring.jta.asynchronous2-pc
  825. 在使用Bitronix Transaction Manager时,是否异步执行两阶段提交。(默认值: false 。)
  826. spring.jta.background-recovery-interval
  827. 在使用Bitronix Transaction Manager时,多久运行一次恢复过程,单位为分钟。(默认值:
  828. 1 。)
  829. spring.jta.background-recovery-interval-seconds
  830. 在使用Bitronix Transaction Manager时,多久运行一次恢复过程,单位为秒。(默认值: 60 。)
  831. spring.jta.current-node-only-recovery
  832. 在使用Bitronix Transaction Manager时,恢复是否要滤除不包含本JVM唯一IDXID。(默
  833. 认值: true 。)
  834. spring.jta.debug-zero-resource-transaction
  835. 在使用Bitronix Transaction Manager时,对于没有涉及任何资源的事务,是否要跟踪并记
  836. 录它们的创建和提交调用栈。(默认值: false 。)
  837. spring.jta.default-transaction-timeout
  838. 在使用Bitronix Transaction Manager时,默认的事务超时时间,单位为秒。(默认值: 60 。)
  839. spring.jta.disable-jmx
  840. 在使用Bitronix Transaction Manager时,是否要禁止注册JMX MBean。(默认值: false 。)
  841. spring.jta.enabled
  842. 开启JTA支持。(默认值: true 。)
  843. spring.jta.exception-analyzer
  844. 在使用Bitronix Transaction Manager时用到的异常分析器。设置为 null 时使用默认异常分
  845. 析器,也可以设置自定义异常分析器的全限定类名。
  846. spring.jta.filter-log-status
  847. 在使用Bitronix Transaction Manager时,是否只记录必要的日志。开启该参数时能减少分
  848. 段(fragment)空间用量,但调试更复杂了。(默认值: false 。)
  849. spring.jta.force-batching-enabled
  850. 在使用Bitronix Transaction Manager时,是否批量输出至磁盘。禁用批处理会严重降低事
  851. 务管理器的吞吐量。(默认值: true 。)
  852. spring.jta.forced-write-enabled
  853. 在使用Bitronix Transaction Manager时,日志是否强制写到磁盘上。在生产环境里不要设
  854. 置为 false ,因为不强制写到磁盘上无法保证完整性。(默认值: true 。)
  855. spring.jta.graceful-shutdown-interval
  856. 在使用Bitronix Transaction Manager时,要关闭的话,事务管理器在放弃事务前最多等它
  857. 多少秒。(默认值: 60 。)
  858. spring.jta.jndi-transaction-synchronization-registry-name
  859. 在使用Bitronix Transaction Manager时,事务同步注册表应该绑定到哪个JNDI下。(默认
  860. 值: java:comp/TransactionSynchronizationRegistry 。)
  861. spring.jta.jndi-user-transaction-name
  862. 在使用Bitronix Transaction Manager时,用户事务应该绑定到哪个JNDI下。(默认值:
  863. java:comp/UserTransaction 。)
  864. spring.jta.journal
  865. 在使用Bitronix Transaction Manager时,要用的日志名。可以是 disk null 或者全限定类
  866. 名。(默认值: disk 。)
  867. spring.jta.log-dir
  868. 事务日志目录。
  869. spring.jta.log-part1-filename
  870. 日志分段文件1的名称。(默认值: btm1.tlog 。)
  871. spring.jta.log-part2-filename
  872. 日志分段文件2的名称。(默认值: btm2.tlog 。)
  873. spring.jta.max-log-size-in-mb
  874. 在使用Bitronix Transaction Manager时,日志分段文件的最大兆数。日志越大,事务就被
  875. 允许在未终结状态停留越长时间。但是,如果文件大小限制得太小,事务管理器在分段
  876. 满了的时候就会暂停更长时间。(默认值: 2 。)
  877. spring.jta.resource-configuration-filename
  878. Bitronix Transaction Manager的配置文件名。
  879. spring.jta.server-id
  880. 唯一标识Bitronix Transaction Manager实例的ID
  881. spring.jta.skip-corrupted-logs
  882. 是否跳过损坏的日志文件。(默认值: false 。)
  883. spring.jta.transaction-manager-id
  884. 事务管理器的唯一标识符。
  885. spring.jta.warn-about-zero-resource-transaction
  886. 在使用Bitronix Transaction Manager时,是否要对执行时没有涉及任何资源的事务作出告
  887. 警。(默认值: true 。)
  888. spring.mail.default-encoding
  889. 默认的 MimeMessage 编码。(默认值: UTF-8 。)
  890. spring.mail.host
  891. SMTP服务器主机地址。
  892. spring.mail.jndi-name
  893. 会话的JNDI名称。设置之后,该属性的优先级要高于其他邮件设置。
  894. spring.mail.password
  895. SMTP服务器的登录密码。
  896. spring.mail.port
  897. SMTP服务器的端口号。
  898. spring.mail.properties
  899. 附加的JavaMail会话属性。
  900. spring.mail.protocol
  901. SMTP服务器用到的协议。(默认值: smtp 。)
  902. spring.mail.test-connection
  903. 在启动时测试邮件服务器是否可用。(默认值: false 。)
  904. spring.mail.username
  905. SMTP服务器的登录用户名。
  906. spring.messages.basename
  907. 逗号分隔的基本名称列表,都遵循 ResourceBundle 的惯例。本质上这就是一个全限定
  908. Classpath位置,如果不包含包限定符(比如 org.mypackage ),就会从Classpath的根部
  909. 开始解析。(默认值: messages 。)
  910. spring.messages.cache-seconds
  911. 加载的资源包文件的缓存失效时间,单位为秒。在设置为 -1 时,包会永远缓存。(默认值:
  912. -1 。)
  913. spring.messages.encoding
  914. 消息包的编码。(默认值: UTF-8 。)
  915. spring.mobile.devicedelegatingviewresolver.enable-fallback
  916. 开启降级解析支持。(默认值: false 。)
  917. spring.mobile.devicedelegatingviewresolver.enabled
  918. 开启设备视图解析器。(默认值: false 。)
  919. spring.mobile.devicedelegatingviewresolver.mobile-prefix
  920. 添加到移动设备视图名前的前缀。(默认值: mobile/ 。)
  921. spring.mobile.devicedelegatingviewresolver.mobile-suffix
  922. 添加到移动设备视图名后的后缀。
  923. spring.mobile.devicedelegatingviewresolver.normal-prefix
  924. 添加到普通设备视图名前的前缀。
  925. spring.mobile.devicedelegatingviewresolver.normal-suffix
  926. 添加到普通设备视图名后的后缀。
  927. spring.mobile.devicedelegatingviewresolver.tablet-prefix
  928. 添加到平板设备视图名前的前缀。(默认值: tablet/ 。)
  929. spring.mobile.devicedelegatingviewresolver.tablet-suffix
  930. 添加到平板设备视图名后的后缀。
  931. spring.mobile.sitepreference.enabled
  932. 开启 SitePreferenceHandler 。(默认值: true 。)
  933. spring.mongodb.embedded.features
  934. 要开启的特性列表,用逗号分隔。
  935. spring.mongodb.embedded.version
  936. 要使用的Mongo版本。(默认值: 2.6.10 。)
  937. spring.mustache.cache
  938. 开启模板缓存。
  939. spring.mustache.charset
  940. 模板编码。
  941. spring.mustache.check-template-location
  942. 检查模板位置是否存在。
  943. spring.mustache.content-type
  944. Content-Type 的值。
  945. spring.mustache.enabled
  946. 开启MustacheMVC视图解析。
  947. spring.mustache.prefix
  948. 添加到模板名前的前缀。(默认值: classpath:/ templates/ 。)
  949. spring.mustache.suffix
  950. 添加到模板名后的后缀。(默认值: .html 。)
  951. spring.mustache.view-names
  952. 可解析的视图名称的白名单。
  953. spring.mvc.async.request-timeout
  954. 异步请求处理超时前的等待时间(单位为毫秒)。如果没有设置该属性,则使用底层实现
  955. 的默认超时时间,比如,Tomcat上使用Servlet 3时超时时间为10秒。
  956. spring.mvc.date-format
  957. 要使用的日期格式(比如 dd/MM/yyyy )。
  958. spring.mvc.favicon.enabled
  959. 开启favicon.ico的解析。(默认值: true 。)
  960. spring.mvc.ignore-default-model-on-redirect
  961. 在重定向的场景下,是否要忽略“默认”模型对象的内容。(默认值: true 。)
  962. spring.mvc.locale
  963. 要使用的地域配置。
  964. spring.mvc.message-codes-resolver-format
  965. 消息代码格式( PREFIX_ERROR_CODE POSTFIX_ERROR_CODE )。
  966. spring.mvc.view.prefix
  967. Spring MVC视图前缀。
  968. spring.mvc.view.suffix
  969. Spring MVC视图后缀。
  970. spring.rabbitmq.addresses
  971. 客户端应该连接的地址列表,用逗号分隔。
  972. spring.rabbitmq.dynamic
  973. 创建一个 AmqpAdmin Bean。(默认值: true 。)
  974. spring.rabbitmq.host
  975. RabbitMQ主机地址。(默认值: localhost 。)
  976. spring.rabbitmq.listener.acknowledge-mode
  977. 容器的应答模式。
  978. spring.rabbitmq.listener.auto-startup
  979. 启动时自动开启容器。(默认值: true 。)
  980. spring.rabbitmq.listener.concurrency
  981. 消费者的数量下限。
  982. spring.rabbitmq.listener.max-concurrency
  983. 消费者的数量上限。
  984. spring.rabbitmq.listener.prefetch
  985. 单个请求里要处理的消息数。该数值不应小于事务数(如果用到的话)。
  986. spring.rabbitmq.listener.transaction-size
  987. 一个事务里要处理的消息数。为了保证效果,应该不大于预先获取的数量。
  988. spring.rabbitmq.password
  989. 进行身份验证的密码。
  990. spring.rabbitmq.port
  991. RabbitMQ端口。(默认值: 5672 。)
  992. spring.rabbitmq.requested-heartbeat
  993. 请求心跳超时,单位为秒; 0 表示不启用心跳。
  994. spring.rabbitmq.ssl.enabled
  995. 开启SSL支持。(默认值: false 。)
  996. spring.rabbitmq.ssl.key-store
  997. 持有SSL证书的KeyStore路径。
  998. spring.rabbitmq.ssl.key-store-password
  999. 访问KeyStore的密码。
  1000. spring.rabbitmq.ssl.trust-store
  1001. 持有SSL证书的TrustStore
  1002. spring.rabbitmq.ssl.trust-store-password
  1003. 访问TrustStore的密码。
  1004. spring.rabbitmq.username
  1005. 进行身份验证的用户名。
  1006. spring.rabbitmq.virtual-host
  1007. 在连接RabbitMQ时的虚拟主机。
  1008. spring.redis.database
  1009. 连接工厂使用的数据库索引。(默认值: 0 。)
  1010. spring.redis.host
  1011. Redis服务器主机地址。(默认值: localhost 。)
  1012. spring.redis.password
  1013. Redis服务器的登录密码。
  1014. spring.redis.pool.max-active
  1015. 连接池在指定时间里能分配的最大连接数。负数表示无限制。(默认值: 8 。)
  1016. spring.redis.pool.max-idle
  1017. 连接池里的最大空闲连接数。负数表示空闲连接数可以是无限大。(默认值: 8 。)
  1018. spring.redis.pool.max-wait
  1019. 当连接池被耗尽时,分配连接的请求应该在抛出异常前被阻塞多长时间(单位为秒)。负
  1020. 数表示一直阻塞。(默认值: -1 。)
  1021. spring.redis.pool.min-idle
  1022. 连接池里要维持的最小空闲连接数。该属性只有在设置为正数时才有效。(默认值: 0 。)
  1023. spring.redis.port
  1024. Redis服务器端口。(默认值: 6379 。)
  1025. spring.redis.sentinel.master
  1026. Redis服务器的名字。
  1027. spring.redis.sentinel.nodes
  1028. 形如“主机:端口”配对的列表,用逗号分隔。
  1029. spring.redis.timeout
  1030. 连接超时时间,单位为秒。(默认值: 0 。)
  1031. spring.resources.add-mappings
  1032. 开启默认资源处理。(默认值: true 。)
  1033. spring.resources.cache-period
  1034. 资源处理器对资源的缓存周期,单位为秒。
  1035. spring.resources.chain.cache
  1036. 对资源链开启缓存。(默认值: true 。)
  1037. spring.resources.chain.enabled
  1038. 开启Spring资源处理链。(默认关闭的,除非至少开启了一个策略。)
  1039. spring.resources.chain.html-application-cache
  1040. 开启HTML5应用程序缓存证明重写。(默认值: false 。)
  1041. spring.resources.chain.strategy.content.enabled
  1042. 开启内容版本策略。(默认值: false 。)
  1043. spring.resources.chain.strategy.content.paths
  1044. 要运用于版本策略的模式列表,用逗号分隔。(默认值: ["/**"] 。)
  1045. spring.resources.chain.strategy.fixed.enabled
  1046. 开启固定版本策略。(默认值: false 。)
  1047. spring.resources.chain.strategy.fixed.paths
  1048. 要运用于固定版本策略的模式列表,用逗号分隔。
  1049. spring.resources.chain.strategy.fixed.version
  1050. 用于固定版本策略的版本字符串。
  1051. spring.resources.static-locations
  1052. 静态资源位置。默认为 classpath: [/META-INF/resources/, /resources/, /static/,
  1053. /public/] 加上context:/(Servlet上下文的根目录)。
  1054. spring.sendgrid.password
  1055. SendGrid密码。
  1056. spring.sendgrid.proxy.host
  1057. SendGrid代理主机地址。
  1058. spring.sendgrid.proxy.port
  1059. SendGrid代理端口。
  1060. spring.sendgrid.username
  1061. SendGrid用户名。
  1062. spring.social.auto-connection-views
  1063. 针对所支持的提供方开启连接状态视图。(默认值: false 。)
  1064. spring.social.facebook.app-id
  1065. 应用程序ID
  1066. spring.social.facebook.app-secret
  1067. 应用程序的密钥。
  1068. spring.social.linkedin.app-id
  1069. 应用程序ID
  1070. spring.social.linkedin.app-secret
  1071. 应用程序的密钥。
  1072. spring.social.twitter.app-id
  1073. 应用程序ID
  1074. spring.social.twitter.app-secret
  1075. 应用程序的密钥。
  1076. spring.thymeleaf.cache
  1077. 开启模板缓存。(默认值: true 。)
  1078. spring.thymeleaf.check-template-location
  1079. 检查模板位置是否存在。(默认值: true 。)
  1080. spring.thymeleaf.content-type
  1081. Content-Type 的值。(默认值: text/html 。)
  1082. spring.thymeleaf.enabled
  1083. 开启MVC Thymeleaf视图解析。(默认值: true 。)
  1084. spring.thymeleaf.encoding
  1085. 模板编码。(默认值: UTF-8 。)
  1086. spring.thymeleaf.excluded-view-names
  1087. 要被排除在解析之外的视图名称列表,用逗号分隔。
  1088. spring.thymeleaf.mode
  1089. 要运用于模板之上的模板模式。另见 StandardTemplate- ModeHandlers 。(默认值:
  1090. HTML5 。)
  1091. spring.thymeleaf.prefix
  1092. 在构建URL时添加到视图名称前的前缀。(默认值: classpath:/templates/ 。)
  1093. spring.thymeleaf.suffix
  1094. 在构建URL时添加到视图名称后的后缀。(默认值: .html 。)
  1095. spring.thymeleaf.template-resolver-order
  1096. Thymeleaf模板解析器在解析器链中的顺序。默认情况下,它排在第一位。顺序从1开始,
  1097. 只有在定义了额外的 TemplateResolver Bean时才需要设置这个属性。
  1098. spring.thymeleaf.view-names
  1099. 可解析的视图名称列表,用逗号分隔。
  1100. spring.velocity.allow-request-override
  1101. HttpServletRequest 的属性是否允许覆盖(隐藏)控制器生成的同名模型属性。
  1102. spring.velocity.allow-session-override
  1103. HttpSession 的属性是否允许覆盖(隐藏)控制器生成的同名模型属性。
  1104. spring.velocity.cache
  1105. 开启模板缓存。
  1106. spring.velocity.charset
  1107. 模板编码。
  1108. spring.velocity.check-template-location
  1109. 检查模板位置是否存在。
  1110. spring.velocity.content-type
  1111. Content-Type 的值。
  1112. spring.velocity.date-tool-attribute
  1113. DateTool 辅助对象在视图的Velocity上下文里呈现的名字。
  1114. spring.velocity.enabled
  1115. 开启VelocityMVC视图解析。
  1116. spring.velocity.expose-request-attributes
  1117. 在模型合并到模板前,是否要把所有的请求属性添加到模型里。
  1118. spring.velocity.expose-session-attributes
  1119. 在模型合并到模板前,是否要把所有的 HttpSession 属性添加到模型里。
  1120. spring.velocity.expose-spring-macro-helpers
  1121. 是否发布供Spring宏程序库使用的 RequestContext ,并将其名命为 springMacro-
  1122. RequestContext
  1123. spring.velocity.number-tool-attribute
  1124. NumberTool 辅助对象在视图的Velocity上下文里呈现的名字。
  1125. spring.velocity.prefer-file-system-access
  1126. 加载模板时优先通过文件系统访问。文件系统访问能够实时检测到模板变更。(默认值:
  1127. true 。)
  1128. spring.velocity.prefix
  1129. 在构建URL时添加到视图名称前的前缀。
  1130. spring.velocity.properties
  1131. 额外的Velocity属性。
  1132. spring.velocity.request-context-attribute
  1133. 所有视图里使用的 Request- Context 属性的名称。
  1134. spring.velocity.resource-loader-path
  1135. 模板路径。(默认值: classpath:/ templates/ 。)
  1136. spring.velocity.suffix
  1137. 在构建URL时添加到视图名称后的后缀。
  1138. spring.velocity.toolbox-config-location
  1139. Velocity Toolbox的配置位置,比如/WEB-INF/toolbox.xml。自动加载Velocity Tools工具定
  1140. 义文件,将所定义的全部工具发布到指定的作用域内。
  1141. spring.velocity.view-names
  1142. 可解析的视图名称白名单。
  1143. spring.view.prefix
  1144. Spring MVC视图前缀。
  1145. spring.view.suffix
  1146. Spring MVC视图后缀。

springboot配置文件priperties大全的更多相关文章

  1. 解决spring-boot配置文件使用加密方式保存敏感数据启动报错No decryption for FailsafeTextEncryptor. Did you configure the keystore correctly

    spring-boot配置文件使用加密方式保存敏感数据 application.yml spring: datasource: username: dbuser password: '{cipher} ...

  2. springboot配置文件中使用当前配置的变量

    在开发中,有时我们的application.properties某些值需要重复使用,比如配置redis和数据库或者mongodb连接地址,日志,文件上传地址等,且这些地址如果都是相同或者父路径是相同的 ...

  3. SpringBoot 配置文件存放位置及读取顺序

    SpringBoot配置文件可以使用yml格式和properties格式 分别的默认命名为:application.yml.application.properties 存放目录 SpringBoot ...

  4. ssh 配置文件讲解大全 ssh调试模式 sftp scp strace进行调试 特权分离

    ssh 配置文件讲解大全  ssh调试模式  sftp scp strace进行调试  特权分离 http://blog.chinaunix.net/uid-16728139-id-3265394.h ...

  5. [SpringBoot] - 配置文件的多种形式及JSR303数据校验

    Springboot配置文件: application.yml   application.properties(自带) yml的格式写起来稍微舒服一点 在application.properties ...

  6. 将springboot配置文件中的值注入到静态变量

    SpringBoot配置文件分为.properties和.yml两种格式,根据启动环境的不同获取不同环境的的值. spring中不支持直接注入静态变量值,利用spring的set注入方法注入静态变量 ...

  7. SpringBoot配置文件 application.properties详解

    SpringBoot配置文件 application.properties详解   本文转载:https://www.cnblogs.com/louby/p/8565027.html 阅读过程中若发现 ...

  8. Spring-Boot配置文件数据源配置项

    Spring-Boot配置文件数据源配置项(常用配置项为红色) 参数 介绍 spring.datasource.continue-on-error = false 初始化数据库时发生错误时,请勿停止 ...

  9. 【日常错误】spring-boot配置文件读取不到

    最近在用spring-boot做项目时,遇到自定义的配置文件无法读取到的问题,通过在appcation.java类上定义@PropertySource(value = {"classpath ...

随机推荐

  1. 【win7】安装开发环境

    1. 通用版主分支合并到v3,并删除data下无用文件或添加data有用文件 2. xampp php7与php5切换 是否可以行? 换phpstudy 默认支持php 32位,而我们要下载支持64的 ...

  2. less的基本使用

    众所周知,less是一门css预处理语言,其他的类似还有scss.Stylus 等,和js相似度比较高的就是less了.话不多说,我们来看less的使用. Node.js 环境中使用 Less : n ...

  3. [模板] CDQ分治&&BZOJ3262:陌上花开

    简介 CDQ分治是分治的一种, 可以看做归并排序的扩展, 利用离线将一些 \(O(n)\) 的暴力优化到 \(O(log n)\). 它可以用来顶替一些高级(log)数据结构等. 一般地, CDQ分治 ...

  4. AtCoder Grand Contest 012

    AtCoder Grand Contest 012 A - AtCoder Group Contest 翻译 有\(3n\)个人,每一个人有一个强大值(看我的假翻译),每三个人可以分成一组,一组的强大 ...

  5. (二)Qt窗口应用程序Widget

    QMainWindow,QWidget,QDialog,这三基类都可以作为顶层窗口 QWidget:是所有窗口类的父类,功能最简单 QMainWindow:如果窗口需要菜单栏,工具栏,状态栏,就需要Q ...

  6. TOMCAT ---> servlet概念

    1 TOMCAT ---> servlet概念 2 TOMCAT 目录结构 (各个文件夹都存放什么东西) 3 TOMCAT 程序的层级 web | |---- js,jsp,html,css ( ...

  7. MAC OS进阶必看——这10个技巧让你秒变MAC达人

    文章内容及图片来源于:什么值得买,如果涉及版权问题,请联系作者删除 文章收录于:风云社区(提供上千款各类mac软件的下载) 使用mac系统也有好几个年头,出色的办公效率以及越来越广的兼容性让mac成为 ...

  8. CMDB资产管理系统开发【day26】:数据正式存入待存区

    1.from表单提交 1.数据提交到哪里呢? 提交到assets/new_assets_approval.html这了 2.Yes, I'm sure提交了什么?          为什么没有下拉框了 ...

  9. java BIO/NIO/AIO 学习

    一.了解Unix网络编程5种I/O模型 1.1.阻塞式I/O模型 阻塞I/O(blocking I/O)模型,进程调用recvfrom,其系统调用直到数据报到达且被拷贝到应用进程的缓冲区中或者发生错误 ...

  10. Spark SQL相关总结

    1.spark 数据透视图: pivot(pivot_col, values=None) Pivots a column of the current [[DataFrame]] and perfor ...