Uploaded image for project: 'BxMS Documentation'
  1. BxMS Documentation
  2. BXMSDOC-3377

Using example decisions for DM/PAM

    XMLWordPrintable

Details

    • Epic
    • Resolution: Done
    • Minor
    • None
    • 7.1
    • None
    • Decision Services Examples

    Description

      Target users: Business analyst and business rules developer (citizen dev and java dev). See persona profiles for details.

      Squad:

      • Luca M., Edoardo V. (eng)
      • Tibor Z. (QE)

      TOC for Hackathon work:
      1. Example projects and decisions in Decision/Business Central - Stetson (DM: Course, Dinner, Employee, Mortgages, OptaCloud)
      1.1 Accessing and executing example decisions in Central (Done, here)
      Prerequisites:

      • Central and KIE server are installed and running.

      2. Example decisions for an Eclipse IDE in DM/PAM (clean up and add to Examples section of Drools doc) - Stetson
      2.1 Downloading and executing DM/PAM example decisions (expand and clean up Getting examples section in Drools) - Ron

      • Prereqs:
        • JBoss Dev Studio (Eclipse + plugins)
        • Java
        • Maven

      2.1. Hello world example ( ) - Ron
      2.2 State example (forward chaining) - Maurizio
      2.3 Fibonacci example ( ) - Maurizio
      2.4 Banking example ( ) - Barry
      2.5 Pricing rule decision table example ( ) - Tim
      2.6. Pet store example ( ) - Tim
      2.7 Honest politician example ( ) - Tim
      2.8 Sudoku example ( ) - Justin
      2.9 Number guess example ( )
      2.10 Conway's game of life example ( ) - In drools-jbpm-integration repo - Barry
      2.11 Invader's example ( )
      2.12 Adventures with Drools example ( )
      2.13 Pong example ( )
      2.14 Wumpus world ( )
      2.15 Backward chaining ( ) - Justin

      Final TOC (in decision services GSG):
      6. Example projects and business assets in Decision Central
      6.1. Accessing example projects and business assets in Decision Central
      6.2. Executing rules
      7. Example decisions in Red Hat Decision Manager for an IDE
      7.1. Importing and executing Red Hat Decision Manager example decisions in an IDE
      7.2. Hello World example decisions (basic rules and debugging)
      7.3. State example decisions (forward chaining and conflict resolution)
      7.4. Fibonacci example decisions (recursion and conflict resolution)
      7.5. Banking example decisions (pattern matching, sorting, and calculation)
      7.6. Pricing example decisions (decision tables)
      7.7. Pet Store example decisions (agenda groups, global variables, callbacks, and GUI integration)
      7.8. Honest Politician example decisions (truth maintenance and salience)
      7.9. Sudoku example decisions (complex pattern matching, callbacks, and GUI integration)
      7.10. Conway’s Game of Life example decisions (ruleflow groups and GUI integration)
      7.11. House of Doom example decisions (backward chaining and recursion)

      Links:

      • GitHub source to Drools examples - For productization, in source distribution at src/drools-<version>/drools-examples.
      • GitHub source to drools-jbpm-integration - For Conway example
      • Source distro source/step:
        ifdef::DM,PAM[]
        Download the *{PRODUCT} {PRODUCT_VERSION_LONG} Source Distribution* from the https://access.redhat.com/jbossnetwork/restricted/listSoftware.html[Red Hat Customer Portal] and navigate to `~/{PRODUCT_FILE}-sources/src/drools-$VERSION/drools-examples/src/main/java/org/drools/examples`.
        endif::[]
        ifdef::DROOLS,JBPM,OP[]
        Clone the {PRODUCT} source in https://github.com/kiegroup/drools/tree/master/drools-examples[GitHub] and navigate to `drools/drools-examples` to access the examples project.
        endif::[]
        
        <Need a note that the Conway example is in jbpm-drools integration.
        
      • Documented examples in Drools doc

      Attachments

        Activity

          People

            sterobin@redhat.com Stetson Robinson (Inactive)
            viyengar@redhat.com Vidya Iyengar
            Mario Fusco
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: