Zoran Regvart created CAMEL-13893:
-------------------------------------

             Summary: 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


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)

Reply via email to