The “policies” service takes care of persisting Policies.
The model of the policies service is defined around the entity
Other services can communicate with the policies service via:
- PolicyCommands: implementing classes provide commands which are processed by this service
- PolicyEvents: implementing classes represent events which are emitted when entities managed by this service were modified
The policies service uses Akka persistence and
with that Event sourcing in order to persist changes to
and restore persisted policies.
The policies service enforces/authorizes policy signals by the “own” policy.