diff --git a/provider/notification-azure/pom.xml b/provider/notification-azure/pom.xml index 69593aaf8b75ca9958270559cc5453fbe7f08def..59f275194e05ee1fcf6be1a7aeb437819ab7093d 100644 --- a/provider/notification-azure/pom.xml +++ b/provider/notification-azure/pom.xml @@ -19,7 +19,6 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> - <groupId>org.opengroup.osdu</groupId> <artifactId>notification-azure</artifactId> <version>1.0.0</version> <name>notification-azure</name> @@ -146,6 +145,25 @@ <build> <plugins> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.8.2</version> + <executions> + <execution> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>report</id> + <phase>prepare-package</phase> + <goals> + <goal>report</goal> + </goals> + </execution> + </executions> + </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> @@ -174,4 +192,20 @@ </plugin> </plugins> </build> + <reporting> + <plugins> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <reportSets> + <reportSet> + <reports> + <!-- select non-aggregate reports --> + <report>report</report> + </reports> + </reportSet> + </reportSets> + </plugin> + </plugins> + </reporting> </project> \ No newline at end of file diff --git a/provider/notification-azure/src/main/resources/application-local.properties b/provider/notification-azure/src/main/resources/application-local.properties index dede88f265be44d0290bac42caaa0229893c4df1..798b488dc52da5406accffc3c3145eb65637a1a2 100644 --- a/provider/notification-azure/src/main/resources/application-local.properties +++ b/provider/notification-azure/src/main/resources/application-local.properties @@ -37,3 +37,7 @@ tenantInfo.container.name=TenantInfo # Azure KeyVault configuration azure.keyvault.url=${KEYVAULT_URI} + +# Logging configuration +logging.transaction.enabled=true +logging.slf4jlogger.enabled=true