Michael Lange
9882614aa5
Test coverage for the deployment adapter action
2020-07-21 09:02:39 -07:00
Michael Lange
4afedbd06a
Add region coverage to node adapter action tests
2020-07-21 09:02:39 -07:00
Michael Lange
4e152a75f5
Test all allocation adapter actions with and without a region
...
This involves a refactor to prevent immense verbosity.
2020-07-21 09:00:21 -07:00
Michael Lange
08bd435052
Test region query param for job adapter actions
2020-07-21 09:00:20 -07:00
Michael Lange
6bfebe2321
Refactor job adapter test to simplify setting up region and namespace state
2020-07-21 09:00:20 -07:00
Michael Lange
e49d4e5a81
Adjust header case, which changed with the migration to fetch
2020-05-21 10:35:40 -07:00
Michael Lange
505510915b
Replace XHRToken with AbortController
2020-05-21 10:35:39 -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
93eaaab77e
New test coverage for the drain capabilities
2020-01-23 16:34:34 -08:00
Michael Lange
4d05f53f1d
cancelDrain adapter method
2020-01-23 16:34:10 -08:00
Michael Lange
0b031f0b27
Update drain methods to properly wrap DrainSpec params
2020-01-23 16:34:09 -08:00
Michael Lange
4ddcd6044e
drain and forceDrain adapter methods
2020-01-23 16:34:09 -08:00
Michael Lange
649be7f599
Implement eligibility toggling in the data layer
2020-01-23 16:34:07 -08:00
Buck Doyle
882a0210fe
UI: Update Ember to 3.12 LTS ( #6419 )
...
This is mostly deprecation fixes and blueprint changes. There
are some dependency updates too; the changes to Ember
Basic Dropdown necessitated changing it to angle bracket
component invocation. The conversion of the rest of the
templates will happen separately.
2019-10-15 13:32:58 -05:00
Michael Lange
be5c88fd4f
Remove errant server logging line
2019-07-31 01:40:39 -07:00
Michael Lange
d33f4bfd49
Acceptance testing for allocation lifecycle
2019-05-21 09:24:19 -07:00
Michael Lange
69c6c34afa
Support task restarting in the allocation adapter
2019-05-21 09:24:17 -07:00
Michael Lange
3c1de2df91
Standardize on Abort over Cancel
2019-05-20 11:08:16 -07:00
Michael Lange
c68962078a
Replace the adapter cancellation methods with a cancellation token system
2019-05-20 10:29:22 -07:00
Michael Lange
4c9a026e55
Rethink the adapter job unit tests to avoid notifyPropertyChange
2019-04-10 14:54:36 -07:00
Michael Lange
cf44c5449c
Address test failures
2019-04-10 14:54:35 -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
31dc139945
Update adapter 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
b5348aacf0
Add missing module dependencies to the node adapter tests
2018-11-09 14:25:32 -08:00
Michael Lange
ae464a01dc
Unit test coverage for adding the region param to requests
2018-08-09 20:27:54 -07:00
Michael Lange
b767a87422
Update tests to handle region switching
2018-08-09 18:22:39 -07:00
Michael Lange
4715696959
Clear up the data flow for namespaces
...
This is incredibly tricky with query params, since there is a bundle of
timing issues, lifecycle issues, missing features, and all around
gotchas with query params.
This solution has no observers and no instances of the system service
being set from the jobs controller.
The upside to this is no observers, much easier to follow logic, no more
dependent key chain reactions.
2018-08-09 18:22:38 -07:00
Michael Lange
7e6f02d0c0
Account for the service:system dependency due to region
2018-08-09 18:22:38 -07:00
Michael Lange
fc0e723d75
A test to assert the bug
2018-07-05 13:49:27 -07:00
Michael Lange
877910208f
Don't put namespace logic in the catch-all buildQuery method
2018-07-05 12:29:29 -07:00
Michael Lange
20bc6e45c5
Merge pull request #4319 from hashicorp/b-ui-errant-acl-error
...
UI: XHR keys need to include the method as well
2018-05-25 12:24:17 -07:00
Michael Lange
37a235c2af
Acceptance tests for node driver and node events
2018-05-25 10:15:24 -07:00
Michael Lange
f160f70f04
Add a test to assert that canceling GETs can't instead cancel DELETEs
2018-05-25 09:13:18 -07:00
Michael Lange
c06e1f80bd
Track multiple xhrs per URL rather than overriding
...
It was possible for a url to be overridden then canceled, leaving the
open connection open and forgotten about.
2018-03-29 14:40:57 -07:00
Michael Lange
44922c9d3a
The initial index value should be 1, not 0
2018-03-21 13:28:56 -07:00
Michael Lange
40977d82f7
Patch tests
2018-03-05 09:32:05 -08:00
Michael Lange
47dad64cab
Add tests for findHasMany store culling
2018-03-02 16:21:37 -08:00
Michael Lange
504ff2d4b7
Tests for watching and canceling requests
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
Michael Lange
969ff79c07
Test coverage for namespaces
2017-10-11 14:06:46 -07:00
Alex Dadgar
ddc2efa4ac
sync
2017-09-19 10:08:23 -05:00