diff --git a/search-service-v1/search-service-server-v1/pom.xml b/search-service-v1/search-service-server-v1/pom.xml index ba9ed4e..849eec0 100644 --- a/search-service-v1/search-service-server-v1/pom.xml +++ b/search-service-v1/search-service-server-v1/pom.xml @@ -93,7 +93,6 @@ org.springframework.boot spring-boot-starter-amqp - 3.0.5 @@ -122,7 +121,6 @@ org.springframework.amqp spring-rabbit-test - 3.0.3 test diff --git a/search-service-v1/search-service-server-v1/src/main/java/com/iqser/red/service/search/v1/server/multitenancy/EncryptionDecryptionService.java b/search-service-v1/search-service-server-v1/src/main/java/com/iqser/red/service/search/v1/server/multitenancy/EncryptionDecryptionService.java index 70a8b7c..1929009 100644 --- a/search-service-v1/search-service-server-v1/src/main/java/com/iqser/red/service/search/v1/server/multitenancy/EncryptionDecryptionService.java +++ b/search-service-v1/search-service-server-v1/src/main/java/com/iqser/red/service/search/v1/server/multitenancy/EncryptionDecryptionService.java @@ -16,6 +16,7 @@ import javax.crypto.spec.SecretKeySpec; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; +import jakarta.annotation.PostConstruct; import lombok.SneakyThrows; @Service @@ -29,6 +30,7 @@ public class EncryptionDecryptionService { @SneakyThrows + @PostConstruct protected void postConstruct() { SecureRandom secureRandom = new SecureRandom();