You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the shared storage doesn't have an abstraction defined on the project. The read-or-write process for each BOT defines a Read-or-write module depending on the shared storage service used for the BOT.
A better approach would be defining an abstraction of the shared storage, where the read or write process is already defined depending on the used service.
We need to define this abstraction following this pattern:
# Shared storage base abstractionmoduleSharedStorageclassBasedefinitializeendprotecteddefread# Depends on the service (PostgreSQL, MySQL, S3, kafka, etc...)enddefwrite# Depends on the service (PostgreSQL, MySQL, S3, kafka, etc...)endend
For this:
Define the base file for the abstraction
Define the shared storage PostgreSQL implementation.
Update the BAS bots to use the read and write method defined on the assigned shared storage.
Update tests
The text was updated successfully, but these errors were encountered:
* Add a shared storage base and read type modules
* Add a shared storage module for postgres
* Add a shared storage default module
* Delete bots implementations
* Add bas to the modules namespace
* Remove unecessary test
* Update test
* Add test for the shared storage
* Update documentation
* Add missing test
* Improve README readability
Context
Currently, the shared storage doesn't have an abstraction defined on the project. The read-or-write process for each BOT defines a Read-or-write module depending on the shared storage service used for the BOT.
A better approach would be defining an abstraction of the shared storage, where the read or write process is already defined depending on the used service.
We need to define this abstraction following this pattern:
For this:
The text was updated successfully, but these errors were encountered: