Changes between Initial Version and Version 1 of MetadataImport


Ignore:
Timestamp:
Oct 23, 2008, 12:53:49 AM (16 years ago)
Author:
mcoudert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MetadataImport

    v1 v1  
     1= Metadata import module =
     2
     3|| '''Date''' || 2008/10/23 ||
     4|| '''Contact(s)''' || mcoudert ||
     5|| '''Last edited''' || [[Timestamp]] ||
     6|| '''Status''' || draft ||
     7|| '''Assigned to release''' || 2.3 ? ||
     8|| '''Resources''' || Resource available / patch proposed ||
     9
     10== Overview ==
     11
     12The purpose of this proposal is to improve existing metadata import module by supporting XML copy/past insert, XML file insert and MEF file insert.
     13
     14=== Proposal Type ===
     15 * '''Type''':
     16 * '''App''': !GeoNetwork
     17 * '''Module''': User Interface, MEF module
     18
     19=== Links ===
     20 * '''Documents''':
     21 * '''Email discussions''':
     22 * '''Other wiki discussions''':
     23
     24=== Voting History ===
     25 * Vote proposed by X on Y, result was +/-n (m non-voting members).
     26
     27
     28== Motivations ==
     29In 2.2 release, only copy/paste XML is suppported for insert.
     30There's no way to upload directly a XML file (metadata file, SLD file, WMC file, GetCapabilities file ...) or a MEF file.
     31This improvement allows users to upload such files through a user-friendly interface (see printscreen below).
     32
     33Image(selection.png,align=center)
     34
     35
     36== Proposal ==
     37
     38 * 1. A user select by radio button which type of insert he would perform
     39  * 1. Case "Copy/Paste": no changes, metadata.insert service called.
     40  * 2. Case "File Upload": the user have to choose among two file type to upload
     41   * mef.import service is called, a specific FileVisitor is used to parse file structure (FileVisitor is a new Interface replacing the Visitor Class)
     42   * 1. Case "Single File (XML, SLD, WMC...)" :
     43    * the user have to set parameters as in Copy/Paste case (parameters are the same).
     44    * once insert performs, a link on metadata inserted is diplayed (by clicking on the id of the new metadata)
     45    * XMLFIleVisitor is used to handle the file structure.
     46   * 2. Case "MEF file":
     47    * no parameters are diplayed. All information are in the file info.xml contained in MEF file.
     48    * MEFFileVisitor is used to handle MEF file structure (equivalent to the old Visitor Class).
     49
     50As an extension, this improvement will permit to handle all other specific format to insert, just changing the user interface and adding a new class implementing the new FileVisitor interface.
     51For instance, if the proposal concerning MEF format improvement [wiki:MEFImprovement] is voted, it will be easier to modify MEF module to handle this new format.
     52
     53=== Backwards Compatibility Issues ===
     54
     55
     56== Risks ==
     57
     58No specific risks highlighted.
     59
     60== Participants ==
     61 * francois
     62 * BRGM (Etienne, Pierre) / !GeoSource project
     63