Commit c692a0a
authored
Add filter extension (#825)
* feat: add filter extension to conformance
* feat: add cql2 filter extension for POST
* fix: remove commented code, get rid of .only in tes
* feat: cql2 filter extension for GET
* fix: use fully qualified property names
* test: remove redundant test
- decided to not handle filter={}; let it fail
* build: 'npm audit fix' to get CI passing
* feat: check for correct filter-lang and filter-crs
* feat: Add filter extension to aggregate endpoint
* docs: update CHANGELOG
* test: add test for top level field and property in filter extension filter
* review: move constants out of function
* review: stacQlQuery -> stacqlQuery
* review: buildQuery -> buildOpenSearchQuery
* review: Add minimum_should_match = 1 for 'should' clauses
* fix: remove .only from test, update a test comment
* review: remove explicit prefixing of properties object fields
* feat: raise error when collection queryables has additionalProperties set to false
* style: align existing test format
* feat: add query and filter extensions to openapi.yaml
* docs: update README.md
* fix: finish adding filters extension to the OpenAPI spec
* fix: minor changes to query extension in openapi.yaml
* docs: augument CHANGELOG entry, tweak extension list in README
* review: remove bbox from UNPREFIXED_FIELDS
* review: clarify that fields **must not** be prefixed
* review: add deprecated note to Context Extension
* review: Add note about filter expression terms exactly matching Item properties fields
* review: add back bbox and note that bbox and geometry are not yet supported for filtering
* review: add back bbox1 parent 3a82739 commit c692a0a
File tree
12 files changed
+2775
-949
lines changed- src
- lambdas/api
- lib
- tests
- fixtures/stac
- system
12 files changed
+2775
-949
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
8 | 16 | | |
9 | 17 | | |
10 | 18 | | |
| |||
465 | 473 | | |
466 | 474 | | |
467 | 475 | | |
| 476 | + | |
468 | 477 | | |
469 | 478 | | |
470 | 479 | | |
| |||
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments