Really embracing the power of #43 by adding some really handy autoconfiguration for Spring Boot 3.
Features:
A ReadContextFilter that automatically acquires a ReadContext on every HTTP endpoint. User can opt out with config property bosk.web.read-context: false. In future we'll probably offer additional config options to tweak the behaviour; for now it's very simple.
A ServiceEndpointsRestController that gives direct access to the bosk contents, including conditional updates via HTTP etags. Configurable via bosk.web.service-path (which is typically set to '/bosk').
A JacksonPlugin object.
A BoskJacksonModule bean, which Spring Boot automatically provides to the jackson ObjectMapper
Also, an example "hello world" program, which is a Java 17 Spring Boot 3 program that uses bosk autoconfiguration.
Really embracing the power of #43 by adding some really handy autoconfiguration for Spring Boot 3.
Features:
ReadContextFilter
that automatically acquires aReadContext
on every HTTP endpoint. User can opt out with config propertybosk.web.read-context: false
. In future we'll probably offer additional config options to tweak the behaviour; for now it's very simple.ServiceEndpoints
RestController
that gives direct access to the bosk contents, including conditional updates via HTTP etags. Configurable viabosk.web.service-path
(which is typically set to'/bosk'
).JacksonPlugin
object.BoskJacksonModule
bean, which Spring Boot automatically provides to the jacksonObjectMapper
Also, an example "hello world" program, which is a Java 17 Spring Boot 3 program that uses bosk autoconfiguration.