Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER
5
				value="43bb9cab-9fdd-48cb-9fe7-6712b4986ee7_V29ya2Zsb3dEU1Jlc291cmNlcy9Xb3JrZmxvd0RTUmVzb3VyY2VUeXBl"/>
6
		<RESOURCE_TYPE value="WorkflowDSResourceType"/>
7
		<RESOURCE_KIND value="WorkflowDSResources"/>
8
		<RESOURCE_URI value="value3"/>
9
		<DATE_OF_CREATION value="2006-05-04T18:13:51.0Z"/>
10
	</HEADER>
11
	<BODY>
12
		<WORKFLOW_NAME>Copy Metadata as Files (publications) from PubsRepository [Ingestion]</WORKFLOW_NAME>
13
		<WORKFLOW_INFO>
14
			<FIELD name="Action">Copy Metadata as Files</FIELD>
15
			<FIELD name="Consequence IS">Inference</FIELD>
16
			<FIELD name="Datasource class">PubsRepository</FIELD>
17
			<FIELD name="Content">files</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="expectedCompliancePrefixes" managedBy="system" required="false" type="string">files</PARAM>
26
				</PARAMETERS>
27
				<ARCS>
28
					<ARC to="RetreiveInterfaceInfo"/>
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="RetreiveInterfaceInfo"/>
38
				</ARCS>
39
			</NODE>
40
			<NODE name="RetreiveInterfaceInfo" type="RetreiveInterfaceInfo">
41
				<DESCRIPTION>Retreive Interface Info</DESCRIPTION>
42
				<PARAMETERS/>
43
				<ARCS>
44
					<ARC to="createMetaWf"/>
45
				</ARCS>
46
			</NODE>
47

    
48
			<NODE name="createMetaWf" type="RegisterMetaWf">
49
				<DESCRIPTION>Create MetaWorkflow</DESCRIPTION>
50
				<PARAMETERS>
51
					<PARAM name="wfName" managedBy="system" required="true" type="string">Copy Metadata as Files (publications) from PubsRepository [Ingestion]</PARAM>
52
				</PARAMETERS>
53
				<ARCS>
54
					<ARC to="createObjectStore"/>
55
				</ARCS>
56
			</NODE>
57
			<NODE name="createObjectStore" type="CreateObjectStore">
58
				<DESCRIPTION>Create Object store</DESCRIPTION>
59
				<PARAMETERS>
60
					<PARAM name="interpretation" managedBy="system" required="true"
61
					       type="string">pubrepository record
62
					</PARAM>
63
					<PARAM name="outputPrefix" managedBy="system" required="true"
64
					       type="string">objs_
65
					</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"
76
					       type="string">metaWfCopyFiles
77
					</PARAM>
78
				</PARAMETERS>
79
				<ARCS>
80
					<ARC to="updateMetaWfStatus"/>
81
				</ARCS>
82
			</NODE>
83

    
84
			<NODE name="updateMetaWfStatus" type="UpdateOpenaireMetaWfStatus">
85
				<DESCRIPTION>Update MetaWorkflow Status</DESCRIPTION>
86
				<PARAMETERS/>
87
				<ARCS>
88
					<ARC to="success"/>
89
				</ARCS>
90
			</NODE>
91
		</CONFIGURATION>
92

    
93
		<STATUS/>
94
	</BODY>
95
</RESOURCE_PROFILE>
(15-15/31)