Skip to content

Convert HTTP class to use more robust framework #198

Description

@grasbergerm

Right now, the service level calls are using HttpURLConnection. HttpURLConnection provides a blank slate to make a request with few default values. Session values are not preserved by default, so this means manually setting an x-auth-token or JSESSIONID when authenticating and making a request to another endpoint behind authentication.
There are many libraries for Java that will preserve a session as calls are made, automatically saving session information for future requests. A few different options exist, such as HttpClient, Jetty Http Client, and OkHttpClient
A small POC should be created for each of these and compared in order to choose the best, most well-suited option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions