Skip to content

Updated object store with Filtering and Pagination#287

Merged
pavan-traceable merged 15 commits intomainfrom
filtering-pagination-support-objectstore
Apr 17, 2025
Merged

Updated object store with Filtering and Pagination#287
pavan-traceable merged 15 commits intomainfrom
filtering-pagination-support-objectstore

Conversation

@pavan-traceable
Copy link
Copy Markdown
Contributor

Description

Updaed IdentifiedObjectStore With Filtering and Pagination.

@pavan-traceable pavan-traceable requested a review from a team as a code owner April 15, 2025 14:26
Base automatically changed from filtering-pagination-support-impl to main April 15, 2025 16:00
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 15, 2025

Test Results

135 tests  ±0   135 ✅ ±0   1m 4s ⏱️ -1s
 31 suites ±0     0 💤 ±0 
 31 files   ±0     0 ❌ ±0 

Results for commit 272b144. ± Comparison against base commit e693d99.

♻️ This comment has been updated with latest results.

configChangeEventGenerator,
clientConfig);
this.configServiceBlockingStub = configServiceBlockingStub;
this.resourceName = resourceName;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

So this is why you initially had that method it in the IdentifiedObjectStore I'm guessing. Rather than shadowing these variables in the subclass, could we just set them to package private in IdentifiedObjectStore?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yes, may be i should have explained to you then itself.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry I should be clearer with my comments - by setting "them" package private I meant the declarations of the variables from IdentifiedObjectStore that you were shadowing in this subclass.

I would still keep the filter impl in this subclass because that's actually the method doing what this class is built/named for - pushing down the filter.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I have kept methods here and added variables also here. Make variables package private in IdentifiedObjectStore leading to errors in ContextuallyIdentifiedObjectStore.
Cannot reference 'IdentifiedObjectStore.configServiceBlockingStub' before superclass constructor is called

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

That's just a name clash since that inner class is referencing unrelated parent class variables
image

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 17, 2025

Codecov Report

Attention: Patch coverage is 0% with 39 lines in your changes missing coverage. Please review.

Project coverage is 75.73%. Comparing base (7a59a85) to head (272b144).
Report is 32 commits behind head on main.

Files with missing lines Patch % Lines
...ctstore/IdentifiedFilterPushedDownObjectStore.java 0.00% 39 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #287      +/-   ##
============================================
- Coverage     79.93%   75.73%   -4.21%     
- Complexity      496      556      +60     
============================================
  Files            55       63       +8     
  Lines          2432     2839     +407     
  Branches        108      134      +26     
============================================
+ Hits           1944     2150     +206     
- Misses          427      607     +180     
- Partials         61       82      +21     
Flag Coverage Δ
integration 75.73% <0.00%> (-4.21%) ⬇️
unit 73.60% <0.00%> (-4.87%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@pavan-traceable pavan-traceable merged commit 68982ae into main Apr 17, 2025
9 of 11 checks passed
@pavan-traceable pavan-traceable deleted the filtering-pagination-support-objectstore branch April 17, 2025 12:40
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.

2 participants