consuldotnet icon indicating copy to clipboard operation
consuldotnet copied to clipboard

Support access to Connect services

Open LaoArchAngel opened this issue 4 years ago • 5 comments

One of the major features and offerings by Consul is the Connect service-mesh that provides secure communication between services. Both the HTTP API as well as the GO API provide a way to find these Connect services via the Catalog endpoint / object and would be very useful for dotnet apps trying to use these concepts as well.

https://www.consul.io/api/catalog#list-nodes-for-connect-capable-service https://pkg.go.dev/github.com/hashicorp/consul/api#Catalog.Connect

I will be working on a PR for this if it's not already on someone's list as it's needed by my employer, but input would be very appreciated!

LaoArchAngel avatar Jul 15 '21 00:07 LaoArchAngel

Thanks for the report.

I will be working on a PR for this if it's not already on someone's list

I doubt that's the case, so your contribution will be much welcome. I cannot easily find which version of Consul introduced this API, do you happen to know this?

Looking forward to your PR.

mfkl avatar Jul 15 '21 06:07 mfkl

I do not know the version; that is a good question. But their introduction video was published in 2018 so I'm assuming it was around that time?

LaoArchAngel avatar Jul 15 '21 16:07 LaoArchAngel

It looks like it was introduced as a beta in v1.2.0.

jgiannuzzi avatar Jul 16 '21 10:07 jgiannuzzi

Just wanted to give a bit of a heads up that my company has bumped this down in priority for a short time. It's still on my plate but I won't be able to get to it immediately. I have something that I think is worth testing soon, but I'll have to set up a working test environment first.

LaoArchAngel avatar Aug 05 '21 22:08 LaoArchAngel

@LaoArchAngel How far did you get on this? Any chance you could share what you have, even though it is incomplete?

steingran avatar Aug 09 '22 00:08 steingran