defradb
defradb copied to clipboard
Move ACP testing and extra non-defra specific logic to an other shared repo
We decided that this repo should contain only defradb specific testing logic, this decision was a result of having some blurry lines where a lot of tests are being introduced where the are mainly testing acp components, logic, and edge cases rather than only defradb specific cases.
There are some components of defradb specific acp functionality (DPI validation, linking policy to a collection, and etc.) that should still be tested in defradb repo. Inaddition defradb should still contain all the basic tests for all acp clients to ensure they are integrated correctly.
The local acp implementation, sourcehub client logic should all be moved to the shared repo
.
The sourcehub acp can continue to satisfy the same interfaces.
The shared repo
will have all different types of local acp clients
(if there are more) and non-local ones.
DefraDB will have one bridge per every acp type (ucan, or sourcehub for example), which will wrap a local version of that acp if there is one (like we already do for sourcehub).
So in the end this repo will contain:
-
Basic defradb specific acp logic
-
Basic testing for all acp clients to ensure they integrate correctly