Repository navigation
Release v5.17.0
Stage can now realize an ability from a declarative http block, with no extension process: the built-in http extension makes the REST call from inside Stage, through the same durable invocation path and system gates as any other extension.
Added
- The built-in
httpextension. An ability'shttpblock gives the method and path, headers, query, a structured body, what each response status returns, and which status settles with a named outcome. It decorates the registered ability backend, so abilities without a block still reach their connected extension backend. Register it withAddStageHttpAbilitiesafter the invocations. It runs in-process; moving it to packaged extensions follows #1064. (#1069) - Base address and authentication (
none,bearer,basicorapiKey) come only from the settings and secrets of the system,systems:<System>:Http:*. The model holds no credential: a block that setsAuthorization,Cookie,X-API-KeyorHostis an error. Secrets are never logged or put in a failure reason, and redirects are not followed. - A response with no matching line fails the ability: a client error other than a timeout rules the effect out, anything else (a server error, a timeout, a dropped connection) leaves it open for reconciliation. A missing setting or input is reported as not sent, naming the setting and never its value.
- A reference page for the block: https://github.com/Cratis/Stage/blob/main/Documentation/extensions/http.md