-
Notifications
You must be signed in to change notification settings - Fork 54
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: API discovery handler #2109
Conversation
You can find the image built from this PR at
Built from 5bc1729 |
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.
In general I like the way you do! Thank you for taking previous criticism such a positive way.
I have some questions transformed into comments.
In filter postput handler I think we miss the handler call... hence the request for change. Otherwise happy to approve.
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.
In general it looks great!
However, I wonder if we could adapt it a little bit.
I've added a few comments that I hope are useful.
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.
Thank you! I think all these a great step forward for a cleaner architecture.
... meanwhile thinking of / whishing for IoC/DI style that is quite applicable in such cases.
(if you happen to know Java reflection and how spring boot can utilize - but even I studied such solutions for c++, also possible even though not that slim and nice).
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.
After a chat with @SionoiS, I now understand better the purpose of the PR and it looks good to me.
Thanks!
I will make the changes suggested by @Ivansete-status and then we gucci. |
743e78c
to
1b77aeb
Compare
added defaults other apis Added timeout & missing call to disco Error Msgs
6d03caf
to
7e5d40b
Compare
Description
REST APIs now take an optional handler that is responsible for discovery of peer if needed.
Changes
Tracking #1941