From 9e524b0d2b1fa689fabad8724d155b3c51eeb4a3 Mon Sep 17 00:00:00 2001
From: Charlotte Hausman <chausman@nrao.edu>
Date: Thu, 1 Jul 2021 16:10:09 +0000
Subject: [PATCH] correcting locator service url for local use

---
 apps/web/src/environments/environment.dev.ts  | 2 +-
 apps/web/src/environments/environment.prod.ts | 2 +-
 apps/web/src/environments/environment.test.ts | 2 +-
 apps/web/src/environments/environment.ts      | 2 +-
 docker.properties                             | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/apps/web/src/environments/environment.dev.ts b/apps/web/src/environments/environment.dev.ts
index fd037058f..67f23ee69 100644
--- a/apps/web/src/environments/environment.dev.ts
+++ b/apps/web/src/environments/environment.dev.ts
@@ -1,7 +1,7 @@
 export const environment = {
     production: true,
     // archive search services
-    apiUrl: 'https://webtest.aoc.nrao.edu/archiveServices/',
+    apiUrl: 'https://webtest.aoc.nrao.edu/archive-services/',
     // workspace services
     workspacesUrl: 'https://ws-dev.nrao.edu/'
 };
diff --git a/apps/web/src/environments/environment.prod.ts b/apps/web/src/environments/environment.prod.ts
index e849194a1..d411f0747 100644
--- a/apps/web/src/environments/environment.prod.ts
+++ b/apps/web/src/environments/environment.prod.ts
@@ -1,7 +1,7 @@
 export const environment = {
   production: true,
   // archive search services
-  apiUrl: 'https://webtest.aoc.nrao.edu/archiveServices/',
+  apiUrl: 'https://webtest.aoc.nrao.edu/archive-services/',
   // workspace services
   workspacesUrl: 'http://localhost:3457/'
 };
diff --git a/apps/web/src/environments/environment.test.ts b/apps/web/src/environments/environment.test.ts
index 8caa18792..83481a19d 100644
--- a/apps/web/src/environments/environment.test.ts
+++ b/apps/web/src/environments/environment.test.ts
@@ -1,7 +1,7 @@
 export const environment = {
   production: true,
   // archive search services
-  apiUrl: 'https://webtest.aoc.nrao.edu/archiveServices/',
+  apiUrl: 'https://webtest.aoc.nrao.edu/archive-services/',
   // workspace services
   workspacesUrl: 'http://shipman.aoc.nrao.edu:3457/'
 };
diff --git a/apps/web/src/environments/environment.ts b/apps/web/src/environments/environment.ts
index 5dc483908..60bc90785 100644
--- a/apps/web/src/environments/environment.ts
+++ b/apps/web/src/environments/environment.ts
@@ -5,7 +5,7 @@
 export const environment = {
   production: false,
   // archive search services
-  apiUrl: 'https://webtest.aoc.nrao.edu/archiveServices/',
+  apiUrl: 'https://webtest.aoc.nrao.edu/archive-services/',
   // workspace services
   workspacesUrl: 'http://localhost:3457/'
 };
diff --git a/docker.properties b/docker.properties
index ef1891d5d..d6238b371 100644
--- a/docker.properties
+++ b/docker.properties
@@ -52,7 +52,7 @@ edu.nrao.archive.workspaces.DeliverySettings.standardImageDelivery = /lustre/aoc
 #
 edu.nrao.archive.workflow.config.DataFetcherSettings.ramInGb = 16
 edu.nrao.archive.workflow.config.DataFetcherSettings.clusterTimeout = 01:00:00:00
-edu.nrao.archive.datafetcher.DataFetcherSettings.locatorServiceUrlPrefix = https://webtest.aoc.nrao.edu/archiveServices/location?locator
+edu.nrao.archive.datafetcher.DataFetcherSettings.locatorServiceUrlPrefix = https://webtest.aoc.nrao.edu/archive-services/location?locator
 edu.nrao.archive.datafetcher.DataFetcherSettings.defaultThreadsPerHost = 4
 edu.nrao.archive.datafetcher.DataFetcherSettings.executionSite = local_test
 edu.nrao.archive.datafetcher.DataFetcherSettings.downloadDirectory=/tmp/
-- 
GitLab