diff options
author | Lars Wirzenius <liw@exolobe1> | 2018-05-13 15:30:23 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-05-17 21:44:59 +0300 |
commit | b11d31ef23c5dfee6bfa54afbec47fc8b8bab7b1 (patch) | |
tree | 2e6b085f8fb023d53c8ac20a97aef2c7d1c11d4b /yarns/600-unauthz.yarn | |
parent | 531dd2c50bfdfcf50bb37f57cf9fc2b69787adcf (diff) | |
download | ick2-b11d31ef23c5dfee6bfa54afbec47fc8b8bab7b1.tar.gz |
Change: how controller stores persistent data
Replace old State class with new FilePersistentState and
TransactionalState classes. Use new Resource class instead of raw
dicts. Use context managers for creating, updating resources, to avoid
mistakes from accidentally not saving changes.
Overall persistence should now be rather simpler. This should open up
a possibility for changing the controller to insert more actions into
the build graph, to trigger notifcations via the workers.
Diffstat (limited to 'yarns/600-unauthz.yarn')
-rw-r--r-- | yarns/600-unauthz.yarn | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/yarns/600-unauthz.yarn b/yarns/600-unauthz.yarn index 55cac30..c656f0e 100644 --- a/yarns/600-unauthz.yarn +++ b/yarns/600-unauthz.yarn @@ -62,11 +62,6 @@ Set up the controller. ... with an invalid token and body {} THEN result has status code 401 - WHEN outsider makes request - ... GET /projects/rome/status - ... with an invalid token - THEN result has status code 401 - WHEN outsider makes request GET /builds with an invalid token THEN result has status code 401 @@ -75,10 +70,6 @@ Set up the controller. THEN result has status code 401 WHEN outsider makes request - ... PUT /projects/rome/status with an invalid token - THEN result has status code 401 - - WHEN outsider makes request ... GET /work with an invalid token THEN result has status code 401 |