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

Fix incorrect elasticsearch5-rest documentation and OperationTypes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.21.0
    • 2.21.0
    • camel-elasticsearch5
    • None
    • Novice

    Description

      Minor mistake in the new elasticsearch5-rest dokumentation.

      • The operation names is wrong and should reflect the names in the ElasticsearchOperation
      • The maven pom.xml example pointing to the wrong artifact

      A few of the operation type is returning a incorrect Type from body

      • Update should return an Object from the body instead of Map and pas it into the ElasticsearchActionRequestConverter.toUpdateRequest
      • Bulk should return an Object and pas it into the ElasticsearchActionRequestConverter.toBulkRequest

      Attachments

        Issue Links

          Activity

            People

              flemming.harms@gmail.com Flemming Harms
              flemming.harms@gmail.com Flemming Harms
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: