Skip to content

feat: add a DependentResource implementation that's also an EventSource #1093

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

Closed
wants to merge 15 commits into from

Conversation

metacosm
Copy link
Collaborator

@metacosm metacosm commented Mar 26, 2022

The benefit of this change is multi-fold:

  • simplifies AbstractDependentResource which doesn't have to handle
    cases it should not be concerned about
  • allows to share more code with AbstractSimpleDependentResource
  • enforces that the same name is used for the DependentResource and
    EventSource even in the standalone mode when using one of the provided
    implementations

Note that this relies on #1058.

@metacosm metacosm self-assigned this Mar 26, 2022
@metacosm metacosm requested a review from csviri March 26, 2022 16:15
@metacosm metacosm changed the base branch from more-cdi-dependents to main March 26, 2022 20:23
@metacosm metacosm force-pushed the dependent-event-source branch from 8fae1ee to 863e571 Compare March 26, 2022 23:26
@metacosm metacosm force-pushed the dependent-event-source branch from 3ed9843 to 03b6d0d Compare March 27, 2022 19:10
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

6.3% 6.3% Coverage
0.0% 0.0% Duplication

@metacosm metacosm closed this Mar 27, 2022
@metacosm metacosm deleted the dependent-event-source branch March 27, 2022 19:21
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.

1 participant