Updated README

This commit is contained in:
Francesco Mangiacrapa 2024-05-03 10:51:34 +02:00
parent 44fb5b6360
commit edd33a5478
2 changed files with 22 additions and 11 deletions

View File

@ -6,6 +6,9 @@ Basic and abstract implementations are provided in different module default-lc-m
Basic providers (e.g. WSProvider, ISProvider) used both in test and by the service are implemented here for simplicity. Basic providers (e.g. WSProvider, ISProvider) used both in test and by the service are implemented here for simplicity.
Morover, this module provides an `EventManager` to notify the events {`PROJECT_CREATED`, `PROJECT_UPDATED`, `PROJECT_DELETED` `LIFECYCLE_STEP_PERFORMED`}
to the plugins that subscribe to them.
## Built with ## Built with
* [gCube SDI] (https://gcube.wiki.gcube-system.org/gcube/) - The gCube SDI * [gCube SDI] (https://gcube.wiki.gcube-system.org/gcube/) - The gCube SDI
* [gCube SmartGears] (https://gcube.wiki.gcube-system.org/gcube/SmartGears) - The gCube SmartGears framework * [gCube SmartGears] (https://gcube.wiki.gcube-system.org/gcube/SmartGears) - The gCube SmartGears framework

View File

@ -1,22 +1,30 @@
package org.gcube.application.cms.serialization; package org.gcube.application.cms.serialization;
import com.fasterxml.jackson.core.JsonGenerator; import java.io.IOException;
import com.fasterxml.jackson.core.JsonParser; import java.time.format.DateTimeFormatter;
import com.fasterxml.jackson.core.JsonProcessingException; import java.util.Iterator;
import com.fasterxml.jackson.databind.*;
import com.fasterxml.jackson.databind.module.SimpleModule;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import com.vdurmont.semver4j.Semver;
import lombok.extern.slf4j.Slf4j;
import org.bson.Document; import org.bson.Document;
import org.bson.types.ObjectId; import org.bson.types.ObjectId;
import org.gcube.application.cms.plugins.model.ComparableVersion; import org.gcube.application.cms.plugins.model.ComparableVersion;
import org.gcube.application.geoportal.common.model.document.Project; import org.gcube.application.geoportal.common.model.document.Project;
import org.gcube.application.geoportal.common.model.rest.QueryRequest; import org.gcube.application.geoportal.common.model.rest.QueryRequest;
import java.io.IOException; import com.fasterxml.jackson.core.JsonGenerator;
import java.time.format.DateTimeFormatter; import com.fasterxml.jackson.core.JsonParser;
import java.util.Iterator; import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.module.SimpleModule;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import com.vdurmont.semver4j.Semver;
import lombok.extern.slf4j.Slf4j;
@Slf4j @Slf4j
public class Serialization { public class Serialization {