camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sarwarbhuiyan <>
Subject [GitHub] camel pull request: Rest elasticsearch client support
Date Thu, 14 Jan 2016 17:40:30 GMT
GitHub user sarwarbhuiyan opened a pull request:

    Rest elasticsearch client support

    Added support for Elasticsearch Camel operations via HTTP (using Jersey). 
    Tried to keep as close to the operation specs based on the web documentation but had to
change slightly where using Elasticsearch java classes as return objects was not appropriate.

    Used Maps and Lists as much as possible which can then either be used via Jackson's ObjectMapper
to read determine responses.

You can merge this pull request into a Git repository by running:

    $ git pull rest-elasticsearch-client

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #770
commit 35ae18322359dcdd79244469e4b3148b634f12a7
Author: Sarwar Bhuiyan <>
Date:   2015-12-30T13:16:10Z

    Intial commit:
    1. Added a useHttpClient param to the ElasticsearchEndpoint configuration
       which would be used as the flag to use the ElasticsearchHttpClient
       instead of the Java client
    2. Added support for index and bulk_index operations

commit 7e49c71b300342be881d91f8f9eef1cd8fc2b8b2
Author: Sarwar Bhuiyan <>
Date:   2015-12-30T17:10:30Z

    Added get_by_id

commit a80eca7a2f4bbf4d9381a1d5997021e9a169f661
Author: Sarwar Bhuiyan <>
Date:   2015-12-30T17:34:20Z

    added delete

commit c2a1a1f33d3bb58d3eee5c7cdae51609313be5db
Author: Sarwar Bhuiyan <>
Date:   2015-12-30T19:00:29Z

    added update call to support Map

commit b91805fa71afb74f8d02d24b4ba39f4c1e2976a9
Author: Sarwar Bhuiyan <>
Date:   2016-01-01T18:42:36Z

    Added multiget functionality. There has been a challenge here in that the input has not
    MutiGetRequest.Item as in the case of the Java API but rather just a List of Maps
    Also, the result cannot be MultiGetResponse but rather a List of Strings. The strings
    can then be converted into JSON and inspected.

commit 562b6de87bdd3c9da826476a8bb0dbd7809d360c
Author: Sarwar Bhuiyan <>
Date:   2016-01-10T10:07:48Z

    Added "Index Exists" API to align with existing API

commit db0ec0f7603a8f38597657cb264019aaa847b107
Author: Sarwar Bhuiyan <>
Date:   2016-01-10T11:04:10Z

    Fixed Search Tests as they were not really checking the search results
    Implemented http search API to return map of maps

commit 6f67bc5af7f1e3cea5829bece834f8ce92e7001b
Author: Sarwar Bhuiyan <>
Date:   2016-01-14T17:37:02Z

    Added support for multisearch api via HTTP which takes in a List of Maps and
    returns a List of Maps


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message