1
|
<RESOURCE_PROFILE>
|
2
|
<HEADER>
|
3
|
<RESOURCE_IDENTIFIER value="f236f97a-199f-4f9a-80c8-0e356077e1d6_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/>
|
4
|
<RESOURCE_TYPE value="WorkflowTemplateDSResourceType"/>
|
5
|
<RESOURCE_KIND value="WorkflowTemplateDSResources"/>
|
6
|
<RESOURCE_URI value=""/>
|
7
|
<DATE_OF_CREATION value="2017-01-17T17:00:00.0Z"/>
|
8
|
</HEADER>
|
9
|
<BODY>
|
10
|
<CONFIGURATION>
|
11
|
<PARAMETERS>
|
12
|
<PARAM name="OAIFormat" description="OAI Format" required="true" type="string"/>
|
13
|
<PARAM name="OAILayout" description="OAI Layout" required="true" type="string"/>
|
14
|
<PARAM name="OAIInterpretation" description="OAI Interpretation" required="true" type="string"/>
|
15
|
<PARAM name="OAIDBName" description="OAI Database Name" required="true" type="string"/>
|
16
|
<PARAM name="OAIConfiguredOnly" description="Count only configured OAI sets" required="true" type="boolean"/>
|
17
|
</PARAMETERS>
|
18
|
<!-- TODO: review the workflow after the integration of changes from DNet40 about the OAI implementation -->
|
19
|
<WORKFLOW>
|
20
|
<NODE name="createCompoundIndexes" type="OAICreateIndex" isStart="true">
|
21
|
<DESCRIPTION>Create composite indexes for the OAI store</DESCRIPTION>
|
22
|
<PARAMETERS>
|
23
|
<PARAM name="oaiFormat" ref="OAIFormat"/>
|
24
|
<PARAM name="oaiLayout" ref="OAILayout"/>
|
25
|
<PARAM name="oaiInterpretation" ref="OAIInterpretation"/>
|
26
|
<PARAM name="oaiDbName" ref="OAIDBName"/>
|
27
|
<PARAM name="fieldNames" value="set,datestamp"/>
|
28
|
</PARAMETERS>
|
29
|
<ARCS>
|
30
|
<ARC to="createConfigIndexes"/>
|
31
|
</ARCS>
|
32
|
</NODE>
|
33
|
<NODE name="createConfigIndexes" type="OAIEnsureIndexes">
|
34
|
<DESCRIPTION>Ensure an index exists on fields as specified in the configuration profile</DESCRIPTION>
|
35
|
<PARAMETERS>
|
36
|
<PARAM name="oaiFormat" ref="OAIFormat"/>
|
37
|
<PARAM name="oaiLayout" ref="OAILayout"/>
|
38
|
<PARAM name="oaiInterpretation" ref="OAIInterpretation"/>
|
39
|
<PARAM name="oaiDbName" ref="OAIDBName"/>
|
40
|
</PARAMETERS>
|
41
|
<ARCS>
|
42
|
<ARC to="refreshConfigSets"/>
|
43
|
</ARCS>
|
44
|
</NODE>
|
45
|
<NODE name="refreshConfigSets" type="OAIRefreshConfiguration">
|
46
|
<DESCRIPTION>Reads the current OAI configuration and upsert OAI sets accordingly</DESCRIPTION>
|
47
|
<PARAMETERS>
|
48
|
<PARAM name="oaiFormat" ref="OAIFormat"/>
|
49
|
<PARAM name="oaiLayout" ref="OAILayout"/>
|
50
|
<PARAM name="oaiInterpretation" ref="OAIInterpretation"/>
|
51
|
<PARAM name="oaiDbName" ref="OAIDBName"/>
|
52
|
</PARAMETERS>
|
53
|
<ARCS>
|
54
|
<ARC to="updateSetsCount"/>
|
55
|
</ARCS>
|
56
|
</NODE>
|
57
|
<NODE name="updateSetsCount" type="OAISetsCountUpdate">
|
58
|
<DESCRIPTION>Count records in each OAI set, for each exported metadata format linked to the given oai collection</DESCRIPTION>
|
59
|
<PARAMETERS>
|
60
|
<PARAM name="oaiFormat" ref="OAIFormat"/>
|
61
|
<PARAM name="oaiLayout" ref="OAILayout"/>
|
62
|
<PARAM name="oaiInterpretation" ref="OAIInterpretation"/>
|
63
|
<PARAM name="oaiDbName" ref="OAIDBName"/>
|
64
|
<PARAM name="configuredOnly" ref="OAIConfiguredOnly"/>
|
65
|
</PARAMETERS>
|
66
|
<ARCS>
|
67
|
<ARC to="success"/>
|
68
|
</ARCS>
|
69
|
</NODE>
|
70
|
</WORKFLOW>
|
71
|
</CONFIGURATION>
|
72
|
</BODY>
|
73
|
</RESOURCE_PROFILE>
|