spring boot 限制初始值大小及參數中文詳解

要加「m」說明是MB,不然就是KB了.css

-Xms:初始值html

-Xmx:最大值java

-Xmn:最小值node

java -Xms10m -Xmx80m -jar mod.jar & 時區設置 java -jar -Duser.timezone=GMT+08 mod.jar &git

#----------------------------------------程序員

#核心屬性web

#----------------------------------------正則表達式

#BANNERredis

banner.charset = UTF -8#橫幅文件編碼。spring

banner.location = classpath :banner.txt#橫幅文件位置。

#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  #在初始化時爲日誌系統註冊一個關閉掛接。

#AOP

spring.aop.auto = true  #添加@EnableAspectJAutoProxy。

spring.aop.proxy-target-class = false  #是否要建立基於子類(CGLIB)的代理(true),而不是基於標準Java接口的代理(false)。

#IDENTITY(ContextIdApplicationContextInitializer)

spring.application.index =#應用程序索引。

spring.application.name =#應用程序名稱。

#ADMIN(SpringApplicationAdminJmxAutoConfiguration)

spring.application.admin.enabled = false  #爲應用程序啓用管理功能。

spring.application.admin.jmx-name = org .springframework.boot:type = Admin ,name = SpringApplication  #應用程序管理MBean的JMX名稱。

#AUTO-CONFIGURATION

spring.autoconfigure.exclude =#要自動配置要排除的類。

#SPRING CORE

spring.beaninfo.ignore = true  #跳過搜索BeanInfo類。

#SPRING CACHE(CacheProperties)

spring.cache.cache-names =#若是底層緩存管理器支持,則建立緩衝區名稱的逗號分隔列表。

spring.cache.ehcache.config =#用於初始化EhCache的配置文件的位置。

spring.cache.guava.spec =#用於建立緩存的規範。檢查CacheBuilderSpec有關規格格式的更多詳細信息。

spring.cache.hazelcast.config =#用於初始化Hazelcast的配置文件的位置。

spring.cache.infinispan.config =#用於初始化Infinispan的配置文件的位置。

spring.cache.jcache.config =#用於初始化緩存管理器的配置文件的位置。

spring.cache.jcache.provider =#用於檢索符合JSR-107規範的緩存管理器的CachingProvider實現的徹底限定名。只有在類路徑上有多個JSR-107實現可用時才須要。

spring.cache.type =#緩存類型,默認狀況下根據環境自動檢測。

#SPRING CONFIG - 僅使用環境屬性(ConfigFileApplicationListener)

spring.config.location =#配置文件位置。

spring.config.name = application  #配置文件名。

#HAZELCAST(HazelcastProperties)

spring.hazelcast.config =#用於初始化Hazelcast的配置文件的位置。

#JMX

spring.jmx.default-domain =#JMX域名。

spring.jmx.enabled = true  #將管理bean暴露給JMX域。

spring.jmx.server = mbeanServer  #MBeanServer bean名稱。

#Email(MailProperties)

spring.mail.default-encoding = UTF -8#默認MimeMessage編碼。

spring.mail.host =#SMTP服務器主機。例如smtp.example.com

spring.mail.jndi-name =#Session 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 =#SMTP服務器的登陸用戶。

#APPLICATION SETTINGS(SpringApplication)

spring.main.banner-mode = console  #用於在應用程序運行時顯示橫幅的模式。

spring.main.sources =#要包括在ApplicationContext中的Sources(類名,包名或XML資源位置)。

spring.main.web-environment =#在Web環境中運行應用程序(默認狀況下自動檢測)。

#FILE ENCODING(FileEncodingApplicationListener)

spring.mandatory-file-encoding =#應用程序必須使用的預期字符編碼。

#INTERNATIONALIZATION(MessageSourceAutoConfiguration)

spring.messages.basename = messages  #以逗號分隔的基本名稱列表,每一個名稱遵循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輸出(能夠是「detect」,「always」,「never」)。

#PID FILE(ApplicationPidFileWriter)

spring.pid.fail-on-write-error =#若是使用ApplicationPidFileWriter但不能寫入PID文件,則失敗。

spring.pid.file =#要寫入的PID文件的位置(若是使用ApplicationPidFileWriter)。

#PROFILES

spring.profiles.active =#活動配置文件的逗號分隔列表。

