NCIOCPL / clinical-trials-listing-api

API for Clinical Trial (Dynamic) Listing Pages
2 stars 2 forks source link

Enabler: Upgrade API to Elasticsearch 7.x #38

Closed blairlearn closed 3 years ago

blairlearn commented 3 years ago

Title of Enabler

The Clinical Trials Listing API will be the first of the APIs to use Elasticsearch 7.x

ESTIMATE TBD

Resources:

Prerequisites

Sub-Tasks

Notes

blairlearn commented 3 years ago

The biggest change (aside from the client version) is that ResponseBuilder<T> has been removed in favor of a static class of the same name (but not generic). The upshot is that ElasticsearchInterceptingConnection has to be refactored to not pass an instance of ResponseBuilder but to instead make available the values needed to assemble a response.