Skip to content
Snippets Groups Projects
Commit d5eac25a authored by Komal Makkar's avatar Komal Makkar
Browse files

DI changes.

parent 78d4e155
No related branches found
No related tags found
2 merge requests!12Pubsub Azure Implementation.,!10SPI for PubSubRequestExtractor and handshake request handler.
Pipeline #5515 failed
......@@ -3,7 +3,6 @@ package org.opengroup.osdu.notification.pubsub;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
@Component
public interface IPubsubHandshakeHandler {
ResponseEntity getHandshakeResponse();
}
......@@ -5,7 +5,6 @@ import org.springframework.http.ResponseEntity;
import java.util.Map;
@Component
public interface IPubsubRequestBodyExtractor {
Map<String, String> extractAttributesFromRequestBody() ;
......
package org.opengroup.osdu.notification.provider.azure.pubsub;
import org.opengroup.osdu.notification.pubsub.IPubsubHandshakeHandler;
import org.springframework.http.ResponseEntity;
public class PubsubHandshakeHandler implements IPubsubHandshakeHandler {
@Override
public ResponseEntity getHandshakeResponse() {
return null;
}
}
package org.opengroup.osdu.notification.provider.gcp.pubsub;
import org.opengroup.osdu.notification.pubsub.IPubsubHandshakeHandler;
import org.springframework.context.annotation.Lazy;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Component;
@Component
@Lazy
public class PubsubHandshakeHandler implements IPubsubHandshakeHandler {
@Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment