Commit Graph

31 Commits

Author SHA1 Message Date
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