open-nomad/ui/app/adapters
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
..
agent.js
allocation.js api: return 404 for alloc FS list/stat endpoints (#11482) 2021-11-17 11:15:07 -05:00
application.js Update Ember/Ember CLI to 3.20 (#9641) 2021-02-17 15:01:44 -06:00
deployment.js
job-scale.js
job-summary.js
job-version.js Add job version revert buttons (#10336) 2021-04-20 08:33:16 -05:00
job.js ui: add parameterized dispatch interface (#10675) 2021-07-20 18:27:41 -04:00
namespace.js ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
node.js
plugin.js
policy.js
recommendation-summary.js
token.js Add exchange of one-time token on UI load (#10066) 2021-04-01 13:21:30 -05:00
volume.js
watchable-namespace-ids.js ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00
watchable.js ui: Update namespaces design (#10444) 2021-04-29 15:00:59 -05:00