Skip to content

Extractor App proposal

François Prunayre edited this page Dec 6, 2016 · 3 revisions

A session selection is added in order to be able to build a list of records to extract. A rule is defined to know if a record can be extracted or not. By default, all records can be extracted. Custom rules could define more strict rules eg. only records with WFS links can be extracted.

== What is the rule for MW ? Keyword ==

Once added to the extraction selection, user can click extract and open the extractor app configuration panel.

Sample extractor apps:

Review list of records

Add restrictions

  • Extent restriction
  • SRS

Accept licences

User form info

This optional panel allows to collect information about the user requesting extraction. If user is connected to the catalog, the form is filled with user details automatically.

Trigger extraction

API change:

  • GET /api/records/extract: Return the extractor app JSON configuration ?
  • POST /api/records/extract: Trigger records extractions.

This new service is synchonous and configuration allows to plug custom bean in order to bridge to different types of extractor apps. By default a XMLExtractorAppConfigAction is provided (to be discussed).

This bean MUST extend the following interface: IExtractorAppAction#write

Configuration is made using:

Clone this wiki locally