SpringBoot Application.yml 中可設置的屬性導航

原文鏈接:https://www.cnblogs.com/renshengruozhiruchujian/p/7799338.html

原文鏈接:SpringBoot 可設置的屬性


# ----------------------------------------
#核心特性
# ----------------------------------------
 
#BANNER
banner.charset = UTF-8 #橫幅文件編碼。
banner.location = classpath:banner.txt #橫幅文件位置。
banner.image.location = classpath:banner.gif #橫幅圖像文件位置(也可以使用jpg / png)。
banner.image.width = #crs 中橫幅圖像的寬度(默認爲76)
banner.image.height = #crs 中橫幅圖像的高度(默認基於圖像高度)
banner.image.margin = #字符中的左手圖像邊距(默認爲2)
banner.image.invert = #如果對於黑暗的終端主題應該反轉圖像(默認爲false)
 
#LOGGING
logging.config = #日誌配置文件的位置。例如,用於Logback的`classpath:logback.xml`
logging.exception-conversion-word =%wEx #記錄異常時使用的轉換字。
logging.file = #日誌文件名。例如`myapp.log`
logging.level。* = #日誌級別嚴重性映射。例如`logging.level.org.springframework = DEBUG`
logging.path = #日誌文件的位置。例如`/ var / log`
logging.pattern.console = #用於輸出到控制檯的Appender模式。僅支持默認的logback設置。
logging.pattern.file = #用於輸出到文件的Appender模式。僅支持默認的logback設置。
logging.pattern.level = #日誌級別的Appender模式(默認%5p)。僅支持默認的logback設置。
logging.register-shutdown-hook = false #在日誌記錄系統初始化時爲其註冊一個shutdown hook。
 
#AOP
spring.aop.auto = true #添加@EnableAspectJAutoProxy。
spring.aop.proxy-target-class = false #是否要創建基於子類的(CGLIB)代理(true),而不是基於標準Java接口的代理(false)。
 
#IDENTITY(ContextIdApplicationContextInitializer)
spring.application.index = #Application index。
spring.application.name = #應用程序名稱。
 
#ADMIN (SpringApplicationAdminJmxAutoConfiguration)
spring.application.admin.enabled = false #啓用應用程序的管理功能。
spring.application.admin.jmx-name = org.springframework.boot:type = Admin,name = SpringApplication #JMX 應用程序管理員MBean的名稱。
 
#AUTO-CONFIGURATION
spring.autoconfigure.exclude = #要排除的自動配置類。
 
#SPEING CORE
spring.beaninfo.ignore = true #跳過BeanInfo類的搜索。
 
#SPRING CACHE(CacheProperties)
spring.cache.cache-names = #Cmama 分隔的要創建的緩存名稱列表(如果底層緩存管理器支持)。
spring.cache.caffeine.spec = #用於創建緩存的規範。有關規格格式的更多詳細信息,請查看CaffeineSpec。
spring.cache.couchbase.expiration = 0 #條目到期時間(以毫秒爲單位)。默認情況下,條目永不過期。
spring.cache.ehcache.config = #用於初始化EhCache的配置文件的位置。
spring.cache.guava.spec = #用於創建緩存的規範。有關規範格式的更多詳細信息,請查看CacheBuilderSpec。
spring.cache.infinispan.config = #用於初始化Infinispan的配置文件的位置。
spring.cache.jcache.config = #用於初始化緩存管理器的配置文件的位置。
spring.cache.jcache.provider = #CachingProvider實現的完全限定名稱,用於檢索符合JSR-107的緩存管理器。只有在類路徑上有多個JSR-107實現時才需要。
spring.cache.type = #Cache 類型,默認情況下根據環境自動檢測。
 
#SPRING CONFIG  - 僅使用環境屬性(ConfigFileApplicationListener)
spring.config.location = #Config 文件位置。
spring.config.name = application #配置文件名。
 
#HAZELCAST(HazelcastProperties)
spring.hazelcast.config = #用於初始化Hazelcast的配置文件的位置。
 
#PROJECT INFORMATION(ProjectInfoProperties)
spring.info.build.location = classpath:META-INF / build-info.properties #生成的build-info.properties文件的位置。
spring.info.git.location =類路徑:git.properties 生成的git.properties文件#所在。
 
#JMX
spring.jmx.default-domain = #JMX域名。
spring.jmx.enabled = true #將管理bean公開給JMX域。
spring.jmx.server = mbeanServer #MBeanServer bean name。
 
#Email (MailProperties)
spring.mail.default-encoding = UTF-8 #默認MimeMessage編碼。
spring.mail.host = #SMTP 服務器主機。例如`smtp.example.com`
spring.mail.jndi-name = #會話JNDI名稱。設置時,優先於其他郵件設置。
spring.mail.password = #SMTP 服務器的登錄密碼。
spring.mail.port = #SMTP 服務器端口。
spring.mail.properties。* = #其他JavaMail會話屬性。
spring.mail.protocol = smtp #SMTP服務器使用的協議。
spring.mail.test-connection = false #測試郵件服務器在啓動時是否可用。
spring.mail.username = #STP 服務器的登錄用戶。
 
#APPLING SETTINGS(SpringApplication)
spring.main.banner-mode = console #用於在應用程序運行時顯示橫幅的模式。
spring.main.sources = 要包含在ApplicationContext中的 #Sources (類名,包名或XML資源位置)。
spring.main.web-environment = #在Web環境中運行應用程序(默認情況下自動檢測)。
 
#FILE 編碼(FileEncodingApplicationListener)
spring.mandatory-file-encoding = #應用程序必須使用的預期字符編碼。
 
#INTERNATIONALIZATION(MessageSourceAutoConfiguration)
spring.messages.always-use-message-format = false #設置是否始終應用MessageFormat規則,甚至解析不帶參數的消息。
spring.messages.basename = messages #逗號分隔的basenames列表,每個都遵循ResourceBundle約定。
spring.messages.cache-seconds = -1 #加載的資源包文件緩存到期,以秒爲單位。設置爲-1時,捆綁包將永久緩存。
spring.messages.encoding = UTF-8 #消息包編碼。
spring.messages.fallback-to-system-locale = true #設置是否在找不到特定區域設置的文件時回退到系統區域設置。
 
#OUTPUT
spring.output.ansi.enabled = detect #配置ANSI輸出。
 
#PID文件(ApplicationPidFileWriter)
spring.pid.fail-on-write-error = #如果使用ApplicationPidFileWriter但它無法寫入PID文件,則失敗。
spring.pid.file = #要寫入的PID文件的位置(如果使用ApplicationPidFileWriter)。
 
#ProfILES
spring.profiles.active = #活動配置文件的逗號分隔列表(或列表,如果使用YAML)。
spring.profiles.include = #無條件激活指定的逗號分隔的配置文件(或使用YAML時的配置文件列表)。
 
#SENDGRID(SendGridAutoConfiguration)
spring.sendgrid.api-key = #SendGrid api key(用戶名/密碼的替代)
spring.sendgrid.username = #SendGrid帳戶用戶名
spring.sendgrid.password = #SendGrid帳戶密碼
spring.sendgrid.proxy.host = #SendGrid代理主機
spring.sendgrid.proxy.port = #SendGrid代理端口
 
 
# ----------------------------------------
#WEB PROPERTIES
# ----------------------------------------
 
#EmbEDDED SERVER CONFIGURATION(ServerProperties)
server.address = #服務器應綁定到的網絡地址。
server.compression.enabled = false #如果啓用了響應壓縮。
server.compression.excluded-user-agents = #要從壓縮中排除的用戶代理列表。
server.compression.mime-types = #逗號分隔的應該壓縮的MIME類型列表。例如`text / html,text / css,application / json`
server.compression.min-response-size = #執行壓縮所需的最小響應大小。比如2048
server.connection-timeout = #連接器在關閉連接之前等待另一個HTTP請求的時間(以毫秒爲單位)。未設置時,將使用連接器的特定於容器的默認值。使用值-1表示沒有(即無限)超時。
server.context-parameters。* = #Servlet context init參數。例如`server.context-parameters.a = alpha`
server.context-path = #應用程序的上下文路徑。
server.display-name = application #顯示應用程序的名稱。
server.max-http-header-size = 0 #HTTP消息頭的最大字節數。
server.error.include-stacktrace = never #何時包含“stacktrace”屬性。
server.error.path = / error #錯誤控制器的路徑。
server.error.whitelabel.enabled = true #在服務器出錯的情況下啓用瀏覽器中顯示的默認錯誤頁面。
server.jetty.acceptors = #要使用的接受者線程數。
server.jetty.max-http-post-size = 0 #HTTP post或put內容的最大字節數。
server.jetty.selectors = #要使用的選擇器線程數。
server.jsp-servlet.class-name = org.apache.jasper.servlet.JspServlet #JSP servlet的類名。
server.jsp-servlet.init-parameters。* = #用於配置JSP servlet的Init參數
server.jsp-servlet.registered = true #是否註冊了JSP servlet
server.port = 8080 #服務器HTTP端口。
server.server-header = #用於服務器響應頭的值(如果爲空則不發送頭)
server.servlet-path = / #主調度程序servlet的路徑。
server.use-forward-headers = #如果X-Forwarded- *頭應該應用於HttpRequest。
server.session.cookie.comment = #會話cookie的評論。
server.session.cookie.domain = #會話cookie的域名。
server.session.cookie.http-only = 會話cookie的#“HttpOnly”標誌。
server.session.cookie.max-age = #會話cookie的最大年齡,以秒爲單位。
server.session.cookie.name = #會話cookie名稱。
server.session.cookie.path = #會話cookie的路徑。
server.session.cookie.secure = 會話cookie的#“Secure”標誌。
server.session.persistent = false #在重新啓動之間保留會話數據。
server.session.store-dir = #用於存儲會話數據的目錄。
server.session.timeout = #會話超時,以秒爲單位。
server.session.tracking-modes = #會話跟蹤模式(以下一項或多項:“cookie”,“url”,“ssl”)。
server.ssl.ciphers = #支持的SSL密碼。
server.ssl.client-auth = #是否需要客戶端身份驗證(“想要”)或需要(“需要”)。需要信任存儲。
server.ssl.enabled = #啓用SSL支持。
server.ssl.enabled-protocols = #啓用SSL協議。
server.ssl.key-alias = #標識密鑰庫中密鑰的別名。
server.ssl.key-password = #用於訪問密鑰庫中密鑰的密碼。
server.ssl.key-store = #保存SSL證書的密鑰庫的路徑(通常是jks文件)。
server.ssl.key-store-password = #用於訪問密鑰庫的密碼。
server.ssl.key-store-provider = #密鑰庫的提供者。
server.ssl.key-store-type = #密鑰庫的類型。
server.ssl.protocol = TLS #要使用的SSL協議。
server.ssl.trust-store = #持有SSL證書的信任存儲。
server.ssl.trust-store-password = #用於訪問信任庫的密碼。
server.ssl.trust-store-provider = #信任存儲的提供者。
server.ssl.trust-store-type = #信任庫的類型。
server.tomcat.accept-count = #當所有可能的請求處理線程都在使用時,傳入連接請求的最大隊列長度。
server.tomcat.accesslog.buffered = true #緩衝區輸出,使其僅定期刷新。
server.tomcat.accesslog.directory = logs #創建日誌文件的目錄。可以相對於tomcat base dir還是絕對的。
server.tomcat.accesslog.enabled = false #啓用訪問日誌。
server.tomcat.accesslog.pattern = common #訪問日誌的格式模式。
server.tomcat.accesslog.prefix = access_log #日誌文件名前綴。
server.tomcat.accesslog.rename-on-rotate = false #推遲在文件名中包含日期戳,直到旋轉時間。
server.tomcat.accesslog.request-attributes-enabled = false #設置用於請求的IP地址,主機名,協議和端口的請求屬性。
server.tomcat.accesslog.rotate = true #啓用訪問日誌輪換。
server.tomcat.accesslog.suffix = .log #日誌文件名後綴。
server.tomcat.additional-tld-skip-patterns = #逗號分隔的其他模式列表,這些模式匹配要忽略的TLD掃描的jar。
server.tomcat.background-processor-delay = 30 #調用backgroundProcess方法之間的延遲(以秒爲單位)。
server.tomcat.basedir = #Tomcat 基目錄。如果未指定,將使用臨時目錄。
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} #正則表達式匹配可信IP地址。
server.tomcat.max-connections = #服務器在任何給定時間接受和處理的最大連接數。
server.tomcat.max-http-post-size = 0 #HTTP 帖子內容的最大字節數。
server.tomcat.max-threads = 0 #最大工作線程數。
server.tomcat.min-spare-threads = 0 #最小工作線程數。
server.tomcat.port-header = X-Forwarded-Port #用於覆蓋原始端口值的HTTP標頭的名稱。
server.tomcat.protocol-header = #包含傳入協議的標頭,通常命名爲“X-Forwarded-Proto”。
server.tomcat.protocol-header-https-value = https #協議標頭的值,表示傳入請求使用SSL。
server.tomcat.redirect-context-root = #是否應通過在路徑中附加/來重定向對上下文根的請求。
server.tomcat.remote-ip-header = #從中提取遠程ip的http頭的名稱。例如`X-FORWARDED-FOR`
server.tomcat.uri-encoding = UTF-8 #用於解碼URI的字符編碼。
server.undertow.accesslog.dir = #Undertow 訪問日誌目錄。
server.undertow.accesslog.enabled = false #啓用訪問日誌。
server.undertow.accesslog.pattern = common #訪問日誌的格式模式。
server.undertow.accesslog.prefix = access_log。#日誌文件名前綴。
server.undertow.accesslog.rotate = true #啓用訪問日誌輪換。
server.undertow.accesslog.suffix = log #日誌文件名後綴。
server.undertow.buffer-size = #每個緩衝區的大小(以字節爲單位)。
server.undertow.buffers-per-region = #每個區域的緩衝區數。
server.undertow.direct-buffers = #在Java堆外部分配緩衝區。
server.undertow.io-threads = #爲worker創建的I / O線程數。
server.undertow.max-http-post-size = 0 #HTTP 帖子內容的最大字節數。
server.undertow.worker-threads = #工作線程數。
 
