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
				<PARAM name="nativeObjectStoreId" description="Object Store for native images" required="true" type="string"/>
19
				<PARAM name="indexId" description="Index Identifier" required="true" type="string"/>
20
			</PARAMETERS>
21
			<WORKFLOW>
22
				
23
				<NODE name="deleteCollMdStore" type="DeleteMDStore" isStart="true">
24
					<DESCRIPTION>Delete the mdstore of collected records</DESCRIPTION>
25
					<PARAMETERS>
26
						<PARAM name="mdstoreId" ref="collMdstoreId" />
27
					</PARAMETERS>
28
					<ARCS>
29
						<ARC to="deleteCleanMdStore" />
30
					</ARCS>
31
				</NODE>
32
				
33
				<NODE name="deleteCleanMdStore" type="DeleteMDStore">
34
					<DESCRIPTION>Delete the mdstore of cleaned records</DESCRIPTION>
35
					<PARAMETERS>
36
						<PARAM name="mdstoreId" ref="cleanMdstoreId" />
37
					</PARAMETERS>
38
					<ARCS>
39
						<ARC to="deletePatchMdStore" />
40
					</ARCS>
41
				</NODE>
42
				
43
				<NODE name="deletePatchMdStore" type="DeleteMDStore">
44
					<DESCRIPTION>Delete the mdstore of patched records</DESCRIPTION>
45
					<PARAMETERS>
46
						<PARAM name="mdstoreId" ref="patchMdstoreId" />
47
					</PARAMETERS>
48
					<ARCS>
49
						<ARC to="deleteObjectStore"/>
50
					</ARCS>
51
				</NODE>
52

    
53

    
54
				<NODE name="deleteObjectStore" type="DeleteObjectStore">
55
					<DESCRIPTION>Delete the associated ObjectStore</DESCRIPTION>
56
					<PARAMETERS>
57
						<PARAM name="objectstoreId" ref="nativeObjectStoreId"/>
58
					</PARAMETERS>
59
					<ARCS>
60
						<ARC to="deleteIndex"/>
61
					</ARCS>
62
				</NODE>
63

    
64
				<NODE name="deleteIndex" type="DeleteIndex">
65
					<DESCRIPTION>Delete the index</DESCRIPTION>
66
					<PARAMETERS>
67
						<PARAM name="indexId" ref="indexId"/>
68
					</PARAMETERS>
69
					<ARCS>
70
						<ARC to="removeApiExtraFields"/>
71
					</ARCS>
72
				</NODE>
73

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