Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER value="e035c1e5-9546-4859-aeae-a0b4a35bf316_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 Publications [Ingestion]</WORKFLOW_NAME>
12
		<WORKFLOW_DESCRIPTION>Collect Transform and Index Publications [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
		<CONFIGURATION status="EXECUTABLE" start="MANUAL">
22
			<PARAMETERS/>
23
			<WORKFLOW>
24
				<NODE name="VerifyDatasource" type="VerifyDatasource" isStart="true">
25
					<DESCRIPTION>Verify if DS is pending</DESCRIPTION>
26
					<PARAMETERS>
27
						<PARAM name="expectedInterfaceTypologyPrefixes" value="pubsrepository::unknown"/>
28
						<PARAM name="expectedCompliancePrefixes" value=""/>
29
					</PARAMETERS>
30
					<ARCS>
31
						<ARC to="registerWf"/>
32
						<ARC to="validateDs" name="validateDs"/>
33
					</ARCS>
34
				</NODE>
35

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

    
44
				<NODE name="registerWf" type="RegisterWorkflowFromTemplate">
45
					<DESCRIPTION>Create Workflow</DESCRIPTION>
46
					<PARAMETERS>
47
						<PARAM name="wfName" value="Aggregate publications"/>
48
						<PARAM name="wfTemplate" value="/eu/dnetlib/isti/workflows/repo-hi/pubs_aggregation_wf.xml.st"/>
49
						<PARAM name="description" value="Aggregate publications"/>
50
					</PARAMETERS>
51
					<ARCS>
52
						<ARC to="createNative"/>
53
						<ARC to="createCleaned"/>
54
					</ARCS>
55
				</NODE>
56
				<NODE name="createNative" type="CreateMDStore">
57
					<DESCRIPTION>Create oai_dc store</DESCRIPTION>
58
					<PARAMETERS>
59
						<PARAM name="format" value="oai_dc"/>
60
						<PARAM name="interpretation" value="native"/>
61
						<PARAM name="layout" value="store"/>
62
						<PARAM name="outputPrefix" value="harv_"/>
63
					</PARAMETERS>
64
					<ARCS>
65
						<ARC to="updateParameters"/>
66
					</ARCS>
67
				</NODE>
68
				<NODE name="createCleaned" type="CreateMDStore">
69
					<DESCRIPTION>Create oai_dc store</DESCRIPTION>
70
					<PARAMETERS>
71
						<PARAM name="format" value="PMF"/>
72
						<PARAM name="interpretation" value="cleaned"/>
73
						<PARAM name="layout" value="store"/>
74
						<PARAM name="outputPrefix" value="clean_"/>
75
					</PARAMETERS>
76
					<ARCS>
77
						<ARC to="updateParameters"/>
78
					</ARCS>
79
				</NODE>
80
				<NODE name="updateParameters" type="UpdateWfParameters" isJoin="true">
81
					<DESCRIPTION>Update Workflow Parameters</DESCRIPTION>
82
					<PARAMETERS>
83
						<PARAM name="envParams">
84
							<MAP>
85
								<ENTRY key="collMdstoreId" value="harv_id"/>
86
								<ENTRY key="cleanMdstoreId" value="clean_id"/>
87
							</MAP>
88
						</PARAM>
89
					</PARAMETERS>
90
					<ARCS>
91
						<ARC to="success"/>
92
					</ARCS>
93
				</NODE>
94
			</WORKFLOW>
95
		</CONFIGURATION>
96
		<NOTIFICATIONS/>
97
		<SCHEDULING enabled="false">
98
			<CRON>9 9 9 ? * *</CRON>
99
			<MININTERVAL>10080</MININTERVAL>
100
		</SCHEDULING>
101
		<STATUS/>
102
	</BODY>
103
</RESOURCE_PROFILE>
    (1-1/1)