1
|
<NODE name="SET_INFO" isStart="true" type="SetProviderInfo">
|
2
|
<DESCRIPTION>Set information about current provider</DESCRIPTION>
|
3
|
<PARAMETERS>
|
4
|
<PARAM required="true" type="string" name="providerId" managedBy="system">$params.("dataprovider:id")$</PARAM>
|
5
|
<PARAM required="true" type="string" name="providerName" managedBy="system">$params.("dataprovider:name")$</PARAM>
|
6
|
</PARAMETERS>
|
7
|
<ARCS>
|
8
|
<ARC to="findMdStore"/>
|
9
|
</ARCS>
|
10
|
</NODE>
|
11
|
|
12
|
<NODE name="findMdStore" type="RetrieveMdStoreId">
|
13
|
<DESCRIPTION>Find MDStore</DESCRIPTION>
|
14
|
<PARAMETERS>
|
15
|
<PARAM required="true" type="string" name="providerId" managedBy="system">$params.("dataprovider:id")$</PARAM>
|
16
|
</PARAMETERS>
|
17
|
<ARCS>
|
18
|
<ARC to="fetchTransformed"/>
|
19
|
</ARCS>
|
20
|
</NODE>
|
21
|
|
22
|
<NODE name="fetchTransformed" type="FetchMDStoreRecords">
|
23
|
<DESCRIPTION>Fetch records from MDStore</DESCRIPTION>
|
24
|
<PARAMETERS>
|
25
|
<PARAM required="true" type="string" name="eprParam" managedBy="system">clean_epr</PARAM>
|
26
|
</PARAMETERS>
|
27
|
<ARCS>
|
28
|
<ARC to="retrieveURL"/>
|
29
|
</ARCS>
|
30
|
</NODE>
|
31
|
|
32
|
<NODE name="retrieveURL" type="RetrieveURLS">
|
33
|
<DESCRIPTION>Retrieve URL To Download from MDStore</DESCRIPTION>
|
34
|
<PARAMETERS>
|
35
|
<PARAM required="true" type="string" name="xpath" managedBy="user">//*[local-name()='metadata']//*[local-name()='identifier']/text()</PARAM>
|
36
|
<PARAM required="true" type="string" name="inputEprParam" managedBy="system">clean_epr</PARAM>
|
37
|
<PARAM required="true" type="string" name="outputEprParam" managedBy="system">item_epr</PARAM>
|
38
|
</PARAMETERS>
|
39
|
<ARCS>
|
40
|
<ARC to="downloadRecords"/>
|
41
|
</ARCS>
|
42
|
</NODE>
|
43
|
|
44
|
|
45
|
<NODE name="downloadRecords" type="DownloadFromMetadataOpenaire">
|
46
|
<DESCRIPTION>Download records</DESCRIPTION>
|
47
|
<PARAMETERS>
|
48
|
<PARAM required="true" type="string" name="inputeprParam" managedBy="system">item_epr</PARAM>
|
49
|
<PARAM required="true" type="string" name="obejctStoreID" managedBy="system" category="OBJECTSTORE_ID">$params.("objs_id")$</PARAM>
|
50
|
<PARAM required="true" type="string" name="plugin" managedBy="user" function="obtainValues('listDownloadPlugins', {});"></PARAM>
|
51
|
<PARAM required="false" type="string" name="basepath" managedBy="user"></PARAM>
|
52
|
<PARAM required="false" type="string" name="protocol" managedBy="user" function="validValues(['HTTP', 'HTTPS', 'FTP', 'File_System', 'FTPS'])"></PARAM>
|
53
|
<PARAM required="false" type="string" name="mimeType" managedBy="user"></PARAM>
|
54
|
</PARAMETERS>
|
55
|
<ARCS>
|
56
|
<ARC to="success"/>
|
57
|
</ARCS>
|
58
|
</NODE>
|