Michael Lange
9632aace74
Sort allocations on the plugin detail page
2020-05-06 17:21:49 -07:00
Michael Lange
0dd5882c75
Update storage controller mirage code to accommodate EDMF's lack of relationships
2020-05-06 17:21:46 -07:00
Michael Lange
5d3438193a
Model out the rest of the CSI Plugin properties
2020-05-06 17:21:44 -07:00
Michael Lange
d9aaaa0107
Merge pull request #7855 from hashicorp/b-ui/alloc-wrong-reserved-resources
...
UI: Make allocation reference own task group instead of job's task group when job versions don't match
2020-05-06 10:08:37 -07:00
Michael Lange
113cd4c6ef
Stabilize job and allocation job versions in fixtures
2020-05-01 14:29:24 -07:00
Jasmine Dahilig
c10ac6394f
UI: Add representations for task lifecycles ( #7659 )
...
This adds details about task lifecycles to allocations, task groups,
and tasks. It includes a live-updating timeline-like chart on allocations.
2020-04-30 08:15:19 -05:00
Michael Lange
283e112d96
Acceptance tests for the volumes list page
2020-04-03 19:28:12 -07:00
Michael Lange
cb655b4959
Handle namespaces in the mirage handler for volumes
2020-04-03 19:28:10 -07:00
Michael Lange
0f07f4cc40
Add a volume facet to the clients list page
2020-03-30 17:33:44 -07:00
Michael Lange
508404ccba
UI: Support for CSI ( #7446 )
...
Closes #7197 #7199
Note: Test coverage is limited to adapter and serializer unit tests. All
acceptance tests have been stubbed and all features have been manually
tested end-to-end.
This represents Phase 1 of #6993 which is the core workflow of CSI in
the UI. It includes a couple new pages for viewing all external volumes
as well as the allocations associated with each. It also updates
existing volume related views on job and allocation pages to handle both
Host Volumes and CSI Volumes.
2020-03-25 07:51:26 -05:00
Buck Doyle
27df92a967
UI: add exec terminal ( #6697 )
...
This connects Xterm.js to a Nomad exec websocket so people
can interact on clients via live sessions. There are buttons on
job, allocation, task group, and task detail pages that open a
popup that lets them edit their shell command and start a
session.
More is to come, as recorded in issues.
2020-03-24 18:22:16 -05:00
Michael Lange
31945880e7
Test coverage for the task detail volumes table
2020-02-13 17:11:35 -08:00
Michael Lange
0733c1e86e
Test coverage for change in resource rows
2020-02-13 17:11:30 -08:00
Michael Lange
787dedcd5c
Fix flaky host volumes test
2020-02-13 17:11:28 -08:00
Michael Lange
961691248b
Test coverage for the host volumes table
2020-02-13 17:11:25 -08:00
Michael Lange
b11c82caaf
Update existing tests
2020-01-23 16:34:33 -08:00
Michael Lange
44904ba3f1
Update the underlying node model when toggling eligibility in mirage
2020-01-23 16:34:12 -08:00
Michael Lange
1cbbba038c
Mock the drain endpoint
2020-01-23 16:34:08 -08:00
Michael Lange
a43d1084b1
Mock the eligibility endpoint in mirage
2020-01-23 16:34:06 -08:00
Buck Doyle
3adb3cd1fe
ui: Change Run Job availability based on ACLs ( #5944 )
...
This builds on API changes in #6017 and #6021 to conditionally turn off the
“Run Job” button based on the current token’s capabilities, or the capabilities
of the anonymous policy if no token is present.
If you try to visit the job-run route directly, it redirects to the job list.
2020-01-20 14:57:01 -06:00
Buck Doyle
550e1b1a1e
UI: Change Mirage data to be stable in development ( #6389 )
...
This sets a default-but-query-configurable Faker seed in development,
via faker-seed. It also changes uses of Math.random to use Faker’s
randomness so auto-generated data remains stable in development.
2019-10-03 09:13:08 -05:00
Buck Doyle
a37d45223a
UI: Change factories to be more dynamic ( #6387 )
...
I noticed while working on #6166 that some of the factory properties
that used Faker’s randomisation features are using their output
rather than a function that would call the randomiser. This means that
the randomisation happens once and the value is used for every model
generated by the factory. This wraps the randomiser calls in functions
so different models can have different values.
2019-09-30 09:44:22 -05:00
Buck Doyle
7fcfdab316
UI: Update Mirage to 1.1.2 ( #6166 )
2019-09-26 13:47:07 -05:00
Mahmood Ali
d966a2fe9e
ui: protect against nil services
...
Protect against case where an alloc has no services and avoid
dereferencing null.
Here, we ensure that the model and test serializers mimic the API by
having nil TaskGroup.Services instead of an empty array.
2019-09-16 16:50:30 -04: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
Michael Lange
c29d836dd9
Merge pull request #5871 from hashicorp/f-ui/alloc-fs
...
UI: Allocation file system explorer
2019-08-20 10:18:23 -07:00
Michael Lange
7b038acdb7
Remove the temporary allocationFileExplorer mirage scenario
2019-08-20 09:40:49 -07:00
Buck Doyle
02f6a71dae
Add ability to control Mirage logging via query ( #6105 )
...
This lets us turn Mirage logging on without editing any
files, which makes it easier to switch between branches.
2019-08-20 08:36:08 -05:00
Michael Lange
a321145457
Encode characters in file paths to ensure proper URIs
2019-08-14 12:54:11 -07:00
Michael Lange
186a620ef1
Include all client fs endpoints in the hosts block
2019-08-07 17:34:41 -07:00
Michael Lange
55d8ff4b0b
Add additional troublesome characters to the alloc-file name factory
2019-08-07 15:29:57 -07:00
Michael Lange
e277cc5308
Update factory-based fs tests to sort properly
2019-07-31 01:41:00 -07:00
Michael Lange
0471f28e9e
Add file mocks to every mirage scenario
2019-07-30 17:25:50 -07:00
Michael Lange
8f496e8b65
Refactor existing fs tests to use new mirage factories
2019-07-30 17:25:46 -07:00
Michael Lange
33f1da9bbd
cat, stream, and readat mocks for alloc fs
2019-07-30 17:25:44 -07:00
Michael Lange
97c45096df
Use the alloc file factory for the fs stat and fs ls end points
2019-07-30 17:25:43 -07:00
Michael Lange
c4dd61d1cd
Mirage factory for file system fixtures
2019-07-30 17:25:42 -07: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
ece0c9038d
Give the allTheThings scenario a better name
2019-06-19 17:18:43 -07:00
Michael Lange
8920650990
New Mirage scenario for puppeteer script to use
2019-06-19 17:18:40 -07:00
Michael Lange
69c6c34afa
Support task restarting in the allocation adapter
2019-05-21 09:24:17 -07:00
Michael Lange
4c773a1f3c
Add preemption properties to Mirage allocation factory
2019-04-22 16:40:07 -07:00
Michael Lange
aba4882dcb
Introduce the concept of 'shallow' job models in Mirage
2019-04-11 20:08:09 -07:00
Michael Lange
768bfdf87d
Reduce the number of task groups and task events that are made
2019-04-11 18:15:35 -07:00
Michael Lange
b0a65bdb62
Update everything to work with the mirage backwards incompat
2019-04-10 14:54:37 -07:00
Michael Lange
23729ad5a7
Address the copy/copyable deprecation
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
32954fa71e
Improve mirage modeling of allocations
...
Pending allocations never have tasks
2018-11-09 17:11:47 -08:00
Michael Lange
31045da9be
Merge pull request #4852 from hashicorp/b-ui-dispatched-job-page
...
UI: Show the correct template for dispatched jobs
2018-11-09 14:36:35 -08:00