Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add schema and default for getting all discovery servers instead of just one #290

Merged
merged 2 commits into from
Jan 9, 2024

Conversation

1000TurquoisePogs
Copy link
Member

The app-server had some behavior where it would sometimes contact the discovery server(s) from the value node.mediationLayer.server.hostname, and other times access from the environment variable ZWE_DISCOVERY_SERVICES_LIST which could contain multiple entries.

It is proper to use a list for discovery whenever possible as the server may need to contact multiple, or failover when one is not found.

Changing the meaning of "hostname" would be a breaking change. Therefore instead I have marked it as deprecated and introduced a new "discoveryUrls" array to clarify that multiple discovery servers may exist.

I have an uncertainty around the container behavior conditional, and will schedule an additional test on it.

Signed-off-by: 1000TurquoisePogs <[email protected]>
@1000TurquoisePogs 1000TurquoisePogs merged commit 8f17c7b into v2.x/staging Jan 9, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants