Project

General

Profile

1 60995 alessia.ba
<RESOURCE_PROFILE>
2
    <HEADER>
3
        <RESOURCE_IDENTIFIER value="50593ba8-bb4b-413a-b852-b2c7e4a56093_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
4
        <RESOURCE_TYPE value="WorkflowDSResourceType"/>
5
        <RESOURCE_KIND value="WorkflowDSResources"/>
6
        <RESOURCE_URI value=""/>
7
        <DATE_OF_CREATION value="2021-04-21T09:11:15+00:00"/>
8
    </HEADER>
9
    <BODY>
10
        <WORKFLOW_NAME>Import Datacite ActionSet</WORKFLOW_NAME>
11
        <WORKFLOW_TYPE>Import InfoSpace</WORKFLOW_TYPE>
12
        <WORKFLOW_PRIORITY>30</WORKFLOW_PRIORITY>
13
        <CONFIGURATION start="manual">
14
            <NODE isStart="true" name="setDatacitePath" type="SetEnvParameter">
15
                <DESCRIPTION>set the input path for Datacite content</DESCRIPTION>
16
                <PARAMETERS>
17
                    <PARAM managedBy="system" name="parameterName" required="true" type="string">datacitePath</PARAM>
18
                    <PARAM managedBy="user" name="parameterValue" required="true" type="string">/data/datacite/datacite_oaf</PARAM>
19
                </PARAMETERS>
20
                <ARCS>
21
                    <ARC to="prepareActionSets"/>
22
                </ARCS>
23
            </NODE>
24
            <NODE name="prepareActionSets" type="PrepareActionSets">
25
                <DESCRIPTION>prepare action sets</DESCRIPTION>
26
                <PARAMETERS>
27
                    <PARAM managedBy="system" name="sets" required="true" type="string">
28
                        [
29
                        {
30
                        'set' : 'datacite',
31
                        'jobProperty' : 'export_action_set_datacite',
32
                        'enablingProperty' : 'active_datacite',
33
                        'enabled' : 'true'
34
                        }
35
                        ]
36
                    </PARAM>
37
                </PARAMETERS>
38
                <ARCS>
39
                    <ARC to="extractOutputPath"/>
40
                </ARCS>
41
            </NODE>
42
            <NODE name="extractOutputPath" type="ExtractOutputPath">
43
                <DESCRIPTION>extract the hdfs output path generated in the previous node</DESCRIPTION>
44
                <PARAMETERS>
45
                    <PARAM managedBy="system" name="hdfsOutputPathParam" required="true" type="string">outputPath</PARAM>
46
                </PARAMETERS>
47
                <ARCS>
48
                    <ARC to="generateDataciteActionSet"/>
49
                </ARCS>
50
            </NODE>
51
            <NODE name="generateDataciteActionSet" type="SubmitHadoopJob">
52
                <DESCRIPTION>prepare a new version of Datacite ActionSet</DESCRIPTION>
53
                <PARAMETERS>
54
                    <PARAM managedBy="system" name="hadoopJob" required="true" type="string">executeOozieJob</PARAM>
55
                    <PARAM managedBy="system" name="cluster" required="true" type="string">IIS</PARAM>
56
                    <PARAM managedBy="system" name="envParams" required="true" type="string">
57
                        {
58
                        'sourcePath' : 'datacitePath',
59
                        'outputPath' : 'outputPath'
60
                        }
61
                    </PARAM>
62
                    <PARAM managedBy="system" name="params" required="true" type="string">
63
                        {
64
                        'oozie.wf.application.path' : '/lib/dnet/STABLE_IDS/actionmanager/datacite_actionset/oozie_app',
65
                        'sparkExecutorMemory' : '7G'
66
                        }
67
                    </PARAM>
68
                    <PARAM managedBy="system" name="oozieReportActionsCsv" required="true" type="string">build-report</PARAM>
69
                </PARAMETERS>
70
                <ARCS>
71
                    <ARC to="updateActionSets"/>
72
                </ARCS>
73
            </NODE>
74
            <NODE name="updateActionSets" type="UpdateActionSets">
75
                <DESCRIPTION>update action sets</DESCRIPTION>
76
                <PARAMETERS/>
77
                <ARCS>
78
                    <ARC to="success"/>
79
                </ARCS>
80
            </NODE>
81
        </CONFIGURATION>
82
        <STATUS>
83
            <LAST_EXECUTION_ID>wf_20210421_091120_270</LAST_EXECUTION_ID>
84
            <LAST_EXECUTION_DATE>2021-04-21T09:17:25+00:00</LAST_EXECUTION_DATE>
85
            <LAST_EXECUTION_STATUS>SUCCESS</LAST_EXECUTION_STATUS>
86
            <LAST_EXECUTION_ERROR/>
87
        </STATUS>
88
    </BODY>
89
</RESOURCE_PROFILE>