#FREEMARKER(FreeMarkerAutoConfiguration)
spring.freemarker.allow-request-override = false #設置是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.freemarker.allow-session-override = false #設置是否允許HttpSession屬性覆蓋(隱藏)同名控制器生成的模型屬性。
spring.freemarker.cache = false #啓用模板緩存。
spring.freemarker.charset = UTF-8 #模板編碼。
spring.freemarker.check-template-location = true #檢查模板位置是否存在。
spring.freemarker.content-type = text / html #Content-Type value。
spring.freemarker.enabled = true #啓用此技術的MVC視圖分辨率。
spring.freemarker.expose-request-attributes = false #設置是否應在與模板合併之前將所有請求屬性添加到模型中。
spring.freemarker.expose-session-attributes = false #設置是否應在與模板合併之前將所有HttpSession屬性添加到模型中。
spring.freemarker.expose-spring-macro-helpers = true #設置是否公開一個RequestContext供Spring的宏庫使用,名稱爲“springMacroRequestContext”。
spring.freemarker.prefer-file-system-access = true #首選文件系統訪問模板加載。文件系統訪問可以熱檢測模板更改。
spring.freemarker.prefix = #在構建URL時添加前綴以查看名稱的前綴。
spring.freemarker.request-context-attribute = #所有視圖的 RequestContext屬性的名稱。
spring.freemarker.settings。* = #衆所周知的FreeMarker密鑰將傳遞給FreeMarker的配置。
spring.freemarker.suffix = #在構建URL時附加到視圖名稱的後綴。
spring.freemarker.template-loader-path = classpath:/ templates / #逗號分隔的模板路徑列表。
spring.freemarker.view-names = #可以解析的視圖名稱的白名單。
 
#CHROOVY TEMPLATES(GroovyTemplateAutoConfiguration)
spring.groovy.template.allow-request-override = false #設置是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.groovy.template.allow-session-override = false #設置是否允許HttpSession屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.groovy.template.cache = #啓用模板緩存。
spring.groovy.template.charset = UTF-8 #模板編碼。
spring.groovy.template.check-template-location = true #檢查模板位置是否存在。
spring.groovy.template.configuration。* = #請參閱GroovyMarkupConfigurer
spring.groovy.template.content-type = test / html #Content-Type value。
spring.groovy.template.enabled = true #啓用此技術的MVC視圖分辨率。
spring.groovy.template.expose-request-attributes = false #設置是否應在與模板合併之前將所有請求屬性添加到模型中。
spring.groovy.template.expose-session-attributes = false #設置是否應在與模板合併之前將所有HttpSession屬性添加到模型中。
spring.groovy.template.expose-spring-macro-helpers = true #設置是否公開一個RequestContext供Spring的宏庫使用,名稱爲“springMacroRequestContext”。
spring.groovy.template.prefix = #在構建URL時添加前綴以查看名稱的前綴。
spring.groovy.template.request-context-attribute = #所有視圖的 RequestContext屬性的名稱。
spring.groovy.template.resource-loader-path = classpath:/ templates / #Template path。
spring.groovy.template.suffix = .tpl #在構建URL時附加到視圖名稱的後綴。
spring.groovy.template.view-names = #可以解析的視圖名稱的白名單。
 
#SPRING HATEOAS(HateoasProperties)
spring.hateoas.use-hal-as-default-json-media-type = true #指定是否應將application / hal + json響應發送給接受application / json的請求。
 
#HTTP消息轉換
spring.http.converters.preferred-json-mapper = jackson #用於HTTP消息轉換的首選JSON映射器。設置爲“gson”以強制使用Gson,當它和Jackson都在類路徑上時。
 
#HTTP 編碼(HttpEncodingProperties)
spring.http.encoding.charset = UTF-8 #HTTP 請求和響應的字符集。如果未明確設置,則添加到“Content-Type”標頭。
spring.http.encoding.enabled = true #啓用http編碼支持。
spring.http.encoding.force = #強制編碼到HTTP請求和響應上配置的字符集。
spring.http.encoding.force-request = #強制編碼到HTTP請求的已配置字符集。未指定“force”時,默認爲true。
spring.http.encoding.force-response = #強制編碼到HTTP響應上配置的字符集。
spring.http.encoding.mapping = #Locale to Encoding mapping。
 
#MULTIPART(MultipartProperties)
spring.http.multipart.enabled = true #啓用對多部分上傳的支持。
spring.http.multipart.file-size-threshold = 0 #將文件寫入磁盤的閾值。值可以使用後綴“MB”或“KB”來表示兆字節或千字節大小。
spring.http.multipart.location = #上傳文件的中間位置。
spring.http.multipart.max-file-size = 1MB #最大文件大小。值可以使用後綴“MB”或“KB”來表示兆字節或千字節大小。
spring.http.multipart.max-request-size = 10MB #最大請求大小。值可以使用後綴“MB”或“KB”來表示兆字節或千字節大小。
spring.http.multipart.resolve-lazily = false #是否在文件或參數訪問時懶惰地解決多部分請求。
 
#JACKSON (JacksonProperties)
spring.jackson.date-format = #日期格式字符串或完全限定的日期格式類名。例如`yyyy-MM-dd HH:mm:ss`。
spring.jackson.default-property-inclusion = #控制序列化期間包含的屬性。
spring.jackson.deserialization。* = #Jackon on / off功能會影響Java對象的反序列化方式。
spring.jackson.generator。* = #Jackson開/關功能,適用於發電機。
spring.jackson.joda-date-time-format = #Joda日期時間格式字符串。如果未配置,如果使用格式字符串配置,則“date-format”將用作後備。
spring.jackson.locale = #用於格式化的區域設置。
spring.jackson.mapper。* = #Jackson 通用開/關功能。
spring.jackson.parser。* = #Jackson開啓/關閉解析器的功能。
spring.jackson.property-naming-strategy = #Jackson PropertyNamingStrategy的常數之一。也可以是PropertyNamingStrategy子類的完全限定類名。
spring.jackson.serialization。* = #Jacker on / off功能會影響Java對象的序列化方式。
spring.jackson.time-zone = #格式化日期時使用的時區。例如`America / Los_Angeles`
 
#JERSEY (JerseyProperties)
spring.jersey.application-path = #作爲應用程序基URI的路徑。如果指定,則覆蓋“@ApplicationPath”的值。
spring.jersey.filter.order = 0 #Jersey過濾鏈順序。
spring.jersey.init。* = #通過servlet或過濾器傳遞給Jersey的Init參數。
spring.jersey.servlet.load-on-startup = -1 #加載Jersey servlet的啓動優先級。
spring.jersey.type = servlet #Jersey集成類型。
 
#SPRING LDAP(LdapProperties)
spring.ldap.urls = #服務器的LDAP URL。
spring.ldap.base = #Base 後綴,所有操作都應該從中發起。
spring.ldap.username = #服務器的登錄用戶。
spring.ldap.password = #服務器的登錄密碼。
spring.ldap.base-environment。* = #LDAP 規範設置。
 
#EmbEDDED LDAP(EmbeddedLdapProperties)
spring.ldap.embedded.base-dn = #基本DN
spring.ldap.embedded.credential.username = #嵌入式LDAP用戶名。
spring.ldap.embedded.credential.password = #嵌入式LDAP密碼。
spring.ldap.embedded.ldif = classpath:schema.ldif #Schema (LDIF)腳本資源引用。
spring.ldap.embedded.port = #嵌入式LDAP端口。
spring.ldap.embedded.validation.enabled = true #啓用LDAP模式驗證。
spring.ldap.embedded.validation.schema = #自定義架構的路徑。
 
