1
|
<RESOURCE_PROFILE>
|
2
|
<HEADER>
|
3
|
<RESOURCE_IDENTIFIER
|
4
|
value="d24261dd-0a5d-4a66-8ca9-c0b8f5a790d1_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="sourceFormat" description="MD Format (SOURCE)" required="true" type="string"/>
|
14
|
<PARAM name="sourceLayout" description="MD Layout (SOURCE)" required="true" type="string"/>
|
15
|
<PARAM name="sourceInterpretation" description="MD Interpretation (SOURCE)" required="true" type="string"/>
|
16
|
<PARAM name="indexFormat" description="Index Format" required="true" type="string" />
|
17
|
<PARAM name="indexLayout" description="Index Layout" required="true" type="string" />
|
18
|
<PARAM name="indexInterpretation" description="Index Interpretation" required="true" type="string" />
|
19
|
</PARAMETERS>
|
20
|
|
21
|
<WORKFLOW>
|
22
|
|
23
|
<NODE isStart="true" name="verifySourceStore" type="VerifyMDStore">
|
24
|
<DESCRIPTION>Verify source store</DESCRIPTION>
|
25
|
<PARAMETERS>
|
26
|
<PARAM name="format" ref="sourceFormat"/>
|
27
|
<PARAM name="layout" ref="sourceLayout" />
|
28
|
<PARAM name="interpretation" ref="sourceInterpretation" />
|
29
|
<PARAM name="outputPrefix" value="source_"/>
|
30
|
</PARAMETERS>
|
31
|
<ARCS>
|
32
|
<ARC to="fetchRecords"/>
|
33
|
</ARCS>
|
34
|
</NODE>
|
35
|
|
36
|
<NODE isStart="true" name="verifyIndex" type="VerifyIndex">
|
37
|
<DESCRIPTION />
|
38
|
<PARAMETERS>
|
39
|
<PARAM name="format" ref="indexFormat" />
|
40
|
<PARAM name="layout" ref="indexLayout" />
|
41
|
<PARAM name="interpretation" ref="indexInterpretation" />
|
42
|
<PARAM name="onFailed" value="notFound" />
|
43
|
<PARAM name="outputPrefix" value="index_" />
|
44
|
</PARAMETERS>
|
45
|
<ARCS>
|
46
|
<ARC to="doneIndex" />
|
47
|
<ARC name="notFound" to="prepare" />
|
48
|
</ARCS>
|
49
|
</NODE>
|
50
|
|
51
|
<NODE name="prepare" type="PrepareCreateIndex">
|
52
|
<DESCRIPTION>Prepare create index</DESCRIPTION>
|
53
|
<PARAMETERS>
|
54
|
<PARAM name="format" ref="indexFormat" />
|
55
|
<PARAM name="layout" ref="indexLayout" />
|
56
|
<PARAM name="interpretation" ref="indexInterpretation" />
|
57
|
</PARAMETERS>
|
58
|
<ARCS>
|
59
|
<ARC to="createIndex" />
|
60
|
</ARCS>
|
61
|
</NODE>
|
62
|
|
63
|
<NODE name="createIndex" type="CreateIndex">
|
64
|
<DESCRIPTION>Create index</DESCRIPTION>
|
65
|
<PARAMETERS>
|
66
|
<PARAM name="outputPrefix" value="index_" />
|
67
|
</PARAMETERS>
|
68
|
<ARCS>
|
69
|
<ARC to="checkIndex" />
|
70
|
</ARCS>
|
71
|
</NODE>
|
72
|
|
73
|
<NODE name="checkIndex" type="VerifyIndex">
|
74
|
<DESCRIPTION />
|
75
|
<PARAMETERS>
|
76
|
<PARAM name="mdFormat" ref="indexFormat" />
|
77
|
<PARAM name="layout" ref="indexLayout" />
|
78
|
<PARAM name="interpretation" ref="indexInterpretation" />
|
79
|
<PARAM name="outputPrefix" value="index_" />
|
80
|
</PARAMETERS>
|
81
|
<ARCS>
|
82
|
<ARC to="doneIndex" />
|
83
|
</ARCS>
|
84
|
</NODE>
|
85
|
|
86
|
<NODE name="doneIndex">
|
87
|
<DESCRIPTION />
|
88
|
<PARAMETERS />
|
89
|
<ARCS>
|
90
|
<ARC to="fetchRecords" />
|
91
|
</ARCS>
|
92
|
</NODE>
|
93
|
|
94
|
<NODE name="fetchRecords" type="FetchMDStoreRecords" isJoin="true">
|
95
|
<DESCRIPTION>Fetch records</DESCRIPTION>
|
96
|
<PARAMETERS>
|
97
|
<PARAM name="mdId" env="source_id"/>
|
98
|
<PARAM name="eprParam" value="index_epr"/>
|
99
|
</PARAMETERS>
|
100
|
<ARCS>
|
101
|
<ARC to="indexRecords"/>
|
102
|
</ARCS>
|
103
|
</NODE>
|
104
|
|
105
|
<NODE name="indexRecords" type="UpdateIndex">
|
106
|
<DESCRIPTION>Index records</DESCRIPTION>
|
107
|
<PARAMETERS>
|
108
|
<PARAM name="indexId" env="index_id" />
|
109
|
<PARAM name="format" ref="indexFormat" />
|
110
|
<PARAM name="layout" ref="indexLayout" />
|
111
|
<PARAM name="defaultIndexId" value="solr" />
|
112
|
<PARAM name="eprParam" value="index_epr" />
|
113
|
<PARAM name="feedingType" value="REFRESH" />
|
114
|
</PARAMETERS>
|
115
|
<ARCS>
|
116
|
<ARC to="freezeStore" />
|
117
|
</ARCS>
|
118
|
</NODE>
|
119
|
|
120
|
<NODE name="freezeStore" type="RunMDStorePlugin">
|
121
|
<DESCRIPTION>Enrich with projects</DESCRIPTION>
|
122
|
<PARAMETERS>
|
123
|
<PARAM name="pluginName" value="freezeMDStorePlugin"/>
|
124
|
<PARAM name="parameters">
|
125
|
<MAP>
|
126
|
<ENTRY key="mdId" env="source_id" />
|
127
|
<ENTRY key="collection" value="final_isti_store" />
|
128
|
</MAP>
|
129
|
</PARAM>
|
130
|
</PARAMETERS>
|
131
|
<ARCS>
|
132
|
<ARC to="success"/>
|
133
|
</ARCS>
|
134
|
</NODE>
|
135
|
|
136
|
</WORKFLOW>
|
137
|
</CONFIGURATION>
|
138
|
</BODY>
|
139
|
</RESOURCE_PROFILE>
|