Open Issues Need Help
View All on GitHub Software Development • Plugin Development
Apache HttpClient 4 -> 5 migration doesn't migrate `AuthSchemeFactory.newInstance()` to `.create()` 13 days ago
AI Summary: The OpenRewrite Apache HttpClient 4 to 5 migration recipe (`UpgradeApacheHttpClient_4_5` and `UpgradeApacheHttpClient_5`) fails to correctly handle the evolution of authentication scheme factories. It misses migrating from the deprecated V4 `AuthSchemeFactory.newInstance()` to V4's `AuthSchemeProvider.create()`, and subsequently to V5's `AuthSchemeFactory.create()` (which is the renamed V4 provider), along with package updates. This results in incorrect method signatures and interface names after migration.
Complexity:
3/5
good first issue recipe