-
Notifications
You must be signed in to change notification settings - Fork 673
SMQ-2875 - Add listing entities by multiple tag values with support for AND/OR conditions #3154
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3154 +/- ##
===========================================
+ Coverage 35.54% 47.35% +11.80%
===========================================
Files 307 140 -167
Lines 39233 24063 -15170
===========================================
- Hits 13945 11394 -2551
+ Misses 24440 11960 -12480
+ Partials 848 709 -139 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
be99e80 to
27e50ee
Compare
clients/api/http/endpoints_test.go
Outdated
| token: validToken, | ||
| authnRes: smqauthn.Session{UserID: validID, DomainID: domainID, DomainUserID: domainID + "_" + validID, SuperAdmin: false}, | ||
| query: "list_perms=true&listPerms=true", | ||
| query: "metadata=%7B%22domain%22%3A%20%22example.com%22%7D&metadata=%7B%22domain%22%3A%20%22example.com%22%7D", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use url.PathEscape() instead of manually providing escaped path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@felixgateru This has not been addressed yet.
|
Please fix tests. |
d75749d to
f1d1812
Compare
Signed-off-by: Felix Gateru <[email protected]>
Signed-off-by: Felix Gateru <[email protected]>
Signed-off-by: Felix Gateru <[email protected]>
Signed-off-by: Felix Gateru <[email protected]>
Signed-off-by: Felix Gateru <[email protected]>
f1d1812 to
5b942ec
Compare
What type of PR is this?
This is a feature because it adds functionality to list entities by multiple tag values with support for AND/OR conditions
What does this do?
This pr:
Which issue(s) does this PR fix/relate to?
Have you included tests for your changes?
Yes, tests have been updated.
Did you document any new/modified feature?
Yes, in code documentation as well as updates to the OpenAPI spec are included
Notes