spring.profiles.include =#無條件地激活指定的逗號分隔的概要文件。

#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

#----------------------------------------

#MULTIPART(MultipartProperties)

multipart.enabled = true  #啓用對多部分上傳的支持。

multipart.file-size-threshold = 0  #將文件寫入磁盤的閾值。值可使用後綴「MB」或「KB」表示兆字節或千字節大小。

multipart.location =#上傳文件的中間位置。

multipart.max-file-size = 1Mb  #最大文件大小。值可使用後綴「MB」或「KB」表示兆字節或千字節大小。

multipart.max-request-size = 10Mb  #最大請求大小。值可使用後綴「MB」或「KB」表示兆字節或千字節大小。

#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.context-parameters。* =#Servlet上下文初始化參數。例如server.context-parameters.a = 阿爾法

server.context-path =#應用程序的上下文路徑。

server.display-name = application  #顯示應用程序的名稱。

server.error.include-stacktrace = never  #什麼時候包含「stacktrace」屬性。

server.error.path = / error#錯誤控制器的路徑。

server.error.whitelabel.enabled = true  #在服務器錯誤的狀況下啓用瀏覽器中顯示的默認錯誤頁面。

server.jsp-servlet.class-name = org .apache.jasper.servlet.JspServlet#JSP servlet的類名。

server.jsp-servlet.init-parameters。* =#用於配置JSP servlet的初始化參數

server.jsp-servlet.registered = true  #是否註冊了JSP servlet

server.port = 8080  #服務器HTTP端口。

server.server-header =#在服務器響應頭中發送的值(若是爲空,則使用servlet容器默認值)

server.servlet-path = /#主調度程序servlet的路徑。

server.session.cookie.comment =#對會話cookie進行註釋。

server.session.cookie.domain =#會話cookie的域。

server.session.cookie.http-only =#「HttpOnly」標誌爲會話cookie。

server.session.cookie.max-age =#會話Cookie的最大時間(以秒爲單位)。

server.session.cookie.name =#會話cookie名稱。

server.session.cookie.path =#會話cookie的路徑。

server.session.cookie.secure =#「安全」標誌的會話cookie。

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 =#

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 =#

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.suffix = .log#日誌文件名後綴。

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-http-header-size = 0  #HTTP消息頭的最大大小(以字節爲單位)。

server.tomcat.max-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.remote-ip-header =#從中提取遠程ip的http標頭的名稱。例如X-FORWARDED-FOR

server.tomcat.uri-encoding = UTF -8#用於解碼URI的字符編碼。

server.undertow.accesslog.dir =#訪問日誌目錄。

server.undertow.accesslog.enabled = false  #啓用訪問日誌。

server.undertow.accesslog.pattern = common  #訪問日誌的格式模式。

server.undertow.buffer-size =#每一個緩衝區的大小(以字節爲單位)。

server.undertow.buffers-per-region =#每一個區域的緩衝區數。

server.undertow.direct-buffers =#在Java堆外分配緩衝區。

server.undertow.io-threads =#爲worker建立的I / O線程數。

server.undertow.worker-threads =#工做線程數。

server.use-forward-headers =#若是X-Forwarded- *頭應該應用於HttpRequest。

#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值。

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 =#能夠解析的視圖名稱的白名單。

#GROOVY 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值。

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 /#模板路徑。

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 encoding(HttpEncodingProperties)

spring.http.encoding.charset = UTF -8#HTTP請求和響應的字符集。若是未明確設置,則添加到「Content-Type」標題。

spring.http.encoding.enabled = true  #啓用http編碼支持。

spring.http.encoding.force = true  #強制編碼到配置的字符集上HTTP請求和響應。

#JACKSON(JacksonProperties)

spring.jackson.date-format =#日期格式字符串或徹底限定的日期格式類名稱。例如yyyy-MM-dd HH:mm:ss

spring.jackson.deserialization。* =#Jackson on / off功能影響Java對象的反序列化方式。

spring.jackson.generator。* =#Jackson的on / off功能用於生成器。

spring.jackson.joda-date-time-format =#Joda日期時間格式字符串。若是未配置,若是使用格式字符串配置,「date-format」將用做後備。

spring.jackson.locale =#用於格式化的區域設置。

spring.jackson.mapper。* =#Jackson通用開/關功能。

spring.jackson.parser。* =#Jackson解析器的on / off功能。

