forked from ansible/drools_jpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ansible#57 from mkanoor/jira_16178
fix: updated drools jar
- Loading branch information
Showing
5 changed files
with
186 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "drools_jpy" | ||
version = "0.3.7" | ||
version = "0.3.8" | ||
authors = [ | ||
{ name="Madhu Kanoor", email="[email protected]" }, | ||
] | ||
|
Binary file renamed
BIN
+6.95 MB
...ok-integration-runtime-1.0.4-SNAPSHOT.jar → ...ok-integration-runtime-1.0.5-SNAPSHOT.jar
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
- RuleSet: | ||
hosts: | ||
- all | ||
name: compare with saved events | ||
rules: | ||
- Rule: | ||
actions: | ||
- Action: | ||
action: print_event | ||
action_args: | ||
pretty: true | ||
condition: | ||
AllCondition: | ||
- AssignmentExpression: | ||
lhs: | ||
Events: match | ||
rhs: | ||
EqualsExpression: | ||
lhs: | ||
Event: plu | ||
rhs: | ||
Integer: 4132 | ||
- ItemInListExpression: | ||
lhs: | ||
Event: fruit | ||
rhs: | ||
Events: match.apples | ||
enabled: true | ||
name: Gala rules | ||
- Rule: | ||
actions: | ||
- Action: | ||
action: print_event | ||
action_args: | ||
pretty: true | ||
condition: | ||
AllCondition: | ||
- AssignmentExpression: | ||
lhs: | ||
Events: match | ||
rhs: | ||
EqualsExpression: | ||
lhs: | ||
Event: plu | ||
rhs: | ||
Integer: 4284 | ||
- ListContainsItemExpression: | ||
lhs: | ||
Events: match.grapefruits | ||
rhs: | ||
Event: fruit | ||
enabled: true | ||
name: Ruby Red rules | ||
- Rule: | ||
actions: | ||
- Action: | ||
action: print_event | ||
action_args: | ||
pretty: true | ||
condition: | ||
AllCondition: | ||
- AssignmentExpression: | ||
lhs: | ||
Events: apple | ||
rhs: | ||
EqualsExpression: | ||
lhs: | ||
Event: fruit.name | ||
rhs: | ||
String: Braeburn | ||
- ItemInListExpression: | ||
lhs: | ||
Events: apple.fruit.plu | ||
rhs: | ||
Event: favorite_apple_plus | ||
enabled: true | ||
name: Braeburn rules | ||
- Rule: | ||
actions: | ||
- Action: | ||
action: print_event | ||
action_args: | ||
pretty: true | ||
condition: | ||
AllCondition: | ||
- AssignmentExpression: | ||
lhs: | ||
Events: mango | ||
rhs: | ||
EqualsExpression: | ||
lhs: | ||
Event: fruit.name | ||
rhs: | ||
String: Kent | ||
- ListContainsItemExpression: | ||
lhs: | ||
Event: favorite_mango_plus | ||
rhs: | ||
Events: mango.fruit.plu | ||
enabled: true | ||
name: Kent mango rules | ||
sources: | ||
- EventSource: | ||
name: my source | ||
source_args: | ||
payload: | ||
- apples: | ||
- gala large apple | ||
- gala small apple | ||
plu: 4132 | ||
- fruit: gala large apple | ||
- grapefruits: | ||
- Ray Ruby | ||
- Ruby Red | ||
plu: 4284 | ||
- fruit: Ruby Red | ||
- fruit: | ||
name: Braeburn | ||
plu: 4101 | ||
- favorite_apple_plus: | ||
- 4101 | ||
- 4103 | ||
- 4132 | ||
- 4133 | ||
- fruit: | ||
name: Kent | ||
plu: 3488 | ||
- favorite_mango_plus: | ||
- 3488 | ||
- 4959 | ||
- 4051 | ||
- 4312 | ||
source_filters: [] | ||
source_name: ansible.eda.generic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
- RuleSet: | ||
hosts: | ||
- all | ||
match_multiple_rules: true | ||
name: 83 match multiple rules | ||
rules: | ||
- Rule: | ||
actions: | ||
- Action: | ||
action: debug | ||
action_args: {} | ||
condition: | ||
AllCondition: | ||
- EqualsExpression: | ||
lhs: | ||
Event: i | ||
rhs: | ||
Integer: 1 | ||
enabled: true | ||
name: r1 | ||
- Rule: | ||
actions: | ||
- Action: | ||
action: print_event | ||
action_args: {} | ||
condition: | ||
AllCondition: | ||
- EqualsExpression: | ||
lhs: | ||
Event: i | ||
rhs: | ||
Integer: 1 | ||
- EqualsExpression: | ||
lhs: | ||
Event: i | ||
rhs: | ||
Integer: 3 | ||
enabled: true | ||
name: r11 | ||
sources: | ||
- EventSource: | ||
name: ansible.eda.generic | ||
source_args: | ||
payload: | ||
- i: 1 | ||
- i: 9 | ||
- i: 3 | ||
source_filters: [] | ||
source_name: ansible.eda.generic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters