Project

General

Profile

1
<NODE name="COLLECT" isStart="true" type="FetchMDStoreRecords">
2
	<DESCRIPTION>Fetch records from MDStore</DESCRIPTION>
3
	<PARAMETERS>
4
		<PARAM required="true" type="string" name="mdId" managedBy="system" category="MDSTORE_ID">$params.("orig_id")$</PARAM>
5
		<PARAM required="true" type="string" name="mdFormat" managedBy="system">$params.("orig_format")$</PARAM>
6
		<PARAM required="true" type="string" name="eprParam" managedBy="system">collected_epr</PARAM>
7
	</PARAMETERS>
8
	<ARCS>
9
		<ARC to="FIND_CONTEXTS"/>
10
	</ARCS>
11
</NODE>
12

    
13
<NODE name="FIND_CONTEXTS" type="ApplyXslt">
14
	<DESCRIPTION>Find project contexts</DESCRIPTION>
15
	<PARAMETERS>
16
		<PARAM required="true" type="string" name="xsltClasspath" managedBy="user" function="listFiles('/eu/dnetlib/msro/openaireplus/workflows/repo-hi/entityreg-contexts/xsl','xsl')"></PARAM>
17
		<PARAM required="true" type="string" name="inputEprParam" managedBy="system">collected_epr</PARAM>
18
		<PARAM required="true" type="string" name="outputEprParam" managedBy="system">contexts_epr</PARAM>
19
	</PARAMETERS>
20
	<ARCS>
21
		<ARC to="PROCESS_CONTEXTS"/>
22
	</ARCS>
23
</NODE>
24

    
25
<NODE name="PROCESS_CONTEXTS" type="ProcessContexts">
26
	<DESCRIPTION>Process project contexts</DESCRIPTION>
27
	<PARAMETERS>
28
		<PARAM required="true" type="string" name="eprParam" managedBy="system">contexts_epr</PARAM>
29
		<PARAM required="true" type="string" name="contextObj" managedBy="system">contexts</PARAM>
30
		<PARAM required="true" type="string" name="contextId" managedBy="user"></PARAM>
31
		<PARAM required="true" type="string" name="contextLabel" managedBy="user"></PARAM>
32
		<PARAM required="true" type="string" name="contextType" managedBy="user">funding</PARAM>
33
		<PARAM required="false" type="string" name="params" managedBy="user">{openaire-guidelines3.0:XXX, FundRef:YYYY, prefix:PPPP}</PARAM>
34
	</PARAMETERS>
35
	<ARCS>
36
		<ARC to="PREPARE_DB_ENTRIES"/>
37
	</ARCS>
38
</NODE>
39

    
40
<NODE name="PREPARE_DB_ENTRIES" type="PrepareContextDbEntries">
41
	<DESCRIPTION>Prepare the DB entries</DESCRIPTION>
42
	<PARAMETERS>
43
		<PARAM required="true" type="string" name="eprParam" managedBy="system">db_epr</PARAM>
44
		<PARAM required="true" type="string" name="contextObj" managedBy="system">contexts</PARAM>
45
	</PARAMETERS>
46
	<ARCS>
47
		<ARC to="UPDATE_DB"/>
48
	</ARCS>
49
</NODE>
50

    
51
<NODE name="UPDATE_DB" type="UpdateOpenaireDb">
52
	<DESCRIPTION>Update Db</DESCRIPTION>
53
	<PARAMETERS>
54
		<PARAM required="true" type="string" name="eprParam" managedBy="system">db_epr</PARAM>
55
	</PARAMETERS>
56
	<ARCS>
57
		<ARC to="SAVE_PROFILE"/>
58
	</ARCS>
59
</NODE>
60

    
61
<NODE name="SAVE_PROFILE" type="SaveContextProfile">
62
	<DESCRIPTION>Save the Context Profile</DESCRIPTION>
63
	<PARAMETERS>
64
		<PARAM required="true" type="string" name="contextObj" managedBy="system">contexts</PARAM>
65
	</PARAMETERS>
66
	<ARCS>
67
		<ARC to="success"/>
68
	</ARCS>
69
</NODE>
(1-1/2)