diff --git a/pom.xml b/pom.xml
index 2b803db..099c50c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -83,15 +83,9 @@
- org.springframework.boot
- spring-boot-actuator
- 1.3.5.RELEASE
-
-
-
- org.springframework
- spring-web
- 4.3.5.RELEASE
+ org.eclipse.microprofile.health
+ microprofile-health-api
+ 4.0
diff --git a/src/main/java/org/gcube/datatransfer/resolver/services/SpringBootActuatorConfig.java b/src/main/java/org/gcube/datatransfer/resolver/services/SpringBootActuatorConfig.java
deleted file mode 100644
index 7ef2ad5..0000000
--- a/src/main/java/org/gcube/datatransfer/resolver/services/SpringBootActuatorConfig.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package org.gcube.datatransfer.resolver.services;
-
-import java.util.Collection;
-
-import javax.ws.rs.Path;
-
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.boot.actuate.autoconfigure.EndpointAutoConfiguration;
-import org.springframework.boot.actuate.autoconfigure.PublicMetricsAutoConfiguration;
-import org.springframework.boot.actuate.endpoint.MetricsEndpoint;
-import org.springframework.boot.actuate.endpoint.mvc.EndpointHandlerMapping;
-import org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter;
-import org.springframework.boot.actuate.endpoint.mvc.MvcEndpoint;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.context.annotation.Import;
-
-@Configuration
-@Import({ EndpointAutoConfiguration.class, PublicMetricsAutoConfiguration.class })
-public class SpringBootActuatorConfig {
-
- @Bean
- @Autowired
- public EndpointHandlerMapping endpointHandlerMapping(Collection extends MvcEndpoint> endpoints) {
- return new EndpointHandlerMapping(endpoints);
- }
-
- @Bean
- @Autowired
- public EndpointMvcAdapter metricsEndPoint(MetricsEndpoint delegate) {
- return new EndpointMvcAdapter(delegate);
- }
-}
\ No newline at end of file
diff --git a/src/main/java/org/gcube/datatransfer/resolver/services/UriResolverHealthCheck.java b/src/main/java/org/gcube/datatransfer/resolver/services/UriResolverHealthCheck.java
new file mode 100644
index 0000000..b14861d
--- /dev/null
+++ b/src/main/java/org/gcube/datatransfer/resolver/services/UriResolverHealthCheck.java
@@ -0,0 +1,14 @@
+package org.gcube.datatransfer.resolver.services;
+
+import javax.ws.rs.Path;
+
+import org.eclipse.microprofile.health.HealthCheck;
+import org.eclipse.microprofile.health.HealthCheckResponse;
+
+@Path("health")
+public class UriResolverHealthCheck implements HealthCheck {
+ @Override
+ public HealthCheckResponse call() {
+ return HealthCheckResponse.named("uri-resolver").up().build();
+ }
+}
\ No newline at end of file