feat: Custom Healthcare API endpoint (#1367)

* Add ability to configure Google Cloud Healthcare API endpoint.

* Fixed bug in script.

* Fixed PR remark.

* Set Healthcare API endpoint in proper place.
This commit is contained in:
mukhlin authored and Danny Brown committed 2020-01-14 10:22:53 -05:00
1 parent df612ca4a0
commit a5d6bc6a51
4 files changed
+30 -10

No files matched your search

@@ -18,6 +18,7 @@ const getActiveServer = servers => {
const getServers = (appConfig, project, location, dataset, dicomStore) => {
let servers = [];
if (appConfig.enableGoogleCloudAdapter) {
GoogleCloudApi.urlBase = appConfig.healthcareApiEndpoint;
const pathUrl = GoogleCloudApi.getUrlBaseDicomWeb(
project,
location,