Revision 42548
Added by Sandro La Bruzzo almost 8 years ago
efg_feed_oai.xml | ||
---|---|---|
10 | 10 |
<CONFIGURATION> |
11 | 11 |
<PARAMETERS> |
12 | 12 |
<PARAM name="cleanMdstoreId" description="Store for cleaned records" required="true" type="string"/> |
13 |
<PARAM name="edmMdstoreId" description="Store for cleaned records" required="true" type="string"/> |
|
13 | 14 |
<PARAM name="dsId" description="Datasource Id" required="true" type="string"/> |
14 | 15 |
</PARAMETERS> |
15 | 16 |
<WORKFLOW> |
16 |
<NODE name="fetchCleanedRecord" type="ReadMDStore" isStart="true">
|
|
17 |
<NODE name="fetchCleaned" type="FetchMDStoreRecords" isStart="true">
|
|
17 | 18 |
<DESCRIPTION>Fetch records from MDStore</DESCRIPTION> |
18 | 19 |
<PARAMETERS> |
20 |
<PARAM name="mdId" ref="cleanMdstoreId"/> |
|
21 |
<PARAM name="mdFormat" value="oai_efg"/> |
|
19 | 22 |
<PARAM name="eprParam" value="orig_epr"/> |
20 |
<PARAM name="mdFormatName" value="oai_efg"/> |
|
23 |
</PARAMETERS> |
|
24 |
<ARCS> |
|
25 |
<ARC to="transform"/> |
|
26 |
</ARCS> |
|
27 |
</NODE> |
|
28 |
<NODE name="transform" type="ApplyXslt"> |
|
29 |
<DESCRIPTION>Transform to EDM records</DESCRIPTION> |
|
30 |
<PARAMETERS> |
|
31 |
<PARAM name="ruleId" ref="ruleId"/> |
|
32 |
<PARAM name="inputEprParam" value="orig_epr"/> |
|
33 |
<PARAM name="xsltClasspath" value="/eu/dnetlib/efg/xslt/efg2edm.xslt"/> |
|
34 |
<PARAM name="outputEprParam" value="edm_epr"/> |
|
35 |
</PARAMETERS> |
|
36 |
<ARCS> |
|
37 |
<ARC to="storeRecords"/> |
|
38 |
</ARCS> |
|
39 |
</NODE> |
|
40 |
<NODE name="storeRecords" type="StoreMDStoreRecords"> |
|
41 |
<DESCRIPTION>Store mdtore records</DESCRIPTION> |
|
42 |
<PARAMETERS> |
|
43 |
<PARAM name="mdId" ref="edmMdstoreId"/> |
|
44 |
<PARAM name="storingType" value="REFRESH"/> |
|
45 |
<PARAM name="eprParam" value="edm_epr"/> |
|
46 |
</PARAMETERS> |
|
47 |
<ARCS> |
|
48 |
<ARC to="fetchEDMRecord"/> |
|
49 |
</ARCS> |
|
50 |
</NODE> |
|
51 |
<NODE name="fetchEDMRecord" type="ReadMDStore"> |
|
52 |
<DESCRIPTION>Fetch records from MDStore</DESCRIPTION> |
|
53 |
<PARAMETERS> |
|
54 |
<PARAM name="eprParam" value="orig_epr"/> |
|
55 |
<PARAM name="mdFormatName" value="edm"/> |
|
21 | 56 |
<PARAM name="mdFormatLayout" value="store"/> |
22 | 57 |
<PARAM name="mdFormatInterpretation" value="cleaned"/> |
23 | 58 |
<PARAM name="datasource" ref="dsId"/> |
24 |
<PARAM name="mdstoreId" ref="cleanMdstoreId"/>
|
|
59 |
<PARAM name="mdstoreId" ref="edmMdstoreId"/>
|
|
25 | 60 |
</PARAMETERS> |
26 | 61 |
<ARCS> |
27 | 62 |
<ARC to="storeOaiRecords"/> |
Also available in: Unified diff
edited OAI workflows