Add spring-boot-configuration-processor to SCSt schema/server

Add spring.cloud.stream.schemaRegistryClient.enabled
This commit is contained in:
making
2016-11-23 03:57:40 +09:00
committed by Ilayaperumal Gopinathan
parent 6d8cb58bde
commit 9f067a6907
3 changed files with 20 additions and 0 deletions

View File

@@ -33,6 +33,11 @@
<artifactId>avro</artifactId>
<version>1.8.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream-test-support</artifactId>

View File

@@ -15,6 +15,11 @@
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>

View File

@@ -26,6 +26,8 @@ public class SchemaRegistryClientProperties {
private String endpoint;
private boolean enabled = true;
public String getEndpoint() {
return this.endpoint;
}
@@ -33,4 +35,12 @@ public class SchemaRegistryClientProperties {
public void setEndpoint(String endpoint) {
this.endpoint = endpoint;
}
public boolean isEnabled() {
return enabled;
}
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
}