Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER value="1bd0b467-e6c1-40a5-a8f4-c344e0305ef6_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="collMdstoreId" description="Store for collected records" required="true" type="string" />
16
				<PARAM name="cleanMdstoreId" description="Store for cleaned records" required="true" type="string" />
17
				<PARAM name="patchMdstoreId" description="Store for patched records" required="true" type="string" />
18
			</PARAMETERS>
19
			<WORKFLOW>
20
				
21
				<NODE name="deleteCollMdStore" type="DeleteMDStore" isStart="true">
22
					<DESCRIPTION>Delete the mdstore of collected records</DESCRIPTION>
23
					<PARAMETERS>
24
						<PARAM name="mdstoreId" ref="collMdstoreId" />
25
					</PARAMETERS>
26
					<ARCS>
27
						<ARC to="deleteCleanMdStore" />
28
					</ARCS>
29
				</NODE>
30
				
31
				<NODE name="deleteCleanMdStore" type="DeleteMDStore">
32
					<DESCRIPTION>Delete the mdstore of cleaned records</DESCRIPTION>
33
					<PARAMETERS>
34
						<PARAM name="mdstoreId" ref="cleanMdstoreId" />
35
					</PARAMETERS>
36
					<ARCS>
37
						<ARC to="deletePatchMdStore" />
38
					</ARCS>
39
				</NODE>
40
				
41
				<NODE name="deletePatchMdStore" type="DeleteMDStore">
42
					<DESCRIPTION>Delete the mdstore of patched records</DESCRIPTION>
43
					<PARAMETERS>
44
						<PARAM name="mdstoreId" ref="patchMdstoreId" />
45
					</PARAMETERS>
46
					<ARCS>
47
						<ARC to="removeApiExtraFields" />
48
					</ARCS>
49
				</NODE>
50
				
51
				<NODE name="removeApiExtraFields" type="RemoveApiExtraFields">
52
					<DESCRIPTION>Reset the extrafields of the api</DESCRIPTION>
53
					<PARAMETERS>
54
						<PARAM name="datasourceId" ref="dsId" />
55
						<PARAM name="datasourceInterface" ref="interface" />
56
						<PARAM name="fields">
57
							<LIST>
58
								<ITEM value="last_collection_total" />
59
								<ITEM value="last_collection_date" />
60
								<ITEM value="last_collection_mdId" />
61
								<ITEM value="last_aggregation_total" />
62
								<ITEM value="last_aggregation_date" />
63
								<ITEM value="last_aggregation_mdId" />
64
								<ITEM value="last_download_total" />
65
								<ITEM value="last_download_date" />
66
								<ITEM value="last_download_mdId" />
67
							</LIST>	
68
						</PARAM>
69
					</PARAMETERS>
70
					<ARCS>
71
						<ARC to="success" />
72
					</ARCS>
73
				</NODE>
74
			</WORKFLOW>
75
		</CONFIGURATION>
76
	</BODY>
77
</RESOURCE_PROFILE>
(6-6/7)