Changes between Version 1 and Version 2 of refactoring_harvesters


Ignore:
Timestamp:
Mar 28, 2011, 1:35:27 AM (13 years ago)
Author:
mcoudert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • refactoring_harvesters

    v1 v2  
    3838For now, we did a new interface based on ExtJs only for the OAI PMH harvester and we only move this harvester to the new model, there is some work to move all harvesters and to get them working into the trunk.
    3939
     40{{{
     41
     42CREATE TABLE HarvestingTask
     43  (
     44        id int,
     45        uuid         varchar(250)   not null,
     46        name     varchar(32)    not null,
     47        harvestingType     varchar(32)    not null,
     48        validationMode     varchar(32)    not null,
     49        isrecurrent     char(1)        default 'n' not null,
     50        recurrentPeriod     int,
     51        lastRun   varchar(24),
     52        backup     varchar(32),
     53        status     varchar(32)    not null,
     54        isSynchronization   char(1)        default 'n' not null,
     55        isIncremental  char(1)        default 'n' not null,
     56        categoryid int not null,
     57       
     58        primary key(id),
     59       
     60        foreign key(categoryid) references Categories(id),
     61       
     62        unique(uuid)
     63  );
     64
     65CREATE TABLE HarvestingTaskResult
     66  (
     67        harvestingTaskResultId int,
     68        dateResult   varchar(24)    not null,
     69        total int,
     70        added int,
     71        updated int,
     72        unchanged int,
     73        locallyRemoved int,
     74        unknownSchema int,
     75        unretrievable int,
     76        badFormat int,
     77        doesNotValidate int,
     78        ignored int,
     79        errors text,
     80        harvestingTaskId int,
     81       
     82        primary key(harvestingTaskResultId),
     83        foreign key(harvestingTaskId) references HarvestingTask(id)
     84       
     85  );
     86 
     87
     88CREATE TABLE HarvestingTaskConfiguration
     89  (
     90        configurationId int,
     91        attr   varchar(24)    not null,
     92        val    varchar(250)    not null,
     93        harvestingTaskId int,
     94       
     95        primary key(configurationId),
     96        foreign key(harvestingTaskId) references HarvestingTask(id)
     97       
     98  );
     99
     100And also a foreign key in the Metadata table :
     101    foreign key(harvestingTask) references HarvestingTask(id),
     102
     103}}}
     104
    40105=== Backwards Compatibility Issues ===
    41106