pub struct GpkeModule;Expand description
Engine module for the GPKE process family.
Registers all GPKE Prüfidentifikator values:
- PIDs 55001–55002, 55016 (inbound ANFRAGE, UTILMD) →
"gpke-supplier-change" - PIDs 55022, 55023, 55024 (Stornierung Anfrage + Antwort, UTILMD) →
"gpke-stornierung" - PIDs 55600, 55601 (Neuanlage ANFRAGE, UTILMD) →
"gpke-neuanlage" - PID 55007 (NB-seitiges Lieferende, UTILMD) →
"gpke-lf-abmeldung" - PID 55607 (Ankündigung Zuordnung LF, UTILMD) →
"gpke-ankuendigung-zuordnung-lf" - PIDs 17115/17116/17117 (Sperrung/Entsperrung, ORDERS) →
"gpke-sperrung" - PID 55555 (Anfrage Daten der individuellen Bestellung, UTILMD) →
"gpke-anfrage-bestellung" - PIDs 31001, 31002, 31005, 31006 (billing, INVOIC) →
"gpke-abrechnung"(31003 →mako-wim; 31004 = Sparte-neutral universal Storno, checked byinvoicd) - PIDs 19001, 19002 (inbound ORDRSP, NB role only) →
"gpke-konfiguration"
Role-conditional PIDs (ORDRSP 19001/19002):
PIDs 19001 (Bestellbestätigung) and 19002 (Ablehnung der Bestellung)
are registered only when DeploymentRoles contains Marktrolle::Nb.
In the GPKE Konfiguration workflow:
- NB sends outbound ORDERS 17134/17135 (via outbox) to the designated MSB.
- The MSB responds with inbound ORDRSP 19001/19002, which must route back to
gpke-konfigurationfor the NB-role makod instance.
On a nMSB (Herausforderer-MSB) instance, the same PIDs 19001/19002 are
the response to WiM Geräteübernahme ORDERS 17001 sent by the nMSB to the NB.
They route to wim-geraeteubernahme instead. Set explicit DeploymentRoles
to prevent both modules from claiming the same PIDs.
Not registered (outbound-only):
- PIDs 55002/55003, 55005/55006, 55017, 55018 are outbound ANTWORT messages derived by
GpkeSupplierChangeWorkflow::handle. They are never routed as inbound. - PIDs 17134, 17135 are outbound ORDERS messages dispatched via the outbox
by
GpkeKonfigurationWorkflow. They are never routed as inbound.
PIDs 55007–55009 (NB-seitiges Lieferende) are handled by GpkeLfAbmeldungWorkflow.
PIDs 55013–55015 (Ersatz-/Grundversorgung) are handled by GpkeEogWorkflow.
PIDs 55010–55012 (Anfrage zur Beendigung der Zuordnung — NB Abmeldeanfrage an
den LFA) are handled by GpkeBeendigungZuordnungWorkflow.
Use with mako_engine::builder::EngineBuilder::register:
use mako_gpke::GpkeModule;
use mako_engine::builder::EngineBuilder;
use mako_engine::marktrolle::DeploymentRoles;
let ctx = EngineBuilder::new()
.with_event_store(store)
.with_deployment_roles(DeploymentRoles::nb())
.register(Box::new(GpkeModule))
.build();