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

Fix incorrect elasticsearch5-rest documentation and OperationTypes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.21.0
    • Fix Version/s: 2.21.0
    • Component/s: camel-elasticsearch5
    • Labels:
      None
    • Estimated Complexity:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: