Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<RESOURCE_PROFILE>
3
	<HEADER>
4
		<RESOURCE_IDENTIFIER value="1de73b0e-ccbf-442c-a88d-41b27daa0ba2_V29ya2Zsb3dUZW1wbGF0ZURTUmVzb3VyY2VzL1dvcmtmbG93VGVtcGxhdGVEU1Jlc291cmNlVHlwZQ=="/>
5
		<RESOURCE_TYPE value="WorkflowTemplateDSResourceType"/>
6
		<RESOURCE_KIND value="WorkflowTemplateDSResources"/>
7
		<RESOURCE_URI value=""/>
8
		<DATE_OF_CREATION value="2001-12-31T12:00:00"/>
9
	</HEADER>
10
	<BODY>
11
		<CONFIGURATION>
12
			<PARAMETERS>
13
				<PARAM name="dsId" description="Datasource Id" required="true" type="string"/>
14
				<PARAM name="interface" description="Datasource Interface" required="true" type="string"/>
15
				<PARAM name="collMdstoreId" description="Store for collected records" required="true" type="string"/>
16
				<PARAM name="cleanMdstoreId" description="Store for cleaned records" required="true" type="string"/>
17
				<PARAM name="OAIFormat" description="OAI Format" required="true" type="string"/>
18
                <PARAM name="OAILayout" description="OAI Layout" required="true" type="string"/>
19
                <PARAM name="OAIInterpretation" description="OAI Interpretation" required="true" type="string"/>
20
                <PARAM name="OAIDBName" description="OAI Database Name" required="true" type="string"/>
21
   			</PARAMETERS>
22
			<WORKFLOW>
23

    
24
				<NODE name="deleteCollMdStore" type="DeleteMDStore" isStart="true">
25
					<DESCRIPTION>Delete the mdstore of collected records</DESCRIPTION>
26
					<PARAMETERS>
27
						<PARAM name="mdstoreId" ref="collMdstoreId"/>
28
					</PARAMETERS>
29
					<ARCS>
30
						<ARC to="deleteCleanMdStore"/>
31
					</ARCS>
32
				</NODE>
33

    
34
				<NODE name="deleteCleanMdStore" type="DeleteMDStore">
35
					<DESCRIPTION>Delete the mdstore of cleaned records</DESCRIPTION>
36
					<PARAMETERS>
37
						<PARAM name="mdstoreId" ref="cleanMdstoreId"/>
38
					</PARAMETERS>
39
					<ARCS>
40
						<ARC to="removeApiExtraFields"/>
41
					</ARCS>
42
				</NODE>
43

    
44
				<NODE name="removeApiExtraFields" type="RemoveApiExtraFields">
45
					<DESCRIPTION>Reset the extrafields of the api</DESCRIPTION>
46
					<PARAMETERS>
47
						<PARAM name="datasourceId" ref="dsId"/>
48
						<PARAM name="datasourceInterface" ref="interface"/>
49
						<PARAM name="fields">
50
							<LIST>
51
								<ITEM value="last_collection_total"/>
52
								<ITEM value="last_collection_date"/>
53
								<ITEM value="last_collection_mdId"/>
54
								<ITEM value="last_aggregation_total"/>
55
								<ITEM value="last_aggregation_date"/>
56
								<ITEM value="last_aggregation_mdId"/>
57
								<ITEM value="last_download_total"/>
58
								<ITEM value="last_download_date"/>
59
								<ITEM value="last_download_mdId"/>
60
							</LIST>
61
						</PARAM>
62
					</PARAMETERS>
63
					<ARCS>
64
						<ARC to="dropOAIStore"/>
65
					</ARCS>
66
				</NODE>
67
				
68
				<NODE name="dropOAIStore" type="OAIDropStore">
69
                    <DESCRIPTION>Delete from OAI-PMH</DESCRIPTION>
70
                    <PARAMETERS>
71
                        <PARAM name="oaiFormat"         ref="OAIFormat"/>
72
                        <PARAM name="oaiLayout"         ref="OAILayout"/>
73
                        <PARAM name="oaiInterpretation" ref="OAIInterpretation"/>
74
                        <PARAM name="oaiDbName"         ref="OAIDBName"/>
75
                    </PARAMETERS>
76
                    <ARCS>
77
                        <ARC to="success"/>
78
                    </ARCS>
79
                </NODE>
80
			</WORKFLOW>
81
		</CONFIGURATION>
82
	</BODY>
83
</RESOURCE_PROFILE>
(10-10/11)