The Wasm Components and their various configurations for deployment.
They are currently written in Rust, but could be written in any language that compiles to Wasm.
Note
To run these components in a local wasmCloud instance, see the platform-wasmcloud directory.
- sets up the various data stores
- routes HTTP requests to the appropriate service
- manages the products in key-value store
- manages the inventory of products in postgres
- manages the orders in postgres
- calls
inventory-service
- does not call
products-service
, although it probs should - publishes
OrderNotification
events to NATS
- subscribes to
OrderNotification
events from NATS - prints received messages to
stdout