jstastny-cz opened a new issue, #2231:
URL: https://github.com/apache/incubator-kie-issues/issues/2231

   Embedded Jobs Addon in compact-architecture setup executes the Jobs locally 
within given execution context (Process, Process Instance, Task Instance).
   
   During the execution, with possible multiple retry attempts, the error 
details are currently only logged. They are not available through the model or 
endpoints.
   
   While such information is considered sensitive from security perspective, we 
could allow users to conditionally collect and expose the error details if they 
choose to (e.g. in a dev environment).
   
   Moreover we could provide an extension point allowing users to implement 
their own logic to sanitize the error details coming from the execution engine 
and make sure the sensitive parts are treated accordingly.
   
   This issue is intended to:
   1. Reduce the scope of changes to kogito-apps components only.
   2. Adjust Jobs-relevantinternal models to add extra fields, e.g. 
`exceptionMessage` and `exceptionDetails` (including DDL, GraphQL)
   3. Introduce an enable/disable toggle for collection and promotion of 
relevant Job execution error details.
   4. Implement Embedded Jobs Addon changes.
   5. Adjust data-index and data-audit to expose such information.
   
   The following items are left out of scope as possible future follow-ups:
   1. Management Console UI changes.
   2. "Standalone" Jobs Service implementation (would require changes also in 
kogito runtimes service area).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to