-
Notifications
You must be signed in to change notification settings - Fork 4
Feature/list all endpoints as default function #175
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
Feature/list all endpoints as default function #175
Conversation
Remove convenience functionality. Format.
Remove convenience functionality. Format.
Add functions to fetch all message headers from the feed. Format
Frank-Wiebeler
left a comment
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 fix the CI first.
|
@Frank-Wiebeler fixed by re-running ;-) |
|
@saschadoemer So, looks like we did it twice and it worked ones ;) |
Frank-Wiebeler
left a comment
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 check the comments
...impl/src/main/java/com/dke/data/agrirouter/impl/messaging/mqtt/ListEndpointsServiceImpl.java
Outdated
Show resolved
Hide resolved
...impl/src/main/java/com/dke/data/agrirouter/impl/messaging/mqtt/ListEndpointsServiceImpl.java
Outdated
Show resolved
Hide resolved
| * @param onboardingResponse The onboard response for the endpoint. | ||
| * @return The message ID. | ||
| */ | ||
| String listAllWithExistingRoute(OnboardingResponse onboardingResponse); |
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.
As this is only the requesting function and does not directly return the endpoint list, a name that starts with request would be more accurate.
requestAllWithExistingRoute() or requestAllEndpointsWithExistingRoute()
requestAll() or requestAllEndpoints()
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.
Since 'request' is based on the HTTP terminology. I would like to stay with the current name. Resolve the conversation if this is fine.
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.
Good point, what about queue? ;-)
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.
I would like to keep the same name for both of the services and therefore, stick with the current name.
...impl/src/main/java/com/dke/data/agrirouter/impl/messaging/rest/ListEndpointsServiceImpl.java
Outdated
Show resolved
Hide resolved
...impl/src/main/java/com/dke/data/agrirouter/impl/messaging/rest/ListEndpointsServiceImpl.java
Outdated
Show resolved
Hide resolved
Frank-Wiebeler
left a comment
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.
Awesome :)
No description provided.