#SPRING移動設備視圖(DeviceDelegatingViewResolverAutoConfiguration)
spring.mobile.devicedelegatingviewresolver.enable-fallback = false #啓用後備解析支持。
spring.mobile.devicedelegatingviewresolver.enabled = false #啓用設備視圖解析器。
spring.mobile.devicedelegatingviewresolver.mobile-prefix = mobile / #前綴用於查看移動設備名稱的前綴。
spring.mobile.devicedelegatingviewresolver.mobile-suffix = #附加到移動設備的視圖名稱的後綴。
spring.mobile.devicedelegatingviewresolver.normal-prefix = #前綴用於查看普通設備的名稱。
spring.mobile.devicedelegatingviewresolver.normal-suffix = #附加到普通設備的視圖名稱的後綴。
spring.mobile.devicedelegatingviewresolver.tablet-prefix = tablet / #前綴用於查看平板電腦設備名稱的前綴。
spring.mobile.devicedelegatingviewresolver.tablet-suffix = #附加到平板電腦設備的視圖名稱的後綴。
 
#SPRING 移動網站首選項(SitePreferenceAutoConfiguration)
spring.mobile.sitepreference.enabled = true #啓用SitePreferenceHandler。
 
#MUSTACHE TEMPLATES(MustacheAutoConfiguration)
spring.mustache.allow-request-override = #設置是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.mustache.allow-session-override = #設置是否允許HttpSession屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.mustache.cache = #啓用模板緩存。
spring.mustache.charset = #模板編碼。
spring.mustache.check-template-location = #檢查模板位置是否存在。
spring.mustache.content-type = #Content-Type value。
spring.mustache.enabled = #啓用此技術的MVC視圖分辨率。
spring.mustache.expose-request-attributes = #設置是否應在與模板合併之前將所有請求屬性添加到模型中。
spring.mustache.expose-session-attributes = #設置是否應在與模板合併之前將所有HttpSession屬性添加到模型中。
spring.mustache.expose-spring-macro-helpers = #設置是否公開一個RequestContext供Spring的宏庫使用,名稱爲“springMacroRequestContext”。
spring.mustache.prefix = classpath:/ templates / #適用於模板名稱的前綴。
spring.mustache.request-context-attribute = #所有視圖的 RequestContext屬性的名稱。
spring.mustache.suffix = .html #Shaffix 應用於模板名稱。
spring.mustache.view-names = #可以解析的視圖名稱的白名單。
 
#SPRING MVC(WebMvcProperties)
spring.mvc.async.request-timeout = #異步請求處理超時之前的時間量(以毫秒爲單位)。
spring.mvc.date-format = #要使用的日期格式。例如`dd / MM / yyyy`。
spring.mvc.dispatch-trace-request = false #Recatch對FrameworkServlet doService方法的TRACE請求。
spring.mvc.dispatch-options-request = true #Dispatch對FrameworkServlet doService方法的OPTIONS請求。
spring.mvc.favicon.enabled = true #啓用favicon.ico的分辨率。
spring.mvc.formcontent.putfilter.enabled = true #啓用Spring的HttpPutFormContentFilter。
spring.mvc.ignore-default-model-on-redirect = true #如果在重定向場景中應忽略“默認”模型的內容。
spring.mvc.locale = #要使用的語言環境。默認情況下,“Accept-Language”標頭會覆蓋此區域設置。
spring.mvc.locale-resolver = accept-header #定義應如何解析語言環境。
spring.mvc.log-resolved-exception = false #啓用對“HandlerExceptionResolver”解析的異常的警告日誌記錄。
spring.mvc.media-types。* = #Maps用於內容協商的媒體類型的文件擴展名。
spring.mvc.message-codes-resolver-format = #格式化消息代碼的策略。例如`PREFIX_ERROR_CODE`。
spring.mvc.servlet.load-on-startup = -1 #加載Spring Web Services servlet的啓動優先級。
spring.mvc.static-path-pattern = / ** #用於靜態資源的路徑模式。
spring.mvc.throw-exception-if-no-handler-found = false #如果沒有找到Handler來處理請求,則應該拋出“NoHandlerFoundException”。
spring.mvc.view.prefix = #Spring MVC視圖前綴。
spring.mvc.view.suffix = #Spring MVC視圖後綴。
 
#SPRING RESOURCES處理(ResourceProperties)
spring.resources.add-mappings = true #啓用默認資源處理。
spring.resources.cache-period = #資源處理程序所服務資源的緩存週期,以秒爲單位。
spring.resources.chain.cache = true #在資源鏈中啓用緩存。
spring.resources.chain.enabled = #啓用Spring資源處理鏈。默認情況下禁用,除非至少啓用了一個策略。
spring.resources.chain.gzipped = false #啓用已經gzip資源的解析。
spring.resources.chain.html-application-cache = false #啓用HTML5應用程序緩存清單重寫。
spring.resources.chain.strategy.content.enabled = false #啓用內容版本策略。
spring.resources.chain.strategy.content.paths = / ** #逗號分隔的模式列表,應用於版本策略。
spring.resources.chain.strategy.fixed.enabled = false #啓用固定版本策略。
spring.resources.chain.strategy.fixed.paths = / ** #以逗號分隔的模式列表應用於版本策略。
spring.resources.chain.strategy.fixed.version = #用於版本策略的版本字符串。
spring.resources.static-locations = classpath:/ META-INF / resources /,classpath:/ resources /,classpath:/ static /,classpath:/ public / #靜態資源的位置。
 
#SPRING SESSION(SessionProperties)
spring.session.hazelcast.flush-mode = on-save #會話刷新模式。
spring.session.hazelcast.map-name = spring:session:sessions #用於存儲會話的地圖的名稱。
spring.session.jdbc.initializer.enabled = #如有必要,在啓動時創建所需的會話表。如果設置了默認表名稱或配置了自定義架構,則會自動啓用。
spring.session.jdbc.schema = classpath:org / springframework / session / jdbc / schema  -  @@ platform @@。sql #用於初始化數據庫模式的SQL文件的路徑。
spring.session.jdbc.table-name = SPRING_SESSION #用於存儲會話的數據庫表的名稱。
spring.session.mongo.collection-name = sessions #用於存儲會話的集合名稱。
spring.session.redis.flush-mode = on-save #sessions flush mode。
spring.session.redis.namespace = #用於存儲會話的密鑰的命名空間。
spring.session.store-type = #會話商店類型。
 
#SPRING SOCIAL(SocialWebAutoConfiguration)
spring.social.auto-connection-views = false #啓用支持的提供程序的連接狀態視圖。
 
#SPEING SOCIAL FACEBOOK(FacebookAutoConfiguration)
spring.social.facebook.app-id = #您的應用程序的Facebook App ID
spring.social.facebook.app-secret = #your application的Facebook App Secret
 
#SPRING SOCIAL LINKEDIN(LinkedInAutoConfiguration)
spring.social.linkedin.app-id = #your application的LinkedIn App ID
spring.social.linkedin.app-secret = #your application的LinkedIn App Secret
 
#SPRING SOCIAL TWITTER(TwitterAutoConfiguration)
spring.social.twitter.app-id = #您的應用程序的Twitter應用程序ID
spring.social.twitter.app-secret = #your application的Twitter App Secret
 
#THYMELEAF(ThymeleafAutoConfiguration)
spring.thymeleaf.cache = true #啓用模板緩存。
spring.thymeleaf.check-template = true #在呈現模板之前檢查模板是否存在。
spring.thymeleaf.check-template-location = true #檢查模板位置是否存在。
spring.thymeleaf.content-type = text / html #Content-Type value。
spring.thymeleaf.enabled = true #啓用MVC Thymeleaf視圖分辨率。
spring.thymeleaf.encoding = UTF-8 #模板編碼。
spring.thymeleaf.excluded-view-names = #逗號分隔的視圖名列表,應從分辨率中排除。
spring.thymeleaf.mode = HTML5 #要應用於模板的模板模式。另請參見StandardTemplateModeHandlers。
spring.thymeleaf.prefix = classpath:/ templates / #在構建URL時添加前綴以查看名稱的前綴。
spring.thymeleaf.suffix = .html #在構建URL時附加到視圖名稱的後綴。
spring.thymeleaf.template-resolver-order = #鏈中模板解析器的順序。
spring.thymeleaf.view-names = #逗號分隔的可以解析的視圖名稱列表。
 
#SPRING WEB服務(WebServicesProperties)
spring.webservices.path = / services #作爲服務基URI的路徑。
spring.webservices.servlet.init = #Servlet init參數傳遞給Spring Web Services。
spring.webservices.servlet.load-on-startup = -1 #加載Spring Web Services servlet的啓動優先級。
 
 
 
# ----------------------------------------
#安全屬性
# ----------------------------------------
#SECURITY(SecurityProperties)
security.basic.authorize-mode = role #要應用的安全授權模式。
security.basic.enabled = true #啓用基本身份驗證。
security.basic.path = / ** #逗號分隔的安全路徑列表。
security.basic.realm = Spring #HTTP基本域名。
security.enable-csrf = false #啓用跨站點請求僞造支持。
security.filter-order = 0 #安全過濾器鏈順序。
security.filter-dispatcher-types = ASYNC,FORWARD,INCLUDE,REQUEST #安全過濾器鏈調度程序類型。
security.headers.cache = true #啓用緩存控制HTTP標頭。
security.headers.content-security-policy = #內容安全策略標頭的值。
security.headers.content-security-policy-mode = default #內容安全策略模式。
security.headers.content-type = true #啓用“X-Content-Type-Options”標頭。
security.headers.frame = true #啓用“X-Frame-Options”標頭。
security.headers.hsts = all #HTTP嚴格傳輸安全(HSTS)模式(無,域,全部)。
security.headers.xss = true #啓用跨站點腳本(XSS)保護。
security.ignored = #逗號分隔的要從默認安全路徑中排除的路徑列表。
security.require-ssl = false #爲所有請求啓用安全通道。
security.sessions =無狀態#會話創建策略(始終,從不,if_required,無狀態)。
security.user.name = user #默認用戶名。
security.user.password = #默認用戶名的密碼。默認情況下,啓動時會記錄隨機密碼。
security.user.role = USER #默認用戶名的授予角色。
 
#SECURITY OAUTH2客戶端(OAuth2ClientProperties)
security.oauth2.client.client-id = #OAuth2客戶端ID。
security.oauth2.client.client-secret = #OAuth2客戶端密鑰。默認情況下會生成隨機密鑰
 
#SECURITY OAUTH2資源(ResourceServerProperties)
security.oauth2.resource.filter-order = #用於驗證令牌的過濾器鏈的順序。
security.oauth2.resource.id = #資源的標識符。
security.oauth2.resource.jwt.key-uri = #JWT令牌的URI。如果值不可用且密鑰是公共的,則可以設置。
security.oauth2.resource.jwt.key-value = #JWT令牌的驗證密鑰。可以是對稱密鑰或PEM編碼的RSA公鑰。
security.oauth2.resource.prefer-token-info = true #使用令牌信息,可以設置爲false以使用用戶信息。
security.oauth2.resource.service-id = resource #
security.oauth2.resource.token-info-uri = 令牌解碼端點的URI。
security.oauth2.resource.token-type = #使用userInfoUri時要發送的令牌類型。
security.oauth2.resource.user-info-uri = 用戶端點的URI。
 
