From 30e714af3525c7d10cb6125b7a66f9b0982a6724 Mon Sep 17 00:00:00 2001 From: HARSHEET SHAH <harsheetshah@microsoft.com> Date: Thu, 31 Mar 2022 18:00:28 +0530 Subject: [PATCH] PBI-6584: Upgrade spring boot dependencies. Spring boot dependencies are inherited from os-common-core. --- .../java/org/opengroup/osdu/indexer/IndexerApplication.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indexer-core/src/main/java/org/opengroup/osdu/indexer/IndexerApplication.java b/indexer-core/src/main/java/org/opengroup/osdu/indexer/IndexerApplication.java index 4a6eefc89..416bf89dd 100644 --- a/indexer-core/src/main/java/org/opengroup/osdu/indexer/IndexerApplication.java +++ b/indexer-core/src/main/java/org/opengroup/osdu/indexer/IndexerApplication.java @@ -1,8 +1,8 @@ package org.opengroup.osdu.indexer; import org.springframework.boot.SpringApplication; +import org.springframework.boot.actuate.autoconfigure.elasticsearch.ElasticSearchRestHealthContributorAutoConfiguration; import org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration; -import org.springframework.boot.actuate.elasticsearch.ElasticsearchRestHealthIndicator; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; import org.springframework.context.annotation.ComponentScan; @@ -10,7 +10,7 @@ import org.springframework.context.annotation.Configuration; @Configuration @ComponentScan({"org.opengroup.osdu.core.common","org.opengroup.osdu.indexer", "org.opengroup.osdu.is"}) -@SpringBootApplication(exclude = {ElasticsearchRestHealthIndicator.class, SecurityAutoConfiguration.class, ManagementWebSecurityAutoConfiguration.class}) +@SpringBootApplication(exclude = {ElasticSearchRestHealthContributorAutoConfiguration.class, SecurityAutoConfiguration.class, ManagementWebSecurityAutoConfiguration.class}) public class IndexerApplication { public static void main( String[] args ) { -- GitLab