From 64231eaa9e94d30d5cba266cd8e7757df70bed3c Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 25 Aug 2017 16:24:29 +0200 Subject: [PATCH] Add deprecated metadata for Sendgrid See gh-10076 --- ...ditional-spring-configuration-metadata.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 481875972b3..7658d09d7cc 100644 --- a/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -916,6 +916,24 @@ "level": "error" } }, + { + "name": "spring.sendgrid.password", + "type": "java.lang.String", + "description": "SendGrid password.", + "deprecation": { + "reason": "The use of a username and password is no longer supported (Use spring.sendgrid.api-key instead).", + "level": "error" + } + }, + { + "name": "spring.sendgrid.username", + "type": "java.lang.String", + "description": "SendGrid username. Alternative to api key.", + "deprecation": { + "reason": "The use of a username and password is no longer supported (Use spring.sendgrid.api-key instead).", + "level": "error" + } + }, { "name": "spring.session.jdbc.initializer.enabled", "type": "java.lang.Boolean",