diff --git a/admin/kernel-syncdata-service/src/main/java/io/mosip/kernel/syncdata/SyncDataBootApplication.java b/admin/kernel-syncdata-service/src/main/java/io/mosip/kernel/syncdata/SyncDataBootApplication.java index b85975f68f2..1b20cafd9e7 100644 --- a/admin/kernel-syncdata-service/src/main/java/io/mosip/kernel/syncdata/SyncDataBootApplication.java +++ b/admin/kernel-syncdata-service/src/main/java/io/mosip/kernel/syncdata/SyncDataBootApplication.java @@ -1,6 +1,5 @@ package io.mosip.kernel.syncdata; -import io.mosip.kernel.keymanagerservice.validator.ECKeyPairGenRequestValidator; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; @@ -11,7 +10,6 @@ import org.springframework.cache.annotation.EnableCaching; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.FilterType; -import org.springframework.context.annotation.Import; import org.springframework.scheduling.annotation.EnableAsync; import org.springframework.scheduling.annotation.EnableScheduling; @@ -28,10 +26,10 @@ "io.mosip.kernel.keymanagerservice.helper", "io.mosip.kernel.keymanager", "io.mosip.kernel.cryptomanager.util", "io.mosip.kernel.partnercertservice.helper", "io.mosip.kernel.partnercertservice.service", "io.mosip.kernel.websub.api.client", - "io.mosip.kernel.keygenerator.bouncycastle", "io.mosip.kernel.websub.api.config" }, + "io.mosip.kernel.keygenerator.bouncycastle", "io.mosip.kernel.websub.api.config", + "io.mosip.kernel.keymanagerservice.validator" }, excludeFilters = {@ComponentScan.Filter( type = FilterType.ASPECTJ, pattern = {"io.mosip.kernel.signature.*"})}) -@Import(value = {ECKeyPairGenRequestValidator.class}) @EnableAsync @EnableScheduling @EnableCaching