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: query policydefinition, contractdefinition via privateProperties #3691

Conversation

suh-rao
Copy link
Contributor

@suh-rao suh-rao commented Dec 6, 2023

What this PR changes/adds

Search policydefinition, contractdefinition via privateProperties

Why it does that

PrivateProperties are stored in policydefinition, contractdefinition as json values. It is necessary to support search/query function via these stored json values.

Linked Issue(s)

Closes #3623

@codecov-commenter
Copy link

codecov-commenter commented Dec 6, 2023

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (7f20ba5) 71.74% compared to head (daa052d) 71.75%.

❗ Current head daa052d differs from pull request most recent head 85ee2a0. Consider uploading reports for the commit 85ee2a0 to get more accurate results

Files Patch % Lines
...ctdefinition/ContractDefinitionQueryValidator.java 66.66% 1 Missing and 1 partial ⚠️
...licydefinition/PolicyDefinitionQueryValidator.java 83.33% 0 Missing and 1 partial ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3691      +/-   ##
==========================================
+ Coverage   71.74%   71.75%   +0.01%     
==========================================
  Files         919      921       +2     
  Lines       18457    18477      +20     
  Branches     1037     1039       +2     
==========================================
+ Hits        13242    13259      +17     
- Misses       4756     4757       +1     
- Partials      459      461       +2     

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

@suh-rao suh-rao marked this pull request as ready for review December 12, 2023 13:50
@suh-rao
Copy link
Contributor Author

suh-rao commented Dec 12, 2023

can label be assigned to this PR?. Apart from that PR is ready. Unit test, endtoend tests are there for query.

…ition_via_properties' into feat/search_policy_contractdefinition_via_properties
@suh-rao suh-rao requested a review from ndr-brt December 21, 2023 15:08
@suh-rao suh-rao requested a review from ndr-brt December 22, 2023 11:29
@suh-rao suh-rao requested a review from jimmarino January 2, 2024 14:32
@suh-rao
Copy link
Contributor Author

suh-rao commented Jan 2, 2024

@jimmarino Please check it

@jimmarino
Copy link
Contributor

@jimmarino Please check it

Check what? If you want me to re-review the PR, please resolve the open issues and re-request the review.

@suh-rao
Copy link
Contributor Author

suh-rao commented Jan 9, 2024

@jimmarino Please check it

Check what? If you want me to re-review the PR, please resolve the open issues and re-request the review.

I already resolved last 4 review comments you have given. @ndr-brt approved PR. If all ok for you, please approve.

@jimmarino
Copy link
Contributor

Please resolve the outstanding conversations and I will take another look.

@suh-rao
Copy link
Contributor Author

suh-rao commented Jan 9, 2024

Please resolve the outstanding conversations and I will take another look.

resolved.

@suh-rao suh-rao requested a review from jimmarino January 9, 2024 22:33
@jimmarino jimmarino merged commit f309832 into eclipse-edc:main Jan 10, 2024
17 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.

Feature Request: Add capability to search/query policies for given privateProperties filter value
4 participants