Project

General

Profile

1
<RESOURCE_PROFILE>
2
	<HEADER>
3
		<RESOURCE_IDENTIFIER value="c73dd31d-17ee-4a9c-b3df-c0b278668b3d_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/>
4
		<RESOURCE_TYPE value="WorkflowTemplateDSResourceType"/>
5
		<RESOURCE_KIND value="WorkflowTemplateDSResources"/>
6
		<RESOURCE_URI value=""/>
7
		<DATE_OF_CREATION value="2001-12-31T12:00:00"/>
8
	</HEADER>
9
	<BODY>
10
		<CONFIGURATION>
11
			<PARAMETERS>
12
				<PARAM name="cleanMdstoreId" description="Store for cleaned records" required="true" type="string"/>
13
				<PARAM name="dsId" description="Datasource Id" required="true" type="string"/>
14
			</PARAMETERS>
15
			<WORKFLOW>
16

    
17

    
18
				<NODE name="setFormat" type="SetFormatInfo" isStart="true">
19
					<DESCRIPTION>Set Format Info</DESCRIPTION>
20
					<PARAMETERS>
21
						<PARAM name="format" value="edm"/>
22
						<PARAM name="layout" value="store"/>
23
						<PARAM name="interpretation" value="cleaned"/>
24
						<PARAM name="formatParam" value="oai_format"/>
25
						<PARAM name="layoutParam" value="oai_layout"/>
26
						<PARAM name="interpretationParam" value="oai_interpretation"/>
27
					</PARAMETERS>
28
					<ARCS>
29
						<ARC to="prepareOAI"/>
30
					</ARCS>
31
				</NODE>
32

    
33
				<NODE name="prepareOAI" type="PrepareOaiJob">
34
					<DESCRIPTION>Prepare oai feeding</DESCRIPTION>
35
					<PARAMETERS>
36
						<PARAM name="oaiFormat" value="edm"/>
37
						<PARAM name="oaiLayout" value="store"/>
38
						<PARAM name="oaiInterpretation" value="cleaned"/>
39
						<PARAM name="oaiDbName" value="oaistore_efg"/>
40
					</PARAMETERS>
41
					<ARCS>
42
						<ARC to="CompoundIndexes"/>
43
					</ARCS>
44
				</NODE>
45

    
46
				<NODE name="CompoundIndexes" type="OAICreateIndex">
47
					<DESCRIPTION>Create composite indexes for the OAI store</DESCRIPTION>
48
					<PARAMETERS>
49
						<PARAM name="oaiFormat" value="edm"/>
50
						<PARAM name="oaiLayout" value="store"/>
51
						<PARAM name="oaiInterpretation" value="cleaned"/>
52
						<PARAM name="oaiDbName" value="oaistore_efg"/>
53
						<PARAM name="fieldNames" value="set,datestamp;entitytype"/>
54
					</PARAMETERS>
55
					<ARCS>
56
						<ARC to="ConfigIndexes"/>
57
					</ARCS>
58
				</NODE>
59

    
60
				<NODE name="ConfigIndexes" type="OAIEnsureIndexes">
61
					<DESCRIPTION>Ensure an index exists on fields as specified in the configuration profile</DESCRIPTION>
62
					<PARAMETERS>
63
						<PARAM name="oaiFormat" value="edm"/>
64
						<PARAM name="oaiLayout" value="store"/>
65
						<PARAM name="oaiInterpretation" value="cleaned"/>
66
						<PARAM name="oaiDbName" value="oaistore_efg"/>
67
					</PARAMETERS>
68
					<ARCS>
69
						<ARC to="SetsCount"/>
70
					</ARCS>
71
				</NODE>
72

    
73
				<NODE name="SetsCount" type="OAISetsCountUpdate">
74
					<DESCRIPTION>Count records in each OAI set, for each exported metadata format linked to the given oai collection</DESCRIPTION>
75
					<PARAMETERS>
76
						<PARAM name="oaiFormat" value="edm"/>
77
						<PARAM name="oaiLayout" value="store"/>
78
						<PARAM name="oaiInterpretation" value="cleaned"/>
79
						<PARAM name="oaiDbName" value="oaistore_efg"/>
80
						<PARAM name="configuredOnly" value="false"/>
81
					</PARAMETERS>
82
					<ARCS>
83
						<ARC to="ConfigSets"/>
84
					</ARCS>
85
				</NODE>
86

    
87
				<NODE name="ConfigSets" type="OAIRefreshConfiguration">
88
					<DESCRIPTION>Reads the current OAI configuration and upsert OAI sets accordingly (counts are updated as well)</DESCRIPTION>
89
					<PARAMETERS>
90
						<PARAM name="oaiFormat" value="edm"/>
91
						<PARAM name="oaiLayout" value="store"/>
92
						<PARAM name="oaiInterpretation" value="cleaned"/>
93
						<PARAM name="oaiDbName" value="oaistore_efg"/>
94
					</PARAMETERS>
95
					<ARCS>
96
						<ARC to="success"/>
97
					</ARCS>
98
				</NODE>
99
			</WORKFLOW>
100
		</CONFIGURATION>
101
	</BODY>
102
</RESOURCE_PROFILE>
(6-6/10)