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/600-unauthz.yarn | |
parent | 1c6d50edf9041055f4804a1ba21a4fc5499bb0a9 (diff) | |
download | ick2-1fc41ad97411b435c512ba3a0de63929eda9c33d.tar.gz |
Change: make yarns run against a remote Ick instance, not local
Diffstat (limited to 'yarns/600-unauthz.yarn')
-rw-r--r-- | yarns/600-unauthz.yarn | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/yarns/600-unauthz.yarn b/yarns/600-unauthz.yarn index 1c928ac..ab33404 100644 --- a/yarns/600-unauthz.yarn +++ b/yarns/600-unauthz.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 @@ -26,12 +26,9 @@ returned. Set up the controller. - GIVEN an RSA key pair for token signing - AND controller config uses statedir at the state directory - AND controller config uses https://blobs.example.com as artifact store - AND controller config uses https://auth.example.com as authentication - AND controller config uses https://notify.example.com as notify - AND an access token for user with scopes + GIVEN an access token for user with scopes + ... uapi_projects_get + ... uapi_projects_id_delete ... uapi_projects_post ... uapi_projects_id_status_put ... uapi_projects_id_status_get @@ -88,4 +85,8 @@ Set up the controller. WHEN outsider makes request POST /work with an invalid token and body {} THEN result has status code 401 + WHEN user makes request DELETE /projects/rome + WHEN user makes request GET /projects + THEN body matches {"projects":[]} + FINALLY stop ick controller |