New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CAM-9676] feat(engine): Implemented OR queries for ProcessInstanceQuery #320
[CAM-9676] feat(engine): Implemented OR queries for ProcessInstanceQuery #320
Conversation
Hi @funfried, Since this is a bigger contribution, it may take us a while to review the code. I hope that is ok for you. Best regards, |
Sure, no problem, take your time. I think I'll have to wait for the next community release until it might get published anyway, so I've built my own patch release which I'm gonna use till then Regards, |
Hi @funfried, thanks for your contribution and for your patience. It looks good so far. However, I have some review hints for you:
Please adjust the Pull Requests #321 and #319 as well. If you have any questions, please do not hesitate to ask. Cheers, |
Hello @tasso94, thanks for reviewing! Regarding your comments:
Best regards, |
Hi @funfried, Re 1: Please consider this example code. Let's move this and all other validations to the separate method Re 2: Let's assume we have two historical task instances the first has an assignee "foo" and the second has a process instance business key "bar". If you apply the filter Cheers, |
Hello @tasso94, sorry for responding so late, I'm kind of busy at the moment, but I will definitely implement the requested changes as soon as possible. I hope I get to it next week. Regards, |
Hello @tasso94 , I updated the PR, please check again. I will also update the other two PRs. Regards, |
Regarding the OR scenarios with table joins, are you sure it won't work in any cases? Because there are tests for some of the cases which were actually correct, e.g. definitionName and definitionKey in the historic task instance query. I think in this case it should be fine, or? Cheers, |
HI Fabian, Tassilo is currently out of office until the 29th of April. He will get back to you then. Cheers, |
sure, no worries, thanks for letting me know. Regards, |
Hi Fabian, thanks for revising your pull request. I will look into your changes in the course of this week. Cheers, |
Hi Fabian, thanks for your patience. The following bug issue (https://app.camunda.com/jira/browse/CAM-9114) is scheduled to be fixed soon and we consider to fix the problem for your contribution as well. When it is decided, we will take care of fixing it for your contribution as well. Right now we are busy with the 7.11 release (scheduled for 31st of May) and will come back to you as soon as possible. Stay tuned! Cheers, |
Hello Tassilo, sorry for the late response, I had parental leave the last few weeks and so my PC wasn't turned on that much 😊. Anyways, good luck with the release and talk to you afterwards. Regards, |
Hi @tasso94, sorry to bother, but have you been able to check my PRs? Regards, |
Hi Fabian, sorry for my late response. We've fixed the issue regarding table joins for the task query recently [1] and will now look into your contribution again. Cheers, |
Hi @tasso94, that sounds great, thanks. Looking forward to it. Regards, |
closes camunda#320 related to CAM-9676
OR queries extension for ProcessInstanceQuery based on the already existing OR queries for tasks from tag 7.10.0. Also added a JUnit test for it and extended the query DTO for the REST API.
See also CAM-9676 in Jira