Edit this page

The “policies” service takes care of persisting Policies.

Model

The model of the policies service is defined around the entity Policy:

Signals

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

Persistence

The policies service uses Akka persistence and with that Event sourcing in order to persist changes to
and restore persisted policies.

Enforcement

The policies service enforces/authorizes policy signals by the “own” policy.

Tags: architecture