open-nomad/ui/tests
Tim Gross 4e79ddea45
csi/api: populate ReadAllocs/WriteAllocs fields (#9377)
The API is missing values for `ReadAllocs` and `WriteAllocs` fields, resulting
in allocation claims not being populated in the web UI. These fields mirror
the fields in `nomad/structs.CSIVolume`. Returning a separate list of stubs
for read and write would be ideal, but this can't be done without either
bloating the API response with repeated full `Allocation` data, or causing a
panic in previous versions of the CLI.

The `nomad/structs` fields are persisted with nil values and are populated
during RPC, so we'll do the same in the HTTP API and populate the `ReadAllocs`
and `WriteAllocs` fields with a map of allocation IDs, but with null
values. The web UI will then create its `ReadAllocations` and
`WriteAllocations` fields by mapping from those IDs to the values in
`Allocations`, instead of flattening the map into a list.
2020-11-25 16:44:06 -05:00
..
acceptance csi/api: populate ReadAllocs/WriteAllocs fields (#9377) 2020-11-25 16:44:06 -05:00
helpers Describe the glimmer-factory better including the motive 2020-10-15 11:45:59 -07:00
integration Fix flaky lifecycle chart tests 2020-11-12 09:16:53 -08:00
pages Revert "Temporarily remove poststop from the UI" 2020-11-12 09:16:52 -08:00
unit csi/api: populate ReadAllocs/WriteAllocs fields (#9377) 2020-11-25 16:44:06 -05: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 Migrate page objects away from jQuery (#7843) 2020-05-06 15:14:12 -05:00