Added authorship in the class

This commit is contained in:
Luca Frosini 2022-04-05 17:32:03 +02:00
parent 9a0d965745
commit cceed61fba
18 changed files with 50 additions and 1 deletions

View File

@ -7,6 +7,9 @@ import java.lang.annotation.Target;
import javax.ws.rs.HttpMethod; import javax.ws.rs.HttpMethod;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@Target({ElementType.METHOD}) @Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@HttpMethod("PATCH") @HttpMethod("PATCH")

View File

@ -7,6 +7,9 @@ import java.lang.annotation.Target;
import javax.ws.rs.HttpMethod; import javax.ws.rs.HttpMethod;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@Target({ElementType.METHOD}) @Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME) @Retention(RetentionPolicy.RUNTIME)
@HttpMethod("PURGE") @HttpMethod("PURGE")

View File

@ -21,6 +21,9 @@ import org.postgresql.core.Utils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class CKANPackageTrash { public class CKANPackageTrash {
protected static final Logger logger = LoggerFactory.getLogger(CKANPackageTrash.class); protected static final Logger logger = LoggerFactory.getLogger(CKANPackageTrash.class);

View File

@ -15,6 +15,9 @@ import javax.cache.spi.CachingProvider;
import org.gcube.common.authorization.utils.manager.SecretManager; import org.gcube.common.authorization.utils.manager.SecretManager;
import org.gcube.common.authorization.utils.manager.SecretManagerProvider; import org.gcube.common.authorization.utils.manager.SecretManagerProvider;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public abstract class CKANUserCache { public abstract class CKANUserCache {
private static final CacheManager cacheManager; private static final CacheManager cacheManager;

View File

@ -32,6 +32,9 @@ import org.xml.sax.SAXException;
import org.gcube.com.fasterxml.jackson.databind.ObjectMapper; import org.gcube.com.fasterxml.jackson.databind.ObjectMapper;
import org.gcube.com.fasterxml.jackson.databind.node.ArrayNode; import org.gcube.com.fasterxml.jackson.databind.node.ArrayNode;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class ISProfile { public class ISProfile {
public static int PRETTY_PRINT_INDENT_FACTOR = 4; public static int PRETTY_PRINT_INDENT_FACTOR = 4;

View File

@ -14,6 +14,9 @@ import org.gcube.datacatalogue.metadatadiscovery.bean.jaxb.MetadataFormat;
import org.gcube.datacatalogue.metadatadiscovery.bean.jaxb.NamespaceCategory; import org.gcube.datacatalogue.metadatadiscovery.bean.jaxb.NamespaceCategory;
import org.xml.sax.SAXException; import org.xml.sax.SAXException;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class MetadataUtility { public class MetadataUtility {
private DataCalogueMetadataFormatReader dataCalogueMetadataFormatReader; private DataCalogueMetadataFormatReader dataCalogueMetadataFormatReader;

View File

@ -46,6 +46,9 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.xml.sax.SAXException; import org.xml.sax.SAXException;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class ResourceRegistryProfile { public class ResourceRegistryProfile {
public static int PRETTY_PRINT_INDENT_FACTOR = 4; public static int PRETTY_PRINT_INDENT_FACTOR = 4;

View File

@ -9,6 +9,9 @@ import org.gcube.gcat.api.GCatConstants;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class BaseREST { public class BaseREST {
private final Logger logger = LoggerFactory.getLogger(this.getClass()); private final Logger logger = LoggerFactory.getLogger(this.getClass());

View File

@ -9,6 +9,9 @@ import org.gcube.gcat.api.GCatConstants;
import org.gcube.gcat.api.interfaces.CRUD; import org.gcube.gcat.api.interfaces.CRUD;
import org.gcube.gcat.persistence.ckan.CKAN; import org.gcube.gcat.persistence.ckan.CKAN;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class REST<C extends CKAN> extends BaseREST implements CRUD<Response,Response> { public class REST<C extends CKAN> extends BaseREST implements CRUD<Response,Response> {
protected final String COLLECTION_PARAMETER; protected final String COLLECTION_PARAMETER;

View File

@ -19,6 +19,9 @@ import org.gcube.common.authorization.utils.secret.Secret;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/**
* @author Luca Frosini (ISTI - CNR)
*/
@Provider @Provider
@PreMatching @PreMatching
public class RequestFilter implements ContainerRequestFilter, ContainerResponseFilter { public class RequestFilter implements ContainerRequestFilter, ContainerResponseFilter {

View File

@ -9,7 +9,7 @@ import org.gcube.com.fasterxml.jackson.annotation.JsonIgnore;
import org.gcube.com.fasterxml.jackson.annotation.JsonProperty; import org.gcube.com.fasterxml.jackson.annotation.JsonProperty;
/** /**
* @author Luca Frosini (ISTI-CNR) * @author Luca Frosini (ISTI - CNR)
*/ */
public class Message { public class Message {

View File

@ -13,6 +13,9 @@ import org.gcube.common.authorization.utils.socialservice.SocialService;
import org.gcube.common.gxhttp.request.GXHTTPStringRequest; import org.gcube.common.gxhttp.request.GXHTTPStringRequest;
import org.gcube.gcat.utils.HTTPUtility; import org.gcube.gcat.utils.HTTPUtility;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class SocialUsers { public class SocialUsers {
protected static final String GET_USERNAMES_BY_ROLE = "2/users/get-usernames-by-role"; protected static final String GET_USERNAMES_BY_ROLE = "2/users/get-usernames-by-role";

View File

@ -9,6 +9,9 @@ import javax.ws.rs.InternalServerErrorException;
import javax.ws.rs.WebApplicationException; import javax.ws.rs.WebApplicationException;
import javax.ws.rs.core.Response.Status; import javax.ws.rs.core.Response.Status;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class HTTPCall { public class HTTPCall {
protected static final String USER_AGENT_KEY = "User-Agent"; protected static final String USER_AGENT_KEY = "User-Agent";

View File

@ -16,6 +16,9 @@ import org.gcube.common.gxhttp.request.GXHTTPStringRequest;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class HTTPUtility { public class HTTPUtility {
private static final Logger logger = LoggerFactory.getLogger(HTTPUtility.class); private static final Logger logger = LoggerFactory.getLogger(HTTPUtility.class);

View File

@ -4,6 +4,7 @@ import java.util.Random;
/** /**
* @author Lucio Lelii (ISTI - CNR) * @author Lucio Lelii (ISTI - CNR)
* @author Luca Frosini (ISTI - CNR)
*/ */
public class RandomString { public class RandomString {

View File

@ -8,6 +8,9 @@ import javax.ws.rs.WebApplicationException;
import org.gcube.common.authorization.utils.manager.SecretManagerProvider; import org.gcube.common.authorization.utils.manager.SecretManagerProvider;
import org.gcube.portlets.user.uriresolvermanager.UriResolverManager; import org.gcube.portlets.user.uriresolvermanager.UriResolverManager;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public abstract class URIResolver { public abstract class URIResolver {
private static final String CATALOGUE_CONTEXT = "gcube_scope"; private static final String CATALOGUE_CONTEXT = "gcube_scope";

View File

@ -7,6 +7,9 @@ import java.util.Map;
import org.gcube.common.storagehub.model.Metadata; import org.gcube.common.storagehub.model.Metadata;
import org.gcube.storagehub.MetadataMatcher; import org.gcube.storagehub.MetadataMatcher;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class CatalogueMetadata implements MetadataMatcher { public class CatalogueMetadata implements MetadataMatcher {
public static final String ORIGINAL_URL = "OriginalURL"; public static final String ORIGINAL_URL = "OriginalURL";

View File

@ -16,6 +16,9 @@ import org.glassfish.jersey.media.multipart.ContentDisposition;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
/**
* @author Luca Frosini (ISTI - CNR)
*/
public class CatalogueStorageHubManagement { public class CatalogueStorageHubManagement {
private static final Logger logger = LoggerFactory.getLogger(CatalogueStorageHubManagement.class); private static final Logger logger = LoggerFactory.getLogger(CatalogueStorageHubManagement.class);