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
	</PARAMETERS>
7
	<ARCS>
8
		<ARC to="findMdStore"/>
9
	</ARCS>
10
</NODE>
11

    
12
<NODE name="findMdStore" type="RetrieveMdStoreId">
13
	<DESCRIPTION>Find MDStore</DESCRIPTION>
14
	<PARAMETERS>
15
		<PARAM required="true" type="string" name="providerId" managedBy="system">$params.("dataprovider:id")$</PARAM>		
16
	</PARAMETERS>
17
	<ARCS>
18
		<ARC to="fetchTransformed"/>
19
	</ARCS>
20
</NODE>
21

    
22
<NODE name="fetchTransformed" type="FetchMDStoreRecords">
23
	<DESCRIPTION>Fetch records from MDStore</DESCRIPTION>
24
	<PARAMETERS>		
25
		<PARAM required="true" type="string" name="eprParam" managedBy="system">clean_epr</PARAM>
26
	</PARAMETERS>
27
	<ARCS>
28
		<ARC to="retrieveURL"/>
29
	</ARCS>
30
</NODE>
31

    
32

    
33
<NODE name="retrieveURL" type="RetrieveURLS">
34
	<DESCRIPTION>Retrieve URL To Download from MDStore</DESCRIPTION>
35
	<PARAMETERS>		
36
		<PARAM required="true" type="string" name="xpath" managedBy="user">//*[local-name()='visualRepresentation']//*[local-name()='url']/text()</PARAM>
37
		<PARAM required="true" type="string" name="inputEprParam" managedBy="system">clean_epr</PARAM>
38
		<PARAM required="true" type="string" name="outputEprParam" managedBy="system">item_epr</PARAM>
39
	</PARAMETERS>
40
	<ARCS>
41
		<ARC to="downloadRecords"/>
42
	</ARCS>
43
</NODE>
44

    
45

    
46
<NODE name="downloadRecords" type="DownloadFromMetadata">
47
	<DESCRIPTION>Transform original records in eagle format</DESCRIPTION>
48
	<PARAMETERS>
49
		<PARAM required="true" type="string" name="inputeprParam" managedBy="system">item_epr</PARAM>
50
		<PARAM required="true" type="string" name="obejctStoreID" managedBy="system">$params.("imgstore_id")$</PARAM>
51
		<PARAM required="true" type="string" name="plugin" managedBy="user" function="obtainValues('listDownloadPlugins', {});"></PARAM>
52
		<PARAM required="false" type="string" name="protocol" managedBy="user"></PARAM>
53
		<PARAM required="false" type="string" name="mimeType" managedBy="user"></PARAM>		
54
	</PARAMETERS>
55
	<ARCS>
56
		<ARC to="success"/>
57
	</ARCS>
58
</NODE>
(3-3/8)