Closed scottjohnson closed 5 years ago
Very nice! You might want to mark the old annotations as deprecated and add JavaDoc pointing them to the new ones.
@adamzr, @mikebell90 had suggested deleting the old annotations (which I did in this PR). I could go either way.
Some of the tests are a bit flakey for a variety of reasons that I think come from library stuff. I'm debating how to handle that.
Introduces
@ReactiveServer
annotation to configure a service using the new top-level otj-server-reactive module.Unit tests are by-and-large replicated from otj-server-mvc to validate the same functionality works in the same way as it was previously tested, with the exception that test requests are issued with
WebTestClient
instead ofTestRestTemplate
, responses come in the form ofMono
, and the internal echo client replacesRestTemplate
withWebClient
to be reactive all up and and down the test stack.