Michael Lange
902ec3e734
fixup-adapter
2018-08-21 16:43:30 -07:00
Michael Lange
05a3238c37
Support job update in the adapter
2018-08-21 16:39:47 -07:00
Michael Lange
9cab82146c
Show the scheduler dry-run output on the plan page
2018-08-20 16:44:37 -07:00
Michael Lange
e1e3d2c34d
Run job UI and API workflows
2018-08-14 18:26:26 -07:00
Michael Lange
4d656c7a31
Parse and Plan API and UI workflows
2018-08-14 17:29:51 -07:00
Michael Lange
8c1849fafe
Don't put namespace logic in the catch-all buildQuery method
2018-07-05 12:29:29 -07:00
Michael Lange
651ae19d25
Remove unused findAllocations method in both job and node
...
This was replaced with a relationship at some point.
2018-07-05 11:25:38 -07:00
Michael Lange
90a5d3ef03
Remove unused job adapter method
2018-07-05 11:25:38 -07:00
Michael Lange
1078a99948
Refactor the job xhrKey to use super
2018-05-25 09:15:45 -07:00
Michael Lange
15bc387ce2
XHR keys need to include the method as well
...
The URL alone doesn't guarantee uniqueness
2018-05-25 09:13:11 -07:00
Michael Lange
c7639237ba
Add new model action for stopping a job
2018-04-19 14:22:04 -07:00
Michael Lange
ca98d6b0c8
Allow child adapters specify special xhr keys
...
This is necessary for the namespace query param
2018-03-22 20:14:36 -07:00
Michael Lange
553c69cc32
Fix existing tests
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
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
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
abcfda9911
Add ability to force a periodic job launch
2018-02-06 10:53:51 -08:00
Michael Lange
1107798da6
Use the new ember modules imports
...
Generated with a codemode:
https://github.com/ember-cli/ember-modules-codemod
2018-01-17 09:02:04 -08:00
Michael Lange
afcfba0910
Treat namespace and job name as a composite primary key
2017-10-23 17:42:36 -07:00
Michael Lange
8958d1a480
All job requests need to be made with the namespace query param
2017-10-23 17:42:35 -07:00
Michael Lange
2340504da8
Replace simple dropdown namespace switcher with ember-power-select
2017-10-11 13:45:03 -07:00
Michael Lange
ef55cb910f
Make namespace a relationship of job
2017-10-11 13:45:03 -07:00
Michael Lange
b3312ac429
Consider the namespace query param as required for findAll
2017-10-11 13:45:03 -07:00
Michael Lange
0cc2c4267e
Always reload all jobs
...
Ember tries to be clever by showing cached jobs instead of a loading spinner
in the event that a user starts on nodes, loads a couple jobs through
allocation relationships, then visits jobs.
2017-10-03 17:17:45 -07:00
Alex Dadgar
e5ec915ac3
sync
2017-09-19 10:08:23 -05:00