An open-source platform to demonstrate the capabilities of a Granular Certificate registry that conforms to the EnergyTag Standards and API specification.
Adds event sourcing through EventStoreDB, allowing event streams for to be stored and accessed efficiently and persistently.
Adds dependency injection for event store and database sessions for easy swapping out during unit testing.
Adds a pseudo-CQRS architecture whereby changes are propogated to a write and a read DB instance with synchronous rollback on each. In the future, we will store models that are optimised for read operations in the read database that are transformed during the commit process.
Routes, CQRS, and event sourcing are unit-tested on ephemerial containers.
TODO
Mypy still failing on some, need time to clean up tonight.
Only the account end points are currently tested, need to increase coverage to other routers
Cert/storage end points are fillers for now and will need services written in next for validation and querying.
Has This Been Tested?
[x] Yes
Unit tests pass locally but are untested in CI.
Checklist:
[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked my code and corrected any misspellings
Description
TODO
account
end points are currently tested, need to increase coverage to other routersHas This Been Tested?
Unit tests pass locally but are untested in CI.
Checklist: