You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Zoran Regvart (Jira)" <ji...@apache.org> on 2019/08/22 15:52:00 UTC

[jira] [Commented] (CAMEL-13893) REST DSL Swagger Maven plugin integration test failure

    [ https://issues.apache.org/jira/browse/CAMEL-13893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16913437#comment-16913437 ] 

Zoran Regvart commented on CAMEL-13893:
---------------------------------------

I just pushed a quick fix that disables {{configurations}} in Any23 data format. I'll keep working on a solution that'll restore that functionality and at the same time not cause namespace issues in JAXB.

> REST DSL Swagger Maven plugin integration test failure
> ------------------------------------------------------
>
>                 Key: CAMEL-13893
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13893
>             Project: Camel
>          Issue Type: Task
>          Components: tooling
>            Reporter: Zoran Regvart
>            Assignee: Zoran Regvart
>            Priority: Major
>
> We have test failures on {{master}} in the REST DSL Swagger Maven plugin integration tests:
> {code}
> Assertion failed: 
> assert data.contains('<restConfiguration component="jetty"/>')
>        |    |
>        |    false
>        '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<ns2:rests xmlns:ns2="http://camel.apache.org/schema/blueprint">\n    <ns2:rest path="/v2">\n        <ns2:put consumes="application/json,application/xml" id="updatePet" produces="application/xml,application/json" uri="/pet">\n            <ns2:param description="Pet object that needs to be added to the store" name="body" required="true" type="body"/>\n            <ns2:to uri="direct:updatePet"/>\n        </ns2:put>\n        <ns2:get id="findPetsByStatus" produces="application/xml,application/json" uri="/pet/findByStatus">\n            <ns2:description>Multiple status values can be provided with comma separated strings</ns2:description>\n            <ns2:param arrayType="string" collectionFormat="multi" dataType="array" description="Status values that need to be considered for filter" name="status" required="true" type="query"/>\n            <ns2:to uri="direct:findPetsByStatus"/>\n        </ns2:get>\n        <ns2:get id="findPetsByTags" produces="application/xml,application/json" uri="/pet/findByTags">\n            <ns2:description>Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.</ns2:description>\n            <ns2:param arrayType="string" collectionFormat="multi" dataType="array" description="Tags to filter by" name="tags" required="true" type="query"/>\n            <ns2:to uri="direct:findPetsByTags"/>\n        </ns2:get>\n        <ns2:delete id="deletePet" produces="application/xml,application/json" uri="/pet/{petId}">\n            <ns2:param dataType="string" name="api_key" required="false" type="header"/>\n            <ns2:param dataType="integer" description="Pet id to delete" name="petId" required="true" type="path"/>\n            <ns2:to uri="direct:deletePet"/>\n        </ns2:delete>\n    </ns2:rest>\n</ns2:rests>\n'
> {code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)