Skip to content

Commit

Permalink
Story #14039: [Operations Management APP] Enhancement of action butto…
Browse files Browse the repository at this point in the history
…ns and alerting on an operation.
  • Loading branch information
Salim Terres committed Feb 4, 2025
1 parent 5af435d commit 9cb81ac
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,11 @@ public VitamUIProcessDetailResponseDto cancelOperationProcessExecution(
LOGGER.debug("Cancel the operation with id={}", operationId);
ParameterChecker.checkParameter("operationId is mandatory : ", operationId);
VitamUIProcessDetailResponseDto operationResponseDto = new VitamUIProcessDetailResponseDto();
if (!request.isStepCancellable()) LOGGER.warn("Forced cancellation of operation {} with the following reason: {}", operationId, request.getReason());
if (!request.isStepCancellable()) LOGGER.warn(
"Forced cancellation of operation {} with the following reason: {}",
operationId,
request.getReason()
);
ProcessDetailDto processDetailDto = logbookManagementOperationExternalService.cancelOperationProcessExecution(
operationId
);
Expand Down
10 changes: 5 additions & 5 deletions ui/ui-frontend/projects/referential/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,14 +295,14 @@
"CANCEL_MESSAGE": " The request for a change of status has been taken into account",
"POP_UP_SECOND_TITLE": "Do you confirm that you want to apply for a change of status :",
"POP_UP_NEXT_MESSAGE": "Update the Operation",
"POP_UP_CANCEL_MESSAGE": "Forcefully terminate the operation ",
"POP_UP_CANCEL_TITLE": "Forcefully terminate the operation ",
"POP_UP_CANCEL_MESSAGE": "Forcefully terminate the operation",
"POP_UP_CANCEL_TITLE": "Forcefully terminate the operation",
"POP_UP_CANCEL_FORCED_MODE_MESSAGE": "Warning: You are requesting the cancellation of the operation at a stage where the intervention of your technical administrator or platform support is required. If you confirm this action, the operation will end in error, and the elements needed for problem analysis will be destroyed. You must enter a reason to indicate the justification for this forced stop action.",
"POP_UP_CANCEL_NON_FORCED_MODE_MESSAGE": "Warning: The operation will be terminated in ERROR.",
"POP_UP_CANCEL_FORCED_MODE_REASON": "The reason for forcing the stop:",
"POP_UP_CANCEL_ACTION": "FORCEFULLY TERMINATE THE OPERATION ",
"POP_UP_REPLAY_MESSAGE": "Replay the Operation ",
"POP_UP_REPLAY_SECOND_MESSAGE": "Have you received confirmation that the technical issue causing the critical pause has been resolved before restarting the operation ? ",
"POP_UP_CANCEL_ACTION": "FORCEFULLY TERMINATE THE OPERATION",
"POP_UP_REPLAY_MESSAGE": "Replay the Operation",
"POP_UP_REPLAY_SECOND_MESSAGE": "Have you received confirmation that the technical issue causing the critical pause has been resolved before restarting the operation?",
"POP_UP_RESUME_MESSAGE": "Resume the Operation "
},
"ACCESSION_REGISTER": {
Expand Down
8 changes: 4 additions & 4 deletions ui/ui-frontend/projects/referential/src/assets/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,10 @@
"WARNING": "Avertissement"
},
"LOGBOOK_OPERATION_INFORMATIONS": {
"PAUSE_STEP": " Mettre en pause lopération en cours",
"NEXT_STEP": "Poursuivre létape en cours et passer lopération en mode pas à pas",
"RESUME_OPERATION": "Poursuivre lopération jusquà la fin du traitement",
"REPLAY_STEP": "Rejouer létape en cours et passer lopération en mode pas à pas",
"PAUSE_STEP": " Mettre en pause l'opération en cours",
"NEXT_STEP": "Poursuivre l'étape en cours et passer l'opération en mode pas à pas",
"RESUME_OPERATION": "Poursuivre l'opération jusqu'à la fin du traitement",
"REPLAY_STEP": "Rejouer l'étape en cours et passer l'opération en mode pas à pas",
"CANCEL_OPERATION": "Forcer l'arrêt et terminer l'opération en erreur",
"INFORMATIONS": "Informations",
"TICKETS": "Tickets",
Expand Down

0 comments on commit 9cb81ac

Please sign in to comment.