Michael Lange
75124fdc9e
Use the job name as the job id
...
This has bit me more than once. It's best just to make Mirage consistent
with the API even if it currently means indeterminate job ids
2018-08-15 17:00:08 -07:00
Michael Lange
2239e3c8d7
Support parse, plan, and run endpoints in mirage
2018-08-15 16:59:42 -07:00
Michael Lange
104e5196a6
Acceptance tests for the region switcher
2018-08-10 12:52:05 -07:00
Michael Lange
94d321ef4f
Properly model regions in Mirage
2018-08-09 19:57:21 -07:00
Michael Lange
ebd5123b77
Bare minimum Mirage support for regions
2018-08-09 18:22:37 -07:00
Michael Lange
578403b193
Add createTime to the allocation model
2018-08-06 10:53:13 -07:00
Michael Lange
dad24eef86
Test coverage for the expanded feature set of the latest-deployment component
2018-07-30 15:31:31 -07:00
Michael Lange
60a4e3de7a
Support the /job/:id/deployment endpoint in mirage
2018-07-30 15:24:31 -07:00
Michael Lange
ab54583878
Use the JobID as the Version ID for mirage job versions
2018-07-27 16:32:43 -07:00
Michael Lange
22f5bedd58
Codify common mirage scenarios and make it easy to switch between
2018-07-10 10:06:11 -07:00
Michael Lange
686061cc9a
Acceptance test for jobs from different namespaces on a single client
2018-07-06 10:50:22 -07:00
Michael Lange
b9d590349e
Dasherize task names in factory
...
This is to avoid test failures due to url encoding mismatches
2018-06-13 15:04:31 -07:00
Michael Lange
37a8fb2af2
Add new property to factory
2018-06-06 17:34:50 -07:00
Michael Lange
5eac0a53f6
New traits for node states
2018-05-30 11:27:21 -07:00
Michael Lange
65edf31ec9
Acceptance testing for node drain information
2018-05-30 11:27:21 -07:00
Michael Lange
65d696f038
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
8b09108f9c
Display driver attributes without the superfluous driver and driver name section
2018-05-25 10:15:25 -07:00
Michael Lange
3f781743e4
NodeEvent and NodeDriver modeling in Mirage
2018-05-25 10:15:24 -07:00
Michael Lange
861690482f
Remodel task-group-deployment-summary to property use PlacedCanaries
2018-05-23 13:12:52 -07:00
Michael Lange
feec8aa5e7
Integration tests for the various reschedule events timeline permutations
2018-05-04 19:36:55 -07:00
Michael Lange
d6d7a90c99
Acceptance tests for allocation rescheduling
2018-05-04 19:36:54 -07:00
Michael Lange
d59802aa6e
Mirage modeling for rescheduling
2018-05-04 19:36:54 -07:00
Michael Lange
0c1c66776b
Merge pull request #4195 from hashicorp/b-ui-retry-stats-requests
...
UI: Retry stats requests
2018-04-24 14:13:34 -07:00
Michael Lange
71ca73c19b
Test coverage for alloc stats retrying
2018-04-20 18:11:32 -07:00
Michael Lange
d7daf86067
Move resource generation helper to a common place
2018-04-20 18:10:41 -07:00
Michael Lange
82ca110cd0
New tests for stop job action
2018-04-19 14:22:04 -07:00
Michael Lange
1f300eb4fb
Make sure jobs and task groups have no spaces
...
Faker hacker nouns can sometimes be two words.
2018-04-17 10:28:58 -07:00
Michael Lange
84141e9d1f
Read the task event message from the DisplayMessage prop
2018-03-28 12:52:02 -07:00
Michael Lange
fc5c4ff093
The initial index value should be 1, not 0
2018-03-21 13:28:56 -07:00
Michael Lange
7768e14380
Correctly wire up job relationships
2018-03-13 16:34:01 -07:00
Josh Soref
026f885087
spelling: rolling
2018-03-11 18:52:29 +00:00
Josh Soref
4708460e8f
spelling: appropriate
2018-03-11 17:39:47 +00:00
Michael Lange
23e7a7924f
Only show the placement failures section if there is a blocked eval
2018-03-08 14:14:55 -08:00
Michael Lange
29f1d9948e
Merge pull request #3936 from hashicorp/f-ui-polling
...
UI: Live updating views
2018-03-08 13:27:02 -08:00
Michael Lange
145b153889
Wire up the job summary
2018-03-08 10:40:31 -08:00
Michael Lange
4b581dc04d
Address headers and ID bugs
2018-03-02 16:28:39 -08:00
Michael Lange
788d410d6b
Watchable request helper for Mirage
2018-03-02 16:21:37 -08:00
Michael Lange
553c69cc32
Fix existing tests
2018-03-02 16:21:36 -08:00
Michael Lange
a18771278f
Merge pull request #3908 from hashicorp/f-ui-route-client-requests-through-server
...
UI: Take advantage of client request tunneling
2018-03-02 15:58:27 -08:00
Michael Lange
470b8131bd
Get client stats through the server agent
2018-02-26 12:23:47 -08:00
Michael Lange
2fcd9b3cb6
Refactor node meta table
...
- Use existing serializer and components
- Add acceptance test
- Add empty state
2018-02-06 18:56:49 -08:00
Michael Lange
9f9597c50c
Integration test for periodic job force launch
2018-02-06 10:53:53 -08:00
Michael Lange
d932c79b24
Job part children tests
2018-02-06 10:53:52 -08:00
Michael Lange
d8aafcfc7c
Update job factory to use traits for specifying job type
2018-02-06 10:53:52 -08:00
John Cowen
98bd72a44e
Remove vaultError
, failedSibling
and messagePassthru
...
1. `vaultError` and `failedSibling` are safe to remove see
https://github.com/hashicorp/nomad/blob/64e9cf9/nomad/structs/structs.go#L3979-L3986
2018-01-26 13:37:20 +00:00
Michael Schurter
9fcda9c5aa
Make example service name make sense
...
Switch from global-redis-check for the example job's service name to
redis-cache. The former name is really confusing and someone finally
called us out on it:
https://groups.google.com/d/msg/nomad-tool/3RTh6CyYkWk/vEe_Sj7lAAAJ
Also specifically mention that the `service.name` parameter is what is
advertised in Consul.
2018-01-17 14:08:30 -08:00
Michael Lange
c408b4ecc4
Run prettier on all files
...
Since prettier updated, some files have out of date formatting.
2018-01-17 09:04:00 -08:00
Michael Lange
eb91e88038
Upgrade Ember CLI Mirage to 0.4.1
2018-01-17 09:02:04 -08:00
Michael Lange
54cb23c577
Use ModifyTime instead of ModifyIndex
2017-12-06 10:17:12 -08:00
Michael Lange
956e967ffd
Acceptance tests for evaluations
2017-11-29 20:12:45 -08:00
Michael Lange
f3acc8bd6d
Fixes an off by one bug in the ipv6 generator function
...
Sigh.
2017-11-29 20:12:13 -08:00
Michael Lange
d663f7ea70
Mirage magic for evaluations
2017-11-29 20:12:13 -08:00
Michael Lange
f747cc79e4
Revert "UI Placement failures""
...
This reverts commits
141ecd8d9170f56c8302b5c776532e6d287a40e3
d2d838c2de08aac716a9431d9720b5c12bb19ba1
8099db433641429816e8479c6d23116269f744c0
86262b3ceff607627a9c9e0e25eb81b9b5ee739c
eb4104ec528982e0ee6ae9a05fb0460e53139f3f
0e0e23e238017815bdb6dcfbc056275b3deaacca
6d45658d77fb4c40760a63cced71b74757356e48
b52a8176e85b9c6f13ec012f7fce2ec3df1c8751
2017-11-29 20:03:39 -08:00
Michael Lange
961926880a
Acceptance tests for evaluations
2017-11-29 19:46:28 -08:00
Michael Lange
84c9fb20f3
Fixes an off by one bug in the ipv6 generator function
...
Sigh.
2017-11-29 19:46:27 -08:00
Michael Lange
2ed76e50e3
Mirage magic for evaluations
2017-11-29 16:30:33 -08:00
Michael Lange
bf082d4fcd
Fixes intermittent test failures
2017-11-21 11:22:42 -08:00
Michael Lange
061de462c6
Integration tests for the task-log component
2017-11-21 11:22:42 -08:00
Michael Lange
1e1a697841
Acceptance tests for task logs
2017-11-21 11:22:42 -08:00
Michael Lange
95ee30cc31
Crude log mocking
...
This will need to get better for testing the offset stitching
logic in the polling case.
2017-11-21 11:22:42 -08:00
Michael Lange
71bc408f6c
Remold the allocation detail and task detail pages
...
Now that there is a task detail page, some of the content from
the allocation detail page is better suited there.
2017-11-14 11:08:51 -08:00
Michael Lange
7abf621441
On namespace change on a job detail page, redirect to /jobs
...
And reload jobs for the new namespace.
2017-10-23 17:42:36 -07:00
Michael Lange
39e917f654
Update job factories and mock endpoints to handle namespaces correctly
2017-10-23 17:42:36 -07:00
Michael Lange
8c6c54ff07
Add job version to allocation tables
2017-10-18 12:29:33 -07:00
Michael Lange
77cf33472f
Make ModifyIndex the default sort property for alloc tables
2017-10-18 11:45:02 -07:00
Michael Lange
e9579b0977
Make sure token policy ids are unique
...
When they aren't unique, length checks will fail
2017-10-16 13:27:52 -07:00
Michael Lange
85f66ffa94
Use /acl/token/self instead of /acl/token/:accessor_id
2017-10-16 13:27:52 -07:00
Michael Lange
21a9d9c4e5
Mirage factories for tokens and policies
2017-10-16 13:27:51 -07:00
Michael Lange
5c1d103253
Sync the active namespace as a query param on the jobs list page
2017-10-11 14:06:46 -07:00
Michael Lange
61b988fbb8
Gracefully handle the 501 case
...
Enterprise endpoints return a 501 in the open source build. 5xx
errors throw by default, so handle this one since it's expected
for things such as namespaces.
2017-10-11 14:06:46 -07:00
Michael Lange
2340504da8
Replace simple dropdown namespace switcher with ember-power-select
2017-10-11 13:45:03 -07:00
Michael Lange
bf8d9f05b1
Mock namespaces in mirage
2017-10-11 13:45:03 -07:00
Michael Lange
4481e04d43
New namespaces model
2017-10-11 13:45:03 -07:00
Alex Dadgar
e5ec915ac3
sync
2017-09-19 10:08:23 -05:00