The overall architecture
How are support-plan responsibility and external processing divided among modules and processes?
The local consistency rule defines the coordination API boundary. Handover processing runs separately for deferred work. Support plan extracts, permission checks, responsibility and handover evidence are modules inside the API. The lead organisation’s coordination API stores the full plan in a protected relational datastore. A separate permission-check path produces a minimal versioned extract. Handover processing supplies it to the partner and receives acknowledgement. Partner access always checks current permission and never exposes the full plan. The supported person and case coordinator see permission status; withdrawal updates the same authoritative store synchronously. Already received copies are outside this access boundary. Permission, receipt and investigation/deletion tasks are separate authoritative records in the same store. Store empfang_unbekannt before releasing bytes; partner acknowledgements and handling evidence return through handover processing. Withdrawal blocks new retrievals while investigation is open.
Starting point Receipt and permission remain separate evidence.
Assumptions for the example case
Own fictitious example design. A fictitious voluntary exchange of a specific section of the aid plan between two organisations. A release granted for 3600 seconds in the example is only valid for age < 3600 seconds. All figures and test goals are illustrative assumptions.
Runtime components and datastores
Runtime topology · External entities, processes and datastores
Leading case coordination
Every new partner access requires current permission for the specified purpose and recipient.
Domain responsibilities within the API
Interior view · Coordination API
These responsibilities run within the same API process.
Map responsibilities to runtime components
| Domain task | Runtime | Responsibility |
|---|---|---|
| Support plan extract | Coordination API | Limits the content to be released to the agreed purpose. |
| Authorisation check | Coordination API | Checks recipient, validity and revocation before access. |
| Responsibility | Coordination API | Links the delegated task to the receiving organisation. |
| Handover evidence | Coordination API | Documents provided content and confirmed receipt. |
| Handover processing | Separate background process | Processes stored work and external feedback. |
| Partner organisation | External boundary | Provides or confirms the evidence agreed for this case. |
Support plan extract
- Runtime
- Coordination API
- Responsibility
- Limits the content to be released to the agreed purpose.
Authorisation check
- Runtime
- Coordination API
- Responsibility
- Checks recipient, validity and revocation before access.
Responsibility
- Runtime
- Coordination API
- Responsibility
- Links the delegated task to the receiving organisation.
Handover evidence
- Runtime
- Coordination API
- Responsibility
- Documents provided content and confirmed receipt.
Handover processing
- Runtime
- Separate background process
- Responsibility
- Processes stored work and external feedback.
Partner organisation
- Runtime
- External boundary
- Responsibility
- Provides or confirms the evidence agreed for this case.
The partner boundary has its own delivery contract
The partner boundary has its own delivery contract.
Every new external reading authorization requires a currently valid purpose- and receiver-related release; existing receipts remain traceable.
Support plan revisions, sharing permissions, and receipt acknowledgements must represent the same valid state. Your exercise identifies the input and expected result.
- Alternative considered
- A separate service for every module would distribute the guarantee that each new external read requires current purpose- and recipient-specific permission, while existing receipt evidence remains traceable, across additional network boundaries.
- Trade-off
- Common schema changes require coordinated releases.
- Reassess
- Substantially different handover-processing load or independent ownership justifies revisiting process boundaries.
Try it yourself
Classify support plan extracts, handover processing and the partner organisation as module, process or external system. Identify the authoritative datastore.
A hint for your attempt
A domain responsibility becomes a process only when it has its own execution unit.
Compare with a possible solution
- Boundaries
- Support plan extracts form a module in the coordination API; handover processing is a separate process; the partner organisation is external.
- Storage
- Support plan revisions, permissions and receipt records hold the authoritative evidence. Each new external read requires current purpose- and recipient-specific permission; existing receipt evidence remains traceable. A shared transaction protects this relationship; external responses remain separate evidence.
Apply to your project
Which planned service boundary would distribute a currently local guarantee across the network?