hyperledger-archives / aries-framework-go-ext

https://wiki.hyperledger.org/display/aries
Apache License 2.0
14 stars 22 forks source link

feat: Direct JSON storage and custom indexing and querying for MongoDB #246

Closed DRK3 closed 2 years ago

DRK3 commented 2 years ago

Added new methods to the MongoDB storage provider to allow a caller to make lower-level calls to MongoDB. These methods allow for more advanced indexing and querying, as well as making more efficient use of MongoDB possible. Note that this functionality will require making type assertions as they do not conform to the aries-framework-go interface.

Signed-off-by: Derek Trider Derek.Trider@securekey.com

codecov[bot] commented 2 years ago

Codecov Report

Merging #246 (0aac974) into main (96d8261) will increase coverage by 3.66%. The diff coverage is 83.33%.

:exclamation: Current head 0aac974 differs from pull request most recent head 31346df. Consider uploading reports for the commit 31346df to get more accurate results

@@            Coverage Diff             @@
##             main     #246      +/-   ##
==========================================
+ Coverage   86.01%   89.67%   +3.66%     
==========================================
  Files          26        1      -25     
  Lines        3910      736    -3174     
==========================================
- Hits         3363      660    -2703     
+ Misses        326       43     -283     
+ Partials      221       33     -188     
Impacted Files Coverage Δ
component/storage/mongodb/store.go 89.67% <83.33%> (-1.64%) :arrow_down:
component/vdr/trustbloc/models/consortium.go
component/storage/postgresql/store.go
component/didcomm/transport/amqp/inbound.go
...nt/vdr/trustbloc/config/signatureconfig/helpers.go
component/vdr/orb/vdr.go
...vdr/trustbloc/discovery/staticdiscovery/service.go
...vdr/trustbloc/selection/staticselection/service.go
component/vdr/trustbloc/endpoint/service.go
...nt/vdr/trustbloc/config/signatureconfig/service.go
... and 16 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 96d8261...31346df. Read the comment docs.