Michael Lange
715e2ac82a
Simplify the data control flow around job.plan()
2018-08-23 15:40:42 -07:00
Michael Lange
5aa452e028
Merge pull request #4603 from hashicorp/f-ui-new-job-improved-plan
...
UI: New job improved plan screen
2018-08-23 15:21:13 -07:00
Alex Dadgar
1eb043a46c
statistics protos
2018-08-23 11:18:35 -07:00
Michael Lange
0fb7fea825
Acceptance tests for the edit behaviors on the job definition page
2018-08-23 10:26:20 -07:00
Michael Lange
4484c28e07
Rewrite the job run acceptance tests to be about routing
2018-08-23 09:00:47 -07:00
Michael Lange
b5b4a979f9
Test coverage for the job-editor component
...
Most of this was ported over from the existing job run acceptance tests
2018-08-23 09:00:14 -07:00
Nick Ethier
6f1b5e2921
lint: fix comment spelling
2018-08-22 22:47:38 -04:00
Nick Ethier
f14c8a223e
driver/base: fix proto pr comments
2018-08-22 22:20:46 -04:00
Nick Ethier
b3b80b380c
driver/base: add size on disk field for task
2018-08-22 22:20:46 -04:00
Nick Ethier
a005792f98
driver/base: fixup comments from code review
2018-08-22 22:20:46 -04:00
Nick Ethier
3a817dc7c9
driver/base: add task event emitting to proto
2018-08-22 22:20:46 -04:00
Nick Ethier
a2c32dda57
driver/base: Add initial protobuf spec
2018-08-22 22:20:46 -04:00
Michael Lange
e60b16a7e0
Since registerHelper doesn't work in integration tests a new way is needed
...
This exports a function that returns the pertinent function when given a
container. This way it works in registerHelper and in integration tests
beforeEach hooks
2018-08-22 17:34:25 -07:00
Michael Lange
1f40ab5da5
Introduce job editing to the job definition page
2018-08-21 16:46:24 -07:00
Michael Lange
3ca2237b29
Support cancellation of editing in the job-editor
2018-08-21 16:45:53 -07:00
Michael Lange
772731ccd4
Fix bug where scrolling wasn't using the document
...
Instead it was using the page-layout is-right div
2018-08-21 16:44:59 -07:00
Michael Lange
ed763ad14f
Handle update job in the model
2018-08-21 16:44:31 -07:00
Michael Lange
a7cd7b39d6
fixup-job-editor
2018-08-21 16:43:46 -07:00
Michael Lange
902ec3e734
fixup-adapter
2018-08-21 16:43:30 -07:00
Michael Lange
527b5d5e97
Support different contexts for the job editor
2018-08-21 16:41:05 -07:00
Michael Lange
05a3238c37
Support job update in the adapter
2018-08-21 16:39:47 -07:00
Michael Lange
33499658a4
Use the same urlForFindRecord logic for urlForUpdateRecord
2018-08-21 16:38:35 -07:00
Michael Lange
cd6d4e41e5
Fix multiple highlight bug in the distribution-bar component
...
Caused by the re-indexing that occurs to remove zero-value bars.
2018-08-21 16:37:36 -07:00
Michael Lange
c81ba192dc
Fix a blocking queries bug
...
The lowest valid blocking query index is 1, but the API will return 0 if
there has yet to be an index set (no response). This in conjunction with
that 0 being stored as a string made the "fallback to 1" guard not work.
2018-08-21 13:47:01 -07:00
Michael Lange
b3c2538c68
Move the bulk of the new job page into a new job editor component
2018-08-21 12:07:45 -07:00
Michael Lange
55fca36bea
New job edit page
2018-08-21 12:06:43 -07:00
Michael Lange
3cee992a97
Test coverage for scheduler dry-run addition to the plan page
2018-08-20 16:44:37 -07:00
Michael Lange
063021081d
Fixed bug that prevented non verbose job diffs from printing changed leaf nodes
2018-08-20 16:44:37 -07:00
Michael Lange
9cab82146c
Show the scheduler dry-run output on the plan page
2018-08-20 16:44:37 -07:00
Alex Dadgar
822891787a
Remove docker only on linux from getting started
2018-08-20 16:21:13 -07:00
Alex Dadgar
49c56b1d79
Merge pull request #4591 from hashicorp/f-device-plugin
...
Initial device go-plugin
2018-08-20 15:19:26 -07:00
Alex Dadgar
9ac7dcd1ee
Describe public interface of Fingerprint
2018-08-20 15:19:08 -07:00
Michael Lange
5ab8eab230
Merge pull request #4545 from hashicorp/f-ui-no-leader-error
...
UI: Specialized No Leader error page
2018-08-20 15:16:01 -07:00
Alex Dadgar
bcc1e20b92
Merge pull request #4599 from hashicorp/f-docker-kill-timeout
...
Fix kill timeout exceeding 5m on Docker driver
2018-08-20 15:13:25 -07:00
Michael Lange
8ed04e64fe
Specialized No Leader error page
2018-08-20 14:11:50 -07:00
Michael Lange
ee074e9ef5
Don't use the verbose diff for job run plan
2018-08-17 18:32:59 -07:00
Michael Lange
06027f7799
Merge pull request #4592 from hashicorp/f-ui-new-job
...
UI: Run a job from the Web UI
2018-08-17 18:29:22 -07:00
Michael Lange
74248bc3f6
Spiff up the form buttons with type and disabled attributes
2018-08-17 18:20:15 -07:00
Alex Dadgar
089b533047
Fix kill timeout exceeding 5m on Docker driver
...
Fixes an issue where the Docker API client would timeout before the kill
timeout was hit.
2018-08-17 16:01:09 -07:00
Michael Lange
2e35687a1d
Acceptance tests for job run page
2018-08-16 17:22:58 -07:00
Michael Lange
f53fb08144
Rework job parse mirage request to get the job ID out of the payload
2018-08-16 17:22:22 -07:00
Alex Dadgar
98a67938a0
initial device go-plugin
2018-08-16 16:49:09 -07:00
Michael Lange
1d3bf6bdea
New Page Object component for common error formatting
2018-08-16 10:57:56 -07:00
Michael Lange
e634a98102
New PageObject helper for getting and setting CodeMirror values
2018-08-16 10:57:13 -07:00
Michael Lange
9fb8964c00
New test helper for getting the underlying CodeMirror instance from a dom selector
2018-08-16 10:56:37 -07:00
Charlie Voiselle
4612cac021
Merge pull request #4588 from hashicorp/d-fix-max-parallel-over-group
...
Clarify `max_parallel` interaction with taskgroups
2018-08-16 12:30:45 -04:00
Charlie Voiselle
e97fe2300c
Clarify max_parallel interaction with taskgroups
...
Updates are parallelized at the task group level always. The
`max_parallel` attribute controls parallelization over the `count`
allocations of the task group itself.
2018-08-16 12:11:30 -04:00
Michael Lange
a96c4508d6
Acceptance test for the jobs list page
2018-08-15 17:12:18 -07:00
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