#SECURITY OAUTH2 SSO(OAuth2SsoProperties)
security.oauth2.sso.filter-order = #如果不提供顯式的WebSecurityConfigurerAdapter,則過濾要應用的順序
security.oauth2.sso.login-path = / login #登錄頁面的路徑,即觸發重定向到OAuth2授權服務器的路徑
 
 
# ----------------------------------------
#DATA PROPERTIES
# ----------------------------------------
 
#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 。
flyway.encoding = #
flyway.ignore-failed-future-migration = #
flyway.init-sqls = #在獲取連接後立即執行以初始化連接的SQL語句。
flyway.locations = classpath:db / migration #遷移腳本的位置
flyway.out-of-order = #
flyway.password = #JDBC 密碼,如果你想讓 Flyway 創建自己的DataSource
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 = 要遷移的數據庫的 #URN url。如果未設置,則使用主要配置的數據源。
flyway.user = #要遷移的數據庫的登錄用戶。
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 = #默認數據庫模式。
liquibase.drop-first = false #首先刪除數據庫模式。
liquibase.enabled = true #啓用liquibase支持。
liquibase.labels = #逗號分隔的運行時標籤列表。
liquibase.parameters。* = #更改日誌參數。
liquibase.password = #要遷移的數據庫的登錄密碼。
liquibase.rollback-file = #執行更新時將向其寫入回滾SQL的文件。
liquibase.url = 要遷移的數據庫的JDBC url。如果未設置,則使用主要配置的數據源。
liquibase.user = #要遷移的數據庫的登錄用戶。
 
#COUCHBASE(CouchbaseProperties)
spring.couchbase.bootstrap-hosts = #Cookbase 節點(主機或IP地址)來自引導程序。
spring.couchbase.bucket.name = default #要連接的存儲桶的名稱。
spring.couchbase.bucket.password =   #桶的密碼。
spring.couchbase.env.endpoints.key-value = 1 #每個節點對Key / value服務的套接字數。
spring.couchbase.env.endpoints.query = 1 #針對Query(N1QL)服務的每個節點的套接字數。
spring.couchbase.env.endpoints.view = 1 #針對視圖服務的每個節點的套接字數。
spring.couchbase.env.ssl.enabled = #啓用SSL支持。除非另有說明,否則在提供“keyStore”時自動啓用。
spring.couchbase.env.ssl.key-store = #保存證書的JVM密鑰庫的路徑。
spring.couchbase.env.ssl.key-store-password = #用於訪問密鑰庫的密碼。
spring.couchbase.env.timeouts.connect = 5000 #桶連接超時(以毫秒爲單位)。
spring.couchbase.env.timeouts.key-value = 2500 #阻止對特定密鑰超時執行的操作(以毫秒爲單位)。
spring.couchbase.env.timeouts.query = 7500 #N1QL查詢操作超時(以毫秒爲單位)。
spring.couchbase.env.timeouts.socket-connect = 1000 #套接字連接超時(以毫秒爲單位)。
spring.couchbase.env.timeouts.view = 7500 #常規和地理空間視圖操作超時(以毫秒爲單位)。
 
# DAO (PersistenceExceptionTranslationAutoConfiguration)
spring.dao.exceptiontranslation.enabled = true #啓用PersistenceExceptionTranslationPostProcessor。
 
#CASSANDRA(CassandraProperties)
spring.data.cassandra.cluster-name = #Cassandra 集羣的名稱。
spring.data.cassandra.compression = none #Cassandra二進制協議支持的壓縮。
spring.data.cassandra.connect-timeout-millis = #Socket 選項:連接超時。
spring.data.cassandra.consistency-level = #查詢一致性級別。
spring.data.cassandra.contact-points = localhost #逗號分隔的集羣節點地址列表。
spring.data.cassandra.fetch-size = #查詢默認提取大小。
spring.data.cassandra.keyspace-name = #要使用的Keyspace名稱。
spring.data.cassandra.load-balancing-policy = #負載均衡策略的類名。
spring.data.cassandra.port = #Cassandra 服務器的端口。
spring.data.cassandra.password = #服務器的登錄密碼。
spring.data.cassandra.read-timeout-millis = #Socket 選項:讀取超時。
spring.data.cassandra.reconnection-policy = #重新連接策略類。
spring.data.cassandra.retry-policy = #重試策略的類名。
spring.data.cassandra.serial-consistency-level = #查詢串行一致性級別。
spring.data.cassandra.schema-action = none #啓動時要採取的架構操作。
spring.data.cassandra.ssl = false #啓用SSL支持。
spring.data.cassandra.username = #服務器的登錄用戶。
 
#DATA COUCHBASE(CouchbaseDataProperties)
spring.data.couchbase.auto-index = false #自動創建視圖和索引。
spring.data.couchbase.consistency = read-your-own-writes #在生成的查詢中默認應用的一致性。
spring.data.couchbase.repositories.enabled = true #啓用Couchbase存儲庫。
 
#ELASTICSEARCH(ElasticsearchProperties)
spring.data.elasticsearch.cluster-name = elasticsearch #Elasticsearch集羣名稱。
spring.data.elasticsearch.cluster-nodes = #逗號分隔的集羣節點地址列表。如果未指定,則啓動客戶機節點。
spring.data.elasticsearch.properties。* = #用於配置客戶端的其他屬性。
spring.data.elasticsearch.repositories.enabled = true #啓用Elasticsearch存儲庫。
 
#DATA LDAP
spring.data.ldap.repositories.enabled = true #啓用LDAP存儲庫。
 
#MONGODB(MongoProperties)
spring.data.mongodb.authentication-database = #認證數據庫名稱。
spring.data.mongodb.database = test #數據庫名稱。
spring.data.mongodb.field-naming-strategy = #要使用的FieldNamingStrategy的完全限定名稱。
spring.data.mongodb.grid-fs-database = #GridFS數據庫名稱。
spring.data.mongodb.host = localhost #Mongo 服務器主機。不能用uri設置。
spring.data.mongodb.password = #mongo 服務器的登錄密碼。不能用uri設置。
spring.data.mongodb.port = 27017 #Mongo 服務器端口。不能用uri設置。
spring.data.mongodb.repositories.enabled = true #啓用Mongo存儲庫。
spring.data.mongodb.uri = mongodb:// localhost / test #Mongo數據庫URI。無法使用主機,端口和憑據進行設置。
spring.data.mongodb.username = #mongo 服務器的登錄用戶。不能用uri設置。
 
#DATA REDIS
spring.data.redis.repositories.enabled = true #啓用Redis存儲庫。
 
#NEO4J(Neo4jProperties)
spring.data.neo4j.compiler = #編譯器使用。
spring.data.neo4j.embedded.enabled = true #如果嵌入式驅動程序可用,則啓用嵌入模式。
spring.data.neo4j.open-in-view = false #註冊OpenSessionInViewInterceptor。將Neo4j會話綁定到線程以進行整個請求處理。
spring.data.neo4j.password = #服務器的登錄密碼。
spring.data.neo4j.repositories.enabled = true #啓用Neo4j存儲庫。
spring.data.neo4j.uri = 驅動程序使用的 #URL 。默認情況下自動檢測。
spring.data.neo4j.username = #服務器的登錄用戶。
 
#DATA REST(RepositoryRestProperties)
spring.data.rest.base-path = #Spring Data REST用於公開存儲庫資源的基本路徑。
spring.data.rest.default-page-size = #默認頁面大小。
spring.data.rest.detection-strategy = default #用於確定暴露哪些存儲庫的策略。
spring.data.rest.enable-enum-translation = #通過Spring Data REST默認資源包啓用枚舉值轉換。
spring.data.rest.limit-param-name = #URL 查詢字符串參數的名稱,該參數指示一次返回多少結果。
spring.data.rest.max-page-size = #最大頁面大小。
spring.data.rest.page-param-name = #URL 查詢字符串參數的名稱,指示要返回的頁面。
spring.data.rest.return-body-on-create = #在創建實體後返回響應正文。
spring.data.rest.return-body-on-update = #更新實體後返回響應正文。
spring.data.rest.sort-param-name = #URL 查詢字符串參數的名稱,指示對結果進行排序的方向。
 
#SOLR (SolrProperties)
spring.data.solr.host = http://127.0.0.1:8983 / solr #Solr host。如果設置了“zk-host”,則忽略。
spring.data.solr.repositories.enabled = true #啓用Solr存儲庫。
spring.data.solr.zk-host = #ZooKeeper主機地址,格式爲HOST:PORT。
 
#DATASOURCE(DataSourceAutoConfiguration& DataSourceProperties)
spring.datasource.continue-on-error = false #初始化數據庫時,如果發生錯誤,請不要停止。
spring.datasource.data = #Data (DML)腳本資源引用。
spring.datasource.data-username = #執行DML腳本的數據庫用戶(如果不同)。
spring.datasource.data-password = #執行DML腳本的數據庫的密碼(如果不同)。
spring.datasource.dbcp2。* = #Commons DBCP2特定設置
spring.datasource.driver-class-name = #JDBC 驅動程序的完全限定名稱。默認情況下,基於URL自動檢測。
spring.datasource.generate-unique-name = false #生成隨機數據源名稱。
spring.datasource.hikari。* = #Hikari特定設置
spring.datasource.initialize = true #使用'data.sql'填充數據庫。
spring.datasource.jmx-enabled = false #啓用JMX支持(如果由基礎池提供)。
spring.datasource.jndi-name = #JNDI數據源的位置。設置時將忽略類,URL,用戶名和密碼。
spring.datasource.name = testdb #數據源的名稱。
spring.datasource.password = #數據庫的登錄密碼。
spring.datasource.platform = all #在架構資源中使用的平臺(架構 -  $ {platform} .sql)。
spring.datasource.schema = #Schema (DDL)腳本資源引用。
spring.datasource.schema-username = #執行DDL腳本的數據庫用戶(如果不同)。
spring.datasource.schema-password = #執行DDL腳本的數據庫的密碼(如果不同)。
spring.datasource.separator =; #SQL初始化腳本中的語句分隔符。
spring.datasource.sql-script-encoding = #SQL 腳本編碼。
spring.datasource.tomcat。* = #Tomcat數據源特定設置
spring.datasource.type = #要使用的連接池實現的完全限定名稱。默認情況下,它是從類路徑中自動檢測到的。
spring.datasource.url = #數據庫的JDBC url。
spring.datasource.username =
 
#IS (Elasticsearch HTTP客戶端)(IsProperties)
spring.elasticsearch.jest.connection-timeout = 3000 #連接超時(以毫秒爲單位)。
spring.elasticsearch.jest.multi-threaded = true #啓用來自多個執行線程的連接請求。
spring.elasticsearch.jest.password = #登錄密碼。
spring.elasticsearch.jest.proxy.host = #HTTP 客戶端應使用的代理主機。
spring.elasticsearch.jest.proxy.port = #HTTP 客戶端應使用的代理端口。
spring.elasticsearch.jest.read-timeout = 3000 #讀取超時(以毫秒爲單位)。
spring.elasticsearch.jest.uris = http:// localhost:9200 #要使用的Elasticsearch實例的逗號分隔列表。
spring.elasticsearch.jest.username = #登錄用戶。
 
