You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/11/15 10:36:00 UTC

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

Claus Ibsen created CAMEL-17197:
-----------------------------------

             Summary: 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
             Fix For: 3.14.0


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.1#820001)