Commit Graph

103 Commits

Author SHA1 Message Date
Michael Lange
5f9f928735 Defer showing alloc addresses until the node is loaded
The URLs for addresses are meaningless until the node http addr
is available.
2018-04-10 09:31:35 -07:00
Michael Lange
c06e1f80bd Track multiple xhrs per URL rather than overriding
It was possible for a url to be overridden then canceled, leaving the
open connection open and forgotten about.
2018-03-29 14:40:57 -07:00
Michael Lange
4361043718 Read the task event message from the DisplayMessage prop 2018-03-28 12:52:02 -07:00
Michael Lange
4be04510c5 Merge pull request #4017 from hashicorp/b-ui-error-message-for-force
Show an error message when forcing a periodic launch is forbidden
2018-03-22 11:17:14 -07:00
Michael Lange
44922c9d3a The initial index value should be 1, not 0 2018-03-21 13:28:56 -07:00
Michael Lange
d53af6d037 Show an error message when forcing a periodic launch is forbidden
This will happen when ACLs allow for reading jobs but not submitting.
2018-03-21 12:12:17 -07:00
Michael Lange
7ac2b8ebd6 Update tests to reflect new breadcrumbs 2018-03-13 16:36:26 -07:00
Michael Schurter
8da7335c16 non-Existent -> nonexistent
Reverting from #3963

https://www.merriam-webster.com/dictionary/existent
2018-03-12 11:59:33 -07:00
Josh Soref
ac40c42533 spelling: existent 2018-03-11 18:30:37 +00:00
Josh Soref
399bc6d413 spelling: exhausted 2018-03-11 18:05:21 +00:00
Josh Soref
9d996f385e spelling: details 2018-03-11 17:54:56 +00:00
Josh Soref
7872dca777 spelling: breadcrumb 2018-03-11 17:44:27 +00:00
Michael Lange
220790f3fa Merge pull request #3936 from hashicorp/f-ui-polling
UI: Live updating views
2018-03-08 13:27:02 -08:00
Michael Lange
40977d82f7 Patch tests 2018-03-05 09:32:05 -08:00
Michael Lange
47dad64cab Add tests for findHasMany store culling 2018-03-02 16:21:37 -08:00
Michael Lange
7c51270876 Add tests for findAll store culling 2018-03-02 16:21:37 -08:00
Michael Lange
504ff2d4b7 Tests for watching and canceling requests 2018-03-02 16:21:37 -08:00
Michael Lange
3c2a1f8a4a Fix existing tests 2018-03-02 16:21:36 -08:00
Michael Lange
054bb87eaf 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
f61f2f78a5 In the event the server also times out, show an error message 2018-02-27 13:38:31 -08:00
Michael Lange
8616fbe4ce Cleanup following review 2018-02-26 16:35:41 -08:00
Michael Lange
5346f653a5 Fallback to using the nomad server for log streaming
Only when the client isn't accessible
2018-02-26 12:23:47 -08:00
Michael Lange
39f9914733 Get client stats through the server agent 2018-02-26 12:23:47 -08:00
Michael Lange
1283b1c908 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
9e606f389c Always shutdown the mirage server 2018-02-06 10:53:53 -08:00
Michael Lange
de27385801 Inject system so namespace shows up on job detail components 2018-02-06 10:53:53 -08:00
Michael Lange
b7f57ec3b6 Integration test for periodic job force launch 2018-02-06 10:53:53 -08:00
Michael Lange
6e3086438c New module-for-job for acceptance testing job detail differences 2018-02-06 10:53:53 -08:00
Michael Lange
1671786e35 Tests for the task groups job page part 2018-02-06 10:53:53 -08:00
Michael Lange
82de00720e Tests for the summary job page part 2018-02-06 10:53:53 -08:00
Michael Lange
3ca0d64e0c Tests for the placement failures job part 2018-02-06 10:53:53 -08:00
Michael Lange
80c2acd218 Running deployment job page part tests 2018-02-06 10:53:52 -08:00
Michael Lange
88f1349276 Job part evaluations test 2018-02-06 10:53:52 -08:00
Michael Lange
e8606f7cc6 Job part children tests 2018-02-06 10:53:52 -08:00
Michael Lange
3907f39c9a Integration tests for the body job part 2018-02-06 10:53:52 -08:00
Michael Lange
d264c43eae State periodic or parameterized as the job type when applicable 2018-02-06 10:53:52 -08:00
Michael Lange
c4d8ebeb4f Merge pull request #3777 from johncowen/f-ui-api-task-events-messages
UI: Make task-events use the `message` from the API rather than hardcoded
2018-02-05 18:36:41 -08:00
John Cowen
6c6e373640 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
John Cowen
74b14d0856 Address PR feedback
1. Extra whitespace
2. Remove redundant code
3. Remove redundant markup from test
4. placement-failure should be used as an inline component
5. Prefer `assign` polyfill
6. Use new `@ember' org style imports
2018-01-19 13:59:19 +00:00
John Cowen
3ce79e9337 Add more assertions for basic message checking 2018-01-19 13:59:19 +00:00
John Cowen
0a9faaa805 Add in data-test attrs to hook into, decide on test case granularity 2018-01-19 13:59:19 +00:00
John Cowen
2d1fd1e02e Pluralize test name for consistency (for filtering), inc test 2018-01-19 13:59:19 +00:00
John Cowen
1307970412 Move cleanWhitespace to utils, readd data-test attribute for PF's
1. cleanWhitespace > /test/utils/clean-whitespace.js
2. Missd the data-test attribute for placement failures in previous
conflict
2018-01-19 13:59:19 +00:00
John Cowen
f0363675ef Move placement failures to a component, begin separate integration tests
1. Simple move of placement-failures template code to a component
2. Start adding integration tests - hit `inc` surprise
2018-01-19 13:59:19 +00:00
Michael Lange
7526295e88 Use ember-test-selectors for integration tests 2018-01-17 09:03:59 -08:00
Michael Lange
4c36907505 Use data-test- selectors in acceptance tests 2018-01-17 09:03:59 -08:00
Michael Lange
dbdbde4f9a Replace custom breadcrumbs CSS with new Bulma provided CSS 2018-01-17 09:03:59 -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
a78a2e333c Merge pull request #3607 from hashicorp/f-ui-modify-time-over-modify-index
UI Use ModifyTime instead of ModifyIndex in allocation lists
2017-12-07 14:25:28 -08:00
Michael Lange
e982951f98 Use ModifyTime instead of ModifyIndex 2017-12-06 10:17:12 -08:00