-
Bug
-
Resolution: Not a Bug
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
-
-
FLPATH 4, FLPATH 5
-
Critical
When executing integration tests, there is a failure in the notification-service.
2023-07-06 16:52:54.465 WARN 870951 --- [nio-8081-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in public void com.redhat.parodos.notification.controller.NotificationMessageController.create(com.redhat.parodos.notification.dto.NotificationMessageCreateRequestDTO): [Error in object 'notificationMessageCreateRequestDTO': codes [ValidNotificationMessageUserOrGroup.notificationMessageCreateRequestDTO,ValidNotificationMessageUserOrGroup]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [notificationMessageCreateRequestDTO.,]; arguments []; default message []]; default message [usernames and groupNames are empty, at list one of them must have valid values]] ]
How to reproduce:
cd workflow-examples ./start_workflow_service.sh & ./start_notification_service.sh
Then, start integration test running:
mvn verify -pl integration-tests -P integration-test
The previous reported stacktrace will show up in the notification-service log.