Package-level declarations

Types

Link copied to clipboard
@AggregateRoot(lifecycle = [], ownership = Ownership.TENANT)
@Description(value = "One service's parked entry, as its failure ledger publishes it, and an operator's actions on it")
class Parked(state: ParkedState)

One service's entry of one parked aggregate, its id <service>:<subscription>:<aggregate> (Ledger.parkedId): the read model of the owning service's failure ledger, and where an operator acts on it.

Link copied to clipboard

Sends an operator's request on a Parked entry back to the service that owns the entry: the ledger's system command of the same name (wow.ledger.Retry, Skip, MarkRecoverable, ApplyRetrySpec), to the command topic of the context that holds the entry (ParkedState.context), addressed to the entry (Ledger.targetOf). The owning service takes it because this saga of the ops context sent it (the operator was authorized here, and keeps being the command's), runs it on its ledger, and publishes the entry as it then stands, which comes back as a record.

Link copied to clipboard

The codes a Parked entry rejects an operator's action with.

Link copied to clipboard

One service's entry of one parked aggregate, as its ledger last published it: the ops view, whose snapshot is the read model an operator queries. While parked, it is the entry's ParkedEntry; once resolved, status is ParkedStatus.RESOLVED with the outcome. requested is the last action an operator asked of the owning service (retry, skip, mark-recoverable or apply-retry-spec), until the service publishes the entry again. refusedAction, refusalCode and refusalReason say why the service refused the last request, until the next request or the entry's resolution. errorType is what reason says failed, which an operator groups the entries by.