diff --git a/logbook-spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/logbook-spring-boot-autoconfigure/src/main/resources/META-INF/spring-configuration-metadata.json similarity index 82% rename from logbook-spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json rename to logbook-spring-boot-autoconfigure/src/main/resources/META-INF/spring-configuration-metadata.json index 91f6172c7..9290e2487 100644 --- a/logbook-spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/logbook-spring-boot-autoconfigure/src/main/resources/META-INF/spring-configuration-metadata.json @@ -1,4 +1,31 @@ { + "groups": [ + { + "name": "logbook", + "type": "org.zalando.logbook.autoconfigure.LogbookProperties", + "sourceType": "org.zalando.logbook.autoconfigure.LogbookProperties" + }, + { + "name": "logbook.predicate", + "type": "org.zalando.logbook.autoconfigure.LogbookProperties$PredicateProperties", + "sourceType": "org.zalando.logbook.autoconfigure.LogbookProperties" + }, + { + "name": "logbook.obfuscate", + "type": "org.zalando.logbook.autoconfigure.LogbookProperties$Obfuscate", + "sourceType": "org.zalando.logbook.autoconfigure.LogbookProperties" + }, + { + "name": "logbook.write", + "type": "org.zalando.logbook.autoconfigure.LogbookProperties$Write", + "sourceType": "org.zalando.logbook.autoconfigure.LogbookProperties" + }, + { + "name": "logbook.filter", + "type": "org.zalando.logbook.autoconfigure.LogbookProperties$Filter", + "sourceType": "org.zalando.logbook.autoconfigure.LogbookProperties" + } + ], "hints": [ { "name": "logbook.format.style", @@ -173,7 +200,7 @@ }, { "name": "logbook.filter.form-request-mode", - "type": "java.lang.String", + "type": "org.zalando.logbook.servlet.FormRequestMode", "defaultValue": "BODY", "description": "Determines how form requests are handled." }, @@ -183,6 +210,12 @@ "defaultValue": true, "description": "Enables/disables default body filter." }, + { + "name": "logbook.attribute-extractors", + "type": "java.util.List", + "defaultValue": [], + "description": "A list of attribute extractors to use." + }, { "name": "logbook.attribute-extractors.type", "type": "java.lang.String",