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 - 2435 - Merge invitations into domains service #2676

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

Conversation

felixgateru
Copy link
Contributor

@felixgateru felixgateru commented Jan 31, 2025

What type of PR is this?

This is a refactor as it merges the invitations service into the domains service.

What does this do?

This pr removes the invitations service as a standalone service and moves functionality into the domains service.

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

Have you included tests for your changes?

Yes, I have updated all relevant tests.

Did you document any new/modified feature?

Yes, in code documenation is included.

Notes

None.

@felixgateru felixgateru force-pushed the mg2435-invitations branch 4 times, most recently from 2b8435b to 46ce73d Compare February 4, 2025 08:51
Copy link

codecov bot commented Feb 4, 2025

Codecov Report

Attention: Patch coverage is 45.69106% with 668 lines in your changes missing coverage. Please review.

Project coverage is 36.85%. Comparing base (3cb41fa) to head (7455631).
Report is 15 commits behind head on main.

Files with missing lines Patch % Lines
domains/mocks/repository.go 0.00% 102 Missing ⚠️
domains/middleware/logging.go 0.00% 85 Missing ⚠️
domains/events/events.go 0.00% 80 Missing ⚠️
domains/middleware/authorization.go 0.00% 80 Missing ⚠️
domains/events/streams.go 0.00% 72 Missing ⚠️
domains/api/http/endpoint.go 55.73% 41 Missing and 13 partials ⚠️
domains/tracing/tracing.go 0.00% 49 Missing ⚠️
domains/mocks/service.go 53.33% 18 Missing and 24 partials ⚠️
domains/middleware/metrics.go 0.00% 36 Missing ⚠️
domains/postgres/invitations.go 78.69% 24 Missing and 12 partials ⚠️
... and 5 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2676      +/-   ##
==========================================
- Coverage   43.87%   36.85%   -7.03%     
==========================================
  Files         350      295      -55     
  Lines       45718    42990    -2728     
==========================================
- Hits        20059    15844    -4215     
- Misses      23438    25924    +2486     
+ Partials     2221     1222     -999     

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

@felixgateru felixgateru marked this pull request as ready for review February 4, 2025 10:40
@felixgateru felixgateru requested a review from a team as a code owner February 4, 2025 10:40
@dborovcanin
Copy link
Collaborator

@arvindh123 Please review.

domains/middleware/authorization.go Outdated Show resolved Hide resolved
domains/postgres/init.go Outdated Show resolved Hide resolved
@dborovcanin
Copy link
Collaborator

@arvindh123 Please re-review.

domains/api/http/invitations.go Outdated Show resolved Hide resolved
domains/events/events.go Outdated Show resolved Hide resolved
domains/postgres/init.go Outdated Show resolved Hide resolved
@felixgateru felixgateru force-pushed the mg2435-invitations branch 2 times, most recently from aadf5b7 to 8cd3cb6 Compare February 6, 2025 12:16
domains/api/http/transport.go Outdated Show resolved Hide resolved
@felixgateru felixgateru force-pushed the mg2435-invitations branch 2 times, most recently from e693882 to 0e5ae37 Compare February 6, 2025 15:56
domains/api/http/transport.go Outdated Show resolved Hide resolved
@felixgateru felixgateru force-pushed the mg2435-invitations branch 2 times, most recently from 77fc6b3 to 4f74a2c Compare February 7, 2025 04:34
domains/api/http/transport.go Outdated Show resolved Hide resolved
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.

Merge invitations into domains service
3 participants