Skip to content
Snippets Groups Projects
Commit b76dad94 authored by OZG-Cloud Team's avatar OZG-Cloud Team
Browse files

OZG-5412 Revert GrpcClientsProperties

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