Repository navigation
Docs: CEL filters for commit log, entries, and references #5325 - #12946
Conversation
|
Closing. If review was optional, so is waiting. |
11b3558 to
7f0aa32
Compare
|
Reopened. Rebased onto current main and added encodedKey / size() examples from the issue thread. |
|
|
||
| Variables: | ||
|
|
||
| * `commit` with `author` (string), `committer` (string), `commitTime` (timestamp), |
There was a problem hiding this comment.
Could we use the same format in all section (compare to Entries)
There was a problem hiding this comment.
Switched commit log, references, and diff to the same table format as Entries.
|
|
||
| ## Tips | ||
|
|
||
| * Start from the OpenAPI examples on the `filter` parameter; those are the |
There was a problem hiding this comment.
Well, the idea behind #5325 was specifically to move examples from code / comments into docs... why add a reference back into code? 😉
There was a problem hiding this comment.
Dropped that. The examples stay on this page.
| Examples: | ||
|
|
||
| ``` | ||
| entry.namespace.startsWith('a.b.c') |
There was a problem hiding this comment.
Could you also add example for entry.encodedKey (from ClientSideGetMultipleNamespaces.java)?
There was a problem hiding this comment.
Added the encodedKey examples from GetMultipleNamespaces.
|
I'm planning to merge on Oct 2. |
|
CI fails with : It's unrelated to the change... Could a rebase help? 🤔 |
b9a69c7 to
ff165a3
Compare
|
Rebased onto current main, which has the mongo v9 bump from #13112. Let's see if the intTest jobs come up green now. |
|
Thanks @AzazelSensei |
Adds a docs page for CEL
filterexpressions on entries, commit log, references, and diff.Variables and examples match the OpenAPI
filterparameter and the existing tests.Closes #5325