You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/08/08 18:21:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17576924#comment-17576924 ]
ASF subversion and git services commented on NIFI-10137:
--------------------------------------------------------
Commit bf9e08fe7d07837a49cff318de8786954038ad15 in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=bf9e08fe7d ]
NIFI-10137 This closes #6134. Changed nifi-toolkit-api to use Jersey 2 and Jackson
Signed-off-by: Joe Witt <jo...@apache.org>
> 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: 1h
> 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)