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
|
<PARAM name="OAIFormat" description="OAI Format" required="true" type="string"/>
|
20
|
<PARAM name="OAILayout" description="OAI Layout" required="true" type="string"/>
|
21
|
<PARAM name="OAIInterpretation" description="OAI Interpretation" required="true" type="string"/>
|
22
|
<PARAM name="OAIDBName" description="OAI Database Name" required="true" type="string"/>
|
23
|
</PARAMETERS>
|
24
|
<WORKFLOW>
|
25
|
<NODE name="deleteCollMdStore" type="DeleteMDStore" isStart="true">
|
26
|
<DESCRIPTION>Delete the mdstore of collected records</DESCRIPTION>
|
27
|
<PARAMETERS>
|
28
|
<PARAM name="mdstoreId" ref="collMdstoreId"/>
|
29
|
</PARAMETERS>
|
30
|
<ARCS>
|
31
|
<ARC to="deleteCleanMdStore"/>
|
32
|
</ARCS>
|
33
|
</NODE>
|
34
|
<NODE name="deleteCleanMdStore" type="DeleteMDStore">
|
35
|
<DESCRIPTION>Delete the mdstore of cleaned records</DESCRIPTION>
|
36
|
<PARAMETERS>
|
37
|
<PARAM name="mdstoreId" ref="cleanMdstoreId"/>
|
38
|
</PARAMETERS>
|
39
|
<ARCS>
|
40
|
<ARC to="deleteIndex"/>
|
41
|
</ARCS>
|
42
|
</NODE>
|
43
|
<NODE name="deleteIndex" type="DeleteIndex">
|
44
|
<DESCRIPTION>Delete the index</DESCRIPTION>
|
45
|
<PARAMETERS>
|
46
|
<PARAM name="indexId" ref="indexId"/>
|
47
|
</PARAMETERS>
|
48
|
<ARCS>
|
49
|
<ARC to="dropOAI"/>
|
50
|
</ARCS>
|
51
|
</NODE>
|
52
|
<NODE name="dropOAI" type="DropStoreAction">
|
53
|
<DESCRIPTION>Delete from oai</DESCRIPTION>
|
54
|
<PARAMETERS>
|
55
|
<PARAM name="dbName" ref="OAIDBName"/>
|
56
|
<PARAM name="setSpec" value="$dsName$" />
|
57
|
</PARAMETERS>
|
58
|
<ARCS>
|
59
|
<ARC to="removeApiExtraFields"/>
|
60
|
</ARCS>
|
61
|
</NODE>
|
62
|
<NODE name="updateSetsCount" type="OAISetsCountUpdate">
|
63
|
<DESCRIPTION>Update the OAI sets count</DESCRIPTION>
|
64
|
<PARAMETERS>
|
65
|
<PARAM name="dbName" ref="OAIDBName"/>
|
66
|
<PARAM name="format" ref="OAIFormat"/>
|
67
|
<PARAM name="layout" ref="OAILayout"/>
|
68
|
<PARAM name="interpretation" ref="OAIInterpretation"/>
|
69
|
<PARAM name="configuredOnly" value="true"/>
|
70
|
</PARAMETERS>
|
71
|
<ARCS>
|
72
|
<ARC to="removeApiExtraFields"/>
|
73
|
</ARCS>
|
74
|
</NODE>
|
75
|
<NODE name="removeApiExtraFields" type="RemoveApiExtraFields">
|
76
|
<DESCRIPTION>Reset the extrafields of the api</DESCRIPTION>
|
77
|
<PARAMETERS>
|
78
|
<PARAM name="datasourceId" ref="dsId"/>
|
79
|
<PARAM name="datasourceInterface" ref="interface"/>
|
80
|
<PARAM name="fields">
|
81
|
<LIST>
|
82
|
<ITEM value="last_collection_total"/>
|
83
|
<ITEM value="last_collection_date"/>
|
84
|
<ITEM value="last_collection_mdId"/>
|
85
|
<ITEM value="last_aggregation_total"/>
|
86
|
<ITEM value="last_aggregation_date"/>
|
87
|
<ITEM value="last_aggregation_mdId"/>
|
88
|
</LIST>
|
89
|
</PARAM>
|
90
|
</PARAMETERS>
|
91
|
<ARCS>
|
92
|
<ARC to="success"/>
|
93
|
</ARCS>
|
94
|
</NODE>
|
95
|
|
96
|
</WORKFLOW>
|
97
|
</CONFIGURATION>
|
98
|
</BODY>
|
99
|
</RESOURCE_PROFILE>
|