ukaea / piezo

1 stars 0 forks source link

Fix bug when deleting a job #58

Closed robert-clegg-tessella closed 5 years ago

robert-clegg-tessella commented 5 years ago

Requesting that a job be deleted caused a 500 Internal Server Error (regardless of whether the job existed or not). This was caused by a poorly-formatted body provided by the python kubernetes library.

The route is deletejob, e.g. URL http://host-172-16-113-146.nubes.stfc.ac.uk:31924/deletejob

Acceptance criteria

Test Scenarios

vidhyamanojkumar commented 5 years ago

Are there any user access restrictions? Can anyone delete a job?

robert-clegg-tessella commented 5 years ago

@vidhyamanojkumar There is currently no user auth in the system. This is not currently considered a priority, but we have designed the system so that implementing auth would be relatively straightforward in the future.