Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER value="b54ff264-ed25-46a5-86df-dfbefb0b22be_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/>
5
		<RESOURCE_TYPE value="WorkflowTemplateDSResourceType"/>
6
		<RESOURCE_KIND value="WorkflowTemplateDSResources"/>
7
		<RESOURCE_URI value=""/>
8
		<DATE_OF_CREATION value="2016-09-20T12:00:00.0Z"/>
9
	</HEADER>
10
	<BODY>
11
		<CONFIGURATION>
12
			<PARAMETERS>
13
				<PARAM name="dsId" description="Datasource Id" required="true" type="string"/>
14
				<PARAM name="dsName" description="Datasource Name" required="true" type="string"/>
15
				<PARAM name="interface" description="Datasource Interface" required="true" type="string"/>
16
				<PARAM name="collMdstoreId" description="Store for collected records" required="true" type="string"/>
17
				<PARAM name="cleanMdstoreId" description="Store for transformed records" required="true" type="string"/>
18
				<PARAM name="indexId" description="Index Identifier" required="true" type="string"/>
19
			</PARAMETERS>
20
			<WORKFLOW>
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
				<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="deleteIndex"/>
37
					</ARCS>
38
				</NODE>
39
				<NODE name="deleteIndex" type="DeleteIndex">
40
					<DESCRIPTION>Delete the index</DESCRIPTION>
41
					<PARAMETERS>
42
						<PARAM name="indexId" ref="indexId"/>
43
					</PARAMETERS>
44
					<ARCS>
45
						<ARC to="removeApiExtraFields"/>
46
					</ARCS>
47
				</NODE>
48
				<NODE name="removeApiExtraFields" type="RemoveApiExtraFields">
49
					<DESCRIPTION>Reset the extrafields of the api</DESCRIPTION>
50
					<PARAMETERS>
51
						<PARAM name="datasourceId" ref="dsId"/>
52
						<PARAM name="datasourceInterface" ref="interface"/>
53
						<PARAM name="fields">
54
							<LIST>
55
								<ITEM value="last_collection_total"/>
56
								<ITEM value="last_collection_date"/>
57
								<ITEM value="last_collection_mdId"/>
58
								<ITEM value="last_aggregation_total"/>
59
								<ITEM value="last_aggregation_date"/>
60
								<ITEM value="last_aggregation_mdId"/>
61
							</LIST>
62
						</PARAM>
63
					</PARAMETERS>
64
					<ARCS>
65
						<ARC to="success"/>
66
					</ARCS>
67
				</NODE>
68

    
69
			</WORKFLOW>
70
		</CONFIGURATION>
71
	</BODY>
72
</RESOURCE_PROFILE>
(9-9/11)