Package-level declarations

Types

Link copied to clipboard
class ElasticsearchEventStreamIndexInitializer(elasticsearchClient: ReactiveElasticsearchClient, resourceLocator: WowResourceLocator = WowResourceLocator(), namedAggregates: Iterable<NamedAggregate> = MetadataSearcher.namedAggregateType.keys, indexNaming: ElasticsearchIndexNaming) : ElasticsearchIndexInitializer

Creates the event stream indices (wow.{context}.{aggregate}.es) whose definitions are shipped, behind the deployment's index prefix.

Link copied to clipboard
abstract class ElasticsearchIndexInitializer(elasticsearchClient: ReactiveElasticsearchClient, resourceLocator: WowResourceLocator, namedAggregates: Iterable<NamedAggregate>, indexNaming: ElasticsearchIndexNaming)

Creates the concrete Elasticsearch indices whose definitions an application ships: for each aggregate, META-INF/wow/elasticsearch/{indexName}.json on the classpath or config/wow/elasticsearch/{indexName}.json in the working directory, a native create-index request (settings, mappings, aliases). An index that does not exist yet is created from it; the index templates matching its name still apply beneath it, the definition winning where both map a field. The definition is found under the index's unprefixed name and creates the index indexNaming names.

Link copied to clipboard
class ElasticsearchIndexNaming(val prefix: String = "")

The names Wow gives its Elasticsearch indices and index templates on one cluster.

Link copied to clipboard
class ElasticsearchSnapshotIndexInitializer(elasticsearchClient: ReactiveElasticsearchClient, resourceLocator: WowResourceLocator = WowResourceLocator(), namedAggregates: Iterable<NamedAggregate> = MetadataSearcher.namedAggregateType.keys, indexNaming: ElasticsearchIndexNaming) : ElasticsearchIndexInitializer

Creates the snapshot indices (wow.{context}.{aggregate}.snapshot) whose definitions are shipped, behind the deployment's index prefix.

Link copied to clipboard
Link copied to clipboard
class IndexTemplateInitializer(elasticsearchOperations: ReactiveElasticsearchOperations, indexNaming: ElasticsearchIndexNaming)

Puts Wow's event stream and snapshot index templates. indexNaming prefixes the template names and their index_patterns; with ElasticsearchIndexNaming.DEFAULT they are wow-event-stream-template (wow.*.es) and wow-snapshot-template (wow.*.snapshot).

Properties

Link copied to clipboard
val WowJsonpMapper: Jackson3JsonpMapper