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="COLLECT"/>
|
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="FIND_CONTEXTS"/>
|
22
|
</ARCS>
|
23
|
</NODE>
|
24
|
|
25
|
<NODE name="FIND_CONTEXTS" type="ApplyXslt">
|
26
|
<DESCRIPTION>Find project contexts</DESCRIPTION>
|
27
|
<PARAMETERS>
|
28
|
<PARAM required="true" type="string" name="xsltClasspath" managedBy="user" function="listFiles('/eu/dnetlib/msro/openaireplus/workflows/repo-hi/entityreg-contexts/xsl','xsl')"></PARAM>
|
29
|
<PARAM required="true" type="string" name="inputEprParam" managedBy="system">collected_epr</PARAM>
|
30
|
<PARAM required="true" type="string" name="outputEprParam" managedBy="system">contexts_epr</PARAM>
|
31
|
</PARAMETERS>
|
32
|
<ARCS>
|
33
|
<ARC to="PROCESS_CONTEXTS"/>
|
34
|
</ARCS>
|
35
|
</NODE>
|
36
|
|
37
|
<NODE name="PROCESS_CONTEXTS" type="ProcessContexts">
|
38
|
<DESCRIPTION>Process project contexts</DESCRIPTION>
|
39
|
<PARAMETERS>
|
40
|
<PARAM required="true" type="string" name="eprParam" managedBy="system">contexts_epr</PARAM>
|
41
|
<PARAM required="true" type="string" name="contextObj" managedBy="system">contexts</PARAM>
|
42
|
<PARAM required="true" type="string" name="contextId" managedBy="user"></PARAM>
|
43
|
<PARAM required="true" type="string" name="contextLabel" managedBy="user"></PARAM>
|
44
|
<PARAM required="true" type="string" name="contextType" managedBy="user">funding</PARAM>
|
45
|
</PARAMETERS>
|
46
|
<ARCS>
|
47
|
<ARC to="PREPARE_DB_ENTRIES"/>
|
48
|
</ARCS>
|
49
|
</NODE>
|
50
|
|
51
|
<NODE name="PREPARE_DB_ENTRIES" type="PrepareContextDbEntries">
|
52
|
<DESCRIPTION>Prepare the DB entries</DESCRIPTION>
|
53
|
<PARAMETERS>
|
54
|
<PARAM required="true" type="string" name="eprParam" managedBy="system">db_epr</PARAM>
|
55
|
<PARAM required="true" type="string" name="contextObj" managedBy="system">contexts</PARAM>
|
56
|
</PARAMETERS>
|
57
|
<ARCS>
|
58
|
<ARC to="UPDATE_DB"/>
|
59
|
</ARCS>
|
60
|
</NODE>
|
61
|
|
62
|
<NODE name="UPDATE_DB" type="UpdateOpenaireDb">
|
63
|
<DESCRIPTION>Update Db</DESCRIPTION>
|
64
|
<PARAMETERS>
|
65
|
<PARAM required="true" type="string" name="eprParam" managedBy="system">db_epr</PARAM>
|
66
|
</PARAMETERS>
|
67
|
<ARCS>
|
68
|
<ARC to="SAVE_PROFILE"/>
|
69
|
</ARCS>
|
70
|
</NODE>
|
71
|
|
72
|
<NODE name="SAVE_PROFILE" type="SaveContextProfile">
|
73
|
<DESCRIPTION>Save the Context Profile</DESCRIPTION>
|
74
|
<PARAMETERS>
|
75
|
<PARAM required="true" type="string" name="contextObj" managedBy="system">contexts</PARAM>
|
76
|
</PARAMETERS>
|
77
|
<ARCS>
|
78
|
<ARC to="success"/>
|
79
|
</ARCS>
|
80
|
</NODE>
|