-
Notifications
You must be signed in to change notification settings - Fork 672
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
SMQ-2546 - Add events to adapters #2659
base: main
Are you sure you want to change the base?
Conversation
7778d73
to
b39d060
Compare
b39d060
to
a9c77e9
Compare
a9c77e9
to
f5d7ba7
Compare
Signed-off-by: Felix Gateru <[email protected]>
Signed-off-by: Felix Gateru <[email protected]>
f5d7ba7
to
badab49
Compare
Signed-off-by: Felix Gateru <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2659 +/- ##
==========================================
- Coverage 43.87% 37.06% -6.82%
==========================================
Files 350 113 -237
Lines 45718 16427 -29291
==========================================
- Hits 20059 6088 -13971
+ Misses 23438 9901 -13537
+ Partials 2221 438 -1783 ☔ View full report in Codecov by Sentry. |
0d1f132
to
5fd66b6
Compare
ws/handler.go
Outdated
switch { | ||
case strings.HasPrefix(string(s.Password), "Client"): | ||
token = strings.ReplaceAll(string(s.Password), "Client ", "") | ||
default: | ||
token = string(s.Password) | ||
} |
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.
Use extractClientSecret
instead.
Signed-off-by: Felix Gateru <[email protected]>
5fd66b6
to
cf13ed3
Compare
What type of PR is this?
This is a feature as it adds events to
coap
andws
and updates events inmqtt
.What does this do?
This pr adds
publish
,susbscribe
andunsubscribe
events to the adapters.Which issue(s) does this PR fix/relate to?
Have you included tests for your changes?
No
Did you document any new/modified feature?
Yes, in code docuementation is included
Notes
None