Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Develop v0.8.1 (deliveredtechnologies#94)
* Update gradle.properties * Update README.md * Update gradle.properties * Update build.gradle * Update gradle.properties * Update gradle.properties * Update README.md * Update README.md * Update README.md * Update README.md * added given(String, T) method and cleaned up Decision interface - all changes were non-breaking * added given(String, T) method to RuleBook * updated DecisionBook tests for new given(String, T) method * StandardRule updated to include then() consumer and chained then() methods * then method updates: chaining then's, consumer, biconsumer; all old tests pass * Update README.md * Update README.md * Update README.md * Update README.md * added using and stop verbs to DSL and converted then methods to Consumers for simplicity. * tests added, updated and corrected * Update README.md * Update README.md * Update README.md * Update README.md * checkstyle updates + FactMap setValue convenience method * updated tests for code coverage and fixed resulting bugs/errors * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * updated version to 0.3.5-SNAPSHOT * Update README.md * Update gradle.properties * changed chaining methods in StandardDecision to return the Decision interface instead of the StandardDecision implementation * changed the getThen() method to return a List<Object> instead of an Object - then's can be chained, so this makes sense ;) * updated rules to continue to the next rule in the chain if there is an error in the when or then * added back in source copy for coveralls * changed parent project to 'java' for coveralls * added private constructor to ArrayUtils * make utility classes final * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Issue39 generic facts (deliveredtechnologies#42) * work in progress - generic Fact unwinding * facts to work generically across rulebooks style and additional tests pending * when and then methods in the DSL get filtered facts based on type style updates are needed some refactoring is also needed * StandardDecision and RuleAdapter to use composition instead of inheritance * added more tests and fixed some minor errors * style updates for comments * style updates for tests * Update README.md * Update README.md * Update README.md * Issue39 generic facts (deliveredtechnologies#44) * work in progress - generic Fact unwinding * facts to work generically across rulebooks style and additional tests pending * when and then methods in the DSL get filtered facts based on type style updates are needed some refactoring is also needed * StandardDecision and RuleAdapter to use composition instead of inheritance * added more tests and fixed some minor errors * style updates for comments * style updates for tests * Issue39 fact value conversions (deliveredtechnologies#45) * work in progress - generic Fact unwinding * facts to work generically across rulebooks style and additional tests pending * when and then methods in the DSL get filtered facts based on type style updates are needed some refactoring is also needed * StandardDecision and RuleAdapter to use composition instead of inheritance * added more tests and fixed some minor errors * style updates for comments * style updates for tests * added easy Fact value type queries * added some tests and fixed style * Update FactMap.java * remove cache from travis * Update README.md * just gradle cache for travis * removed deploy from travis * Update README.md * 0.4.1-SNAPSHOT * Issue43 refactor dsl (deliveredtechnologies#47) * setting up the builders * CoR pattern draft with GoldenRule Rule implementation CoRRuleBook will be one RuleBook implementation - the rule chain is therefore delegated to the RuleBook. Future RuleBook implementations will likely be determined by a factory. <- that's the idea currently Afterwards, the existing interface will be preserved (although some it will likely be marked as deprecated). * CoR RuleBook implementation * deprecated RuleAdapter and RuleBookRunner and added their replacements * * added some tests for RuleBuilder * added some tests for CoRRuleBook * made it so that the FactMap is passed by reference all the way through * RuleBookBuilder added * RuleBookBuilder updated to add rules using lambda * reoorganized packages and completed new POJO Rules adapter & runner * refactored Ruesult, Facts and FactMap so that they are still backwards compatible * RuleBookBuilder integrated with RuleBuilder for a DSL * - updated builders to use the interface(s) - fixed a few erronous references to FactMap - added some test for the RuleBook * fixed using filter to restirct on assignableFrom not on instanceof * refined more of the DSL for rules and rulebooks * updated the DSL and some associated tests for adding rules to rulebooks * the RuleBookBuilder portion of the DSL is now where we want it! * updated the creation of RuleBooks in RuleBookBuilder and added tests * RuleBookBuilder and related tests * RuleBuilder tests and fixing result in GoldenRule * Wrapping up RuleBulder tests * tests completed for DSL * added some more test classes that need to be filled in * more tests added * RuleBookBuilder updated to only allow builder Rules and supplied Rules * JavaDoc comments updated * some RuleAdapter tests added * RuleRunner and RuleAdapters tests * more tests and style updates * style updates * style updates * style updates and a couple of minor fixes in the RuleAdapter * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Issue49 spring support for dsl (deliveredtechnologies#50) * added a FactoryBean and a new SpringRuleBook for RuleBook support in Spring * updated Spring functionality and added tests for RuleBookFactoryBean and SpringRuleBook * updated style * updated README to reflect updates to Spring support for RuleBook. * updated README to reflect updates to Spring support for RuleBook. * Update gradle.properties * Update README.md * updated JavaDocs * updated JavaDocs * added some EditorConfig preferences that align with CheckStyle * fixed issue 55 * fixed issue 54 * tests for issue 54 * Update README.md * Update gradle.properties * Issue52 additional conversions (deliveredtechnologies#59) * added methods for Boolean and BigDecimal conversions * BigDecimal conversion from Double * completed Boolean and BigDecimal conversions * updated JavaDocs * Update README.md * updated to 0.6-SNAPSHOT * updated JavaDoc * updated gradle for gradle wrapper, version update to 0.6 and contributors * changed rulebook-all project to rulebook * Update README.md * updated TypeConvertibleFactMap to delegate toString() for v0.6.1 * removed wildcard import for style compliance & added .sh files to .gitignore * Update README.md * Update README.md * credited contributor abhineet27 for identifying toString() bug of v0.6.1 * updated username credit for abhineet27 * updated to 0.7-SNAPSHOT * Fixed bug where the result isn't chained for reading in POJO rules * added megabank example to source * updated to 0.6.2-SNAPSHOT * Update README.md * Update README.md * updated RuleAdapter to return a true condition if @when attribute is not present * added additional attribution for v0.6.2 * fixed case * Update README.md * Update build.gradle * Update README.md * Update README.md * Issue53 thread safety (deliveredtechnologies#72) * updated the invoke() method for thread safety * updated the CoRRuleBook for thread safety w/facts * tests updated; some failures yet to be resolved * made Handler generic, made RuleAdapter threadsafe (for facts) and mapped facts back to the supplied facts after invocation of GoldenRule * made RuleBookRunner threadsafe for the execution of rules/facts * merged develop changes from v0.6.2 and updated version to 0.7-SNAPSHOT * synchronized defineRules for thread safety * allow for synchorinization in RuleBookRunner for thread safe executions of the run() method * allow spring to create threadsafe RuleBookRunners from annotations using RuleBookFactoryBean * added a RuleBookRunnerFactory for POJO RuleBook thread safety * added Spring support for RuleBookRunnerFactory * updated Result for thread safety * updated gradle from 2.4 to 2.7 * updated tests and style * updated checkstyle to increase allowedDistance * updated examples: added helloworld and updated RuleBook version * updated README for Spring POJO enhancements and version numbers * added logging * updated for checkstyle * Issue53 thread safety (deliveredtechnologies#80) * updated the invoke() method for thread safety * updated the CoRRuleBook for thread safety w/facts * tests updated; some failures yet to be resolved * made Handler generic, made RuleAdapter threadsafe (for facts) and mapped facts back to the supplied facts after invocation of GoldenRule * made RuleBookRunner threadsafe for the execution of rules/facts * merged develop changes from v0.6.2 and updated version to 0.7-SNAPSHOT * synchronized defineRules for thread safety * allow for synchorinization in RuleBookRunner for thread safe executions of the run() method * allow spring to create threadsafe RuleBookRunners from annotations using RuleBookFactoryBean * added a RuleBookRunnerFactory for POJO RuleBook thread safety * added Spring support for RuleBookRunnerFactory * updated Result for thread safety * updated gradle from 2.4 to 2.7 * updated tests and style * updated checkstyle to increase allowedDistance * updated examples: added helloworld and updated RuleBook version * updated README for Spring POJO enhancements and version numbers * added logging * updated for checkstyle * updated RuleBookRunner to do copy on run instead of needing a factory * updated hasRules and associated tests for RuleBookRunner * updated spring RuleBookFactoryBean to a singleton * updated spring RuleBookFactoryBean and tests for deprecated methods * concurrent unit test to help verify thread safety * cleaned up some tests * updated javadocs * corrected abnormal behavior of RuleBook Results in thread pools * updated javadocs * added RuleBookRunnerFactory for cleanup * cleaning up RuleBookRunnerFactory * finished cleaning up RuleBookRunnerFactory * updated javadocs * Update README.md * added builders to ensure a default result is set immediately following result type set * updated tests to ensure coverage on adding a rule to a rulebook with the builder * added some meaningful comments. * added functionality to allow rules to break the rule chain when the condition is false * Issue53 thread safety (deliveredtechnologies#81) * updated the invoke() method for thread safety * updated the CoRRuleBook for thread safety w/facts * tests updated; some failures yet to be resolved * made Handler generic, made RuleAdapter threadsafe (for facts) and mapped facts back to the supplied facts after invocation of GoldenRule * made RuleBookRunner threadsafe for the execution of rules/facts * merged develop changes from v0.6.2 and updated version to 0.7-SNAPSHOT * synchronized defineRules for thread safety * allow for synchorinization in RuleBookRunner for thread safe executions of the run() method * allow spring to create threadsafe RuleBookRunners from annotations using RuleBookFactoryBean * added a RuleBookRunnerFactory for POJO RuleBook thread safety * added Spring support for RuleBookRunnerFactory * updated Result for thread safety * updated gradle from 2.4 to 2.7 * updated tests and style * updated checkstyle to increase allowedDistance * updated examples: added helloworld and updated RuleBook version * updated README for Spring POJO enhancements and version numbers * added logging * updated for checkstyle * updated RuleBookRunner to do copy on run instead of needing a factory * updated hasRules and associated tests for RuleBookRunner * updated spring RuleBookFactoryBean to a singleton * updated spring RuleBookFactoryBean and tests for deprecated methods * concurrent unit test to help verify thread safety * cleaned up some tests * updated javadocs * corrected abnormal behavior of RuleBook Results in thread pools * updated javadocs * added RuleBookRunnerFactory for cleanup * cleaning up RuleBookRunnerFactory * finished cleaning up RuleBookRunnerFactory * updated javadocs * cleaned up tests * Update README.md * updated tests for better thread safety testing * Update README.md * Update README.md * updated rulebook version and subprojects * Update README.md * Issue67 enhance dsl (deliveredtechnologies#86) * changed GoldenRule to accept RuleChainActionType enum instead of boolean * cleanup: updated tests and dead code * updated JavaDocs * updated JavaDocs * updated travis ci to deploy snapshots * updated travis ci to deploy snapshots * updated snapshot * updated travis ci for snapshot deployment on development only * testing travis ci automated maven snapshot upload * testing travis ci automated maven snapshot upload * testing travis ci automated maven snapshot upload * testing travis ci automated maven snapshot upload * updated travis ci for automated master and develop snapshot uploads * updated README and travis for develop merge * fixed Hello World with Facts example * corrected eratta with megabank example * corrected eratta with HelloWorld POJO example * Update README.md * corrected eratta with MegaBank POJO example * updated rulebook examples * updated RuleAdapter to not set result fields if null * updated RuleAdapter to not set result is it's not assignable * updated RuleAdapter to not set result is it's not assignable * updated deploy to fail if check fails * updated spring example to no default result value * updated snapshot version to test * updated snapshot version since 0.8-SNAPSHOT wasn't updating * changed README for Spring updates * Update README.md * Update README.md * Update README.md * updated examples to v0.8 * Update README.md * Issue90 pojo results (deliveredtechnologies#93) * Update README.md * updated Result in RuleBookRunner to return as not present if not set * updated version to 0.8.1-SNAPSHOT * added tests for RuleBookRunner results * fixed deliveredtechnologies#91 * corrected checkstyle errors * cleaned up logging and added contributors to maven build * added example spring boot web project * added example spring boot web project * added a couple of missing tests * added updated javadocs * added a missing tests for a Java DSL builder * Update README.md * updated version to 0.8.1
- Loading branch information