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

SMQ-2605: Groups replication with groups events consumer & listing of things and channels #2639

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

Conversation

arvindh123
Copy link
Contributor

@arvindh123 arvindh123 commented Jan 8, 2025

What type of PR is this?

This is a feature because it adds the following functionality:

  • Add common library which replicas groups with help groups events
  • Listing of things

What does this do?

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

Have you included tests for your changes?

Did you document any new/modified feature?

Notes

@arvindh123 arvindh123 force-pushed the consume_groups_events branch from ca260c1 to 7d8c494 Compare January 8, 2025 12:41
@@ -35,6 +35,9 @@ type Repository interface {
// RetrieveAll retrieves all clients.
RetrieveAll(ctx context.Context, pm Page) (ClientsPage, error)

// RetrieveUserThings retrieve all clients of a given user id.
RetrieveUserThings(ctx context.Context, domainID, userID string, pm Page) (ClientsPage, error)
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't this be RetrieveUserClients ?


if err := g.Wait(); err != nil {
return ClientsPage{}, err
cp, err := svc.repo.RetrieveUserThings(ctx, session.DomainID, session.UserID, pm)
Copy link
Contributor

Choose a reason for hiding this comment

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

same here ? svc.repo.RetrieveUserClients

@arvindh123 arvindh123 changed the title SMQ-2605: Groups replication with groups events consumer & listing of things SMQ-2605: Groups replication with groups events consumer & listing of things and channels Jan 10, 2025
@arvindh123 arvindh123 force-pushed the consume_groups_events branch from e4e2e32 to 751df62 Compare January 10, 2025 12:05
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