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 feed</WORKFLOW_NAME>
12
        <WORKFLOW_TYPE>Provision</WORKFLOW_TYPE>
13
        <WORKFLOW_PRIORITY>30</WORKFLOW_PRIORITY>
14
		<CONFIGURATION start="manual">
15
		<NODE name="setHdfs" type="SetHdfsFile" isStart="true">
16
				<DESCRIPTION />
17
				<PARAMETERS>
18
					<PARAM name="hdfsPath" type="string" managedBy="user" required="true">/tmp/indexrecords_db_openaireplus_node6_t_DMF.seq</PARAM>
19
					<PARAM name="hdfsPathParam" type="string" managedBy="system" required="true">inputRecordsPath</PARAM>
20
				</PARAMETERS>
21
				<ARCS>
22
					<ARC to="prepare" />
23
				</ARCS>
24
			</NODE>
25
			<NODE name="setFormat" type="SetFormatInfo" isStart="true">
26
				<DESCRIPTION />
27
				<PARAMETERS>
28
					<PARAM name="format" type="string" managedBy="user" required="true">oaf</PARAM>
29
					<PARAM name="layout" type="string" managedBy="user" required="true">index</PARAM>
30
					<PARAM name="interpretation" type="string" managedBy="user" required="true">openaire</PARAM>													
31
				</PARAMETERS>
32
				<ARCS>
33
					<ARC to="OAICreateStore" />
34
				</ARCS>
35
			</NODE>	
36
			<NODE name="OAICreateStore" type="OAICreateStore" >
37
				<DESCRIPTION />
38
				<PARAMETERS>
39
					<PARAM name="formatParam" type="string" managedBy="system" required="true">format</PARAM>
40
					<PARAM name="layoutParam" type="string" managedBy="system" required="true">layout</PARAM>
41
					<PARAM name="interpretationParam" type="string" managedBy="system" required="true">interpretation</PARAM>													
42
				</PARAMETERS>
43
				<ARCS>
44
					<ARC to="prepare" />
45
				</ARCS>
46
			</NODE>			
47
			<NODE name="prepare" type="PrepareOaiJob" isJoin="true">
48
				<DESCRIPTION>Prepare oai feeding</DESCRIPTION>
49
				<PARAMETERS>
50
					<PARAM name="oaiStoreCollectionParam" type="string" managedBy="system" required="true">oaiStoreCollection</PARAM>
51
				</PARAMETERS>
52
				<ARCS>
53
					<ARC to="updateOai" />
54
				</ARCS>
55
			</NODE>
56
			<NODE name="updateOai" type="SubmitHadoopJob">
57
				<DESCRIPTION>M/O oai feeding</DESCRIPTION>
58
				<PARAMETERS>
59
					<PARAM required="true" type="string" name="cluster" managedBy="system">DM</PARAM>
60
					<PARAM required="true" type="string" name="hadoopJob" managedBy="system">oaiFeedJob</PARAM>				
61
					<PARAM required="true" type="string" name="envParams" managedBy="system">
62
						{ 	
63
							'mapred.input.dir' : 'inputRecordsPath',
64
							'services.publisher.oai.collection' : 'oaiStoreCollection',
65
							'oaiConfiguration' : 'oaiConfiguration',
66
							'oai.feed.date' : 'oai.feed.date'
67
						}
68
					</PARAM>
69
					<PARAM required="true" type="string" name="sysParams" managedBy="system">
70
						{ 	
71
							'services.publisher.oai.host' : 'services.publisher.oai.host',
72
							'services.publisher.oai.port' : 'services.publisher.oai.port',
73
							'services.publisher.oai.db' : 'services.publisher.oai.db'					
74
						}
75
					</PARAM>					
76
				</PARAMETERS>
77
				<ARCS>
78
					<ARC to="success" />
79
				</ARCS>
80
			</NODE>
81
			
82
		</CONFIGURATION>
83
		<STATUS />
84
	</BODY>
85
</RESOURCE_PROFILE>
(9-9/11)