1 |
47522
|
alessia.ba
|
<NODE name="SET_INFO" isStart="true" type="SetProviderInfo">
|
2 |
27165
|
claudio.at
|
<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 |
30941
|
michele.ar
|
<PARAM required="true" type="string" name="api" managedBy="system">$params.("dataprovider:interface")$</PARAM>
|
7 |
27165
|
claudio.at
|
</PARAMETERS>
|
8 |
|
|
<ARCS>
|
9 |
47522
|
alessia.ba
|
<ARC to="obtainParams"/>
|
10 |
27165
|
claudio.at
|
</ARCS>
|
11 |
|
|
</NODE>
|
12 |
|
|
|
13 |
47522
|
alessia.ba
|
<NODE name="obtainParams" type="ObtainOpenaireDataSourceParams">
|
14 |
|
|
<DESCRIPTION>Obtain data source params</DESCRIPTION>
|
15 |
27165
|
claudio.at
|
<PARAMETERS>
|
16 |
47522
|
alessia.ba
|
<PARAM required="true" type="string" name="providerId" managedBy="system">$params.("dataprovider:id")$</PARAM>
|
17 |
27165
|
claudio.at
|
</PARAMETERS>
|
18 |
|
|
<ARCS>
|
19 |
47522
|
alessia.ba
|
<ARC to="COLLECT_REFRESH"/>
|
20 |
27165
|
claudio.at
|
</ARCS>
|
21 |
47522
|
alessia.ba
|
</NODE>
|
22 |
27165
|
claudio.at
|
|
23 |
47522
|
alessia.ba
|
<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">
|
36 |
27165
|
claudio.at
|
<DESCRIPTION>Prepare mdstore records</DESCRIPTION>
|
37 |
|
|
<PARAMETERS>
|
38 |
|
|
<PARAM required="true" type="string" name="inputEprParam" managedBy="system">collected_epr</PARAM>
|
39 |
|
|
<PARAM required="true" type="string" name="outputEprParam" managedBy="system">store_epr</PARAM>
|
40 |
47522
|
alessia.ba
|
<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 |
50264
|
alessia.ba
|
<PARAM required="false" type="string" name="trust" managedBy="user">0.9</PARAM>
|
46 |
47522
|
alessia.ba
|
<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>
|
48 |
27165
|
claudio.at
|
</PARAMETERS>
|
49 |
|
|
<ARCS>
|
50 |
47522
|
alessia.ba
|
<ARC to="STORE_REFRESH"/>
|
51 |
27165
|
claudio.at
|
</ARCS>
|
52 |
|
|
</NODE>
|
53 |
|
|
|
54 |
47522
|
alessia.ba
|
<NODE name="STORE_REFRESH" type="StoreMDStoreRecords">
|
55 |
|
|
<DESCRIPTION>Store mdstore records</DESCRIPTION>
|
56 |
27165
|
claudio.at
|
<PARAMETERS>
|
57 |
30934
|
michele.ar
|
<PARAM required="true" type="string" name="mdId" managedBy="system" category="MDSTORE_ID">$params.("harv_id")$</PARAM>
|
58 |
47522
|
alessia.ba
|
<PARAM required="true" type="string" name="storingType" managedBy="system">REFRESH</PARAM>
|
59 |
27165
|
claudio.at
|
<PARAM required="true" type="string" name="eprParam" managedBy="system">store_epr</PARAM>
|
60 |
|
|
</PARAMETERS>
|
61 |
|
|
<ARCS>
|
62 |
30826
|
michele.ar
|
<ARC to="UPDATE_INFO"/>
|
63 |
|
|
</ARCS>
|
64 |
|
|
</NODE>
|
65 |
|
|
|
66 |
|
|
<NODE name="UPDATE_INFO" type="MDStoreToApiExtraField">
|
67 |
|
|
<DESCRIPTION>Update datasouce API extra fields</DESCRIPTION>
|
68 |
|
|
<PARAMETERS>
|
69 |
|
|
<PARAM required="true" type="string" name="mdId" managedBy="system">$params.("harv_id")$</PARAM>
|
70 |
|
|
<PARAM required="true" type="string" name="datasourceId" managedBy="system">$params.("dataprovider:id")$</PARAM>
|
71 |
|
|
<PARAM required="true" type="string" name="datasourceInterface" managedBy="system">$params.("dataprovider:interface")$</PARAM>
|
72 |
|
|
<PARAM required="true" type="string" name="extraFieldForTotal" managedBy="system">last_collection_total</PARAM>
|
73 |
|
|
<PARAM required="true" type="string" name="extraFieldForDate" managedBy="system">last_collection_date</PARAM>
|
74 |
30867
|
michele.ar
|
<PARAM required="true" type="string" name="extraFieldForMdId" managedBy="system">last_collection_mdId</PARAM>
|
75 |
30826
|
michele.ar
|
</PARAMETERS>
|
76 |
|
|
<ARCS>
|
77 |
27165
|
claudio.at
|
<ARC to="success"/>
|
78 |
|
|
</ARCS>
|
79 |
|
|
</NODE>
|
80 |
30826
|
michele.ar
|
|