Project

General

Profile

1 42496 sandro.lab
<RESOURCE_PROFILE>
2
	<HEADER>
3 42506 sandro.lab
		<RESOURCE_IDENTIFIER value="c73dd31d-17ee-4a9c-b3df-c0b278668b3d_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/>
4 42496 sandro.lab
		<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 42506 sandro.lab
17
18
				<NODE name="setFormat" type="SetFormatInfo" isStart="true">
19
					<DESCRIPTION>Set Format Info</DESCRIPTION>
20 42496 sandro.lab
					<PARAMETERS>
21 42548 sandro.lab
						<PARAM name="format" value="edm"/>
22 42506 sandro.lab
						<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 42496 sandro.lab
					</PARAMETERS>
28
					<ARCS>
29 42506 sandro.lab
						<ARC to="prepareOAI"/>
30 42496 sandro.lab
					</ARCS>
31
				</NODE>
32 42506 sandro.lab
33
				<NODE name="prepareOAI" type="PrepareOaiJob">
34
					<DESCRIPTION>Prepare oai feeding</DESCRIPTION>
35 42496 sandro.lab
					<PARAMETERS>
36 45954 sandro.lab
						<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 42496 sandro.lab
					</PARAMETERS>
41
					<ARCS>
42 42506 sandro.lab
						<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 45954 sandro.lab
						<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 42506 sandro.lab
						<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 45954 sandro.lab
						<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 42506 sandro.lab
					</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 45954 sandro.lab
						<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 42506 sandro.lab
						<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 45954 sandro.lab
						<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 42506 sandro.lab
					</PARAMETERS>
95
					<ARCS>
96 42496 sandro.lab
						<ARC to="success"/>
97
					</ARCS>
98
				</NODE>
99 46790 sandro.lab
100
101
                <NODE name="setEFGFormat" type="SetFormatInfo" isStart="true">
102
                    <DESCRIPTION>Set Format Info</DESCRIPTION>
103
                    <PARAMETERS>
104
                        <PARAM name="format" value="efg"/>
105
                        <PARAM name="layout" value="store"/>
106
                        <PARAM name="interpretation" value="cleaned"/>
107
                        <PARAM name="formatParam" value="oai_efg_format"/>
108
                        <PARAM name="layoutParam" value="oai_efg_layout"/>
109
                        <PARAM name="interpretationParam" value="oai_efg_interpretation"/>
110
                    </PARAMETERS>
111
                    <ARCS>
112
                        <ARC to="prepareEFGOAI"/>
113
                    </ARCS>
114
                </NODE>
115
116
                <NODE name="prepareEFGOAI" type="PrepareOaiJob">
117
                    <DESCRIPTION>Prepare oai feeding</DESCRIPTION>
118
                    <PARAMETERS>
119
                        <PARAM name="oaiFormat" value="efg"/>
120
                        <PARAM name="oaiLayout" value="store"/>
121
                        <PARAM name="oaiInterpretation" value="cleaned"/>
122
                        <PARAM name="oaiDbName" value="oaistore_efg"/>
123
                    </PARAMETERS>
124
                    <ARCS>
125
                        <ARC to="CompoundIndexesEFG"/>
126
                    </ARCS>
127
                </NODE>
128
129
                <NODE name="CompoundIndexesEFG" type="OAICreateIndex">
130
                    <DESCRIPTION>Create composite indexes for the OAI store</DESCRIPTION>
131
                    <PARAMETERS>
132
                        <PARAM name="oaiFormat" value="efg"/>
133
                        <PARAM name="oaiLayout" value="store"/>
134
                        <PARAM name="oaiInterpretation" value="cleaned"/>
135
                        <PARAM name="oaiDbName" value="oaistore_efg"/>
136
                        <PARAM name="fieldNames" value="set,datestamp;entitytype"/>
137
                    </PARAMETERS>
138
                    <ARCS>
139
                        <ARC to="ConfigIndexesEFG"/>
140
                    </ARCS>
141
                </NODE>
142
143
                <NODE name="ConfigIndexesEFG" type="OAIEnsureIndexes">
144
                    <DESCRIPTION>Ensure an index exists on fields as specified in the configuration profile
145
                    </DESCRIPTION>
146
                    <PARAMETERS>
147
                        <PARAM name="oaiFormat" value="efg"/>
148
                        <PARAM name="oaiLayout" value="store"/>
149
                        <PARAM name="oaiInterpretation" value="cleaned"/>
150
                        <PARAM name="oaiDbName" value="oaistore_efg"/>
151
                    </PARAMETERS>
152
                    <ARCS>
153
                        <ARC to="SetsCountEFG"/>
154
                    </ARCS>
155
                </NODE>
156
157
                <NODE name="SetsCountEFG" type="OAISetsCountUpdate">
158
                    <DESCRIPTION>Count records in each OAI set, for each exported metadata format linked to the given
159
                        oai collection
160
                    </DESCRIPTION>
161
                    <PARAMETERS>
162
                        <PARAM name="oaiFormat" value="efg"/>
163
                        <PARAM name="oaiLayout" value="store"/>
164
                        <PARAM name="oaiInterpretation" value="cleaned"/>
165
                        <PARAM name="oaiDbName" value="oaistore_efg"/>
166
                        <PARAM name="configuredOnly" value="false"/>
167
                    </PARAMETERS>
168
                    <ARCS>
169
                        <ARC to="ConfigSetsEFG"/>
170
                    </ARCS>
171
                </NODE>
172
173
                <NODE name="ConfigSetsEFG" type="OAIRefreshConfiguration">
174
                    <DESCRIPTION>Reads the current OAI configuration and upsert OAI sets accordingly (counts are updated
175
                        as well)
176
                    </DESCRIPTION>
177
                    <PARAMETERS>
178
                        <PARAM name="oaiFormat" value="efg"/>
179
                        <PARAM name="oaiLayout" value="store"/>
180
                        <PARAM name="oaiInterpretation" value="cleaned"/>
181
                        <PARAM name="oaiDbName" value="oaistore_efg"/>
182
                    </PARAMETERS>
183
                    <ARCS>
184
                        <ARC to="success"/>
185
                    </ARCS>
186
                </NODE>
187
188
189
            </WORKFLOW>
190 42496 sandro.lab
		</CONFIGURATION>
191
	</BODY>
192
</RESOURCE_PROFILE>