Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER
5
				value="25ba4f4c-3763-40b2-a52f-c955dcca8d8d_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
6
		<RESOURCE_TYPE value="WorkflowDSResourceType"/>
7
		<RESOURCE_KIND value="WorkflowDSResources"/>
8
		<RESOURCE_URI value="value3"/>
9
		<DATE_OF_CREATION value="2016-06-13T13:13:51.0Z"/>
10
	</HEADER>
11
	<BODY>
12
		<WORKFLOW_NAME>Collect and transform claimed dataset metadata records</WORKFLOW_NAME>
13
		<WORKFLOW_TYPE>REPO_HI</WORKFLOW_TYPE>
14
		<WORKFLOW_PRIORITY>20</WORKFLOW_PRIORITY>
15
		<CONFIGURATION start="manual">
16
			<NODE name="VerifyDatasource" type="VerifyDatasource" isStart="true">
17
				<DESCRIPTION>Verify if DS is pending</DESCRIPTION>
18
				<PARAMETERS>
19
					<PARAM name="expectedInterfaceTypologyPrefixes" managedBy="system" required="false" type="string">scholarcomminfra</PARAM>
20
					<PARAM name="expectedCompliancePrefixes" managedBy="system" required="false" type="string"></PARAM>
21
				</PARAMETERS>
22
				<ARCS>
23
					<ARC to="createMetaWf"/>
24
					<ARC to="validateDs" name="validateDs"/>
25
				</ARCS>
26
			</NODE>
27

    
28
			<NODE name="validateDs" type="ValidateDatasource">
29
				<DESCRIPTION>Validate DS</DESCRIPTION>
30
				<PARAMETERS/>
31
				<ARCS>
32
					<ARC to="createMetaWf"/>
33
				</ARCS>
34
			</NODE>
35

    
36
			<NODE name="createMetaWf" type="RegisterMetaWf">
37
				<DESCRIPTION>Create MetaWorkflow</DESCRIPTION>
38
				<PARAMETERS>
39
					<PARAM name="wfName" managedBy="system" required="true" type="string">Collect and transform claimed dataset metadata records</PARAM>
40
				</PARAMETERS>
41
				<ARCS>
42
					<ARC to="createNative"/>
43
					<ARC to="createCleaned"/>
44
				</ARCS>
45
			</NODE>
46

    
47
			<NODE name="createNative" type="CreateMDStore">
48
				<DESCRIPTION>Create native store</DESCRIPTION>
49
				<PARAMETERS>
50
					<PARAM name="format" managedBy="system" required="true" type="string">claim</PARAM>
51
					<PARAM name="interpretation" managedBy="system" required="true" type="string">native</PARAM>
52
					<PARAM name="layout" managedBy="system" required="true" type="string">store</PARAM>
53
					<PARAM name="outputPrefix" managedBy="system" required="true" type="string">harv_</PARAM>
54
				</PARAMETERS>
55
				<ARCS>
56
					<ARC to="updateMetaWf"/>
57
				</ARCS>
58
			</NODE>
59
			<NODE name="createCleaned" type="CreateMDStore">
60
				<DESCRIPTION>Create cleaned store</DESCRIPTION>
61
				<PARAMETERS>
62
					<PARAM name="format" managedBy="system" required="true" type="string">ODF</PARAM>
63
					<PARAM name="interpretation" managedBy="system" required="true" type="string">cleaned</PARAM>
64
					<PARAM name="layout" managedBy="system" required="true" type="string">store</PARAM>
65
					<PARAM name="outputPrefix" managedBy="system" required="true" type="string">tran_</PARAM>
66
				</PARAMETERS>
67
				<ARCS>
68
					<ARC to="updateMetaWf"/>
69
				</ARCS>
70
			</NODE>
71

    
72
			<NODE name="updateMetaWf" type="UpdateMetaWf" isJoin="true">
73
				<DESCRIPTION>Create MetaWorkflow</DESCRIPTION>
74
				<PARAMETERS>
75
					<PARAM name="beanName" managedBy="system" required="true" type="string">metaWfClaimedMdRecords</PARAM>
76
				</PARAMETERS>
77
				<ARCS>
78
					<ARC to="updateMetaWfStatus"/>
79
				</ARCS>
80
			</NODE>
81

    
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>
(23-23/24)