firma-demo-fixture (root module)
Module: firma_demo_fixture
Section titled “Module: firma_demo_fixture”Contents
Section titled “Contents”Constants
ALLOW_BODY_JSON- JSON body returned by the fixture forGET /allow.DEFAULT_LISTEN_ADDR- Default fixture listen address.DENY_BODY_JSON- JSON body returned by the fixture forPOST /denywhen the upstream policy is misconfigured.PING_BODY_TEXT- Plaintext body forGET /_ping.
firma_demo_fixture::ALLOW_BODY_JSON
Section titled “firma_demo_fixture::ALLOW_BODY_JSON”Constant: &str
JSON body returned by the fixture for GET /allow.
firma_demo_fixture::DEFAULT_LISTEN_ADDR
Section titled “firma_demo_fixture::DEFAULT_LISTEN_ADDR”Constant: &str
Default fixture listen address.
firma_demo_fixture::DENY_BODY_JSON
Section titled “firma_demo_fixture::DENY_BODY_JSON”Constant: &str
JSON body returned by the fixture for POST /deny when the upstream policy is misconfigured.
The sidecar should always block before the request reaches the fixture; this body exists only as a positive control for that misconfiguration scenario.
firma_demo_fixture::PING_BODY_TEXT
Section titled “firma_demo_fixture::PING_BODY_TEXT”Constant: &str
Plaintext body for GET /_ping.