diff options
Diffstat (limited to 'yarns/700-artifact-store.yarn')
-rw-r--r-- | yarns/700-artifact-store.yarn | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/yarns/700-artifact-store.yarn b/yarns/700-artifact-store.yarn index 2dcea2e..cadc83c 100644 --- a/yarns/700-artifact-store.yarn +++ b/yarns/700-artifact-store.yarn @@ -1,6 +1,6 @@ <!-- -Copyright 2017-2018 Lars Wirzenius +Copyright 2017-2019 Lars Wirzenius This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by @@ -27,18 +27,23 @@ simple, in fact, it will certainly change in the future. Set up the artifact store. - GIVEN an RSA key pair for token signing - AND artifact store config uses blobs at the blob directory - AND an access token for user with scopes + GIVEN an access token for user with scopes + ... uapi_blobs_id_delete ... uapi_blobs_id_put ... uapi_blobs_id_get - AND a running artifact store + AND a running ick controller + +<!-- + +FIXME: This is disabled, until the artifact store supports deletion. Try to get a non-existent blob. It should result in an error. WHEN user retrieves /blobs/cake from artifact store THEN result has status code 404 +--> + Create and store a blob, retrieve it and verify we get it back intack. WHEN user creates a blob named cake with random data @@ -49,4 +54,16 @@ Create and store a blob, retrieve it and verify we get it back intack. THEN result has status code 200 AND body is the same as the blob cake - FINALLY stop artifact store +<!-- + +FIXME: This is disabled, until the artifact store supports deletion. + +Delete the cake. + + WHEN user deletes /blob/cake from artifact store + WHEN user retrieves /blobs/cake from artifact store + THEN result has status code 404 + +--> + + FINALLY stop ick controller |