Project

General

Profile

1
<RESOURCE_PROFILE>
2
	<HEADER>
3
		<RESOURCE_IDENTIFIER value="b9b6cd8a-8ee2-4a74-9344-f087eeac29ed_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
4
		<RESOURCE_TYPE value="WorkflowDSResourceType"/>
5
		<RESOURCE_KIND value="WorkflowDSResources"/>
6
		<RESOURCE_URI value=""/>
7
		<DATE_OF_CREATION value="2015-10-12T14:10:32+00:00"/>
8
	</HEADER>
9
	<BODY>
10
		<WORKFLOW_NAME>Calculate enrichment events</WORKFLOW_NAME>
11
		<WORKFLOW_TYPE>Notification Broker</WORKFLOW_TYPE>
12
		<WORKFLOW_PRIORITY>30</WORKFLOW_PRIORITY>
13
		<CONFIGURATION start="manual">
14

    
15
			<NODE name="hadoopConfig" type="SetClusterAndTable" isStart="true">
16
				<DESCRIPTION>Set table name</DESCRIPTION>
17
				<PARAMETERS>
18
					<PARAM required="true" type="string" name="cluster" managedBy="system">DM</PARAM>
19
					<PARAM required="true" type="string" name="tableParam" managedBy="system">tableName</PARAM>
20
					<PARAM required="true" type="string" name="table" managedBy="user"/>
21
				</PARAMETERS>
22
				<ARCS>
23
					<ARC to="enrichment"/>
24
				</ARCS>
25
			</NODE>
26

    
27
			<NODE name="setDedupConfigs" type="SetDedupConfiguration" isStart="true">
28
				<DESCRIPTION>Set Dedup conf</DESCRIPTION>
29
				<PARAMETERS>
30
					<PARAM function="obtainValues('dedupOrchestrations', {})" required="true" type="string" name="dedupConfigSequence" managedBy="user"></PARAM>
31
					<PARAM required="true" type="string" name="dedupConfigSequenceParam" managedBy="system">dedup.conf.queue</PARAM>
32
				</PARAMETERS>
33
				<ARCS>
34
					<ARC to="enrichment"/>
35
				</ARCS>
36
			</NODE>
37

    
38

    
39
			<NODE name="enrichment" type="DedupConfigurationAwareJob" isJoin="true">
40
				<DESCRIPTION>Run M/R Job</DESCRIPTION>
41
				<PARAMETERS>
42
					<PARAM managedBy="system" name="cluster" required="true" type="string">DM</PARAM>
43
					<PARAM managedBy="system" name="hadoopJob" required="true" type="string">brokerEnrichmentJob</PARAM>
44
					<PARAM required="true" type="string" name="dedupConfigSequenceParam" managedBy="system">dedup.conf.queue</PARAM>
45
					<PARAM managedBy="system" name="envParams" required="false" type="string">
46
						{
47
						'hbase.mapred.inputtable' : 'tableName',
48
						'hbase.mapreduce.inputtable' : 'tableName'
49
						}
50
					</PARAM>
51
				</PARAMETERS>
52
				<ARCS>
53
					<ARC to="success"/>
54
				</ARCS>
55
			</NODE>
56

    
57
		</CONFIGURATION>
58
		<STATUS/>
59
	</BODY>
60
</RESOURCE_PROFILE>
(3-3/6)