diff options
author | Andreas Eriksen <andreer@verizonmedia.com> | 2021-02-15 10:20:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-15 10:20:43 +0100 |
commit | 9c519b1d3f14fb40f3d66487d6c1dcd6e63e1128 (patch) | |
tree | e23751362090a79ce70d077c8f3339b4489e56a2 /controller-api | |
parent | 5e6d0030e9bc9d4b61327ee62ae441a7322fc811 (diff) |
do not replace original request_id (#16509)
* do not replace original request_id
* token attempt to clarify intent in test
Diffstat (limited to 'controller-api')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/certificates/EndpointCertificateMetadata.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/certificates/EndpointCertificateMetadata.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/certificates/EndpointCertificateMetadata.java index 4d2cafa3e48..0bf3f0440d2 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/certificates/EndpointCertificateMetadata.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/certificates/EndpointCertificateMetadata.java @@ -110,6 +110,19 @@ public class EndpointCertificateMetadata { Optional.of(lastRefreshed)); } + public EndpointCertificateMetadata withRequestId(String requestId) { + return new EndpointCertificateMetadata( + this.keyName, + this.certName, + this.version, + this.lastRequested, + requestId, + this.requestedDnsSans, + this.issuer, + this.expiry, + lastRefreshed); + } + @Override public String toString() { return "EndpointCertificateMetadata{" + |