Project

General

Profile

« Previous | Next » 

Revision 52729

Updated wf template to set parameters to be returned via email notification and in the wf logger

View differences:

modules/dnet-parthenos/trunk/src/main/resources/eu/dnetlib/bootstrap/profiles/workflows/publish/solr_publish_template.xml
42 42
						<PARAM name="feedingType" ref="feedingType"/>
43 43
					</PARAMETERS>
44 44
					<ARCS>
45
						<ARC to="setCountersSoftware"/>
46
					</ARCS>
47
				</NODE>
48
				<NODE name="setCountersSoftware" type="SetEnvParameter">
49
					<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION>
50
					<PARAMETERS>
51
						<PARAM name="parameterName" value="mainlog:software_indexed"/>
52
						<PARAM name="parameterValue" env="mainlog:indexed"/>
53
					</PARAMETERS>
54
					<ARCS>
45 55
						<ARC to="readActorsFromVirtuoso"/>
46 56
					</ARCS>
47 57
				</NODE>
......
69 79
						<PARAM name="feedingType" value="INCREMENTAL"/>
70 80
					</PARAMETERS>
71 81
					<ARCS>
82
						<ARC to="setCountersActors"/>
83
					</ARCS>
84
				</NODE>
85
				<NODE name="setCountersActors" type="SetEnvParameter">
86
					<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION>
87
					<PARAMETERS>
88
						<PARAM name="parameterName" value="mainlog:actors_indexed"/>
89
						<PARAM name="parameterValue" env="mainlog:indexed"/>
90
					</PARAMETERS>
91
					<ARCS>
72 92
						<ARC to="readCollectionsFromVirtuoso"/>
73 93
					</ARCS>
74 94
				</NODE>
......
96 116
						<PARAM name="feedingType" value="INCREMENTAL"/>
97 117
					</PARAMETERS>
98 118
					<ARCS>
119
						<ARC to="setCountersCollections"/>
120
					</ARCS>
121
				</NODE>
122
				<NODE name="setCountersCollections" type="SetEnvParameter">
123
					<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION>
124
					<PARAMETERS>
125
						<PARAM name="parameterName" value="mainlog:collections_indexed"/>
126
						<PARAM name="parameterValue" env="mainlog:indexed"/>
127
					</PARAMETERS>
128
					<ARCS>
99 129
						<ARC to="readServicesFromVirtuoso"/>
100 130
					</ARCS>
101 131
				</NODE>
......
123 153
						<PARAM name="feedingType" value="INCREMENTAL"/>
124 154
					</PARAMETERS>
125 155
					<ARCS>
156
						<ARC to="setCountersServices"/>
157
					</ARCS>
158
				</NODE>
159
				<NODE name="setCountersServices" type="SetEnvParameter">
160
					<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION>
161
					<PARAMETERS>
162
						<PARAM name="parameterName" value="mainlog:services_indexed"/>
163
						<PARAM name="parameterValue" env="mainlog:indexed"/>
164
					</PARAMETERS>
165
					<ARCS>
126 166
						<ARC to="readDatasetsFromVirtuoso"/>
127 167
					</ARCS>
128 168
				</NODE>
......
150 190
						<PARAM name="feedingType" value="INCREMENTAL"/>
151 191
					</PARAMETERS>
152 192
					<ARCS>
193
						<ARC to="setCountersDatasets"/>
194
					</ARCS>
195
				</NODE>
196
				<NODE name="setCountersDatasets" type="SetEnvParameter">
197
					<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION>
198
					<PARAMETERS>
199
						<PARAM name="parameterName" value="mainlog:datasets_indexed"/>
200
						<PARAM name="parameterValue" env="mainlog:indexed"/>
201
					</PARAMETERS>
202
					<ARCS>
153 203
						<ARC to="readCurationPlans"/>
154 204
					</ARCS>
155 205
				</NODE>
......
177 227
						<PARAM name="feedingType" value="INCREMENTAL"/>
178 228
					</PARAMETERS>
179 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>
180 240
						<ARC to="readProjects"/>
181 241
					</ARCS>
182 242
				</NODE>
......
204 264
						<PARAM name="feedingType" value="INCREMENTAL"/>
205 265
					</PARAMETERS>
206 266
					<ARCS>
267
						<ARC to="setCountersProjects"/>
268
					</ARCS>
269
				</NODE>
270
				<NODE name="setCountersProjects" type="SetEnvParameter">
271
					<DESCRIPTION>Set counters of indexed resources in env</DESCRIPTION>
272
					<PARAMETERS>
273
						<PARAM name="parameterName" value="mainlog:projects_indexed"/>
274
						<PARAM name="parameterValue" env="mainlog:indexed"/>
275
					</PARAMETERS>
276
					<ARCS>
277
						<ARC to="overrideIndexParam"/>
278
					</ARCS>
279
				</NODE>
280
				<NODE name="overrideIndexParam" type="SetEnvParameter">
281
					<DESCRIPTION>Hides the values generated by the last updateindex</DESCRIPTION>
282
					<PARAMETERS>
283
						<PARAM name="parameterName" value="mainlog:indexed"/>
284
						<PARAM name="parameterValue" value="See type details"/>
285
					</PARAMETERS>
286
					<ARCS>
207 287
						<ARC to="success"/>
208 288
					</ARCS>
209 289
				</NODE>

Also available in: Unified diff