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

Siddharth R updated FLINK-37601:
--------------------------------
    Description: Remove the *Unirest* *HTTP* client library dependency from the 
{*}PrometheusReporterTest{*}. Unirest was only utilized in this specific test 
class for polling the Prometheus metrics endpoint. This change replaces the 
single usage of *Unirest.get()* with the standard Java {*}HttpClient{*}, 
thereby reducing the project's external dependencies.  (was:  

Old package - 
[https://mvnrepository.com/artifact/com.mashape.unirest/unirest-java/1.4.9]

New package - 
[https://mvnrepository.com/artifact/com.konghq/unirest-java-core/4.4.5]

 

 

 )

> Remove Unirest dependency in PrometheusReporterTest
> ---------------------------------------------------
>
>                 Key: FLINK-37601
>                 URL: https://issues.apache.org/jira/browse/FLINK-37601
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Siddharth R
>            Priority: Major
>              Labels: pull-request-available
>
> Remove the *Unirest* *HTTP* client library dependency from the 
> {*}PrometheusReporterTest{*}. Unirest was only utilized in this specific test 
> class for polling the Prometheus metrics endpoint. This change replaces the 
> single usage of *Unirest.get()* with the standard Java {*}HttpClient{*}, 
> thereby reducing the project's external dependencies.



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

Reply via email to