Skip to Content

Callout

Overview

The Callout operator allows one graph to call another graph.

Examples

Simple callout to a stub Response

Config

name: callout nodes: - id: start operator: HTTPIn method: GET routes: - /callout - id: callout operator: Callout graph_name: worker edges: - { from: start, to: callout } --- name: worker nodes: - id: start operator: Stub data: name: Joe edges: []

Request

curl -v http://localhost:2243/callout

Response

"Standard { message: [], origin: None } JSON { message: Object {\"name\": String(\"Joe\")}, origin: None }"

Configuration Reference

name

Must be 'Callout'

Stringrequired

graph_name

Name of the graph to call

Stringrequired