mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
update docs
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package org.springframework.cloud.alibaba.sentinel.datasource.config;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
/**
|
||||
* Abstract class Using by {@link DataSourcePropertiesConfiguration}
|
||||
*
|
||||
@@ -9,6 +11,7 @@ public class AbstractDataSourceProperties {
|
||||
|
||||
private String dataType = "json";
|
||||
private String converterClass;
|
||||
@JsonIgnore
|
||||
private final String factoryBeanName;
|
||||
|
||||
public AbstractDataSourceProperties(String factoryBeanName) {
|
||||
|
@@ -6,6 +6,8 @@ import java.util.List;
|
||||
|
||||
import org.springframework.util.ObjectUtils;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
|
||||
/**
|
||||
* Using By ConfigurationProperties.
|
||||
*
|
||||
@@ -57,6 +59,7 @@ public class DataSourcePropertiesConfiguration {
|
||||
this.apollo = apollo;
|
||||
}
|
||||
|
||||
@JsonIgnore
|
||||
public List<String> getInvalidField() {
|
||||
List<String> fieldList = new ArrayList<>();
|
||||
for (Field field : this.getClass().getDeclaredFields()) {
|
||||
|
Reference in New Issue
Block a user