From 1ba4f46fd5de2b8218caecefc534904a49ad07e7 Mon Sep 17 00:00:00 2001 From: Jason Kulatunga Date: Sun, 5 Nov 2023 18:16:34 -0800 Subject: [PATCH] remove deprecated endpoint. Updated fasten-sources to include Epic Legacy client for Epic clients that don't support dynamic client registration. --- .../src/app/services/lighthouse.service.ts | 22 ------------------- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 3 insertions(+), 25 deletions(-) diff --git a/frontend/src/app/services/lighthouse.service.ts b/frontend/src/app/services/lighthouse.service.ts index 3446e4f7..4c2898d9 100644 --- a/frontend/src/app/services/lighthouse.service.ts +++ b/frontend/src/app/services/lighthouse.service.ts @@ -46,28 +46,6 @@ export class LighthouseService { ); } - //deprecated - // public findLighthouseSources(searchTerm: string, scrollId= "", showHidden = false): Observable { - // const endpointUrl = new URL(`${environment.lighthouse_api_endpoint_base}/list/search`); - // if(showHidden){ - // endpointUrl.searchParams.set('show_hidden', 'true'); - // } - // if(scrollId){ - // endpointUrl.searchParams.set('scroll_id', scrollId); - // } - // if(searchTerm){ - // endpointUrl.searchParams.set('query', searchTerm); - // } - // - // return this._httpClient.get(endpointUrl.toString()) - // .pipe( - // map((response: ResponseWrapper) => { - // console.log("Metadata RESPONSE", response) - // return response.data as LighthouseSourceSearch - // }) - // ); - // } - public getLighthouseSourceMetadataMap(showHidden = false): Observable<{[name: string]: MetadataSource}> { const endpointUrl = new URL(`${environment.lighthouse_api_endpoint_base}/list`); if(showHidden){ diff --git a/go.mod b/go.mod index 47c5f08f..34e6189d 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/dave/jennifer v1.6.1 github.com/dominikbraun/graph v0.15.0 github.com/dop251/goja v0.0.0-20230605162241-28ee0ee714f3 - github.com/fastenhealth/fasten-sources v0.4.6 + github.com/fastenhealth/fasten-sources v0.4.9 github.com/fastenhealth/gofhir-models v0.0.6 github.com/gin-gonic/gin v1.9.0 github.com/glebarez/sqlite v1.5.0 diff --git a/go.sum b/go.sum index 35ca3227..930d06ad 100644 --- a/go.sum +++ b/go.sum @@ -197,8 +197,8 @@ github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLi github.com/evanphx/json-patch v4.5.0+incompatible h1:ouOWdg56aJriqS0huScTkVXPC5IcNrDCXZ6OoTAWu7M= github.com/evanphx/json-patch v4.5.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= -github.com/fastenhealth/fasten-sources v0.4.6 h1:m0Jz9nj14hNzBebnLzUE4OlQrFA5a9m21V45P8Ij8kk= -github.com/fastenhealth/fasten-sources v0.4.6/go.mod h1:YxgwR6jSEU+edYqEDkm238n7HlvZdW3i04nIh7gSDaM= +github.com/fastenhealth/fasten-sources v0.4.9 h1:93cb18rnIfdbXqmrw0dfjaTa/dNT8XA7JtNGLjYijHE= +github.com/fastenhealth/fasten-sources v0.4.9/go.mod h1:YxgwR6jSEU+edYqEDkm238n7HlvZdW3i04nIh7gSDaM= github.com/fastenhealth/gofhir-models v0.0.6 h1:yJYYaV1eJtHiGEfA1rXLsyOm/9hIi6s2cGoZzGfW1tM= github.com/fastenhealth/gofhir-models v0.0.6/go.mod h1:xB8ikGxu3bUq2b1JYV+CZpHqBaLXpOizFR0eFBCunis= github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=