Revision 47522
Added by Alessia Bardi almost 7 years ago
collection.wf.st | ||
---|---|---|
1 |
<NODE name="SET_INFO" isStart="true" type="SetProviderInfo"> |
|
1 |
<NODE name="SET_INFO" isStart="true" type="SetProviderInfo">
|
|
2 | 2 |
<DESCRIPTION>Set information about current provider</DESCRIPTION> |
3 | 3 |
<PARAMETERS> |
4 | 4 |
<PARAM required="true" type="string" name="providerId" managedBy="system">$params.("dataprovider:id")$</PARAM> |
... | ... | |
6 | 6 |
<PARAM required="true" type="string" name="api" managedBy="system">$params.("dataprovider:interface")$</PARAM> |
7 | 7 |
</PARAMETERS> |
8 | 8 |
<ARCS> |
9 |
<ARC to="COLLECT"/>
|
|
9 |
<ARC to="obtainParams"/>
|
|
10 | 10 |
</ARCS> |
11 | 11 |
</NODE> |
12 | 12 |
|
13 |
<NODE name="COLLECT" type="QueryDb">
|
|
14 |
<DESCRIPTION>Collect claims from DB</DESCRIPTION>
|
|
13 |
<NODE name="obtainParams" type="ObtainOpenaireDataSourceParams">
|
|
14 |
<DESCRIPTION>Obtain data source params</DESCRIPTION>
|
|
15 | 15 |
<PARAMETERS> |
16 |
<PARAM name="dbProperty" type="string" managedBy="system" required="true">dnet.openaire.db.name</PARAM> |
|
17 |
<PARAM name="sql" type="string" managedBy="user" required="true" |
|
18 |
function="listFiles('/eu/dnetlib/msro/openaireplus/workflows/db','sql')">/eu/dnetlib/msro/openaireplus/workflows/db/queryClaimsDmf.sql</PARAM> |
|
19 |
<PARAM name="outputEprParam" type="string" managedBy="system" required="true">collected_epr</PARAM> |
|
16 |
<PARAM required="true" type="string" name="providerId" managedBy="system">$params.("dataprovider:id")$</PARAM> |
|
20 | 17 |
</PARAMETERS> |
21 | 18 |
<ARCS> |
22 |
<ARC to="DECAPSULE" />
|
|
19 |
<ARC to="COLLECT_REFRESH"/>
|
|
23 | 20 |
</ARCS> |
24 |
</NODE>
|
|
21 |
</NODE> |
|
25 | 22 |
|
26 |
<NODE name="DECAPSULE" type="DecapsuleClaims"> |
|
23 |
<NODE name="COLLECT_REFRESH" type="CollectRecords"> |
|
24 |
<DESCRIPTION>Start Harvesting</DESCRIPTION> |
|
25 |
<PARAMETERS> |
|
26 |
<PARAM required="true" type="string" name="datasourceId" managedBy="system">$params.("dataprovider:id")$</PARAM> |
|
27 |
<PARAM required="true" type="string" name="datasourceInterface" managedBy="system">$params.("dataprovider:interface")$</PARAM> |
|
28 |
<PARAM required="true" type="string" name="eprParam" managedBy="system">collected_epr</PARAM> |
|
29 |
</PARAMETERS> |
|
30 |
<ARCS> |
|
31 |
<ARC to="MD_BUILDER_REFRESH"/> |
|
32 |
</ARCS> |
|
33 |
</NODE> |
|
34 |
|
|
35 |
<NODE name="MD_BUILDER_REFRESH" type="OpenaireMdBuilder"> |
|
27 | 36 |
<DESCRIPTION>Prepare mdstore records</DESCRIPTION> |
28 | 37 |
<PARAMETERS> |
29 | 38 |
<PARAM required="true" type="string" name="inputEprParam" managedBy="system">collected_epr</PARAM> |
30 | 39 |
<PARAM required="true" type="string" name="outputEprParam" managedBy="system">store_epr</PARAM> |
40 |
<PARAM required="true" type="string" name="datasourceId" managedBy="system">$params.("dataprovider:id")$</PARAM> |
|
41 |
<PARAM required="true" type="string" name="datasourceInterface" managedBy="system">$params.("dataprovider:interface")$</PARAM> |
|
42 |
<PARAM required="false" type="boolean" name="inferred" managedBy="system">false</PARAM> |
|
43 |
<PARAM required="false" type="boolean" name="deletedbyinference" managedBy="system">false</PARAM> |
|
44 |
<PARAM required="false" type="string" name="inferenceprovenance" managedBy="system"></PARAM> |
|
45 |
<PARAM required="false" type="string" name="trust" managedBy="system">0.9</PARAM> |
|
46 |
<PARAM required="false" type="string" name="provenanceactionclassname" managedBy="system">user:claim</PARAM> |
|
47 |
<PARAM required="false" type="string" name="provenanceactionclassid" managedBy="system">user:claim</PARAM> |
|
31 | 48 |
</PARAMETERS> |
32 | 49 |
<ARCS> |
33 |
<ARC to="STORE" />
|
|
50 |
<ARC to="STORE_REFRESH"/>
|
|
34 | 51 |
</ARCS> |
35 | 52 |
</NODE> |
36 | 53 |
|
37 |
<NODE name="STORE" type="StoreMDStoreRecords"> |
|
38 |
<DESCRIPTION>Store mdtore records</DESCRIPTION> |
|
54 |
<NODE name="STORE_REFRESH" type="StoreMDStoreRecords">
|
|
55 |
<DESCRIPTION>Store mdstore records</DESCRIPTION>
|
|
39 | 56 |
<PARAMETERS> |
40 | 57 |
<PARAM required="true" type="string" name="mdId" managedBy="system" category="MDSTORE_ID">$params.("harv_id")$</PARAM> |
41 |
<PARAM required="true" type="string" name="storingType" managedBy="user">REFRESH</PARAM>
|
|
58 |
<PARAM required="true" type="string" name="storingType" managedBy="system">REFRESH</PARAM>
|
|
42 | 59 |
<PARAM required="true" type="string" name="eprParam" managedBy="system">store_epr</PARAM> |
43 | 60 |
</PARAMETERS> |
44 | 61 |
<ARCS> |
Also available in: Unified diff
Claims metadata are collected from the file system, not from the database.