Commit Graph

25 Commits

Author SHA1 Message Date
Michael Lange
3147d5c649 Sort keys when converting objects to arrays for stable model fragments 2020-09-04 19:44:21 -07:00
Buck Doyle
6f08becdae Add common serialiser abstractions (#8634)
This extracts some common API-idiosyncracy-handling patterns from model serialisers into properties that are processed by the application serialiser:

* arrayNullOverrides converts a null property value to an empty array
* mapToArray converts a map to an array of maps, using the original map keys as Name properties on the array maps
* separateNanos splits nanosecond-containing timestamps into millisecond timestamps and separate nanosecond properties
2020-08-20 12:14:49 -05:00
Michael Lange
59636adace Add embedded task group to allocation to reference when allocation is historical 2020-05-01 14:30:02 -07:00
Michael Lange
f6ed101740 Fix flaky serializer test 2020-04-01 14:54:05 -07:00
Michael Lange
5f2de59773 Guard against a null value for the HostVolumes hash
When a node has no host volumes, the API response will
have a null value for the HostVolumes attribute, which
in turn becomes a null value instead of an empty array
in the store. This protects against that, ensuring host
volumes is always an array.
2020-03-26 09:54:59 -07:00
Michael Lange
508404ccba UI: Support for CSI (#7446)
Closes #7197 #7199

Note: Test coverage is limited to adapter and serializer unit tests. All
acceptance tests have been stubbed and all features have been manually
tested end-to-end.

This represents Phase 1 of #6993 which is the core workflow of CSI in
the UI. It includes a couple new pages for viewing all external volumes
as well as the allocations associated with each. It also updates
existing volume related views on job and allocation pages to handle both
Host Volumes and CSI Volumes.
2020-03-25 07:51:26 -05:00
Michael Lange
4fce8b4a54 Improve the node serializer tests 2020-02-13 17:42:41 -08:00
Michael Lange
5f621e2d68 Data layer for Host Volumes in the UI 2020-02-13 17:11:22 -08:00
Buck Doyle
2364fb2da1 UI: Add creation time to evaluations table (#6050) 2019-08-22 08:11:24 -05:00
Buck Doyle
2152d57df3 UI: Add IPv6 bracket-wrapping to network serializer (#6007)
This addresses the issue raised by @pznamensky in #5966.
2019-07-30 16:58:01 -05:00
Michael Lange
4166a715fb Updated serializer unit tests 2019-04-22 17:20:52 -07:00
Michael Lange
2474ecae4d Remove all andThen and .then usages (except for integration tests)
Since a future ember version does way with the need to manually
making runloop runs, I'm holding off on those tests
2019-04-10 14:54:34 -07:00
Michael Lange
a35fd98a04 Update serializer unit tests to use module instead of custom code 2019-04-10 14:54:32 -07:00
Michael Lange
90278bff04 Ember QUnit Codemod 2019-04-10 14:54:30 -07:00
Michael Lange
8909046f15 Don't use Ember.get in conjunction with dynamic strings in the job-plan serializer 2018-12-13 07:53:37 -08:00
Michael Lange
f2b4fbcbe8 Don't use Ember.get in conjunction with dynamic strings in the allocation serializer 2018-12-13 07:53:37 -08:00
Michael Lange
2a554e3954 Don't use Ember.get in conjunction with dynamic strings in the node serializer 2018-12-13 07:53:37 -08:00
Michael Lange
c3fdeb3fa6 Don't use Ember.get in conjunction with dynamic strings in the deployment serializer 2018-12-13 07:53:37 -08:00
Michael Lange
3a07f68d4f Don't use Ember.get in conjunction with dynamic strings in the job-summary serializer 2018-12-13 07:53:37 -08:00
Michael Lange
7143b3048b Don't use Ember.get in conjunction with dynamic strings in the evaluation serializer 2018-12-13 07:53:37 -08:00
Michael Lange
37a235c2af Acceptance tests for node driver and node events 2018-05-25 10:15:24 -07:00
Michael Lange
7c51270876 Add tests for findAll store culling 2018-03-02 16:21:37 -08:00
Michael Lange
3c2a1f8a4a Fix existing tests 2018-03-02 16:21:36 -08:00
Michael Lange
91ed1d5f6d Treat namespace and job name as a composite primary key 2017-10-23 17:42:36 -07:00
Alex Dadgar
ddc2efa4ac sync 2017-09-19 10:08:23 -05:00