Skip to main content

Module gateway

Module gateway 

Source
Expand description

Implements soma-application’s [GatewayPort] over soma-gateway’s GatewayManager, translating Soma product principal/scope types into the generic gateway’s access and route-scope types (plan section 3.20, “GatewayControl” in section 5’s illustrative flow).

Moved out of apps/soma (formerly application_ports.rs), where it was a temporary bridge kept there only for mergeability — this crate is its permanent home per PR 11’s acceptance criterion that apps/soma constructs adapters but contains none of their implementation logic.

Structs§

GatewayApplicationPort
soma-gateway’s GatewayProductState is Arc<GatewayManager> — this adapter takes the manager directly rather than depending on soma-runtime for the type alias, keeping this crate’s dependency shape limited to soma-application, soma-domain, and soma-gateway.