Michael Schurter
2a3eac1ce3
Merge pull request #4568 from hashicorp/vendor-fix-blake2b
...
vendor: fix blake2b on non-amd64 archs
2018-08-13 15:46:32 -07:00
Chelsea Holland Komlo
3e85a197b8
fix panic for job history cli command when used with non-existent job version
2018-08-13 16:57:36 -04:00
Chelsea Holland Komlo
f5e631886f
add signature algorithm to error message
2018-08-13 16:21:18 -04:00
Chelsea Holland Komlo
ed21481ca1
rename signature algorithm type per code review feedback
2018-08-13 16:11:49 -04:00
Chelsea Holland Komlo
16ffb2e412
extract functionality for determining signature algorithm per code review feedback
2018-08-13 16:08:23 -04:00
Chelsea Komlo
6f16632b8e
Merge pull request #4570 from hashicorp/b-disable-checkpoint
...
Skip update checking if DisableUpdateCheck is set to true
2018-08-13 16:02:47 -04:00
Alex Dadgar
0c77ff37c6
Merge pull request #4574 from hashicorp/f-base-go-plugin
...
Base go-plugin client/server
2018-08-13 11:10:54 -07:00
Alex Dadgar
c49beed26e
vet
2018-08-13 11:10:33 -07:00
Alex Dadgar
19cffc9a3a
Review comments
2018-08-13 11:01:44 -07:00
Charlie Voiselle
523e8f7043
Fix typo
2018-08-13 10:38:22 -04:00
Alex Dadgar
c324e98a25
Initial go-plugin
2018-08-12 15:58:39 -07:00
Michael Lange
104e5196a6
Acceptance tests for the region switcher
2018-08-10 12:52:05 -07:00
Alex Dadgar
bb20dbde43
move protos
2018-08-10 11:16:55 -07:00
Alex Dadgar
a630ffcddc
Merge pull request #4571 from hashicorp/f-base-plugin-configs
...
Convert HCL Interface values to Cty Values
2018-08-10 11:16:23 -07:00
Alex Dadgar
42b432d18d
block attr spec
2018-08-10 11:14:12 -07:00
Alex Dadgar
d6b291b00d
hcl interface to cty function
2018-08-10 10:51:23 -07:00
Chelsea Holland Komlo
e8379c9059
skip update checking if DisableUpdateCheck is set to true
2018-08-10 13:08:13 -04:00
Chelsea Holland Komlo
91edec5bf4
change string repr of signature algorithms to constants
2018-08-10 12:37:21 -04:00
Chelsea Holland Komlo
4b228b1919
remove redundant nil check
2018-08-10 12:37:21 -04:00
Chelsea Holland Komlo
3f1d54f628
add default case for empty TLS structs
2018-08-10 12:37:21 -04:00
Chelsea Holland Komlo
4755a65978
add comments
2018-08-10 12:37:21 -04:00
Chelsea Holland Komlo
86103d41d4
type safety for string keys
2018-08-10 12:37:21 -04:00
Chelsea Holland Komlo
31d6d00381
add simple getter for certificate
2018-08-10 12:37:21 -04:00
Chelsea Holland Komlo
568564f63f
refactor to use golang built in api for certs
2018-08-10 12:37:21 -04:00
Chelsea Holland Komlo
bb6c30ee3c
add functionality to check if signature algorithm is supported in cipher suites
2018-08-10 12:37:21 -04:00
Chelsea Holland Komlo
b92098fd08
change function signature to take entire tls config object
2018-08-10 12:37:21 -04:00
Michael Lange
3d89cb503b
Unit test coverage for adding the region param to requests
2018-08-09 20:27:54 -07:00
Michael Lange
94d321ef4f
Properly model regions in Mirage
2018-08-09 19:57:21 -07:00
Michael Lange
68142b3a82
Specify the request type for token self
...
Without this, the data (query params) get json stringified
2018-08-09 18:22:39 -07:00
Michael Lange
9f3a37f1c2
Simplify the control flow around changing namespaces and regions
...
The UI will no longer try to redirect to the appropriate namespace or
region if one is found in localStorage. Instead, it will assume that
the lack of query param means the default namespaces or region is
desired.
2018-08-09 18:22:39 -07:00
Michael Lange
8631fecc37
Update tests to handle region switching
2018-08-09 18:22:39 -07:00
Michael Lange
6e2bb48fd5
Handle errors when getting regions or the default regions
...
This protects against volatility in the server and, more commonly, ACLs
returning forbidden responses.
2018-08-09 18:22:39 -07:00
Michael Lange
3534b09977
Address an issue with certain dependent keys
2018-08-09 18:22:39 -07:00
Michael Lange
3180e57138
Only deal with the region param (in the app and in api calls) when necessary
2018-08-09 18:22:39 -07:00
Michael Lange
c4c79c7a1f
Get the server's region (aka default region) from the API
...
The default region shouldn't be used as a qp since no qp means the same
thing.
2018-08-09 18:22:38 -07:00
Michael Lange
0cfeba49d7
Add the region qp to all requests made through the token service
2018-08-09 18:22:38 -07:00
Michael Lange
d61fd9ef48
The application route doesn't need to fetch namespaces
2018-08-09 18:22:38 -07:00
Michael Lange
786811b84a
Sidestep a transpilation bug.
...
Default params don't make it into arguments which were being splatted
into the call to super.
2018-08-09 18:22:38 -07:00
Michael Lange
ad70fb9cc3
Repeat the new namespace pattern for region
2018-08-09 18:22:38 -07:00
Michael Lange
93f41278b1
Clear up the data flow for namespaces
...
This is incredibly tricky with query params, since there is a bundle of
timing issues, lifecycle issues, missing features, and all around
gotchas with query params.
This solution has no observers and no instances of the system service
being set from the jobs controller.
The upside to this is no observers, much easier to follow logic, no more
dependent key chain reactions.
2018-08-09 18:22:38 -07:00
Michael Lange
35250117cf
Account for the service:system dependency due to region
2018-08-09 18:22:38 -07:00
Michael Lange
85fe4459d0
Remove the gutter menu from the allocations page
2018-08-09 18:22:38 -07:00
Michael Lange
a9aa730d2c
Never show the menu divider for the first menu item
2018-08-09 18:22:38 -07:00
Michael Lange
2b93a76fa7
Line breadcrumbs up flush with section content
2018-08-09 18:22:38 -07:00
Michael Lange
04b9d80dc0
Make the dropdown ever so slightly off-white
2018-08-09 18:22:38 -07:00
Michael Lange
32d05509ca
Move the region switcher out of the secondary nav and into the gutter when the gutter is collapsed
2018-08-09 18:22:37 -07:00
Michael Lange
148495e853
Add region switcher to the global header
2018-08-09 18:22:37 -07:00
Michael Lange
2877b6b351
Only show the region switcher when there are multiple regions
2018-08-09 18:22:37 -07:00
Michael Lange
b889c8091e
Fetch regions and namespaces in the application route
2018-08-09 18:22:37 -07:00
Michael Lange
a430baba4f
Harden up the system service for the event of store unloading
2018-08-09 18:22:37 -07:00