-
Notifications
You must be signed in to change notification settings - Fork 290
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
feat(host): Add host set information to static host #1828
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also return the host's sets as a response to the UpdateHost call.
internal/db/schema/migrations/oss/postgres/25/01_static_host_view.up.sql
Show resolved
Hide resolved
internal/servers/controller/handlers/hosts/host_service_test.go
Outdated
Show resolved
Hide resolved
internal/db/schema/migrations/oss/postgres/25/01_static_host_view.up.sql
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks really good! I left a couple of nits and comments, lets chat tomorrow about updating the interface!
Updates LookupHost and ListHost API to include sets a static host is part of, as like with plugin hosts.
ddb15a5
to
1d52924
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great progress!
…r race conditions
1d52924
to
f6ab326
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks close!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! Please remember to ensure the db directory doesn't conflict with one that might have already been submitted.
Updates LookupHost and ListHost API to include sets a static host is part of, as like with plugin hosts.