From 39c35b5611839ab1b63ccda4d892ef89e1435283 Mon Sep 17 00:00:00 2001
From: Luca Frosini
Date: Mon, 7 Mar 2022 11:25:20 +0100
Subject: [PATCH] Fixed javadoc
---
.../handler/resourceregistry/EServiceHandler.java | 6 ++++--
.../handler/resourceregistry/HostingNodeHandler.java | 3 ++-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/main/java/org/gcube/smartgears/handler/resourceregistry/EServiceHandler.java b/src/main/java/org/gcube/smartgears/handler/resourceregistry/EServiceHandler.java
index 8e98b8f..15489bd 100644
--- a/src/main/java/org/gcube/smartgears/handler/resourceregistry/EServiceHandler.java
+++ b/src/main/java/org/gcube/smartgears/handler/resourceregistry/EServiceHandler.java
@@ -20,7 +20,9 @@ import org.gcube.common.authorization.library.provider.SecurityTokenProvider;
import org.gcube.common.events.Observes;
import org.gcube.informationsystem.model.reference.entities.Resource;
import org.gcube.informationsystem.model.reference.relations.ConsistsOf;
-import org.gcube.informationsystem.resourceregistry.api.contexts.ContextCache;import org.gcube.resourcemanagement.model.reference.entities.resources.EService;
+import org.gcube.informationsystem.resourceregistry.api.contexts.ContextCache;
+import org.gcube.resourcemanagement.model.reference.entities.facets.StateFacet;
+import org.gcube.resourcemanagement.model.reference.entities.resources.EService;
import org.gcube.smartgears.context.Property;
import org.gcube.smartgears.context.application.ApplicationContext;
import org.gcube.smartgears.handler.resourceregistry.resourcemanager.EServiceManager;
@@ -40,7 +42,7 @@ import org.slf4j.LoggerFactory;
*
* - creates the {@link EService} {@link Resource} and the facets it
* {@link ConsistsOf} when the application starts for the first time;
- * - update the {@link ServiceStateFacet} when the application becomes active,
+ *
- update the {@link StateFacet} when the application becomes active,
* and at any lifecycle change thereafter;
*
*
diff --git a/src/main/java/org/gcube/smartgears/handler/resourceregistry/HostingNodeHandler.java b/src/main/java/org/gcube/smartgears/handler/resourceregistry/HostingNodeHandler.java
index 633bb2e..3b34200 100644
--- a/src/main/java/org/gcube/smartgears/handler/resourceregistry/HostingNodeHandler.java
+++ b/src/main/java/org/gcube/smartgears/handler/resourceregistry/HostingNodeHandler.java
@@ -29,6 +29,7 @@ import org.gcube.informationsystem.model.reference.entities.Resource;
import org.gcube.informationsystem.model.reference.relations.ConsistsOf;
import org.gcube.informationsystem.resourceregistry.api.contexts.ContextCache;
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
+import org.gcube.resourcemanagement.model.reference.entities.facets.StateFacet;
import org.gcube.resourcemanagement.model.reference.entities.resources.HostingNode;
import org.gcube.smartgears.context.Property;
import org.gcube.smartgears.context.container.ContainerContext;
@@ -47,7 +48,7 @@ import org.slf4j.LoggerFactory;
*
* - creates the {@link HostingNode} {@link Resource} and the facets it
* {@link ConsistsOf} when the container starts for the first time;
- * - update the {@link ContainerStateFacet} when the application becomes
+ *
- update the {@link StateFacet} when the application becomes
* active, and at any lifecycle change thereafter;
* - schedule a periodic update of {@link Facet}s containing variables
* information.