Skip to content

Buch V — Architektur

Wer dieses Buch liest: Sie wollen die Architektur der Officina-del-Caffè-Appliance verstehen.

Quellen-Pflicht

Diese Doku-Instanz wird aus der SSOT unter source-of-truth/ gerendert (Doc-Renderer-Pipeline). Hand-Edits unter docs/ sind verboten (siehe Charta).

arc42-Mapping

arc42-KapitelQuelle in SSOT
1. Einführung & ZieleMISSION.md + source-of-truth/prds/PRD-001/
2. RandbedingungenPRD-001 §2
3. Kontextabgrenzungsource-of-truth/diagrams/context-c4.dsl (geplant)
4. LösungsstrategiePRD-001 §4 (Bausteine B-1..B-12)
5. Bausteinsichtsource-of-truth/diagrams/components-c4.dsl (geplant)
6. Laufzeitsichtsource-of-truth/diagrams/sequence-*.puml (geplant)
7. Verteilungssichtdeploy/ + ADR-011 ServiceManifest
8. Querschnittliche KonzepteADRs
9. Architekturentscheidungensource-of-truth/specs/**/ADR-*.md

Wichtige ADRs

  • ADR-011officina/v1 ServiceManifest als Single Source of Truth pro Service.
  • ADR-020/-021Nummerierung verschoben (siehe SPEC-009).

Datenmodell (Kurz)

  • Auction 1—n Listing 1—n Bid
  • Listing 1—1 Record (Akte, 8-Phasen-Lifecycle)
  • Bid.customerIdcustomer.id (Shopware-Core)

Laufzeitdiagramm Award zu ERP

mermaid
sequenceDiagram
    participant Admin as Backoffice
    participant Shopware
    participant Integration as ERP-Integration
    participant Emulator as ERP-Emulator
    Admin->>Shopware: Award Listing
    Shopware->>Shopware: Order + Delivery + State erzeugen
    Shopware->>Integration: order.created / delivery.created / state.changed
    Integration->>Emulator: normalisierte Lifecycle-Events
    Emulator-->>Admin: Inbox- und Order-Beleg

Event-Bus

  • BidPlacedEvent → SSE-Push (K-04), Audit-Log.
  • BidOutbidEvent → Flow Builder (Mail).
  • BidAwardedEventLoserNotificationSubscriberBidFinalLoserEvent → Loser-Mails + Award-Mail.

Verwandte Spezifikationen

  • SPEC-005 — Datenmodell.
  • SPEC-020 — SSE.
  • ADR-011 — ServiceManifest.

Stand: Skelett 2026-05-29.