open-nomad/ui/app/models
Buck Doyle 543fb24764
Fix allocation count in CSI volumes table (#9515)
This closes #9495. As detailed in there, the collection query GET
/v1/volumes?type=csi doesn’t return ReadAllocs and WriteAllocs, so the #
Allocs cell was always showing 0 upon first load because it was derived
from the lengths of those arrays. This uses the heretofore-ignored
CurrentReaders and CurrentWriters values to calculate the total instead.

The single-resource query GET /v1/volume/csi%2F:id doesn’t return
CurrentReaders and CurrentWriters that absence doesn’t override the
stored values when visiting an individual item.

Thanks to @apollo13 for reporting this and to @tgross for the API logs
and suggestion.
2020-12-07 08:51:41 -06:00
..
.gitkeep sync 2017-09-19 10:08:23 -05:00
agent.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
allocation.js Limit the topo viz to only pending and running allocs 2020-10-23 14:17:03 -07:00
consul-connect.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
deployment.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
drain-strategy.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
evaluation.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
group-scaling.js Model the scaling properties of a task group as a fragment 2020-06-18 22:08:26 -07:00
host-volume.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
job-plan.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
job-scale.js Data modeling for job scale and scale events 2020-07-29 19:07:24 -07:00
job-summary.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
job-version.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
job.js Add DAS UI code from enterprise (#9192) 2020-10-29 07:46:42 -05:00
lifecycle.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
namespace.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
network.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
node-attributes.js Add fixes for ESLint getter-return 2020-06-10 16:18:56 -05:00
node-driver.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
node-event.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
node.js Add linting for classic decorator (#8182) 2020-06-22 10:48:53 -05:00
placement-failure.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
plugin.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
policy.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
port.js Update UI to use new allocated ports fields (#8631) 2020-08-20 11:07:13 -04:00
recommendation-summary.js Add summary-filtering field 2020-11-09 09:28:40 -06:00
recommendation.js Add DAS UI code from enterprise (#9192) 2020-10-29 07:46:42 -05:00
reschedule-event.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
resources.js Update UI to use new allocated ports fields (#8631) 2020-08-20 11:07:13 -04:00
scale-event.js Compare scale events by their UID instead of reference equality 2020-08-05 12:02:23 -07:00
service.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
sidecar-proxy-upstream.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
sidecar-proxy.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
sidecar-service.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
storage-controller.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
storage-node.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
task-event.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
task-group-deployment-summary.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
task-group-scale.js Finish modeling behaviors within job scale events 2020-07-29 19:07:24 -07:00
task-group-summary.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
task-group.js Use the correct Message property instead of Reason in scale POST request 2020-07-30 08:43:15 -07:00
task-state.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
task.js Add poststart and poststop lifecycle phases 2020-08-26 09:55:42 -05:00
token.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
volume-definition.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
volume-mount.js Add massaged results of class codemod 2020-06-10 16:18:42 -05:00
volume.js Fix allocation count in CSI volumes table (#9515) 2020-12-07 08:51:41 -06:00