RehearsalServer

@SpringBootApplication(proxyBeanMethods = false)
class RehearsalServer

The V10 side of the blue-green rehearsal (.1): the 9.x example ported, on the Spring Boot host, its log and snapshots on the PostgreSQL database spring.datasource.* names, the one migrate-data imported the 9.x data into: the host makes its pool of those properties.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

The rehearsal's driver names the tenant it acts in, and the owner a created order or cart belongs to, as the 9.x routes named them in their paths: X-Rehearsal-Tenant and X-Rehearsal-Owner. A request without the tenant is the default tenant's. A caller without an owner is tenant-level: it reaches every order of its tenant, as the 9.x routes of an order did. X-Rehearsal-Region gives the caller the claim REGION, whose orders alone it reaches (orderAccess).

Link copied to clipboard

Who reads and changes an order, which declares access attributes: a caller of a region the orders tagged with it, an owner its own, and a tenant-level caller every order of its tenant, as the scope rule had it.