Project

General

Profile

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="COLLECT"/>
9
		<ARC to="obtainParams"/>
10
	</ARCS>
11
</NODE>
12

    
13
<NODE name="COLLECT" type="CollectRecords">
14
	<DESCRIPTION>Start Harvesting</DESCRIPTION>
15
	<PARAMETERS>
16
		<PARAM required="true" type="string" name="datasourceId" managedBy="system">$params.("dataprovider:id")$</PARAM>
17
		<PARAM required="true" type="string" name="datasourceInterface" managedBy="system">$params.("dataprovider:interface")$</PARAM>
18
		<PARAM required="true" type="string" name="eprParam" managedBy="system">collected_epr</PARAM>
19
	</PARAMETERS>
20
	<ARCS>
21
		<ARC to="MD_BUILDER"/>
22
	</ARCS>
23
</NODE>
24

    
25
<NODE name="obtainParams" type="ObtainOpenaireDataSourceParams">
26
	<DESCRIPTION>Fetch records from MDStore</DESCRIPTION>
27
	<PARAMETERS>
28
		<PARAM required="true" type="string" name="providerId" managedBy="system">$params.("dataprovider:id")$</PARAM>
29
	</PARAMETERS>
30
	<ARCS>
31
		<ARC to="MD_BUILDER"/>
32
	</ARCS>
33
</NODE>
34

    
35
<NODE name="MD_BUILDER" type="ApplyXslt" isJoin="true">
36
	<DESCRIPTION>Prepare mdstore records</DESCRIPTION>
37
	<PARAMETERS>
38
		<PARAM required="true" type="string" name="xsltClasspath" managedBy="user" function="listFiles('/eu/dnetlib/msro/openaireplus/workflows/repo-hi/xslt-datacite','xslt')"></PARAM>
39
		<PARAM required="true" type="string" name="inputEprParam" managedBy="system">collected_epr</PARAM>
40
		<PARAM required="true" type="string" name="outputEprParam" managedBy="system">store_epr</PARAM>
41
		<PARAM required="true" type="string" name="params" managedBy="system">{ 'datasourceId': '$params.("dataprovider:id")$' }</PARAM>
42
	</PARAMETERS>
43
	<ARCS>
44
		<ARC to="STORE"/>
45
	</ARCS>
46
</NODE>
47

    
48
<NODE name="STORE" type="StoreMDStoreRecords">
49
	<DESCRIPTION>Store mdtore records</DESCRIPTION>
50
	<PARAMETERS>
51
		<PARAM required="true" type="string" name="mdId" managedBy="system">$params.("harv_id")$</PARAM>
52
		<PARAM required="true" type="string" name="storingType" managedBy="user" function="validValues(['REFRESH','INCREMENTAL'])">REFRESH</PARAM>
53
		<PARAM required="true" type="string" name="eprParam" managedBy="system">store_epr</PARAM>
54
	</PARAMETERS>
55
	<ARCS>
56
		<ARC to="success"/>
57
	</ARCS>
58
</NODE>
(1-1/3)