Commit Graph

40 Commits (c48067296e393b97ac11214df5732c0b19223dff)

Author SHA1 Message Date
Mahmoud Ben Hassine c48067296e
Update 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
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 46942da160
Fix code formatting 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 8864d0e41f
Fix inconsistency in SpEL template expression usage
Issue #257
5 years ago
Mahmoud Ben Hassine dc2777d6b7
Fix SpEL expressions in tests
Issue #222
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 8800e62301
Remove unused imports 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
zhouhaojie 93a5f13ef8
Add a test case of BeanResolver in SpEL 5 years ago
Mahmoud Ben Hassine fcfb2ada44
Add BeanResolver to SpEL condition/action
Issue #259
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 9710eb1301
fix test name 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 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 4c0b7d46e0 Add the map of facts as root object in the evaluation context
Resolves #204
6 years ago
Mahmoud Ben Hassine ead81e68da add package-info.java file to org.jeasy.rules.SpEL package 6 years ago
Mahmoud Ben Hassine 62753ecd41 Downgrade SpEL version to 4.x as 5.x requires Java 8
Related to #204
6 years ago
Mahmoud Ben Hassine 0cbad1e7e8 Add SpEL support
Resolves #204
6 years ago