From 8119c282acd2f7f4a6ecb94e4989f2274904ec6c Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Wed, 29 Jun 2022 12:20:47 +0200 Subject: [PATCH] Cleaning code --- .classpath | 4 ++-- pom.xml | 15 +-------------- .../connector/resourceregistry/Constants.java | 10 ---------- .../resourcemanager/HostingNodeManager.java | 1 - 4 files changed, 3 insertions(+), 27 deletions(-) diff --git a/.classpath b/.classpath index 002ad57..271ce0c 100644 --- a/.classpath +++ b/.classpath @@ -13,15 +13,15 @@ + - - + diff --git a/pom.xml b/pom.xml index e0a9af3..06b0017 100644 --- a/pom.xml +++ b/pom.xml @@ -61,6 +61,7 @@ org.gcube.core common-smartgears + provided javax.servlet @@ -82,18 +83,4 @@ test - - - - org.apache.maven.plugins - maven-assembly-plugin - - - make-uberjar - install - - - - - \ No newline at end of file diff --git a/src/main/java/org/gcube/smartgears/connector/resourceregistry/Constants.java b/src/main/java/org/gcube/smartgears/connector/resourceregistry/Constants.java index fb4750c..760c465 100644 --- a/src/main/java/org/gcube/smartgears/connector/resourceregistry/Constants.java +++ b/src/main/java/org/gcube/smartgears/connector/resourceregistry/Constants.java @@ -11,16 +11,6 @@ public class Constants { public static final String HOSTING_NODE_MANAGER_PROPERTY = HostingNodeManager.class.getSimpleName(); -// /** -// * The name of the context property that contains the EService Resource. -// */ -// public static final String ESERVICE_MANAGER_PROPERTY = EServiceManager.class.getSimpleName(); - - /** - * The configuration name of {@link EServiceHandler} and {@link HostingNodeHandler}. - */ - public static final String RESOURCE_MANAGEMENT = "resource-management"; - public static final long default_container_publication_frequency_in_seconds = 60; public static final int application_republish_frequency_in_minutes = 20; diff --git a/src/main/java/org/gcube/smartgears/connector/resourceregistry/resourcemanager/HostingNodeManager.java b/src/main/java/org/gcube/smartgears/connector/resourceregistry/resourcemanager/HostingNodeManager.java index 6401335..26eadcb 100644 --- a/src/main/java/org/gcube/smartgears/connector/resourceregistry/resourcemanager/HostingNodeManager.java +++ b/src/main/java/org/gcube/smartgears/connector/resourceregistry/resourcemanager/HostingNodeManager.java @@ -81,7 +81,6 @@ import org.gcube.smartgears.configuration.container.Site; import org.gcube.smartgears.configuration.library.SmartGearsConfiguration; import org.gcube.smartgears.connector.resourceregistry.ContextUtility; import org.gcube.smartgears.context.container.ContainerContext; -import org.gcube.smartgears.lifecycle.container.ContainerState; import org.gcube.smartgears.provider.ProviderFactory; import org.gcube.smartgears.security.AuthorizationProvider; import org.slf4j.Logger;