banner.location
spring.profile.active
spring.application.name
server.port=8080
server.session-timeout
server.context-path=/
server.ssl.enabled=true
server.tomcat.access-log-pattern=
server.tomcat.uri-encoding=UTF-8
spring.mvc.prefix=
spring.mvc.suffix=
multipart.enabled=true
multipart.max-file-size=1Mb
multipart.max-request-size=10Mb
spring.hateoas.apply-to-primary-boject-mapper=true #只有這一個配置
# 簡介HATEOAS(Hypermedia as the engine of application state)是 REST 架構風格中最複雜的約束,也是構建成熟 REST 服務的核心
spring.http.encoding.charset=UTF-8
spring.http.gzip.XXX 配置http response compression
spring.jackson.XXX
spring.thymeleaf.enabled=true
spring.freemarker.charset=UTF-8
spring.groovy.template.cache=true
spring.groovy.template.cache=true
spring主導的運行於JVM的動態語言,可以替代java開發
Groovy是一種基於JVM(Java虛擬機)的敏捷開發語言,它結合了Python、Ruby和Smalltalk的許多強大的特性,Groovy 代碼能夠與 Java 代碼很好地結合,也能用於擴展現有代碼。
security.user.name=user
security.enable-csrf=false
spring.oauth2.client.client-id=
spring.oauth2.sso.filter-order=
spring.datasource.driver-class-name=
spring.datasource.url=
spring.datasource.username=
spring.datasource.password=
spring.data.mongodb.host=
spring.data.mongodb.prot=27017
spring.jpa.show-sql=true
spring.jpa.hibernate.ddl-auto=
spring.jta.atomikos.XXX //分佈式事務jta
spring.jta.bitronix.XXX
spring.data.solr.host=http://127.0.0.1:8983/solr
spring.data.elasticsearch.cluster-name=
spring.data.elasticsearch.cluster-nodes=
spring.data.elasticsearch.repositories.enabled=true
spring.data.rest.base-path=
flyway.enabled=true
flyway.user= Flyway是獨立於數據庫的應用、管理並跟蹤數據庫變更的數據庫版本管理工具。
liquibase.url= 用於跟蹤,管理和應用數據庫變化的開源的數據庫重構工具
spring.jmx.enabled=true
spring.rabbitmq.address=
spring.rabbitmq.host=
spring.rabbitmq.prot=
spring.rabbitmq.password=
spring.redis.database=
spring.redis.host=
spring.redis.password
spring.redis.port=6379
spring.activemq.broker-url=tcp://localhost:61616
spring.activemq.user=
spring.activemq.password= ActiveMQ是一個純Java程序,因此只需要操作系統支持Java虛擬機,ActiveMQ便可執行
spring.hornetq.host=
spring.hornetq.port=5445 HornetQ完全支持JMS
spring.jms.jndi-name=
spring.mail.host=smtp.acme.org
spring.mail.port=
spring.mail.username=
spring.mail.password=
spring.batch.job.names=job1,job2
spring.batch.job.enabled=true
spring.catch.type= redis,echcache
spring.cache.cache-names=
spring.aop.auto=
spring.social.auto-connection-views=true
# SpringSocial給我們提供了一個AbstractOAuth2ServiceProvider抽象類
spring.devtools.restart.enabled=true
management.port
management.address
endpoints.beans.id=beans
endpoints.dump.id=dump
endpoints.health.enabled=true
endpoints.shutdown.enabled=false
management.health.db.enabled=true
management.health.redis.enabled=true
shell.auth=simple
shell.ssh.enabled=
shell.ssh.port=
shell.telnet.port=
shell.auth.simple.user.name=
shell.auth.simple.user.password=
spring.metrics.export.enabled=true
對於分佈式軟件系統來說Metrics已經成爲了不可缺少的組成部分,通過它我們可以瞭解系統的運行狀況、健康狀況、性能狀況
spring.sendgird.username=
spring.sendgrid.password=SendGrid 是一個電子郵件服務平臺
spring.git.properties=
springboot的常用註釋
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.