From 492a639cd840023a5af4f72971ef9d1f5d29b0e8 Mon Sep 17 00:00:00 2001 From: yurii_ruban <yurii_ruban@epam.com> Date: Wed, 19 Mar 2025 13:04:18 +0300 Subject: [PATCH] Removed api point --- .../osdu/notification/CorePlusApplication.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/notification-core-plus/src/main/java/org/opengroup/osdu/notification/CorePlusApplication.java b/notification-core-plus/src/main/java/org/opengroup/osdu/notification/CorePlusApplication.java index 940fb9054..9aa9c5dd0 100644 --- a/notification-core-plus/src/main/java/org/opengroup/osdu/notification/CorePlusApplication.java +++ b/notification-core-plus/src/main/java/org/opengroup/osdu/notification/CorePlusApplication.java @@ -16,14 +16,22 @@ package org.opengroup.osdu.notification; +import org.opengroup.osdu.notification.api.PubsubEndpoint; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; +import org.springframework.context.annotation.FilterType; import org.springframework.context.annotation.PropertySource; import org.springframework.scheduling.annotation.EnableAsync; @SpringBootApplication -@ComponentScan(value = {"org.opengroup.osdu"}) +@ComponentScan(value = {"org.opengroup.osdu"}, excludeFilters = { + @ComponentScan.Filter( + type = FilterType.ASSIGNABLE_TYPE, + value = { + PubsubEndpoint.class + }) +}) @EnableAsync @PropertySource("classpath:swagger.properties") public class CorePlusApplication { -- GitLab