Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DROOLS-4184 Fix first set of issues reported by SonarCloud (#2398)

* DROOLS-4181 Fix blocker issues reported by SonarCloud

* DROOLS-4181 Fix critical issues reported by SonarCloud

* DROOLS-4181 Fix first set of major issues reported by SonarCloud

* DROOLS-4181 Fix second set of major issues reported by SonarCloud

* DROOLS-4181 Fix third set of major issues reported by SonarCloud

* DROOLS-4181 Fix test related to SonarCloud fixes.

* DROOLS-4181 Fix downstream problems.

  1. … 147 more files in changeset.
fix logging in HelloWorld example

fix compilation problem

    • -10
    • +7
    ./helloworld/HelloWorldExample.java
Update backward chaining example (#2182)

Update backward chaining example

    • -2
    • +2
    ./backwardchaining/HouseOfDoomMain.java
  1. … 1 more file in changeset.
Update HelloWorldExample (#2178)

Update HelloWorldExample to align with updated docs

    • -10
    • +10
    ./helloworld/HelloWorldExample.java
DROOLS-1607 Internal refactor removing KnowledgeBase in preparation for DROOLS-1583 (#1293)

* DROOLS-1583 Refactor KnowledgeBaseImpl

step1

Passes just src main compilation with :

```

$ mvn clean compile -pl \!drools-examples

```

* Align drools-core tests

* Method change

InternalKnowledgeBase

from:

void addPackages( final Collection<InternalKnowledgePackage> newPkgs );

to:

void addPackages( final Collection<KiePackage> newPkgs );

* Align drools-beliefs tests.

* Align drools-cdi tests.

* Align drools-templates tests.

* Align drools-decisiontables tests.

* Align drools-verifier tests.

* Align drools-persistence-jpa tests.

* Align drools-examples CODE.

* Align drools-scorecards tests.

* Align drools-test-suite tests.

* Align removal of KnowledgeRuntimer(EventManager|Logger) interfaces.

* rebase code.

* Rebase drools-compiler tests package org.drools.compiler

* Rebase drools-compiler tests package org.drools.compiler.api

* Rebase drools-compiler tests package org.drools.compiler.beliefsystem.abductive

* Rebase drools-compiler tests package org.drools.compiler.beliefsystem.defeasible

* Rebase drools-compiler tests package org.drools.compiler.beliefsystem.jtms

* Rebase drools-compiler tests package org.drools.compiler.builder.impl

* Rebase drools-compiler tests package org.drools.compiler.command

* Rebase drools-compiler tests package org.drools.compiler.common

* Rebase drools-compiler tests package org.drools.compiler.compiler

* Rebase drools-compiler tests package org.drools.compiler.xml.changeset

* Rebase drools-compiler tests package org.drools.compiler.conf

* Rebase drools-compiler tests package org.drools.compiler.definitions

* Rebase drools-compiler tests package org.drools.compiler.factmodel.traits

* Fix rebase of CommonTestMethodBase

* Rebase drools-compiler tests package org.drools.compiler.integrationtests A-E

* Rebase drools-compiler tests package org.drools.compiler.integrationtests F-L

* Rebase drools-compiler tests package org.drools.compiler.integrationtests M-R

* Rebase drools-compiler tests package org.drools.compiler.integrationtests S-Z

* Rebase drools-compiler tests package org.drools.compiler.integrationtests.drl

* Rebase drools-compiler tests package org.drools.compiler.integrationtests.eventgenerator.example

* Rebase drools-compiler tests package org.drools.compiler.integrationtests.incrementalcompilation

* Rebase drools-compiler tests package org.drools.compiler.integrationtests.manners

* Rebase drools-compiler tests package org.drools.compiler.integrationtests.marshalling

* Rebase drools-compiler tests package org.drools.compiler.integrationtests.operators

* Rebase drools-compiler tests package org.drools.compiler.integrationtests.sequential

* Rebase drools-compiler tests package org.drools.compiler.integrationtests.session

* Rebase drools-compiler tests package org.drools.compiler.integrationtests.waltz

* Rebase drools-compiler tests package org.drools.compiler.lang.api

* Rebase drools-compiler tests package org.drools.compiler.phreak

* Rebase drools-compiler tests package org.drools.compiler.reteoo

* Rebase drools-compiler tests package org.drools.compiler.rule.builder.java

* Rebase drools-compiler tests package org.drools.compiler.rule.builder.mvel

* Rebase drools-compiler tests package org.drools.compiler.test

* Rebase drools-compiler tests package org.drools.compiler.util.debug

* Align drools-core org.drools.core.osgi.Activator CODE.

    • -6
    • +6
    ./workitemconsequence/WorkItemConsequenceExample1.java
    • -5
    • +6
    ./workitemconsequence/WorkItemConsequenceExample2.java
  1. … 259 more files in changeset.
fix examples after having enabled property reactivity by default (#1129)

(cherry picked from commit 02004198b9598fc7445754e85bbf84ad2810383d)

  1. … 63 more files in changeset.
fix examples after having enabled property reactivity by default (#1129)

  1. … 63 more files in changeset.
[DROOLS-1377] remove reteoo implementation (#1026)

  1. … 574 more files in changeset.
Fix drools-example Sudoku grid "Dump" feature (#1018)

(cherry picked from commit 6c2d532b369addaa75d3e886510c8d43cd03f48f)

Fix drools-example Sudoku grid "Dump" feature (#1018)

uncomment trait examples

uncomment trait examples

(cherry picked from commit 7973f4beab4e14ecca0e23cbe551c986761210d3)

[DROOLS-1261] browse trait class hierarchy when creating a mixin and implement conflict resolution strategy

  1. … 9 more files in changeset.
[DROOLS-1261] browse trait class hierarchy when creating a mixin and implement conflict resolution strategy

(cherry picked from commit e7a8aaac83ea0e1549d3ebcfa62ad18ea50fa528)

Conflicts:

drools-compiler/src/test/java/org/drools/compiler/factmodel/traits/TraitTest.java

  1. … 9 more files in changeset.
[DROOLS-1026] Allow FromNodes sharing

    • -32
    • +18
    ./performance/PerformanceExample.java
  1. … 26 more files in changeset.
[DROOLS-1026] Allow FromNodes sharing

(cherry picked from commit b9b06186b1d632cfeacd7ac4619e262439b2352c)

    • -32
    • +18
    ./performance/PerformanceExample.java
  1. … 26 more files in changeset.
Added nodeHashCode to all nodes.

    • -0
    • +273
    ./performance/PerformanceExample.java
  1. … 20 more files in changeset.
Added nodeHashCode to all nodes.

(cherry picked from commit 1b3c16ba5969b70890214320b006367966418cc2)

    • -0
    • +273
    ./performance/PerformanceExample.java
  1. … 20 more files in changeset.
changes in license header closes #586

    • -1
    • +1
    ./backwardchaining/HouseOfDoomMain.java
  1. … 5157 more files in changeset.
fix and speed up drools examples

    • -8
    • +5
    ./decisiontable/PricingRuleDTExample.java
    • -7
    • +4
    ./decisiontable/PricingRuleTemplateExample.java
    • -11
    • +15
    ./helloworld/HelloWorldExample.java
    • -1
    • +4
    ./honestpolitician/HonestPoliticianExample.java
    • -7
    • +10
    ./state/StateExampleUsingAgendaGroup.java
    • -9
    • +12
    ./state/StateExampleUsingSalience.java
    • -5
    • +3
    ./templates/SimpleRuleTemplateExample.java
    • -23
    • +8
    ./troubleticket/TroubleTicketExample.java
    • -27
    • +8
    ./troubleticket/TroubleTicketExampleWithDSL.java
  1. … 12 more files in changeset.
fix and speed up drools examples

(cherry picked from commit d2e6b424f328cda15998da7e176a74f02935021c)

    • -8
    • +5
    ./decisiontable/PricingRuleDTExample.java
    • -7
    • +4
    ./decisiontable/PricingRuleTemplateExample.java
    • -11
    • +15
    ./helloworld/HelloWorldExample.java
    • -1
    • +4
    ./honestpolitician/HonestPoliticianExample.java
    • -7
    • +10
    ./state/StateExampleUsingAgendaGroup.java
    • -9
    • +12
    ./state/StateExampleUsingSalience.java
    • -5
    • +3
    ./templates/SimpleRuleTemplateExample.java
    • -23
    • +8
    ./troubleticket/TroubleTicketExample.java
    • -27
    • +8
    ./troubleticket/TroubleTicketExampleWithDSL.java
  1. … 12 more files in changeset.
[DROOLS-879] add support for Drools Rule Template in KIE API

    • -83
    • +5
    ./decisiontable/PricingRuleTemplateExample.java
    • -73
    • +6
    ./templates/SimpleRuleTemplateExample.java
  1. … 14 more files in changeset.
[DROOLS-879] add support for Drools Rule Template in KIE API

(cherry picked from commit fc9bcc75cfff8b7a7828215e94f417f9c9dc53b0)

    • -83
    • +5
    ./decisiontable/PricingRuleTemplateExample.java
    • -73
    • +6
    ./templates/SimpleRuleTemplateExample.java
  1. … 14 more files in changeset.
Add missing ASL licenses

* fixed failing tests caused by aditional text in

some .drl files

* drools-templates module is still missing some headers

in .drl files, becuase of bug in the parser. These will

be fixed by additional PR

    • -0
    • +15
    ./backwardchaining/HouseOfDoomMain.java
  1. … 2503 more files in changeset.
More Drools Examples

(cherry picked from commit 683f361e65f2cf70a59eca1113bd2b188bdba55e)

More Drools Examples

(cherry picked from commit f064ecc8a6f151ad1969090f880a42e974e62d2a)

    • -0
    • +55
    ./birdsfly/Bird.java
    • -0
    • +55
    ./birdsfly/BirdsFlyExample.java
    • -0
    • +55
    ./birdsfly/Broken.java
    • -0
    • +41
    ./birdsfly/Rocket.java
    • -0
    • +32
    ./buspass/AdultBusPass.java
    • -0
    • +41
    ./buspass/BadBehaviour.java
    • -0
    • +41
    ./buspass/BusPass.java
    • -0
    • +23
    ./buspass/BussPassBadExample.java
    • -0
    • +23
    ./buspass/BussPassGoodExample.java
    • -0
    • +45
    ./buspass/BussPassJTMSExample.java
    • -0
    • +32
    ./buspass/ChildBusPass.java
    • -0
    • +41
    ./buspass/IsAdult.java
    • -0
    • +41
    ./buspass/IsChild.java
    • -0
    • +55
    ./buspass/Person.java
  1. … 24 more files in changeset.
move tutorials.banking to examples

(cherry picked from commit 6e47bb3438aba66f7fe95aa7a6957291e6a35e2e)

  1. … 26 more files in changeset.
move tutorials.banking to examples

  1. … 26 more files in changeset.
[DROOLS-506] fix compilation warnings in drools examples

    • -2
    • +0
    ./backwardchaining/HouseOfDoomMain.java
    • -1
    • +0
    ./state/StateExampleUsingAgendaGroup.java
    • -1
    • +0
    ./state/StateExampleUsingSalience.java
  1. … 4 more files in changeset.