From 87a0f5ca91f6eca6c6f74b11caec7b0580d57036 Mon Sep 17 00:00:00 2001
From: Neelesh Thakur <NThakur4@slb.com>
Date: Tue, 28 Jul 2020 12:32:15 -0500
Subject: [PATCH] remove register service endpoint from gcp deployment

---
 .../java/org/opengroup/osdu/notification/util/Config.java   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/testing/notification-test-core/src/main/java/org/opengroup/osdu/notification/util/Config.java b/testing/notification-test-core/src/main/java/org/opengroup/osdu/notification/util/Config.java
index e811d98dc..e1fafaf80 100644
--- a/testing/notification-test-core/src/main/java/org/opengroup/osdu/notification/util/Config.java
+++ b/testing/notification-test-core/src/main/java/org/opengroup/osdu/notification/util/Config.java
@@ -42,10 +42,12 @@ public class Config {
         config.hmacSecretValue = System.getProperty("HMAC_SECRET", System.getenv("HMAC_SECRET"));
 
         if (env.equalsIgnoreCase("LOCAL")) {
-            String registerUrl = "https://os-register-dot-opendes.appspot.com/api/register/v1";
+            //make sure to run register service on a different port. You can also choose to point to Register service that is running in cloud
+            String registerUrl = "http://localhost:8081/";
+
             //must have notification and register services running on different ports
             config.HostUrl = "http://localhost:8080/";
-            //make sure to run register service on a different port. You can also choose to point to Register service that is running in cloud
+
             config.GSAPushUrl = registerUrl+"/test/gsa-challenge/";
             config.HMACPushUrl = registerUrl+"/test/challenge/";
             config.RegisterServicePath = registerUrl;
-- 
GitLab