Mahmoud Ben Hassine
|
1a56c9f67a
|
Update year to 2020 in license headers
|
5 years ago |
Mahmoud Ben Hassine
|
6e4ac46593
|
Remove unnecessary call to RuleProxy.asRule
Resolves #243
|
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
|
2e85745a07
|
Cache reflective introspection in RuleProxy
Issue #221
|
5 years ago |
Mahmoud Ben Hassine
|
8bdb98b320
|
Fix rules engine listener invocation when registered in an inference rules engine
Resolves #239
|
5 years ago |
Mahmoud Ben Hassine
|
60f44438a5
|
Make AbstractRulesEngine public
Resolves #238
|
5 years ago |
Mahmoud Ben Hassine
|
68cf5835b9
|
Remove default listeners
Resolves #223
|
5 years ago |
Mahmoud Ben Hassine
|
f8b1701ed4
|
Fix typo
|
5 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
|
b3ba58c7ec
|
Change RulesEngine#getParameters to return a copy of the parameters
Resolves #158
|
6 years ago |
Mahmoud Ben Hassine
|
df6e0f7b56
|
Fix validation issue for non annotated fact parameters
Resolves #165
|
6 years ago |
Mahmoud Ben Hassine
|
00f52b388c
|
Make getRuleListeners and getRulesEngineListeners return unmodifiable lists
Resolves #157
|
6 years ago |
Mahmoud Ben Hassine
|
a4ccab1625
|
move common engines code in AbstractRuleEngine
|
6 years ago |
WayneCui
|
d1f8422b02
|
FIX: fix DefaultRulesEngine logger
|
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
|
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
|
707d875c5b
|
Add portability
|
7 years ago |
Mahmoud Ben Hassine
|
11418f19d6
|
remove deprecated APIs
|
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
|
46874c101f
|
update year to 2018 in license header
|
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
|
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
|
b874b761ac
|
Merge branch 'unit-rule-group'
|
7 years ago |
Mahmoud Ben Hassine
|
45defca853
|
add license header
|
7 years ago |
Benjamin POUSSIN
|
cbf5eee679
|
enhance test to test no regression on missing fact
|
7 years ago |
Benjamin POUSSIN
|
62f49a79ed
|
add test for issue #139 (NPE If i add Fact with null value and use annotation)
|
7 years ago |
Benjamin POUSSIN
|
c2f8c4643b
|
this commit fix bug if i try to put null value for one fact in Facts object
and use annotation parameter method for action/condition method
|
7 years ago |
DANRIVCAP
|
686a3857cb
|
Add test to cover unregister non existing rule
|
7 years ago |
Mahmoud Ben Hassine
|
f904f330cb
|
add unit rule group
|
7 years ago |
Mahmoud Ben Hassine
|
4acdeeffbd
|
remove deprecated APIs
|
7 years ago |
Mahmoud Ben Hassine
|
e0e231f079
|
update javadoc
|
7 years ago |
Mahmoud Ben Hassine
|
90afb2bf47
|
update development version to 3.2.0-SNAPSHOT
|
7 years ago |
Mahmoud Ben Hassine
|
d3eb3afcfe
|
[maven-release-plugin] prepare for next development iteration
|
7 years ago |
Mahmoud Ben Hassine
|
fb3e66fb37
|
[maven-release-plugin] prepare release easy-rules-3.1.0
|
7 years ago |
Mahmoud Ben Hassine
|
c2d9f3c250
|
add methods to set rules engine parameters with a Fluent API
|
7 years ago |
Mahmoud Ben Hassine
|
366e342ff2
|
update javadoc
|
7 years ago |
Mahmoud Ben Hassine
|
001dd0c7e8
|
remove static method RuleBuilder.aNewRule
This method is confusing, it returns a rule builder (not a rule).
|
7 years ago |
Mahmoud Ben Hassine
|
f18389ee9b
|
make DefaultRule extend BasicRule
|
7 years ago |
Mahmoud Ben Hassine
|
7c690524be
|
issue #126: Deprecate RulesEngineBuilder
|
7 years ago |
Mahmoud Ben Hassine
|
ca7481f07a
|
fix formatting
|
7 years ago |
Mahmoud Ben Hassine
|
6f3e05e96d
|
polish logs
|
7 years ago |
Mahmoud Ben Hassine
|
fd3f158889
|
add space between parameter name and value in toString method
|
7 years ago |
Mahmoud Ben Hassine
|
4ff3f90705
|
issue #119: Add separate concepts for conditions and actions
|
7 years ago |
Mahmoud Ben Hassine
|
ca5eb83923
|
rename method apply to doFire
|
7 years ago |
Mahmoud Ben Hassine
|
6b726e079e
|
issue #121 : extract logging in a default RulesEngineListener
|
7 years ago |
Mahmoud Ben Hassine
|
40b456b670
|
issue #121 : apply the RulesEngineListener to check method
|
7 years ago |
Mahmoud Ben Hassine
|
14fe227c82
|
issue #121 : rename methods in RulesEngineListener to be consistent with RuleListener
|
7 years ago |
Mahmoud Ben Hassine
|
4d2dad6147
|
issue #121: Add RulesEngineListener
|
7 years ago |
Mahmoud Ben Hassine
|
fdb01582ad
|
issue #123: Make Facts#get method cast friendly
|
7 years ago |
Mahmoud Ben Hassine
|
baee0735f8
|
add note about usage of rules engine parameters
|
7 years ago |
Mahmoud Ben Hassine
|
2e76b0b776
|
add log when no candidate rules are found
|
7 years ago |
Mahmoud Ben Hassine
|
e7d3705320
|
add javadoc
|
7 years ago |
Mahmoud Ben Hassine
|
40e46172eb
|
make inference rules engine final
|
7 years ago |
Mahmoud Ben Hassine
|
7689e3a14d
|
issue #88 : add InferenceRulesEngine implementation
|
7 years ago |
Mahmoud Ben Hassine
|
0267ba397c
|
issue #112 : update javadoc to mention that client code should handle runtime exceptions
|
7 years ago |
Mahmoud Ben Hassine
|
a9390c9217
|
use single quote to log values.
Double quotes were inherited from JUL log syntax
|
7 years ago |
Mahmoud Ben Hassine
|
4b7ed47da3
|
use String.valueOf to log facts values
|
7 years ago |
Mahmoud Ben Hassine
|
22cf89b73c
|
issue #118 : use toString to log engine parameters
|
7 years ago |
Mahmoud Ben Hassine
|
2505d8ac22
|
issue #89 : remove skipOnMissingFact parameter
When a fact is missing, the rule should not be triggered
|
7 years ago |
Mahmoud Ben Hassine
|
b228a87578
|
add slf4j-simple dependency
|
7 years ago |
David Belmez Vicente
|
a074f93e10
|
[slf4j]: Use SLF4J (#114)
Use SLF4J instead of JUL
|
7 years ago |
wg1j
|
a342bc26ad
|
Remove unnecessary method and interface (#111)
* remove unnecessary Comparable interface
* remove sort from Rules API
* fix creating Rules with a Set
|
7 years ago |
wg1j
|
db6438350c
|
Override equals()/hashCode()/toString() same as BasicRule (#115)
* override equals()/hashCode()/toString() same as BasicRule
* replace if with switch
|
7 years ago |
David Belmez Vicente
|
31eee54ae7
|
[subFacts]: Conditions or Actions can have subclass of Facts as parameter (#104)
* [subFacts]: Conditions or Actions can have subclass of Facts as parameter
* [subFacts]: Added to contributor list :)
|
8 years ago |
wg1j
|
1170ef9ed9
|
replace `Utils.getInterfaces` with `instanceof` (#98)
replace `Utils.getInterfaces` with `instanceof`
|
8 years ago |
wg1j
|
eabb56042f
|
improve the Facts api (#95)
|
8 years ago |
wg1j
|
d58a258f35
|
A little optimization in RuleProxy.java (#94)
lazy-init names + convert Integer to int
|
8 years ago |
Mahmoud Ben Hassine
|
527f4fb6b4
|
update development version to 3.1.0-SNAPSHOT
|
8 years ago |
Mahmoud Ben Hassine
|
6661401c60
|
issue #89 : add skipOnMissingFact parameter
|
8 years ago |
Mahmoud Ben Hassine
|
bb92448873
|
add public constructor with rules engine parameters
|
8 years ago |
Mahmoud Ben Hassine
|
f50eebb646
|
remove deprecated APIs
|
8 years ago |
Mahmoud Ben Hassine
|
79b131cffb
|
[maven-release-plugin] prepare for next development iteration
|
8 years ago |
Mahmoud Ben Hassine
|
1184d25b14
|
[maven-release-plugin] prepare release easy-rules-3.0.0
|
8 years ago |
Mahmoud Ben Hassine
|
b6415aa9a6
|
fix issue when condition/action method have more than one parameter annotated with @Fact
|
8 years ago |
Mahmoud Ben Hassine
|
39d9ec1021
|
add fact injection test
|
8 years ago |
Mahmoud Ben Hassine
|
45aec6d238
|
add sanity checks
|
8 years ago |
Mahmoud Ben Hassine
|
423c704644
|
issue #83 : add Facts.put method and deprecate Facts.add method
|
8 years ago |
Mahmoud Ben Hassine
|
641f10938a
|
refactor tests
|
8 years ago |
Mahmoud Ben Hassine
|
05c0cac5b5
|
move cobertura plugin to core module. Tutorials should not be included in test coverage
|
8 years ago |
Mahmoud Ben Hassine
|
f37546c367
|
issue #82 : fix NPE in default engine when a fact is null
|
8 years ago |
Mahmoud Ben Hassine
|
1c41701599
|
add license header
|
8 years ago |
Mahmoud Ben Hassine
|
b3821ef271
|
add method to unregister rule by name ( issue 64 )
|
8 years ago |
Mahmoud Ben Hassine
|
65f65e310d
|
add Rules tests
|
8 years ago |
Mahmoud Ben Hassine
|
669cbcfeac
|
add Facts tests
|
8 years ago |
Mahmoud Ben Hassine
|
9124cdddc3
|
handle IllegalArgumentException when fact type does not match parameter type
|
8 years ago |
Mahmoud Ben Hassine
|
90ec13b00a
|
add a check on the return type of action method which should be void
|
8 years ago |
Mahmoud Ben Hassine
|
1e8505ec52
|
rename test classes
|
8 years ago |
Mahmoud Ben Hassine
|
35b786509d
|
update javadoc
|
8 years ago |
Mahmoud Ben Hassine
|
37d7bb8f93
|
move license header plugin to core module
|
8 years ago |
Caglar Gonul
|
1d7cd95b4f
|
use Java 7 APIs to get parameter annotations
|
8 years ago |
Mahmoud Ben Hassine
|
bbd966a3c5
|
remove unused logger
|
8 years ago |