Commit Graph

72 Commits (master)

Author SHA1 Message Date
Mahmoud Ben Hassine ab75210854
Update year in license header 4 years ago
Mahmoud Ben Hassine 393144f4d2
[maven-release-plugin] prepare for next development iteration 4 years ago
Mahmoud Ben Hassine 702a36837e
[maven-release-plugin] prepare release easy-rules-4.1.0 4 years ago
Mahmoud Ben Hassine 2a37e7b9d2
Re-organize dependencies 4 years ago
Stefan Birkner 093dc25547 Replace System Rules with System Lambda
System Lambda is more specific. It only wraps the part of the code that
writes to System.out. In addition System Lambda is independent from the
test framework and no obstacle for moving to another test framework
(e.g. JUnit Lambda).

The assertions have been changed from "contains" to "isEqualTo" because
SystemLambda's "tapSystemOutNormalized" takes care about normalizing the
new line chars so that the returned String is the same on all OS.
4 years ago
Alexey Gavrilov f5b092f90b Bump MVEL version to 2.4.10.Final
Update to MVEL library version to 2.4.10.Final
which fully supports newer Java
4 years ago
Mahmoud Ben Hassine d4579e6890
Bump development version to 4.1.0-SNAPSHOT 5 years ago
Mahmoud Ben Hassine c852a6072e
[maven-release-plugin] prepare for next development iteration 5 years ago
Mahmoud Ben Hassine c9b31b0c47
[maven-release-plugin] prepare release easy-rules-4.0.0 5 years ago
Mahmoud Ben Hassine f36cbe35b3
Fix javadocs 5 years ago
Mahmoud Ben Hassine 7d50291522
Update javadocs 5 years ago
Mahmoud Ben Hassine 0060357466
Mark fields final where appropriate 5 years ago
Mahmoud Ben Hassine 90ecf58e68
Remove usage of deprecated APIs 5 years ago
Mahmoud Ben Hassine c8b541b32c
Use parametrized tests for rule factories 5 years ago
Mahmoud Ben Hassine 0575a9929c
Move composite rules to a dedicated package 5 years ago
Mahmoud Ben Hassine 1ebc0b40d5
Move RuleDefinitionReader + related classes to a dedicated package 5 years ago
Mahmoud Ben Hassine c7fdea4825
Update dependencies
Replace Maven Tomcat plugin with Jetty due
to Java 8 compatibility (tomcat8-maven-plugin
seems to be not maintained anymore).
5 years ago
Mahmoud Ben Hassine 346e5ff4ce
Update CI management in poms
Looks like it was missed in 130f99452a
5 years ago
Mahmoud Ben Hassine 0794801176
Remove overloaded methods with parser context
For rules, the context is now passed at construction time and
used for condition/action parsing. This avoids overloading each
method with the context as parameter.

For factories, since the context is now part of the state, there
is no need to pass it around as parameter in rule creation methods.
5 years ago
Mahmoud Ben Hassine 94d29cc86b
Fix typo 5 years ago
Mahmoud Ben Hassine 888dedaf53
Add comment about why MVEL.evalToBoolean is not used in MVELCondition 5 years ago
Mahmoud Ben Hassine 77c616ee6c
Let runtime exceptions in conditions bubble up and handle them in the engine
Issue #211
5 years ago
Mahmoud Ben Hassine 4cb1ea2d4b
Remove unnecessary semicolon 5 years ago
Mahmoud Ben Hassine 4600006a87
Remove unnecessary "throws Exception" from test methods 5 years ago
Mahmoud Ben Hassine 5d5b5333f9
Update license plugin to use SLASHSTAR_STYLE for license headers
This change fixes "dangling Javadoc comment" warnings in license headers.
See https://github.com/mycila/license-maven-plugin#supported-comment-types
5 years ago
Mahmoud Ben Hassine 1a56c9f67a
Update year to 2020 in license headers 5 years ago
Mahmoud Ben Hassine 4c89a87b12
Bump development version to 4.0.0-SNAPSHOT 5 years ago
Mahmoud Ben Hassine 1c771a9dbb
[maven-release-plugin] prepare for next development iteration 5 years ago
Mahmoud Ben Hassine 034f488210
[maven-release-plugin] prepare release easy-rules-3.4.0 5 years ago
Mahmoud Ben Hassine f700ee36ab Update dependencies 6 years ago
Mahmoud Ben Hassine 05e063ba6b Move common rule factories code in an abstract class 6 years ago
Mahmoud Ben Hassine d071dabbb1 Bump development version to 3.4.0-SNAPSHOT 6 years ago
Mahmoud Ben Hassine f509077c9b Remove deprecated APIs 6 years ago
Mahmoud Ben Hassine 3119b1dec6 [maven-release-plugin] prepare for next development iteration 6 years ago
Mahmoud Ben Hassine 21b7869a6a [maven-release-plugin] prepare release easy-rules-3.3.0 6 years ago
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
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 032b5aca5d Add support for parser context in MVEL actions
Resolves #197
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 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
Mahmoud Ben Hassine 160fb61ce3 Update dependencies 6 years ago
Mahmoud Ben Hassine 248d2c260a Update year in license header 6 years ago
DANRIVCAP 67cd8a2965 Make logs final 7 years ago
Mahmoud Ben Hassine 11418f19d6 remove deprecated APIs 7 years ago