Project

General

Profile

1 60995 alessia.ba
<RESOURCE_PROFILE>
2
    <HEADER>
3
        <RESOURCE_IDENTIFIER value="4bb067d5-a2f2-42b9-844c-4e1d8d71b80f_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
4
        <RESOURCE_TYPE value="WorkflowDSResourceType"/>
5
        <RESOURCE_KIND value="WorkflowDSResources"/>
6
        <RESOURCE_URI value=""/>
7
        <DATE_OF_CREATION value="2020-12-01T14:33:42+00:00"/>
8
    </HEADER>
9
    <BODY>
10
        <WORKFLOW_NAME>Import H2020classification</WORKFLOW_NAME>
11
        <WORKFLOW_TYPE>Import H2020classification</WORKFLOW_TYPE>
12
        <WORKFLOW_PRIORITY>30</WORKFLOW_PRIORITY>
13
        <CONFIGURATION start="manual">
14
            <NODE isStart="true" name="prepareActionSets" type="PrepareActionSets">
15
                <DESCRIPTION>prepare action sets</DESCRIPTION>
16
                <PARAMETERS>
17
                    <PARAM managedBy="system" name="sets" required="true" type="string">
18
                        [
19
                        {
20
                        'set' : 'h2020classification',
21
                        'jobProperty' : 'export_action_set_h2020classification',
22
                        'enablingProperty' : 'active_h2020classification',
23
                        'enabled' : 'true'
24
                        }
25
                        ]
26
                    </PARAM>
27
                </PARAMETERS>
28
                <ARCS>
29
                    <ARC to="extractOutputPath"/>
30
                </ARCS>
31
            </NODE>
32
            <NODE name="extractOutputPath" type="ExtractOutputPath">
33
                <DESCRIPTION>extract the hdfs output path generated in the previous node</DESCRIPTION>
34
                <PARAMETERS>
35
                    <PARAM managedBy="system" name="hdfsOutputPathParam" required="true" type="string">outputPath</PARAM>
36
                </PARAMETERS>
37
                <ARCS>
38
                    <ARC to="h2020ClassificationUpdate"/>
39
                </ARCS>
40
            </NODE>
41
            <NODE name="h2020ClassificationUpdate" type="SubmitHadoopJob">
42
                <DESCRIPTION>prepare updates for the H2020 Classification</DESCRIPTION>
43
                <PARAMETERS>
44
                    <PARAM managedBy="system" name="hadoopJob" required="true" type="string">executeOozieJob</PARAM>
45
                    <PARAM managedBy="system" name="cluster" required="true" type="string">IIS</PARAM>
46
                    <PARAM managedBy="system" name="envParams" required="true" type="string">
47
                        {
48
                        'outputPath': 'outputPath'
49
                        }
50
                    </PARAM>
51
                    <PARAM managedBy="system" name="params" required="true" type="string">
52
                        {
53
                        'oozie.wf.application.path' : ' /lib/dnet/BETA/actionmanager/project/oozie_app',
54
                        'workingDir' : '/tmp/beta_provision/working_dir/h2020classification',
55
                        'projectFileURL' : 'https://cordis.europa.eu/data/cordis-h2020projects.csv',
56
                        'programmeFileURL' : 'http://cordis.europa.eu/data/reference/cordisref-H2020programmes.csv',
57
                        'topicFileURL':'http://cordis.europa.eu/data/reference/cordisref-H2020topics.xlsx',
58
                        'postgresURL':'jdbc:postgresql://beta.services.openaire.eu:5432/dnet_openaireplus',
59
                        'postgresUser':'dnet',
60
                        'postgresPassword':'dnetPwd'
61
                        }
62
                    </PARAM>
63
                    <PARAM managedBy="system" name="oozieReportActionsCsv" required="true" type="string">build-report</PARAM>
64
                </PARAMETERS>
65
                <ARCS>
66
                    <ARC to="updateActionSets"/>
67
                </ARCS>
68
            </NODE>
69
            <NODE name="updateActionSets" type="UpdateActionSets">
70
                <DESCRIPTION>update action sets</DESCRIPTION>
71
                <PARAMETERS/>
72
                <ARCS>
73
                    <ARC to="success"/>
74
                </ARCS>
75
            </NODE>
76
        </CONFIGURATION>
77
        <STATUS>
78
            <LAST_EXECUTION_ID>wf_20201005_124642_515</LAST_EXECUTION_ID>
79
            <LAST_EXECUTION_DATE>2020-10-05T12:57:35+00:00</LAST_EXECUTION_DATE>
80
            <LAST_EXECUTION_STATUS>SUCCESS</LAST_EXECUTION_STATUS>
81
            <LAST_EXECUTION_ERROR/>
82
        </STATUS>
83
    </BODY>
84
</RESOURCE_PROFILE>