You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by davsclaus <gi...@git.apache.org> on 2018/05/30 09:11:51 UTC

[GitHub] camel pull request #2354: CAMEL-11162: rest-dsl add client request validatio...

GitHub user davsclaus opened a pull request:

    https://github.com/apache/camel/pull/2354

    CAMEL-11162: rest-dsl add client request validation

    So we check whether required data is included in the client http request when being processed by rest-dsl consumer. 
    
    We now check for missing
    - query parameters
    - http headers
    - body
    
    The context-path is already handled in the uri path matcher, so it will fail already for invalid context-path.
    
    This can be turned on in the rest configuration. 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/camel rest-val

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/2354.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2354
    
----
commit 8f088e7fa1fb11e48ed4150ad460bad1d4dd1020
Author: Claus Ibsen <cl...@...>
Date:   2018-05-29T14:38:28Z

    CAMEL-11162: rest-dsl now has validation check for consumer to check if the http client request has content-type/accept headers that is supported in rest-dsl consumes/produces settings.

commit c9ff0ce02d9d7ed72e84b5fb58a19d7820822300
Author: Claus Ibsen <cl...@...>
Date:   2018-05-30T06:45:56Z

    CAMEL-11162: rest-dsl now has validation check for consumer to check if the http client request has content-type/accept headers that is supported in rest-dsl consumes/produces settings.

commit 066566dea22ed6dcc2978ca33b0707a6d0035f7f
Author: Claus Ibsen <cl...@...>
Date:   2018-05-30T09:03:49Z

    CAMEL-11162: rest-dsl now has validation check for consumer to check if the http client request has content-type/accept headers that is supported in rest-dsl consumes/produces settings.

----


---

[GitHub] camel pull request #2354: CAMEL-11162: rest-dsl add client request validatio...

Posted by davsclaus <gi...@git.apache.org>.
Github user davsclaus closed the pull request at:

    https://github.com/apache/camel/pull/2354


---