Commit Graph

49 Commits

Author SHA1 Message Date
Michael Lange
9b7b465a66 Show the scheduler dry-run output on the plan page 2018-08-20 16:44:37 -07:00
Michael Lange
81255bee16 Add createTime to the allocation model 2018-08-06 10:53:13 -07:00
Michael Lange
087f4a9ebc Test coverage for the expanded feature set of the latest-deployment component 2018-07-30 15:31:31 -07:00
Michael Lange
cf55d225e2 Correctly model the latestDeployment relationship and the inverse 2018-07-30 15:24:31 -07:00
Michael Lange
2cb0777489 Get the latest deployment for a job by using the appropriate API 2018-07-30 15:24:31 -07:00
Michael Lange
90ea4f0f21 Update all the awkward browserify imports to plain ol' es6 imports 2018-07-06 13:38:57 -07:00
Michael Lange
8f811d5046 Remove hacky code that worked around an Ember Data bug
The bug is fixed in 2.18, so this can be written in the normal
less surprising way.
2018-06-13 15:05:18 -07:00
Michael Lange
d649f6245f Display node drain strategy information on the client detail page 2018-05-30 11:27:21 -07:00
Michael Lange
6b63576c15 Data modeling for node drain and scheduling eligibility 2018-05-30 11:27:20 -07:00
Michael Lange
d178825484 Merge pull request #4294 from hashicorp/f-ui-driver-health-checking
UI: Driver health checking
2018-05-25 12:00:11 -07:00
Michael Lange
bc6467c6ae Data modeling for node events and node drivers 2018-05-25 10:15:22 -07:00
Michael Lange
a7eca16864 Remove stale dev code
This was used to get around direct requests to clients. The UI will
now automatically route through the server.
2018-05-25 10:14:36 -07:00
Michael Lange
1f83916058 Remodel task-group-deployment-summary to property use PlacedCanaries 2018-05-23 13:12:52 -07:00
Michael Lange
52c5806819 Add WaitUntil and followUpEvaluation 2018-05-04 19:36:54 -07:00
Michael Lange
8d18997b1c Add follow up eval relationship to allocation 2018-05-04 19:36:54 -07:00
Michael Lange
901ba35ac5 Add shortId properties to reschedule events model 2018-05-04 19:36:54 -07:00
Michael Lange
0344715ece Modeling alloc reschedule events 2018-05-04 19:36:54 -07:00
Michael Lange
1f08445aec Repeat the relationship unlinking pattern in the serializer
It also culls for findAll requests, so it too needs to be
careful about leaving garbage around.
2018-04-06 18:07:57 -07:00
Michael Lange
5ab5a1cbb1 Make the job<->job-summary relationship reflective
The job summary needed a JobID
2018-03-28 14:56:15 -07:00
Michael Lange
4361043718 Read the task event message from the DisplayMessage prop 2018-03-28 12:52:02 -07:00
Michael Lange
a6e2f782b7 Treat job-summary like a typical relationship rather than a custom link
This way ED doesn't eagerly fetch the job summary even when it's already
in the store due to the jobs list endpoint
2018-03-20 16:41:18 -07:00
Michael Lange
415c6a0d3c Use the job-summary information available from the jobs list 2018-03-15 10:28:34 -07:00
Michael Lange
88df7fe537 Fix preexisting bugs that only surfaced once live updating started 2018-03-05 09:32:03 -08:00
Michael Lange
3c2a1f8a4a Fix existing tests 2018-03-02 16:21:36 -08:00
Michael Lange
60ee8714c1 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
ed809fe27e Track xhrs in the watchable adapter and expose cancellation methods 2018-03-02 16:21:36 -08:00
Michael Lange
5e4491ca2c 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
18782dd07b 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
a47835f34f Handle the difference between parameterized on single and list responses 2018-02-05 20:13:58 -08:00
Michael Lange
37c39a9a05 Filter child jobs out of the root jobs list 2018-02-05 20:13:58 -08:00
Michael Lange
2e19c2d877 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
e982951f98 Use ModifyTime instead of ModifyIndex 2017-12-06 10:17:12 -08:00
Michael Lange
0af56f3af4 Associate jobs, task groups, and evaluations 2017-11-29 20:12:12 -08:00
Michael Lange
c72cb2ee4f Models evaluation data 2017-11-29 20:12:12 -08:00
Michael Lange
ad6307933c Revert "UI Placement failures""
This reverts commits
141ecd8d91
d2d838c2de
8099db4336
86262b3cef
eb4104ec52
0e0e23e238
6d45658d77
b52a8176e8
2017-11-29 20:03:39 -08:00
Michael Lange
d2d838c2de Associate jobs, task groups, and evaluations 2017-11-29 16:30:33 -08:00
Michael Lange
141ecd8d91 Models evaluation data 2017-11-29 16:30:33 -08:00
Michael Lange
c20b9c5a82 Make sure to treat the namespace Name as the ID 2017-10-23 17:42:36 -07:00
Michael Lange
91ed1d5f6d Treat namespace and job name as a composite primary key 2017-10-23 17:42:36 -07:00
Michael Lange
6b5c80a478 Make sure to include the namespace qp on all job related resources 2017-10-23 17:42:35 -07:00
Michael Lange
f8de9ee0b5 Expect JobVersion in one of two places 2017-10-19 10:52:05 -07:00
Michael Lange
1b1dae4366 In dev mode, mask the local node port to 4200
This allows for local development with the client end points for the node
running on localhost.
2017-10-17 10:17:41 -07:00
Michael Lange
a845455141 Use /acl/token/self instead of /acl/token/:accessor_id 2017-10-16 13:27:52 -07:00
Michael Lange
3587d4feb2 Data modeling for tokens and policies 2017-10-16 13:27:51 -07:00
Michael Lange
b8ed3f5664 Handle the case where hash.Members is undefined 2017-10-12 17:40:04 -07:00
Michael Lange
48cb99c6eb Make namespace a relationship of job 2017-10-11 13:45:03 -07:00
Michael Lange
1ddb2b7889 Fixes issue regarding allocation rows
Sometimes the job name and/or task group name wouldn't show up.
2017-10-05 18:01:19 -07:00
Michael Lange
ae6658dd94 Handle 404s for agents 2017-10-05 14:39:37 -07:00
Alex Dadgar
ddc2efa4ac sync 2017-09-19 10:08:23 -05:00