#H2 Web控制檯(H2ConsoleProperties)
spring.h2.console.enabled = false #啓用控制檯。
spring.h2.console.path = / h2-console #控制檯可用的路徑。
spring.h2.console.settings.trace = false #啓用跟蹤輸出。
spring.h2.console.settings.web-allow-others = false #啓用遠程訪問。
 
#JOOQ (JooqAutoConfiguration)
spring.jooq.sql-dialect = #SQLDialect與配置的數據源通信時使用的JOOQ。例如`POSTGRES`
 
#JPA (JpaBaseConfiguration, HibernateJpaAutoConfiguration)
spring.data.jpa.repositories.enabled = true #啓用JPA存儲庫。
spring.jpa.database = #要操作的目標數據庫,默認情況下自動檢測。也可以使用“databasePlatform”屬性進行設置。
spring.jpa.database-platform = #要操作的目標數據庫的名稱,默認情況下自動檢測。也可以使用“Database”枚舉來設置。
spring.jpa.generate-ddl = false #在啓動時初始化架構。
spring.jpa.hibernate.ddl-auto = #DDL模式。這實際上是“hibernate.hbm2ddl.auto”屬性的快捷方式。使用嵌入式數據庫時默認爲“create-drop”,否則爲“none”。
spring.jpa.hibernate.naming.implicit-strategy = #Hibernate 5隱式命名策略完全限定名稱。
spring.jpa.hibernate.naming.physical-strategy = #Hibernate 5物理命名策略完全限定名稱。
spring.jpa.hibernate.naming.strategy = #Hibernate 4命名策略完全限定名稱。Hibernate 5不支持。
spring.jpa.hibernate.use-new-id-generator-mappings = #使用Hibernate的較新的IdentifierGenerator進行AUTO,TABLE和SEQUENCE。
spring.jpa.open-in-view = true #註冊OpenEntityManagerInViewInterceptor。將JPA EntityManager綁定到線程以進行整個請求處理。
spring.jpa.properties。* = #要在JPA提供程序上設置的其他本機屬性。
spring.jpa.show -sql = false #啓用SQL語句的日誌記錄。
 
#JTA(JtaAutoConfiguration)
spring.jta.enabled = true #啓用JTA支持。
spring.jta.log-dir = #Transaction logs目錄。
spring.jta.transaction-manager-id = #Transaction manager唯一標識符。
 
#ATOMIKOS(AtomikosProperties)
spring.jta.atomikos.connectionfactory.borrow-connection-timeout = 30 #從池中借用連接的超時時間(秒)。
spring.jta.atomikos.connectionfactory.ignore-session-transacted-flag = true #在創建會話時是否忽略事務標誌。
spring.jta.atomikos.connectionfactory.local-transaction-mode = false #是否需要本地事務。
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 #借用連接的reap超時(以秒爲單位)。0表示沒有限制。
spring.jta.atomikos.connectionfactory.unique-resource-name = jmsConnectionFactory #用於在恢復期間標識資源的唯一名稱。
spring.jta.atomikos.datasource.borrow-connection-timeout = 30 #從池中借用連接的超時(以秒爲單位)。
spring.jta.atomikos.datasource.default-isolation-level = #池提供的連接的默認隔離級別。
spring.jta.atomikos.datasource.login-timeout = #用於建立數據庫連接的超時(以秒爲單位)。
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 #借用連接的reap超時(以秒爲單位)。0表示沒有限制。
spring.jta.atomikos.datasource.test-query = #用於在返回連接之前驗證連接的SQL查詢或語句。
spring.jta.atomikos.datasource.unique-resource-name = dataSource #用於在恢復期間標識資源的唯一名稱。
spring.jta.atomikos.properties.checkpoint-interval = 500 #檢查點之間的間隔。
spring.jta.atomikos.properties.console-file-count = 1 #可以創建的調試日誌文件數。
spring.jta.atomikos.properties.console-file-limit = -1 #調試日誌文件中最多可以存儲多少字節。
spring.jta.atomikos.properties.console-file-name = tm.out #Debug logs文件名。
spring.jta.atomikos.properties.console-log-level = warn #Console日誌級別。
spring.jta.atomikos.properties.default-jta-timeout = 10000 #JTA事務的默認超時。
spring.jta.atomikos.properties.enable-logging = true #啓用磁盤日誌記錄。
spring.jta.atomikos.properties.force-shutdown-on-vm-exit = false #指定VM關閉是否應觸發事務核心的強制關閉。
spring.jta.atomikos.properties.log-base-dir = #應存儲日誌文件的目錄。
spring.jta.atomikos.properties.log-base-name = tmlog #Transactions日誌文件基名。
spring.jta.atomikos.properties.max-actives = 50 #最大活動事務數。
spring.jta.atomikos.properties.max-timeout = 300000 #事務允許的最大超時(以毫秒爲單位)。
spring.jta.atomikos.properties.output-dir = #存儲調試日誌文件的目錄。
spring.jta.atomikos.properties.serial-jta-transactions = true #指定是否應儘可能加入子事務。
spring.jta.atomikos.properties.service = #應該啓動的事務管理器實現。
spring.jta.atomikos.properties.threaded-two-phase-commit = true #使用不同(和併發)線程對參與資源進行兩階段提交。
spring.jta.atomikos.properties.transaction-manager-unique-name = #Transaction manager的唯一名稱。
 
#BITRONIX
spring.jta.bitronix.connectionfactory.acquire-increment = 1 #增長池時要創建的連接數。
spring.jta.bitronix.connectionfactory.acquisition-interval = 1 #獲取無效連接後再次嘗試獲取連接之前等待的時間(以秒爲單位)。
spring.jta.bitronix.connectionfactory.acquisition-timeout = 30 #從池中獲取連接的超時時間(秒)。
spring.jta.bitronix.connectionfactory.allow-local-transactions = true #事務管理器是否應該允許混合XA和非XA事務。
spring.jta.bitronix.connectionfactory.apply-transaction-timeout = false #是否應在XAResource登記時在XAResource上設置事務超時。
spring.jta.bitronix.connectionfactory.automatic-enlisting-enabled = true #是否應自動登記和退出資源。
spring.jta.bitronix.connectionfactory.cache-producer-consumers = true #是否應緩存生產者和消費者。
spring.jta.bitronix.connectionfactory.defer-connection-release = true #提供程序是否可以在同一連接上運行多個事務並支持事務交錯。
spring.jta.bitronix.connectionfactory.ignore-recovery-failures = false #是否應忽略恢復失敗。
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狀態的連接。
spring.jta.bitronix.connectionfactory.test-connections = true #從池中獲取時是否應測試連接。
spring.jta.bitronix.connectionfactory.two-pc-ordering-position = 1 #此資源在兩階段提交期間應採取的位置(始終首先是Integer.MIN_VALUE,始終是最後一個是Integer.MAX_VALUE)。
spring.jta.bitronix.connectionfactory.unique-name = jmsConnectionFactory #用於在恢復期間標識資源的唯一名稱。
spring.jta.bitronix.connectionfactory.use -tm -join = true在啓動XAResources時是否應該使用TMJOIN。
spring.jta.bitronix.connectionfactory.user = #用於連接到JMS提供程序的用戶。
spring.jta.bitronix.datasource.acquire-increment = 1 #在增長池時創建的連接數。
spring.jta.bitronix.datasource.acquisition-interval = 1 #獲取無效連接後再次嘗試獲取連接之前等待的時間(以秒爲單位)。
spring.jta.bitronix.datasource.acquisition-timeout = 30 #從池中獲取連接的超時時間(秒)。
spring.jta.bitronix.datasource.allow-local-transactions = true #事務管理器是否應該允許混合XA和非XA事務。
spring.jta.bitronix.datasource.apply-transaction-timeout = false #是否應該在XAResource登記時在XAResource上設置事務超時。
spring.jta.bitronix.datasource.automatic-enlisting-enabled = true #是否應自動登記和退出資源。
spring.jta.bitronix.datasource.cursor-holdability = #連接的默認光標可保持性。
spring.jta.bitronix.datasource.defer-connection-release = true #數據庫是否可以在同一連接上運行多個事務並支持事務交錯。
spring.jta.bitronix.datasource.enable -jdbc4-connection-test = #從池中獲取連接時是否調用Connection.isValid()。
spring.jta.bitronix.datasource.ignore-recovery-failures = false #是否應忽略恢復失敗。
spring.jta.bitronix.datasource.isolation-level = #連接的默認隔離級別。
spring.jta.bitronix.datasource.local-auto-commit = #本地事務的默認自動提交模式。
spring.jta.bitronix.datasource.login-timeout = #用於建立數據庫連接的超時(以秒爲單位)。
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狀態的連接。
spring.jta.bitronix.datasource.test-query = #用於在返回連接之前驗證連接的SQL查詢或語句。
spring.jta.bitronix.datasource.two-PC排序位置 = 1 #,這一資源應在兩階段提交(總是第一個是Integer.MIN_VALUE的,總是在最後上都是Integer.MAX_VALUE)採取這樣的立場。
spring.jta.bitronix.datasource.unique-name = dataSource #用於在恢復期間標識資源的唯一名稱。
spring.jta.bitronix.datasource.use -tm -join = true在啓動XAResources時是否應該使用TMJOIN。
spring.jta.bitronix.properties.allow-multiple-lrc = false #允許多個LRC資源登記到同一個事務中。
spring.jta.bitronix.properties.asynchronous2-pc = false #啓用兩階段提交的異步執行。
spring.jta.bitronix.properties.background-recovery-interval-seconds = 60 #在後臺運行恢復過程的時間間隔(秒)。
spring.jta.bitronix.properties.current-node-only-recovery = true #僅恢復當前節點。
spring.jta.bitronix.properties.debug-zero-resource-transaction = false #記錄在沒有單個登記資源的情況下執行的事務的創建和提交調用堆棧。
spring.jta.bitronix.properties.default-transaction-timeout = 60 #默認事務超時(以秒爲單位)。
spring.jta.bitronix.properties.disable -jmx = false #啓用JMX支持。
spring.jta.bitronix.properties.exception-analyzer = #設置要使用的異常分析器實現的完全限定名稱。
spring.jta.bitronix.properties.filter-log-status = false #啓用日誌過濾,以便只寫入強制日誌。
spring.jta.bitronix.properties.force-batching-enabled = true #設置磁盤強制是否已批處理。
spring.jta.bitronix.properties.forced-write-enabled = true #設置日誌是否強制爲磁盤。
spring.jta.bitronix.properties.graceful-shutdown-interval = 60 #TM在關閉時中止事務之前等待事務完成的最大秒數。
spring.jta.bitronix.properties.jndi-transaction-synchronization-registry-name = #TransactionSynchronizationRegistry的JNDI名稱。
spring.jta.bitronix.properties.jndi-user-transaction-name = #UserTransaction的JNDI名稱。
spring.jta.bitronix.properties.journal = disk #期刊的名稱。可以是'disk','null'或類名。
spring.jta.bitronix.properties.log-part1-filename = btm1.tlog #日誌的第一個片段的名稱。
spring.jta.bitronix.properties.log-part2-filename = btm2.tlog #期刊的第二個片段的名稱。
spring.jta.bitronix.properties.max-log-size-in-mb = 2 #日誌片段的最大大小(兆字節)。
spring.jta.bitronix.properties.resource-configuration-filename = #ResourceLoader配置文件名。
spring.jta.bitronix.properties.server-id = #必須唯一標識此TM實例的ASCII ID。默認爲機器的IP地址。
spring.jta.bitronix.properties.skip-corrupted-logs = false #跳過損壞的事務日誌條目。
spring.jta.bitronix.properties.warn-about-zero-resource-transaction = true #爲沒有單個登記資源的事務記錄警告。
 