spring.jackson.property-naming-strategy =#Jackson的PropertyNamingStrategy上的一個常量。也能夠是PropertyNamingStrategy子類的徹底限定類名。

spring.jackson.serialization。* =#Jackson on / off功能影響Java對象的序列化方式。

spring.jackson.serialization-inclusion =#控制序列化期間屬性的包含。使用Jackson的JsonInclude.Include枚舉中的值之一進行配置。

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的初始參數。

spring.jersey.type = servlet  #Jersey集成類型。能夠是「servlet」或「filter」。

#SPRING MOBILE DEVICE VIEWS(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 MOBILE SITE PREFERENCE(SitePreferenceAutoConfiguration)

spring.mobile.sitepreference.enabled = true  #啓用SitePreferenceHandler。

#MUSTACHE TEMPLATES(MustacheAutoConfiguration)

spring.mustache.cache = false  #啓用模板緩存。

spring.mustache.charset = UTF -8#模板編碼。

spring.mustache.check-template-location = true  #檢查模板位置是否存在。

spring.mustache.content-type = text / html#Content-Type值。

spring.mustache.enabled = true  #爲此技術啓用MVC視圖分辨率。

spring.mustache.prefix = classpath :/ templates /#要應用於模板名稱的前綴。

spring.mustache.suffix = .html#應用於模板名稱的後綴。

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  #將TRACE請求分發到FrameworkServlet doService方法。

spring.mvc.dispatch-options-request = false  #向FrameworkServlet doService方法分發OPTIONS請求。

spring.mvc.favicon.enabled = true  #啓用favicon.ico的解析。

spring.mvc.ignore-default-model-on-redirect = true  #若是在重定向場景中應該忽略「默認」模型的內容。

spring.mvc.locale =#要使用的區域設置。

spring.mvc.media-types。* =#將文件擴展名映射到用於內容協商的媒體類型。

spring.mvc.message-codes-resolver-format =#消息代碼的格式化策略。例如PREFIX_ERROR_CODE

spring.mvc.static-path-pattern = / **#用於靜態資源的路徑模式。

spring.mvc.throw-exception-if-no-handler-found = false  #若是沒有找處處理請求的處理程序,應拋出「NoHandlerFoundException」。

spring.mvc.view.prefix =#Spring MVC視圖前綴。

spring.mvc.view.suffix =#Spring MVC視圖後綴。

#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應用程序緩存清單重寫。

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 SOCIAL(SocialWebAutoConfiguration)

spring.social.auto-connection-views = false  #啓用支持的提供程序的鏈接狀態視圖。

#SPRING SOCIAL FACEBOOK(FacebookAutoConfiguration)

spring.social.facebook.app-id =#你的應用程序的Facebook應用程序ID

spring.social.facebook.app-secret =#你的應用程序的Facebook應用程序祕密

#SPRING SOCIAL LINKEDIN(LinkedInAutoConfiguration)

spring.social.linkedin.app-id =#您的應用程序的LinkedIn應用程序ID

spring.social.linkedin.app-secret =#你的應用程序的LinkedIn應用程序祕密

#SPRING SOCIAL TWITTER(TwitterAutoConfiguration)

spring.social.twitter.app-id =#您應用程序的Twitter應用程序ID

spring.social.twitter.app-secret =#你的應用程序的Twitter應用程序祕密

#THYMELEAF(ThymeleafAutoConfiguration)

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 =#應該從解析中排除的以逗號分隔的視圖名稱列表。

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 =#能夠解析的以逗號分隔的視圖名稱列表。

#VELOCITY TEMPLATES(VelocityAutoConfiguration)

spring.velocity.allow-request-override = false  #設置是否容許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名模型屬性。

spring.velocity.allow-session-override = false  #設置是否容許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  #爲此技術啓用MVC視圖分辨率。

spring.velocity.expose-request-attributes = false  #設置是否應在與模板合併以前將全部請求屬性添加到模型。

spring.velocity.expose-session-attributes = false  #設置在與模板合併以前是否應該將全部HttpSession屬性添加到模型。

spring.velocity.expose-spring-macro-helpers = true  #設置是否公開一個RequestContext供Spring的宏庫使用,名稱爲「springMacroRequestContext」。

spring.velocity.number-tool-attribute =#要在視圖的Velocity上下文中公開的NumberTool輔助對象的名稱。

