Drools Documentation

Total Page:16

File Type:pdf, Size:1020Kb

Drools Documentation Drools Documentation The JBoss Drools team [http://www.drools.org/community/team.html] Drools Documentation by Version 6.3.0.CR2 ...................................................................................................................................... xiv I. Welcome ........................................................................................................................ 1 1. Introduction ......................................................................................................... 2 1.1. Introduction ................................................................................................ 2 1.2. Getting Involved .......................................................................................... 2 1.2.1. Sign up to jboss.org ......................................................................... 3 1.2.2. Sign the Contributor Agreement ........................................................ 3 1.2.3. Submitting issues via JIRA ............................................................... 4 1.2.4. Fork GitHub ..................................................................................... 5 1.2.5. Writing Tests ................................................................................... 5 1.2.6. Commit with Correct Conventions ..................................................... 7 1.2.7. Submit Pull Requests ....................................................................... 8 1.3. Installation and Setup (Core and IDE) ........................................................ 10 1.3.1. Installing and using ........................................................................ 10 1.3.2. Building from source ....................................................................... 20 1.3.3. Eclipse ........................................................................................... 21 2. Release Notes .................................................................................................... 28 2.1. What is New and Noteworthy in Drools 6.3.0 .............................................. 28 2.1.1. Real Time Validation and Verification for the Decision Tables ............ 28 2.1.2. Improved DRL Editor ...................................................................... 28 2.1.3. Browsing graphs of objects with OOPath ......................................... 29 2.2. New and Noteworthy in KIE Workbench 6.3.0 ............................................. 31 2.2.1. Generation of JPA enabled Data Models ......................................... 31 2.2.2. Data Set Authoring ......................................................................... 33 2.3. What is New and Noteworthy in Drools 6.2.0 .............................................. 34 2.3.1. Propagation modes ........................................................................ 34 2.4. New and Noteworthy in KIE Workbench 6.2.0 ............................................. 36 2.4.1. Download Repository or Part of the Repository as a ZIP ................... 36 2.4.2. Project Editor permissions .............................................................. 37 2.4.3. Unify validation style in Guided Decision Table Wizard. ..................... 38 2.4.4. Improved Wizards .......................................................................... 38 2.4.5. Consistent behaviour of XLS, Guided Decision Tables and Guided Templates ............................................................................................... 39 2.4.6. Improved Metadata Tab .................................................................. 40 2.4.7. Improved Data Objects Editor ......................................................... 43 2.4.8. Execution Server Management UI ................................................... 45 2.4.9. Social Activities .............................................................................. 46 2.4.10. Contributors Dashboard ................................................................ 48 2.4.11. Package selector .......................................................................... 49 2.4.12. Improved visual consistency .......................................................... 50 2.4.13. Guided Decision Tree Editor ......................................................... 52 2.4.14. Create Repository Wizard ............................................................. 53 2.4.15. Repository Structure Screen .......................................................... 54 2.5. New and Noteworthy in Integration 6.2.0 .................................................... 56 iii Drools Documentation 2.5.1. KIE Execution Server ..................................................................... 56 2.6. What is New and Noteworthy in Drools 6.1.0 .............................................. 58 2.6.1. JMX support for KieScanner ........................................................... 58 2.7. New and Noteworthy in KIE Workbench 6.1.0 ............................................. 58 2.7.1. Data Modeler - round trip and source code preservation .................... 58 2.7.2. Data Modeler - improved annotations .............................................. 58 2.7.3. Standardization of the display of tabular data ................................... 58 2.7.4. Generation of modify(x) {...} blocks ........................................... 59 2.8. New and Noteworthy in KIE API 6.0.0 ........................................................ 60 2.8.1. New KIE name ............................................................................... 60 2.8.2. Maven aligned projects and modules and Maven Deployment ............ 60 2.8.3. Configuration and convention based projects ................................... 61 2.8.4. KieBase Inclusion ........................................................................... 61 2.8.5. KieModules, KieContainer and KIE-CI .............................................. 62 2.8.6. KieScanner .................................................................................... 62 2.8.7. Hierarchical ClassLoader ................................................................ 63 2.8.8. Legacy API Adapter ....................................................................... 63 2.8.9. KIE Documentation ........................................................................ 63 2.9. What is New and Noteworthy in Drools 6.0.0 .............................................. 64 2.9.1. PHREAK - Lazy rule matching algorithm .......................................... 64 2.9.2. Automatically firing timed rule in passive mode ................................. 64 2.9.3. Expression Timers .......................................................................... 65 2.9.4. RuleFlowGroups and AgendaGroups are merged ............................. 66 2.10. New and Noteworthy in KIE Workbench 6.0.0 ........................................... 66 2.11. New and Noteworthy in Integration 6.0.0 .................................................. 69 2.11.1. CDI .............................................................................................. 69 2.11.2. Spring .......................................................................................... 70 2.11.3. Aries Blueprints ............................................................................ 70 2.11.4. OSGi Ready ................................................................................ 70 3. Compatibility matrix ........................................................................................... 71 II. KIE ............................................................................................................................. 72 4. KIE ..................................................................................................................... 73 4.1. Overview .................................................................................................. 73 4.1.1. Anatomy of Projects ....................................................................... 73 4.1.2. Lifecycles ....................................................................................... 74 4.2. Build, Deploy, Utilize and Run ................................................................... 75 4.2.1. Introduction .................................................................................... 75 4.2.2. Building ......................................................................................... 78 4.2.3. Deploying ...................................................................................... 95 4.2.4. Running ....................................................................................... 100 4.2.5. Installation and Deployment Cheat Sheets ..................................... 115 4.2.6. Build, Deploy and Utilize Examples ................................................ 116 4.3. Security .................................................................................................. 127 4.3.1. Security Manager ......................................................................... 127 iv Drools Documentation III. Drools Runtime and Language .................................................................................. 130 5. Hybrid Reasoning ............................................................................................ 131 5.1. Artificial Intelligence ................................................................................. 131 5.1.1. A Little History ............................................................................. 131 5.1.2.
Recommended publications
  • 8.2. Drools Fusion
    Drools Documentation Version 6.2.0.CR4 by The JBoss Drools team [http://www.jboss.org/drools/team.html] ....................................................................................................................................... xiii I. Welcome ........................................................................................................................ 1 1. Introduction ......................................................................................................... 3 1.1. Introduction ................................................................................................ 3 1.2. Getting Involved .......................................................................................... 3 1.2.1. Sign up to jboss.org ......................................................................... 4 1.2.2. Sign the Contributor Agreement ........................................................ 4 1.2.3. Submitting issues via JIRA ............................................................... 5 1.2.4. Fork GitHub ..................................................................................... 6 1.2.5. Writing Tests ................................................................................... 6 1.2.6. Commit with Correct Conventions ..................................................... 8 1.2.7. Submit Pull Requests ....................................................................... 9 1.3. Installation and Setup (Core and IDE) ........................................................ 11 1.3.1. Installing
    [Show full text]
  • Drools Documentation
    Drools Documentation Version 6.1.0.Beta4 by The JBoss Drools team [http://www.jboss.org/drools/team.html] ........................................................................................................................................ xi I. Welcome ........................................................................................................................ 1 1. Introduction ......................................................................................................... 3 1.1. Introduction ................................................................................................ 3 1.2. Getting Involved .......................................................................................... 3 1.2.1. Sign up to jboss.org ......................................................................... 4 1.2.2. Sign the Contributor Agreement ........................................................ 4 1.2.3. Submitting issues via JIRA ............................................................... 5 1.2.4. Fork GitHub ..................................................................................... 6 1.2.5. Writing Tests ................................................................................... 6 1.2.6. Commit with Correct Conventions ..................................................... 8 1.2.7. Submit Pull Requests ....................................................................... 9 1.3. Installation and Setup (Core and IDE) ........................................................ 11 1.3.1. Installing
    [Show full text]
  • Drools 1 Drools
    Drools 1 Drools Drools Developer(s) Red Hat Stable release 5.4.0 / May 14, 2012 Written in Java Operating system Cross-platform Type Rules engine License ASL 2 Website http:/ / www. jboss. org/ drools/ Drools is a business rule management system (BRMS) with a forward chaining inference based rules engine, more correctly known as a production rule system, using an enhanced implementation of the Rete algorithm. Drools supports the JSR-94 standard for its business rule engine and enterprise framework for the construction, maintenance, and enforcement of business policies in an organization, application, or service. History The Drools Project was started by Bob McWhirter in 2001 and registered at SourceForge. Drools 1.0 was never released as the limitations of a brute force linear search approach were soon realised and work started on Drools 2.0, which was loosely based on the Rete algorithm, and the project was moved to Codehaus. During the 2.0 development cycle at Codehaus Nobi Y became the project lead and moved the project to a final 2.0 release. At this point the project had become the leading Java open source rule engine with a strong community and demand had started for commercial services. In October 2005 Drools was federated into JBoss as part of their JEMS offering and rebranded JBoss Rules. In 2006 JBoss itself was acquired by Red Hat. With financial backing from JBoss the JBoss Rules rewrite was possible with a full and enhanced Rete implementation with GUI tooling. Mid 2007 the Drools name was reclaimed since after two years people were still predominantly calling it Drools and having to refer to it as "Drools aka JBoss Rules", or "Drools (JBoss Rules)" was confusing.
    [Show full text]
  • Drools Documentation
    Drools Documentation Version 6.2.0.Beta2 by The JBoss Drools team [http://www.jboss.org/drools/team.html] ....................................................................................................................................... xiii I. Welcome ........................................................................................................................ 1 1. Introduction ......................................................................................................... 3 1.1. Introduction ................................................................................................ 3 1.2. Getting Involved .......................................................................................... 3 1.2.1. Sign up to jboss.org ......................................................................... 4 1.2.2. Sign the Contributor Agreement ........................................................ 4 1.2.3. Submitting issues via JIRA ............................................................... 5 1.2.4. Fork GitHub ..................................................................................... 6 1.2.5. Writing Tests ................................................................................... 6 1.2.6. Commit with Correct Conventions ..................................................... 8 1.2.7. Submit Pull Requests ....................................................................... 9 1.3. Installation and Setup (Core and IDE) ........................................................ 11 1.3.1. Installing
    [Show full text]