Revision 53698
Added by Alessia Bardi almost 6 years ago
modules/dnet-parthenos/trunk/src/main/resources/eu/dnetlib/bootstrap/profiles/workflows/publish/solr_publish_template.xml | ||
---|---|---|
126 | 126 |
<PARAM name="parameterValue" env="mainlog:indexed"/> |
127 | 127 |
</PARAMETERS> |
128 | 128 |
<ARCS> |
129 |
<ARC to="readDesignProcedure"/> |
|
130 |
</ARCS> |
|
131 |
</NODE> |
|
132 |
<NODE name="readDesignProcedure" type="ReadVirtuosoByType"> |
|
133 |
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION> |
|
134 |
<PARAMETERS> |
|
135 |
<PARAM name="datasourceName" ref="dsName"/> |
|
136 |
<PARAM name="datasourceInterface" ref="interface"/> |
|
137 |
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/> |
|
138 |
<PARAM name="typeNamespace" value="http://www.cidoc-crm.org/cidoc-crm/"/> |
|
139 |
<PARAM name="typeName" value="E29_Design_or_Procedure"/> |
|
140 |
</PARAMETERS> |
|
141 |
<ARCS> |
|
142 |
<ARC to="indexDesignProcedure"/> |
|
143 |
</ARCS> |
|
144 |
</NODE> |
|
145 |
<NODE name="indexDesignProcedure" type="UpdateIndex"> |
|
146 |
<DESCRIPTION>Feed index records</DESCRIPTION> |
|
147 |
<PARAMETERS> |
|
148 |
<PARAM name="eprParam" value="virtuoso_rs"/> |
|
149 |
<PARAM name="indexId" ref="indexId"/> |
|
150 |
<PARAM name="format" value="CIDOC"/> |
|
151 |
<PARAM name="interpretation" ref="interpretation"/> |
|
152 |
<PARAM name="layout" value="index"/> |
|
153 |
<PARAM name="feedingType" value="INCREMENTAL"/> |
|
154 |
</PARAMETERS> |
|
155 |
<ARCS> |
|
156 |
<ARC to="setCountersDesignProcedure"/> |
|
157 |
</ARCS> |
|
158 |
</NODE> |
|
159 |
<NODE name="setCountersDesignProcedure" type="SetEnvParameter"> |
|
160 |
<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION> |
|
161 |
<PARAMETERS> |
|
162 |
<PARAM name="parameterName" value="mainlog:design_indexed"/> |
|
163 |
<PARAM name="parameterValue" env="mainlog:indexed"/> |
|
164 |
</PARAMETERS> |
|
165 |
<ARCS> |
|
129 | 166 |
<ARC to="readServicesFromVirtuoso"/> |
130 | 167 |
</ARCS> |
131 | 168 |
</NODE> |
... | ... | |
200 | 237 |
<PARAM name="parameterValue" env="mainlog:indexed"/> |
201 | 238 |
</PARAMETERS> |
202 | 239 |
<ARCS> |
203 |
<ARC to="readCurationPlans"/> |
|
204 |
</ARCS> |
|
205 |
</NODE> |
|
206 |
<NODE name="readCurationPlans" type="ReadVirtuosoByType"> |
|
207 |
<DESCRIPTION>Fetch records from Virtuoso</DESCRIPTION> |
|
208 |
<PARAMETERS> |
|
209 |
<PARAM name="datasourceName" ref="dsName"/> |
|
210 |
<PARAM name="datasourceInterface" ref="interface"/> |
|
211 |
<PARAM name="virtuosoReaderAPIUrl" ref="virtuosoReaderAPIUrl"/> |
|
212 |
<PARAM name="typeNamespace" value="http://parthenos.d4science.org/CRMext/CRMpe.rdfs/"/> |
|
213 |
<PARAM name="typeName" value="PE28_Curation_Plan"/> |
|
214 |
</PARAMETERS> |
|
215 |
<ARCS> |
|
216 |
<ARC to="indexCurationPlans"/> |
|
217 |
</ARCS> |
|
218 |
</NODE> |
|
219 |
<NODE name="indexCurationPlans" type="UpdateIndex"> |
|
220 |
<DESCRIPTION>Feed index records</DESCRIPTION> |
|
221 |
<PARAMETERS> |
|
222 |
<PARAM name="eprParam" value="virtuoso_rs"/> |
|
223 |
<PARAM name="indexId" ref="indexId"/> |
|
224 |
<PARAM name="format" value="CIDOC"/> |
|
225 |
<PARAM name="interpretation" ref="interpretation"/> |
|
226 |
<PARAM name="layout" value="index"/> |
|
227 |
<PARAM name="feedingType" value="INCREMENTAL"/> |
|
228 |
</PARAMETERS> |
|
229 |
<ARCS> |
|
230 |
<ARC to="setCountersCurationPlans"/> |
|
231 |
</ARCS> |
|
232 |
</NODE> |
|
233 |
<NODE name="setCountersCurationPlans" type="SetEnvParameter"> |
|
234 |
<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION> |
|
235 |
<PARAMETERS> |
|
236 |
<PARAM name="parameterName" value="mainlog:curationplans_indexed"/> |
|
237 |
<PARAM name="parameterValue" env="mainlog:indexed"/> |
|
238 |
</PARAMETERS> |
|
239 |
<ARCS> |
|
240 | 240 |
<ARC to="readProjects"/> |
241 | 241 |
</ARCS> |
242 | 242 |
</NODE> |
Also available in: Unified diff
Let's index all E29_Design_or_Procedure, not only crmpe curation plans.