diff --git a/notification-core/src/main/java/org/opengroup/osdu/notification/pubsub/IPubsubHandshakeHandler.java b/notification-core/src/main/java/org/opengroup/osdu/notification/pubsub/IPubsubHandshakeHandler.java index bf560c3435aba580d112b44871285363d1f58158..a08238247a7744207a8fd920a4e3e6fa2135ea37 100644 --- a/notification-core/src/main/java/org/opengroup/osdu/notification/pubsub/IPubsubHandshakeHandler.java +++ b/notification-core/src/main/java/org/opengroup/osdu/notification/pubsub/IPubsubHandshakeHandler.java @@ -4,5 +4,5 @@ import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Component; public interface IPubsubHandshakeHandler { - ResponseEntity getHandshakeResponse(); + String getHandshakeResponse(); } diff --git a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/PubsubHandshakeHandler.java b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/PubsubHandshakeHandler.java index 8907662353338194c8b6b065d9f23b0a9dd191d6..d902b45066d00a3ce733d988c5c2747e2796306b 100644 --- a/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/PubsubHandshakeHandler.java +++ b/provider/notification-azure/src/main/java/org/opengroup/osdu/notification/provider/azure/pubsub/PubsubHandshakeHandler.java @@ -10,7 +10,8 @@ import org.springframework.stereotype.Component; public class PubsubHandshakeHandler implements IPubsubHandshakeHandler { @Override - public ResponseEntity getHandshakeResponse() { + public String getHandshakeResponse() { + return null; } } diff --git a/provider/notification-gcp/src/main/java/org/opengroup/osdu/notification/provider/gcp/pubsub/PubsubHandshakeHandler.java b/provider/notification-gcp/src/main/java/org/opengroup/osdu/notification/provider/gcp/pubsub/PubsubHandshakeHandler.java index 55f9890392dcc22f597ae773e63eb5bcd3a960d4..9c78507c7540d2e2bc2bd0c72f10db1427c2c911 100644 --- a/provider/notification-gcp/src/main/java/org/opengroup/osdu/notification/provider/gcp/pubsub/PubsubHandshakeHandler.java +++ b/provider/notification-gcp/src/main/java/org/opengroup/osdu/notification/provider/gcp/pubsub/PubsubHandshakeHandler.java @@ -10,7 +10,7 @@ import org.springframework.stereotype.Component; public class PubsubHandshakeHandler implements IPubsubHandshakeHandler { @Override - public ResponseEntity getHandshakeResponse() { + public String getHandshakeResponse() { return null; } }