Portal Gateway
Component Detail
Infrastructure
medium complexity
backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
Infrastructure adapter that abstracts communication with external member portals, primarily HLF's Dynamics-based 'min side'. Handles protocol translation, authentication handshakes, retries, and rate limiting so upstream services can interact with diverse portal APIs through a uniform interface.
portal-gateway
Sources & reasoning
HLF (§73) requires explicit coordination with their Dynamics portal; §378 lists it as a feature of admin-organization marked as a config flag. Core Product per the phase-2 entry in §264 ('Koordinering med HLFs eksterne portalprosjekt').
-
docs/source/likeperson.md · line 73Koordinering med eget portalprosjekt: HLF redesigner «min side» på Dynamics-plattformen. Appen og portalen må ikke overlappe eller motarbeide hverandre.
-
docs/source/likeperson.md · line 378External Portal Integration (HLF config flag)
Responsibilities
- Translate Meander domain calls into portal-specific API requests
- Manage authentication tokens and refresh cycles with external portals
- Apply retry, backoff, and circuit-breaker policies on outbound calls
- Normalize external portal responses into Meander domain shapes
- Log and surface transport-level errors for diagnostics
Interfaces
authenticate(config): PortalSession
fetchMembers(session, since): MemberRecord[]
pushMemberUpdate(session, member): PushResult
healthCheck(config): GatewayHealth