Package-level declarations

Types

Link copied to clipboard
@ConditionalOnProperty(value = ["wow.view-store.enabled"], matchIfMissing = true, havingValue = "true")
annotation class ConditionalOnViewStoreEnabled
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.

Link copied to clipboard
@ConditionalOnClass(value = [CommandHandler::class])
@EnableConfigurationProperties(value = [ViewStoreProperties::class])
class ViewStoreAutoConfiguration

Puts the view store into a Wow service: the View, ViewPreferences and DatasetWording aggregates come with the domain on the classpath (Wow routes them like the host's own, under /view-store); this adds what they need around them. Every bean is named for the view store and touches only the view store's aggregates and paths, so the host's own aggregates, routes and queries are left as they were.

Link copied to clipboard
class ViewStoreKafkaProperties(var topicPrefix: String? = null)

The Kafka topics of the view store's aggregates.

Link copied to clipboard
@ConfigurationProperties(prefix = "wow.view-store")
class ViewStoreProperties(var enabled: Boolean = true, var systemViews: List<SystemViewProperties> = emptyList(), var kafka: ViewStoreKafkaProperties = ViewStoreKafkaProperties()) : EnabledCapable

The view store's settings.