Skip to content
Snippets Groups Projects
Commit f599a018 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

OZG-5412 Revert GrpcClientsProperties

parent 78292dea
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,6 @@ import org.springframework.boot.context.properties.ConfigurationProperties; ...@@ -31,7 +31,6 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;
import lombok.Builder;
import lombok.Getter; import lombok.Getter;
import lombok.Setter; import lombok.Setter;
...@@ -44,10 +43,9 @@ public class GrpcClientsProperties { ...@@ -44,10 +43,9 @@ public class GrpcClientsProperties {
private Map<String, ClientProperty> client; private Map<String, ClientProperty> client;
@Builder
@Getter @Getter
@Setter @Setter
public static class ClientProperty { static class ClientProperty {
@NotEmpty @NotEmpty
private String address; private String address;
private String negotationType = "TLS"; private String negotationType = "TLS";
......
...@@ -69,7 +69,8 @@ class VorgangManagerListPropertiesTestFactory { ...@@ -69,7 +69,8 @@ class VorgangManagerListPropertiesTestFactory {
} }
static GrpcClientsProperties createClientProperties() { static GrpcClientsProperties createClientProperties() {
var property = new ClientProperty(ADDRESS, "TLS"); var property = new ClientProperty();
property.setAddress(ADDRESS);
var properties = new GrpcClientsProperties(); var properties = new GrpcClientsProperties();
properties.setClient(Map.of(CHANNEL_NAME, property)); properties.setClient(Map.of(CHANNEL_NAME, property));
return properties; return properties;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment