From 42425b98bc838459784549bb302313fbd7bdd355 Mon Sep 17 00:00:00 2001 From: komakkar <komakkar@microsoft.com> Date: Mon, 17 Aug 2020 02:12:58 +0530 Subject: [PATCH] Intermediate changes --- provider/notification-azure/pom.xml | 36 ++++++++++++++++++- .../resources/application-local.properties | 4 +++ 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/provider/notification-azure/pom.xml b/provider/notification-azure/pom.xml index 69593aaf8..59f275194 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 dede88f26..798b488dc 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 -- GitLab