Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-5623

Update all usage of Okhttp to latest library

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.13.0
    • 1.14.0, 1.13.1
    • None
    • None

    Description

      In looking at existing dep usage and available versions we see

      [INFO] com.squareup.okhttp3:mockwebserver ................... 3.6.0 -> 3.11.0
      [INFO] com.squareup.okhttp3:okhttp ......................... 3.10.0 -> 3.11.0
      [INFO] com.squareup.okhttp3:okhttp .......................... 3.3.1 -> 3.11.0
      [INFO] com.squareup.okhttp3:okhttp .......................... 3.6.0 -> 3.11.0
      [INFO] com.squareup.okhttp3:okhttp .......................... 3.8.1 -> 3.11.0

      But in changing to 3.11.0 it became clear we have work to do so we can better leverage okhttp and its improving/tightening features around things like TLS setup/cert validation/hostname verification. Several tests started failing after the update. We need to use certs with updated SANs and we need to probably improve things as called out in https://issues.apache.org/jira/browse/NIFI-1478.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              joewitt Joe Witt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m