diff options
author | Morten Tokle <mortent@yahooinc.com> | 2023-06-23 08:17:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-23 08:17:26 +0200 |
commit | c49ddf4dbc1f299544e2e55015fac3d2e641e68e (patch) | |
tree | 65ff555b8ff0de923c5380edf9769db08bc6042e /controller-api/src/main/java | |
parent | 9d4e9a6026439ea29618d234d2d263d0f15d8480 (diff) | |
parent | 05dd9ad33b5daf9367ebed515c5a727f5f9a5926 (diff) |
Merge pull request #27524 from vespa-engine/bjorncs/endpoint-auth-type
Bjorncs/endpoint auth type
Diffstat (limited to 'controller-api/src/main/java')
-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 + '}'; } |