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
			</PARAMETERS>
18
			<WORKFLOW>
19

    
20
				<NODE name="deleteCollMdStore" type="DeleteMDStore" isStart="true">
21
					<DESCRIPTION>Delete the mdstore of collected records</DESCRIPTION>
22
					<PARAMETERS>
23
						<PARAM name="mdstoreId" ref="collMdstoreId"/>
24
					</PARAMETERS>
25
					<ARCS>
26
						<ARC to="deleteCleanMdStore"/>
27
					</ARCS>
28
				</NODE>
29

    
30
				<NODE name="deleteCleanMdStore" type="DeleteMDStore">
31
					<DESCRIPTION>Delete the mdstore of cleaned records</DESCRIPTION>
32
					<PARAMETERS>
33
						<PARAM name="mdstoreId" ref="cleanMdstoreId"/>
34
					</PARAMETERS>
35
					<ARCS>
36
						<ARC to="deletePatchMdStore"/>
37
					</ARCS>
38
				</NODE>
39

    
40
				<NODE name="removeApiExtraFields" type="RemoveApiExtraFields">
41
					<DESCRIPTION>Reset the extrafields of the api</DESCRIPTION>
42
					<PARAMETERS>
43
						<PARAM name="datasourceId" ref="dsId"/>
44
						<PARAM name="datasourceInterface" ref="interface"/>
45
						<PARAM name="fields">
46
							<LIST>
47
								<ITEM value="last_collection_total"/>
48
								<ITEM value="last_collection_date"/>
49
								<ITEM value="last_collection_mdId"/>
50
								<ITEM value="last_aggregation_total"/>
51
								<ITEM value="last_aggregation_date"/>
52
								<ITEM value="last_aggregation_mdId"/>
53
							</LIST>
54
						</PARAM>
55
					</PARAMETERS>
56
					<ARCS>
57
						<ARC to="success"/>
58
					</ARCS>
59
				</NODE>
60
			</WORKFLOW>
61
		</CONFIGURATION>
62
	</BODY>
63
</RESOURCE_PROFILE>
(1-1/4)