chartletv0.21.0chartlet.casoon.de

← All examples

Checkout: the calls in order

Five connections of a checkout, numbered 1 to 5 in front of their labels. The description lists the steps in order with where each one goes, and a step number is used once. Laid out top down, so that the numbers read like a sequence. Illustrative values.

Checkout: the calls in order

examples/checkout-calls.json
{
  "schemaVersion": 1,
  "type": "architecture",
  "title": "Checkout: the calls in order",
  "source": "Architecture handbook, runtime view",
  "width": 900,
  "height": 640,
  "architecture": {
    "components": [
      {
        "id": "customer",
        "label": "Customer",
        "kind": "person"
      },
      {
        "id": "web",
        "label": "Web shop",
        "kind": "frontend"
      },
      {
        "id": "api",
        "label": "Shop API"
      },
      {
        "id": "pay",
        "label": "Payment provider",
        "kind": "external"
      },
      {
        "id": "db",
        "label": "Orders",
        "kind": "database"
      },
      {
        "id": "mail",
        "label": "Mail service",
        "kind": "external"
      }
    ],
    "connections": [
      {
        "from": "customer",
        "to": "web",
        "label": "confirms the cart",
        "step": 1
      },
      {
        "from": "web",
        "to": "api",
        "label": "places the order",
        "technology": "HTTPS",
        "step": 2
      },
      {
        "from": "api",
        "to": "pay",
        "label": "charges",
        "technology": "HTTPS",
        "step": 3
      },
      {
        "from": "api",
        "to": "db",
        "label": "stores the order",
        "technology": "SQL",
        "step": 4
      },
      {
        "from": "api",
        "to": "mail",
        "label": "sends the receipt",
        "step": 5,
        "dash": "dashed"
      }
    ],
    "mainPath": [
      "customer",
      "web",
      "api",
      "db"
    ],
    "orientation": "portrait"
  }
}
Focus
Checkout: the calls in order
Checkout: the calls in orderArchitecture diagram with 6 components and 5 connections. Main path: Customer → Web shop → Shop API → Orders. Most connected: Shop API (4 connections). Nothing leads into Customer. Nothing leads out of Payment provider, Orders and Mail service. Steps: 1 Customer → Web shop (confirms the cart); 2 Web shop → Shop API (places the order); 3 Shop API → Payment provider (charges); 4 Shop API → Orders (stores the order); 5 Shop API → Mail service (sends the receipt). Customer (person): connects to Web shop (step 1, confirms the cart). Web shop (frontend): connects to Shop API (step 2, places the order, via HTTPS). Shop API (service): connects to Payment provider (step 3, charges, via HTTPS), Orders (step 4, stores the order, via SQL) and Mail service (step 5, sends the receipt). Payment provider (external system): no outgoing connection. Orders (database): no outgoing connection. Mail service (external system): no outgoing connection.Customer → Web shop: 1. confirms the cartWeb shop → Shop API: 2. places the order [HTTPS]Shop API → Payment provider: 3. charges [HTTPS]Shop API → Orders: 4. stores the order [SQL]Shop API → Mail service: 5. sends the receipt1. confirms the cart2. places the order[HTTPS]3. charges[HTTPS]4. stores the order[SQL]5. sends the receiptCustomerCustomerWeb shopWeb shopShop APIShop APIPayment providerPayment providerOrdersOrdersMail serviceMail service

Source: Architecture handbook, runtime view

Show chart data
Data for Checkout: the calls in order
ComponentKindConnects to
CustomerpersonWeb shop (step 1, confirms the cart)
Web shopfrontendShop API (step 2, places the order, via HTTPS)
Shop APIservicePayment provider (step 3, charges, via HTTPS), Orders (step 4, stores the order, via SQL), Mail service (step 5, sends the receipt)
Payment providerexternal system
Ordersdatabase
Mail serviceexternal system
  • Architecture diagram with numbered steps
  • Show the order of calls through a system