WowHeaders

object WowHeaders

The request headers of the public port. A request header that is neither one of these nor a request fact the host lists (wow.http.request-facts) is ignored, but for User-Agent, which the public port records as the default request fact user_agent beside the client's address, remote_ip.

Properties

Link copied to clipboard
const val CALL: String

The root command a service's synchronous call acts for, in the form of CallHeader: taken on the internal port alone, from a service that names itself in SERVICE (the call routes of wow-http); refused (403) on the public port whatever else the request carries.

Link copied to clipboard
const val ETAG: String

The version of a state read, as an entity tag: ETag: "3".

Link copied to clipboard
const val IF_MATCH: String

The expected version of the aggregate, as an entity tag: If-Match: "3".

Link copied to clipboard
const val REBUILDING: String

On the answer of a snapshot query or its descriptor, true while the aggregate type's snapshots are being rebuilt or backfilled: the query answers from them as they are, some not yet rewritten.

Link copied to clipboard
const val REQUEST_ID: String

The caller's id of the request, kept as the command's request id: a retry with the same one is deduplicated.

Link copied to clipboard
const val SCOPE: String

The scope to act in, for a caller allowed to act across scopes: an RFC 8941 dictionary.

Link copied to clipboard
const val SERVICE: String

The service a request to the internal port comes from, by name: every node states its own, spring.application.name, on its forwards, wait signals, synchronous calls and peer reads. It is a statement, not a credential: the internal port is reachable by the platform's own pods alone (a NetworkPolicy), and the name serves to catch a misconfiguration, such as a call a service does not list or a forward to another service's node. The public port never reads it.

Link copied to clipboard
const val SPACE: String

The space, among the caller's own, to act in; the caller resolver checks the membership.

Link copied to clipboard
const val WAIT: String

The wait plan, in the grammar of WaitHeader.

Link copied to clipboard
const val WAIT_TIMEOUT: String

How long to wait: 500ms, 10s or an ISO-8601 duration (PT10S).