Files
git.stella-ops.org/docs/features/checked/router/router-reference-implementation-examples.md
2026-02-14 09:11:48 +02:00

1.8 KiB

Router Reference Implementation Examples

Module

Router

Status

IMPLEMENTED

Description

Complete reference implementations including Examples.Gateway, Examples.Billing.Microservice, Examples.Inventory.Microservice, Examples.MultiTransport.Gateway, and Examples.NotificationService demonstrating all Router SDK capabilities with docker-compose orchestration.

Implementation Details

  • Modules: src/Router/examples/
  • Key Projects:
    • Examples.Gateway (src/Router/examples/Examples.Gateway/) - reference Gateway setup
    • Examples.Billing.Microservice (src/Router/examples/Examples.Billing.Microservice/) - billing service with CreateInvoice, GetInvoice, UploadAttachment endpoints
    • Examples.Inventory.Microservice (src/Router/examples/Examples.Inventory.Microservice/) - inventory service with GetItem, ListItems endpoints
    • Examples.MultiTransport.Gateway (src/Router/examples/Examples.MultiTransport.Gateway/) - gateway with multiple transport plugins
    • Examples.NotificationService (src/Router/examples/Examples.NotificationService/) - notification service with send, broadcast, subscribe, preferences endpoints
    • Examples.OrderService (src/Router/examples/Examples.OrderService/) - order service with CRUD, streaming export, and event endpoints
  • Source: batch_52/file_11.md

E2E Test Plan

  • Build and run Examples.Gateway with Examples.Billing.Microservice and verify invoice creation via router
  • Run Examples.Inventory.Microservice and verify item listing through the gateway
  • Run Examples.MultiTransport.Gateway and verify communication over multiple transport types
  • Run Examples.NotificationService and verify notification send/subscribe flow
  • Run Examples.OrderService and verify streaming data export endpoint