spring.velocity.prefer-file-system-access = true  #首選模板加載的文件系統訪問。文件系統訪問啓用對模板更改的熱檢測。

spring.velocity.prefix =#構建URL時在前面添加用於查看名稱的前綴。

spring.velocity.properties。* =#額外的速度屬性。

spring.velocity.request-context-attribute =#全部視圖的RequestContext屬性的名稱。

spring.velocity.resource-loader-path = classpath :/ templates /#模板路徑。

spring.velocity.suffix = .vm #構建URL時附加到視圖名稱的後綴。

spring.velocity.toolbox-config-location =#Velocity工具箱配置位置。例如`/ WEB-INF / toolbox.xml

spring.velocity.view-names =#能夠解析的視圖名稱的白名單。

#----------------------------------------

#安全性

#----------------------------------------

#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-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  #會話建立策略(始終,從不,if_required,無狀態)。

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。若是值不可用而且密鑰爲public,則能夠設置。

security.oauth2.resource.jwt.key-value =#JWT令牌的驗證密鑰。能夠是對稱祕密或PEM編碼的RSA公鑰。

security.oauth2.resource.prefer-token-info = true  #使用令牌info,能夠設置爲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受權服務器的路徑

#----------------------------------------

#數據屬性

#----------------------------------------

#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 =#要遷移的數據庫的JDBC 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.url =#要遷移的數據庫的JDBC URL。若是未設置,則使用主配置的數據源。

liquibase.user =#要遷移的數據庫的登陸用戶。

#DAO(PersistenceExceptionTranslationAutoConfiguration)

spring.dao.exceptiontranslation.enabled = true  #啓用PersistenceExceptionTranslationPostProcessor。

#CASSANDRA(Cassandra屬性)

spring.data.cassandra.cluster-name =#Cassandra集羣的名稱。

spring.data.cassandra.compression =#Cassandra二進制協議支持的壓縮。

spring.data.cassandra.connect-timeout-millis =#套接字選項:鏈接超時。

spring.data.cassandra.consistency-level =#查詢一致性級別。

spring.data.cassandra.contact-points = localhost  #羣集節點地址的逗號分隔列表。

spring.data.cassandra.fetch-size =#查詢默認抓取大小。

spring.data.cassandra.keyspace-name =#要使用的鍵空間名稱。

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.ssl = false  #啓用SSL支持。

spring.data.cassandra.username =#服務器的登陸用戶。

#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存儲庫。

#MONGODB(MongoProperties)

spring.data.mongodb.authentication-database =#認證數據庫名稱。

spring.data.mongodb.database = test  #數據庫名稱。

spring.data.mongodb.field命名策略 =#要使用的FieldNamingStrategy的徹底限定名稱。

spring.data.mongodb.grid-fs-database =#GridFS數據庫名稱。

spring.data.mongodb.host = localhost  #Mongo服務器主機。

spring.data.mongodb.password =#mongo服務器的登陸密碼。

spring.data.mongodb.port = 27017  #Mongo服務器端口。

spring.data.mongodb.repositories.enabled = true  #啓用Mongo存儲庫。

spring.data.mongodb.uri = mongodb :// localhost / test#Mongo數據庫URI。設置時,將忽略主機和端口。

spring.data.mongodb.username =#mongo服務器的登陸用戶。

#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默認資源包啓用枚舉值轉換。

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的主機。若是設置了「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.driver-class-name =#JDBC驅動程序的標準名稱。默認狀況下基於URL自動檢測。

spring.datasource.initialize = true  #使用'data.sql'填充數據庫。

spring.datasource.jmx-enabled = false  #啓用JMX支持(若是由底層池提供)。

spring.datasource.jndi-name =#JNDI數據源的位置。類,url,用戶名和密碼設置時將被忽略。

spring.datasource.max-active =#例如100

spring.datasource.max-idle =#例8

spring.datasource.max-wait =

spring .datasource.min-evictable-idle-time-millis =

spring .datasource.min-idle = 8

spring.datasource.name = testdb  #數據源的名稱。

spring.datasource.password =#數據庫的登陸密碼。

spring.datasource.platform = all  #在模式資源(schema - $ {platform} .sql)中使用的平臺。

spring.datasource.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 =#要使用的鏈接池實現的徹底限定名稱。默認狀況下,它是從類路徑自動檢測。

spring.datasource.url =#數據庫的JDBC url。

