@@ -228,14 +228,13 @@ private static void logContingencyEquipmentsNotFound(SecurityAnalysisRunContext
228228 }
229229
230230 ReportNode elementsNotFoundSubReporter = runContext .getReportNode ().newReportNode ()
231- .withMessageTemplate ("notFoundEquipments" , "Equipments not found " )
231+ .withMessageTemplate ("security.analysis.server. notFoundEquipments" )
232232 .add ();
233233
234234 contingencyInfosList .forEach (contingencyInfos -> {
235235 String elementsIds = String .join (", " , contingencyInfos .getNotFoundElements ());
236236 elementsNotFoundSubReporter .newReportNode ()
237- .withMessageTemplate ("contingencyEquipmentNotFound" ,
238- "Cannot find the following equipments ${elementsIds} in contingency ${contingencyId}" )
237+ .withMessageTemplate ("security.analysis.server.contingencyEquipmentNotFound" )
239238 .withUntypedValue ("elementsIds" , elementsIds )
240239 .withUntypedValue ("contingencyId" , contingencyInfos .getId ())
241240 .withSeverity (TypedValue .WARN_SEVERITY )
@@ -252,14 +251,13 @@ private void logContingencyEquipmentsNotConnected(SecurityAnalysisRunContext run
252251 }
253252
254253 ReportNode elementsNotConnectedSubReporter = runContext .getReportNode ().newReportNode ()
255- .withMessageTemplate ("notConnectedEquipments" , "Equipments not connected " )
254+ .withMessageTemplate ("security.analysis.server. notConnectedEquipments" )
256255 .add ();
257256
258257 contingencyInfosList .forEach (contingencyInfos -> {
259258 String elementsIds = String .join (", " , contingencyInfos .getNotConnectedElements ());
260259 elementsNotConnectedSubReporter .newReportNode ()
261- .withMessageTemplate ("contingencyEquipmentNotConnected" ,
262- "The following equipments ${elementsIds} in contingency ${contingencyId} are not connected" )
260+ .withMessageTemplate ("security.analysis.server.contingencyEquipmentNotConnected" )
263261 .withUntypedValue ("elementsIds" , elementsIds )
264262 .withUntypedValue ("contingencyId" , contingencyInfos .getId ())
265263 .withSeverity (TypedValue .WARN_SEVERITY )
0 commit comments