Skip to content

Add Validation to HTTP Inbound #2978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 27, 2019

Conversation

artembilan
Copy link
Member

  • Pull a validation functionality from WebFluxInboundEndpoint to its
    super class BaseHttpInboundEndpoint making a validation available for
    the HttpRequestHandlingEndpointSupport as well
  • Do the same for the validator() option in DSL for the
    HttpInboundEndpointSupportSpec
  • Add validator XML attribute for both HTTP and WebFlux inbound
    endpoint XSDs
  • Test parsers for a new validator option
  • Document validation in the http.adoc
  • Apply some polishing in the http.adoc, as well as in the
    HttpRequestHandlingEndpointSupport JavaDocs
  • Clarify in webflux.adoc that validation is applied for the
    Publisher items before the payload is finally built for the message to
    send.
  • Add WebFlux into the table of endpoints in the endpoint-summary.adoc

* Pull a validation functionality from `WebFluxInboundEndpoint` to its
super class `BaseHttpInboundEndpoint` making a validation available for
the `HttpRequestHandlingEndpointSupport` as well
* Do the same for the `validator()` option in DSL for the
`HttpInboundEndpointSupportSpec`
* Add `validator` XML attribute for both HTTP and WebFlux inbound
endpoint XSDs
* Test parsers for a new `validator` option
* Document validation in the `http.adoc`
* Apply some polishing in the `http.adoc`, as well as in the
`HttpRequestHandlingEndpointSupport` JavaDocs
* Clarify in `webflux.adoc` that validation is applied for the
`Publisher` items before the payload is finally built for the message to
send.
* Add WebFlux into the table of endpoints in the `endpoint-summary.adoc`
@garyrussell
Copy link
Contributor

checkstyle

* Fix `SimpleMessageListenerContainerSpec` for deprecated `txSize` option
@garyrussell garyrussell merged commit c18c2e2 into spring-projects:master Jun 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants