This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
v2.0.0-smart
rsmayda
released this
25 Jun 22:49
·
76 commits
to smart-mainline
since this release
⚠ BREAKING CHANGES
- FWoA now reads/writes Elasticsearch documents from aliases instead of indexes. This change simplifies performing re-indexing operations without downtime. Aliases are automatically created when resources are written to Elasticsearch, but read operations may fail for existing deployments if the aliases do not exist already.
- Please run the addAlias script created in this PR BEFORE upgrading to 3.0.0 to create aliases for all existing indices
Features
- Use alias for all ES operations (#349) (0f512c2)
- interface: Add logging framework (#310)
- routing: Add $docref implementation (#332)
- routing: Support POST based search (#70) (0c29a2d)
- search: Support number and quantity search syntax (#58) (ac5ca42). e.g.
GET [base]/Observation?value-quantity=le5.4|http://unitsofmeasure.org|mg
- search: Allow repeated search parameters a.k.a AND search parameters (#62) (68f2173). e.g.
GET [base]/Patient?language=FR&language=EN
matches patients who speak English AND French. - search: Allow sorting by date type parameters (#60) (a7d9bf0)
- search: Support searching on Period type fields with date type params (#61) (d36e3af)
- search: Supports
|
as part of token parameters. e.g.GET [base]/Patient?identifier=http://acme.org/patient|2345
Note: the|
MUST be url encoded e.g.GET [base]/Patient?identifier=http://acme.org/patient%7C2345
- search: Supports using range prefixes for date parameters e.g.
GET [base]/Patient?birthdate=ge2013-03-14
and searching for partial dates e.g.GET [base]/Patient?birthdate=2013
- Add DLQ for ddbToEs sync failures (#295) (eb7f51c)
- authz-smart: allow the use of
system
scopes (#365)
Bug Fixes
- persistence:
meta
field was missing from update response even though it was persisted properly (#65) (a2b5206) - persistence: Improve error logging when sync from ddb to ElasticSearch fails (#68) (5774b34)
- search: Token search params were matching additional documents (#65) (046238a)
- Suppress deprecation warning when writing to Info_Output.yml during installation (#294) (462e146)
- Allow running sls offline with Hapi Validator (#343) (8b98da9)