From 1fc83a25141d56dfe9d670e174dcefde4d3dbe5f Mon Sep 17 00:00:00 2001 From: Luca Consalvi Date: Wed, 27 Nov 2024 16:16:43 +0100 Subject: [PATCH] try to fix issue --- .../rtp/activator/configuration/CosmosDBConfig.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/java/it/gov/pagopa/rtp/activator/configuration/CosmosDBConfig.java b/src/main/java/it/gov/pagopa/rtp/activator/configuration/CosmosDBConfig.java index c4d8fd0..89fd772 100644 --- a/src/main/java/it/gov/pagopa/rtp/activator/configuration/CosmosDBConfig.java +++ b/src/main/java/it/gov/pagopa/rtp/activator/configuration/CosmosDBConfig.java @@ -1,10 +1,18 @@ package it.gov.pagopa.rtp.activator.configuration; +import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; +import com.azure.spring.cloud.autoconfigure.implementation.context.properties.AzureGlobalProperties; import com.azure.spring.data.cosmos.repository.config.EnableReactiveCosmosRepositories; @Configuration @EnableReactiveCosmosRepositories("it.gov.pagopa.rtp.activator.repository") public class CosmosDBConfig { + + @Bean + public AzureGlobalProperties azureGlobalProperties() { + return new AzureGlobalProperties(); + } + }