Doc system test

Proxy routing

How a CLI call reaches a shared template or resolver container by version id, through the coordinator.

Meta block front matter of this doc
namespaces
  • durian.cloud/cyanprint/coordinator
type
surface
code
  • sulfone.boron/server.go
  • sulfone.boron/docker_executor/domain_model.go

The CLI only talks to the coordinator. /proxy/template/{version id}/api/template/init|validate forwards to cyan-template-<id>:5550; /proxy/resolver/{version id}/api/resolve forwards to cyan-resolver-<id>:5553. The proxy waits at most 30 seconds and passes on only the content type, status and body. Processors and plugins have no proxy; only the coordinator calls them.

Where it lives

  • sulfone.boron/server.go
  • sulfone.boron/docker_executor/domain_model.go

Stub: summary only.