2024年3月20日发(作者:)
# SPRING CONFIG (ConfigFileApplicationListener)
= # config file name (default to 'application')
on= # location of config file
# PROFILES
= # comma list of active profiles
e= # unconditionally activate the specified comma separated profiles
# APPLICATION SETTINGS (SpringApplication)
s=
-environment= # detect by default
-banner=true
....= # see class for all properties
# LOGGING
=/var/logs
=
= # location of config file (default classpath: for logback)
.*= # levels for loggers, e.g. "framework=DEBUG"
(TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF)
# IDENTITY (ContextIdApplicationContextInitializer)
=
=
# EMBEDDED SERVER CONFIGURATION (ServerProperties)
=8080
s= # bind to a specific NIC
n-timeout= # session timeout in seconds
t-parameters.*= # Servlet context init parameters, e.g.
t-parameters.a=alpha
t-path= # the context path, defaults to '/'
t-path= # the servlet path, defaults to '/'
d=true # if SSL support is enabled
-auth= # want or need
-alias=
s= # supported SSL ciphers
-password=
-store=
-store-password=
-store-provider=
-store-type=
ol=TLS
-store=
-store-password=
-store-provider=
-store-type=
-log-pattern= # log pattern of the access log
-log-enabled=false # is access logging enabled
al-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} # regular expression matching trusted IP
addresses
ol-header=x-forwarded-proto # front end proxy forward header
-header= # front end proxy port header
-ip-header=x-forwarded-for
r=/tmp # base dir (usually not needed, defaults to tmp)
ound-processor-delay=30; # in seconds
-http-header-size= # maximum size in bytes of the HTTP message
header
-threads = 0 # number of threads in protocol handler
-encoding = UTF-8 # character encoding to use for URL decoding
# SPRING MVC (WebMvcProperties)
= # set fixed locale, e.g. en_UK
-format= # set fixed date format, e.g. dd/MM/yyyy
e-codes-resolver-format= # PREFIX_ERROR_CODE /
POSTFIX_ERROR_CODE
-default-model-on-redirect=true # If the the content of the "default"
model should be ignored redirects
= # MVC view prefix
= # ... and suffix
-period= # cache timeouts in headers sent to browser
-mappings=true # if default mappings should be added
# SPRING HATEOS (HateoasProperties)
-to-primary-object-mapper=true # if the primary mapper should also
be configured
# HTTP encoding (HttpEncodingProperties)
t=UTF-8 # the encoding of HTTP requests/responses
d=true # enable http encoding support
=true # force the configured encoding
# JACKSON (JacksonProperties)
-format= # Date format string (e.g. yyyy-MM-dd HH:mm:ss), or a
fully-qualified date format class name (e.g.
8601DateFormat)
ty-naming-strategy= # One of the constants on Jackson's
PropertyNamingStrategy (e.g.
CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES) or the fully-qualified class
name of a PropertyNamingStrategy subclass
alization.*= # see Jackson's DeserializationFeature
tor.*= # see Jackson's e
.*= # see Jackson's MapperFeature
.*= # see Jackson's e
ization.*= # see Jackson's SerializationFeature
# THYMELEAF (ThymeleafAutoConfiguration)
-template-location=true
=classpath:/templates/
ed-view-names= # comma-separated list of view names that
should be excluded from resolution
-names= # comma-separated list of view names that can be
resolved
=.html
=HTML5
ng=UTF-8
t-type=text/html # ;charset=
=true # set to false for hot refresh
# FREEMARKER (FreeMarkerAutoConfiguration)
-request-override=false
=true
-template-location=true
t=UTF-8
t-type=text/html
-request-attributes=false
-session-attributes=false
-spring-macro-helpers=false
=
t-context-attribute=
gs.*=
=.ftl
te-loader-path=classpath:/templates/ # comma-separated list
-names= # whitelist of view names that can be resolved
# GROOVY TEMPLATES (GroovyTemplateAutoConfiguration)
=true
t=UTF-8
uration.*= # See Groovy's TemplateConfiguration
t-type=text/html
=classpath:/templates/
=.tpl
-names= # whitelist of view names that can be resolved
# VELOCITY TEMPLATES (VelocityAutoConfiguration)
-request-override=false
=true
-template-location=true
t=UTF-8
t-type=text/html
-tool-attribute=
-request-attributes=false
-session-attributes=false
-spring-macro-helpers=false
-tool-attribute=
-file-system-access=true # prefer file system access for template
loading
=
ties.*=
t-context-attribute=
ce-loader-path=classpath:/templates/
=.vm
x-config-location= # velocity Toolbox config location, for example
"/WEB-INF/"
-names= # whitelist of view names that can be resolved
# JERSEY (JerseyProperties)
=servlet # servlet or filter
= # init params
=
# INTERNATIONALIZATION (MessageSourceAutoConfiguration)
me=messages
-seconds=-1
ng=UTF-8
# SECURITY (SecurityProperties)
=user # login username
rd= # login password
=USER # role assigned to the user
e-ssl=false # advanced settings ...
-csrf=false
d=true
=Spring
= # /**
-order=0
=false
=false
=false
t-type=false
=all # none / domain / all
ns=stateless # always / never / if_required / stateless
d=false
# DATASOURCE (DataSourceAutoConfiguration & DataSourceProperties)
= # name of the data source
lize=true # populate using
= # a schema (DDL) script resource reference
= # a data (DML) script resource reference
-script-encoding= # a charset for reading SQL scripts
rm= # the platform to use in the schema resource
(schema-${platform}.sql)
ue-on-error=false # continue even if can't be initialized
tor=; # statement separator in SQL initialization scripts
-class-name= #
=
me=
rd=
-name= # For JNDI lookup (class, url, username & password are
ignored when set)
-active=100 #
-idle=8
-idle=8
l-size=10
tion-query=
-on-borrow=false
-on-return=false
-while-idle=
-between-eviction-runs-millis=
-evictable-idle-time-millis=
-wait=
-enabled=false # Export JMX MBeans (if supported)
# DATASOURCE (PersistenceExceptionTranslationAutoConfiguration
d=true
# MONGODB (MongoProperties)
= # the db host
=27017 # the connection port (defaults to 27107)
=mongodb://localhost/test # connection URL
se=
tication-database=
-fs-database=
me=
rd=
d=true # if spring data repository support is
enabled
# JPA (JpaBaseConfiguration, HibernateJpaAutoConfiguration)
ties.*= # properties to set on the JPA connection
-in-view=true
-sql=true
se-platform=
se=
te-ddl=false # ignored by Hibernate, might be useful for other vendors
-strategy= # naming classname
-auto= # defaults to create-drop for embedded dbs
d=true # if spring data repository support is enabled
# JTA (JtaAutoConfiguration)
-dir= # transaction log dir
.*= # technology specific configuration
# SOLR (SolrProperties})
=127.0.0.1:8983/solr
-host=
d=true # if spring data repository support is enabled
# ELASTICSEARCH (ElasticsearchProperties})
r-name= # The cluster name (defaults to elasticsearch)
r-nodes= # The address(es) of the server node
(comma-separated; if not specified starts a client node)
d=true # if spring data repository support is
enabled
# DATA RESET (RepositoryRestConfiguration})
-uri= # base URI against which the exporter should calculate its links
# FLYWAY (FlywayProperties)
-location=false # check that migration scripts location exists
ons=classpath:db/migration # locations of migrations scripts
s= # schemas to update
-version= 1 # version to start migration
-sqls= # SQL statements to execute to initialize a connection immediately after
obtaining it
-migration-prefix=V
-migration-suffix=.sql
d=true
= # JDBC url if you want Flyway to create its own DataSource
= # JDBC username if you want Flyway to create its own DataSource
rd= # JDBC password if you want Flyway to create its own DataSource
# LIQUIBASE (LiquibaseProperties)
-log=classpath:/db/changelog/
-change-log-location=true # check the change log location exists
ts= # runtime contexts to use
t-schema= # default database schema to use
-first=false
d=true
= # specific JDBC url (if not set the default datasource is used)
= # user name for
rd= # password for
# JMX
d=true # Expose MBeans from Spring
# RABBIT (RabbitProperties)
= # connection host
= # connection port
ses= # connection addresses (e.g. myhost:9999,otherhost:1111)
me= # login user
rd= # login password
l-host=
c=
# REDIS (RedisProperties)
se= # database name
=localhost # server host
rd= # server password
=6379 # connection port
-idle=8 # pool settings ...
-idle=0
-active=8
-wait=-1
= # name of Redis server
= # comma-separated list of host:port pairs
# ACTIVEMQ (ActiveMQProperties)
-url=tcp://localhost:61616 # connection URL
=
rd=
-memory=true # broker kind to create if no broker-url is specified
=false
# HornetQ (HornetQProperties)
= # connection mode (native, embedded)
=localhost # hornetQ host (native mode)
=5445 # hornetQ port (native mode)
d=true # if the embedded server is enabled (needs
)
-id= # auto-generated id of the embedded server
(integer)
tent=false # message persistence
-directory= # location of data content (when persistence is
enabled)
= # comma-separated queues to create on startup
= # comma-separated topics to create on startup
r-password= # customer password (randomly generated
by default)
# JMS (JmsProperties)
-name= # JNDI location of a JMS ConnectionFactory
-sub-domain= # false for queue (default), true for topic
# Email (MailProperties)
= # mail server host
= # mail server port
me=
rd=
t-encoding=UTF-8 # encoding to use for MimeMessages
ties.*= # properties to set on the JavaMail session
# SPRING BATCH (BatchDatabaseInitializer)
=job1,job2
d=true
d=true
= # batch schema to load
# AOP
=
-target-class=
# FILE ENCODING (FileEncodingApplicationListener)
ory-file-encoding=false
# SPRING SOCIAL (SocialWebAutoConfiguration)
-connection-views=true # Set to true for default connection views or
false if you provide your own
# SPRING SOCIAL FACEBOOK (FacebookAutoConfiguration)
-id= # your application's Facebook App ID
-secret= # your application's Facebook App Secret
# SPRING SOCIAL LINKEDIN (LinkedInAutoConfiguration)
-id= # your application's LinkedIn App ID
-secret= # your application's LinkedIn App Secret
# SPRING SOCIAL TWITTER (TwitterAutoConfiguration)
-id= # your application's Twitter App ID
-secret= # your application's Twitter App Secret
# SPRING MOBILE SITE PREFERENCE (SitePreferenceAutoConfiguration)
d=true # enabled by default
# SPRING MOBILE DEVICE VIEWS (DeviceDelegatingViewResolverAutoConfiguration)
d=true # disabled by default
-prefix=
-suffix=
-prefix=mobile/
-suffix=
-prefix=tablet/
-suffix=
# ----------------------------------------
# ACTUATOR PROPERTIES
# ----------------------------------------
# MANAGEMENT HTTP SERVER (ManagementServerProperties)
= # defaults to ''
s= # bind to a specific NIC
t-path= # default to '/'
-application-context-header= # default to true
d=true # enable security
=ADMIN # role required to access the management endpoint
ns=stateless # session creating policy to use (always, never,
if_required, stateless)
# PID FILE (ApplicationPidFileWriter)
e= # Location of the PID file to write
# ENDPOINTS (AbstractEndpoint subclasses)
=autoconfig
ive=true
d=true
=beans
ive=true
d=true
=configprops
ive=true
d=true
-to-sanitize=password,secret,key # suffix or regex
=dump
ive=true
d=true
=env
ive=true
d=true
-to-sanitize=password,secret,key # suffix or regex
=health
ive=true
d=true
g.*= # mapping of health statuses to HttpStatus codes
-to-live=1000
=info
ive=false
d=true
d=true
=mappings
ive=true
=metrics
ive=true
d=true
=shutdown
ive=true
d=false
=trace
ive=true
d=true
# HEALTH INDICATORS (previously health.*)
d=true
d=true
d=true
d=true
d=true
d=true
=.
old=10485760
=DOWN, OUT_OF_SERVICE, UNKNOWN, UP
# MVC ONLY ENDPOINTS
=jolokia
ive=true
d=true # when using Jolokia
# JMX ENDPOINT (EndpointMBeanExportProperties)
d=true
= # the JMX domain, defaults to 'boot'
-names=false
-names=
# JOLOKIA (JolokiaProperties)
.*= # See Jolokia manual
# REMOTE SHELL
=simple # jaas, key, simple, spring
d-refresh-interval=-1
d-path-patterns= # classpath*:/commands/**,
classpath*:/crash/commands/**
-path-patterns= # classpath*:/crash/*
ed-commands=jpa*,jdbc*,jndi* # comma-separated list of commands to
disable
ed-plugins=false # don't expose plugins
d= # ssh settings ...
-path=
=
d= # telnet settings ...
=
= # authentication settings ...
=
=
rd=
=
# GIT INFO
ties= # resource ref to generated git info properties file


发布评论