Commit Graph

94 Commits

Author SHA1 Message Date
Buck Doyle
e6c66354d0 UI: Update to Ember 3.8 LTS (#5968) 2019-10-08 13:44:19 -05:00
Buck Doyle
05fd8a068c UI: Fix Connect proxy tag (#6343)
This fixes a race condition in the pseudo-relationship between a
TaskState and a Task that was causing the Consul Connect proxy tag
to sometimes show on the wrong task. There’s no direct Ember Data-style
relationship between a TaskState and its Task; instead, it’s determined
by searching for a Task with the matching name. The related Task was
sometimes stored before everything was ready and not recalculated when
the name became known. This ensures the relationship is accurate if the
TaskState’s name property changes.
2019-09-19 08:09:49 -05:00
Buck Doyle
97150f9f42 UI: Move kind property to task (#6271)
I put this property in the wrong place. 

I’ve found how to fix the mock API in the tests but
they’re failing to pass with headless Chrome only,
so they’re skipped for now.
2019-09-05 13:14:54 -05:00
Buck Doyle
dfb88cc787 UI: add Consul Connect features (#6108) 2019-09-04 09:39:56 -05:00
Buck Doyle
2364fb2da1 UI: Add creation time to evaluations table (#6050) 2019-08-22 08:11:24 -05:00
Buck Doyle
ee07bab099 UI: Add allocation directory rendering (#5873)
This lets users navigate the allocation filesystem. It doesn’t
support viewing actual files yet.
2019-07-02 16:42:38 -05:00
Michael Lange
69c6c34afa Support task restarting in the allocation adapter 2019-05-21 09:24:17 -07:00
Michael Lange
4038434603 Allocation methods for stopping and restarting 2019-05-21 09:24:16 -07:00
Michael Lange
384a0e5a54 Add wasPreempted bool to allocs 2019-04-22 16:40:02 -07:00
Michael Lange
cf1d4a3a1e Data modeling for preemptions 2019-04-22 16:40:00 -07:00
Michael Lange
f6232f1817 ES5 getters codemod 2019-04-10 14:54:36 -07:00
Michael Lange
cf44c5449c Address test failures 2019-04-10 14:54:35 -07:00
Michael Lange
498f513dc0 Add nodeClass to the node model 2019-04-10 10:34:10 -05:00
Michael Lange
c1c40af236 Task isRunning is based on both the task state and the allocation state 2018-12-13 07:53:17 -08:00
Michael Lange
605d7a245f Model isRunning based on the client status of the allocation 2018-12-13 07:53:17 -08:00
Michael Lange
5801b79b81 Show the correct template for parameterized job children 2018-11-07 21:04:27 -08:00
Michael Lange
4d5fa15ea7 Remove no longer used allocation-stats class 2018-09-26 10:59:26 -07:00
Michael Lange
d824b70cee Merge pull request #4616 from hashicorp/f-ui-promote-canary
UI: Promote canary
2018-08-30 09:48:31 -07:00
Michael Lange
78b9d32eb4 Support the promote deployment api action 2018-08-24 16:41:47 -07:00
Michael Lange
69d28de528 Handle update job in the model 2018-08-21 16:44:31 -07:00
Michael Lange
2d0805c453 Test coverage for scheduler dry-run addition to the plan page 2018-08-20 16:44:37 -07:00
Michael Lange
9b7b465a66 Show the scheduler dry-run output on the plan page 2018-08-20 16:44:37 -07:00
Michael Lange
a5d6790eba Acceptance tests for job run page 2018-08-16 17:22:58 -07:00
Michael Lange
f2128872ce Run job UI and API workflows 2018-08-14 18:26:26 -07:00
Michael Lange
da1e179704 Parse and Plan API and UI workflows 2018-08-14 17:29:51 -07:00
Michael Lange
81255bee16 Add createTime to the allocation model 2018-08-06 10:53:13 -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
73ce773e11 Show the progress deadline for task groups in a running deployment 2018-06-06 17:35: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
bb855b5f21 Add ineligibility to the status light 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
930a6ead53 Tag node events with the driver when available 2018-05-25 11:48:49 -07:00
Michael Lange
c875d1490f Display driver attributes without the superfluous driver and driver name section 2018-05-25 10:15:25 -07:00
Michael Lange
1a55f18085 Spread the driver health love throughout job models 2018-05-25 10:15:23 -07:00
Michael Lange
8fa044a52a Add driver status accordion section to the client detail page 2018-05-25 10:15:23 -07:00
Michael Lange
d2810bbaf4 Show driver summary on the client detail page 2018-05-25 10:15:22 -07:00
Michael Lange
bc6467c6ae Data modeling for node events and node drivers 2018-05-25 10:15:22 -07:00
Michael Lange
1f83916058 Remodel task-group-deployment-summary to property use PlacedCanaries 2018-05-23 13:12:52 -07:00
Michael Lange
5952cafccb Reschedule events timeline for the alloc detail page 2018-05-04 19:36:54 -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
67f2fa1734 Add new model action for stopping a job 2018-04-19 14:22:04 -07:00
Michael Lange
4361043718 Read the task event message from the DisplayMessage prop 2018-03-28 12:52:02 -07:00
Michael Lange
286b3d9671 Refactor the way allocation stats are fetched
No longer treat it as a property for relationship, just ephemeral
data that can be fetched on demand.
2018-03-22 14:34:13 -07:00