Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
    <HEADER>
4
        <RESOURCE_IDENTIFIER value="96c45851-28ed-4cd3-8942-bbb350e4dfec_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
5
        <RESOURCE_TYPE value="WorkflowDSResourceType"/>
6
        <RESOURCE_KIND value="WorkflowDSResources"/>
7
        <RESOURCE_URI value=""/>
8
        <DATE_OF_CREATION value="2006-05-04T18:13:51.0Z"/>
9
    </HEADER>
10
    <BODY>
11
        <WORKFLOW_NAME>OAI Store</WORKFLOW_NAME>
12
        <WORKFLOW_TYPE>Provision</WORKFLOW_TYPE>
13
        <WORKFLOW_PRIORITY>30</WORKFLOW_PRIORITY>
14
		<CONFIGURATION start="auto">
15
			<NODE name="prepare" type="PrepareOaiJob" isStart="true">
16
				<DESCRIPTION>Prepare oai feeding</DESCRIPTION>
17
				<PARAMETERS>
18
					<PARAM name="format" type="string" managedBy="system" required="true">DMF</PARAM>
19
					<PARAM name="outputRecordsPathParam" type="string" managedBy="system" required="true">outputRecordsPath</PARAM>
20
					<PARAM name="rottenRecordsPathParam" type="string" managedBy="system" required="true">rottenRecordsPath</PARAM>
21
					<PARAM name="oaiStoreCollectionParam" type="string" managedBy="system" required="true">oaiStoreCollection</PARAM>
22
				</PARAMETERS>
23
				<ARCS>
24
					<ARC to="updateOai" />
25
				</ARCS>
26
			</NODE>
27
			<NODE name="updateOai" type="SubmitHadoopJob">
28
				<DESCRIPTION>M/O oai feeding</DESCRIPTION>
29
				<PARAMETERS>
30
					<PARAM required="true" type="string" name="cluster" managedBy="system">DM</PARAM>
31
					<PARAM required="true" type="string" name="hadoopJob" managedBy="system">oaiFeedJob</PARAM>					
32
					<PARAM required="true" type="string" name="envParams" managedBy="system">
33
						{ 	
34
							'mapred.input.dir' : 'outputRecordsPath',
35
							'mapred.output.dir' : 'rottenRecordsPath',
36
							'services.publisher.oai.collection' : 'oaiStoreCollection'
37
							'oaiConfiguration' : 'oaiConfiguration'
38
							'oai.feed.date' : 'oai.feed.date'
39
						}
40
					</PARAM>
41
					<PARAM required="true" type="string" name="sysParams" managedBy="system">
42
						{ 	
43
							'services.publisher.oai.host' : 'services.publisher.oai.host',
44
							'services.publisher.oai.port' : 'services.publisher.oai.port',
45
							'services.publisher.oai.db' : 'services.publisher.oai.db'					
46
						}
47
					</PARAM>					
48
				</PARAMETERS>
49
				<ARCS>
50
					<ARC to="OAISetsCountUpdate" />
51
				</ARCS>
52
			</NODE>
53
			<NODE name="OAISetsCountUpdate" type="OAISetsCountUpdate">
54
				<DESCRIPTION>Count records in each OAI set, for each exported metadata format</DESCRIPTION>
55
				<PARAMETERS></PARAMETERS>
56
				<ARCS>
57
					<ARC to="success" />
58
				</ARCS>
59
			</NODE>
60
			
61
		</CONFIGURATION>
62
		<STATUS />
63
	</BODY>
64
</RESOURCE_PROFILE>
(4-4/6)