spring.datasource.username =

spring .datasource.validation-query =

#H2 Web控制檯(H2ConsoleProperties)

spring.h2.console.enabled = false  #啓用控制檯。

spring.h2.console.path = / h2-console#控制檯可用的路徑。

#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 =#要操做的目標數據庫的名稱,默認狀況下自動檢測。能夠選擇使用「數據庫」設置枚舉。

spring.jpa.generate-ddl = false  #在啓動時初始化模式。

spring.jpa.hibernate.ddl-auto =#DDL模式。這其實是「hibernate.hbm2ddl.auto」屬性的快捷方式。使用嵌入式數據庫時,默認爲「create-drop」,不然爲「none」。

spring.jpa.hibernate.naming-strategy =#命名策略徹底限定名。

spring.jpa.open-in-view = true  #註冊OpenEntityManagerInViewInterceptor。將JPA EntityManager綁定到線程以進行請求的整個處理。

spring.jpa.properties。* =#在JPA提供程序上設置的其餘本機屬性。

spring.jpa.show-sql = false  #啓用SQL語句的日誌記錄。

#JTA(JtaAutoConfiguration)

spring.jta。* =#技術特定配置

spring.jta.log-dir =#事務日誌目錄。

#ATOMIKOS

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  #借用鏈接的收集超時(以秒爲單位)。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  #借用鏈接的收集超時(以秒爲單位)。0表示無限制。

spring.jta.atomikos.datasource.test-query =#用於在返回鏈接以前驗證鏈接的SQL查詢或語句。

spring.jta.atomikos.datasource.unique-resource-name = dataSource  #用於在恢復期間標識資源的惟一名稱。

#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上設置事務超時。

spring.jta.bitronix.connectionfactory.automatic-enlisting-enabled = true  #資源是否應自動註冊和刪除。

spring.jta.bitronix.connectionfactory.cache-producers-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上設置事務超時。

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-ordering-position = 1  #這個資源在兩階段提交期間應該採用的位置(始終爲Integer.MIN_VALUE,始終爲Integer.MAX_VALUE)。

spring.jta.bitronix.datasource.unique-name = dataSource  #用於在恢復期間標識資源的惟一名稱。

spring.jta.bitronix.datasource.use-tm-join = true  啓動XAResources時是否應使用TMJOIN。

#EMBEDDED MONGODB(EmbeddedMongoProperties)

spring.mongodb.embedded.features = SYNC_DELAY  #要啓用的功能的逗號分隔列表。

spring.mongodb.embedded.version = 2 .6.10#使用Mongo的版本。

#REDIS(RedisProperties)

spring.redis.database = 0  #鏈接工廠使用的數據庫索引。

spring.redis.host = localhost  #Redis服務器主機。

spring.redis.password =#redis服務器的登陸密碼。

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  #鏈接超時,以毫秒爲單位。

#----------------------------------------

#集成屬性

#----------------------------------------

#ACTIVEMQ(ActiveMQProperties)

spring.activemq.broker-url =#ActiveMQ代理的URL。默認狀況下自動生成。例如tcp:// localhost:61616

spring.activemq.in-memory = true  #指定默認代理URL是否應該在內存中。若是指定了顯式代理,則忽略。

spring.activemq.password =#代理的登陸密碼。

spring.activemq.pooled = false  #指定是否應建立PooledConnectionFactory而不是常規ConnectionFactory。

spring.activemq.user =#代理的登陸用戶。

#ARTEMIS(ArtemisProperties)

spring.artemis.embedded.cluster-password =#集羣密碼。默認狀況下,在啓動時隨機生成。

spring.artemis.embedded.data-directory =#日誌文件目錄。若是持久性已關閉,則不須要。

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.port = 61616  #Artemis代理端口。

#SPRING BATCH(BatchProperties)

spring.batch.initializer.enabled = true  #若是須要,在啓動時建立所需的批處理表。

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 =#全部批次元數據表的表前綴。

#HORNETQ(HornetQProperties)

spring.hornetq.embedded.cluster-password =#羣集密碼。默認狀況下,在啓動時隨機生成。

spring.hornetq.embedded.data-directory =#日誌文件目錄。若是持久性已關閉,則不須要。

spring.hornetq.embedded.enabled = true  #若是HornetQ服務器API可用,則啓用嵌入模式。

