Michael Lange
80c8db559b
Tests for watching and canceling requests
2018-03-02 16:21:37 -08:00
Michael Lange
553c69cc32
Fix existing tests
2018-03-02 16:21:36 -08:00
Michael Lange
2634b36044
Generalized solution for removing records in the local store
...
When the findAll response from the server no longer has them.
2018-03-02 16:21:36 -08:00
Michael Lange
1ab5b8b3e4
Cancel watch tasks when appropriate
2018-03-02 16:21:36 -08:00
Michael Lange
962c763aa6
Watch properties cancel long poll requests
2018-03-02 16:21:36 -08:00
Michael Lange
01a83b5bee
Track xhrs in the watchable adapter and expose cancellation methods
2018-03-02 16:21:36 -08:00
Michael Lange
d5424fec57
Remove stale records from the store for findHasMany requests
2018-03-02 16:21:35 -08:00
Michael Lange
5a21a5ddbf
Watch for summary changes in job-row
2018-03-02 16:21:35 -08:00
Michael Lange
1f7f78823e
Watch all records on the jobs list page
2018-03-02 16:21:35 -08:00
Michael Lange
34872543f9
Remove records from the store when they are no longer in array responses
...
Ember Data doesn't do this by default, instead opting to be as
non-destructive as possible. However, this is desired behavior.
2018-03-02 16:21:35 -08:00
Michael Lange
5f10940c92
Blocking query support for findAll requests
2018-03-02 16:21:35 -08:00
Michael Lange
87e32af4ea
Make the throttle time configurable
2018-03-02 16:21:35 -08:00
Michael Lange
6b1fab696e
Add a watchAll computed property macro
2018-03-02 16:21:34 -08:00
Michael Lange
d51da0fa62
Fix distribution-bar bugs found with live data
...
- Key data using datum label
(when something goes from number, to zero, to number again)
- Retain active and inactive classes across data updates
2018-03-02 16:21:34 -08:00
Michael Lange
8566a8cd25
Move watch tasks into a utils file
2018-03-02 16:21:34 -08:00
Michael Lange
55f90cf7f7
Prototype watching resources
...
- Service to manage X-Nomad-Index values
- Adapter method for reloading relationships with additional params
- Pattern for watching models and model relationships using EC
2018-03-02 16:21:34 -08:00
Michael Lange
bace0fedef
Re-render chart whenever data changes
2018-03-02 16:21:13 -08:00
Michael Lange
e7796ccaee
Refactor job summary to a relationship
...
Now that blocking queries are going to be in play, We can no longer
pretend the two requests are one, since they have independent nomad
indices.
2018-03-02 16:21:13 -08:00
Michael Lange
2563e04a6d
Inject system so namespace shows up on job detail components
2018-02-06 10:53:53 -08:00
Michael Lange
9f9597c50c
Integration test for periodic job force launch
2018-02-06 10:53:53 -08:00
Michael Lange
f864fb3f2a
Tests for the summary job page part
2018-02-06 10:53:53 -08:00
Michael Lange
3d9ed6e57e
Integration tests for the body job part
2018-02-06 10:53:52 -08:00
Michael Lange
40c8149520
Trim the parent job prefix off the child job names when displaying them
2018-02-06 10:53:52 -08:00
Michael Lange
1f5e9998e9
State periodic or parameterized as the job type when applicable
2018-02-06 10:53:52 -08:00
Michael Lange
64b99276ca
Clean up force launch button
2018-02-06 10:53:51 -08:00
Michael Lange
09eeb49786
Differentiate between no search matches and no allocs on task group page
2018-02-06 10:53:51 -08:00
Michael Lange
abcfda9911
Add ability to force a periodic job launch
2018-02-06 10:53:51 -08:00
Michael Lange
732c61baf9
For now, the system job is identical to the service job
2018-02-06 10:53:51 -08:00
Michael Lange
a820ea7b13
Payload details for the parameterized child job detail page
2018-02-06 10:53:51 -08:00
Michael Lange
aa1b9674e8
Elastic mode for cli window component
2018-02-06 10:53:51 -08:00
Michael Lange
89a19fbe38
Breadcrumbs for the periodic child job page
2018-02-06 10:53:50 -08:00
Michael Lange
4f8a59a56c
Bring payload in from the job api response
2018-02-06 10:53:50 -08:00
Michael Lange
0d4a245f7c
Paginated and sortable table for job launches/children jobs
2018-02-06 10:53:50 -08:00
Michael Lange
995d07efc2
New job page components for parent jobs and batch jobs
2018-02-06 10:53:50 -08:00
Michael Lange
0e173f5da5
Fleshing out job page parts and differences
2018-02-06 10:53:50 -08:00
Michael Lange
6492611e39
Recreate the service job detail page using job part components
2018-02-06 10:53:50 -08:00
Michael Lange
25d9004d3a
Deconstruct the existing job detail page into common parts
...
This is to later compose job detail page variations
2018-02-06 10:53:49 -08:00
Michael Lange
1845ccd456
Handle the difference between parameterized on single and list responses
2018-02-05 20:13:58 -08:00
Michael Lange
a4deea08af
Computed a template type for a job
...
This is a composite of scheduler type, batch variations, and children v.
template
2018-02-05 20:13:58 -08:00
Michael Lange
67cee01f11
Use the children summary instead of alloc summary when applicable
2018-02-05 20:13:58 -08:00
Michael Lange
d8bd9dec77
Specialized children-status-bar variant of the allocation-status-bar
2018-02-05 20:13:58 -08:00
Michael Lange
c3fe28219b
Model the parent/child relationship in jobs
2018-02-05 20:13:58 -08:00
Michael Lange
633c9599dc
Filter child jobs out of the root jobs list
2018-02-05 20:13:58 -08:00
Michael Lange
b5c7c5f3ce
Merge pull request #3777 from johncowen/f-ui-api-task-events-messages
...
UI: Make task-events use the `message` from the API rather than hardcoded
2018-02-05 18:36:41 -08:00
John Cowen
98bd72a44e
Remove vaultError
, failedSibling
and messagePassthru
...
1. `vaultError` and `failedSibling` are safe to remove see
https://github.com/hashicorp/nomad/blob/64e9cf9/nomad/structs/structs.go#L3979-L3986
2018-01-26 13:37:20 +00:00
John Cowen
c7c465fb78
Make task-events use the message
from the API rather than hardcoded
...
The api has changed to send through a message for task-events. Use that
instead of rendering a message from within js dependent on the task
event type
2018-01-19 15:38:57 +00:00
John Cowen
abaae90be7
Address PR feedback
...
1. Extra whitespace
2. Remove redundant code
3. Remove redundant markup from test
4. placement-failure should be used as an inline component
5. Prefer `assign` polyfill
6. Use new `@ember' org style imports
2018-01-19 13:59:19 +00:00
John Cowen
56890fbc6b
Add more assertions for basic message checking
2018-01-19 13:59:19 +00:00
John Cowen
9b0715ac44
Add in data-test attrs to hook into, decide on test case granularity
2018-01-19 13:59:19 +00:00
John Cowen
1f9a2064c6
Move cleanWhitespace to utils, readd data-test attribute for PF's
...
1. cleanWhitespace > /test/utils/clean-whitespace.js
2. Missd the data-test attribute for placement failures in previous
conflict
2018-01-19 13:59:19 +00:00