Commit Graph

435 Commits (5cee7c6afdb01331b7624d9b83219b346798aa6d)
 

Author SHA1 Message Date
Mahmoud Ben Hassine 5cee7c6afd add air conditioning tutorial
Mahmoud Ben Hassine d8211625b4 add weather tutorial
Mahmoud Ben Hassine e2d0fbb517 add slf4j-simple dependency to tutorials
Mahmoud Ben Hassine baee0735f8 add note about usage of rules engine parameters
Mahmoud Ben Hassine 2e76b0b776 add log when no candidate rules are found
Mahmoud Ben Hassine e7d3705320 add javadoc
Mahmoud Ben Hassine 40e46172eb make inference rules engine final
Mahmoud Ben Hassine 7689e3a14d issue : add InferenceRulesEngine implementation
Mahmoud Ben Hassine 0267ba397c issue : update javadoc to mention that client code should handle runtime exceptions
Mahmoud Ben Hassine a9390c9217 use single quote to log values.
Double quotes were inherited from JUL log syntax
Mahmoud Ben Hassine 4b7ed47da3 use String.valueOf to log facts values
Mahmoud Ben Hassine 22cf89b73c issue : use toString to log engine parameters
Mahmoud Ben Hassine 2505d8ac22 issue : remove skipOnMissingFact parameter
When a fact is missing, the rule should not be triggered
Mahmoud Ben Hassine b228a87578 add slf4j-simple dependency
David Belmez Vicente a074f93e10 [slf4j]: Use SLF4J ()
Use SLF4J instead of JUL
wg1j a342bc26ad Remove unnecessary method and interface ()
* remove unnecessary Comparable interface

* remove sort from Rules API

* fix creating Rules with a Set
wg1j db6438350c Override equals()/hashCode()/toString() same as BasicRule ()
* override equals()/hashCode()/toString() same as BasicRule

* replace if with switch
Mahmoud Ben Hassine 503f5f063a Use openjdk7 instead of oraclejdk7
Seems like oraclejdk7 is no longer supported by travis ci (see )
Mahmoud Ben Hassine ec8918820a fix link to travis ci logo
David Belmez Vicente 31eee54ae7 [subFacts]: Conditions or Actions can have subclass of Facts as parameter ()
* [subFacts]: Conditions or Actions can have subclass of Facts as parameter

* [subFacts]: Added to contributor list :)
wg1j 1170ef9ed9 replace `Utils.getInterfaces` with `instanceof` ()
replace `Utils.getInterfaces` with `instanceof`
wg1j eabb56042f improve the Facts api ()
Mahmoud Ben Hassine 511f074cde add wg1j to contributors list
wg1j d58a258f35 A little optimization in RuleProxy.java ()
lazy-init names + convert Integer to int
Mahmoud Ben Hassine dd20ea49e3 add maven enforce plugin version
Mahmoud Ben Hassine 527f4fb6b4 update development version to 3.1.0-SNAPSHOT
Mahmoud Ben Hassine 6661401c60 issue : add skipOnMissingFact parameter
Mahmoud Ben Hassine bb92448873 add public constructor with rules engine parameters
Mahmoud Ben Hassine f50eebb646 remove deprecated APIs
Mahmoud Ben Hassine 79b131cffb [maven-release-plugin] prepare for next development iteration
Mahmoud Ben Hassine 1184d25b14 [maven-release-plugin] prepare release easy-rules-3.0.0
Mahmoud Ben Hassine 0823280220 update quick start archetype version to 3.0.0
Mahmoud Ben Hassine ecc19985ee update readme for version 3.0
Mahmoud Ben Hassine aa27bfcb2b use tomcat7-maven-plugin to run the webapp tutorial
Mahmoud Ben Hassine b3f4e2b406 remove unused readme file
Mahmoud Ben Hassine b6415aa9a6 fix issue when condition/action method have more than one parameter annotated with @Fact
Mahmoud Ben Hassine 39d9ec1021 add fact injection test
Mahmoud Ben Hassine 45aec6d238 add sanity checks
Mahmoud Ben Hassine 423c704644 issue : add Facts.put method and deprecate Facts.add method
Mahmoud Ben Hassine 8af593b3c2 add links to easy rules implementations in other languages
Mahmoud Ben Hassine f8487f7242 remove groovy tutorials
Mahmoud Ben Hassine 641f10938a refactor tests
Mahmoud Ben Hassine 675e54d2c0 remove sonar badge (analysis is in error after changing groupId, which is normal). it will be put back when sonar analysis is working again
Mahmoud Ben Hassine 05c0cac5b5 move cobertura plugin to core module. Tutorials should not be included in test coverage
Mahmoud Ben Hassine f37546c367 issue : fix NPE in default engine when a fact is null
Mahmoud Ben Hassine 1c41701599 add license header
Mahmoud Ben Hassine b3821ef271 add method to unregister rule by name ( issue 64 )
Mahmoud Ben Hassine 65f65e310d add Rules tests
Mahmoud Ben Hassine 669cbcfeac add Facts tests
Mahmoud Ben Hassine 9124cdddc3 handle IllegalArgumentException when fact type does not match parameter type