fix_28276 #9

Merged
francesco.mangiacrapa merged 11 commits from fix_28276 into master 2024-10-16 11:11:33 +02:00
1 changed files with 3 additions and 0 deletions
Showing only changes of commit 427ceed7a0 - Show all commits

View File

@ -2,6 +2,8 @@ package org.gcube.datatransfer.resolver.services;
import java.util.Collection; import java.util.Collection;
import javax.ws.rs.Path;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.actuate.autoconfigure.EndpointAutoConfiguration; import org.springframework.boot.actuate.autoconfigure.EndpointAutoConfiguration;
import org.springframework.boot.actuate.autoconfigure.PublicMetricsAutoConfiguration; import org.springframework.boot.actuate.autoconfigure.PublicMetricsAutoConfiguration;
@ -15,6 +17,7 @@ import org.springframework.context.annotation.Import;
@Configuration @Configuration
@Import({ EndpointAutoConfiguration.class, PublicMetricsAutoConfiguration.class }) @Import({ EndpointAutoConfiguration.class, PublicMetricsAutoConfiguration.class })
@Path("metrics")
public class SpringBootActuatorConfig { public class SpringBootActuatorConfig {
@Bean @Bean