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
PLANNER-1627: TaskAssigningPlanning & TaskAssignigRuntime kie-sever extensions (target architecture) #2034
Conversation
Hi @rsynek @triceo this PR is basically the refactoring of the task assigning stuff merged on Friday to the final location in kie-server-parent. Thanks depends on: kiegroup/droolsjbpm-build-bootstrap#1205 |
@sutaakar any idea if there is any owner of KIE server now who could review PRs as this one? |
I guess the Kie server doesn't have any specific owner now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested that the new artifacts are contained in kie-server assembly. The assembly for ee8 deploys to Wildfly and the new extensions are properly activated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, assuming the owner of KIE Server has also approved this.
looks like jenknis job failed due error below but the PR status wasn't refreshed 08:47:15 GitHub pull request #2034 of commit ac3cfc6, no merge conflicts. |
jenkins retest this |
Un-related tests failed. Looks like random failures. ++++++++++++++++++ Failing for the past 1 build (Since Unstable#715 ) ++++++++++++++ org.kie.server.integrationtests.controller.WebSocketKieControllerRuleCapabilitiesIntegrationTest.testStartAndStopScanner[0: JSON KieServicesConfiguration{transport=REST, serverUrl='http://localhost:42146/kie-server-services/services/rest/server'}] Failing for the past 1 build (Since Unstable#715 )
The following assertion failed:
|
jenkins retest this |
jenkins execute full downstream build |
@wmedvede About https://github.com/kiegroup/droolsjbpm-integration/blob/ac3cfc6ea00b0e89473177ee1b40dd26bb9e7db3/kie-server-parent/kie-server-remote/kie-server-rest/kie-server-rest-task-assigning-runtime/src/main/java/org/kie/server/remote/rest/taskassigning/runtime/TaskAssigningRuntimeResource.java , if I understand it correctly then these endpoints can be also used by third party user, right? Have you considered adding there Swagger annotations? |
@wmedvede Do you plan to provide implementation of UserSystemService for other application servers or possibly other authentication options like LDAP or Keycloak? |
Have you considered implementing full e2e scenario showing how this functionality can be used by end users of Kie server? |
…xtensions (target architecture) - Refactors the modules in jbpm-task-assigning to the definitive location in kie-server-parent
…xtensions (target architecture) - Removes the no longer needed jbpm-task-assigning first level module
…xtensions (target architecture) - Swagger configuration - Standard queries
ac3cfc6
to
dbf25c1
Compare
third party users should avoid using this method since the shouldn't try to executePlannings or more flexible queries are provided. But no problem, the swagger information was added. |
It's not the priority right now, i.e. out of this PR. Even so we have to see, since getting the users from the UserSystemService is not only getting the user + group information it implies also grabbing business related information like skills and affinities which may vary in impredectible ways depending on the particular integration, client. etc. I believe we should avoid ending up in kind of "generic" business data extractor for LDAP, keycloack, etc. Anyway, we can see this in the future. |
Let's see if I go the time for setting up all this, right now there are still other development pieces pending. But I'll try to add some tasks consumption examples in the getting started guide. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
jenkins execute full downstream build |
Hi guys, This PR has been open a while, let's get this wrapped up and merged. We have 3 approvals for this PR and no rejections. If no one objects further, I 'll merge it tomorrow. @krisv @sutaakar Let me know if you want a few more days to review first, otherwise I 'll merge tomorrow, so it's easier to further polish the task assignment work in additional, smaller PR's. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok for me.
Good question - such an end to end scenario would make an interesting video or blog post too. It's an important piece of the puzzle. |
Well full build failed in non related tests but all kie-server, business central and jbpm-server artifacts were generated well. It looks like there are non related DMNDesinger errors breaking the build:
org.kie.workbench.common.dmn.showcase.client.selenium.DMNDesignerKogitoSeleniumIT.testConnectorKnowledgeRequirement |
jenkins execute full downstream build |
1 similar comment
jenkins execute full downstream build |
This is failing again due to non related tests but, looks like all related tests and artifacts were generated. Expected condition failed: waiting for visibility of element located by By.className: qe-docks-item-W-org.kie.dmn.decision.navigator (tried for 10 second(s) with 500 milliseconds interval) |
The failed tests are 100% unrelated. feel free to merge. I reported jira for myself and started to investigate here https://issues.redhat.com/browse/KOGITO-1458 |
Merging based on the investigation of failed tests in FDB. |
Failing tests are due to https://issues.redhat.com/browse/DROOLS-5170 |
No description provided.