summaryrefslogtreecommitdiffstats
path: root/controller-api
diff options
context:
space:
mode:
authorAndreas Eriksen <andreer@verizonmedia.com>2021-02-15 10:20:43 +0100
committerGitHub <noreply@github.com>2021-02-15 10:20:43 +0100
commit9c519b1d3f14fb40f3d66487d6c1dcd6e63e1128 (patch)
treee23751362090a79ce70d077c8f3339b4489e56a2 /controller-api
parent5e6d0030e9bc9d4b61327ee62ae441a7322fc811 (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.java13
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{" +