summaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorMorten Tokle <morten.tokle@gmail.com>2023-06-23 09:10:17 +0200
committerGitHub <noreply@github.com>2023-06-23 09:10:17 +0200
commit5aa6936e906d1ccc503f3e878d8e293ea48eb6b9 (patch)
tree65ff555b8ff0de923c5380edf9769db08bc6042e /controller-api
parentf2e0dabf9d2f86bd304a1658fa50e9db8c4d0b77 (diff)
Revert "Revert "Bjorncs/endpoint auth type" MERGEOK"
Diffstat (limited to 'controller-api')
-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 +
'}';
}