apache / incubator-kie-kogito-examples

Kogito examples - Kogito is a cloud-native business automation technology for building cloud-ready business applications.
http://kogito.kie.org
255 stars 381 forks source link

Support for spring webflux #918

Closed himanshumps closed 3 years ago

himanshumps commented 3 years ago

Kogito currently supports spring mvc and not spring webflux. Is there any plan to support that ?

I am guessing if it supports Quarkus, it should not be difficult to support webflux as well.

Any pointers on how it can be achieved ?

ricardozanini commented 3 years ago

Hi @himanshumps!

We don't have plans to support Spring Webflux, but I understand it's fairly simple to implement yourself if you disable the REST creation and call the APIs directly (summon @evacchi)

himanshumps commented 3 years ago

I think I am getting the gist of it and should be able to model it for spring webflux as per the needs. The code generated by the maven plugin gave me a way to achieve it. I am closing this issue.

ricardozanini commented 3 years ago

Please share with us the outcome. :)

I can see a blog post on our website about this use case.

himanshu-gupta01 commented 3 years ago

@ricardozanini Not able to find any reference on blog. Can you point me to exact blog post?

himanshu-gupta01 commented 3 years ago

Are we talking about this?

https://blog.kie.org/2021/09/kogito-api-incubation.html

ricardozanini commented 3 years ago

@himanshu-gupta01, I meant that you could write a blog post about integrating webflux as soon as you accomplish it.

And yes, this article you linked can help you put things together. :)

Thanks!