Move unused property in code to metadata
This commit is contained in:
parent
74379da726
commit
fec75c42fa
|
@ -76,11 +76,6 @@ public class MailProperties {
|
||||||
*/
|
*/
|
||||||
private String jndiName;
|
private String jndiName;
|
||||||
|
|
||||||
/**
|
|
||||||
* Whether to test that the mail server is available on startup.
|
|
||||||
*/
|
|
||||||
private boolean testConnection;
|
|
||||||
|
|
||||||
public String getHost() {
|
public String getHost() {
|
||||||
return this.host;
|
return this.host;
|
||||||
}
|
}
|
||||||
|
@ -141,12 +136,4 @@ public class MailProperties {
|
||||||
return this.jndiName;
|
return this.jndiName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isTestConnection() {
|
|
||||||
return this.testConnection;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setTestConnection(boolean testConnection) {
|
|
||||||
this.testConnection = testConnection;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -409,6 +409,13 @@
|
||||||
"name": "spring.kafka.listener.type",
|
"name": "spring.kafka.listener.type",
|
||||||
"defaultValue": "single"
|
"defaultValue": "single"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "spring.mail.test-connection",
|
||||||
|
"description": "Whether to test that the mail server is available on startup.",
|
||||||
|
"sourceType": "org.springframework.boot.autoconfigure.mail.MailProperties",
|
||||||
|
"type": "java.lang.Boolean",
|
||||||
|
"defaultValue": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "spring.mongodb.embedded.features",
|
"name": "spring.mongodb.embedded.features",
|
||||||
"defaultValue": [
|
"defaultValue": [
|
||||||
|
|
Loading…
Reference in New Issue