open-nomad/ui/tests
Tim Gross e729133134
api: return 404 for alloc FS list/stat endpoints (#11482)
* api: return 404 for alloc FS list/stat endpoints

If the alloc filesystem doesn't have a file requested by the List
Files or Stat File API, we currently return a HTTP 500 error with the
expected "file not found" error message. Return a HTTP 404 error
instead.

* update FS Handler

Previously the FS handler would interpret a 500 status as a 404
in the adapter layer by checking if the response body contained
the text  or is the response status
was 500 and then throw an error code for 404.

Co-authored-by: Jai Bhagat <jaybhagat841@gmail.com>
2021-11-17 11:15:07 -05:00
..
acceptance api: return 404 for alloc FS list/stat endpoints (#11482) 2021-11-17 11:15:07 -05:00
helpers System Batch UI, Client Status Bar Chart and Client Tab page view (#11078) 2021-10-07 17:11:38 -04:00
integration ui: fix tests broken by d3-format upgrade 2021-11-05 18:09:13 -04:00
pages ui: persist node drain settings (#11368) 2021-10-22 10:51:31 -04:00
unit ui: create tooltip component (#11363) 2021-10-21 13:12:33 -04:00
utils Temporary helpers for ember-power-select 2020-06-16 10:23:36 -07:00
.eslintrc.js Add component accessibility auditing and fixes (#8679) 2020-08-25 10:56:02 -05:00
index.html Update the test index.html file 2019-04-10 14:54:32 -07:00
test-helper.js Update Ember/Ember CLI to 3.20 (#9641) 2021-02-17 15:01:44 -06:00