Skip to content

bulk dependent resources #1448

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 48 commits into from
Sep 29, 2022
Merged

bulk dependent resources #1448

merged 48 commits into from
Sep 29, 2022

Conversation

csviri
Copy link
Collaborator

@csviri csviri commented Sep 9, 2022

Index based bulk dependent resource creation Prototype in AbstractDependentResource.

Docs will be added as a separate PR

Depends on: #1378

@csviri csviri self-assigned this Sep 9, 2022
@csviri csviri changed the base branch from next to decouple-event-source-from-cache September 9, 2022 06:44
@csviri csviri force-pushed the decouple-event-source-from-cache branch from 01f6512 to c617cc0 Compare September 9, 2022 09:06
@csviri csviri force-pushed the bulk-dependent-resources branch from 4427cdf to 280c7ef Compare September 9, 2022 09:08
@csviri csviri changed the base branch from decouple-event-source-from-cache to next September 9, 2022 09:18
@csviri csviri changed the title Bulk dependent resources [wip] bulk dependent resources Sep 9, 2022
@csviri csviri force-pushed the bulk-dependent-resources branch 2 times, most recently from c464c7f to a833710 Compare September 20, 2022 12:59
@csviri csviri marked this pull request as ready for review September 21, 2022 13:03
@csviri csviri changed the title [wip] bulk dependent resources bulk dependent resources Sep 21, 2022
@csviri csviri force-pushed the bulk-dependent-resources branch from 90321fa to 1240458 Compare September 22, 2022 13:12
@csviri csviri force-pushed the bulk-dependent-resources branch from 1240458 to 3d07b2e Compare September 27, 2022 07:51
private final List<ResourceDiscriminator<R, P>> resourceDiscriminator = new ArrayList<>(1);
private final BulkDependentResource<R, P> bulkDependentResource;
private ResourceDiscriminator<R, P> resourceDiscriminator;
private int currentCount;
Copy link
Collaborator Author

@csviri csviri Sep 29, 2022

Choose a reason for hiding this comment

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

Hmm, now just thinking this is singleton, we should not have global vars here, like the count

@metacosm metacosm force-pushed the bulk-dependent-resources branch from 06c5142 to 1d303a0 Compare September 29, 2022 13:23
metacosm and others added 3 commits September 29, 2022 15:27
@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 17 Code Smells

29.0% 29.0% Coverage
0.0% 0.0% Duplication

@csviri csviri merged commit 7c66c05 into next Sep 29, 2022
@csviri csviri deleted the bulk-dependent-resources branch September 29, 2022 14:31
csviri added a commit that referenced this pull request Oct 3, 2022
csviri added a commit that referenced this pull request Oct 4, 2022
csviri added a commit that referenced this pull request Oct 4, 2022
@csviri csviri linked an issue Oct 5, 2022 that may be closed by this pull request
csviri added a commit that referenced this pull request Oct 6, 2022
csviri added a commit that referenced this pull request Oct 6, 2022
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
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
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
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
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
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