spring.hornetq.embedded.persistent = false  #啓用持久存儲。

spring.hornetq.embedded.queues =#在啓動時建立的逗號分隔的隊列列表。

spring.hornetq.embedded.server-id =#服務器ID。默認狀況下,使用自動遞增計數器。

spring.hornetq.embedded.topics =#啓動時建立的逗號分隔的主題列表。

spring.hornetq.host = localhost  #HornetQ代理主機。

spring.hornetq.mode =#HornetQ部署模式,默認狀況下自動檢測。能夠顯式設置爲「本機」或「嵌入」。

spring.hornetq.port = 5445  #HornetQ代理端口。

#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  #指定默認目標類型是否爲主題。

#RABBIT(RabbitProperties)

spring.rabbitmq.addresses =#客戶端應鏈接到的地址的逗號分隔列表。

spring.rabbitmq.dynamic = true  #建立一個AmqpAdmin bean。

spring.rabbitmq.host = localhost  #RabbitMQ主機。

spring.rabbitmq.listener.acknowledge-mode =#確認容器的模式。

spring.rabbitmq.listener.auto-startup = true  #在啓動時自動啓動容器。

spring.rabbitmq.listener.concurrency =#最小消費者數。

spring.rabbitmq.listener.max-concurrency =#最大消費者數。

spring.rabbitmq.listener.prefetch =#在單個請求中處理的消息數。它應該大於或等於事務大小(若是使用)。

spring.rabbitmq.listener.transaction-size =#要在事務中處理的消息數。爲了得到最佳結果,它應小於或等於預取計數。

spring.rabbitmq.password =#登陸以對代理進行身份驗證。

spring.rabbitmq.port = 5672  #RabbitMQ端口。

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.username =#登陸用戶以對代理進行身份驗證。

spring.rabbitmq.virtual-host =#鏈接到代理時要使用的虛擬主機。

#----------------------------------------

#執行器特性

#----------------------------------------

#ENDPOINTS(AbstractEndpoint subclasses)

endpoints.enabled = true  #啓用端點。

endpoints.sensitive =#默認端點敏感設置。

endpoints.actuator.enabled = true  #啓用端點。

endpoints.actuator.path =#端點URL路徑。

endpoints.actuator.sensitive = false  #在端點上啓用安全性。

endpoints.autoconfig.enabled =#啓用端點。

endpoints.autoconfig.id =#端點標識符。

endpoints.autoconfig.sensitive =#標記端點是否暴露敏感信息。

endpoints.beans.enabled =#啓用端點。

endpoints.beans.id =#端點標識符。

endpoints.beans.sensitive =#標記端點是否暴露敏感信息。

endpoints.configprops.enabled =#啓用端點。

endpoints.configprops.id =#終端標識符。

endpoints.configprops.keys-to-sanitize = password ,secret,key,。* credentials。*,vcap_services#應該進行清理的密鑰。鍵能夠是屬性結尾的簡單字符串或正則表達式。

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.sensitive =#標記端點是否暴露敏感信息。

endpoints.env.enabled =#啓用端點。

endpoints.env.id =#端點標識符。

endpoints.env.keys-to-sanitize = password ,secret,key,。* credentials。*,vcap_services#應該清理的密鑰。鍵能夠是屬性結尾的簡單字符串或正則表達式。

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.sensitive =#標記端點是否暴露敏感信息。

endpoints.health.time-to-live = 1000  #緩存結果的生存時間(以毫秒爲單位)。

endpoints.info.enabled =#啓用端點。

endpoints.info.id =#端點標識符。

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.path = / logfile#端點URL路徑。

endpoints.logfile.sensitive = true  #在端點上啓用安全性。

endpoints.mappings.enabled =#啓用端點。

endpoints.mappings.id =#端點標識符。

endpoints.mappings.sensitive =#標記端點是否暴露敏感信息。

endpoints.metrics.enabled =#啓用端點。

endpoints.metrics.filter.enabled = true  #啓用metrics servlet篩選器。

endpoints.metrics.id =#端點標識符。

endpoints.metrics.sensitive =#標記端點是否暴露敏感信息。

endpoints.shutdown.enabled =#啓用端點。

endpoints.shutdown.id =#端點標識符。

endpoints.shutdown.sensitive =#標記端點是否暴露敏感信息。

endpoints.trace.enabled =#啓用端點。

