Chris Baker
ce0c330c7c
agent config: cleaner VAULT_ env lookup
2019-04-10 10:34:10 -05:00
Chris Baker
829a972693
vault client test: minor formatting
...
vendor: using upstream circonus-gometrics
2019-04-10 10:34:10 -05:00
Michael Schurter
cc7768c170
Update nomad/structs/config/vault.go
...
Co-Authored-By: cgbaker <cgbaker@hashicorp.com>
2019-04-10 10:34:10 -05:00
Chris Baker
c0a7aee610
vault e2e: pass vault version into setup instead of having to infer it from test name
2019-04-10 10:34:10 -05:00
Chris Baker
f0c184fc29
taskrunner: removed some unecessary config from a test
2019-04-10 10:34:10 -05:00
Chris Baker
b290d774bc
e2e/vault: updated e2e vault tests to use version-specific policy creation endpoint (old servers are not compatible with new client)
2019-04-10 10:34:10 -05:00
Chris Baker
a26d4fe1e5
docs: -vault-namespace, VAULT_NAMESPACE, and config
...
agent: added VAULT_NAMESPACE env-based configuration
2019-04-10 10:34:10 -05:00
Chris Baker
170f5239c8
client: gofmt
2019-04-10 10:34:10 -05:00
Chris Baker
a1d7971b2e
taskrunner: pass configured Vault namespace into TaskTemplateConfig
2019-04-10 10:34:10 -05:00
Chris Baker
01c79666f0
vendor: updated consul-template and downstream
...
consul-template -> v0.20.0
consul/api -> v1.2.1
vault/api -> v1.0.3
go-retryablehttp -> v0.5.2
circonus-gometrics: modified local source for compat with go-retryablehttp
2019-04-10 10:34:10 -05:00
Chris Baker
d3041cdb17
wip: added config parsing support, CLI flag, still need more testing, VAULT_ var, documentation
2019-04-10 10:34:10 -05:00
Chris Baker
0eaeef872f
config/docs: added namespace
to vault config
...
server/client: process `namespace` config, setting on the instantiated vault client
2019-04-10 10:34:10 -05:00
Chris Baker
6a2454f56d
"job revert" command: alphabetized flags
2019-04-10 10:34:10 -05:00
Michael Schurter
c0cd96ef75
Update nomad/job_endpoint_test.go
...
Co-Authored-By: cgbaker <cgbaker@hashicorp.com>
2019-04-10 10:34:10 -05:00
Michael Schurter
e3613046b0
Update website/source/docs/commands/job/revert.html.md.erb
...
Co-Authored-By: cgbaker <cgbaker@hashicorp.com>
2019-04-10 10:34:10 -05:00
Michael Schurter
188c32421a
Update nomad/job_endpoint.go
...
Co-Authored-By: cgbaker <cgbaker@hashicorp.com>
2019-04-10 10:34:10 -05:00
Michael Schurter
cdde30ebd0
Update api/jobs.go
...
Co-Authored-By: cgbaker <cgbaker@hashicorp.com>
2019-04-10 10:34:10 -05:00
Chris Baker
ee3b8f75c4
docs: added vault token documentation to job revert
command, documented VaultToken field of api.JobRevertRequest
2019-04-10 10:34:10 -05:00
Chris Baker
2f4d8d0a2f
cli: plumbed vault token from job revert command through API call
2019-04-10 10:34:10 -05:00
Chris Baker
0ba1600545
server/job_endpoint: accept vault token and pass as part of Job.RegisterRequest [ #4555 ]
2019-04-10 10:34:10 -05:00
Michael Lange
9a10780d47
Replaces .columns with .toolbar on the clients page
2019-04-10 10:34:10 -05:00
Michael Lange
09907078bd
Replace the columns pattern with the new toolbar pattern on the jobs page
2019-04-10 10:34:10 -05:00
Michael Lange
6e3a27f9e7
New toolbar CSS component
2019-04-10 10:34:10 -05:00
Michael Lange
e400698905
Make the search box more elastic
...
1. Set a higher max-width
2. Set a min-width
3. Remove the min-width on mobile, including the invisible size="20" in
the markup
2019-04-10 10:34:10 -05:00
Michael Lange
6a0f5b5a4d
Fixes a few minor issues with the multiselect dropdown
...
1. Label no longer bleeds into the downward arrow icon
2. The selection number no longer breaks onto its own line
3. Options have a min-width so short labels can't result in small click
targets
2019-04-10 10:34:10 -05:00
Michael Lange
e73add100c
Change breakpoints to match Nomad/Bulma widths
2019-04-10 10:34:10 -05:00
Michael Lange
602df55ae0
Add the ember-responsive addon
2019-04-10 10:34:10 -05:00
Michael Lange
afecab1071
Improve the search box component to make it fluid and iconed
2019-04-10 10:34:10 -05:00
Arshneet Singh
2b50b5499d
Remove redundant assertion and replace regex matches with require
2019-04-10 10:34:10 -05:00
Arshneet Singh
1272fcb9e1
Don't display node name if output isn't verbose. Add tests.
2019-04-10 10:34:10 -05:00
James Rasell
9470507cf4
Add NodeName to the alloc/job status outputs.
...
Currently when operators need to log onto a machine where an alloc
is running they will need to perform both an alloc/job status
call and then a call to discover the node name from the node list.
This updates both the job status and alloc status output to include
the node name within the information to make operator use easier.
Closes #2359
Cloess #1180
2019-04-10 10:34:10 -05:00
Michael Lange
e52b6be10f
Test coverage for clients faceted search
2019-04-10 10:34:10 -05:00
Michael Lange
243982562a
Implement faceted search on the clients page
2019-04-10 10:34:10 -05:00
Michael Lange
4464c473e5
Add nodeClass to the node model
2019-04-10 10:34:10 -05:00
Michael Lange
ddc577ccca
Refactor qp helpers from the jobs faceted search
2019-04-10 10:34:10 -05:00
Michael Lange
ff98a744c1
Changes from code review
2019-04-10 10:34:10 -05:00
Michael Lange
06e718387c
Make the facet filter function clearer with more brackets
2019-04-10 10:34:10 -05:00
Michael Lange
80abb8d8a0
Simplify options and selection names
2019-04-10 10:34:10 -05:00
Michael Lange
5e05408ae3
Test coverage for job list facets
2019-04-10 10:34:10 -05:00
Michael Lange
3f6bbfa8ff
Model facets in the page object
2019-04-10 10:34:10 -05:00
Michael Lange
5ae2f38c4e
Introduce encode/decode for array query params
2019-04-10 10:34:10 -05:00
Michael Lange
40b1857632
Support for the no options case
2019-04-10 10:34:10 -05:00
Michael Lange
09ae9fbfa3
Implement the job list filtering based on facet selection
2019-04-10 10:34:10 -05:00
Michael Lange
8015605041
Implement the dynamic facet lists (datacenters and prefixes)
2019-04-10 10:34:10 -05:00
Michael Lange
46c6a3e4c2
Scaffold the facets and facet options for the jobs list page
2019-04-10 10:34:10 -05:00
Michael Lange
b93977f61f
Remove the includes helper in favor of the contains helper
2019-04-10 10:34:10 -05:00
Michael Lange
7a183b40ac
Harden dropdown styles to avoid accidental cascading
2019-04-10 10:34:10 -05:00
Michael Lange
22225b3436
Add the right-alignment case to freestyle
2019-04-10 10:34:10 -05:00
Michael Lange
573f03d8e9
Always left-align the dropdown position to the trigger
2019-04-10 10:34:10 -05:00
Michael Lange
fd34f7aa2c
Test coverage for the multi-select-dropdown component
2019-04-10 10:34:10 -05:00