David Handermann created NIFI-10137:
---------------------------------------

             Summary: 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


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)

Reply via email to