Project

General

Profile

« Previous | Next » 

Revision 52336

Funder wfs now use xslt as TDS rule for transformations

View differences:

transform.wf.st
6 6
		<PARAM required="true" type="string" name="api" managedBy="system">$params.("dataprovider:interface")$</PARAM>
7 7
	</PARAMETERS>
8 8
	<ARCS>
9
		<ARC to="selectIncrementalTransformation"/>
10 9
    	<ARC to="obtainParams" />
11 10
    </ARCS>
12 11
    </NODE>
13

  
14
    <NODE name="selectIncrementalTransformation" type="IncrementalTransformation">
15
    	<DESCRIPTION>Decide REFRESH/INCREMENTAL transformation</DESCRIPTION>
12
 <NODE name="obtainParams" type="ObtainOpenaireDataSourceParams">
13
    	<DESCRIPTION>Fetch records from MDStore</DESCRIPTION>
16 14
    	<PARAMETERS>
17
    		<PARAM required="true" type="string" name="operationType" managedBy="user" function="validValues(['REFRESH','INCREMENTAL'])"></PARAM>
15
    		<PARAM required="true" type="string" name="providerId" managedBy="system">$params.("dataprovider:id")$</PARAM>
18 16
    	</PARAMETERS>
19 17
    	<ARCS>
20 18
    		<ARC to="fetchOriginals"/>
......
29 27
		<PARAM required="true" type="string" name="eprParam" managedBy="system">orig_epr</PARAM>
30 28
	</PARAMETERS>
31 29
	<ARCS>
32
		<ARC to="setFunderAcronym"/>
33
	</ARCS>
34
</NODE>
35

  
36
<NODE name="obtainParams" type="ObtainOpenaireDataSourceParams">
37
	<DESCRIPTION>Fetch records from MDStore</DESCRIPTION>
38
	<PARAMETERS>
39
		<PARAM required="true" type="string" name="providerId" managedBy="system">$params.("dataprovider:id")$</PARAM>
40
	</PARAMETERS>
41
	<ARCS>
42
		<ARC to="setFunderAcronym"/>
43
	</ARCS>
44
</NODE>
45

  
46
<NODE name="setFunderAcronym" type="SetEnvParameter" isJoin="true">
47
	<DESCRIPTION>Set funder acronym to use in transformation</DESCRIPTION>
48
	<PARAMETERS>
49
		<PARAM required="true" type="string" name="parameterName" managedBy="system">funderAcronym</PARAM>
50
		<PARAM required="false" type="string" name="parameterValue" managedBy="user"></PARAM>
51
	</PARAMETERS>
52
	<ARCS>
53 30
		<ARC to="generateRows"/>
54 31
	</ARCS>
55 32
</NODE>

Also available in: Unified diff