Skip to main content
Version: 1.14

Acquisition chain - SIP generation plugins

Overview

note

This extension point allows to define how to construct a SIP for a given Product. Products are composed of files by the Product plugin of the acquisition chain. This plugin is the one that fill the mata data of each SIP to ingest.

REGARDS provides many implementation of this extension point :

  • DefaultSIPGeneration : Only add files information in SIP (no specific descriptive information).
  • GeoJsonSIPGeneration : Read each product file to extract GeoJson features and generate SIP according to geometry and label information.

Interface

ISipGenerationPlugin

Implementation

To learn more about how to create your own plugin see Plugins

Here under is an exemple of how to implements this extension point to create your own business logic.

To learn more about SIP format (from OAIS stantard) see OAIS SIP Builder class. The framework module OAIS Starter explains the information package described by the OAIS recommandation of the CCSDS.

@Plugin(id = "exemple", version = "1.0.0", description = "exemple plugin",
author = "REGARDS Team", contact = "regards@c-s.fr", licence = "LGPLv3.0", owner = "CSSI",
url = "https://github.com/RegardsOss")
public class Plugin implements ISipGenerationPlugin {

@Override
public SIP generate(Product product) throws ModuleException {
// return SIP with all meta data in it.
}

}