diff options
author | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-06-22 13:41:48 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@yahooinc.com> | 2023-06-22 17:44:15 +0200 |
commit | ad2c94853efd67359bc3061793cc22a65c20a90a (patch) | |
tree | 348a2678f8d3e1754028e279582a5306ff6e3a70 /controller-api | |
parent | 71a4d6ec1ee9064db42c1a7405b3b96c11233956 (diff) |
Add auth type to instance information
Diffstat (limited to 'controller-api')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/application/v4/model/InstanceInformation.java | 6 |
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 + '}'; } |