Open Pizza hub

The core hub every Open Pizza module talks to: machine tokens, the /v1 contract gateway (routed to each tenant's commerce source), the event outbox with signed webhooks, and module enablement. Contract v0.3.0.

Developer consoleAPI referenceopenapi.jsonJWKS

Quickstart (zero-env demo)

  1. Get a token for the seeded integrator client:
    TOKEN=$(curl -s -u cli_demo_integrator:ops_demo_integrator_secret \
      -d grant_type=client_credentials http://localhost:3000/oauth/token | jq -r .access_token)
  2. Call the contract:
    curl -s -H "Authorization: Bearer $TOKEN" http://localhost:3000/v1/locations
    curl -s -H "Authorization: Bearer $TOKEN" "http://localhost:3000/v1/events?types=order.*"
  3. Module clients name the tenant (module must be enabled there):
    curl -s -u cli_demo_guests:ops_demo_guests_secret -d grant_type=client_credentials \
      -d tenant_id=10000000-0000-0000-0000-000000000001 http://localhost:3000/oauth/token