Directive.yamlfile that controls your entire application. The Directive is included in the Runnable Bundle used by Atmo to run your application.
HTTP POST /hello) and a set of
stepsto handle that request. The
stepsare a set of Runnable functions to be composed when handling requests to the
step. The first step is a
group, meaning that all of the functions in that group will be executed concurrently.
fn, which calls a Runnable that uses the Runnable API to make an HTTP request. The API is continually evolving to include more capabilities. In addition to making HTTP requests, it includes logging abilities and more.
responseoption in your handler, listing the name of the function to use as a response. If the final step is a group, then the
responseclause must be included.
subotool will validate your directive to ensure it is not calling any Runnables that don't exist in your project.