-
Notifications
You must be signed in to change notification settings - Fork 15
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
ActivityLog searching by metadata BE implementation #3059
Open
gagandeepb
wants to merge
15
commits into
main
Choose a base branch
from
searching-by-metadata-impl
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gagandeepb
changed the title
Searching by metadata BE implementation
ActivityLog searching by metadata BE implementation
Oct 10, 2024
gagandeepb
force-pushed
the
searching-by-metadata-impl
branch
2 times, most recently
from
October 16, 2024 12:56
302074d
to
44be4b1
Compare
gagandeepb
commented
Oct 23, 2024
lib/trento/postgrex/jsonpath.ex
Outdated
@@ -0,0 +1,39 @@ | |||
defmodule Trento.Postgrex.Jsonpath do |
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.
Adapted from here.
gagandeepb
force-pushed
the
searching-by-metadata-impl
branch
from
November 6, 2024 11:32
ca819c2
to
199410e
Compare
gagandeepb
commented
Nov 6, 2024
gagandeepb
added
enhancement
New feature or request
elixir
Pull requests that update Elixir code
labels
Nov 8, 2024
nelsonkopliku
force-pushed
the
searching-by-metadata-impl
branch
from
November 11, 2024 09:40
dce42cb
to
22ab724
Compare
nelsonkopliku
approved these changes
Nov 11, 2024
Containment is preferred over Existence.
This is needed to support the Postgres Jsonpath type.
...for search by metadata. Specifically, this adds functions that validate the search string and then parse it into the format expected by Jsonpath. This implementation can be extended to do key:value look ups as well as range/numeric equality look ups on integer fields at a later point.
... to the activity logs endpoint.
Makes capture binding late instead of early
...by breaking it into two
commit 16dc8856c5c7e2f4f3f86d5a2a35ca8c055ea370 Author: Gagandeep Bhatia <gagandeep.bhatia@suse.com> Date: Tue Nov 5 12:00:40 2024 +0100 Adds tests - Adapts the public interface of the parse module a bit to allow better inspection of failing parse cases. - Parse failure is now an info level log message. - Adds tests cases for parse success and failure commit 5aa83a4d764682d5e40b8f2174539c89bc4c8fec Author: Gagandeep Bhatia <gagandeep.bhatia@suse.com> Date: Wed Oct 23 14:40:19 2024 +0200 Connects new parser implementation ... to the context module commit df0065d127d7d6ce59cd1e7a10aac5dce2140b2c Author: Gagandeep Bhatia <gagandeep.bhatia@suse.com> Date: Wed Oct 23 13:25:02 2024 +0200 PoC PEG based query parser Implements a parsing expression grammar (PEG) based metadata query parser that turns search strings into valid jsonpath expressions
This adds expected parses for given test cases to assert against
- support for Numeric ranges - Additional characters that the search regex will now accept - Tests fixed - Credo fixed
nelsonkopliku
force-pushed
the
searching-by-metadata-impl
branch
from
November 11, 2024 12:53
22ab724
to
1d7c32a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Searching by metadata BE implementation.