Details
-
Bug
-
Resolution: Done
-
Blocker
-
jBPM 6.0.0.CR4
-
None
Description
We downloaded the latest kie-services-remote and kie-services-client from https://github.com/droolsjbpm/droolsjbpm-integration/tree/master/kie-remote/kie-services-remote ("master" which compiles into kie-services-remote-6.1.0-SNAPSHOT.jar and kie-services-client-6.1.0-SNAPSHOT.jar), which now supports JSON output.
We found two possible issues in the "task query" call.
1) The output seems to be incorrect maybe due to an error (see below).
2) It is not possibile to use pagination parameters like "page" because you get "page is an unknown and unsupported query param for the task query operation.". In fact in the TaskResource.java there is a check of the request parameters against an array of allowedQueryParams where "page" is not present. Probably the code:
int [] pageInfo = getPageNumAndPageSize(params); Paginator<TaskSummaryImpl> paginator = new Paginator<TaskSummaryImpl>();
should be before that check.