John Cowen
fdd891c38e
ui: Reinstate listing of available test steps via CLI ( #8614 )
...
* Unignore any bin files underneath the UI folder
* Add previously ignored node exec script
* Rearrange steps file so we can continue to list steps out
2020-09-09 09:12:42 +01:00
John Cowen
4086385e59
ui: [Bugfix] KV creation from within a 'folder' ( #8613 )
...
* ui: Prefill an newly created KV for the when we are on a create route
* ui: Add some KV creation tests
2020-09-09 09:12:09 +01:00
Danny Eck
6ba981a8b7
docs: clarify KV url-safe key names
2020-09-08 23:04:32 -05:00
Blake Covarrubias
2f9c3b870b
docs: Fix rendering of link under service config endpoint
...
HTML and markdown cannot be present in the same line. Change markdown
link to HTML anchor element.
2020-09-08 17:41:10 -07:00
Luke Kysow
0396cece53
Merge pull request #8631 from hashicorp/update-docs
...
Update useSystemRoots docs for k8s
2020-09-08 13:21:49 -07:00
Luke Kysow
0f58a22f0d
Move helm reference out
2020-09-08 12:05:55 -07:00
Luke Kysow
719067af0d
Update useSystemRoots docs for k8s
2020-09-08 11:11:48 -07:00
Daniel Nephin
1a930fcf75
grpc: Add a simple test service for testing the gRPC server
2020-09-08 12:10:43 -04:00
Daniel Nephin
863a9df951
server: add gRPC server for streaming events
...
Includes a stats handler and stream interceptor for grpc metrics.
Co-authored-by: Paul Banks <banks@banksco.de>
2020-09-08 12:10:41 -04:00
Kevin Pruett
60a2298ea3
Merge pull request #8593 from hashicorp/pruett.integrate-search
...
Integrate @hashicorp/react-search into layout
2020-09-08 11:34:46 -04:00
Kevin Pruett
b0f08fe8e2
Integrate @hashicorp/react-search into layout
2020-09-08 11:32:00 -04:00
Tim Arenz
6dbb5f3234
Add support for -ca-path option in the connect envoy command ( #8606 )
...
* Add support for -ca-path option in the connect envoy command
* Adding changelog entry
2020-09-08 12:16:16 +02:00
Seth Hoenig
99b822c4b3
api: create fresh http client for unix sockets ( #8602 )
...
Co-authored-by: Matt Keeler <mkeeler@users.noreply.github.com>
2020-09-06 12:27:39 -04:00
Freddy
581f19b9d4
Adds changelog entry for snapshot agent improvement ( #8622 )
2020-09-04 14:07:57 -06:00
Freddy
cfc4283c60
Make LockDelay configurable in api locks ( #8621 )
2020-09-04 13:38:26 -06:00
Daniel Nephin
4eb514a59f
http: fix tests incorrectly using HTTPAddr to get the address of the
...
https server.
In #8234 I changed a few tests to use TestAgent.HTTPAddr() to find the
addr used in the test. Due to the way HTTPAddr() was implemented these
tests were passing, but I think the pass was incidental. HTTPAddr() was
not matching any servers, and was instead returning the last server,
which happened to be the one these tests wanted.
This commit fixes the implementation of HTTPAddr to panic if no match
was found. The tests which require an HTTPS server are changed to use
a new firstAddr() to look up the correct address.
2020-09-04 15:29:17 -04:00
freddygv
1ee039ed95
Set tgw filter router config name to cluster name
2020-09-04 12:45:05 -06:00
R.B. Boyer
a14a31ccf1
sdk: also print test agent logs in verbose mode ( #8616 )
2020-09-04 11:24:11 -05:00
Alvin Huang
b57a5b4911
add checkout to dev-upload-s3 ( #8617 )
2020-09-04 10:42:18 -04:00
Hans Hasselberg
51f079dcdd
secondaryIntermediateCertRenewalWatch abort on success ( #8588 )
...
secondaryIntermediateCertRenewalWatch was using `retryLoopBackoff` to
renew the intermediate certificate. Once it entered the inner loop and
started `retryLoopBackoff` it would never leave that.
`retryLoopBackoffAbortOnSuccess` will return when renewing is
successful, like it was intended originally.
2020-09-04 11:47:16 +02:00
Alvin Huang
4802c5fd89
switch to new aws account s3 bucket for dev artifacts ( #8612 )
2020-09-03 23:40:23 -04:00
freddygv
3e4bc36941
Add server receiver to routes and log tgw err
2020-09-03 16:19:58 -06:00
Daniel Nephin
670b7cbd99
Merge pull request #8357 from hashicorp/streaming/add-service-health-events
...
streaming: add ServiceHealth events
2020-09-03 17:53:56 -04:00
Daniel Nephin
ec5d20b0de
Merge pull request #8554 from hashicorp/dnephin/agent-setup-persisted-tokens
...
agent: move token persistence from agent into token.Store
2020-09-03 17:29:21 -04:00
Daniel Nephin
c17a5b0628
state: handle terminating gateways in service health events
2020-09-03 16:58:05 -04:00
Daniel Nephin
b241debee7
state: improve comments in catalog_events.go
...
Co-authored-by: Paul Banks <banks@banksco.de>
2020-09-03 16:58:05 -04:00
Daniel Nephin
870823e8ed
state: use changeType in serviceChanges
...
To be a little more explicit, instead of nil implying an indirect change
2020-09-03 16:58:05 -04:00
Daniel Nephin
68682e7e83
don't over allocate slice
2020-09-03 16:58:04 -04:00
Daniel Nephin
5f52220f53
state: fix a bug in building service health events
...
The nodeCheck slice was being used as the first arg in append, which in some cases will modify the array backing the slice. This would lead to service checks for other services in the wrong event.
Also refactor some things to reduce the arguments to functions.
2020-09-03 16:58:04 -04:00
Daniel Nephin
c61313b78a
state: Remove unused args and return values
...
Also rename some functions to identify them as constructors for events
2020-09-03 16:58:04 -04:00
Daniel Nephin
668b98bcce
state: use an enum for tracking node changes
2020-09-03 16:58:04 -04:00
Daniel Nephin
7c3c627028
state: serviceHealthSnapshot
...
refactored to remove unused return value and remove duplication
2020-09-03 16:58:04 -04:00
Daniel Nephin
fdfe176deb
state: Add Change processor and snapshotter for service health
...
Co-authored-by: Paul Banks <banks@banksco.de>
2020-09-03 16:58:04 -04:00
Daniel Nephin
6a1a43721d
state: fix bug in changeTrackerDB.publish
...
Creating a new readTxn does not work because it will not see the newly created objects that are about to be committed. Instead use the active write Txn.
2020-09-03 16:58:01 -04:00
Daniel Nephin
81cc3daf69
stream: have SnapshotFunc accept a non-pointer SubscribeRequest
...
The value is not expected to be modified. Passing a value makes that explicit.
2020-09-03 16:54:02 -04:00
Daniel Nephin
3c77f4c7d2
Merge pull request #8234 from hashicorp/dnephin/shutdown-on-http-server-error
...
agent: shutdown if the http server goroutine exits
2020-09-03 16:44:21 -04:00
freddygv
56fdae9ace
Update resolver defaulting
2020-09-03 13:08:44 -06:00
freddygv
b149185794
Update golden files after default route fix for tgw
2020-09-03 12:35:11 -06:00
Tyler Ryan
9da56d95aa
Clarifying service definition requirements for registering a service … ( #8608 )
2020-09-03 14:25:54 -04:00
Daniel Nephin
330b73725f
agent: add apiServers type for managing HTTP servers
...
Remove Server field from HTTPServer. The field is no longer used.
2020-09-03 13:40:12 -04:00
Daniel Nephin
b7bfa5e6df
api: Add a context to ServiceRegisterOpts
...
So that operations can timeout instead of hanging forever
2020-09-03 12:25:06 -04:00
freddygv
23147c1d5b
Fix http assertion in route creation
2020-09-03 10:21:20 -06:00
R.B. Boyer
23bb4bd20c
docs: forgot to change this version number when the feature was backported ( #8607 )
2020-09-03 11:08:59 -05:00
freddygv
0c50b8e769
Add explicit protocol overrides in tgw xds test cases
2020-09-03 08:57:48 -06:00
freddygv
0ac632c465
Fixup stray LB infix refs
2020-09-03 08:56:17 -06:00
freddygv
02d6acd8fc
Ensure resolver node with LB isn't considered default
2020-09-03 08:55:57 -06:00
freddygv
c4bce2154b
Move valid policies to pkg level
2020-09-02 15:49:03 -06:00
freddygv
daad3b9210
Remove LB infix and move injection to xds
2020-09-02 15:13:50 -06:00
R.B. Boyer
b0bde51e70
connect: all config entries pick up a meta field ( #8596 )
...
Fixes #8595
2020-09-02 14:10:25 -05:00
Chris Piraino
df1381f77f
Merge pull request #8603 from hashicorp/feature/usage-metrics
...
Track node and service counts in the state store and emit them periodically as metrics
2020-09-02 13:23:39 -05:00