Commit be59ddca authored by neelesh thakur's avatar neelesh thakur
Browse files

Merge branch 'optimize-logging' into 'master'

add log ignoring for /swagger-ui.html health check;

See merge request !83
parents 9426fb16 754d352f
Pipeline #50296 failed with stages
in 34 minutes and 49 seconds
This diff is collapsed.
...@@ -39,14 +39,26 @@ ...@@ -39,14 +39,26 @@
<springframework.version>4.3.0.RELEASE</springframework.version> <springframework.version>4.3.0.RELEASE</springframework.version>
<reactor.netty.version>0.9.0.RELEASE</reactor.netty.version> <reactor.netty.version>0.9.0.RELEASE</reactor.netty.version>
<reactor.core.version>3.3.0.RELEASE</reactor.core.version> <reactor.core.version>3.3.0.RELEASE</reactor.core.version>
<osdu.corelibazure.version>0.0.66</osdu.corelibazure.version> <osdu.corelibazure.version>0.9.0</osdu.corelibazure.version>
<junit.version>5.6.0</junit.version> <junit.version>5.6.0</junit.version>
<jjwt.version>3.8.1</jjwt.version> <jjwt.version>3.8.1</jjwt.version>
<mockito.version>2.23.0</mockito.version> <mockito.version>2.23.0</mockito.version>
<spring-boot.version>2.1.18.RELEASE</spring-boot.version>
<jackson.version>2.11.4</jackson.version>
<reactor-core.version>3.4.6</reactor-core.version>
<reactor-netty.version>1.0.7</reactor-netty.version>
<oauth2-oidc-sdk.version>6.0</oauth2-oidc-sdk.version>
</properties> </properties>
<dependencyManagement> <dependencyManagement>
<dependencies> <dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Inherit managed dependencies from core-lib-azure --> <!-- Inherit managed dependencies from core-lib-azure -->
<dependency> <dependency>
<groupId>org.opengroup.osdu</groupId> <groupId>org.opengroup.osdu</groupId>
...@@ -91,11 +103,45 @@ ...@@ -91,11 +103,45 @@
</exclusions> </exclusions>
</dependency> </dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>io.projectreactor.netty</groupId>
<artifactId>reactor-netty</artifactId>
<version>${reactor-netty.version}</version>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
<version>${reactor-core.version}</version>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>oauth2-oidc-sdk</artifactId>
<version>${oauth2-oidc-sdk.version}</version>
</dependency>
<!-- Azure Dependencies --> <!-- Azure Dependencies -->
<dependency> <dependency>
<groupId>com.microsoft.azure</groupId> <groupId>com.azure.spring</groupId>
<artifactId>azure-active-directory-spring-boot-starter</artifactId> <artifactId>azure-spring-boot-starter-active-directory</artifactId>
</dependency> </dependency>
<!-- Test Dependencies --> <!-- Test Dependencies -->
...@@ -116,6 +162,11 @@ ...@@ -116,6 +162,11 @@
<version>${junit.version}</version> <version>${junit.version}</version>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency> <dependency>
<groupId>org.mockito</groupId> <groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId> <artifactId>mockito-junit-jupiter</artifactId>
......
...@@ -24,6 +24,7 @@ logging.level.org.springframework.web=${notification_spring_logging_level:INFO} ...@@ -24,6 +24,7 @@ logging.level.org.springframework.web=${notification_spring_logging_level:INFO}
logging.transaction.enabled=true logging.transaction.enabled=true
logging.slf4jlogger.enabled=true logging.slf4jlogger.enabled=true
logging.mdccontext.enabled=false logging.mdccontext.enabled=false
logging.ignore.servlet.paths=/swagger-ui.html
# Service settings # Service settings
PARTITION_API=${partition_service_endpoint} PARTITION_API=${partition_service_endpoint}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment