SystemCommandGroups

The framework's system commands, each named by its system name (wow.lifecycle.TransferOwner), grouped by the registry that owns its name and class, and the sets the framework reads them by, each named for what it means.

Every place that takes system commands of more than one group takes one of these sets, so no two places can know different commands by the same meaning. A set is two-way: SystemCommandSet.classOf a name, SystemCommandSet.nameOf a class.

Types

Link copied to clipboard

The registries of the system commands: each command is in exactly one of them.

Properties

Link copied to clipboard

Every system command: each is decided by the framework somewhere, so none needs a user's context to decide it; and the read of the failure ledger's entries (Ledger.READ), an action authorized as a system command is.

Link copied to clipboard

The commands a model of the framework decides: those every aggregate decides, and the job and rebuild commands that the built-in job and rebuild aggregates decide. The ledger's are not among them: an owning service's intake runs them, and no model decides them. A user's model may take none of these names.

Link copied to clipboard

The commands every aggregate decides, which its kernel decides on its metadata rather than its state: its lifecycle and its schedule. A Manifest need not list them, and every model takes them.

Link copied to clipboard

The system commands a contract lists (me.ahoo.wow.manifest.SystemCommands): an aggregate's lifecycle and its snapshot rebuild, and a context's job commands. A schedule's commands are not listed, so a client or a peer sends none of them by their contract.

Link copied to clipboard

The commands that run a service rather than its domain, and that Wow allows no caller by default: a node without a command authorizer refuses them to every caller, on the public port (a context's schedule jobs, an aggregate type's snapshot rebuild) and on the operator's routes (the failure ledger's actions and the read of its entries, Ledger.READ). This is the one list of them: whatever refuses them, and an authorizer's CommandAction.isOperational, reads it.

Link copied to clipboard

The system commands a saga sends to another context by their system names: an aggregate's lifecycle and schedule commands, and the ledger's, which the ops context's sagas send to the services that own the parked entries. A saga sends no job or rebuild command: their addressing and authorization are the built-in aggregates', which no saga is designed to reach.