Commit Graph

637 Commits (720727244639e86b12276f4ccd24ec00a3b263a5)
 

Author SHA1 Message Date
Mahmoud Ben Hassine 0cbad1e7e8 Add SpEL support
Resolves #204
6 years ago
Mahmoud Ben Hassine 84e80f8b33 Add support to read rules from json objects
Resolves #202
6 years ago
zhouhaojie 10905f7f22 Update ActivationRuleGroupTest.java
update a piece of code in whenNoSelectedRule_thenNothingShouldHappen unitCase . 
that should be set to `rule4`
6 years ago
Mahmoud Ben Hassine b3ba58c7ec Change RulesEngine#getParameters to return a copy of the parameters
Resolves #158
6 years ago
Mahmoud Ben Hassine f6a8b9a6fa Polish eb65c954ce 6 years ago
zhouhaojie eb65c954ce Update UnitRuleGroupTest.java
add @Test on UnitRuleGroupTest#compositeRuleMustNotBeExecutedIfAComposingRuleEvaluatesToFalse Method.
new a unitRuleGroup Object in the test case to avoid NPE .
6 years ago
Mahmoud Ben Hassine df6e0f7b56 Fix validation issue for non annotated fact parameters
Resolves #165
6 years ago
Mahmoud Ben Hassine 3f6e87b202 Add support to load rules with a ParserContext in MVELRuleFactory
Resolves #197
6 years ago
Mahmoud Ben Hassine c83ff59da8 Add support for parser context in MVEL conditions
Resolves #197
6 years ago
Mahmoud Ben Hassine 8ea9d81ec4 Polish 4dff2d1680 and add more tests
Resolves #155
Related to #156
6 years ago
Mahmoud Ben Hassine 4dff2d1680 Remove duplicate composite rule implementations
This commit uses composite rule implementations from easy-rules-support
module. This avoids creating MVEL specific implementations for each type
of composite rule.

Resolves #155
6 years ago
Kate Rose f88a2cda5b Add composite rule support for MVEL from a YAML file
Resolves #155
6 years ago
Mahmoud Ben Hassine 00f52b388c Make getRuleListeners and getRulesEngineListeners return unmodifiable lists
Resolves #157
6 years ago
Mahmoud Ben Hassine 032b5aca5d Add support for parser context in MVEL actions
Resolves #197
6 years ago
Mahmoud Ben Hassine a4ccab1625 move common engines code in AbstractRuleEngine 6 years ago
Mahmoud Ben Hassine bea23aeb8d add WayneCui to contributors list 6 years ago
WayneCui d1f8422b02 FIX: fix DefaultRulesEngine logger 6 years ago
Mahmoud Ben Hassine 420664efbc Fix MVELAction to throw exceptions in addition to logging them
Resolves #194
6 years ago
Mahmoud Ben Hassine 40c7129547 Add lranasingha to contributors list 6 years ago
Laksitha Ranasingha f7756b8ce6 updated not use deprecated createRuleFrom()
The README was
Rule weatherRule = MVELRuleFactory.createRuleFrom(new File("weather-rule.yml"));

But this is deprecated in the latest version or before (v3.2.0), hence updated to use the overloaded method.
6 years ago
Mahmoud Ben Hassine d6034550f9 Polish 1b2028013faafac0b816f4334d9bf700e4791048 6 years ago
RuanJiehui 45f0a5ba84 Fix NPE in ActivationRuleGroup
Resolves issue #183
6 years ago
Mahmoud Ben Hassine 12ef53dec5 Bump version to 3.3.0-SNAPSHOT 6 years ago
Mahmoud Ben Hassine d2fed7be76 Change default log level to debug
Resolves issue #166
6 years ago
paritoshranjan c451dc8b4a Corrected link to a contributor
shivmitra was pointing to sanmibuh
6 years ago
Mahmoud Ben Hassine 160fb61ce3 Update dependencies 6 years ago
Mahmoud Ben Hassine 248d2c260a Update year in license header 6 years ago
Dani 34328ab1aa Improve code readability
Variables named ann and anns were renamed as annotation and annotations.
7 years ago
DANRIVCAP 67cd8a2965 Make logs final 7 years ago
DANRIVCAP 707d875c5b Add portability 7 years ago
Mahmoud Ben Hassine 1c475dff9d update development version to 3.2.1-SNAPSHOT in archetype module 7 years ago
Mahmoud Ben Hassine 2d4cc7b486 update tutorials 7 years ago
Mahmoud Ben Hassine 11418f19d6 remove deprecated APIs 7 years ago
Mahmoud Ben Hassine 19fdea66a7 add paulbrejla to contributors list 7 years ago
Mahmoud Ben Hassine 0a3a4a12bc [maven-release-plugin] prepare for next development iteration 7 years ago
Mahmoud Ben Hassine 2de512c8c0 [maven-release-plugin] prepare release easy-rules-3.2.0 7 years ago
Mahmoud Ben Hassine ec4131dda1 update dependencies to latest version 7 years ago
Mahmoud Ben Hassine e6d8830c8d prepare release v3.2 7 years ago
Mahmoud Ben Hassine 50c5b1f842 update readme for version 3.2 7 years ago
Mahmoud Ben Hassine 46874c101f update year to 2018 in license header 7 years ago
Mahmoud Ben Hassine 583359a229 issue #122 : add ActivationRuleGroup implementation 7 years ago
Mahmoud Ben Hassine ca4b78de8b issue #96 : add priority attribute to Rule annotation
If a priority method is defined, it will take precedence over the
priority attribute of the annotation.
7 years ago
Mahmoud Ben Hassine abad973745 fix logger 7 years ago
Mahmoud Ben Hassine 94b3a3df56 issue #145 : deprecate MVELRuleFactory#createRuleFrom(java.io.File) 7 years ago
Mahmoud Ben Hassine 5288bd8702 issue #138 : add ability to load multiple rules at once 7 years ago
Mahmoud Ben Hassine 994c24ab16 add danrivcap to contributors list 7 years ago
Mahmoud Ben Hassine 8e5a1716ae issue #143 : fix toString method of rule proxy to match original method 7 years ago
DANRIVCAP 623d80acf4 Add test to see if proxy toString is equals to original toString 7 years ago
Mahmoud Ben Hassine a8d5177570 add dagframstad to contributors list 7 years ago
Mahmoud Ben Hassine 7bb0962e34 issue #122 : add ConditionalRuleGroup implementation 7 years ago