Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER value="8bf9879c-535a-4818-8de7-790a3eb90675_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/>
5
		<RESOURCE_TYPE value="WorkflowTemplateDSResourceType"/>
6
		<RESOURCE_KIND value="WorkflowTemplateDSResources"/>
7
		<RESOURCE_URI value=""/>
8
		<DATE_OF_CREATION value="2001-12-31T12:00:00"/>
9
	</HEADER>
10
	<BODY>
11
		<CONFIGURATION>
12
			<PARAMETERS>
13
				<PARAM name="dsId" description="Datasource Id" required="true" type="string"/>
14
				<PARAM name="interface" description="Datasource Interface" required="true" type="string"/>
15
				<PARAM name="DLINativeStore" description="Store for collected records" required="true" type="string"/>
16
				<PARAM name="DLICleanedStore" description="Store for cleaned records" required="true" type="string"/>
17
				<PARAM name="PMFResolvedStore" description="Store for PMF records" required="true" type="string"/>
18
				<PARAM name="DMFResolvedStore" description="Store for DMF records" required="true" type="string"/>
19
				<PARAM name="ScholixResolvedStore" description="Store for DMF records" required="true" type="string"/>
20

    
21
			</PARAMETERS>
22
			<WORKFLOW>
23
				<NODE name="deleteCollMdStore" type="DeleteMDStore" isStart="true">
24
					<DESCRIPTION>Delete the mdstore of collected records</DESCRIPTION>
25
					<PARAMETERS>
26
						<PARAM name="mdstoreId" ref="DLINativeStore"/>
27
					</PARAMETERS>
28
					<ARCS>
29
						<ARC to="deleteCleanMdStore"/>
30
					</ARCS>
31
				</NODE>
32
				<NODE name="deleteCleanMdStore" type="DeleteMDStore">
33
					<DESCRIPTION>Delete the mdstore of cleaned records</DESCRIPTION>
34
					<PARAMETERS>
35
						<PARAM name="mdstoreId" ref="DLICleanedStore"/>
36
					</PARAMETERS>
37
					<ARCS>
38
						<ARC to="deletePMFMdStore"/>
39
					</ARCS>
40
				</NODE>
41

    
42

    
43
				<NODE name="deletePMFMdStore" type="DeleteMDStore">
44
					<DESCRIPTION>Delete the mdstore of PMF cleaned records</DESCRIPTION>
45
					<PARAMETERS>
46
						<PARAM name="mdstoreId" ref="PMFResolvedStore"/>
47
					</PARAMETERS>
48
					<ARCS>
49
						<ARC to="deleteDMFMdStore"/>
50
					</ARCS>
51
				</NODE>
52

    
53
				<NODE name="deleteDMFMdStore" type="DeleteMDStore">
54
					<DESCRIPTION>Delete the mdstore of DMF cleaned records</DESCRIPTION>
55
					<PARAMETERS>
56
						<PARAM name="mdstoreId" ref="DMFResolvedStore"/>
57
					</PARAMETERS>
58
					<ARCS>
59
						<ARC to="deleteScholixMdStore"/>
60
					</ARCS>
61
				</NODE>
62

    
63
				<NODE name="deleteScholixMdStore" type="DeleteMDStore">
64
					<DESCRIPTION>Delete the mdstore of unresolved records</DESCRIPTION>
65
					<PARAMETERS>
66
						<PARAM name="mdstoreId" ref="ScholixResolvedStore"/>
67
					</PARAMETERS>
68
					<ARCS>
69
						<ARC to="removeApiExtraFields"/>
70
					</ARCS>
71
				</NODE>
72

    
73
				<NODE name="removeApiExtraFields" type="RemoveApiExtraFields">
74
					<DESCRIPTION>Reset the extrafields of the api</DESCRIPTION>
75
					<PARAMETERS>
76
						<PARAM name="datasourceId" ref="dsId"/>
77
						<PARAM name="datasourceInterface" ref="interface"/>
78
						<PARAM name="fields">
79
							<LIST>
80
								<ITEM value="last_collection_total"/>
81
								<ITEM value="last_collection_date"/>
82
								<ITEM value="last_collection_mdId"/>
83
								<ITEM value="last_aggregation_total"/>
84
								<ITEM value="last_aggregation_date"/>
85
								<ITEM value="last_aggregation_mdId"/>
86
							</LIST>
87
						</PARAM>
88
					</PARAMETERS>
89
					<ARCS>
90
						<ARC to="success"/>
91
					</ARCS>
92
				</NODE>
93
			</WORKFLOW>
94
		</CONFIGURATION>
95
	</BODY>
96
</RESOURCE_PROFILE>
(9-9/11)