BiAutoConfiguration

@AutoConfiguration(after = [WebFluxAutoConfiguration::class])
@ConditionalOnClass(name = ["me.ahoo.wow.bi.BiScriptGenerator"])
@ConditionalOnProperty(prefix = "wow.bi.script", name = ["enabled"], havingValue = "true", matchIfMissing = true)
@EnableConfigurationProperties(value = [BiScriptProperties::class])
class BiAutoConfiguration

Wires the BI script route when wow-bi is on the classpath and wow.bi.script.enabled is not false.

The route joins the router and the OpenAPI document through the starter's registration seams: its contract is a RouteContributor bean, its handler an HttpRouteHandlerFunctionFactory bean, and its three error codes are registered with ErrorHttpStatusMapping. Without wow-bi none of this exists, so the route is absent.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
@Configuration(proxyBeanMethods = false)
@ConditionalOnClass(name = ["me.ahoo.wow.openapi.RouterSpecs"])
class RouteContractConfiguration

The route contract, offered to the route catalog and so to the OpenAPI document.

Link copied to clipboard
@Configuration(proxyBeanMethods = false)
@ConditionalOnClass(name = ["me.ahoo.wow.webflux.route.command.CommandHandlerFunction"])
class WebFluxConfiguration

The WebFlux side: the deployment inspector, and, when the WebFlux router is configured (this runs after WebFluxAutoConfiguration), the route handler, which registers the error statuses.