Project

General

Profile

1
<NODE name="SET_INFO" isStart="true" type="SetProviderInfo">
2
	<DESCRIPTION>Set information about current provider</DESCRIPTION>
3
	<PARAMETERS>
4
		<PARAM required="true" type="string" name="providerId" managedBy="system">$params.("dataprovider:id")$</PARAM>
5
		<PARAM required="true" type="string" name="providerName" managedBy="system">$params.("dataprovider:name")$</PARAM>
6
		<PARAM required="true" type="string" name="api" managedBy="system">$params.("dataprovider:interface")$</PARAM>
7
	</PARAMETERS>
8
	<ARCS>
9
		<ARC to="prepareOAI"/>
10
	</ARCS>
11
</NODE>
12
 
13
<NODE name="prepareOAI" type="PrepareOaiJob">
14
     <DESCRIPTION>Prepare oai feeding</DESCRIPTION>
15
     <PARAMETERS>
16
		<PARAM managedBy="user" name="oaiDbName" required="true" type="string">oaistore_dnet</PARAM>
17
		<PARAM managedBy="user" name="oaiFormat" required="true" type="string">DMF</PARAM>
18
		<PARAM managedBy="user" name="oaiLayout" required="true" type="string">store</PARAM>
19
		<PARAM managedBy="user" name="oaiInterpretation" required="true" type="string">transformed</PARAM>
20
		<PARAM name="oaiSource" managedBy="system" type="string" required="true">$params.("dataprovider:name")$</PARAM>
21
     </PARAMETERS>
22
     <ARCS>
23
		<ARC to="CompoundIndexes"/>
24
     </ARCS>
25
</NODE>
26
 
27
<NODE name="CompoundIndexes" type="OAICreateIndex">
28
     <DESCRIPTION>Create composite indexes for the OAI store</DESCRIPTION>
29
     <PARAMETERS>
30
		<PARAM managedBy="user" name="fieldNames" required="true" type="string">set,datestamp</PARAM>
31
     </PARAMETERS>
32
     <ARCS>
33
		<ARC to="ConfigIndexes"/>
34
     </ARCS>
35
</NODE>
36
 
37
<NODE name="ConfigIndexes" type="OAIEnsureIndexes">
38
     <DESCRIPTION>Create indexes on fields as specified in the configuration profile</DESCRIPTION>
39
     <PARAMETERS></PARAMETERS>
40
     <ARCS>
41
		<ARC to="RefreshConfig"/>
42
     </ARCS>
43
</NODE>
44
<NODE name="RefreshConfig" type="OAIRefreshConfiguration">
45
	<DESCRIPTION>Reads the current OAI configuration and updates the OAI sets accordingly</DESCRIPTION>
46
		<PARAMETERS></PARAMETERS>
47
		<ARCS>
48
			<ARC to="SetsCount" />
49
		</ARCS>
50
 </NODE>
51
<NODE name="SetsCount" type="OAISetsCountUpdate">
52
     <DESCRIPTION>Count records in each OAI set, for each exported metadata format linked to the given oai collection</DESCRIPTION>
53
     <PARAMETERS>
54
		<PARAM managedBy="system" name="configuredOnly" required="true" type="boolean">true</PARAM>
55
     </PARAMETERS>
56
     <ARCS>
57
		<ARC to="success"/>
58
     </ARCS>
59
</NODE>
(4-4/6)