Migrate BasicAsyncRequestProducer to AsyncRequestBuilder

MSAL

Rewrites new BasicAsyncRequestProducer(HttpHost.create(uri), new HttpMethod(path).setEntity(new N*Entity(...))) to AsyncRequestBuilder.<verb>(uri).setEntity(AsyncEntityProducers.create(...)).build(). Sites that do not match this specific shape are left alone for later migration steps.

org.openrewrite.apache.httpclient5.MigrateBasicAsyncRequestProducer
mod run . --recipe=org.openrewrite.apache.httpclient5.MigrateBasicAsyncRequestProducer

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.