Package-level declarations

Types

Link copied to clipboard

The system views of wow.view-store.system-views, checked once at startup: a view a saved one could not be, or one configured twice for the same tenant and application, stops the service. An entry with a blank tenant or application is for every tenant or application. They are not aggregates, so no route writes them.

Link copied to clipboard
class StoredSystemViews(configured: ConfiguredSystemViews, queries: () -> NodeQueryApi?)

The system views a request reads: the configured ones of its tenant and application and the stored ones of its application (views of the tenant (platform) under the owner (system)), which every tenant reads. A stored view wins over a configured one with the same id. The stored ones are read as trusted code, the view store's own, from the tenant (platform). A node whose backend serves no snapshot query serves the configured ones alone.

Link copied to clipboard
class SystemViewProperties(var tenantId: String = "", var appId: String = "", var id: String = "", var definitionId: String = "", var title: String = "", var config: String = "")

One configured system view, as 9.x configured it.

Link copied to clipboard

Builds system views: checked like a saved view, with a revision that is a hash of their content.

Link copied to clipboard
@ConfigurationProperties(prefix = "wow.view-store")
class ViewStoreProperties(var systemViews: MutableList<SystemViewProperties> = mutableListOf())

The view store service's settings (wow.view-store, the 9.x starter's prefix).