Fixed Initializator startup

This commit is contained in:
Luca Frosini 2019-08-01 15:40:53 +02:00
parent ff5b536156
commit 665a32d802
1 changed files with 2 additions and 0 deletions

View File

@ -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";