Open source cyber-serenity platform that help the security teams designing and managing companies' ISMS, and which allow them to create resilient digital systems with efficient responses against to cyber-threats.
Apache License 2.0
15
stars
2
forks
source link
As technology, I should support CQRS pattern and event sourcing concerns combined #158
Process manager including publisher/subscriber samples are coded.
Unit tests shall be coded:
[x] unit test regarding store (EventStoreUseCaseTest) need to be finalized to validate the mechanism of subscription/auto-notification
[x] coding of a datastore example for useraccount and roles + datastore use from ApplicativeRoleAllocationCommandHandler (line 65: found account from identifier) + datastore use from UserAccountCreateCommandHandler (line 68: save created account)
[x] creation of unit test scenarios using the AccountsManagementServicesImpl model sample with test of command sends with:
[x] UserAccountCreateCommand sent generating datastore storage, events on read model (unit test shall listen the received UserAccountCreationCommitted event as integrated handlers/behaviors of components that validate the test)
[x] AssignRoleToUserAccountCommand sent generating search/found of user account aggregate, update of his role(s), notification to read model (unit test shall listen the received UserAccountApplicativeRoleAssigned event confirming the test success from the aggregate itself)
https://www.notion.so/cybnity/495-d249e159f38a42b4b0d122f33097b0f3
REQ_SCA_4: https://www.notion.so/cybnity/REQ_SCA_4-e587a7c664274a06ab40e44e78a79c00 Apply the event sourcing design (standalone event sourcing, event stores, underlying storage, consistency).
implementation: