konveyor/rulesets

Create rules for RestTemplate Apache HttpClient 5 requirement

Opened this issue · 2 comments

jmle commented

According to the migration guide:

RestTemplate, or rather the HttpComponentsClientHttpRequestFactory, now requires Apache HttpClient 5.

Investigate and create rules if necessary

In the rule description and message, try to be as verbose and clear as possible. Code examples are always welcome and useful. Feel free to use markdown syntax for these.

This issue is currently awaiting triage.
If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.
The triage/accepted label can be added by org members.

jmle commented

Usage of RestTemplate and Apache Http Client lower than 5 should trigger this rule. There are migration guidelines from Apache HttpClient 4 to 5: https://hc.apache.org/httpcomponents-client-5.4.x/migration-guide/preparation.html