trustbloc / edv

Encrypted data vault implementation in Golang - https://identity.foundation/edv-spec/
Apache License 2.0
16 stars 17 forks source link

feat: Use one database for all documents instead of one per vault #250

Closed DRK3 closed 2 years ago

DRK3 commented 2 years ago

Previously, a new database/collection was created for every vault. This could cause issues when there are many vaults as the number of databases can start to become unmanageable. This change uses a single database for all documents.

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

codecov[bot] commented 2 years ago

Codecov Report

Merging #250 (e9e77f3) into main (894c500) will decrease coverage by 0.49%. The diff coverage is 86.04%.

@@            Coverage Diff             @@
##             main     #250      +/-   ##
==========================================
- Coverage   85.68%   85.18%   -0.50%     
==========================================
  Files          13       13              
  Lines        1635     1634       -1     
==========================================
- Hits         1401     1392       -9     
- Misses        146      149       +3     
- Partials       88       93       +5     
Impacted Files Coverage Δ
pkg/edvutils/edvutils.go 96.87% <ø> (-0.27%) :arrow_down:
cmd/edv-rest/startcmd/start.go 80.91% <78.12%> (+0.04%) :arrow_up:
pkg/edvprovider/edvprovider.go 84.87% <85.25%> (-3.37%) :arrow_down:
pkg/restapi/operation/operations.go 89.61% <100.00%> (+1.10%) :arrow_up:
pkg/restapi/operation/respond.go 78.75% <100.00%> (-1.04%) :arrow_down:

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 894c500...e9e77f3. Read the comment docs.