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
		<PARAM required="true" type="string" name="api" managedBy="system">$params.("dataprovider:interface")$</PARAM>
7
	</PARAMETERS>
8
	<ARCS>
9
		<ARC to="selectIncremental"/>
10
	</ARCS>
11
</NODE>
12

    
13
<NODE name="selectIncremental" type="IncrementalOperation">
14
    	<DESCRIPTION>Decide REFRESH/INCREMENTAL Update</DESCRIPTION>
15
    	<PARAMETERS>
16
    		<PARAM required="true" type="string" name="operationType" managedBy="user" function="validValues(['REFRESH','INCREMENTAL'])"></PARAM>
17
    	</PARAMETERS>
18
    	<ARCS>
19
    		<ARC to="FETCH_RECORDS"/>
20
    	</ARCS>
21
    </NODE>
22

    
23
<NODE name="FETCH_RECORDS" type="FetchMDStoreRecords">
24
	<DESCRIPTION>Fetch records from MDStore</DESCRIPTION>
25
	<PARAMETERS>
26
		<PARAM required="true" type="string" name="mdId" managedBy="system" category="MDSTORE_ID">$params.("row_id")$</PARAM>
27
		<PARAM required="true" type="string" name="mdFormat" managedBy="system">$params.("row_format")$</PARAM>
28
		<PARAM required="true" type="string" name="eprParam" managedBy="system">rs_epr</PARAM>
29
	</PARAMETERS>
30
	<ARCS>
31
		<ARC to="UPDATE_DB"/>
32
	</ARCS>
33
</NODE>
34

    
35

    
36
<NODE name="UPDATE_DB" type="UpdateOpenaireDb">
37
	<DESCRIPTION>Update Db</DESCRIPTION>
38
	<PARAMETERS>
39
		<PARAM required="true" type="string" name="eprParam" managedBy="system">rs_epr</PARAM>
40
	</PARAMETERS>
41
	<ARCS>
42
		<ARC to="success"/>
43
	</ARCS>
44
</NODE>
(5-5/5)