Project

General

Profile

1
<RESOURCE_PROFILE>
2
    <HEADER>
3
        <RESOURCE_IDENTIFIER value="7cf3cfed-fbfb-46ca-b4da-aa43beb58f19_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
4
        <RESOURCE_TYPE value="WorkflowDSResourceType"/>
5
        <RESOURCE_KIND value="WorkflowDSResources"/>
6
        <RESOURCE_URI value=""/>
7
        <DATE_OF_CREATION value="2021-05-06T09:48:33+00:00"/>
8
    </HEADER>
9
    <BODY>
10
        <WORKFLOW_NAME>Update ROR 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="setInputPath" type="SetEnvParameter">
15
                <DESCRIPTION>Set the base path containing the no_doi_dataset folder</DESCRIPTION>
16
                <PARAMETERS>
17
                    <PARAM managedBy="system" name="parameterName" required="true" type="string">inputPath</PARAM>
18
                    <PARAM managedBy="user" name="parameterValue" required="true" type="string">/data/ror/ror-data-2021-04-06.json</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' : 'ror',
31
                        'jobProperty' : 'export_action_set_ror',
32
                        'enablingProperty' : 'active_ror',
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="rorUpdate"/>
49
                </ARCS>
50
            </NODE>
51
            <NODE name="rorUpdate" type="SubmitHadoopJob">
52
                <DESCRIPTION>update the ROR 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
                        'rorJsonInputPath' : 'inputPath',
59
                        'rorActionSetPath': '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/ror/oozie_app',
65
                        'workingDir': '/tmp/import_ror_actionset'
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_20210506_135405_174</LAST_EXECUTION_ID>
84
            <LAST_EXECUTION_DATE>2021-05-06T13:55:05+00:00</LAST_EXECUTION_DATE>
85
            <LAST_EXECUTION_STATUS>SUCCESS</LAST_EXECUTION_STATUS>
86
            <LAST_EXECUTION_ERROR/>
87
        </STATUS>
88
    </BODY>
89
</RESOURCE_PROFILE>
(6-6/7)