Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add external persistence storage #21

Closed
rogelio-blanco opened this issue May 27, 2022 · 1 comment
Closed

Add external persistence storage #21

rogelio-blanco opened this issue May 27, 2022 · 1 comment
Assignees

Comments

@rogelio-blanco
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The library has its own persistence mechanism which makes it very couple. We would like to provide some default behavior (using the current MongoDB implementation) but opened in case an external project uses a different persistence mechanism.

Ex:

  • The project wants to use a different DB engine.
  • The project wants to use its own MongoDB implementation.

Describe the solution you'd like
For those persistence-related methods, add an additional parameter (function) that executes the persistence operation.

Describe alternatives you've considered
I don't have any alternative ideas

Additional context
TBD

@rogelio-blanco rogelio-blanco self-assigned this May 27, 2022
rogelio-blanco pushed a commit that referenced this issue Jun 22, 2022
- Clean code
- Fix package names
- Update project version
- Move Wallet extensions out of the interface
rogelio-blanco added a commit that referenced this issue Jun 22, 2022
rogelio-blanco pushed a commit that referenced this issue Jun 30, 2022
- Create new interfaces to store objects in the persistence layer
- Create common interface for storage purposes
- Restructure code to different packages
rogelio-blanco added a commit that referenced this issue Jun 30, 2022
rogelio-blanco added a commit that referenced this issue Aug 5, 2022
- Add new methods in the wallet service
- Adjust wallet storage to support new methods
rogelio-blanco pushed a commit that referenced this issue Aug 9, 2022
- Store the operationHash, operationId and publish did operation status
- Create methods to return the operation status from the block chain
rogelio-blanco added a commit that referenced this issue Aug 9, 2022
- Add new methods in the wallet service
- Adjust wallet storage to support new methods
- Store the operationHash, operationId and publish did operation status
- Create methods to return the operation status from the block chain
Essbante pushed a commit that referenced this issue Aug 10, 2022
- Add new methods in the wallet service
- Adjust wallet storage to support new methods
- Store the operationHash, operationId and publish did operation status
- Create methods to return the operation status from the block chain
@rogelio-blanco
Copy link
Contributor Author

Refactor completed

Essbante pushed a commit that referenced this issue Aug 27, 2022
- Clean code
- Fix package names
- Update project version
- Move Wallet extensions out of the interface
Essbante pushed a commit that referenced this issue Aug 27, 2022
- Create new interfaces to store objects in the persistence layer
- Create common interface for storage purposes
- Restructure code to different packages
Essbante pushed a commit that referenced this issue Aug 27, 2022
- Add new methods in the wallet service
- Adjust wallet storage to support new methods
- Store the operationHash, operationId and publish did operation status
- Create methods to return the operation status from the block chain
rogelio-blanco added a commit that referenced this issue Aug 28, 2022
- Clean code
- Fix package names
- Update project version
- Move Wallet extensions out of the interface
rogelio-blanco added a commit that referenced this issue Aug 28, 2022
- Create new interfaces to store objects in the persistence layer
- Create common interface for storage purposes
- Restructure code to different packages
rogelio-blanco added a commit that referenced this issue Aug 28, 2022
rogelio-blanco added a commit that referenced this issue Aug 28, 2022
rogelio-blanco added a commit that referenced this issue Aug 28, 2022
- Add new methods in the wallet service
- Adjust wallet storage to support new methods
- Store the operationHash, operationId and publish did operation status
- Create methods to return the operation status from the block chain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant