Uploaded image for project: 'mod-user-import'
  1. mod-user-import
  2. MODUIMP-64

Use WebClient rather than HttpClientFactory, HttpClientInterface

    XMLWordPrintable

Details

    • Story
    • Status: Closed (View Workflow)
    • TBD
    • Resolution: Done
    • None
    • 3.6.4, 3.7.0
    • None
    • CP: sprint 133
    • 3
    • Core: Platform
    • TBD

    Description

      The module uses the depreacted HttpClientFactory, HttpClientInterface. The problem
      with this interface does not offer socket reuse. Either 1: leaks or socket 2: socket closed for each client use (inefficient)

      https://github.com/folio-org/mod-user-import/blob/e3562ec5982faf42a768af88de9ed7adb1c76f89/src/main/java/org/folio/rest/impl/UserImportAPI.java#L166

      https://github.com/folio-org/mod-user-import/blob/e3562ec5982faf42a768af88de9ed7adb1c76f89/src/main/java/org/folio/util/HttpClientUtil.java#L131

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                adam Adam Dickmeiss
                adam Adam Dickmeiss
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases