From f55c54ef2386fea0e8caaec31af05dcfe7f50059 Mon Sep 17 00:00:00 2001 From: Valerij Fredriksen Date: Fri, 9 Dec 2022 15:58:11 +0100 Subject: Propagate success factor --- .../controller/api/integration/aws/EnclaveAccessService.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'controller-api') diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/EnclaveAccessService.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/EnclaveAccessService.java index 52e8ba5adf8..9ce2ae0a6fc 100644 --- a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/EnclaveAccessService.java +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/EnclaveAccessService.java @@ -9,7 +9,10 @@ import java.util.Set; */ public interface EnclaveAccessService { - /** Ensures the given enclave accounts have access to resources they require to function. */ - void allowAccessFor(Set accounts); + /** + * Ensures the given enclave accounts have access to resources they require to function. + * @return the degree to which the run was successful - a number between 0 (no success), to 1 (complete success) + */ + double allowAccessFor(Set accounts); } -- cgit v1.2.3