From 665a32d8023f1ce1a445a952cb55ba05bf812ee1 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Thu, 1 Aug 2019 15:40:53 +0200 Subject: [PATCH] Fixed Initializator startup --- .../org/gcube/vremanagement/executor/ResourceInitializer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/gcube/vremanagement/executor/ResourceInitializer.java b/src/main/java/org/gcube/vremanagement/executor/ResourceInitializer.java index 6f2462e..cecb6f2 100644 --- a/src/main/java/org/gcube/vremanagement/executor/ResourceInitializer.java +++ b/src/main/java/org/gcube/vremanagement/executor/ResourceInitializer.java @@ -3,6 +3,7 @@ package org.gcube.vremanagement.executor; import javax.ws.rs.ApplicationPath; import javax.ws.rs.core.MediaType; +import org.gcube.smartgears.annotations.ManagedBy; import org.gcube.vremanagement.executor.rest.RestSmartExecutor; import org.glassfish.jersey.server.ResourceConfig; import org.slf4j.Logger; @@ -12,6 +13,7 @@ import org.slf4j.LoggerFactory; * @author Luca Frosini (ISTI - CNR) */ @ApplicationPath("/") +@ManagedBy(SmartExecutorInitializator.class) public class ResourceInitializer extends ResourceConfig { public static final String APPLICATION_JSON_CHARSET_UTF_8 = MediaType.APPLICATION_JSON + ";charset=UTF-8";