#NARAYANA(NarayanaProperties)
spring.jta.narayana.default-timeout = 60 #以秒爲單位的事務超時。
spring.jta.narayana.expiry-scanners = com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionStatusManagerScanner #逗號分隔的到期掃描程序列表。
spring.jta.narayana.log-dir = #Transaction 對象商店目錄。
spring.jta.narayana.one-phase-commit = true #啓用一階段提交優化。
spring.jta.narayana.periodic-recovery-period = 120 #以秒爲單位執行定期恢復掃描的時間間隔。
spring.jta.narayana.recovery-backoff-period = 10 #以秒爲單位退回恢復掃描的第一和第二階段之間的時間段。
spring.jta.narayana.recovery-db-pass = #恢復管理器使用的數據庫密碼。
spring.jta.narayana.recovery-db-user = #恢復管理器使用的數據庫用戶名。
spring.jta.narayana.recovery-jms-pass = #恢復管理器使用的JMS密碼。
spring.jta.narayana.recovery-jms-user = #恢復管理器使用的JMS用戶名。
spring.jta.narayana.recovery-modules = #逗號分隔的恢復模塊列表。
spring.jta.narayana.transaction-manager-id = 1 #唯一的事務管理器標識。
spring.jta.narayana.xa-resource-orphan-filters = #逗號分隔的孤立過濾器列表。
 
#EmbEDDED MONGODB(EmbeddedMongoProperties)
spring.mongodb.embedded.features = SYNC_DELAY #逗號分隔的要啓用的功能列表。
spring.mongodb.embedded.storage.database-dir = #用於數據存儲的目錄。
spring.mongodb.embedded.storage.oplog-size = #oplog的最大大小,以兆字節爲單位。
spring.mongodb.embedded.storage.repl-set-name = #副本集的名稱。
spring.mongodb.embedded.version = 2.6.10 #使用的Mongo版本。
 
#REDIS(RedisProperties)
spring.redis.cluster.max-redirects = #在羣集中執行命令時要遵循的最大重定向數。
spring.redis.cluster.nodes = #逗號分隔的“host:port”對列表引導自。
spring.redis.database = 0 #連接工廠使用的數據庫索引。
spring.redis.url = #連接URL,將覆蓋主機,端口和密碼(用戶將被忽略),例如redis:// user:[email protected]:6379
spring.redis.host = localhost #Redis服務器主機。
spring.redis.password = #redis服務器的登錄密碼。
spring.redis.ssl = false #啓用SSL支持。
spring.redis.pool.max-active = 8 #池在給定時間可以分配的最大連接數。使用負值無限制。
spring.redis.pool.max-idle = 8 #池中“空閒”連接的最大數量。使用負值表示無限數量的空閒連接。
spring.redis.pool.max-wait = -1 #在池耗盡時,在拋出異常之前,連接分配應阻塞的最長時間(以毫秒爲單位)。使用負值無限期阻止。
spring.redis.pool.min-idle = 0 #目標是池中維護的最小空閒連接數。此設置僅在其爲正時纔有效。
spring.redis.port = 6379 #Redis服務器端口。
spring.redis.sentinel.master = #Redis服務器的名稱。
spring.redis.sentinel.nodes = #逗號分隔的主機:端口對列表。
spring.redis.timeout = 0 #連接超時(以毫秒爲單位)。
 
#TRANSACTION(TransactionProperties)
spring.transaction.default-timeout = #默認事務超時(以秒爲單位)。
spring.transaction.rollback-on-commit-failure = #在提交失敗時執行回滾。
 
 
 
# ----------------------------------------
#集成屬性
# ----------------------------------------
 
#ACTIVEMQ(ActiveMQProperties)
spring.activemq.broker-url = ActiveMQ代理的URL。默認情況下自動生成。例如`tcp:// localhost:61616`
spring.activemq.in-memory = true #指定默認代理URL是否應在內存中。如果已指定顯式代理,則忽略。
spring.activemq.password = #代理的登錄密碼。
spring.activemq.user = #代理的登錄用戶。
spring.activemq.packages.trust-all = false #信任所有包。
spring.activemq.packages.trusted = #逗號分隔的要信任的特定包列表(不信任所有包時)。
spring.activemq.pool.configuration。* = #請參閱PooledConnectionFactory。
spring.activemq.pool.enabled = false #是否應創建PooledConnectionFactory而不是常規ConnectionFactory。
spring.activemq.pool.expiry-timeout = 0 #連接到期超時(以毫秒爲單位)。
spring.activemq.pool.idle-timeout = 30000 #連接空閒超時(以毫秒爲單位)。
spring.activemq.pool.max-connections = 1 #池化連接的最大數量。
 
#ARTEMIS(Artemis Properties)
spring.artemis.embedded.cluster-password = #羣集密碼。默認情況下在啓動時隨機生成。
spring.artemis.embedded.data-directory = #Journal 文件目錄。如果關閉持久性,則沒有必要。
spring.artemis.embedded.enabled = true #如果Artemis服務器API可用,則啓用嵌入模式。
spring.artemis.embedded.persistent = false #啓用持久存儲。
spring.artemis.embedded.queues = #逗號分隔的隊列,在啓動時創建。
spring.artemis.embedded.server-id = #服務器ID。默認情況下,使用自動遞增的計數器。
spring.artemis.embedded.topics = #以逗號分隔的主題列表,在啓動時創建。
spring.artemis.host = localhost #Artemis經紀人主持人。
spring.artemis.mode = #Artemis部署模式,默認自動檢測。
spring.artemis.password = #代理的登錄密碼。
spring.artemis.port = 61616 #Artemis 經紀人端口。
spring.artemis.user = #代理的登錄用戶。
 
#SPRING BATCH(BatchProperties)
spring.batch.initializer.enabled = #如有必要,在啓動時創建所需的批處理表。如果未設置自定義表前綴或配置了自定義架構,則自動啓用。
spring.batch.job.enabled = true #在啓動時執行上下文中的所有Spring Batch作業。
spring.batch.job.names = #逗號分隔的要在啓動時執行的作業名稱列表(例如`job1,job2`)。默認情況下,將執行上下文中找到的所有作業。
spring.batch.schema = classpath:org / springframework / batch / core / schema  -  @@ platform @@ .sql #用於初始化數據庫模式的SQL文件的路徑。
spring.batch.table-prefix = #所有批次元數據表的表前綴。
 
#JMS (JmsProperties)
spring.jms.jndi-name = #連接工廠JNDI名稱。設置時,優先於其他連接工廠自動配置。
spring.jms.listener.acknowledge-mode = #容器的確認模式。默認情況下,偵聽器使用自動確認進行事務處理。
spring.jms.listener.auto-startup = true #啓動時自動啓動容器。
spring.jms.listener.concurrency = #最小併發使用者數。
spring.jms.listener.max-concurrency = #最大併發使用者數。
spring.jms.pub-sub-domain = false #指定默認目標類型是否爲topic。
spring.jms.template.default-destination = #在沒有目標參數的發送/接收操作上使用的默認目標。
spring.jms.template.delivery-delay = #用於發送調用的傳遞延遲(以毫秒爲單位)。
spring.jms.template.delivery-mode = #Delivery模式。設置時啓用QoS。
spring.jms.template.priority = #發送時消息的優先級。設置時啓用QoS。
spring.jms.template.qos-enabled = #發送消息時啓用顯式QoS。
spring.jms.template.receive-timeout = #用於接收呼叫的超時(以毫秒爲單位)。
spring.jms.template.time-to-live = #以毫秒爲單位發送消息的生存時間。設置時啓用QoS。
 
#APACHE KAFKA(KafkaProperties)
spring.kafka.bootstrap-servers = #逗號分隔的主機:端口對列表,用於建立與Kafka集羣的初始連接。
spring.kafka.client-id = #Id 在發出請求時傳遞給服務器; 用於服務器端日誌記錄。
spring.kafka.consumer.auto-commit-interval = #如果'enable.auto.commit'爲true,則消費者偏移量自動提交給Kafka的頻率(以毫秒爲單位)。
spring.kafka.consumer.auto-offset-reset = #當Kafka中沒有初始偏移量或服務器上當前偏移量不再存在時該怎麼辦。
spring.kafka.consumer.bootstrap-servers = #逗號分隔的主機:端口對列表,用於建立與Kafka集羣的初始連接。
spring.kafka.consumer.client-id = #Id 在發出請求時傳遞給服務器; 用於服務器端日誌記錄。
spring.kafka.consumer.enable-auto-commit = #如果爲true,則消費者的偏移量將在後臺定期提交。
spring.kafka.consumer.fetch-max-wait = #如果沒有足夠的數據立即滿足“fetch.min.bytes”給出的要求,服務器在回答獲取請求之前將阻塞的最長時間(以毫秒爲單位)。
spring.kafka.consumer.fetch-min-size = #服務器應以字節爲單位返回獲取請求的最小數據量。
spring.kafka.consumer.group-id = #唯一字符串,用於標識此使用者所屬的使用者組。
spring.kafka.consumer.heartbeat-interval = #心跳與用戶協調器之間的預期時間(以毫秒爲單位)。
spring.kafka.consumer.key-deserializer = #Deserializer 類的鍵。
spring.kafka.consumer.max-poll-records = #一次調用poll()時返回的最大記錄數。
spring.kafka.consumer.value-deserializer = #Deserializer 類的值。
spring.kafka.listener.ack-count = #當ackMode爲“COUNT”或“COUNT_TIME”時,偏移提交之間的記錄數。
spring.kafka.listener.ack-mode = #Listener AckMode; 請參閱spring-kafka文檔。
spring.kafka.listener.ack-time = #當ackMode爲“TIME”或“COUNT_TIME”時,偏移提交之間的時間(以毫秒爲單位)。
spring.kafka.listener.concurrency = #在偵聽器容器中運行的線程數。
spring.kafka.listener.poll-timeout = #輪詢使用者時使用的超時(以毫秒爲單位)。
spring.kafka.producer.acks = #生產者要求領導者在考慮完成請求之前收到的確認數。
spring.kafka.producer.batch-size = #發送前批量記錄的數量。
spring.kafka.producer.bootstrap-servers = #逗號分隔的主機:端口對列表,用於建立與Kafka集羣的初始連接。
spring.kafka.producer.buffer-memory = #生產者可用於緩衝等待發送到服務器的記錄的內存總字節數。
spring.kafka.producer.client-id = #Id 在發出請求時傳遞給服務器; 用於服務器端日誌記錄。
spring.kafka.producer.compression-type = #生產者生成的所有數據的壓縮類型。
spring.kafka.producer.key-serializer = 鍵的序列化器類。
spring.kafka.producer.retries = #當大於零時,啓用重試失敗的發送。
spring.kafka.producer.value-serializer = #Serializer 類的值。
spring.kafka.properties。* = #用於配置客戶端的其他屬性。
spring.kafka.ssl.key-password = #密鑰庫文件中私鑰的密碼。
spring.kafka.ssl.keystore-location = #密鑰庫文件的位置。
spring.kafka.ssl.keystore-password = #存儲密鑰庫文件的密碼。
spring.kafka.ssl.truststore-location = #信任庫文件的位置。
spring.kafka.ssl.truststore-password = #存儲信任存儲文件的密碼。
spring.kafka.template.default-topic = #將消息發送到的默認主題。
 
