Project

General

Profile

« Previous | Next » 

Revision 46596

integrated changes from 'refactoring' branch

View differences:

oai.consistency.xml
12 12
        <WORKFLOW_TYPE>Provision</WORKFLOW_TYPE>
13 13
        <WORKFLOW_PRIORITY>30</WORKFLOW_PRIORITY>
14 14
		<CONFIGURATION start="manual">
15
			<NODE name="setFormat" type="SetFormatInfo" isStart="true">
16
				<DESCRIPTION />
17
				<PARAMETERS>
18
					<PARAM name="format" type="string" managedBy="user" required="true">oaf</PARAM>
19
					<PARAM name="layout" type="string" managedBy="user" required="true">index</PARAM>
20
					<PARAM name="interpretation" type="string" managedBy="user" required="true">openaire</PARAM>	
21
					<PARAM name="formatParam" type="string" managedBy="system" required="true">oai_format</PARAM>
22
					<PARAM name="layoutParam" type="string" managedBy="system" required="true">oai_layout</PARAM>
23
					<PARAM name="interpretationParam" type="string" managedBy="system" required="true">oai_interpretation</PARAM>													
24
				</PARAMETERS>
25
				<ARCS>
26
					<ARC to="prepareOAI" />
27
				</ARCS>
28
			</NODE>	
29
			<NODE name="prepareOAI" type="PrepareOaiJob">
15
			<NODE name="prepareOAI" type="PrepareOaiJob" isStart="true">
30 16
				<DESCRIPTION>Prepare target OAI store</DESCRIPTION>
31 17
				<PARAMETERS>
32
					<PARAM name="oaiStoreCollectionParam" type="string" managedBy="system" required="true">oaiStoreCollection</PARAM>
33
					<PARAM name="oaiDBName" type="string" managedBy="user" required="true">oaistore</PARAM>
34
					<PARAM name="oaiDBNameParam" type="string" managedBy="system" required="true">oai_dbName</PARAM>
18
					<PARAM name="oaiDbName" type="string" managedBy="user" required="true">oaistore</PARAM>
19
					<PARAM name="oaiFormat" type="string" managedBy="user" required="true">oaf</PARAM>
20
					<PARAM name="oaiLayout" type="string" managedBy="user" required="true">index</PARAM>
21
					<PARAM name="oaiInterpretation" type="string" managedBy="user" required="true">openaire</PARAM>
22
					<PARAM name="oaiSource" type="string" managedBy="user" required="false"></PARAM>
35 23
				</PARAMETERS>
36 24
				<ARCS>
37 25
					<ARC to="RefreshConfig" />
......
39 27
			</NODE>
40 28
			<NODE name="RefreshConfig" type="OAIRefreshConfiguration">
41 29
				<DESCRIPTION>Reads the current OAI configuration and upsert OAI sets accordingly</DESCRIPTION>
42
				<PARAMETERS>
43
					<PARAM name="dbNameParam" required="true" type="string" managedBy="system">oai_dbName</PARAM>
44
				</PARAMETERS>
30
				<PARAMETERS></PARAMETERS>
45 31
				<ARCS>
46 32
					<ARC to="SELECT_UPDATE_INDICES" />
47 33
				</ARCS>
......
59 45
			<NODE name="CompoundIndexes" type="OAICreateIndex">
60 46
				<DESCRIPTION>Create composite indexes for the OAI store</DESCRIPTION>
61 47
				<PARAMETERS>
62
					<PARAM name="dbNameParam" required="true" type="string" managedBy="system">oai_dbName</PARAM>
63
					<PARAM name="oaiStoreCollectionParam" type="string" managedBy="system" required="true">oaiStoreCollection</PARAM>
64 48
					<PARAM name="fieldNames" type="string" managedBy="user" required="true">set,datestamp;license,oaftype;set,oaftype;oaftype,funder;resulttypeid,oaftype</PARAM>
65 49
				</PARAMETERS>
66 50
				<ARCS>
......
68 52
				</ARCS>
69 53
			</NODE>
70 54
			<NODE name="ConfigIndexes" type="OAIEnsureIndexes" >
71
				<DESCRIPTION>Ensure an index exists on fields as specified in the configuration profile</DESCRIPTION>
55
				<DESCRIPTION>Create indexes on fields as specified in the configuration profile</DESCRIPTION>
72 56
				<PARAMETERS>
73
					<PARAM name="dbNameParam" required="true" type="string" managedBy="system">oai_dbName</PARAM>
74
					<PARAM name="oaiStoreCollectionParam" type="string" managedBy="system" required="true">oaiStoreCollection</PARAM>
75 57
				</PARAMETERS>
76 58
				<ARCS>
77 59
					<ARC to="SELECT_REFRESH_SET_COUNTS" />
......
90 72
			<NODE name="SetsCount" type="OAISetsCountUpdate">
91 73
				<DESCRIPTION>Count records in each OAI set, for each exported metadata format linked to the given oai collection</DESCRIPTION>
92 74
				<PARAMETERS>
93
				<PARAM name="dbNameParam" required="true" type="string" managedBy="system">oai_dbName</PARAM>
94
					<PARAM name="oaiStoreCollectionParam" type="string" managedBy="system" required="true">oaiStoreCollection</PARAM>
95 75
					<PARAM name="configuredOnly" type="boolean" managedBy="user" required="true">false</PARAM>	
96 76
				</PARAMETERS>
97 77
				<ARCS>
......
110 90
				</ARCS>
111 91
			</NODE>
112 92
			<NODE name="SetOAIDB" type="SetCurrentOAIDB">
113
				<DESCRIPTION>Update the currentdb in the OAI configuration profile to the value in oai_dbName</DESCRIPTION>
93
				<DESCRIPTION>Update the currentdb in the OAI configuration profile</DESCRIPTION>
114 94
				<PARAMETERS>
115
					<PARAM name="oaiDBNameParam" required="true" type="string" managedBy="system">oai_dbName</PARAM>
116 95
				</PARAMETERS>
117 96
				<ARCS>
118 97
					<ARC to="success" />

Also available in: Unified diff