Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER value="6afbcdfe-1ac4-4249-ac91-9605949f022b_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
5
		<RESOURCE_TYPE value="WorkflowDSResourceType"/>
6
		<RESOURCE_KIND value="WorkflowDSResources"/>
7
		<RESOURCE_URI value=""/>
8
		<DATE_OF_CREATION value="2015-12-15T15:43:51.0Z"/>
9
	</HEADER>
10
	<BODY>
11
		<WORKFLOW_NAME>Aggregate and Validate Metadata (datasets) from DataRepository [Ingestion]</WORKFLOW_NAME>
12
		<WORKFLOW_INFO>
13
			<FIELD name="Action">Aggregate Metadata</FIELD>
14
			<FIELD name="Consequence IS">Ingestion</FIELD>
15
			<FIELD name="Datasource class">DataRepository</FIELD>
16
			<FIELD name="Content">datasets</FIELD>
17
		</WORKFLOW_INFO>
18
		<WORKFLOW_TYPE>REPO_HI</WORKFLOW_TYPE>
19
		<WORKFLOW_PRIORITY>20</WORKFLOW_PRIORITY>
20
		<CONFIGURATION start="manual">
21
			<NODE name="VerifyDatasource" type="VerifyDatasource" isStart="true">
22
				<DESCRIPTION>Verify if DS is pending</DESCRIPTION>
23
				<PARAMETERS>
24
					<PARAM name="expectedInterfaceTypologyPrefixes" managedBy="system" required="false" type="string">datarepository</PARAM>
25
					<PARAM name="expectedCompliancePrefixes" managedBy="system" required="false" type="string"></PARAM>
26
				</PARAMETERS>
27
				<ARCS>
28
					<ARC to="createMetaWf"/>
29
					<ARC to="validateDs" name="validateDs"/>
30
				</ARCS>
31
			</NODE>
32

    
33
			<NODE name="validateDs" type="ValidateDatasource">
34
				<DESCRIPTION>Validate DS</DESCRIPTION>
35
				<PARAMETERS/>
36
				<ARCS>
37
					<ARC to="createMetaWf"/>
38
				</ARCS>
39
			</NODE>
40

    
41
			<NODE name="createMetaWf" type="RegisterMetaWf">
42
				<DESCRIPTION>Create MetaWorkflow</DESCRIPTION>
43
				<PARAMETERS>
44
					<PARAM name="wfName" managedBy="system" required="true"
45
					       type="string">Aggregate and Validate Metadata (datasets) from DataRepository [Ingestion]
46
					</PARAM>
47
				</PARAMETERS>
48
				<ARCS>
49
					<ARC to="createDatacite"/>
50
					<ARC to="createODF"/>
51
				</ARCS>
52
			</NODE>
53

    
54
			<NODE name="createDatacite" type="CreateMDStore">
55
				<DESCRIPTION>Create oai_datacite native store</DESCRIPTION>
56
				<PARAMETERS>
57
					<PARAM name="format" managedBy="system" required="true" type="string">oai_datacite</PARAM>
58
					<PARAM name="interpretation" managedBy="system" required="true" type="string">native</PARAM>
59
					<PARAM name="layout" managedBy="system" required="true" type="string">store</PARAM>
60
					<PARAM name="outputPrefix" managedBy="system" required="true" type="string">harv_</PARAM>
61
				</PARAMETERS>
62
				<ARCS>
63
					<ARC to="updateMetaWf"/>
64
				</ARCS>
65
			</NODE>
66
			<NODE name="createODF" type="CreateMDStore">
67
				<DESCRIPTION>Create ODF cleaned store</DESCRIPTION>
68
				<PARAMETERS>
69
					<PARAM name="format" managedBy="system" required="true" type="string">ODF</PARAM>
70
					<PARAM name="interpretation" managedBy="system" required="true" type="string">cleaned</PARAM>
71
					<PARAM name="layout" managedBy="system" required="true" type="string">store</PARAM>
72
					<PARAM name="outputPrefix" managedBy="system" required="true" type="string">tran_</PARAM>
73
				</PARAMETERS>
74
				<ARCS>
75
					<ARC to="updateMetaWf"/>
76
				</ARCS>
77
			</NODE>
78

    
79
			<NODE name="updateMetaWf" type="UpdateMetaWf" isJoin="true">
80
				<DESCRIPTION>Create MetaWorkflow</DESCRIPTION>
81
				<PARAMETERS>
82
					<PARAM name="beanName" managedBy="system" required="true" type="string">metaWfDataRepository</PARAM>
83
				</PARAMETERS>
84
				<ARCS>
85
					<ARC to="updateMetaWfStatus"/>
86
				</ARCS>
87
			</NODE>
88

    
89
			<NODE name="updateMetaWfStatus" type="UpdateOpenaireMetaWfStatus">
90
				<DESCRIPTION>Update MetaWorkflow Status</DESCRIPTION>
91
				<PARAMETERS/>
92
				<ARCS>
93
					<ARC to="success"/>
94
				</ARCS>
95
			</NODE>
96
		</CONFIGURATION>
97
		<STATUS/>
98
	</BODY>
99
</RESOURCE_PROFILE>
(7-7/24)