Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

feat: Removes storage implementations (Couchdb, MySQL) #2245

Merged
merged 1 commit into from
Oct 19, 2020
Merged

feat: Removes storage implementations (Couchdb, MySQL) #2245

merged 1 commit into from
Oct 19, 2020

Conversation

soluchok
Copy link
Contributor

This PR removes Couchdb and MySQL and implementations.

Signed-off-by: Andrii Soluk isoluchok@gmail.com

@codecov
Copy link

codecov bot commented Oct 19, 2020

Codecov Report

Merging #2245 into master will increase coverage by 0.24%.
The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2245      +/-   ##
==========================================
+ Coverage   89.57%   89.81%   +0.24%     
==========================================
  Files         221      219       -2     
  Lines       15094    14799     -295     
==========================================
- Hits        13520    13292     -228     
+ Misses        935      896      -39     
+ Partials      639      611      -28     
Impacted Files Coverage Δ
cmd/aries-agent-rest/startcmd/start.go 79.46% <50.00%> (-0.67%) ⬇️
pkg/storage/wrapper/prefix/prefix_wrapper.go 94.44% <100.00%> (+12.09%) ⬆️

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 440ab57...51ab57d. Read the comment docs.

go.mod Outdated Show resolved Hide resolved
@@ -37,20 +36,20 @@ type StorePrefixWrapper struct {

// Put stores v with k ID by prefixing it with IDPrefix.
func (b *StorePrefixWrapper) Put(k string, v []byte) error {
if k == "" {
return fmt.Errorf("cannot Put with empty key")
if k != "" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Baha-sk @fqutishat

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not check it here. We need to rely on DB.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, it's ok then

@rolsonquadras
Copy link
Contributor

Note: These are available as part of aries-framework-go-ext - https://github.com/hyperledger/aries-framework-go-ext/tree/main/component/storage

Signed-off-by: Andrii Soluk <isoluchok@gmail.com>
@troyronda troyronda merged commit a751c3a into hyperledger-archives:master Oct 19, 2020
@soluchok soluchok deleted the removes_starage_implementations branch October 19, 2020 19:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants