Merging changes made in branch 'feature/23630'

This commit is contained in:
Luca Frosini 2023-02-09 16:04:39 +01:00
parent eef2db5eb7
commit 13370bef1e
31 changed files with 21 additions and 28 deletions

View File

@ -16,6 +16,9 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegis
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class ContextCache {
private static Logger logger = LoggerFactory.getLogger(ContextCache.class);

View File

@ -5,6 +5,9 @@ import java.util.List;
import org.gcube.informationsystem.contexts.reference.entities.Context;
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public interface ContextCacheRenewal {
public List<Context> renew() throws ResourceRegistryException;

View File

@ -16,6 +16,9 @@ import org.gcube.informationsystem.serialization.ElementMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class ContextUtility {
private static Logger logger = LoggerFactory.getLogger(ContextUtility.class);

View File

@ -2,7 +2,6 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions;
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class AlreadyPresentException extends ResourceRegistryException {

View File

@ -2,7 +2,6 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions;
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class AvailableInAnotherContextException extends ResourceRegistryException {

View File

@ -2,7 +2,6 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions;
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class CreationException extends ResourceRegistryException {

View File

@ -2,7 +2,6 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions;
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class NotFoundException extends ResourceRegistryException {

View File

@ -4,7 +4,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegis
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class ContextException extends ResourceRegistryException {

View File

@ -2,7 +2,6 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions.contexts;
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class ContextMoveException extends ContextException {

View File

@ -4,7 +4,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExcep
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class ContextNotFoundException extends NotFoundException {

View File

@ -4,7 +4,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.AlreadyPresen
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class EntityAlreadyPresentException extends AlreadyPresentException {

View File

@ -4,7 +4,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.CreationExcep
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class EntityCreationException extends CreationException {

View File

@ -4,7 +4,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExcep
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class EntityNotFoundException extends NotFoundException {

View File

@ -5,7 +5,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.entities.Enti
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class FacetAlreadyPresentException extends EntityAlreadyPresentException {

View File

@ -5,7 +5,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.entities.Enti
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class FacetNotFoundException extends EntityNotFoundException {

View File

@ -2,10 +2,8 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions.entities.res
import org.gcube.informationsystem.resourceregistry.api.exceptions.entities.EntityAlreadyPresentException;
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class ResourceAlreadyPresentException extends EntityAlreadyPresentException {

View File

@ -2,10 +2,8 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions.entities.res
import org.gcube.informationsystem.resourceregistry.api.exceptions.entities.EntityNotFoundException;
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class ResourceNotFoundException extends EntityNotFoundException {

View File

@ -2,7 +2,6 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions.queries;
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
/**
* @author Luca Frosini (ISTI - CNR)
*/

View File

@ -4,7 +4,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegis
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class QueryTemplateException extends ResourceRegistryException {

View File

@ -4,7 +4,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExcep
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class QueryTemplateNotFoundException extends NotFoundException {

View File

@ -4,7 +4,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.CreationExcep
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class RelationCreationException extends CreationException {

View File

@ -4,7 +4,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.relations.Rel
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class ConsistsOfCreationException extends RelationCreationException {

View File

@ -2,7 +2,6 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions.relations.is
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class IsParentOfCreationException extends IsParentOfException {

View File

@ -2,6 +2,9 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions.relations.is
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class IsParentOfException extends ResourceRegistryException {
/**

View File

@ -4,7 +4,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.relations.Rel
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class IsRelatedToCreationException extends RelationCreationException {

View File

@ -4,7 +4,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegis
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class SchemaException extends ResourceRegistryException {

View File

@ -4,7 +4,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.NotFoundExcep
/**
* @author Luca Frosini (ISTI - CNR)
*
*/
public class SchemaNotFoundException extends NotFoundException {

View File

@ -2,6 +2,9 @@ package org.gcube.informationsystem.resourceregistry.api.exceptions.types;
import org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class SchemaViolationException extends ResourceRegistryException {
/**

View File

@ -1,6 +1,3 @@
/**
*
*/
package org.gcube.informationsystem.resourceregistry.api.rest;
/**

View File

@ -1,5 +1,8 @@
package org.gcube.informationsystem.resourceregistry.api.rest;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class InstancePath {
public static final String INSTANCES_PATH_PART = "instances";

View File

@ -1,5 +1,8 @@
package org.gcube.informationsystem.resourceregistry.api.rest;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class SharingPath {
public static final String SHARING_PATH_PART = "sharing";