diff --git a/authentication/authentication-internal-service/src/main/java/io/mosip/authentication/internal/service/InternalAuthenticationApplication.java b/authentication/authentication-internal-service/src/main/java/io/mosip/authentication/internal/service/InternalAuthenticationApplication.java index 3f2fa6ebb55..21aa49d3c81 100644 --- a/authentication/authentication-internal-service/src/main/java/io/mosip/authentication/internal/service/InternalAuthenticationApplication.java +++ b/authentication/authentication-internal-service/src/main/java/io/mosip/authentication/internal/service/InternalAuthenticationApplication.java @@ -1,7 +1,9 @@ package io.mosip.authentication.internal.service; import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.FilterType; import org.springframework.context.annotation.Import; @@ -109,7 +111,8 @@ * * @author Dinesh Karuppiah */ -@SpringBootApplication +@SpringBootApplication(exclude = { CacheAutoConfiguration.class}) +@EnableAutoConfiguration @Import(value = { IdValidationUtil.class, IDAMappingConfig.class, KeyBindedTokenAuthServiceImpl.class, KeyManager.class, AuthContextClazzRefProvider.class, RestRequestFactory.class, IdInfoFetcherImpl.class, OTPManager.class, MasterDataManager.class,