Michael Lange
7e5cfa216e
Use the correct Message property instead of Reason in scale POST request
...
Also use a more informative default message (one that includes the new
count)
2020-07-30 08:43:15 -07:00
Michael Lange
aebc896ff6
New scale action for jobs (and a convenience task group method)
2020-06-18 22:08:27 -07:00
Buck Doyle
97c5a85ee6
Remove stray commented-out line
2020-06-16 08:36:39 -05:00
Buck Doyle
c1cc51a057
Remove superfluous uses of Object.freeze
...
This is no longer needed!
https://guides.emberjs.com/release/upgrading/current-edition/native-classes/#toc_properties-and-fields
2020-06-15 10:15:11 -05:00
Buck Doyle
cd11cd290c
Add manually-converted classes
...
I don’t know why the codemod ignored these files 🧐
2020-06-15 10:14:26 -05:00
Michael Lange
c4e29f8afa
Change URL-generation for job-updating
...
The id-processing in the WatchableNamespaceIds adapter was
happening twice; this removes urlForUpdate record so it
only happens once. @DingoEatingFuzz figured it out! 🥳
2020-06-15 09:51:15 -05:00
Michael Lange
16ed5451d2
Change with-namespace-ids mixin to a base class
...
This is a merge of 5d9fce5.
2020-06-15 09:47:15 -05:00
Buck Doyle
1cca7abcab
Add Ember ESLint plugin ( #8134 )
...
This is extracted from #8094 , where I have run into some snags. Since
these ESLint fixes aren’t actually connected to the Ember 3.16 update
but involve changes to many files, we might as well address them
separately. Where possible I fixed the problems but in cases where
a fix seemed too involved, I added per-line or -file exceptions.
2020-06-09 16:03:28 -05:00
Michael Lange
1bd6a69067
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
Buck Doyle
9a3a6c3f62
UI: Update to Ember 3.8 LTS ( #5968 )
2019-10-08 13:44:19 -05:00
Michael Lange
96a1a5e812
Move addToPath to its own util
2019-05-20 11:52:47 -07:00
Michael Lange
4736803a24
ES5 getters codemod
2019-04-10 14:54:36 -07:00
Michael Lange
715e2ac82a
Simplify the data control flow around job.plan()
2018-08-23 15:40:42 -07:00
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