Daniel Nephin
ab43236f86
proto: remove Event.Namespace field
...
All events are part of a single Topic, so we don't need this field.
2020-10-28 16:33:00 -04:00
Daniel Nephin
dbdc21c499
proto: Add SubscribeRequest.Namespace
...
For subscribing to service events in a namespace
2020-10-28 16:32:59 -04:00
Daniel Nephin
dbfa6530f1
streaming: store services with a unique ID that includes namespace
2020-10-06 16:54:56 -04:00
Daniel Nephin
9ace9a5d2e
proto: add Namespace to EnterpriseMeta
...
By adding Namespace to the OSS EnterpriseMeta we reduce the differences between OSS and Enterprise
which simplifies the code quite a bit.
2020-10-06 16:42:09 -04:00
Daniel Nephin
ae433947a4
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
c06954bebd
proto: fix RoundTrip test for enterprise ( #8826 )
2020-10-06 08:55:50 -05:00
Daniel Nephin
754a1bbe24
Update proto for change to stream framing events
2020-10-02 13:41:32 -04:00
Daniel Nephin
6cf8e09b7d
proto: Add a round trip test for converting types
2020-09-28 18:28:37 -04:00
Daniel Nephin
b6e253e352
proto: add code to convert between protobuf types and structs types
...
For streaming service health events.
Code generated using mog.
2020-09-28 18:28:37 -04:00
Daniel Nephin
b4c48d4417
proto: add convert function for protobuf/types.Struct
...
Co-authored-by: Paul Banks <banks@banksco.de>
2020-09-28 18:28:36 -04:00
Daniel Nephin
b6e2eca8f8
proto: split pbservice into multiple files
...
There are many types in this package, splitting them into node, service, healthcheck helps show the
relationship between these types.
2020-09-24 15:14:27 -04:00
Daniel Nephin
df0bc21619
proto: Add protos for subscribing to service health events.
...
Co-authored-by: Paul Banks <banks@banksco.de>
2020-09-24 15:09:17 -04:00
Matt Keeler
335c604ced
Merge of auto-config and auto-encrypt code ( #8523 )
...
auto-encrypt is now handled as a special case of auto-config.
This also is moving all the cert-monitor code into the auto-config package.
2020-08-31 13:12:17 -04:00
Daniel Nephin
21ea9948d4
Generate Go files using protobuf 3.12.3
2020-07-29 12:11:51 -04:00
Matt Keeler
dad0f189a2
Agent Auto Config: Implement Certificate Generation ( #8360 )
...
Most of the groundwork was laid in previous PRs between adding the cert-monitor package to extracting the logic of signing certificates out of the connect_ca_endpoint.go code and into a method on the server.
This also refactors the auto-config package a bit to split things out into multiple files.
2020-07-28 15:31:48 -04:00
Matt Keeler
c3e7d689b7
Refactor the agentpb package ( #8362 )
...
First move the whole thing to the top-level proto package name.
Secondly change some things around internally to have sub-packages.
2020-07-23 11:24:20 -04:00