1 |
44033
|
michele.ar
|
<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 |
44364
|
michele.ar
|
<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 |
44033
|
michele.ar
|
<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 |
44364
|
michele.ar
|
|
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 |
44033
|
michele.ar
|
<NODE isStart="true" name="verifyIndex" type="VerifyIndex">
|
37 |
|
|
<DESCRIPTION />
|
38 |
|
|
<PARAMETERS>
|
39 |
44364
|
michele.ar
|
<PARAM name="format" ref="indexFormat" />
|
40 |
44033
|
michele.ar
|
<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 |
44364
|
michele.ar
|
<ARC to="doneIndex" />
|
47 |
44033
|
michele.ar
|
<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 |
44364
|
michele.ar
|
<ARC to="doneIndex" />
|
83 |
44033
|
michele.ar
|
</ARCS>
|
84 |
|
|
</NODE>
|
85 |
|
|
|
86 |
44364
|
michele.ar
|
<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 |
44033
|
michele.ar
|
<PARAMETERS>
|
97 |
44364
|
michele.ar
|
<PARAM name="mdId" env="source_id"/>
|
98 |
|
|
<PARAM name="eprParam" value="index_epr"/>
|
99 |
44033
|
michele.ar
|
</PARAMETERS>
|
100 |
|
|
<ARCS>
|
101 |
44364
|
michele.ar
|
<ARC to="indexRecords"/>
|
102 |
44033
|
michele.ar
|
</ARCS>
|
103 |
|
|
</NODE>
|
104 |
44364
|
michele.ar
|
|
105 |
44033
|
michele.ar
|
<NODE name="indexRecords" type="UpdateIndex">
|
106 |
|
|
<DESCRIPTION>Index records</DESCRIPTION>
|
107 |
|
|
<PARAMETERS>
|
108 |
44728
|
michele.ar
|
<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 |
44033
|
michele.ar
|
<PARAM name="eprParam" value="index_epr" />
|
113 |
|
|
<PARAM name="feedingType" value="REFRESH" />
|
114 |
|
|
</PARAMETERS>
|
115 |
|
|
<ARCS>
|
116 |
44736
|
michele.ar
|
<ARC to="freezeStore" />
|
117 |
44033
|
michele.ar
|
</ARCS>
|
118 |
|
|
</NODE>
|
119 |
44736
|
michele.ar
|
|
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 |
44033
|
michele.ar
|
</WORKFLOW>
|
137 |
|
|
</CONFIGURATION>
|
138 |
|
|
</BODY>
|
139 |
|
|
</RESOURCE_PROFILE>
|