Skip to content

refactor: isolate index handling to BulkDependentResource interface #1517

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No 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? No Sign in to your account

Merged
merged 2 commits into from
Oct 5, 2022

Conversation

metacosm
Copy link
Collaborator

@metacosm metacosm commented Oct 4, 2022

No description provided.


protected List<ResourceDiscriminator<R, P>> resourceDiscriminator = new ArrayList<>(1);
private ResourceDiscriminator<R, P> resourceDiscriminator;
private int currentCount;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we address this global variable in this PR, or rather should make a separate one?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I would say in a different PR but we can do it here if it makes more sense.

Copy link
Collaborator

Choose a reason for hiding this comment

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

sure np

@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 5, 2022

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 23 Code Smells

25.6% 25.6% Coverage
0.0% 0.0% Duplication

Copy link
Collaborator

@csviri csviri left a comment

Choose a reason for hiding this comment

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

LGTM

@csviri csviri merged commit cf222ea into next Oct 5, 2022
@csviri csviri deleted the isolate-index-2 branch October 5, 2022 10:18
metacosm added a commit that referenced this pull request Oct 7, 2022
* feat: decouple event source from cache + list discriminator (#1378)

* feat: bulk dependent resources (#1448)

* feat: optional eventsource on dependent resources (#1479)

* refactor: simplify handling of reused event sources (#1518)



Co-authored-by: Chris Laprun <metacosm@gmail.com>

* refactor: isolate index handling to BulkDependentResource interface (#1517)

* feat: key based bulk resource creation (#1521)

* improvement: bulk dependent resource api

* merge

Co-authored-by: Chris Laprun <metacosm@gmail.com>
Co-authored-by: Chris Laprun <metacosm@users.noreply.github.com>
csviri added a commit that referenced this pull request Oct 19, 2022
* feat: decouple event source from cache + list discriminator (#1378)

* feat: bulk dependent resources (#1448)

* feat: optional eventsource on dependent resources (#1479)

* refactor: simplify handling of reused event sources (#1518)



Co-authored-by: Chris Laprun <metacosm@gmail.com>

* refactor: isolate index handling to BulkDependentResource interface (#1517)

* feat: key based bulk resource creation (#1521)

* improvement: bulk dependent resource api

* merge

Co-authored-by: Chris Laprun <metacosm@gmail.com>
Co-authored-by: Chris Laprun <metacosm@users.noreply.github.com>
csviri added a commit that referenced this pull request Oct 21, 2022
* feat: decouple event source from cache + list discriminator (#1378)

* feat: bulk dependent resources (#1448)

* feat: optional eventsource on dependent resources (#1479)

* refactor: simplify handling of reused event sources (#1518)



Co-authored-by: Chris Laprun <metacosm@gmail.com>

* refactor: isolate index handling to BulkDependentResource interface (#1517)

* feat: key based bulk resource creation (#1521)

* improvement: bulk dependent resource api

* merge

Co-authored-by: Chris Laprun <metacosm@gmail.com>
Co-authored-by: Chris Laprun <metacosm@users.noreply.github.com>
csviri added a commit that referenced this pull request Oct 25, 2022
* feat: decouple event source from cache + list discriminator (#1378)

* feat: bulk dependent resources (#1448)

* feat: optional eventsource on dependent resources (#1479)

* refactor: simplify handling of reused event sources (#1518)



Co-authored-by: Chris Laprun <metacosm@gmail.com>

* refactor: isolate index handling to BulkDependentResource interface (#1517)

* feat: key based bulk resource creation (#1521)

* improvement: bulk dependent resource api

* merge

Co-authored-by: Chris Laprun <metacosm@gmail.com>
Co-authored-by: Chris Laprun <metacosm@users.noreply.github.com>
csviri added a commit that referenced this pull request Oct 28, 2022
* feat: decouple event source from cache + list discriminator (#1378)

* feat: bulk dependent resources (#1448)

* feat: optional eventsource on dependent resources (#1479)

* refactor: simplify handling of reused event sources (#1518)



Co-authored-by: Chris Laprun <metacosm@gmail.com>

* refactor: isolate index handling to BulkDependentResource interface (#1517)

* feat: key based bulk resource creation (#1521)

* improvement: bulk dependent resource api

* merge

Co-authored-by: Chris Laprun <metacosm@gmail.com>
Co-authored-by: Chris Laprun <metacosm@users.noreply.github.com>
csviri added a commit that referenced this pull request Oct 31, 2022
* feat: decouple event source from cache + list discriminator (#1378)

* feat: bulk dependent resources (#1448)

* feat: optional eventsource on dependent resources (#1479)

* refactor: simplify handling of reused event sources (#1518)



Co-authored-by: Chris Laprun <metacosm@gmail.com>

* refactor: isolate index handling to BulkDependentResource interface (#1517)

* feat: key based bulk resource creation (#1521)

* improvement: bulk dependent resource api

* merge

Co-authored-by: Chris Laprun <metacosm@gmail.com>
Co-authored-by: Chris Laprun <metacosm@users.noreply.github.com>
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants