Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER value="86251144-0938-4b8d-b0f9-eb4f0021912b_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 (publications) from PubsRepository [Ingestion]</WORKFLOW_NAME>
12
		<WORKFLOW_DESCRIPTION>Aggregate and Validate Metadata (publications) from PubsRepository [Ingestion]</WORKFLOW_DESCRIPTION>
13
		<WORKFLOW_INFO>
14
			<FIELD name="Action">Aggregate Metadata</FIELD>
15
			<FIELD name="Consequence IS">Ingestion</FIELD>
16
			<FIELD name="Datasource class">PubsRepository</FIELD>
17
			<FIELD name="Content">publications</FIELD>
18
		</WORKFLOW_INFO>
19
		<WORKFLOW_FAMILY>REPO_HI</WORKFLOW_FAMILY>
20
		<WORKFLOW_PRIORITY>20</WORKFLOW_PRIORITY>
21
		<ADMIN_EMAIL />
22

    
23
		<CONFIGURATION status="EXECUTABLE" start="MANUAL">
24
			<PARAMETERS />
25
			<WORKFLOW>
26
				<NODE name="VerifyDatasource" type="VerifyDatasource" isStart="true">
27
					<DESCRIPTION>Verify if DS is pending</DESCRIPTION>
28
					<PARAMETERS>
29
						<PARAM name="expectedInterfaceTypologyPrefixes" value="pubsrepository" />
30
						<PARAM name="expectedCompliancePrefixes" value="" />
31
					</PARAMETERS>
32
					<ARCS>
33
						<ARC to="registerWf" />
34
						<ARC to="validateDs" name="validateDs" />
35
					</ARCS>
36
				</NODE>
37

    
38
				<NODE name="validateDs" type="ValidateDatasource">
39
					<DESCRIPTION>Validate DS</DESCRIPTION>
40
					<PARAMETERS />
41
					<ARCS>
42
						<ARC to="registerWf" />
43
					</ARCS>
44
				</NODE>
45

    
46
				<NODE name="registerWf" type="RegisterWorkflowFromTemplate">
47
					<DESCRIPTION>Create Workflow</DESCRIPTION>
48
					<PARAMETERS>
49
						<PARAM name="wfName" value="Aggregate and Validate Metadata" />
50
						<PARAM name="wfTemplate" value="/eu/dnetlib/msro/workflows/repo-hi/pubsrepository_aggregation_wf.xml.st" />
51
						<PARAM name="description" value="Aggregate and Validate Metadata (publications) from PubsRepository [Ingestion]" />
52
					</PARAMETERS>
53
					<ARCS>
54
						<ARC to="createDc" />
55
						<!--<ARC to="createOaf" />-->
56
					</ARCS>
57
				</NODE>
58

    
59
				<NODE name="createDc" type="CreateMDStore">
60
					<DESCRIPTION>Create oai_dc store</DESCRIPTION>
61
					<PARAMETERS>
62
						<PARAM name="format" value="oai_dc" />
63
						<PARAM name="interpretation" value="native" />
64
						<PARAM name="layout" value="store" />
65
						<PARAM name="outputPrefix" value="harv_" />
66
					</PARAMETERS>
67
					<ARCS>
68
						<ARC to="updateParameters" />
69
					</ARCS>
70
				</NODE>
71
				<!--<NODE name="createOaf" type="CreateMDStore">-->
72
				<!--<DESCRIPTION>Create OAF store</DESCRIPTION>-->
73
				<!--<PARAMETERS>-->
74
				<!--<PARAM name="format" value="OAF" />-->
75
				<!--<PARAM name="interpretation" value="cleaned" />-->
76
				<!--<PARAM name="layout" value="store" />-->
77
				<!--<PARAM name="outputPrefix" value="tran_" />-->
78
				<!--</PARAMETERS>-->
79
				<!--<ARCS>-->
80
				<!--<ARC to="updateParameters" />-->
81
				<!--</ARCS>-->
82
				<!--</NODE>-->
83

    
84
				<!--<NODE name="updateParameters" type="UpdateWfParameters" isJoin="true">-->
85
				<NODE name="updateParameters" type="UpdateWfParameters">
86
					<DESCRIPTION>Update Workflow Parameters</DESCRIPTION>
87
					<PARAMETERS>
88
						<PARAM name="envParams">
89
							<MAP>
90
								<ENTRY key="collMdstoreId" value="harv_id" />
91
								<ENTRY key="collMdstoreFormat" value="harv_format" />
92
								<ENTRY key="tranMdstoreId" value="tran_id" />
93
								<ENTRY key="tranMdstoreFormat" value="tran_format" />
94
							</MAP>
95
						</PARAM>
96
					</PARAMETERS>
97
					<ARCS>
98
						<ARC to="success" />
99
					</ARCS>
100
				</NODE>
101
				
102
			</WORKFLOW>
103
		</CONFIGURATION>
104
		<SCHEDULING enabled="false">
105
			<CRON>9 9 9 ? * *</CRON>
106
			<MININTERVAL>10080</MININTERVAL>
107
		</SCHEDULING>
108
		<STATUS />
109
	</BODY>
110
</RESOURCE_PROFILE>
(3-3/9)