Companion
Functions
Link copied to clipboard
fun configured(tenants: Map<String, String>, types: Collection<AggregateType>, whose: String, entryKey: (String) -> String, tenantKey: (String) -> String): TenantPolicy
The fixed tenants a configuration names (fixed): tenants maps the name of a type, <context>.<aggregate>, to its tenant, and each name is one of types, which whose says whose they are. A name of no such type, or a blank tenant, is a WowConfigurationException of the key entryKey or tenantKey gives the name: one rule and one wording wherever a fixed tenant is configured, the host's wow.aggregates.[<name>].tenant and migrate-data's tenants, whose check reads the same fixed tenants the host's configuration states.
Link copied to clipboard
Link copied to clipboard
The aggregates of each type of tenants are in its tenant, those of the other types in their caller's.