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
254 stars 381 forks source link

Quarkus mongoDB example is not generating proto files #390

Closed ghost closed 3 years ago

ghost commented 3 years ago

Hi,

I picked up process-mongodb-persistence-quarkus example and when I tried to build project its not generating proto files in target/classes/persistence directory.

Here are my application.properties entries

kogito.persistence.type=mongodb
quarkus.mongodb.connection-string=mongodb://localhost:27017
quarkus.mongodb.database=kogito_db

Even service is creating default DB in mongoDB i.e. kogito. So seems somehow its not picking up quarkus.mongodb.database. Also if I change kogito.persistence.type=mongodb to kogito.persistence.type=infinispan it generate proto files but service doesn't get started (and that's the expected behaviour)

r00ta commented 3 years ago

Hi @rakeshim , with this PR that was merged few hours ago the proto files are generated also for Mongo https://github.com/kiegroup/kogito-runtimes/pull/825 .

examples on master should not have anymore the bug you reported

ghost commented 3 years ago

It's great to see that it's fixed now and thanks for the update. I will have a look.