-
Notifications
You must be signed in to change notification settings - Fork 9
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
DROOLS-7475 Proposed feature for ['key'] accessor #50
Conversation
- updated with the new jar - test using the AST JSON for drools-jpy
@@ -94,6 +94,55 @@ def test_assert_multiple_facts(): | |||
my_callback2.assert_called_with(result2) | |||
|
|||
|
|||
def test_squared_accessors(): |
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.
@tarilabs if you use the tools/convert_to_ast.py from the ansible-rulebook repo and convert the rulebook to ast format you will get the sources data included and then if we add the ast yml file to this list
drools_jpy/tests/test_ruleset.py
Line 935 in f1fade2
"asts/test_delayed_comparison_ast.yml", |
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.
Done with 324f2de
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.
lgtm
work-in-progress as i'm volunteering to work on this e2e, so this is a quite-complete draft for the ansible-rulebook side; i'll keep posted as i will progress on drools-ansible-rulebook-integration side. EDIT: demonstrate working locally and added e2e test as requested **JIRA**: https://issues.redhat.com/browse/DROOLS-7475 **referenced Pull Requests**: * #539 * ansible/drools_jpy#50 * kiegroup/drools-ansible-rulebook-integration#56 * https://github.com/kiegroup/drools/pull/5333 * https://issues.redhat.com/browse/AAP-10738 * kiegroup/drools-ansible-rulebook-integration#65 * ansible/drools_jpy#51 --------- Co-authored-by: Madhu Kanoor <[email protected]> Co-authored-by: Alex <[email protected]>
drools-ansible-rulebook-integration
(using this version at the time of writing/raising this PR)JIRA: https://issues.redhat.com/browse/DROOLS-7475
referenced Pull Requests: