Skip to content
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

NOISSUE - Add Readers and Consumers SDK #33

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

felixgateru
Copy link
Contributor

What type of PR is this?

This is a feature as it adds Readers and Consumers SDK.

What does this do?

This pr adds the Readers and consumer sdk files as well as respective tests.

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

Have you included tests for your changes?

Did you document any new/modified feature?

Notes

Related to pr: absmach/supermq#2641

@felixgateru felixgateru force-pushed the noissue-readersSDK branch 5 times, most recently from d39b9b0 to fe9a2ee Compare January 10, 2025 15:25
@felixgateru felixgateru marked this pull request as ready for review January 10, 2025 15:31
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 55.43%. Comparing base (ec71a5e) to head (3c24d99).

Files with missing lines Patch % Lines
consumers/notifiers/service.go 33.33% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #33       +/-   ##
===========================================
+ Coverage   23.93%   55.43%   +31.50%     
===========================================
  Files          79       61       -18     
  Lines       12433     5334     -7099     
===========================================
- Hits         2976     2957       -19     
+ Misses       9116     2049     -7067     
+ Partials      341      328       -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

// Notifier represents an API for sending notification.
//
//go:generate mockery --name Notifier --output=./mocks --filename notifier.go --quiet --note "Copyright (c) Abstract Machines"
type Notifier interface {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's OK to keep the Notifier service (CRUD for Subscriptions) in Magistrala, but please move the Notifier interface to SuperMQ /consumers package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants