原文地址https://www.cnblogs.com/dsn727455218/p/9304490.html
# 核心屬性
# ----------------------------------------
# 文件編碼
banner.charset= UTF-8
# 文件位置
banner.location= classpath:banner.txt
# 日志配置
# 日志配置文件的位置。 例如對于Logback的`classpath:logback.xml`
logging.config=
# %wEx#記錄異常時使用的轉(zhuǎn)換字独榴。
logging.exception-conversion-word=
# 日志文件名。 例如`myapp.log`
logging.file=
# 日志級別嚴重性映射翔曲。 例如`logging.level.org.springframework =? DEBUG`
logging.level.*=
# 日志文件的位置猪半。 例如`/ var / log`
logging.path=
# 用于輸出到控制臺的Appender模式贝乎。 只支持默認的logback設(shè)置啃匿。
logging.pattern.console=
# 用于輸出到文件的Appender模式晃择。 只支持默認的logback設(shè)置握童。
logging.pattern.file=
# 日志級別的Appender模式(默認%5p)姆怪。 只支持默認的logback設(shè)置。
logging.pattern.level=
#注冊日志記錄系統(tǒng)的初始化掛鉤澡绩。
logging.register-shutdown-hook= false
# AOP 切面
# 添加@EnableAspectJAutoProxy稽揭。
spring.aop.auto= true
# 是否要創(chuàng)建基于子類(CGLIB)的代理(true),而不是基于標準的基于Java接口的代理(false)肥卡。
spring.aop.proxy-target-class= false
# 應(yīng)用程序上下文初始化器
# 應(yīng)用指標溪掀。
spring.application.index=
# 應(yīng)用程序名稱。
spring.application.name=
# 國際化(消息源自動配置)
#
spring.messages.basename= messages
# 以逗號分隔的基礎(chǔ)名稱列表步鉴,每個都在ResourceBundle約定之后揪胃。
# 加載的資源束文件緩存到期,以秒為單位氛琢。 設(shè)置為-1時喊递,軟件包將永久緩存。
spring.messages.cache-seconds= -1
# 消息編碼阳似。
spring.messages.encoding= UTF-8
# 設(shè)置是否返回到系統(tǒng)區(qū)域設(shè)置骚勘,如果沒有找到特定語言環(huán)境的文件。
spring.messages.fallback-to-system-locale= true
# REDIS (Redis 配置)
# 連接工廠使用的數(shù)據(jù)庫索引撮奏。
spring.redis.database= 0
# Redis服務(wù)器主機俏讹。
spring.redis.host= localhost
# 登錄redis服務(wù)器的密碼。
spring.redis.password=
# 給定時間池可以分配的最大連接數(shù)挽荡。 使用負值為無限制藐石。
spring.redis.pool.max-active= 8
# 池中“空閑”連接的最大數(shù)量。 使用負值來表示無限數(shù)量的空閑連接定拟。
spring.redis.pool.max-idle= 8
# 連接分配在池耗盡之前在拋出異常之前應(yīng)阻止的最大時間量(以毫秒為單位)于微。 使用負值無限期地阻止。
spring.redis.pool.max-wait= -1
# 定義池中維護的最小空閑連接數(shù)青自。 此設(shè)置只有在正值時才有效果株依。
spring.redis.pool.min-idle= 0
# redis服務(wù)器端口
spring.redis.port= 6379
# redis服務(wù)器名稱
spring.redis.sentinel.master=
#
spring.redis.sentinel.nodes=
# 連接超時(毫秒)。
spring.redis.timeout= 0
# 管理員 (Spring應(yīng)用程序管理員JMX自動配置)
# 開啟應(yīng)用管理功能延窜。
spring.application.admin.enabled= false
# JMX應(yīng)用程序名稱MBean恋腕。
spring.application.admin.jmx-name= org.springframework.boot:type= Admin,name= SpringApplication
# 自動配置
# 自動配置類排除。
spring.autoconfigure.exclude=
# spring 核心配置
# 跳過搜索BeanInfo類逆瑞。
spring.beaninfo.ignore= true
# spring 緩存配置
# 由底層緩存管理器支持的要創(chuàng)建的緩存名稱的逗號分隔列表荠藤。
spring.cache.cache-names=
# 用于初始化EhCache的配置文件的位置伙单。
spring.cache.ehcache.config=
# 用于創(chuàng)建緩存的規(guī)范。 檢查CacheBuilderSpec有關(guān)規(guī)格格式的更多細節(jié)哈肖。
spring.cache.guava.spec=
# 用于初始化Hazelcast的配置文件的位置吻育。
spring.cache.hazelcast.config=
# 用于初始化Infinispan的配置文件的位置。
spring.cache.infinispan.config=
# 用于初始化緩存管理器的配置文件的位置淤井。
spring.cache.jcache.config=
# 用于檢索符合JSR-107的緩存管理器的CachingProvider實現(xiàn)的完全限定名稱布疼。 只有在類路徑上有多個JSR-107實現(xiàn)可用時才需要。
spring.cache.jcache.provider=
# 緩存類型币狠,默認情況下根據(jù)環(huán)境自動檢測游两。
spring.cache.type=
# spring配置 (配置文件應(yīng)用偵聽器)
# 配置文件位置。
spring.config.location=
# 配置文件名漩绵。
spring.config.name= application
# hazelcast配置(Hazelcast是一個高度可擴展的數(shù)據(jù)分發(fā)和集群平臺贱案,提供了高效的、可擴展的分布式數(shù)據(jù)存儲渐行、數(shù)據(jù)緩存.)
# 用于初始化Hazelcast的配置文件的位置轰坊。
spring.hazelcast.config=
# JMX
# JMX域名。
spring.jmx.default-domain=
# 將管理bean暴露給JMX域祟印。
spring.jmx.enabled= true
# MBean服務(wù)器bean名稱。
spring.jmx.server= mbeanServer
# Email (MailProperties)? 郵件屬性
# 默認MimeMessage編碼粟害。
spring.mail.default-encoding= UTF-8
# SMTP服務(wù)器主機蕴忆。 例如`smtp.example.com`
spring.mail.host=
# 會話JNDI名稱。 設(shè)置時悲幅,優(yōu)先于其他郵件設(shè)置套鹅。
spring.mail.jndi-name=
# 登錄SMTP服務(wù)器的密碼。
spring.mail.password=
# SMTP服務(wù)器端口汰具。
spring.mail.port=
# 其他JavaMail會話屬性卓鹿。
spring.mail.properties.*=
# SMTP服務(wù)器使用的協(xié)議。
spring.mail.protocol= smtp
# 測試郵件服務(wù)器在啟動時可用留荔。
spring.mail.test-connection= false
# 登錄SMTP服務(wù)器的用戶吟孙。
spring.mail.username=
# 應(yīng)用設(shè)置(spring應(yīng)用)
# 用于在應(yīng)用程序運行時顯示橫幅的模式。
spring.main.banner-mode= console
# 源(類名聚蝶,包名或XML資源位置)包含在ApplicationContext中杰妓。
spring.main.sources=
# 在Web環(huán)境中運行應(yīng)用程序(默認情況下自動檢測)。
spring.main.web-environment=
# 文件編碼(文件編碼應(yīng)用程序偵聽器)
# 應(yīng)用程序使用的預(yù)期字符編碼碘勉。
spring.mandatory-file-encoding=
# 輸出
# 配置ANSI輸出(可以是“detect”巷挥,“always”,“never”)-->“檢測”验靡,“永遠”倍宾,“從不”
spring.output.ansi.enabled= detect
# PID文件(應(yīng)用程序文件寫入器)
# 如果使用ApplicationPidFileWriter但是無法寫入PID文件雏节,則失敗。
spring.pid.fail-on-write-error=
# 要寫入的PID文件的位置(如果使用ApplicationPidFileWriter)高职。
spring.pid.file=
#? ?簡介(profiles 這個單詞翻譯過來就是這樣... 沒用過這個屬性矾屯,有哪位大神用過請留言我改正,感謝初厚。)
# 活動配置文件的逗號分隔列表件蚕。
spring.profiles.active=
# 無條件地激活指定的逗號分隔的配置文件。
spring.profiles.include=
# SendGrid(SendGrid自動配置)
# SendGrid帳號用戶名
spring.sendgrid.username=
# SendGrid帳號密碼
spring.sendgrid.password=
# SendGrid代理主機
spring.sendgrid.proxy.host=
# SendGrid代理端口
spring.sendgrid.proxy.port=
# ----------------------------------------
#? ?WEB屬性
# ----------------------------------------
# 文件上傳屬性
# 啟用對文件上傳的支持产禾。
multipart.enabled= true
# 將文件寫入磁盤后的閾值排作。 值可以使用后綴“MB”或“KB”表示兆字節(jié)或千字節(jié)大小。
multipart.file-size-threshold= 0
# 上傳文件的位置亚情。
multipart.location=
# 最大文件大小妄痪。 值可以使用后綴“MB”或“KB”表示兆字節(jié)或千字節(jié)大小。
multipart.max-file-size= 1Mb
# 最大請求大小楞件。 值可以使用后綴“MB”或“KB”表示兆字節(jié)或千字節(jié)大小衫生。
multipart.max-request-size= 10Mb
# 嵌入式服務(wù)器配置(服務(wù)器屬性)
# 服務(wù)器應(yīng)綁定到的網(wǎng)絡(luò)地址。
server.address=
# 如果啟用響應(yīng)壓縮土浸。
server.compression.enabled= false
# 從壓縮中排除的用戶代理列表罪针。
server.compression.excluded-user-agents=
# 應(yīng)該壓縮的MIME類型的逗號分隔列表。 例如`text / html黄伊,text / css泪酱,application / json`
server.compression.mime-types=
# 執(zhí)行壓縮所需的最小響應(yīng)大小。 例如2048
server.compression.min-response-size=
# Servlet上下文初始化參數(shù)还最。 例如`server.context-parameters.a =? alpha`
server.context-parameters.*=
# 應(yīng)用程序的上下文路徑墓阀。
server.context-path=
# 顯示應(yīng)用程序的名稱。
server.display-name= application
# 何時包含“stacktrace”屬性拓轻。
server.error.include-stacktrace= never
# 錯誤控制器的路徑斯撮。
server.error.path= /error
# 啟動瀏覽器中出現(xiàn)服務(wù)器錯誤時顯示的默認錯誤頁面。
server.error.whitelabel.enabled= true
# JSP servlet的類名扶叉。
server.jsp-servlet.class-name= org.apache.jasper.servlet.JspServlet
# Init參數(shù)用于配置JSP servlet
server.jsp-servlet.init-parameters.*=
# JSP servlet是否被注冊
server.jsp-servlet.registered= true
# 服務(wù)器HTTP端口勿锅。
server.port= 8080
# 主調(diào)度程序servlet的路徑。
server.servlet-path= /
# 會話cookie的注釋辜梳。
server.session.cookie.comment=
# 會話cookie的域粱甫。
server.session.cookie.domain=
# “HttpOnly”標志為會話cookie。
server.session.cookie.http-only=
# 會話cookie的最大時長(以秒為單位)作瞄。
server.session.cookie.max-age=
# 會話cookie名稱茶宵。
server.session.cookie.name=
# 會話cookie的路徑。
server.session.cookie.path=
# 會話cookie的“安全”標志宗挥。
server.session.cookie.secure=
# 重啟之間持續(xù)會話數(shù)據(jù)乌庶。
server.session.persistent= false
# 用于存儲會話數(shù)據(jù)的目錄种蝶。
server.session.store-dir=
# 會話超時(秒)。
server.session.timeout=
# 會話跟蹤模式(以下一個或多個:“cookie”瞒大,“url”螃征,“ssl”)。
server.session.tracking-modes=
# 支持SSL密碼透敌。
server.ssl.ciphers=
# 客戶端認證是否需要(“want”)或需要(“need”)盯滚。 需要信任存儲。
server.ssl.client-auth=
# ssl配置
server.ssl.enabled=
server.ssl.key-alias=
server.ssl.key-password=
server.ssl.key-store=
server.ssl.key-store-password=
server.ssl.key-store-provider=
server.ssl.key-store-type=
server.ssl.protocol=
server.ssl.trust-store=
server.ssl.trust-store-password=
server.ssl.trust-store-provider=
server.ssl.trust-store-type=
# 創(chuàng)建日志文件的目錄酗电。 可以相對于tomcat base dir或absolute魄藕。
server.tomcat.accesslog.directory=
# 啟用訪問日志。
server.tomcat.accesslog.enabled= false
# 訪問日志的格式化模式撵术。
server.tomcat.accesslog.pattern= common
# 日志文件名前綴背率。
server.tomcat.accesslog.prefix= access_log
# 日志文件名后綴。
server.tomcat.accesslog.suffix= .log
# 在調(diào)用backgroundProcess方法之間延遲秒嫩与。
server.tomcat.background-processor-delay= 30
# Tomcat基本目錄寝姿。 如果未指定,將使用臨時目錄划滋。
server.tomcat.basedir=
# 正則表達式匹配可信IP地址饵筑。
server.tomcat.internal-proxies= 10\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}|\\192\\.168\\.\\d{1,3}\\.\\d{1,3}|\\169\\.254\\.\\d{1,3}\\.\\d{1,3}|\\127\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}|\\172\\.1[6-9]{1}\\.\\d{1,3}\\.\\d{1,3}|\\172\\.2[0-9]{1}\\.\\d{1,3}\\.\\d{1,3}|\\172\\.3[0-1]{1}\\.\\d{1,3}\\.\\d{1,3}
# HTTP消息頭的最大大小(以字節(jié)為單位)古毛。
server.tomcat.max-http-header-size= 0
# 最大工作線程數(shù)翻翩。
server.tomcat.max-threads= 0
# 用于覆蓋原始端口值的HTTP頭的名稱。
server.tomcat.port-header= X-Forwarded-Port
# 頭文件稻薇,保存?zhèn)魅雲(yún)f(xié)議,通常命名為“X-Forwarded-Proto”。
server.tomcat.protocol-header=
# 表示傳入請求使用SSL的協(xié)議頭的值。
server.tomcat.protocol-header-https-value= https
# 提取遠程ip的HTTP頭的名稱拯欧。 例如`X-FORWARDED-FOR`
server.tomcat.remote-ip-header=
# 用于解碼URI的字符編碼就漾。
server.tomcat.uri-encoding= UTF-8
# 訪問日志目錄。
server.undertow.accesslog.dir=
# 啟用訪問日志总滩。
server.undertow.accesslog.enabled= false
# 訪問日志的格式化模式。
server.undertow.accesslog.pattern= common
# 每個緩沖區(qū)的大小字節(jié)數(shù)。
server.undertow.buffer-size=
# 每個區(qū)域的緩沖區(qū)數(shù)骂铁。
server.undertow.buffers-per-region=
# 在Java堆之外分配緩沖區(qū)。
server.undertow.direct-buffers=
# 為工作者創(chuàng)建的I / O線程數(shù)罩抗。
server.undertow.io-threads=
# 工作線程數(shù)拉庵。
server.undertow.worker-threads=
# 如果X-Forwarded- *頭應(yīng)該應(yīng)用于HttpRequest。
server.use-forward-headers=
# 自由標記(自由標記自動配置)
# 設(shè)置是否允許HttpServletRequest屬性重寫(隱藏)控制器生成的同名模型屬性套蒂。
spring.freemarker.allow-request-override= false
# 設(shè)置是否允許HttpSession屬性重寫(隱藏)控制器生成的相同名稱的模型屬性钞支。
spring.freemarker.allow-session-override= false
# 啟用模板緩存茫蛹。
spring.freemarker.cache= false
# 模板編碼。
spring.freemarker.charset= UTF-8
# 檢查模板位置是否存在烁挟。
spring.freemarker.check-template-location= true
# Content-Type值婴洼。
spring.freemarker.content-type= text/html
# 啟用此技術(shù)的MVC視圖分辨率。
spring.freemarker.enabled= true
# 設(shè)置在與模板合并之前是否應(yīng)將所有請求屬性添加到模型中撼嗓。
spring.freemarker.expose-request-attributes= false
# 設(shè)置在與模板合并之前是否應(yīng)將所有HttpSession屬性添加到模型中柬采。
spring.freemarker.expose-session-attributes= false
# 設(shè)置是否公開一個RequestContext供Spring 的宏庫使用,名稱為“springMacroRequestContext”且警。
spring.freemarker.expose-spring-macro-helpers= true
# 首選文件系統(tǒng)訪問模板加載粉捻。 文件系統(tǒng)訪問可以對模板更改進行熱檢測。
spring.freemarker.prefer-file-system-access= true
# 前綴振湾,在構(gòu)建URL時先查看名稱杀迹。
spring.freemarker.prefix=
# 所有視圖的RequestContext屬性的名稱。
spring.freemarker.request-context-attribute=
# 公開的FreeMarker密鑰將被傳遞給FreeMarker的配置押搪。
spring.freemarker.settings.*=
# 后綴树酪,在構(gòu)建URL時附加到查看名稱。
spring.freemarker.suffix=
# 逗號分隔的模板路徑列表大州。
spring.freemarker.template-loader-path= classpath:/templates/
# 可以解決的視圖名稱的白名單续语。
spring.freemarker.view-names=
# groovr模板(Groovy模板自動配置)
# 設(shè)置是否允許HttpServletRequest屬性重寫(隱藏)控制器生成的同名模型屬性。
spring.groovy.template.allow-request-override= false
# 設(shè)置是否允許HttpSession屬性重寫(隱藏)控制器生成的相同名稱的模型屬性厦画。
spring.groovy.template.allow-session-override= false
# 啟用模板緩存疮茄。
spring.groovy.template.cache=
# 模板編碼。
spring.groovy.template.charset= UTF-8
# 檢查模板位置是否存在根暑。
spring.groovy.template.check-template-location= true
# 請參閱GroovyMarkupConfigurer
spring.groovy.template.configuration.*=
# Content-Type值力试。
spring.groovy.template.content-type= test/html
# 啟用此技術(shù)的MVC視圖分辨率。
spring.groovy.template.enabled= true
# 設(shè)置在與模板合并之前是否應(yīng)將所有請求屬性添加到模型中排嫌。
spring.groovy.template.expose-request-attributes= false
# 設(shè)置在與模板合并之前是否應(yīng)將所有HttpSession屬性添加到模型中畸裳。
spring.groovy.template.expose-session-attributes= false
# 設(shè)置是否公開一個RequestContext供Spring Spring的宏庫使用,名稱為“springMacroRequestContext”淳地。
spring.groovy.template.expose-spring-macro-helpers= true
# 前綴怖糊,在構(gòu)建URL時先查看名稱。
spring.groovy.template.prefix=
# 所有視圖的RequestContext屬性的名稱颇象。
spring.groovy.template.request-context-attribute=
# 模板路徑伍伤。
spring.groovy.template.resource-loader-path= classpath:/templates/
# 后綴,在構(gòu)建URL時附加到查看名稱遣钳。
spring.groovy.template.suffix= .tpl
# 可以解決的視圖名稱的白名單扰魂。
spring.groovy.template.view-names=
# spring Hateoas 配置
# 指定應(yīng)用程序/ hal + json響應(yīng)是否應(yīng)發(fā)送到接受application / json的請求。
spring.hateoas.use-hal-as-default-json-media-type= true
# HTTP 消息轉(zhuǎn)換
# 首選JSON映射程序用于HTTP消息轉(zhuǎn)換。 設(shè)置為“gson”強制使用Gson阅爽,當它和Jackson都在類路徑上時路幸。
spring.http.converters.preferred-json-mapper= jackson
# HTTP 編碼(Http編碼屬性)
# HTTP請求和響應(yīng)的字符集。 如果未明確設(shè)置付翁,則添加到“Content-Type”頭简肴。
spring.http.encoding.charset= UTF-8
# 啟用http編碼支持。
spring.http.encoding.enabled= true
# 將編碼強制到HTTP請求和響應(yīng)上配置的字符集百侧。
spring.http.encoding.force= true
# Jackson(解析json和序列化json) 配置
# 日期格式字符串或全限定日期格式類名砰识。 例如`yyyy-MM-dd HH:mm:ss`。
spring.jackson.date-format=
# Jones開/關(guān)功能佣渴,影響Java對象反序列化的方式辫狼。
spring.jackson.deserialization.*=
# 關(guān)閉或者打開Jackson 功能
spring.jackson.generator.*=
# Joda日期時間格式字符串。 如果未配置辛润,如果配置了格式字符串膨处,則“日期格式”將用作后備。
spring.jackson.joda-date-time-format=
# 用于格式化的區(qū)域設(shè)置砂竖。
spring.jackson.locale=
# jackson通用開/關(guān)功能真椿。
spring.jackson.mapper.*=
# Jackson 解析器的開/關(guān)功能。
spring.jackson.parser.*=
# Jackson的PropertyNamingStrategy的一個常量乎澄。 也可以是PropertyNamingStrategy子類的完全限定類名突硝。
spring.jackson.property-naming-strategy=
# Jones開/關(guān)功能,影響Java對象序列化的方式置济。
spring.jackson.serialization.*=
# 控制在序列化期間包含屬性解恰。 配置了Jackson的JsonInclude.Include枚舉中的一個值。
spring.jackson.serialization-inclusion=
# 格式化日期時使用的時區(qū)浙于。 例如`America / Los_Angeles`
spring.jackson.time-zone=
# Jersey 配置
# 作為應(yīng)用程序的基本URI的路徑护盈。 如果指定,則覆蓋“@ApplicationPath”的值羞酗。
spring.jersey.application-path=
# jersey過濾器鏈順序黄琼。
spring.jersey.filter.order= 0
#? init參數(shù)傳遞到Jersey通過servlet或過濾器。
spring.jersey.init.*=
# jersey整合型整慎。可以是“servlet”也可以是“filter”围苫。
spring.jersey.type= servlet
# spring 視圖分解器 配置
# 啟用后退解析支持裤园。
spring.mobile.devicedelegatingviewresolver.enable-fallback= false
# 啟用設(shè)備視圖解析器。
spring.mobile.devicedelegatingviewresolver.enabled= false
# 前綴剂府,用于查看移動設(shè)備的名稱拧揽。
spring.mobile.devicedelegatingviewresolver.mobile-prefix= mobile/
# 后綴,附加到查看移動設(shè)備的名稱。
spring.mobile.devicedelegatingviewresolver.mobile-suffix=
# 前綴淤袜,用于查看普通設(shè)備的名稱痒谴。
spring.mobile.devicedelegatingviewresolver.normal-prefix=
# 后綴,附加到查看普通設(shè)備的名稱铡羡。
spring.mobile.devicedelegatingviewresolver.normal-suffix=
# 前綴积蔚,用于查看平板設(shè)備的名稱。
spring.mobile.devicedelegatingviewresolver.tablet-prefix= tablet/
# 后綴烦周,附加到查看平板電腦設(shè)備的名稱尽爆。
spring.mobile.devicedelegatingviewresolver.tablet-suffix=
# 移動網(wǎng)站首選項 (站點首選項自動配置)
# 啟用SitePreferenceHandler。
spring.mobile.sitepreference.enabled= true
# MUSTACHE模板(Mustache AutoConfiguration)
# 啟用模板緩存读慎。
spring.mustache.cache= false
# 模板編碼漱贱。
spring.mustache.charset= UTF-8
# 檢查模板位置是否存在。
spring.mustache.check-template-location= true
# Content-Type值
spring.mustache.content-type= text/html
# 啟用此技術(shù)的MVC視圖分辨率夭委。
spring.mustache.enabled= true
# 前綴應(yīng)用于模板名稱幅狮。
spring.mustache.prefix= classpath:/templates/
# 后綴應(yīng)用于模板名稱。
spring.mustache.suffix= .html
# 可以解決的視圖名稱的白名單株灸。
spring.mustache.view-names=
# SPRING MVC (Web Mvc 配置)
# 異步請求處理超時之前的時間量(以毫秒為單位)崇摄。
spring.mvc.async.request-timeout=
# 要使用的日期格式。 例如`dd / MM / yyyy`蚂且。
spring.mvc.date-format=
# 發(fā)送TRACE請求到FrameworkServlet doService方法配猫。
spring.mvc.dispatch-trace-request= false
# 發(fā)送OPTIONS請求到FrameworkServlet doService方法。
spring.mvc.dispatch-options-request= false
# 啟用favicon.ico的解析杏死。
spring.mvc.favicon.enabled= true
# 如果在重定向方案期間應(yīng)該忽略“默認”模型的內(nèi)容泵肄。
spring.mvc.ignore-default-model-on-redirect= true
# 要使用的區(qū)域設(shè)置。
spring.mvc.locale=
# 將文件擴展名映射到內(nèi)容協(xié)商的媒體類型淑翼。
spring.mvc.media-types.*=
# 消息代碼格式策略腐巢。 例如`PREFIX_ERROR_CODE`。
spring.mvc.message-codes-resolver-format=
# 用于靜態(tài)資源的路徑模式玄括。
spring.mvc.static-path-pattern= /**
# 如果沒有發(fā)現(xiàn)處理程序來處理請求冯丙,則應(yīng)拋出“NoHandlerFoundException”。
spring.mvc.throw-exception-if-no-handler-found= false
# Spring MVC視圖前綴遭京。
spring.mvc.view.prefix=
# Spring MVC視圖后綴胃惜。
spring.mvc.view.suffix=
#SPRING RESOURCES HANDLING(ResourceProperties)資源處理
spring.resources.add-mappings = true #啟用默認資源處理。
spring.resources.cache-period = #由資源處理程序提供的資源的緩存期哪雕,以秒為單位船殉。
spring.resources.chain.cache = true #在資源鏈中啟用緩存。
spring.resources.chain.enabled = #啟用Spring資源處理鏈斯嚎。默認情況下禁用利虫,除非啟用了至少一個策略挨厚。
spring.resources.chain.html-application-cache = false #啟用HTML5應(yīng)用程序緩存清單重寫。
spring.resources.chain.strategy.content.enabled = false #啟用內(nèi)容版本策略糠惫。
spring.resources.chain.strategy.content.paths = / ** #應(yīng)用于版本策略的模式的逗號分隔列表疫剃。
spring.resources.chain.strategy.fixed.enabled = false #啟用固定版本策略。
spring.resources.chain.strategy.fixed.paths = #應(yīng)用于版本策略的逗號分隔的模式列表硼讽。
spring.resources.chain.strategy.fixed.version = #用于版本策略的版本字符串巢价。
spring.resources.static-locations = classpath:/ META-INF / resources /,classpath:/ resources /理郑,classpath:/ static /蹄溉,classpath:/ public / #靜態(tài)資源的位置。
#SPRING SOCIAL(SocialWebAutoConfiguration)集群
spring.social.auto-connection-views = false #啟用支持的提供程序的連接狀態(tài)視圖您炉。
#SPRING SOCIAL FACEBOOK(FacebookAutoConfiguration)
spring.social.facebook.app-id = #您的應(yīng)用程序的Facebook應(yīng)用程序ID
spring.social.facebook.app-secret = #你的應(yīng)用程序的Facebook應(yīng)用程序密碼
#SPRING SOCIAL LINKEDIN(LinkedInAutoConfiguration)
spring.social.linkedin.app-id = #您的應(yīng)用程序的LinkedIn應(yīng)用程序ID
spring.social.linkedin.app-secret = #您的應(yīng)用程序的LinkedIn App Secret
#SPRING SOCIAL TWITTER(TwitterAutoConfiguration)
spring.social.twitter.app-id = #你的應(yīng)用程序的Twitter應(yīng)用程序ID
spring.social.twitter.app-secret = #你的應(yīng)用程序的Twitter App Secret
#THYMELEAF Thymeleaf模板引擎配置
spring.thymeleaf.cache = true #啟用模板緩存柒爵。
spring.thymeleaf.check-template-location = true #檢查模板位置是否存在。
spring.thymeleaf.content-type = text / html #Content-Type值赚爵。
spring.thymeleaf.enabled = true #啟用MVC Thymeleaf視圖分辨率棉胀。
spring.thymeleaf.encoding = UTF-8 #模板編碼。
spring.thymeleaf.excluded-view-names = #應(yīng)該從解決方案中排除的視圖名稱的逗號分隔列表冀膝。
spring.thymeleaf.mode = HTML5 #應(yīng)用于模板的模板模式唁奢。另請參見StandardTemplateModeHandlers。
spring.thymeleaf.prefix = classpath:/ templates / #在構(gòu)建URL時預(yù)先查看名稱的前綴窝剖。
spring.thymeleaf.suffix = .html #構(gòu)建URL時附加查看名稱的后綴麻掸。
spring.thymeleaf.template-resolver-order = #鏈中模板解析器的順序。
spring.thymeleaf.view-names = #可以解析的視圖名稱的逗號分隔列表赐纱。
#VELOCITY TEMPLATES(VelocityAutoConfiguration)
spring.velocity.allow-request-override = false #設(shè)置是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名的模型屬性脊奋。
spring.velocity.allow-session-override = false #設(shè)置是否允許HttpSession屬性重寫(隱藏)控制器生成的同名的模型屬性。
spring.velocity.cache = #啟用模板緩存疙描。
spring.velocity.charset = UTF-8 #模板編碼诚隙。
spring.velocity.check-template-location = true #檢查模板位置是否存在。
spring.velocity.content-type = text / html #Content-Type值起胰。
spring.velocity.date-tool-attribute = #在視圖的Velocity上下文中公開的DateTool輔助對象的名稱久又。
spring.velocity.enabled = true #啟用此技術(shù)的MVC視圖分辨率。
spring.velocity.expose-request-attributes = false #設(shè)置在與模板合并之前是否應(yīng)將所有請求屬性添加到模型中效五。
spring.velocity.expose-session-attributes = false #設(shè)置在與模板合并之前是否應(yīng)將所有HttpSession屬性添加到模型中地消。
spring.velocity.expose-spring-macro-helpers = true #設(shè)置是否公開一個RequestContext供Spring Spring的宏庫使用,名稱為“springMacroRequestContext”畏妖。
spring.velocity.number-tool-attribute = #在視圖的Velocity上下文中公開的NumberTool幫助對象的名稱犯建。
spring.velocity.prefer-file-system-access = true #首選文件系統(tǒng)訪問模板加載。文件系統(tǒng)訪問可以對模板更改進行熱檢測瓜客。
spring.velocity.prefix = #前綴,用于在構(gòu)建URL時查看名稱。
spring.velocity.properties谱仪。* = #附加速度屬性玻熙。
spring.velocity.request-context-attribute = #所有視圖的RequestContext屬性的名稱。
spring.velocity.resource-loader-path = classpath:/ templates / #模板路徑疯攒。
spring.velocity.suffix = .vm #構(gòu)建URL時附加到查看名稱的后綴嗦随。
spring.velocity.toolbox-config-location = #Velocity Toolbox配置位置。例如`/ WEB-INF / toolbox.xml'
spring.velocity.view-names = #可以解決的視圖名稱的白名單敬尺。
#----------------------------------------
#安全屬性
#----------------------------------------
#SECURITY(SecurityProperties)
security.basic.authorize-mode = role #應(yīng)用安全授權(quán)模式枚尼。
security.basic.enabled = true #啟用基本身份驗證。
security.basic.path = / ** #安全路徑的逗號分隔列表砂吞。
security.basic.realm = Spring #HTTP基本的領(lǐng)域名稱署恍。
security.enable-csrf = false #啟用跨站點請求偽造支持。
security.filter-order = 0 #安全過濾器連鎖訂單蜻直。
security.headers.cache = true #啟用緩存控制HTTP頭盯质。
security.headers.content-type = true# 啟用“X-Content-Type-Options”頭。
security.headers.frame = true #啟用“X-Frame-Options”標題概而。
security.headers.hsts = # HTTP嚴格傳輸安全(HSTS)模式(無呼巷,域,全部)赎瑰。
security.headers.xss = true #啟用跨站點腳本(XSS)保護王悍。
security.ignored = #從默認安全路徑中排除的路徑的逗號分隔列表。
security.require-ssl = false #為所有請求啟用安全通道餐曼。
security.sessions = stateless #會話創(chuàng)建策略(永遠不會压储,if_required,無狀態(tài))晋辆。
security.user.name = user #默認用戶名渠脉。
security.user.password = #默認用戶名的密碼。默認情況下瓶佳,啟動時會記錄隨機密碼芋膘。
security.user.role = USER #為默認用戶名授予角色。
#SECURITY OAUTH2 CLIENT(OAuth2ClientProperties
security.oauth2.client.client-id = #OAuth2客戶端ID霸饲。
security.oauth2.client.client-secret = #OAuth2客戶機密碼为朋。默認生成隨機密碼
#SECURITY OAUTH2 RESOURCES(ResourceServerProperties
security.oauth2.resource.id = #資源的標識符。
security.oauth2.resource.jwt.key-uri = #JWT令牌的URI厚脉。如果值不可用并且密鑰是公共的习寸,可以設(shè)置。
security.oauth2.resource.jwt.key-value = #JWT令牌的驗證密鑰傻工∠枷可以是對稱秘密或PEM編碼的RSA公鑰孵滞。
security.oauth2.resource.prefer-token-info = true #使用令牌信息,可以設(shè)置為false以使用用戶信息鸯匹。
security.oauth2.resource.service-id = resource #
security.oauth2.resource.token-info-uri = #令牌解碼端點的URI坊饶。
security.oauth2.resource.token-type = #使用userInfoUri時發(fā)送的令牌類型。
security.oauth2.resource.user-info-uri = #用戶端點的URI殴蓬。
#SECURITY OAUTH2 SSO(OAuth2SsoProperties
security.oauth2.sso.filter-order = #如果不提供顯式的WebSecurityConfigurerAdapter匿级,則應(yīng)用過濾器順序
security.oauth2.sso.login-path = / login #登錄頁面的路徑,即觸發(fā)重定向到OAuth2授權(quán)服務(wù)器的路徑
# ----------------------------------------
# DATA PROPERTIES 數(shù)據(jù)性能
# ----------------------------------------
# FLYWAY (FlywayProperties)
flyway.baseline-description = #
flyway.baseline-version = 1 #版本開始遷移
flyway.baseline-on-migrate = #
flyway.check-location = false #檢查遷移腳本位置是否存在染厅。
flyway.clean-on-validation-error = #
flyway.enabled = true #啟用飛行路線痘绎。
flyway.encoding = #
flyway.ignore-failed-future-migration = #
flyway.init-sqls = #執(zhí)行SQL語句,以便在獲取連接后立即初始化連接肖粮。
flyway.locations = classpath:db / migration #遷移腳本的位置
flyway.out-of-order = #如果您希望Flyway創(chuàng)建自己的DataSource孤页,則需要使用#path密碼
flyway.placeholder-prefix = #
flyway.placeholder-replacement = #
flyway.placeholder-suffix = #
flyway.placeholders。* = #
flyway.schemas = #schemas來更新
flyway.sql-migration-prefix = V #
flyway.sql-migration-separator = #
flyway.sql-migration-suffix = .sql #
flyway.table = #
flyway.url = #要遷移的數(shù)據(jù)庫的JDBC url尿赚。如果未設(shè)置散庶,則使用主配置的數(shù)據(jù)源。
flyway.user = #登錄要遷移的數(shù)據(jù)庫的用戶凌净。
flyway.validate-on-migrate = #
# LIQUIBASE (LiquibaseProperties)
liquibase.change-log = classpath:/db/changelog/db.changelog-master.yaml #更改日志配置路徑悲龟。
liquibase.check-change-log-location = true #檢查更改日志位置是否存在。
liquibase.contexts = #使用逗號分隔的運行時上下文列表冰寻。
liquibase.default-schema = #默認數(shù)據(jù)庫模式须教。
liquibase.drop-first = false #首先刪除數(shù)據(jù)庫模式。
liquibase.enabled = true #啟用liquidibase支持斩芭。
liquibase.labels = #使用逗號分隔的運行時標簽列表轻腺。
liquibase.parameters。* = #更改日志參數(shù)划乖。
liquibase.password = #登錄要遷移的數(shù)據(jù)庫的密碼贬养。
liquibase.url = #要遷移的數(shù)據(jù)庫的JDBC url。 如果未設(shè)置琴庵,則使用主配置的數(shù)據(jù)源误算。
liquibase.user = #登錄要遷移的數(shù)據(jù)庫的用戶。
# DAO (PersistenceExceptionTranslationAutoConfiguration)
spring.dao.exceptiontranslation.enabled= true # 啟用持久異常翻譯后處理器迷殿。
# CASSANDRA (CassandraProperties)
spring.data.cassandra.cluster-name = #Cassandra群集的名稱儿礼。
spring.data.cassandra.compression = #由Cassandra二進制協(xié)議支持的壓縮。
spring.data.cassandra.connect-timeout-millis = #套接字選項:連接超時庆寺。
spring.data.cassandra.consistency-level = #查詢一致性級別蚊夫。
spring.data.cassandra.contact-points = localhost #集群節(jié)點地址的逗號分隔列表。
spring.data.cassandra.fetch-size = #查詢默認的抓取大小懦尝。
spring.data.cassandra.keyspace-name = #要使用的密鑰空間名稱知纷。
spring.data.cassandra.load-balancing-policy = #負載均衡策略的類名壤圃。
spring.data.cassandra.port = #Cassandra服務(wù)器端口。
spring.data.cassandra.password = #登錄服務(wù)器的密碼屈扎。
spring.data.cassandra.read-timeout-millis = #套接字選項:讀取超時埃唯。
spring.data.cassandra.reconnection-policy = #重新連接策略類。
spring.data.cassandra.retry-policy = #重試策略的類名鹰晨。
spring.data.cassandra.serial-consistency-level = #查詢串行一致性級別。
spring.data.cassandra.ssl = false #啟用SSL支持止毕。
spring.data.cassandra.username = #登錄用戶的服務(wù)器模蜡。
# ELASTICSEARCH (ElasticsearchProperties)
spring.data.elasticsearch.cluster-name = elasticsearch #彈性搜索集群名稱。
spring.data.elasticsearch.cluster-nodes = #集群節(jié)點地址的逗號分隔列表扁凛。 如果未指定忍疾,則啟動客戶端節(jié)點。
spring.data.elasticsearch.properties谨朝。* = #用于配置客戶端的其他屬性卤妒。
spring.data.elasticsearch.repositories.enabled = true #啟用Elasticsearch存儲庫。
# MONGODB (MongoProperties)
spring.data.mongodb.authentication-database = #驗證數(shù)據(jù)庫名稱字币。
spring.data.mongodb.database = test #數(shù)據(jù)庫名稱则披。
spring.data.mongodb.field-naming-strategy = #要使用的FieldNamingStrategy的完全限定名稱。
spring.data.mongodb.grid-fs-database = #GridFS數(shù)據(jù)庫名稱洗出。
spring.data.mongodb.host = localhost #Mongo服務(wù)器主機士复。
spring.data.mongodb.password = #登錄mongo服務(wù)器的密碼。
spring.data.mongodb.port = 27017 #Mongo服務(wù)器端口翩活。
spring.data.mongodb.repositories.enabled = true #啟用Mongo存儲庫阱洪。
spring.data.mongodb.uri = mongodb:// localhost / test #Mongo數(shù)據(jù)庫URI。 設(shè)置時菠镇,主機和端口將被忽略冗荸。
spring.data.mongodb.username = #登錄mongo服務(wù)器的用戶。
# DATA REST (RepositoryRestProperties)
spring.data.rest.base-path = #由Spring Data REST用于公開存儲庫資源的基本路徑利耍。
spring.data.rest.default-page-size = #頁面的默認大小蚌本。
spring.data.rest.enable-enum-translation = #通過Spring Data REST默認資源包啟用枚舉值轉(zhuǎn)換。
spring.data.rest.limit-param-name = #指示一次返回多少結(jié)果的URL查詢字符串參數(shù)的名稱堂竟。
spring.data.rest.max-page-size = #最大頁面大小魂毁。
spring.data.rest.page-param-name = #指示要返回的頁面的URL查詢字符串參數(shù)的名稱。
spring.data.rest.return-body-on-create = #創(chuàng)建一個實體后返回響應(yīng)體出嘹。
spring.data.rest.return-body-on-update = #更新實體后返回響應(yīng)體席楚。
spring.data.rest.sort-param-name = #指示排序結(jié)果的方向的URL查詢字符串參數(shù)的名稱。
# SOLR (SolrProperties)
spring.data.solr.host = http://127.0.0.1:8983/solr #Solr主機税稼。 如果設(shè)置了“zk-host”烦秩,則被忽略垮斯。
spring.data.solr.repositories.enabled = true #啟用Solr存儲庫。
spring.data.solr.zk-host = #ZooKeeper主機地址只祠,格式為HOST:PORT兜蠕。
# 數(shù)據(jù)源 配置 (DataSourceAutoConfiguration & DataSourceProperties)
spring.datasource.continue-on-error = false #初始化數(shù)據(jù)庫時發(fā)生錯誤時不要停止。
spring.datasource.data = #Data(DML)腳本資源引用抛寝。
spring.datasource.driver-class-name = #JDBC驅(qū)動程序的完全限定名稱熊杨。默認情況下,根據(jù)URL自動檢測盗舰。
spring.datasource.initialize = true #使用'data.sql'填充數(shù)據(jù)庫晶府。
spring.datasource.jmx-enabled = false #啟用JMX支持(如果由底層池提供)。
spring.datasource.jndi-name = #數(shù)據(jù)源的JNDI位置钻趋。設(shè)置時川陆,類,網(wǎng)址蛮位,用戶名和密碼將被忽略较沪。
spring.datasource.max-active = #例如100
spring.datasource.max-idle = #例如8
spring.datasource.max等待=
spring.datasource.min-evictable空閑時間-米利斯=
spring.datasource.min-idle = 8
spring.datasource.name = testdb #數(shù)據(jù)源的名稱。
spring.datasource.password = #登錄數(shù)據(jù)庫的密碼失仁。
spring.datasource.platform = all #在資源模式(schema - $ {platform} .sql)中使用的平臺尸曼。
spring.datasource.schema = #Schema(DDL)腳本資源引用。
spring.datasource.separator =;? #語句分隔符在SQL初始化腳本中陶因。
spring.datasource.sql-script-encoding = #SQL腳本編碼骡苞。
spring.datasource.test-on-borrow = #例如`false`
spring.datasource.test-on-return = #例如`false`
spring.datasource.test-while-idle = #
spring.datasource.time-between-eviction-runs-millis = 1
spring.datasource.type = #要使用的連接池實現(xiàn)的完全限定名稱。默認情況下楷扬,它是從類路徑自動檢測的解幽。
spring.datasource.url = #數(shù)據(jù)庫的JDBC url。
spring.datasource.username=
spring.datasource.validation-query=
# H2 Web Console (H2ConsoleProperties)
spring.h2.console.enabled = false #啟用控制臺烘苹。
spring.h2.console.path = / h2-console #控制臺可用的路徑躲株。
# JOOQ (JooqAutoConfiguration)
spring.jooq.sql-dialect=? # 與配置的數(shù)據(jù)源通信時使用的SQLDialect JOOQ。 例如`POSTGRES`
# JPA (JpaBaseConfiguration, HibernateJpaAutoConfiguration)
spring.data.jpa.repositories.enabled = true #啟用JPA存儲庫镣衡。
spring.jpa.database = #目標數(shù)據(jù)庫進行操作霜定,默認情況下自動檢測±扰福可以使用“databasePlatform”屬性設(shè)置望浩。
spring.jpa.database-platform = #要運行的目標數(shù)據(jù)庫的名稱,默認情況下自動檢測惰说∧サ拢可以使用“數(shù)據(jù)庫”枚舉來設(shè)置。
spring.jpa.generate-ddl = false #啟動時初始化模式。
spring.jpa.hibernate.ddl-auto = #DDL模式典挑。這實際上是“hibernate.hbm2ddl.auto”屬性的快捷方式酥宴。使用嵌入式數(shù)據(jù)庫時默認為“創(chuàng)建刪除”,否則為“否”您觉。
spring.jpa.hibernate.naming-strategy = #命名策略完全限定名拙寡。
spring.jpa.open-in-view = true #注冊O(shè)penEntityManagerInViewInterceptor。將JPA EntityManager綁定到線程以進行請求的整個處理琳水。
spring.jpa.properties肆糕。* = #在JPA提供程序上設(shè)置的其他本機屬性。
spring.jpa.show-sql = false #啟用SQL語句的日志記錄在孝。
# JTA (JtaAutoConfiguration)
spring.jta擎宝。* = #技術(shù)特定配置
spring.jta.log-dir = #Transaction logs目錄。
# ATOMIKOS
spring.jta.atomikos.connectionfactory.borrow-connection-timeout = 30 #從池中借用連接的超時(以秒為單位)浑玛。
spring.jta.atomikos.connectionfactory.ignore-session-transacted-flag = true #創(chuàng)建會話時是否忽略事務(wù)標志。
spring.jta.atomikos.connectionfactory.local-transaction-mode = false #是否需要本地事務(wù)噩咪。
spring.jta.atomikos.connectionfactory.maintenance-interval = 60 #池的維護線程運行之間的時間(以秒為單位)顾彰。
spring.jta.atomikos.connectionfactory.max-idle-time = 60 #從池中清除連接之后的時間(以秒為單位)。
spring.jta.atomikos.connectionfactory.max-lifetime = 0 #在被破壞之前可以將連接合并的時間(以秒為單位)胃碾。 0表示無限制涨享。
spring.jta.atomikos.connectionfactory.max-pool-size = 1 #池的最大大小。
spring.jta.atomikos.connectionfactory.min-pool-size = 1 #池的最小大小仆百。
spring.jta.atomikos.connectionfactory.reap-timeout = 0 #借用連接的收獲超時(以秒為單位)厕隧。 0表示無限制。
spring.jta.atomikos.connectionfactory.unique-resource-name = jmsConnectionFactory #用于在恢復(fù)期間標識資源的唯一名稱俄周。
spring.jta.atomikos.datasource.borrow-connection-timeout = 30 #從池中借出連接的超時(秒)吁讨。
spring.jta.atomikos.datasource.default-isolation-level = #池提供的連接的默認隔離級別竹伸。
spring.jta.atomikos.datasource.login-timeout = #用于建立數(shù)據(jù)庫連接的超時(以秒為單位)除抛。
spring.jta.atomikos.datasource.maintenance-interval = 60 #池的維護線程運行之間的時間(以秒為單位)。
spring.jta.atomikos.datasource.max-idle-time = 60 #從池中清除連接之后的時間(以秒為單位)阀坏。
spring.jta.atomikos.datasource.max-lifetime = 0 #在被破壞之前可以將連接合并的時間(以秒為單位)波势。 0表示無限制翎朱。
spring.jta.atomikos.datasource.max-pool-size = 1 #池的最大大小。
spring.jta.atomikos.datasource.min-pool-size = 1 #池的最小大小尺铣。
spring.jta.atomikos.datasource.reap-timeout = 0 #借用連接的收獲超時(以秒為單位)拴曲。 0表示無限制。
spring.jta.atomikos.datasource.test-query = #用于在返回連接之前驗證連接的SQL查詢或語句凛忿。
spring.jta.atomikos.datasource.unique-resource-name = dataSource #用于在恢復(fù)期間識別資源的唯一名稱澈灼。
# BITRONIX
spring.jta.bitronix.connectionfactory.acquire-increment = 1 #生成池時要創(chuàng)建的連接數(shù)。
spring.jta.bitronix.connectionfactory.acquisition-interval = 1 #在獲取無效連接后再次嘗試獲取連接之前等待的時間(以秒為單位)侄非。
spring.jta.bitronix.connectionfactory.acquisition-timeout = 30 #從池中獲取連接的超時(以秒為單位)蕉汪。
spring.jta.bitronix.connectionfactory.allow-local-transactions = true #事務(wù)管理器是否允許混合XA和非XA事務(wù)流译。
spring.jta.bitronix.connectionfactory.apply-transaction-timeout = false #當XAResource被登記時,是否應(yīng)該設(shè)置事務(wù)超時者疤。
spring.jta.bitronix.connectionfactory.automatic-enlisting-enabled = true #資源是否應(yīng)該被自動登記和刪除福澡。
spring.jta.bitronix.connectionfactory.cache-producer-consumer = true #是否生產(chǎn)和消費者應(yīng)該被緩存。
spring.jta.bitronix.connectionfactory.defer-connection-release = true #提供程序是否可以在同一連接上運行許多事務(wù)驹马,并支持事務(wù)交織革砸。
spring.jta.bitronix.connectionfactory.ignore-recovery-failures = false #是否應(yīng)忽略恢復(fù)失敗。
spring.jta.bitronix.connectionfactory.max-idle-time = 60 #從池中清除連接之后的時間(以秒為單位)糯累。
spring.jta.bitronix.connectionfactory.max-pool-size = 10 #池的最大大小算利。 0表示無限制。
spring.jta.bitronix.connectionfactory.min-pool-size = 0 #池的最小大小泳姐。
spring.jta.bitronix.connectionfactory.password = #用于連接到JMS提供程序的密碼效拭。
spring.jta.bitronix.connectionfactory.share-transaction-connections = false #ACCESSIBLE狀態(tài)中的連接是否可以在事務(wù)的上下文中共享。
spring.jta.bitronix.connectionfactory.test-connections = true #從池中獲取連接是否應(yīng)該進行測試胖秒。
spring.jta.bitronix.connectionfactory.two-pc-ordering-position = 1 #在兩階段提交期間該資源應(yīng)該采取的位置(始終為Integer.MIN_VALUE缎患,始終為Integer.MAX_VALUE)。
spring.jta.bitronix.connectionfactory.unique-name = jmsConnectionFactory #用于在恢復(fù)期間標識資源的唯一名稱阎肝。
spring.jta.bitronix.connectionfactory.use-tm-join = true啟動XAResource時是否應(yīng)使用TMJOIN挤渔。
spring.jta.bitronix.connectionfactory.user = #用于連接到JMS提供者的用戶。
spring.jta.bitronix.datasource.acquire-increment = 1 #生成池時要創(chuàng)建的連接數(shù)风题。
spring.jta.bitronix.datasource.acquisition-interval = 1 #在獲取無效連接后再嘗試獲取連接之前等待的時間(以秒為單位)判导。
spring.jta.bitronix.datasource.acquisition-timeout = 30 #從池中獲取連接的超時(以秒為單位)。
spring.jta.bitronix.datasource.allow-local-transactions = true #事務(wù)管理器是否允許混合XA和非XA事務(wù)沛硅。
spring.jta.bitronix.datasource.apply-transaction-timeout = false #當XAResource被登記時眼刃,是否應(yīng)該設(shè)置事務(wù)超時。
spring.jta.bitronix.datasource.automatic-enlisting-enabled = true #資源是否應(yīng)該被登記和自動刪除稽鞭。
spring.jta.bitronix.datasource.cursor-holdability = #連接的默認游標保持性鸟整。
spring.jta.bitronix.datasource.defer-connection-release = true #數(shù)據(jù)庫是否可以在同一連接上運行許多事務(wù),并支持事務(wù)交織朦蕴。
spring.jta.bitronix.datasource.enable-jdbc4-connection-test = #從池中獲取連接時是否調(diào)用Connection.isValid()篮条。
spring.jta.bitronix.datasource.ignore-recovery-failures = false #是否應(yīng)忽略恢復(fù)失敗。
spring.jta.bitronix.datasource.isolation-level = #連接的默認隔離級別吩抓。
spring.jta.bitronix.datasource.local-auto-commit = #本地事務(wù)的默認自動提交模式涉茧。
spring.jta.bitronix.datasource.login-timeout = #用于建立數(shù)據(jù)庫連接的超時(以秒為單位)。
spring.jta.bitronix.datasource.max-idle-time = 60 #從池中清除連接之后的時間(以秒為單位)疹娶。
spring.jta.bitronix.datasource.max-pool-size = 10 #池的最大大小伴栓。 0表示無限制。
spring.jta.bitronix.datasource.min-pool-size = 0 #池的最小大小。
spring.jta.bitronix.datasource.prepared-statement-cache-size = 0 #準備好的語句高速緩存的目標大小钳垮。 0禁用緩存惑淳。
spring.jta.bitronix.datasource.share-transaction-connections = false #ACCESSIBLE狀態(tài)下的連接是否可以在事務(wù)的上下文中共享。
spring.jta.bitronix.datasource.test-query = #用于在返回連接之前驗證連接的SQL查詢或語句饺窿。
spring.jta.bitronix.datasource.two-pc-ordering-position = 1 #在兩階段提交期間該資源應(yīng)該采取的位置(始終為Integer.MIN_VALUE歧焦,始終為Integer.MAX_VALUE)。
spring.jta.bitronix.datasource.unique-name = dataSource #用于在恢復(fù)期間標識資源的唯一名稱肚医。
spring.jta.bitronix.datasource.use-tm-join = true啟動XAResource時是否應(yīng)使用TMJOIN绢馍。
# EMBEDDED MONGODB (EmbeddedMongoProperties)
spring.mongodb.embedded.features = SYNC_DELAY #啟用功能的逗號分隔列表。
spring.mongodb.embedded.version = 2.6.10 #Mongo使用版本肠套。
# ----------------------------------------
# 整合屬性
# ----------------------------------------
#ACTIVEMQ(ActiveMQProperties)
spring.activemq.broker-url = #ActiveMQ代理的URL舰涌。 默認自動生成。 例如`tcp:// localhost:61616`
spring.activemq.in-memory = true #指定默認代理URL是否應(yīng)在內(nèi)存中你稚。 如果指定了一個顯式代理瓷耙,則被忽略。
spring.activemq.password = #登錄密碼的代理刁赖。
spring.activemq.pooled = false #指定是否創(chuàng)建PooledConnectionFactory而不是常規(guī)的ConnectionFactory哺徊。
spring.activemq.user = #代理登錄用戶。
# ARTEMIS (ArtemisProperties)
spring.artemis.embedded.cluster-password = #群集密碼乾闰。 默認情況下隨機生成。
spring.artemis.embedded.data-directory = #日志文件目錄盈滴。 如果持久性被關(guān)閉涯肩,則不需要。
spring.artemis.embedded.enabled = true #如果Artemis服務(wù)器API可用巢钓,啟用嵌入式模式病苗。
spring.artemis.embedded.persistent = false #啟用持久存儲。
spring.artemis.embedded.queues = #啟動時要創(chuàng)建的隊列的逗號分隔列表症汹。
spring.artemis.embedded.server-id = #服務(wù)器ID硫朦。 默認情況下,使用自動遞增的計數(shù)器背镇。
spring.artemis.embedded.topics = #啟動時要創(chuàng)建的主題的逗號分隔列表咬展。
spring.artemis.host = localhost #Artemis代理主機。
spring.artemis.mode = #Artemis部署模式瞒斩,默認情況下自動檢測破婆。 可以顯式設(shè)置為“native”或“embedded”。
spring.artemis.port = 61616 #Artemis 中間件端口胸囱。
# SPRING BATCH(Batch 配置)
spring.batch.initializer.enabled = true #如果需要祷舀,在啟動時創(chuàng)建所需的批處理表。
spring.batch.job.enabled = true #在啟動時執(zhí)行上下文中的所有Spring批處理作業(yè)。
spring.batch.job.names = #在啟動時執(zhí)行的作業(yè)名稱的逗號分隔列表(例如`job1裳扯,job2`)抛丽。 默認情況下,執(zhí)行在上下文中找到的所有作業(yè)饰豺。
spring.batch.schema = classpath:org / springframework / batch / core / schema - @@ platform @@亿鲜。sql #用于初始化數(shù)據(jù)庫模式的SQL文件的路徑。
spring.batch.table-prefix = #所有批次元數(shù)據(jù)表的表前綴哟忍。
# HORNETQ (HornetQ 配置)
spring.hornetq.embedded.cluster-password = #集群密碼狡门。 默認情況下隨機生成。
spring.hornetq.embedded.data-directory = #日志文件目錄锅很。 如果持久性被關(guān)閉其馏,則不需要。
spring.hornetq.embedded.enabled = true #如果HornetQ服務(wù)器API可用爆安,啟用嵌入式模式叛复。
spring.hornetq.embedded.persistent = false #啟用持久存儲。
spring.hornetq.embedded.queues = #啟動時要創(chuàng)建的隊列的逗號分隔列表扔仓。
spring.hornetq.embedded.server-id = #服務(wù)器ID褐奥。 默認情況下,使用自動遞增的計數(shù)器翘簇。
spring.hornetq.embedded.topics = #在啟動時創(chuàng)建的主題的逗號分隔列表撬码。
spring.hornetq.host = localhost #HornetQ代理主機。
spring.hornetq.mode = #HornetQ部署模式版保,默認情況下自動檢測呜笑。 可以顯式設(shè)置為“native”或“embedded”。
spring.hornetq.port = 5445 #HornetQ代理端口彻犁。
# JMS (Jms 配置)
# 連接工廠JNDI名稱叫胁。 設(shè)置時,優(yōu)先于其他連接工廠自動配置汞幢。
spring.jms.jndi-name=
# 容器的確認模式驼鹅。 默認情況下,監(jiān)聽器被自動確認處理森篷。
spring.jms.listener.acknowledge-mode=
# 啟動時自動啟動容器输钩。
spring.jms.listener.auto-startup= true
# 最小并發(fā)消費者數(shù)。
spring.jms.listener.concurrency=
# 最大并發(fā)消費者數(shù)仲智。
spring.jms.listener.max-concurrency=
# 指定默認的目的地類型是否為主題张足。
spring.jms.pub-sub-domain= false
# RABBIT (Rabbit 配置)
# 客戶端應(yīng)連接到的逗號分隔的地址列表。
spring.rabbitmq.addresses =
spring.rabbitmq.dynamic =? true # 創(chuàng)建一個AmqpAdmin bean坎藐。
spring.rabbitmq.host =? localhost# RabbitMQ主機为牍。
spring.rabbitmq.listener.acknowledge-mode = # 容器的確認模式哼绑。
spring.rabbitmq.listener.auto-startup =? true# 啟動時自動啟動容器。
spring.rabbitmq.listener.concurrency = # 最少消費者數(shù)碉咆。
spring.rabbitmq.listener.max-concurrency = # 最大消費者數(shù)抖韩。
spring.rabbitmq.listener.prefetch = # 在單個請求中要處理的消息數(shù)。它應(yīng)該大于或等于事務(wù)大幸咄(如果使用)茂浮。
spring.rabbitmq.listener.transaction-size = # 在事務(wù)中要處理的消息數(shù)。為了獲得最佳結(jié)果壳咕,它應(yīng)該小于或等于預(yù)取計數(shù)席揽。
spring.rabbitmq.password = # 登錄以對代理進行身份驗證。
spring.rabbitmq.port =? 5672# RabbitMQ端口谓厘。
spring.rabbitmq.requested-heartbeat = # 請求的心跳超時幌羞,以秒為單位;零為無。
spring.rabbitmq.ssl.enabled =? false# 啟用SSL支持竟稳。
spring.rabbitmq.ssl.key-store =? # 保存SSL證書的密鑰存儲區(qū)的路徑属桦。
spring.rabbitmq.ssl.key-store-password = # 用于訪問密鑰庫的密碼。
spring.rabbitmq.ssl.trust-store = # 保存SSL證書的Trust存儲他爸。
spring.rabbitmq.ssl.trust-store-password = # 用于訪問信任存儲的密碼聂宾。
spring.rabbitmq.username = # 登錄用戶對代理進行身份驗證。
spring.rabbitmq.virtual-host = # 連接到代理時使用的虛擬主機诊笤。
# 端點配置(EndpointCorsProperties)
# 設(shè)置是否支持憑據(jù)系谐。 未設(shè)置時,不支持憑據(jù)讨跟。
endpoints.cors.allow-credentials=
# 在請求中允許的頭文件逗號分隔列表蔚鸥。 '*'允許所有標題。
endpoints.cors.allowed-headers=
# 逗號分隔的允許的方法列表许赃。 '*'允許所有方法。
endpoints.cors.allowed-methods= GET
# 逗號分隔的起始列表允許馆类。 '*'允許所有來源混聊。 未設(shè)置時,禁用CORS支持乾巧。
endpoints.cors.allowed-origins=
# 包含在響應(yīng)中的標題的逗號分隔列表句喜。
endpoints.cors.exposed-headers=
# 客戶端可以緩存飛行前請求的響應(yīng)時間(秒)。
endpoints.cors.max-age= 1800
# JMX ENDPOINT (EndpointMBeanExportProperties) (端點MBean導(dǎo)出屬性)
# JMX域名沟于。 如果設(shè)置為'spring.jmx.default-domain'的值初始化咳胃。
endpoints.jmx.domain=
# 啟用所有端點的JMX導(dǎo)出。
endpoints.jmx.enabled= true
# 附加靜態(tài)屬性以附加到表示端點的MBean的所有對象名稱旷太。
endpoints.jmx.static-names=
# 確保在發(fā)生沖突時修改ObjectNames展懈。
endpoints.jmx.unique-names= false
# JOLOKIA? JOLOKIA 配置
# 見Jolokia手冊
jolokia.config.*=
# 管理HTTP服務(wù)器(管理服務(wù)器屬性)
# 在每個響應(yīng)中添加“X-Application-Context”HTTP頭销睁。
management.add-application-context-header= true
# 管理端點應(yīng)綁定到的網(wǎng)絡(luò)地址。
management.address=
# 管理端點上下文路徑存崖。 例如`/ actuator`
management.context-path=
# 管理端點HTTP端口冻记。 默認使用與應(yīng)用程序相同的端口。
management.port=
# 啟用安全性
management.security.enabled= true
# 訪問管理端點所需的角色来惧。
management.security.role= ADMIN
# 會話創(chuàng)建策略使用(always冗栗,never,if_required供搀,stateless)(總是隅居,永遠,if_required葛虐,無狀態(tài))胎源。
management.security.sessions= stateless
# HEALTH INDICATORS (previously health.*)
# 啟用數(shù)據(jù)庫運行狀況檢查
management.health.db.enabled= true
# 啟用默認的健康指標。
management.health.defaults.enabled= true
# 啟用磁盤空間運行狀況檢查挡闰。
management.health.diskspace.enabled= true
# 用于計算可用磁盤空間的路徑乒融。
management.health.diskspace.path=
# 應(yīng)該可用的最小磁盤空間(以字節(jié)為單位)。
management.health.diskspace.threshold= 0
# 啟用彈性搜索健康檢查摄悯。
management.health.elasticsearch.enabled= true
# 逗號分隔的索引名稱赞季。
management.health.elasticsearch.indices=
# 等待群集響應(yīng)的時間(以毫秒為單位)。
management.health.elasticsearch.response-timeout= 100
# 啟用JMS健康檢查奢驯。
management.health.jms.enabled= true
# 啟用郵件運行狀況檢查申钩。
management.health.mail.enabled= true
# 啟用MongoDB健康檢查。
management.health.mongo.enabled= true
# 啟用RabbitMQ運行狀況檢查瘪阁。
management.health.rabbit.enabled= true
# 啟用Redis健康檢查撒遣。
management.health.redis.enabled= true
# 啟用Solr運行狀況檢查。
management.health.solr.enabled= true
# 按照嚴重性的順序管跺,以逗號分隔的健康狀態(tài)列表义黎。
management.health.status.order= DOWN, OUT_OF_SERVICE, UNKNOWN, UP
# TRACING ((TraceProperties) 跟蹤性能
# 跟蹤中包含的項目。
management.trace.include= request-headers,response-headers,errors
# 遠程 shell配置
# 驗證類型豁跑。 根據(jù)環(huán)境自動檢測廉涕。
shell.auth= simple
# JAAS域。
shell.auth.jaas.domain= my-domain
# 驗證密鑰的路徑艇拍。 這應(yīng)該指向一個有效的“.pem”文件狐蜕。
shell.auth.key.path=
# 登錄用戶。
shell.auth.simple.user.name= user
# 登錄用戶的密碼卸夕。
shell.auth.simple.user.password=
# 登錄到CRaSH控制臺的所需的角色层释,以逗號分隔列表。
shell.auth.spring.roles= ADMIN
# 用于查找命令的模式快集。
shell.command-path-patterns= classpath*:/commands/**,classpath*:/crash/commands/**
# 掃描更改并在必要時更新命令(以秒為單位)贡羔。
shell.command-refresh-interval= -1
# 用于查找配置的模式廉白。
shell.config-path-patterns= classpath*:/crash/*
# 逗號分隔的要禁用的命令列表。
shell.disabled-commands= jpa*,jdbc*,jndi*
# 禁用逗號分隔的插件列表治力。 默認情況下蒙秒,根據(jù)環(huán)境禁用某些插件。
shell.disabled-plugins=
# 用戶被提示再次登錄后的毫秒數(shù)宵统。
shell.ssh.auth-timeout =
# 啟用CRaSH SSH支持晕讲。
shell.ssh.enabled= true
# 未使用的連接關(guān)閉之后的毫秒數(shù)。
shell.ssh.idle-timeout =
# SSH服務(wù)器密鑰路徑马澈。
shell.ssh.key-path=
# SSH端口瓢省。
shell.ssh.port= 2000
# 啟用CRaSH telnet支持。 如果TelnetPlugin可用痊班,默認情況下啟用勤婚。
shell.telnet.enabled= false
# Telnet端口。
shell.telnet.port= 5000
# GIT 信息配置
# 生成的git信息屬性文件的資源引用涤伐。
spring.git.properties=
# 標準出口
# 模式馒胆,告訴聚合器如何從源存儲庫中的鍵。
spring.metrics.export.aggregate.key-pattern=
# 全局存儲庫的前綴如果處于活動狀態(tài)凝果。
spring.metrics.export.aggregate.prefix=
# 導(dǎo)出刻度之間以毫秒為單位的延遲祝迂。 按照這種延遲,指標將按計劃導(dǎo)出到外部來源器净。
spring.metrics.export.delay-millis= 5000
# 標志以啟用度量標準導(dǎo)出(假設(shè)MetricWriter可用)型雳。
spring.metrics.export.enabled= true
# 要排除的度量名稱列表。 應(yīng)用后包括山害。
spring.metrics.export.excludes=
# 要包含的度量名稱的模式列表纠俭。
spring.metrics.export.includes=
# redis存儲庫導(dǎo)出的密鑰(如果活動)。
spring.metrics.export.redis.key= keys.spring.metrics
# redis存儲庫的前綴 如果處于活動狀態(tài)浪慌。
spring.metrics.export.redis.prefix= spring.metrics
# 標志基于不導(dǎo)出不變的度量值來關(guān)閉任何可用的優(yōu)化冤荆。
spring.metrics.export.send-latest=
# 主機的statsd服務(wù)器接收導(dǎo)出的指標。
spring.metrics.export.statsd.host=
# 接收導(dǎo)出指標的statsd服務(wù)器端口权纤。
spring.metrics.export.statsd.port= 8125
# statsd導(dǎo)出指標的前綴钓简。
spring.metrics.export.statsd.prefix=
# 每個MetricWriter bean名稱具有特定的觸發(fā)器屬性。
spring.metrics.export.triggers.*=
# ----------------------------------------
# DEVTOOLS屬性
# ----------------------------------------
# DEVTOOLS(開發(fā)工具屬性)
# 啟用一個livereload.com兼容的服務(wù)器妖碉。
spring.devtools.livereload.enabled= true
#? # Server port.
spring.devtools.livereload.port= 35729
# 應(yīng)該排除的觸發(fā)完全重新啟動的其他模式。
spring.devtools.restart.additional-exclude=
# 觀看更改的附加路徑芥被。
spring.devtools.restart.additional-paths=
# 啟用自動重啟功能欧宜。
spring.devtools.restart.enabled= true
# 應(yīng)該排除的模式觸發(fā)完全重新啟動。
spring.devtools.restart.exclude= META-INF/maven/**,META-INF/resources/**,resources/**,static/**,public/**,templates/**,**/*Test.class,**/*Tests.class,git.properties
# 輪詢類路徑更改之間等待的時間量(以毫秒為單位)拴魄。
spring.devtools.restart.poll-interval= 1000
# 觸發(fā)重新啟動之前沒有任何類路徑更改所需的安靜時間量(以毫秒為單位)冗茸。
spring.devtools.restart.quiet-period= 400
# 更改后的特定文件的名稱將觸發(fā)重新啟動檢查席镀。 如果未指定任何類路徑文件更改將觸發(fā)重新啟動。
spring.devtools.restart.trigger-file=
# 遠程開發(fā)工具屬性
# 用于處理遠程連接的上下文路徑夏漱。
spring.devtools.remote.context-path= /.~~spring-boot!~
# 啟用遠程調(diào)試支持豪诲。
spring.devtools.remote.debug.enabled= true
# 本地遠程調(diào)試服務(wù)器端口。
spring.devtools.remote.debug.local-port= 8000
# 用于連接到遠程應(yīng)用程序的代理主機挂绰。
spring.devtools.remote.proxy.host=
# 用于連接到遠程應(yīng)用程序的代理端口屎篱。
spring.devtools.remote.proxy.port=
# 啟用遠程重啟。
spring.devtools.remote.restart.enabled= true
# 建立連接所需的共享密鑰(需要啟用遠程支持)葵蒂。
spring.devtools.remote.secret=
# HTTP頭用于傳輸共享密鑰交播。
spring.devtools.remote.secret-header-name= X-AUTH-TOKEN