WireSamples

Deterministic messages for the v9 wire-format golden tests.

Every id, timestamp and header value is fixed, so serializing a sample gives the same bytes on every run. The headers are stamped the way the 9.2.x runtime stamps them: request headers and local_first and the operator from the web edge, trace_id from command creation, command_wait_* from a real WaitPlan propagated by the gateway, and the event-side headers from the default propagators (MessagePropagators.DEFAULT, the ServiceLoader contributions).

The golden files built from these samples are frozen v9 wire contracts (design WP G1); see the golden tests in wow-core, wow-kafka, wow-redis and wow-spring-boot-starter.

Properties

Link copied to clipboard
const val AGGREGATE_ID: String
Link copied to clipboard

The wait plan the gateway propagates on chainWaitCommandMessage: a saga chain ending in a snapshot.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val COMMAND_ID: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
const val OPERATOR: String
Link copied to clipboard
const val OWNER_ID: String
Link copied to clipboard
const val REMOTE_IP: String
Link copied to clipboard
const val REQUEST_ID: String
Link copied to clipboard
Link copied to clipboard
const val SIGNAL_TIME: Long
Link copied to clipboard
const val SPACE_ID: String
Link copied to clipboard

The wait plan the gateway propagates on commandMessage: wait for a named projection.

Link copied to clipboard
const val TENANT_ID: String
Link copied to clipboard
const val USER_AGENT: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

The same command waiting on a saga chain, which adds the command_wait_chain and command_wait_tail_* keys.

Link copied to clipboard

A create command as the web edge and the gateway send it, waiting for a named projection.

Link copied to clipboard

The event stream the aggregate appends for commandMessage, with headers propagated from the command.

Link copied to clipboard

A failed signal, which carries the error code, message and binding errors.

Link copied to clipboard

The signal a processor posts to the remote wait endpoint after processing commandMessage.

Link copied to clipboard

The state event published after sourcing domainEventStream.