-
Notifications
You must be signed in to change notification settings - Fork 24
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 on_connect callback to mqtt listener #1033
Merged
olekoliinyk
merged 1 commit into
main
from
olekoliinyk/add_on_connect_callback_to_mqtt_listener
Dec 19, 2024
Merged
Add on_connect callback to mqtt listener #1033
olekoliinyk
merged 1 commit into
main
from
olekoliinyk/add_on_connect_callback_to_mqtt_listener
Dec 19, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
olekoliinyk
force-pushed
the
olekoliinyk/add_on_connect_callback_to_mqtt_listener
branch
from
December 17, 2024 15:50
1cd91a2
to
22fad2f
Compare
olekoliinyk
force-pushed
the
olekoliinyk/add_on_connect_callback_to_mqtt_listener
branch
from
December 17, 2024 17:11
22fad2f
to
3f259dc
Compare
olekoliinyk
force-pushed
the
olekoliinyk/add_on_connect_callback_to_mqtt_listener
branch
from
December 18, 2024 08:36
7eb3cec
to
2813a16
Compare
olekoliinyk
force-pushed
the
olekoliinyk/add_on_connect_callback_to_mqtt_listener
branch
from
December 18, 2024 09:38
2813a16
to
7ef1f81
Compare
olekoliinyk
force-pushed
the
olekoliinyk/add_on_connect_callback_to_mqtt_listener
branch
from
December 18, 2024 10:27
7ef1f81
to
bae9dc7
Compare
Jauler
previously approved these changes
Dec 18, 2024
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.
+1.0
olekoliinyk
force-pushed
the
olekoliinyk/add_on_connect_callback_to_mqtt_listener
branch
from
December 18, 2024 11:57
bae9dc7
to
739fce0
Compare
gytsto
reviewed
Dec 18, 2024
olekoliinyk
force-pushed
the
olekoliinyk/add_on_connect_callback_to_mqtt_listener
branch
from
December 18, 2024 14:54
739fce0
to
84459c6
Compare
olekoliinyk
force-pushed
the
olekoliinyk/add_on_connect_callback_to_mqtt_listener
branch
from
December 18, 2024 16:02
84459c6
to
f64f91d
Compare
olekoliinyk
force-pushed
the
olekoliinyk/add_on_connect_callback_to_mqtt_listener
branch
from
December 18, 2024 16:41
f64f91d
to
ca26687
Compare
olekoliinyk
force-pushed
the
olekoliinyk/add_on_connect_callback_to_mqtt_listener
branch
from
December 18, 2024 19:42
ca26687
to
e7e2887
Compare
olekoliinyk
force-pushed
the
olekoliinyk/add_on_connect_callback_to_mqtt_listener
branch
from
December 18, 2024 20:38
e7e2887
to
1c4209b
Compare
gytsto
approved these changes
Dec 19, 2024
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 good +1
olekoliinyk
deleted the
olekoliinyk/add_on_connect_callback_to_mqtt_listener
branch
December 19, 2024 09:27
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
test_nc_register
fails in the nightly pipeline because the MQTT listener is not yet connected to the broker when the POST request is sent to register the machine.Solution
Add
on_connect
callback to the MQTT listener that logs a message confirming the connection to the MQTT broker. In the test, wait for this confirmation message before sending the POST request to thecore-api
.☑️ Definition of Done checklist