You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2022/06/17 18:03:00 UTC
[jira] [Updated] (NIFI-10137) Change OkHttp 2 to Jersey 2 in Generated Toolkit API
[ https://issues.apache.org/jira/browse/NIFI-10137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Handermann updated NIFI-10137:
------------------------------------
Status: Patch Available (was: Open)
> Change OkHttp 2 to Jersey 2 in Generated Toolkit API
> ----------------------------------------------------
>
> Key: NIFI-10137
> URL: https://issues.apache.org/jira/browse/NIFI-10137
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Tools and Build
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The Swagger Codegen configuration in {{nifi-toolkit-api}} uses the default HTTP client library setting, which requires OkHttp 2. OkHttp 2 is deprecated, and Swagger Codegen does not support OkHttp 3 or 4. Changing the generated code to use Jersey 2 provides a supported HTTP client library.
> The default configuration also requires Joda Time, which should be replaced with Java 8 modules.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)