1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<RESOURCE_PROFILE>
|
3
|
<HEADER>
|
4
|
<RESOURCE_IDENTIFIER value="1de73b0e-ccbf-442c-a88d-41b27daa0ba2_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="removeApiExtraFields"/>
|
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
|
<ITEM value="last_download_total"/>
|
54
|
<ITEM value="last_download_date"/>
|
55
|
<ITEM value="last_download_mdId"/>
|
56
|
</LIST>
|
57
|
</PARAM>
|
58
|
</PARAMETERS>
|
59
|
<ARCS>
|
60
|
<ARC to="success"/>
|
61
|
</ARCS>
|
62
|
</NODE>
|
63
|
</WORKFLOW>
|
64
|
</CONFIGURATION>
|
65
|
</BODY>
|
66
|
</RESOURCE_PROFILE>
|