Uploaded image for project: 'RAML Module Builder'
  1. RAML Module Builder
  2. RMB-247

OkapiUrl with scheme and path in HttpModuleClient* HttpClient*

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      CP: Roadmap backlog
    • Development Team:
      Core: Platform

      Description

      okapiUrl may be https://folio.example.com/okapi
      The constructors of HttpModuleClient, HttpModuleClient2, HttpClientFactory and HttpClientMock2 that take host and port only have these deficiencies:

      • They always set scheme=http, they cannot handle https
      • They make it likely that programmers inadvertently forget to prepend the okapiUrl path "/okapi" to the endpoint parameter.

      Constructors that take the full okapiUrl are already there (parameter absHost).

      Deprecate the host+port constructors and update the documentation to endorse the full okapiUrl usage.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                julianladisch Julian Ladisch
                Tester Assignee:
                Adam Dickmeiss Adam Dickmeiss
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:

                    TestRail: Runs

                      TestRail: Cases