You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joe Witt (Jira)" <ji...@apache.org> on 2022/08/08 18:22: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 ]
Joe Witt updated NIFI-10137:
----------------------------
Fix Version/s: 1.18.0
Resolution: Fixed
Status: Resolved (was: Patch Available)
> 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
> Fix For: 1.18.0
>
> Time Spent: 1h 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.10#820010)