Project

General

Profile

1
<RESOURCE_PROFILE>
2
	<HEADER>
3
		<RESOURCE_IDENTIFIER value="303a9a13-590d-4e70-8892-8173a6c6dffb_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
4
		<RESOURCE_TYPE value="WorkflowDSResourceType"/>
5
		<RESOURCE_KIND value="WorkflowDSResources"/>
6
		<RESOURCE_URI value=""/>
7
		<DATE_OF_CREATION value="2006-05-04T18:13:51.0Z"/>
8
	</HEADER>
9
	<BODY>
10
		<WORKFLOW_NAME menuSection="InfoSpace Provision">Update OAI store</WORKFLOW_NAME>
11
		<WORKFLOW_DESCRIPTION>Update OAI store</WORKFLOW_DESCRIPTION>
12
		<WORKFLOW_INFO/>
13
		<WORKFLOW_FAMILY>Data Provision</WORKFLOW_FAMILY>
14
		<WORKFLOW_PRIORITY>35</WORKFLOW_PRIORITY>
15
		<!-- <ADMIN_EMAIL>alessia.bardi@isti.cnr.it,claudio.atzori@isti.cnr.it</ADMIN_EMAIL> -->
16
		<CONFIGURATION status="EXECUTABLE" start="MANUAL">
17

    
18
			<PARAMETERS>
19
				<PARAM name="cluster" description="Hadoop cluster name" required="true" type="string" managedBy="system">DM</PARAM>
20
				<PARAM name="inputRecordsPath" description="path on HDFS pointing to the sequence file with the input xml records" required="true" type="string" managedBy="user"/>
21

    
22
				<PARAM name="oaiDBName" description="db name" required="true" type="string" managedBy="user">oaistore</PARAM>
23
				<PARAM name="oaiCollectionName" description="collection name" required="true" type="string" managedBy="system">oaf-index-openaire</PARAM>
24
				<PARAM name="skipDuplicates" description="skip duplicates" required="true" type="boolean" managedBy="user">true</PARAM>
25
				<PARAM name="duplicateXPath" description="xpath to identify duplicated records" required="true" type="string" managedBy="user">//*[local-name()='entity']//*[local-name()='datainfo']/*[local-name()='deletedbyinference'][./text() = 'true']</PARAM>
26

    
27
				<PARAM name="fieldNames" description="list of field names to index" required="true" type="string" managedBy="user">set,datestamp;license,oaftype;set,oaftype;oaftype,funder;resulttypeid,oaftype;oaftype,funding;resulttypeid,funder;resulttypeid,funding</PARAM>
28
				<PARAM name="configuredOnly" description="rebuild only the indicies in the OAI configuration profile" required="true" type="boolean" managedBy="user">false</PARAM>
29
			</PARAMETERS>
30
			<WORKFLOW>
31

    
32
				<NODE name="updateOAI" type="LaunchWorkflowTemplate" isStart="true">
33
					<DESCRIPTION>update OAI store</DESCRIPTION>
34
					<PARAMETERS>
35
						<PARAM name="wfTemplateId" value="12f1db9b-3c3e-4fd6-a425-932afd6ef3be_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/>
36
						<PARAM name="wfTemplateParams">
37
							<MAP>
38
								<ENTRY key="cluster" ref="cluster"/>
39
								<ENTRY key="inputRecordsPath" ref="inputRecordsPath"/>
40
								<ENTRY key="oaiDBName" ref="oaiDBName"/>
41
								<ENTRY key="oaiCollectionName" ref="oaiCollectionName"/>
42
								<ENTRY key="skipDuplicates" ref="skipDuplicates"/>
43
								<ENTRY key="duplicateXPath" ref="duplicateXPath"/>
44
								<ENTRY key="fieldNames" ref="fieldNames"/>
45
								<ENTRY key="configuredOnly" ref="configuredOnly"/>
46
							</MAP>
47
						</PARAM>
48
					</PARAMETERS>
49
					<ARCS>
50
						<ARC to="success"/>
51
					</ARCS>
52
				</NODE>
53

    
54
			</WORKFLOW>
55

    
56
		</CONFIGURATION>
57

    
58
		<NOTIFICATIONS/>
59

    
60
		<SCHEDULING enabled="false">
61
			<CRON>29 5 22 ? * *</CRON>
62
			<MININTERVAL>10080</MININTERVAL>
63
		</SCHEDULING>
64

    
65
		<STATUS/>
66
	</BODY>
67
</RESOURCE_PROFILE>
(18-18/23)