Skip to content
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

Multiple datasource/datastream for ruleUnit #1122

Open
outofsyncbe opened this issue Feb 13, 2022 · 1 comment
Open

Multiple datasource/datastream for ruleUnit #1122

outofsyncbe opened this issue Feb 13, 2022 · 1 comment

Comments

@outofsyncbe
Copy link

Hello,

I am trying to evaluate Kogito drools ruleunit. On receiving event from kafka, send graphql and hydrate event with received information and then run Drools rules.
e.g. A New order event is received with customerId and orderDetails. Send graphql to hydrate NewOrderEvent with customer profile, and then run Drools ruleUnit. Couldn't find example to do it though.
I was just thinking of creating customer datasource and order event data stream in ruleUnit but couldn't find way how to tie sending graphQL with kogito tasks.

Thanks

@ricardozanini
Copy link
Member

@evacchi can you take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants