Package-level declarations

Types

Link copied to clipboard
data class BookedOrder(val ref: OrderRef, val status: String, val version: Int, val total: Int)

Where the driver left an order: its status and its last version, one line of the order book.

Link copied to clipboard
data class BookedSetting(val tenant: String, val owner: String, val definition: String, val version: Int, val cleared: Boolean)

One user's preferences for a definition, or (owner (shared), definition the dataset) a tenant's wording.

Link copied to clipboard
data class BookedView(val ref: ViewRef, val title: String, val version: Int, val deleted: Boolean)

Where the driver left a view: its owner after any share or claim, its title and version, whether it is deleted.

Link copied to clipboard
sealed class Endpoints

One version's routes for the example's order and cart: the 9.x example-server's (wow-webflux, the paths its OpenAPI lists) or the rehearsal host's (wow-http). Both answer a command once its events are stored.

Link copied to clipboard
data class OrderRef(val id: String, val tenant: String, val owner: String)

An order of the rehearsal: its id, its tenant and its owner, as both versions address it.

Link copied to clipboard
data class Outcome(val ok: Boolean, val version: Int?, val error: String?, val id: String? = null)

The answer of a command: whether it was applied, the aggregate's version after it, why not, and the aggregate's id when the version chose it (a 9.x view's create).

Link copied to clipboard

The load driver of the blue-green rehearsal (.1), against the 9.x example-server or the rehearsal host:

Link copied to clipboard
sealed class ViewEndpoints

One version's routes for the view store: the 9.x view store the example-server embeds (/view-store/tenant/{tenant} /owner/{owner}/…, the application in CoSec-App-Id), or the V10 view store service (/view-store/<aggregate>/{id} /<command>, the caller in Wow-User, Wow-Owner, Wow-Tenant and Wow-App, in a development profile). A preferences or wording body is the 9.x route's input; V10's command also names the definition or the dataset the 9.x path named. Every command is answered once its events are stored. The 9.x store closes its state routes, so a 9.x view is read from its snapshot, which the example-server writes at every version.

Link copied to clipboard
data class ViewRef(val id: String, val tenant: String, val owner: String)

A view of the rehearsal: its id, its tenant and its owner ((shared) for a shared one), as both versions address it.

Link copied to clipboard
class ViewsDriver(args: List<String>, concurrency: Int)

The view store's part of the rehearsal (driver views …), against the 9.x view store the example-server embeds or the V10 view store service:

Functions

Link copied to clipboard
fun main(args: Array<String>)