[ 
https://issues.apache.org/jira/browse/CAMEL-17197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-17197:
--------------------------------
    Fix Version/s: 3.15.0
                       (was: 3.14.0)

> 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
>            Priority: Minor
>             Fix For: 3.15.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)

Reply via email to