absmach / magistrala

Industrial IoT Messaging and Device Management Platform
https://www.abstractmachines.fr/magistrala.html
Apache License 2.0
2.49k stars 675 forks source link

MG-2507 - Update auth in readers service #2514

Closed felixgateru closed 2 weeks ago

felixgateru commented 2 weeks ago

What type of PR is this?

This is a bug fix because it fixes the following issue: #2507

What does this do?

This pr updates auth for the readers service with recent updates to auth.

Which issue(s) does this PR fix/relate to?

Have you included tests for your changes?

Yes, test files have been updated

Did you document any new/modified feature?

No,

Notes

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 70.27027% with 11 lines in your changes missing coverage. Please review.

Project coverage is 51.50%. Comparing base (a5059a7) to head (1ddbf37). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
pkg/sdk/mocks/sdk.go 0.00% 8 Missing :warning:
readers/api/transport.go 85.00% 2 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2514 +/- ## ========================================== - Coverage 53.62% 51.50% -2.12% ========================================== Files 332 98 -234 Lines 35433 12179 -23254 ========================================== - Hits 19001 6273 -12728 + Misses 14618 5449 -9169 + Partials 1814 457 -1357 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.