apache / incubator-kie-kogito-runtimes

Kogito Runtimes - Kogito is a cloud-native business automation technology for building cloud-ready business applications.
http://kogito.kie.org
Apache License 2.0
541 stars 209 forks source link

Springboot and DMN #339

Closed r00ta closed 4 years ago

r00ta commented 4 years ago

Hi,

I'm trying to use kogito with springboot and a DMN model. So I've started from the jbpm-springboot-example and I've put a DMN model in the resources.

I see that the java class of the DMN endpoint is generated but unfortunately the endpoint is not available. Am I missing something? Is there something in particular to do on developer side to make it work?

r00ta commented 4 years ago

I found the issue looking at the examples updated in the last days: In the application it is mandatory to declare

@SpringBootApplication(scanBasePackages={"org.kie.dmn.kogito.**", "org.kie.kogito.app.**", "org.kie.kogito.**"})

For dmn, processes and rules. It would be useful to document it somewhere (have I missed it maybe?).

Feel free to close the issue (when the documentation is updated..?)