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

    
13
<NODE name="fetchOriginals" type="FetchMDStoreRecords">
14
	<DESCRIPTION>Fetch records from MDStore</DESCRIPTION>
15
	<PARAMETERS>
16
		<PARAM required="true" type="string" name="mdId" managedBy="system">$params.("harv_id")$</PARAM>
17
		<PARAM required="true" type="string" name="mdFormat" managedBy="system">$params.("harv_format")$</PARAM>
18
		<PARAM required="true" type="string" name="eprParam" managedBy="system">orig_epr</PARAM>
19
	</PARAMETERS>
20
	<ARCS>
21
		<ARC to="transform"/>
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="transform"/>
32
	</ARCS>
33
</NODE>
34

    
35
<NODE name="transform" type="Transform" isJoin="true">
36
	<DESCRIPTION>Transform original records</DESCRIPTION>
37
	<PARAMETERS>
38
		<PARAM required="true" type="string" name="ruleId" managedBy="user" function="listProfiles('TransformationRuleDSResourceType', '//TITLE')"></PARAM>
39
		<PARAM required="true" type="string" name="inputEprParam" managedBy="system">orig_epr</PARAM>
40
		<PARAM required="true" type="string" name="outputEprParam" managedBy="system">dmf_epr</PARAM>
41
	</PARAMETERS>
42
	<ARCS>
43
		<ARC to="storeRecords"/>
44
	</ARCS>
45
</NODE>
46

    
47
<NODE name="storeRecords" type="StoreMDStoreRecords">
48
	<DESCRIPTION>Store mdtore records</DESCRIPTION>
49
	<PARAMETERS>
50
		<PARAM required="true" type="string" name="mdId" managedBy="system">$params.("tran_id")$</PARAM>
51
		<PARAM required="true" type="string" name="storingType" managedBy="user">REFRESH</PARAM>
52
		<PARAM required="true" type="string" name="eprParam" managedBy="system">dmf_epr</PARAM>
53
	</PARAMETERS>
54
	<ARCS>
55
		<ARC to="success"/>
56
	</ARCS>
57
</NODE>
(5-5/5)