Ocelot icon indicating copy to clipboard operation
Ocelot copied to clipboard

Ocelot.Provider.Consul Support Tag

Open 842549829 opened this issue 5 years ago • 2 comments

Expected Behavior / New Feature

var queryResult = await _consul.Health.Service(_config.KeyOfServiceInConsul, string.Empty, true); Tag is string.Empty

Actual Behavior / Motivation for New Feature

Old "Routes":[ {"ServiceName":"ServiceName"} ] New { "Routes":[ { "Service":{ "Name":"ServiceName", "Tag":[ "v1", "v2", "v3" ], "Datacenter":"dc1" } } ] }

842549829 avatar Jul 24 '20 08:07 842549829

@842549829 What's your goal having Consul tags? Will you personally contribute to implement this feature?

raman-m avatar Mar 27 '24 13:03 raman-m

@ggnaegi I'm not sure, but this issue about adding new Tag property to Service entry model, right? If Yes, we could add the property.

raman-m avatar Mar 27 '24 13:03 raman-m

Dear @842549829, Update version to 23.3.0 With Consul Service Builder and Metadata features develop whatever you want. See more details in PR #2067

You have the right to reopen this issue in the future if you come with a PR ready

If you want official properties in route options then you have to contribute!

raman-m avatar Jun 15 '24 11:06 raman-m