Project

General

Profile

1
<RESOURCE_PROFILE>
2
    <HEADER>
3
        <RESOURCE_IDENTIFIER value="513da605-e9b4-4150-9116-f82a34a8585g_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
4
        <RESOURCE_TYPE value="WorkflowDSResourceType"/>
5
        <RESOURCE_KIND value="WorkflowDSResources"/>
6
        <RESOURCE_URI value="value3"/>
7
        <DATE_OF_CREATION value="2019-04-03T16:44:41+02:00"/>
8
    </HEADER>
9
    <BODY>
10
        <WORKFLOW_NAME>Aggregate Metadata Datacite format [Hadoop]</WORKFLOW_NAME>
11
        <WORKFLOW_INFO>
12
            <FIELD name="Action">Aggregate Metadata</FIELD>
13
            <FIELD name="Consequence IS">Support</FIELD>
14
            <FIELD name="Datasource class">PubsRepository</FIELD>
15
            <FIELD name="Content">publications</FIELD>
16
        </WORKFLOW_INFO>
17
        <WORKFLOW_TYPE>REPO_HI</WORKFLOW_TYPE>
18
        <WORKFLOW_PRIORITY>20</WORKFLOW_PRIORITY>
19
        <CONFIGURATION start="manual">
20
            <NODE isStart="true" name="VerifyDatasource" type="VerifyDatasource">
21
                <DESCRIPTION>Verify if DS is pending</DESCRIPTION>
22
                <PARAMETERS>
23
                    <PARAM managedBy="system" name="expectedInterfaceTypologyPrefixes" required="false" type="string"/>
24
                    <PARAM managedBy="system" name="expectedCompliancePrefixes" required="false" type="string"/>
25
                </PARAMETERS>
26
                <ARCS>
27
                    <ARC to="createMetaWf"/>
28
                    <ARC name="validateDs" to="validateDs"/>
29
                </ARCS>
30
            </NODE>
31
            <NODE name="validateDs" type="ValidateDatasource">
32
                <DESCRIPTION>Validate DS</DESCRIPTION>
33
                <PARAMETERS/>
34
                <ARCS>
35
                    <ARC to="createMetaWf"/>
36
                </ARCS>
37
            </NODE>
38
            <NODE name="createMetaWf" type="RegisterMetaWf">
39
                <DESCRIPTION>Create MetaWorkflow</DESCRIPTION>
40
                <PARAMETERS>
41
                    <PARAM managedBy="system" name="wfName" required="true" type="string">Aggregate Metadata (publications) from PubsRepository [Hadoop]
42
                    </PARAM>
43
                </PARAMETERS>
44
                <ARCS>
45
                    <ARC to="createDc"/>
46
                    <ARC to="createOaf"/>
47
                </ARCS>
48
            </NODE>
49
            <NODE name="createDc" type="CreateMDStoreHadoop">
50
                <DESCRIPTION>Create oai_dc store</DESCRIPTION>
51
                <PARAMETERS>
52
                    <PARAM managedBy="system" name="format" required="true" type="string">oai_datacite</PARAM>
53
                    <PARAM managedBy="system" name="interpretation" required="true" type="string">native</PARAM>
54
                    <PARAM managedBy="system" name="layout" required="true" type="string">store</PARAM>
55
                    <PARAM managedBy="system" name="outputPrefix" required="true" type="string">harv_</PARAM>
56
                </PARAMETERS>
57
                <ARCS>
58
                    <ARC to="updateMetaWf"/>
59
                </ARCS>
60
            </NODE>
61
            <NODE name="createOaf" type="CreateMDStoreHadoop">
62
                <DESCRIPTION>Create OAF store</DESCRIPTION>
63
                <PARAMETERS>
64
                    <PARAM managedBy="system" name="format" required="true" type="string">ODF</PARAM>
65
                    <PARAM managedBy="system" name="interpretation" required="true" type="string">cleaned</PARAM>
66
                    <PARAM managedBy="system" name="layout" required="true" type="string">store</PARAM>
67
                    <PARAM managedBy="system" name="outputPrefix" required="true" type="string">tran_</PARAM>
68
                </PARAMETERS>
69
                <ARCS>
70
                    <ARC to="updateMetaWf"/>
71
                </ARCS>
72
            </NODE>
73
            <NODE isJoin="true" name="updateMetaWf" type="UpdateMetaWf">
74
                <DESCRIPTION>Create MetaWorkflow</DESCRIPTION>
75
                <PARAMETERS>
76
                    <PARAM managedBy="system" name="beanName" required="true" type="string">metaWfPubsRepositoryHadoop</PARAM>
77
                </PARAMETERS>
78
                <ARCS>
79
                    <ARC to="updateMetaWfStatus"/>
80
                </ARCS>
81
            </NODE>
82
            <NODE name="updateMetaWfStatus" type="UpdateOpenaireMetaWfStatus">
83
                <DESCRIPTION>Update MetaWorkflow Status</DESCRIPTION>
84
                <PARAMETERS/>
85
                <ARCS>
86
                    <ARC to="success"/>
87
                </ARCS>
88
            </NODE>
89
        </CONFIGURATION>
90

    
91
        <STATUS/>
92
    </BODY>
93
</RESOURCE_PROFILE>
(6-6/31)