diff options
author | Lars Wirzenius <liw@liw.fi> | 2019-06-28 08:00:28 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2019-07-05 20:59:10 +0300 |
commit | 1fc41ad97411b435c512ba3a0de63929eda9c33d (patch) | |
tree | 753b342e70c5ac2bf64eb619e95f815d47588e0b /yarns/700-artifact-store.yarn | |
parent | 1c6d50edf9041055f4804a1ba21a4fc5499bb0a9 (diff) | |
download | ick2-1fc41ad97411b435c512ba3a0de63929eda9c33d.tar.gz |
Change: make yarns run against a remote Ick instance, not local
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 |