aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/model/InstanceInformation.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/model/InstanceInformation.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/model/InstanceInformation.java
index ffaee34e727..d73a7410cc6 100644
--- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/model/InstanceInformation.java
+++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/model/InstanceInformation.java
@@ -26,18 +26,21 @@ public class InstanceInformation {
public URI url;
public String scope;
public RoutingMethod routingMethod;
+ public String auth;
@JsonCreator
public Endpoint(@JsonProperty("cluster") String cluster ,
@JsonProperty("tls") boolean tls,
@JsonProperty("url") URI url,
@JsonProperty("scope") String scope,
- @JsonProperty("routingMethod") RoutingMethod routingMethod) {
+ @JsonProperty("routingMethod") RoutingMethod routingMethod,
+ @JsonProperty("authMethod") String auth) {
this.cluster = cluster;
this.tls = tls;
this.url = url;
this.scope = scope;
this.routingMethod = routingMethod;
+ this.auth = auth;
}
@Override
@@ -47,6 +50,7 @@ public class InstanceInformation {
", tls=" + tls +
", url=" + url +
", scope='" + scope + '\'' +
+ ", authType='" + auth + '\'' +
", routingMethod=" + routingMethod +
'}';
}