Project

General

Profile

« Previous | Next » 

Revision 29474

allow to use transformation rules in claimed records transformations

View differences:

modules/dnet-openaireplus-workflows/trunk/src/main/resources/eu/dnetlib/msro/openaireplus/workflows/repo-hi/claim/transform.wf.st
5 5
		<PARAM required="true" type="string" name="providerName" managedBy="system">$params.("dataprovider:name")$</PARAM>
6 6
	</PARAMETERS>
7 7
	<ARCS>
8
		<ARC to="fetchOriginals"/>
9
		<!-- <ARC to="obtainParams" /> -->
8
		<ARC to="fetchOriginals" />
10 9
	</ARCS>
11 10
</NODE>
12 11

  
......
18 17
		<PARAM required="true" type="string" name="eprParam" managedBy="system">orig_epr</PARAM>
19 18
	</PARAMETERS>
20 19
	<ARCS>
21
		<ARC to="storeRecords"/>
20
		<ARC to="obtainParams"/>
22 21
	</ARCS>
23 22
</NODE>
24 23

  
25
<!--
26 24
<NODE name="obtainParams" type="ObtainOpenaireDataSourceParams">
27 25
	<DESCRIPTION>Fetch records from MDStore</DESCRIPTION>
28 26
	<PARAMETERS>
......
33 31
	</ARCS>
34 32
</NODE>
35 33

  
36
<NODE name="transform" type="Transform" isJoin="true">
34
<NODE name="transform" type="Transform">
37 35
	<DESCRIPTION>Transform original records</DESCRIPTION>
38 36
	<PARAMETERS>
39 37
		<PARAM required="true" type="string" name="ruleId" managedBy="user" function="listProfiles('TransformationRuleDSResourceType', '//TITLE')"></PARAM>
......
44 42
		<ARC to="storeRecords"/>
45 43
	</ARCS>
46 44
</NODE>
47
-->
48 45

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

Also available in: Unified diff