Commit Graph

273 Commits

Author SHA1 Message Date
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
98b00680d9 Update job factory to use traits for specifying job type 2018-02-06 10:53:52 -08:00
Michael Lange
35f388a712 Trim the parent job prefix off the child job names when displaying them 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
dc0fa160f9 Clean up force launch button 2018-02-06 10:53:51 -08:00
Michael Lange
60cb1ac27e Differentiate between no search matches and no allocs on task group page 2018-02-06 10:53:51 -08:00
Michael Lange
52380527b2 Add ability to force a periodic job launch 2018-02-06 10:53:51 -08:00
Michael Lange
d7b9283488 For now, the system job is identical to the service job 2018-02-06 10:53:51 -08:00
Michael Lange
3fc0910ee7 Payload details for the parameterized child job detail page 2018-02-06 10:53:51 -08:00
Michael Lange
ec49a72a06 Elastic mode for cli window component 2018-02-06 10:53:51 -08:00
Michael Lange
fbd166bc9b Breadcrumbs for the periodic child job page 2018-02-06 10:53:50 -08:00
Michael Lange
81273dca98 Bring payload in from the job api response 2018-02-06 10:53:50 -08:00
Michael Lange
ab22e95bbf Paginated and sortable table for job launches/children jobs 2018-02-06 10:53:50 -08:00
Michael Lange
b4bdc61594 New job page components for parent jobs and batch jobs 2018-02-06 10:53:50 -08:00
Michael Lange
0ea1d0daaf Fleshing out job page parts and differences 2018-02-06 10:53:50 -08:00
Michael Lange
bb1e0d66b6 Recreate the service job detail page using job part components 2018-02-06 10:53:50 -08:00
Michael Lange
ec35b5a02f Deconstruct the existing job detail page into common parts
This is to later compose job detail page variations
2018-02-06 10:53:49 -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
c6369a6ccb Computed a template type for a job
This is a composite of scheduler type, batch variations, and children v.
template
2018-02-05 20:13:58 -08:00
Michael Lange
525312dc92 Fix lint-staged paths
Paths now start from package.json location, not project root.
2018-02-05 20:13:58 -08:00
Michael Lange
eae275f719 Use the children summary instead of alloc summary when applicable 2018-02-05 20:13:58 -08:00
Michael Lange
552b958d67 Specialized children-status-bar variant of the allocation-status-bar 2018-02-05 20:13:58 -08:00
Michael Lange
0c50472bb5 Model the parent/child relationship in jobs 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
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
61d7f93a29 Make task-events use the message from the API rather than hardcoded
The api has changed to send through a message for task-events. Use that
instead of rendering a message from within js dependent on the task
event type
2018-01-19 15:38:57 +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 Schurter
94e6b9cff6 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
11f5e4be68 Use Node 8 2018-01-17 09:04:01 -08:00
Michael Lange
249fe6fd94 Add breadcrumbs to the styleguide 2018-01-17 09:04:01 -08:00
Michael Lange
c8fcb4c710 Reorganize the styleguide using components for sections 2018-01-17 09:04:01 -08:00
Michael Lange
89118a0505 Add boxed-section component to the styleguide 2018-01-17 09:04:00 -08:00
Michael Lange
ab6c443edf Add basic elements to the styleguide 2018-01-17 09:04:00 -08:00
Michael Lange
a6e8007d06 Add jumbo distribution bar to the styleguide 2018-01-17 09:04:00 -08:00