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 default domains into all service definitions #291

Merged
merged 4 commits into from
Jan 23, 2019
Merged

Conversation

ssalinas
Copy link
Member

The way the service state currently reads can often be misleading/incomplete. Currently Baragon will just assume that if a service's domain list doesn't specify a domain served by the current group it is being processed on, that the domain is the default for that group. When reading the service state json later, it does not include the default groups, which you then have to look up in baragon service.

This will add the default domain into the service state json for all new incoming requests as well as running a migration to hydrate existing state with default domains. This should be a no-op in terms of actual applied configs. I will still need to do a bit of testing to confirm that is the case

@ssalinas
Copy link
Member Author

Also fixed travis and got rid of a bunch of old Timed annotations we don't need anymore

@ssalinas ssalinas merged commit 16f8b16 into master Jan 23, 2019
@ssalinas ssalinas deleted the default_domains branch January 23, 2019 14:03
@ssalinas ssalinas added this to the 0.8.0 milestone May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant