Schema
data class Schema(@DefaultValue(value = ["5m"] ) var revalidateInterval: Duration = java.time.Duration.ofMinutes(5), @DefaultValue(value = ["warn"] ) var legacyDeclarations: LegacyQuerySchemaDeclarationPolicy = LegacyQuerySchemaDeclarationPolicy.WARN)
Constructors
Link copied to clipboard
constructor(@DefaultValue(value = ["5m"] ) revalidateInterval: Duration = java.time.Duration.ofMinutes(5), @DefaultValue(value = ["warn"] ) legacyDeclarations: LegacyQuerySchemaDeclarationPolicy = LegacyQuerySchemaDeclarationPolicy.WARN)
Properties
Link copied to clipboard
what a 9.1 declaration file (wow-query-schema/{context}/{aggregate}/{model}.json) means when no source declares that model in 9.2: warn (default, while 9.1 nodes may still read it) serves the inferred schema and logs where the 9.2 declaration goes; fail makes that model's schema unavailable.
Link copied to clipboard
how often each query schema is reloaded so storage changes made outside a deployment (indexes, mappings, validators) are picked up; 0s disables periodic revalidation.