Daniel Nephin
132b76acef
agent/cache: Add cache-type and materialized view for streaming health
...
Extracted from d97412ce4c
Co-authored-by: Paul Banks <banks@banksco.de>
2020-10-06 13:21:57 -04:00
Daniel Nephin
b27068b72a
stream: Return a single event from a subscription.Next
...
Handle batch events as a single event
2020-10-06 13:18:20 -04:00
Jono Sosulska
e657341cd8
Remove label trigger on edit ( #8832 )
2020-10-06 13:16:14 -04:00
Daniel Nephin
f5d11562f2
subscribe: update to use NewSnapshotToFollow event
2020-10-06 12:49:35 -04:00
Daniel Nephin
e3290f5971
Move agent/subscribe -> agent/rpc/subscribe
2020-10-06 12:49:35 -04:00
Daniel Nephin
dbb8bd679f
subscirbe: extract streamID and logging from Subscribe
...
By extracting all of the tracing logic the core logic of the Subscribe
endpoint is much easier to read.
2020-10-06 12:49:35 -04:00
Daniel Nephin
9e4ebacb05
subscribe: add integration test for acl token updates
2020-10-06 12:49:35 -04:00
Daniel Nephin
39beed0af6
subscribe: add integration test for filtering events by acl
2020-10-06 12:49:35 -04:00
Daniel Nephin
083f4e8f57
subscribe: Add an integration test for forward to DC
2020-10-06 12:49:35 -04:00
Daniel Nephin
013ababda4
subscribe: add first integration test for Server
2020-10-06 12:49:35 -04:00
Daniel Nephin
d0256a0c07
subscribe: add a stateless subscribe service for the gRPC server
...
With a Backend that provides access to the necessary dependencies.
2020-10-06 12:49:35 -04:00
Daniel Nephin
f4ea3066fb
subscribe: add commented out test cases
...
Co-authored-by: Paul Banks <banks@banksco.de>
2020-10-06 12:49:35 -04:00
Daniel Nephin
106d781dc9
subscribe: add initial impl from streaming-rpc-final branch
...
Co-authored-by: Paul Banks <banks@banksco.de>
2020-10-06 12:49:35 -04:00
Daniel Nephin
364f6589c8
Merge pull request #8799 from hashicorp/streaming/rename-framing-events
...
stream: remove EndOfEmptySnapshot, add NewSnapshotToFollow
2020-10-06 12:42:58 -04:00
Daniel Nephin
a5c50c982d
Merge pull request #8806 from hashicorp/dnephin/service-health-interface
...
rpcclient: Add health.Client and use it in http and dns
2020-10-06 12:13:09 -04:00
R.B. Boyer
4998a08c56
server: create new memdb table for storing system metadata ( #8703 )
...
This adds a new very tiny memdb table and corresponding raft operation
for updating a very small effective map[string]string collection of
"system metadata". This can persistently record a fact about the Consul
state machine itself.
The first use of this feature will come in a later PR.
2020-10-06 10:08:37 -05:00
Daniel Nephin
3fe95f17d5
proto: fix RoundTrip test for enterprise ( #8826 )
2020-10-06 08:55:50 -05:00
hashicorp-ci
356998d91e
auto-updated agent/uiserver/bindata_assetfs.go from commit a7038b48c
2020-10-06 13:43:27 +00:00
John Cowen
a7038b48c5
ui: Service instance requests and proxy requests are ranges ( #8828 )
2020-10-06 14:39:39 +01:00
John Cowen
c6adb4723c
ui: Restrict header styling to specific tabs ( #8830 )
2020-10-06 14:38:39 +01:00
John Cowen
61b17cc941
ui: Remove authorization and disabled partials/blocks ( #8829 )
...
* Add disabled and unauthorized views into AppView without a block
* Remove disabled/unauthorized block usage
* Remove unauthorized and diabled partials
* Passthrough allowLogin attribute
2020-10-06 14:34:32 +01:00
hashicorp-ci
bc5ca8b638
auto-updated agent/uiserver/bindata_assetfs.go from commit 5a39be47d
2020-10-06 13:32:27 +00:00
John Cowen
5a39be47d1
Fixup node tests to account for new runtime env var passing ( #8817 )
2020-10-06 14:26:55 +01:00
John Cowen
1d324b726f
ui: Leader API polling ( #8814 )
...
* Allow configuring a datasource to poll instead of block
* Add 30 second polling to the leader API request
2020-10-06 14:26:44 +01:00
hashicorp-ci
36d219e2cc
auto-updated agent/uiserver/bindata_assetfs.go from commit 76d3909f3
2020-10-06 08:42:39 +00:00
John Cowen
76d3909f30
ui: Replace proxy icon with mesh icon ( #8804 )
2020-10-06 09:37:23 +01:00
hashicorp-ci
4c9630ffad
auto-updated agent/uiserver/bindata_assetfs.go from commit e4a0dcf10
2020-10-06 08:36:18 +00:00
John Cowen
e4a0dcf10e
Allow configuring a datasource to poll instead of block ( #8805 )
2020-10-06 09:31:01 +01:00
s-christoff
5da640b287
Add load testing framework ( #8571 )
2020-10-05 20:16:09 -05:00
Freddy
22062ba9da
Add default meta to test assertion ( #8824 )
2020-10-05 15:00:25 -06:00
Jono Sosulska
f786314315
Fixes README overwrite ( #8821 )
2020-10-05 15:32:57 -04:00
Daniel Nephin
5a5fd4f0b1
Merge pull request #8802 from hashicorp/dnephin/extract-lib-retry
...
lib/retry - extract a new package from lib/retry.go
2020-10-05 14:22:37 -04:00
hashicorp-ci
3e9bd96c0a
auto-updated agent/uiserver/bindata_assetfs.go from commit f26201a7a
2020-10-05 17:12:56 +00:00
Kenia
f26201a7a4
ui: Service Mesh - Topology tab and basic layout ( #8788 )
...
* Create Topology Tab with foundational layout and styling
* Create Toplogy Metrics component with dynamic SVG
* Add ember-render-modifiers addon
* Implement Topology Metrics comp and fix up styling
* Create topology endpoint with tests
* Move arrow drawing to index.js file
* Add topology to show controller
* Fix up conditional wrapper, tabs positioning, links, and styling
* Group upstreams by dc and fix up styling
* Create service/health-percentage helper
* Add health check percentages to upstreams and downstreams
* Basic Layout
* Upgrade @hashicorp/consul-api-double to v5.2.3
* Renamed endpoint to be service-topology
* Refactor styling
* Update to only show Topology tab when Connect is enabled
* Fix bug and changes from review notes
* Remove unused functions that are replaced with SVG markers
* Refactor to resuse svg-curve helper
* Use the render-template helper for the metrics link
* Add topology default null to services show route
* Removed unused ID
* Fix up tests broken by redirect to /topology
2020-10-05 13:07:35 -04:00
Iryna Shustava
a7db965dc3
docs: Add missing helm docs and make link anchors consistent ( #8808 )
2020-10-05 10:02:04 -07:00
Freddy
ae44b12e03
Service mesh topology visualization endpoint MVP
2020-10-05 10:53:11 -06:00
freddygv
413a894a1a
Do not evaluate discovery chain for topology upstreams
2020-10-05 10:24:50 -06:00
freddygv
cf7b7fcdd6
Single DB txn for ServiceTopology and other PR comments
2020-10-05 10:24:50 -06:00
freddygv
7c26a71b4b
Add topology HTTP endpoint
2020-10-05 10:24:50 -06:00
freddygv
dbbf6b2e46
Add topology RPC endpoint
2020-10-05 10:24:50 -06:00
freddygv
98c81976f5
Add topology ACL filter
2020-10-05 10:24:50 -06:00
freddygv
f906b94351
Add func to combine up+downstream queries
2020-10-05 10:24:50 -06:00
freddygv
5c913ec312
factor in discovery chain when querying up/downstreams
2020-10-05 10:24:50 -06:00
freddygv
b012d8374e
support querying upstreams/downstreams from registrations
2020-10-05 10:24:50 -06:00
freddygv
a86cf88a4a
Add method for downstreams from disco chain
2020-10-05 10:24:50 -06:00
Jono Sosulska
0174b1c7c6
Add github actions for PR and issue labeling ( #8709 )
...
* Added Issue Labeler, PR labeler, .github readme
* Updated README with Issue Template information, and regex to metrics
Co-authored-by: Kit Patella <kit@jepsen.io>
2020-10-05 10:43:21 -04:00
hashicorp-ci
896d143647
auto-updated agent/uiserver/bindata_assetfs.go from commit 3a89c7d23
2020-10-05 14:07:13 +00:00
John Cowen
3a89c7d232
ui: CSS margin/border alterations ( #8796 )
...
* ui: Reorganize page top margins and borders
* Tweak definition table copy-buttons
* Make room for intro paragraphs
2020-10-05 15:02:15 +01:00
hashicorp-ci
bf2b52f880
auto-updated agent/uiserver/bindata_assetfs.go from commit dfe57406d
2020-10-05 13:53:36 +00:00
John Cowen
dfe57406de
ui: Defer requesting gateway related services until the tab is visible ( #8803 )
...
* ui: Defer requesting gateway related services until the tab is visible
* Extend one route with the other as they are the same thing dsatawise
2020-10-05 14:48:26 +01:00