liquibase
- liquibase.change-logChange log 配置文件的路徑,默認值為classpath:/db/changelog/db.changelog-master.yaml
- liquibase.check-change-log-location是否堅持change log的位置是否存在,默認為true.
- liquibase.contexts逗號分隔的運行時context列表.
- liquibase.default-schema默認的schema.
- liquibase.drop-first是否首先drop schema,默認為false
- liquibase.enabled是否開啟liquibase,默認為true.
- liquibase.password目標數據庫密碼
- liquibase.url要遷移的JDBC URL,如果沒有指定的話,將使用配置的主數據源.
- liquibase.user目標數據用戶名
8、其他
aop
- spring.aop.auto是否支持@EnableAspectJAutoProxy,默認為: true
- spring.aop.proxy-target-classtrue為使用CGLIB代理,false為JDK代理,默認為false
application
- spring.application.admin.enabled是否啟用admin特性,默認為: false
- spring.application.admin.jmx-name指定admin MBean的名稱,默認為: org.springframework.boot:type=Admin,name=SpringApplication
autoconfig
- spring.autoconfigure.exclude配置要排除的Auto-configuration classes.
batch
- spring.batch.initializer.enabled是否在必要時創建batch表,默認為true
- spring.batch.job.enabled是否在啟動時開啟batch job,默認為true
- spring.batch.job.names指定啟動時要執行的job的名稱,逗號分隔,默認所有job都會被執行
- spring.batch.schema指定要初始化的sql語句路徑,默認:classpath:org/springframework/batch/core/schema-@@platform@@.sql)
- spring.batch.table-prefix指定批量處理的表的前綴.
jmx
- spring.jmx.default-domain指定JMX domain name.
- spring.jmx.enabled是否暴露jmx,默認為true
- spring.jmx.server指定MBeanServer bean name. 默認為: mbeanServer)
- spring.mail.default-encoding指定默認MimeMessage的編碼,默認為: UTF-8
- spring.mail.host指定SMTP server host.
- spring.mail.jndi-name指定mail的jndi名稱
- spring.mail.password指定SMTP server登陸密碼.
- spring.mail.port指定SMTP server port.
- spring.mail.properties指定JavaMail session屬性.
- spring.mail.protocol指定SMTP server使用的協議,默認為: smtp
- spring.mail.test-connection指定是否在啟動時測試郵件服務器連接,默認為false
- spring.mail.username指定SMTP server的用戶名.
sendgrid
- spring.sendgrid.password指定SendGrid password.
- spring.sendgrid.proxy.host指定SendGrid proxy host.
- spring.sendgrid.proxy.port指定SendGrid proxy port.
- spring.sendgrid.username指定SendGrid username.
social
- spring.social.auto-connection-views是否開啟連接狀態的視圖,默認為false
- spring.social.facebook.app-id指定應用id
- spring.social.facebook.app-secret指定應用密碼
- spring.social.linkedin.app-id指定應用id
- spring.social.linkedin.app-secret指定應用密碼
- spring.social.twitter.app-id指定應用ID.
- spring.social.twitter.app-secret指定應用密碼
閱讀更多 Java高級架構技術 的文章