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

feat: use events to decouple services #245

Conversation

paullatzelsperger
Copy link
Member

@paullatzelsperger paullatzelsperger commented Jan 29, 2024

What this PR changes/adds

This PR introduces events, which are emitted by services, to decrease service coupling.

Specifically these services emit events:

  • participantContextService
  • KeyPairService
  • VerifiableCredentialService

Why it does that

Decrease service coupling

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Linked Issue(s)

Closes #232

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@paullatzelsperger paullatzelsperger added the enhancement New feature or request label Jan 29, 2024
@paullatzelsperger paullatzelsperger force-pushed the feat/232_use_events_to_decouple_services branch from eb8451f to 4b02a34 Compare January 30, 2024 07:21
@paullatzelsperger paullatzelsperger marked this pull request as ready for review January 30, 2024 13:33
Copy link
Contributor

@jimmarino jimmarino left a comment

Choose a reason for hiding this comment

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

Some wording comments. I also noticed there are some incomplete Jackson serialization annotations - these should either be removed or full annotations and tests should be added.

@paullatzelsperger paullatzelsperger marked this pull request as ready for review January 30, 2024 15:25
@paullatzelsperger paullatzelsperger merged commit a2f6cdb into eclipse-edc:main Jan 30, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor: decouple ParticipantContextService using events
3 participants