Skip to content

Add additional metadata for missing properties #1829

@snicoll

Description

@snicoll

I have updated my tool to check which keys are missing according to the current documentation, see ba03f061

This is the output against master

Configuration key statistics
Advertized keys: 301
Repository items: 546
Matching items: 282
Unresolved items (found in documentation but not in generated metadata): 19
Undocumented items (found in generated metadata but not in documentation): 142


Unresolved items
----------------
endpoints.configprops.keys-to-sanitize
endpoints.env.keys-to-sanitize
logging.config
logging.file
logging.level.*
logging.path
spring.application.index
spring.application.name
spring.batch.job.enabled
spring.config.location
spring.config.name
spring.data.rest.baseUri
spring.jta.*
spring.main....
spring.main.show-banner
spring.main.sources
spring.main.web-environment
spring.mandatory-file-encoding
spring.profiles.active

Undocumented items
--------------------
endpoints.health.mapping
endpoints.mappings.enabled
endpoints.mappings.id
endpoints.mappings.sensitive
flyway.callbacks
flyway.check-location
flyway.class-loader
flyway.clean-on-validation-error
flyway.data-source
flyway.encoding
flyway.ignore-failed-future-migration
flyway.init-description
flyway.init-on-migrate
flyway.init-sqls
flyway.out-of-order
flyway.placeholder-prefix
flyway.placeholder-suffix
flyway.placeholders
flyway.resolvers
flyway.sql-migration-separator
flyway.table
flyway.target
flyway.validate-on-migrate
health.status.order
liquibase.check-change-log-location
management.security.enabled
management.security.role
management.security.sessions
multipart.file-size-threshold
multipart.location
multipart.max-file-size
multipart.max-request-size
security.basic
server.ssl.ciphers
server.tomcat.max-http-header-size
shell.additional-properties
shell.auth.simple.user
shell.disabled-commands
spring.batch.enabled
spring.data.mongodb.database
spring.data.mongodb.grid-fs-database
spring.data.mongodb.password
spring.data.mongodb.username
spring.datasource.abandon-when-percentage-full
spring.datasource.access-to-underlying-connection-allowed
spring.datasource.alternate-username-allowed
spring.datasource.auto-commit
spring.datasource.catalog
spring.datasource.commit-on-return
spring.datasource.connection-customizer
spring.datasource.connection-customizer-class-name
spring.datasource.connection-init-sql
spring.datasource.connection-init-sqls
spring.datasource.connection-properties
spring.datasource.connection-test-query
spring.datasource.connection-timeout
spring.datasource.data-source
spring.datasource.data-source-class-name
spring.datasource.data-source-j-n-d-i
spring.datasource.data-source-properties
spring.datasource.db-properties
spring.datasource.default-auto-commit
spring.datasource.default-catalog
spring.datasource.default-read-only
spring.datasource.default-transaction-isolation
spring.datasource.driver-class-loader
spring.datasource.fair-queue
spring.datasource.idle-timeout
spring.datasource.ignore-exception-on-pre-load
spring.datasource.init-s-q-l
spring.datasource.initialization-fail-fast
spring.datasource.isolate-internal-queries
spring.datasource.jdbc-interceptors
spring.datasource.jdbc-url
spring.datasource.jdbc4-connection-test
spring.datasource.leak-detection-threshold
spring.datasource.log-abandoned
spring.datasource.log-validation-errors
spring.datasource.log-writer
spring.datasource.login-timeout
spring.datasource.max-age
spring.datasource.max-lifetime
spring.datasource.max-open-prepared-statements
spring.datasource.maximum-pool-size
spring.datasource.metrics-tracker-class-name
spring.datasource.minimum-idle
spring.datasource.num-tests-per-eviction-run
spring.datasource.pool-name
spring.datasource.pool-prepared-statements
spring.datasource.pool-properties
spring.datasource.propagate-interrupt-state
spring.datasource.read-only
spring.datasource.record-metrics
spring.datasource.register-mbeans
spring.datasource.remove-abandoned
spring.datasource.remove-abandoned-timeout
spring.datasource.rollback-on-return
spring.datasource.suspect-timeout
spring.datasource.test-on-connect
spring.datasource.thread-factory
spring.datasource.transaction-isolation
spring.datasource.use-disposable-connection-facade
spring.datasource.use-equals
spring.datasource.use-lock
spring.datasource.validation-interval
spring.datasource.validation-query-timeout
spring.datasource.validator
spring.datasource.validator-class-name
spring.datasource.xa
spring.datasource.xa.data-source-class-name
spring.datasource.xa.properties
spring.groovy.template.check-template-location
spring.groovy.template.configuration.auto-escape
spring.groovy.template.configuration.auto-indent
spring.groovy.template.configuration.auto-indent-string
spring.groovy.template.configuration.auto-new-line
spring.groovy.template.configuration.base-template-class
spring.groovy.template.configuration.cache-templates
spring.groovy.template.configuration.declaration-encoding
spring.groovy.template.configuration.expand-empty-elements
spring.groovy.template.configuration.locale
spring.groovy.template.configuration.new-line-string
spring.groovy.template.configuration.resource-loader-path
spring.groovy.template.configuration.template-engine
spring.groovy.template.configuration.use-double-quotes
spring.jpa.hibernate
spring.jta.enabled
spring.jta.transaction-manager-id
spring.mail.default-encoding
spring.mail.host
spring.mail.password
spring.mail.port
spring.mail.properties
spring.mail.username
spring.redis.database
spring.redis.pool
spring.redis.sentinel
spring.thymeleaf.check-template-location
spring.thymeleaf.excluded-view-names
spring.thymeleaf.view-names
spring.velocity.prefer-file-system-access
spring.velocity.toolbox-config-location

Some keys were documented in the branch so I don't really know what happened. The Spring Data one is due to a faulty algorithm to detect a setter

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions