You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Nicolas Filotto (Jira)" <ji...@apache.org> on 2022/09/15 09:03:00 UTC

[jira] [Commented] (CAMEL-17197) camel-elasticsearch - Avoid using deprecated APIs

    [ https://issues.apache.org/jira/browse/CAMEL-17197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17605213#comment-17605213 ] 

Nicolas Filotto commented on CAMEL-17197:
-----------------------------------------

should be fixed by https://github.com/apache/camel/pull/8381

> camel-elasticsearch - Avoid using deprecated APIs
> -------------------------------------------------
>
>                 Key: CAMEL-17197
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17197
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-elasticsearch-rest
>            Reporter: Claus Ibsen
>            Assignee: Nicolas Filotto
>            Priority: Minor
>             Fix For: 3.x
>
>
> When running test IT tests
> [INFO] Running org.apache.camel.component.elasticsearch.integration.ElasticsearchGetSearchDeleteExistsUpdateIT
> Nov 15, 2021 11:34:27 AM org.elasticsearch.client.RestClient logResponse
> WARNING: request [POST http://localhost:52347/_msearch?typed_keys=true] returned 1 warnings: [299 Elasticsearch-7.3.2-1c1faf1 "[types removal] Specifying types in multi search requests is deprecated."]
> Nov 15, 2021 11:34:28 AM org.elasticsearch.client.RestClient logResponse
> WARNING: request [PUT http://localhost:52347/getrequestbody()-foo/getrequestbody()-bar/getrequestbody()-testId?timeout=1m] returned 1 warnings: [299 Elasticsearch-7.3.2-1c1faf1 "[types removal] Specifying types in document index requests is deprecated, use the typeless endpoints instead (/{index}/_doc/{id}, /{index}/_doc, or /{index}/_create/{id})."]
> Nov 15, 2021 11:34:28 AM org.elasticsearch.client.RestClient logResponse
> WARNING: request [GET http://localhost:52347/getrequestbody()-foo/getrequestbody()-bar/getrequestbody()-testId] returned 1 warnings: [299 Elasticsearch-7.3.2-1c1faf1 "[types removal] Specifying types in document get requests is deprecated, use the /{index}/_doc/{id} endpoint instead."]
> Nov 15, 2021 11:34:28 AM org.elasticsearch.client.RestClient logResponse
> WARNING: request [PUT http://localhost:52347/deleterequestbody()-foo/deleterequestbody()-bar/deleterequestbody()-testId?timeout=1m] returned 1 warnings: [299 Elasticsearch-7.3.2-1c1faf1 "[types removal] Specifying types in document index requests is deprecated, use the typeless endpoints instead (/{index}/_doc/{id}, /{index}/_doc, or /{index}/_create/{id})."]
> Nov 15, 2021 11:34:28 AM org.elasticsearch.client.RestClient logResponse
> WARNING: request [DELETE http://localhost:52347/deleterequestbody()-foo/deleterequestbody()-bar/deleterequestbody()-testId?timeout=1m] returned 1 warnings: [299 Elasticsearch-7.3.2-1c1faf1 "[types removal] Specifying types in document index requests is deprecated, use the /{index}/_doc/{id} endpoint instead."]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)