diff options
Diffstat (limited to 'tenant-cd-api/src/main/java/ai/vespa/hosted/cd/Deployment.java')
-rw-r--r-- | tenant-cd-api/src/main/java/ai/vespa/hosted/cd/Deployment.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/Deployment.java b/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/Deployment.java index 9d42ba138bd..a04f07d5dae 100644 --- a/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/Deployment.java +++ b/tenant-cd-api/src/main/java/ai/vespa/hosted/cd/Deployment.java @@ -1,6 +1,8 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package ai.vespa.hosted.cd; +import java.time.Instant; + /** * A deployment of a Vespa application, which contains endpoints for document retrieval. * @@ -11,4 +13,13 @@ public interface Deployment { /** Returns an Endpoint in the cluster with the given id. */ Endpoint endpoint(String id); + /** The Vespa runtime version of the deployment, e.g., 8.16.32. */ + String platformVersion(); + + /** The build number assigned to the application revision of the deployment, e.g., 496. */ + long applicationVersion(); + + /** The time at which the deployment was last updated with a new platform or application version. */ + Instant deployedAt(); + } |