1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<RESOURCE_PROFILE>
|
3
|
<HEADER>
|
4
|
<RESOURCE_IDENTIFIER value="d8aac049-5c28-40bd-be38-fd8ae36495c2_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="patchMdStoreId" description="Store for patches" required="true" type="string"/>
|
16
|
<PARAM name="cleanMdstoreId" description="Store for cleaned records" required="true" type="string"/>
|
17
|
</PARAMETERS>
|
18
|
<WORKFLOW>
|
19
|
<NODE name="fetchPatched" type="FetchMDStoreRecords" isStart="true">
|
20
|
<DESCRIPTION>Fetch records from MDStore</DESCRIPTION>
|
21
|
<PARAMETERS>
|
22
|
<PARAM name="mdId" ref="patchMdStoreId"/>
|
23
|
<PARAM name="mdFormat" value="oai_efg_patched"/>
|
24
|
<PARAM name="eprParam" value="orig_patch_epr"/>
|
25
|
</PARAMETERS>
|
26
|
<ARCS>
|
27
|
<ARC to="applyPatch"/>
|
28
|
</ARCS>
|
29
|
</NODE>
|
30
|
<NODE name="applyPatch" type="ApplyEFGPatch">
|
31
|
<DESCRIPTION>Fetch records from MDStore</DESCRIPTION>
|
32
|
<PARAMETERS>
|
33
|
<PARAM name="originalMdStoreId" ref="cleanMdstoreId"/>
|
34
|
<PARAM name="inputEprParam" value="orig_patch_epr"/>
|
35
|
<PARAM name="outputEprParam" value="patched_record_epr"/>
|
36
|
</PARAMETERS>
|
37
|
<ARCS>
|
38
|
<ARC to="storeRecords"/>
|
39
|
</ARCS>
|
40
|
</NODE>
|
41
|
<NODE name="storeRecords" type="StoreMDStoreRecords">
|
42
|
<DESCRIPTION>Store mdstore records</DESCRIPTION>
|
43
|
<PARAMETERS>
|
44
|
<PARAM name="mdId" ref="cleanMdstoreId"/>
|
45
|
<PARAM name="storingType" value="INCREMENTAL"/>
|
46
|
<PARAM name="eprParam" value="patched_record_epr"/>
|
47
|
</PARAMETERS>
|
48
|
<ARCS>
|
49
|
<ARC to="success"/>
|
50
|
</ARCS>
|
51
|
</NODE>
|
52
|
</WORKFLOW>
|
53
|
</CONFIGURATION>
|
54
|
</BODY>
|
55
|
</RESOURCE_PROFILE>
|