Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER
5
				value="925424a9-81e5-4dec-bb9d-d858c2390c64_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
6
		<RESOURCE_TYPE value="WorkflowDSResourceType"/>
7
		<RESOURCE_KIND value="WorkflowDSResources"/>
8
		<RESOURCE_URI value="value3"/>
9
		<DATE_OF_CREATION value="2015-12-11T15:36:51.0Z"/>
10
	</HEADER>
11
	<BODY>
12
		<WORKFLOW_NAME>Aggregate Metadata (publications) from PubsRepository [Hadoop]</WORKFLOW_NAME>
13
		<WORKFLOW_INFO>
14
			<FIELD name="Action">Aggregate Metadata</FIELD>
15
			<FIELD name="Consequence IS">Support</FIELD>
16
			<FIELD name="Datasource class">PubsRepository</FIELD>
17
			<FIELD name="Content">publications</FIELD>
18
		</WORKFLOW_INFO>
19
		<WORKFLOW_TYPE>REPO_HI</WORKFLOW_TYPE>
20
		<WORKFLOW_PRIORITY>20</WORKFLOW_PRIORITY>
21
		<CONFIGURATION start="manual">
22
			<NODE name="VerifyDatasource" type="VerifyDatasource" isStart="true">
23
				<DESCRIPTION>Verify if DS is pending</DESCRIPTION>
24
				<PARAMETERS>
25
					<PARAM name="expectedInterfaceTypologyPrefixes" managedBy="system" required="false" type="string">pubsrepository</PARAM>
26
					<PARAM name="expectedCompliancePrefixes" managedBy="system" required="false" type="string"></PARAM>
27
				</PARAMETERS>
28
				<ARCS>
29
					<ARC to="createMetaWf"/>
30
					<ARC to="validateDs" name="validateDs"/>
31
				</ARCS>
32
			</NODE>
33

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

    
42
			<NODE name="createMetaWf" type="RegisterMetaWf">
43
				<DESCRIPTION>Create MetaWorkflow</DESCRIPTION>
44
				<PARAMETERS>
45
					<PARAM name="wfName" managedBy="system" required="true"
46
					       type="string">Aggregate Metadata (publications) from PubsRepository [Support]
47
					</PARAM>
48
				</PARAMETERS>
49
				<ARCS>
50
					<ARC to="createDc"/>
51
					<ARC to="createOaf"/>
52
				</ARCS>
53
			</NODE>
54

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

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

    
90
			<NODE name="updateMetaWfStatus" type="UpdateOpenaireMetaWfStatus">
91
				<DESCRIPTION>Update MetaWorkflow Status</DESCRIPTION>
92
				<PARAMETERS/>
93
				<ARCS>
94
					<ARC to="success"/>
95
				</ARCS>
96
			</NODE>
97
		</CONFIGURATION>
98

    
99
		<STATUS/>
100
	</BODY>
101
</RESOURCE_PROFILE>
(10-10/30)