GopikaReghunath opened a new pull request, #4273: URL: https://github.com/apache/incubator-kie-kogito-runtimes/pull/4273
closes: https://github.com/apache/incubator-kie-kogito-runtimes/issues/4269 - A new endpoint /usertasks is introduced Lightweight data transfer object for user task list operations Only essential task information without inputs, outputs, or metadata Supports filtering (processId, processInstanceId, status, taskName) Testing of the new endpoint: Create usertasks and try to return the details (Atleast one identity parameter is required group/user) Apply different filters and verify the responses - New View Classes for Inputs/Outputs UserTaskInputsView: Returns only task ID and inputs map UserTaskOutputsView: Returns only task ID and outputs map Purpose: Optimized responses for PUT endpoints that modify inputs/outputs Testing: Call the PUT endpoints with the required request A lightweight response with only id and inputs/outputs is obtined - Schema Endpoints Enhancement GET /usertasks/{taskName}/schema: Get schema by task name Uses static registry populated at build time for unauthenticated access Falls back to authenticated lookup for backward compatibility GET /usertasks/instance/{taskId}/schema: Get schema by task instance ID Includes runtime transition information -- 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]
