Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13893

REST DSL Swagger Maven plugin integration test failure

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0.RC1
    • tooling
    • None
    • Unknown

    Description

      We have test failures on master in the REST DSL Swagger Maven plugin integration tests:

      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'
      

      Attachments

        Activity

          People

            zregvart Zoran Regvart
            zregvart Zoran Regvart
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: