1
|
<RESOURCE_PROFILE>
|
2
|
<HEADER>
|
3
|
<RESOURCE_IDENTIFIER value="970c4826-cf6d-4dfe-850c-41e508d341fa_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
|
4
|
<RESOURCE_TYPE value="WorkflowDSResourceType"/>
|
5
|
<RESOURCE_KIND value="WorkflowDSResources"/>
|
6
|
<RESOURCE_URI value=""/>
|
7
|
<DATE_OF_CREATION value="2018-11-15T11:24:05+00:00"/>
|
8
|
</HEADER>
|
9
|
<BODY>
|
10
|
<WORKFLOW_NAME>Import Organizations from DOIboost</WORKFLOW_NAME>
|
11
|
<WORKFLOW_TYPE>Import InfoSpace</WORKFLOW_TYPE>
|
12
|
<WORKFLOW_PRIORITY>30</WORKFLOW_PRIORITY>
|
13
|
<CONFIGURATION start="manual">
|
14
|
<NODE isStart="true" name="setOrgsOnly" type="SetEnvParameter">
|
15
|
<DESCRIPTION>set the parameter to drive the import procedure behaviour so that it will import only organizations</DESCRIPTION>
|
16
|
<PARAMETERS>
|
17
|
<PARAM managedBy="system" name="parameterName" required="true" type="string">onlyOrganization</PARAM>
|
18
|
<PARAM managedBy="user" name="parameterValue" required="false" type="string">true</PARAM>
|
19
|
</PARAMETERS>
|
20
|
<ARCS>
|
21
|
<ARC to="importActionSet"/>
|
22
|
</ARCS>
|
23
|
</NODE>
|
24
|
<NODE isStart="true" name="setInputPath" type="SetHdfsFile">
|
25
|
<DESCRIPTION>set the hdfs output path</DESCRIPTION>
|
26
|
<PARAMETERS>
|
27
|
<PARAM managedBy="user" name="hdfsPath" required="true" type="string">/usr/dnet/data/doiboost</PARAM>
|
28
|
<PARAM managedBy="system" name="hdfsPathParam" required="true" type="string">inputPath</PARAM>
|
29
|
</PARAMETERS>
|
30
|
<ARCS>
|
31
|
<ARC to="prepareActionSets"/>
|
32
|
</ARCS>
|
33
|
</NODE>
|
34
|
<NODE name="prepareActionSets" type="PrepareActionSets">
|
35
|
<DESCRIPTION>prepare action sets</DESCRIPTION>
|
36
|
<PARAMETERS>
|
37
|
<PARAM managedBy="system" name="sets" required="true" type="string">
|
38
|
[
|
39
|
{
|
40
|
'set' : 'doiboost-organizations',
|
41
|
'jobProperty' : 'export_action_set_doiboost-organizations',
|
42
|
'enablingProperty' : 'active_doiboost-organizations',
|
43
|
'enabled' : 'true'
|
44
|
}
|
45
|
]
|
46
|
</PARAM>
|
47
|
</PARAMETERS>
|
48
|
<ARCS>
|
49
|
<ARC to="extractOutputPath"/>
|
50
|
</ARCS>
|
51
|
</NODE>
|
52
|
<NODE name="extractOutputPath" type="ExtractOutputPath">
|
53
|
<DESCRIPTION>extract the hdfs output path generated in the previous node</DESCRIPTION>
|
54
|
<PARAMETERS>
|
55
|
<PARAM managedBy="system" name="hdfsOutputPathParam" required="true" type="string">outputPath</PARAM>
|
56
|
</PARAMETERS>
|
57
|
<ARCS>
|
58
|
<ARC to="importActionSet"/>
|
59
|
</ARCS>
|
60
|
</NODE>
|
61
|
<NODE isJoin="true" name="importActionSet" type="SubmitHadoopJob">
|
62
|
<DESCRIPTION>IIS main</DESCRIPTION>
|
63
|
<PARAMETERS>
|
64
|
<PARAM managedBy="system" name="hadoopJob" required="true" type="string">importDOIBoostJob</PARAM>
|
65
|
<PARAM managedBy="system" name="cluster" required="true" type="string">DM</PARAM>
|
66
|
<PARAM managedBy="system" name="envParams" required="true" type="string">
|
67
|
{
|
68
|
'mapred.input.dir':'inputPath',
|
69
|
'mapred.output.dir':'outputPath',
|
70
|
'onlyOrganization' : 'onlyOrganization'
|
71
|
}
|
72
|
</PARAM>
|
73
|
<PARAM managedBy="user" name="simulation" required="true" type="boolean">false</PARAM>
|
74
|
</PARAMETERS>
|
75
|
<ARCS>
|
76
|
<ARC to="updateActionSets"/>
|
77
|
</ARCS>
|
78
|
</NODE>
|
79
|
<NODE name="updateActionSets" type="UpdateActionSets">
|
80
|
<DESCRIPTION>update action sets</DESCRIPTION>
|
81
|
<PARAMETERS/>
|
82
|
<ARCS>
|
83
|
<ARC to="success"/>
|
84
|
</ARCS>
|
85
|
</NODE>
|
86
|
</CONFIGURATION>
|
87
|
<STATUS>
|
88
|
<LAST_EXECUTION_ID>wf_20181026_140552_878</LAST_EXECUTION_ID>
|
89
|
<LAST_EXECUTION_DATE>2018-10-26T14:21:47+00:00</LAST_EXECUTION_DATE>
|
90
|
<LAST_EXECUTION_STATUS>SUCCESS</LAST_EXECUTION_STATUS>
|
91
|
<LAST_EXECUTION_ERROR/>
|
92
|
</STATUS>
|
93
|
</BODY>
|
94
|
</RESOURCE_PROFILE>
|