#RABBIT(RabbitProperties)
spring.rabbitmq.addresses = #逗號分隔的客戶端應連接的地址列表。
spring.rabbitmq.cache.channel.checkout-timeout = #達到緩存大小後等待獲取通道的毫秒數。
spring.rabbitmq.cache.channel.size = #要在緩存中保留的通道數。
spring.rabbitmq.cache.connection.mode = channel #連接工廠緩存模式。
spring.rabbitmq.cache.connection.size = #緩存的連接數。
spring.rabbitmq.connection-timeout = #連接超時,以毫秒爲單位; 零無限。
spring.rabbitmq.dynamic =真#創建AmqpAdmin豆。
spring.rabbitmq.host = localhost #RabbitMQ主機。
spring.rabbitmq.listener.acknowledge-mode = #容器的確認模式。
spring.rabbitmq.listener.auto-startup = true #啓動時自動啓動容器。
spring.rabbitmq.listener.concurrency = #最小消費者數量。
spring.rabbitmq.listener.default-requeue-rejected = #是否重新排隊交付失敗; 默認`true`。
spring.rabbitmq.listener.idle-event-interval = #應該以毫秒爲單位發佈空閒容器事件的頻率。
spring.rabbitmq.listener.max-concurrency = #最大消費者數量。
spring.rabbitmq.listener.prefetch = #單個請求中要處理的消息數。它應該大於或等於事務大小(如果使用)。
spring.rabbitmq.listener.retry.enabled = false #是否啓用發佈重試。
spring.rabbitmq.listener.retry.initial-interval = 1000 #傳遞消息的第一次和第二次嘗試之間的間隔。
spring.rabbitmq.listener.retry.max-attempts = 3 #傳遞郵件的最大嘗試次數。
spring.rabbitmq.listener.retry.max-interval = 10000 #嘗試之間的最大間隔。
spring.rabbitmq.listener.retry.multiplier = 1.0 #應用於先前傳遞重試間隔的乘數。
spring.rabbitmq.listener.retry.stateless = true #重試是無狀態還是有狀態。
spring.rabbitmq.listener.transaction-size = #要在事務中處理的消息數。爲獲得最佳結果,它應小於或等於預取計數。
spring.rabbitmq.password = #登錄以對代理進行身份驗證。
spring.rabbitmq.port = 5672 #RabbitMQ端口。
spring.rabbitmq.publisher-confirms = false #啓用發佈者確認。
spring.rabbitmq.publisher-returns = false #啓用發佈者返回。
spring.rabbitmq.requested-heartbeat = #請求的心跳超時,以秒爲單位; 零沒有。
spring.rabbitmq.ssl.enabled = false #啓用SSL支持。
spring.rabbitmq.ssl.key-store = #保存SSL證書的密鑰庫的路徑。
spring.rabbitmq.ssl.key-store-password = #用於訪問密鑰庫的密碼。
spring.rabbitmq.ssl.trust-store = #持有SSL證書的信任存儲。
spring.rabbitmq.ssl.trust-store-password = #用於訪問信任庫的密碼。
spring.rabbitmq.ssl.algorithm = #SSL 算法使用。默認情況下,由Rabbit客戶端庫配置。
spring.rabbitmq.template.mandatory = false #啓用強制消息。
spring.rabbitmq.template.receive-timeout = 0 #receive()`方法的超時。
spring.rabbitmq.template.reply-timeout = 5000 #outoutout for sendAndReceive()`方法。
spring.rabbitmq.template.retry.enabled = false #設置爲true以在`RabbitTemplate`中啓用重試。
spring.rabbitmq.template.retry.initial-interval = 1000 #第一次和第二次嘗試發佈消息之間的間隔。
spring.rabbitmq.template.retry.max-attempts = 3 #發佈郵件的最大嘗試次數。
spring.rabbitmq.template.retry.max-interval = 10000 #發佈郵件的最大嘗試次數。
spring.rabbitmq.template.retry.multiplier = 1.0 #應用於先前發佈重試間隔的乘數。
spring.rabbitmq.username = #登錄用戶以對代理進行身份驗證。
spring.rabbitmq.virtual-host = #連接到代理時使用的虛擬主機。
 
 
# ----------------------------------------
#TRTUATOR PROPERTIES
# ----------------------------------------
 
#ENDPOINTS(AbstractEndpoint子類)
endpoints.enabled = true #啓用端點。
endpoints.sensitive = #默認端點敏感設置。
endpoints.actuator.enabled = true #啓用端點。
endpoints.actuator.path = #端點URL路徑。
endpoints.actuator.sensitive = false #在端點上啓用安全性。
endpoints.auditevents.enabled = #啓用端點。
endpoints.auditevents.path = #端點路徑。
endpoints.auditevents.sensitive = false #在端點上啓用安全性。
endpoints.autoconfig.enabled = #啓用端點。
endpoints.autoconfig.id = #端點標識符。
endpoints.autoconfig.path = #端點路徑。
endpoints.autoconfig.sensitive = #標記端點是否公開敏感信息。
endpoints.beans.enabled = #啓用端點。
endpoints.beans.id = #端點標識符。
endpoints.beans.path = #端點路徑。
endpoints.beans.sensitive = #標記端點是否公開敏感信息。
endpoints.configprops.enabled = #啓用端點。
endpoints.configprops.id = #端點標識符。
endpoints.configprops.keys-to-sanitize = password,secret,key,token,。* credentials。*,vcap_services #應該清理的密鑰。鍵可以是屬性結尾的簡單字符串或正則表達式。
endpoints.configprops.path = #端點路徑。
endpoints.configprops.sensitive = #標記端點是否公開敏感信息。
endpoints.docs.curies.enabled = false #啓用居里生成。
endpoints.docs.enabled = true #啓用執行器docs端點。
endpoints.docs.path = / docs #
endpoints.docs.sensitive = false #
endpoints.dump.enabled = #啓用端點。
endpoints.dump.id = #端點標識符。
endpoints.dump.path = #端點路徑。
endpoints.dump.sensitive = #標記端點是否公開敏感信息。
endpoints.env.enabled = #啓用端點。
endpoints.env.id = #端點標識符。
endpoints.env.keys-to-sanitize = password,secret,key,token,。* credentials。*,vcap_services #應該清理的密鑰。鍵可以是屬性結尾的簡單字符串或正則表達式。
endpoints.env.path = #端點路徑。
endpoints.env.sensitive = #標記端點是否公開敏感信息。
endpoints.flyway.enabled = #啓用端點。
endpoints.flyway.id = #端點標識符。
endpoints.flyway.sensitive = #標記端點是否公開敏感信息。
endpoints.health.enabled = #啓用端點。
endpoints.health.id = #端點標識符。
endpoints.health.mapping。* = #將健康狀態映射到HttpStatus代碼。默認情況下,已註冊的運行狀況映射到合理的默認值(即UP映射到200)。
endpoints.health.path = #端點路徑。
endpoints.health.sensitive = #標記端點是否公開敏感信息。
endpoints.health.time-to-live = 1000 #緩存結果的生存時間(以毫秒爲單位)。
endpoints.heapdump.enabled = #啓用端點。
endpoints.heapdump.path = #端點路徑。
endpoints.heapdump.sensitive = #標記端點是否公開敏感信息。
endpoints.hypermedia.enabled = false #爲端點啓用超媒體支持。
endpoints.info.enabled = #啓用端點。
endpoints.info.id = #端點標識符。
endpoints.info.path = #端點路徑。
endpoints.info.sensitive = #標記端點是否公開敏感信息。
endpoints.jolokia.enabled = true #啓用Jolokia端點。
endpoints.jolokia.path = / jolokia #端點URL路徑。
endpoints.jolokia.sensitive = true #在端點上啓用安全性。
endpoints.liquibase.enabled = #啓用端點。
endpoints.liquibase.id = #端點標識符。
endpoints.liquibase.sensitive = #標記端點是否公開敏感信息。
endpoints.logfile.enabled = true #啓用端點。
endpoints.logfile.external-file = #要訪問的外部日誌文件。
endpoints.logfile.path = / logfile #端點URL路徑。
endpoints.logfile.sensitive = true #在端點上啓用安全性。
endpoints.loggers.enabled = true #啓用端點。
endpoints.loggers.id = #端點標識符。
endpoints.loggers.path = / logfile #端點路徑。
endpoints.loggers.sensitive = true #標記端點是否公開敏感信息。
endpoints.mappings.enabled = #啓用端點。
endpoints.mappings.id = #端點標識符。
endpoints.mappings.path = #端點路徑。
endpoints.mappings.sensitive = #標記端點是否公開敏感信息。
endpoints.metrics.enabled = #啓用端點。
endpoints.metrics.filter.enabled = true #啓用指標servlet過濾器。
endpoints.metrics.filter.gauge-submissions = merged #Http過濾規範提交(合併,每個http方法)
endpoints.metrics.filter.counter-submissions = merged #Http過濾器計數器提交(merged,per-http-method)
endpoints.metrics.id = #端點標識符。
endpoints.metrics.path = #端點路徑。
endpoints.metrics.sensitive = #標記端點是否公開敏感信息。
endpoints.shutdown.enabled = #啓用端點。
endpoints.shutdown.id = #端點標識符。
endpoints.shutdown.path = #端點路徑。
endpoints.shutdown.sensitive = #標記端點是否公開敏感信息。
endpoints.trace.enabled = #啓用端點。
endpoints.trace.id = #端點標識符。
endpoints.trace.path = #端點路徑。
endpoints.trace.sensitive = #標記端點是否公開敏感信息。
 