endpoints.trace.id =#端點標識符。

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 =#附加到表示端點的MBeans的全部ObjectNames的附加靜態屬性。

endpoints.jmx.unique-names = false  #確保在衝突的狀況下修改ObjectName。

#JOLOKIA(JolokiaProperties)

jolokia.config。* =#請參閱Jolokia手冊

#MANAGEMENT HTTP SERVER(ManagementServerProperties)

management.add-application-context-header = true  #在每一個響應中添加「X-Application-Context」HTTP頭。

management.address =#管理端點應綁定的網絡地址。

management.context-path =#管理端點上下文路徑。例如`/ actuator'

management.port =#管理端點HTTP端口。默認狀況下,使用與應用程序相同的端口。

management.security.enabled = true  #啓用安全性。

management.security.role = ADMIN  #訪問管理端點所需的角色。

management.security.sessions = stateless  #會話建立要使用的策略(始終,永遠,if_required,無狀態)。

#健康指數(之前的健康。*)

management.health.db.enabled = true  #啓用數據庫運行情況檢查。

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.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,UNKNOWN,UP#按嚴重性順序列出健康狀態的逗號分隔列表。

#TRACING((TraceProperties)

management.trace.include = request -headers,response-headers,errors#要包括在跟蹤中的項目。

#遙控器

shell.auth = simple  #認證類型。根據環境自動檢測。

shell.auth.jaas.domain = my -domain#JAAS域。

shell.auth.key.path =#認證密鑰的路徑。這應該指向一個有效的「.pem」文件。

shell.auth.simple.user.name = user  #登陸用戶。

shell.auth.simple.user.password =#登陸密碼。

shell.auth.spring.roles = ADMIN  #登陸到CRaSH控制檯的必需角色的逗號分隔列表。

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 *#禁用的逗號分隔的命令列表。

shell.disabled-plugins =#禁用的逗號分隔的插件列表。某些插件根據環境默認禁用。

shell.ssh.auth-timeout  =#用戶將被提示再次登陸的毫秒數。

shell.ssh.enabled = true  #啓用CRaSH SSH支持。

shell.ssh.idle-timeout  =#未使用的鏈接關閉以前的毫秒數。

shell.ssh.key-path =#SSH服務器密鑰的路徑。

shell.ssh.port = 2000  #SSH端口。

shell.telnet.enabled = false  #啓用CRaSH telnet支持。若是TelnetPlugin可用,默認狀況下啓用。

shell.telnet.port = 5000  #Telnet端口。

#GIT INFO

spring.git.properties =#對生成的git信息屬性文件的資源引用。

#METRICS EXPORT(MetricExportProperties)

spring.metrics.export.aggregate.key-pattern =#告訴聚合器如何處理源存儲庫中的鍵的模式。

spring.metrics.export.aggregate.prefix =#若是處於活動狀態,則爲全局存儲庫的前綴。

spring.metrics.export.delay-millis = 5000  #導出ticks之間的延遲(以毫秒爲單位)。度量標準將按照此延遲的計劃導出到外部源。

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 =#根據不導出不變的度量標準值,關閉任何可用的優化。

spring.metrics.export.statsd.host =#接收導出指標的statsd服務器的主機。

spring.metrics.export.statsd.port = 8125  #用於接收導出指標的statsd服務器的端口。

spring.metrics.export.statsd.prefix =#statsd導出的指標的前綴。

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 / **,resources / **,static / **,public / ,templates / / Test.class, / * Tests.class,git.properties#應該排除觸發徹底從新啓動的模式。

spring.devtools.restart.poll-interval = 1000  #輪詢類路徑更改之間等待的時間(以毫秒爲單位)。

spring.devtools.restart.quiet-period = 400  #觸發從新啓動以前,沒有任何類路徑更改所需的安靜時間量(以毫秒爲單位)。

spring.devtools.restart.trigger-file =#更改時將觸發從新啓動檢查的特定文件的名稱。若是沒有指定任何classpath文件更改將觸發從新啓動。

#REMOTE 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頭。

若是想學習Java工程化、高性能及分佈式、深刻淺出。性能調優、Spring,MyBatis,Netty源碼分析的朋友能夠加個人Java高級程序員羣:180705916,羣裏有阿里大牛直播講解技術,以及Java大型互聯網技術的視頻免費分享給你們。

相關文章
相關標籤/搜索