Add and use Metadata in ConsulDiscoveryOptions#1167
Conversation
|
Thank you for this PR. Since this PR is targeting main which will be release 4.x , we can deprecate the previous functionality with parsing tags as metadata. For functionality such as default groups, as well as property names, we should match as closely as possible the functionality described here: so Metadata for us. The prefix stays same as what is currently i.e. |
|
Thanks for your response, @hananiel! I've completed my first attempt at the implementation. Scope:
Please let me know if something needs to be adjusted or changed. Thanks a lot in advance! |
hananiel
left a comment
There was a problem hiding this comment.
@cieciurm This looks good. Would you like to take a crack at updating the docs as well? The v4 docs are on this branch: https://github.com/SteeltoeOSS/Documentation/tree/v4
|
Thanks, @hananiel! You got it! |
Description
Hello!
Thank you for delivering Steeltoe 😄 .
I was browsing through the
good first issuelabel and wanted to contribue a change for #438.I'd like to open discussions on the goals and some details regarding implementation before executing it without the alignment.
Here are my thoughts:
ConsulDiscoveryOptionshas a property calledTags(list of strings)key=valuegroup,instance zone)ConsulRegistration:Here are my questions:
ConsulDiscoveryOptions, f.e. for backwards compatibility?group,instance zone)ConsulDiscoveryOptions- should it beMetadata(well-known term) orMeta(Consul'sAgentServiceRegistrationpropety is calledMeta)I hope, it's not too much - but I wanted to clarify before jumping to code immediately.
Once confirmed and agreed, I will finish the implementation (obviously including tests etc.).
Thanks in advance 😄 !
Fixes #438
Quality checklist
If your change affects other repositories, such as Documentation, Samples and/or MainSite, add linked PRs here.