Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.42 KB

architecture-services-policies.md

File metadata and controls

34 lines (22 loc) · 1.42 KB
title keywords tags permalink
Policies service
architecture, service, policies
architecture
architecture-services-policies.html

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 Pekko 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.