#ENDPOINTS CORS CONFIGURATION(EndpointCorsProperties)
endpoints.cors.allow-credentials = #設置是否支持憑據。未設置時,不支持憑據。
endpoints.cors.allowed-headers = #逗號分隔的請求中允許的標頭列表。'*'允許所有標題。
endpoints.cors.allowed-methods = GET #逗號分隔的允許方法列表。'*'允許所有方法。
endpoints.cors.allowed-origins = #逗號分隔的原始列表允許。'*'允許所有來源。未設置時,將禁用CORS支持。
endpoints.cors.exposed-headers = #逗號分隔的標題列表,包含在響應中。
endpoints.cors.max-age = 1800 #客戶端可以緩存來自飛行前請求的響應的時間長度(以秒爲單位)。
 
#JMX ENDPOINT(EndpointMBeanExportProperties)
endpoints.jmx.domain = #JMX域名。如果設置,則使用'spring.jmx.default-domain'的值初始化。
endpoints.jmx.enabled = true #啓用所有端點的JMX導出。
endpoints.jmx.static-names = #附加的靜態屬性,附加到表示端點的MBean的所有ObjectName。
endpoints.jmx.unique-names = false #確保在發生衝突時修改ObjectNames。
 
#JOLOKIA(JolokiaProperties)
jolokia.config。* = #請參閱Jolokia手冊
 
#MANAGEMENT HTTP SERVER(ManagementServerProperties)
management.add-application-context-header = true #在每個響應中添加“X-Application-Context”HTTP標頭。
management.address = #管理端點應綁定到的網絡地址。
management.context-path = #管理端點context-path。例如`/執行器'
management.cloudfoundry.enabled = #啓用擴展的Cloud Foundry執行器端點
management.cloudfoundry.skip-ssl-validation = #跳過Cloud Foundry執行器端點安全調用的SSL驗證
management.port = #管理端點HTTP端口。默認情況下,使用與應用程序相同的端口。配置其他端口以使用特定於管理的SSL。
management.security.enabled = true #啓用安全性。
management.security.roles = ACTUATOR #可以訪問管理端點的以逗號分隔的角色列表。
management.security.sessions =無狀態#會話創建要使用的策略(始終,從不,if_required,無狀態)。
management.ssl.ciphers = #支持的SSL密碼。需要自定義management.port。
management.ssl.client-auth = #是否需要客戶端身份驗證(“想要”)或需要(“需要”)。需要信任存儲。需要自定義management.port。
management.ssl.enabled = #啓用SSL支持。需要自定義management.port。
management.ssl.enabled-protocols = #啓用SSL協議。需要自定義management.port。
management.ssl.key-alias = #標識密鑰庫中密鑰的別名。需要自定義management.port。
management.ssl.key-password = #用於訪問密鑰庫中密鑰的密碼。需要自定義management.port。
management.ssl.key-store = #保存SSL證書的密鑰庫的路徑(通常是jks文件)。需要自定義management.port。
management.ssl.key-store-password = #用於訪問密鑰庫的密碼。需要自定義management.port。
management.ssl.key-store-provider = #密鑰庫的提供者。需要自定義management.port。
management.ssl.key-store-type = #密鑰庫的類型。需要自定義management.port。
management.ssl.protocol = TLS #要使用的SSL協議。需要自定義management.port。
management.ssl.trust-store = #持有SSL證書的信任存儲。需要自定義management.port。
management.ssl.trust-store-password = #用於訪問信任庫的密碼。需要自定義management.port。
management.ssl.trust-store-provider = #信任存儲的提供者。需要自定義management.port。
management.ssl.trust-store-type = #信任庫的類型。需要自定義management.port。
 
#HEALTH指標
management.health.db.enabled = true #啓用數據庫運行狀況檢查。
management.health.cassandra.enabled = true #啓用cassandra運行狀況檢查。
management.health.couchbase.enabled = true #啓用couchbase運行狀況檢查。
management.health.defaults.enabled = true #啓用默認健康指標。
management.health.diskspace.enabled = true #啓用磁盤空間運行狀況檢查。
management.health.diskspace.path = #用於計算可用磁盤空間的路徑。
management.health.diskspace.threshold = 0 #應該可用的最小磁盤空間(以字節爲單位)。
management.health.elasticsearch.enabled = true #啓用elasticsearch健康檢查。
management.health.elasticsearch.indices = #逗號分隔的索引名稱。
management.health.elasticsearch.response-timeout = 100 #等待羣集響應的時間(以毫秒爲單位)。
management.health.jms.enabled = true #啓用JMS運行狀況檢查。
management.health.ldap.enabled = true #啓用LDAP運行狀況檢查。
management.health.mail.enabled = true #啓用郵件健康檢查。
management.health.mongo.enabled = true #啓用MongoDB運行狀況檢查。
management.health.rabbit.enabled = true #啓用RabbitMQ運行狀況檢查。
management.health.redis.enabled = true #啓用Redis運行狀況檢查。
management.health.solr.enabled = true #啓用Solr運行狀況檢查。
management.health.status.order = DOWN,OUT_OF_SERVICE,UP,UNKNOWN #以逗號分隔的健康狀態列表,按嚴重程度排序。
 
#INFO CONTRIBUTORS(InfoContributorProperties)
management.info.build.enabled = true #啓用構建信息。
management.info.defaults.enabled = true #啓用默認信息貢獻者。
management.info.env.enabled = true #啓用環境信息。
management.info.git.enabled = true #啓用git信息。
management.info.git.mode = simple #用於公開git信息的模式。
 
#REMOTE SHELL(ShellProperties)
management.shell.auth.type = simple #身份驗證類型。根據環境自動檢測。
management.shell.auth.jaas.domain = my-domain #JAAS domain。
management.shell.auth.key.path = #身份驗證密鑰的路徑。這應該指向一個有效的“.pem”文件。
management.shell.auth.simple.user.name = user #登錄用戶。
management.shell.auth.simple.user.password = #登錄密碼。
management.shell.auth.spring.roles = ACTUATOR #以逗號分隔的登錄CRaSH控制檯所需角色的列表。
management.shell.command-path-patterns = classpath *:/ commands / **,classpath *:/ crash / commands / ** #用於查找命令的模式。
management.shell.command-refresh-interval = -1 #掃描更改並在必要時更新命令(以秒爲單位)。
management.shell.config -path-patterns = classpath *:/ crash / * #用於查找配置的模式。
management.shell.disabled-commands = jpa *,jdbc *,jndi * #逗號分隔的要禁用的命令列表。
management.shell.disabled-plugins = #逗號分隔的要禁用的插件列表。默認情況下,某些插件會根據環境禁用。
management.shell.ssh.auth-timeout = #系統將提示用戶再次登錄後的毫秒數。
management.shell.ssh.enabled = true #啓用CRaSH SSH支持。
management.shell.ssh.idle-timeout = #未使用的連接關閉之前的毫秒數。
management.shell.ssh.key-path = #SSH服務器密鑰的路徑。
management.shell.ssh.port = 2000 #SSH端口。
management.shell.telnet.enabled = false #啓用CRaSH telnet支持。如果TelnetPlugin可用,則默認啓用。
management.shell.telnet.port = 5000 #Telnet端口。
 
#TRACING(TraceProperties)
management.trace.include =請求標頭,響應標頭,cookie,錯誤#要包含在跟蹤中的項目。
 
#METRICS EXPORT(MetricExportProperties)
spring.metrics.export.aggregate.key-pattern = #模式,告訴聚合器如何處理源存儲庫中的鍵。
spring.metrics.export.aggregate.prefix = #全局存儲庫的前綴(如果處於活動狀態)。
spring.metrics.export.delay-millis = 5000 #導出刻度之間的延遲(以毫秒爲單位)。根據此延遲,度量標準按計劃導出到外部源。
spring.metrics.export.enabled = true #啓用度量標準導出的標誌(假設MetricWriter可用)。
spring.metrics.export.excludes = #要排除的度量標準名稱的模式列表。包含後應用。
spring.metrics.export.includes = #要包括的度量標準名稱的模式列表。
spring.metrics.export.redis.key = keys.spring.metrics #Redis 存儲庫導出的密鑰(如果處於活動狀態)。
spring.metrics.export.redis.prefix = spring.metrics #Redis 存儲庫的前綴(如果處於活動狀態)。
spring.metrics.export.send-latest = #Flag 用於根據未導出未更改的度量標準值關閉任何可用的優化。
spring.metrics.export.statsd.host = #stats服務器的主機,用於接收導出的指標。
spring.metrics.export.statsd.port = 8125 #statsd服務器的端口,用於接收導出的指標。
spring.metrics.export.statsd.prefix = #statss導出指標的前綴。
spring.metrics.export.triggers。* = #每個MetricWriter bean名稱的特定觸發器屬性。
 
 
# ----------------------------------------
#DEVTOOLS PROPERTIES
# ----------------------------------------
 
#DEVTOOLS(DevToolsProperties)
spring.devtools.livereload.enabled = true #啓用livereload.com兼容服務器。
spring.devtools.livereload.port = 35729 #服務器端口。
spring.devtools.restart.additional-exclude = #應該從觸發完全重啓中排除的其他模式。
spring.devtools.restart.additional-paths = #要監視更改的其他路徑。
spring.devtools.restart.enabled = true #啓用自動重啓。
spring.devtools.restart.exclude = META-INF / maven / **,META-INF / resources / **,資源/ **,靜態/ **,公共/ **,模板/ **,** / * Test.class,** / * Tests.class,git.properties #應該從觸發完全重啓中排除的模式。
spring.devtools.restart.poll-interval = 1000 #輪詢類路徑更改之間等待的時間(以毫秒爲單位)。
spring.devtools.restart.quiet-period = 400 #觸發重啓之前沒有任何類路徑更改所需的靜默時間(以毫秒爲單位)。
spring.devtools.restart.trigger-file = #更改後的特定文件的名稱將觸發重新啓動檢查。如果未指定任何類路徑文件更改將觸發重新啓動。
 
#DROTE DEVTOOLS(RemoteDevToolsProperties)
spring.devtools.remote.context-path = /。~~ spring-boot!〜#用於處理遠程連接的上下文路徑。
spring.devtools.remote.debug.enabled = true #啓用遠程調試支持。
spring.devtools.remote.debug.local-port = 8000 #本地遠程調試服務器端口。
spring.devtools.remote.proxy.host = #用於連接遠程應用程序的代理主機。
spring.devtools.remote.proxy.port = #用於連接遠程應用程序的代理端口。
spring.devtools.remote.restart.enabled = true #啓用遠程重啓。
spring.devtools.remote.secret = #建立連接所需的共享密鑰(啓用遠程支持所需)。
spring.devtools.remote.secret-header-name = X-AUTH-TOKEN #用於傳輸共享密鑰的HTTP頭。
 
 
# ----------------------------------------
#TESTING PROPERTIES
# ----------------------------------------
 
spring.test.database.replace = any #要替換的現有DataSource的類型。
spring.test.mockmvc.print =默認#MVC 打印選項。
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章