Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
RHPAM-2307 Guided Scorecard can not be tested according its name (#2520)

* Fixed methods that are used to find the package with a RuleUnit, so

that the model name can be in either upper or lower case.

* Updated the unit tests in kie-pmml so that they all use the

PMML4ExecutionHelper. This allowed refactoring of other classes, to

remove duplicated methods for determining the RuleUnit class to be used.

* Updated one of the test PMML resources (in kie-pmml) so that it has a

model name that starts with a lower case letter. This should make sure

that we are testing models with both upper and lower case letters at the

start of the model name.

  1. … 9 more files in changeset.
RHDM-766 / DROOLS-3404 (#2202)

* DROOLS-3404 Finish removing 'declare' statements from generated rules

@Ignored tests in guided scorecards that don't work due to empty field names

RHDM-766 Implementing REST API/kie-server support for PMML

Requested updates

Made requested change to the PMML4Compiler

* Added back in tests that had been @Ignored

Added back tests that had been @Ignored. This required updating the

Helper so that it produced scorecard models that had valid output field

definitions.

  1. … 46 more files in changeset.
DROOLS-3180 Split RuleUnitRegistry to two separate classes (#2119)

* DROOLS-3180 Encapsulate two different behaviours of RuleUnitRegistry

* DROOLS-3180 Fix PMML executor

  1. … 22 more files in changeset.
DROOLS-2972 Don't use Collections.emptyList() as a class provided to PMML template (#2060)

* Don't use Collections.emptyList() as a class provided to PMML template

* Add comment about not using Collections.emptyList() in PMML classes

  1. … 4 more files in changeset.
Ignore randomly failing tests till problem is investigated and fixed (#2053)

DROOLS-2908 Guided Score Card (#2035)

* Fixed/updated unit tests and verified that scorecards are compiling and executing

* Added ability to use external types when using the PMML4ExecutionHelper

    • -97
    • +138
    ./ExternalObjectModelTest.java
  1. … 1 more file in changeset.
RHDM-594 Cleanup of PMML code (#1929)

    • -88
    • +55
    ./ScorecardProviderPMMLTest.java
    • -196
    • +190
    ./ScorecardReasonCodeTest.java
  1. … 19 more files in changeset.
RHDM-594 Remove drools-pmml dependency (#1922)

* Helper classes to streamline the creation of the elements necessary for submitting

a request to a PMML rule unit.

Updated tests to make use of the new helper classes

* * Removing dependencies on drools-pmml

* Changed the package for classes generated from the PMML schema and updated references to the package

* Added new methods for retrieving a KieBase, or a string that contains the PMML generated from a spreadsheet,

from the ScoreCardProvider and ScoreCardFactory classes

* * Making drools-scorecards work with kie-pmml

* Removing reliance by guided scorecards and adding in support for external beans

    • -261
    • +155
    ./ScorecardReasonCodeTest.java
  1. … 71 more files in changeset.
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.

  1. … 261 more files in changeset.
Fixes testPMMLDocument() which passed only accidentally in previous runs (#1109)

Test testPMMLDocument() used uninitialized variables from class. In previous runs it passed

only accidentally, because the variables were initialized from previous tests in the class.

[DROOLS-1170] drools-pmml: use 'xjc' binary instead of jaxb2-maven-plugin (#814)

* jaxb2-maven-plugin is not yet supported on JDK9. The original

idea was to create new profile which would be jdk9-specific

and use the exec-maven-plugin only there. However, this does not

work because the classes generated directly by 'xjc' and the

plugin are not exactly the same. The one big difference is that

the plugin useis 'is' prefix for Boolean properties whereas

xjc will use 'get' prefix (e.g. public Boolean isAdult() vs

public Boolean getAdult()). It seems the later is correct as

'is' should only be used for primitive boolean, and not for object

type Boolean (http://download.oracle.com/otndocs/jcp/7224-javabeans-1.01-fr-spec-oth-JSpec/).

To make the configuration easier, the plugin was removed

and the jxc is called directly.

  1. … 3 more files in changeset.
changes in license header closes #586

  1. … 5161 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

  1. … 2507 more files in changeset.
Make PMML comply with WM and TMS correct action semantics

  1. … 14 more files in changeset.
Upgrade PMML to version 4.2.1 (cherry picked from commit 43dff4901e2d4d5cf56931d72bd5c239714ebc09)

  1. … 414 more files in changeset.
fix pmml test

Fix deprecated jUnit imports and methods

  1. … 37 more files in changeset.
[DROOLS-432] Types declared in a foreign package are processed one at a time

  1. … 6 more files in changeset.
[DROOLS-116] Import PMML files as resources

  1. … 15 more files in changeset.
[drools-scorecard, drools-pmml] Merge Scorecards and PMML

    • -15
    • +25
    ./ScorecardProviderPMMLTest.java
    • -242
    • +298
    ./ScorecardReasonCodeTest.java
  1. … 44 more files in changeset.
drools-scorecards: making imports row optional in the excel

drools-scorecards: initial changes for introducing multiple scoring strategies

drools-scorecards: Changes for multiple scoring strategies (AGGREGATE, AVERAGE, MINIMUM, MAXIMUM)

drools-scorecards: Addition of tests for all scoring strategies

additions to fully implement reasonCodeAlgorithm as per PMML 4.1 Scorecard spec

    • -20
    • +167
    ./ScorecardReasonCodeTest.java
    • -0
    • +229
    ./ScoringStrategiesTest.java
  1. … 13 more files in changeset.
drools-scorecards: New Test for reading the ScorecardConfiguration via the properties file (cherry picked from commit 39e93ccb2fcd63c566b5396d8c22e389d203556c)

drools-scorecards: modifications to add the package name in kmodule.xml

(cherry picked from commit c289f909318bd9c61a7b8643ee8aa54f309287ed)

(cherry picked from commit 079ddb02954ef3536d41798bd71833fb62de66db)

  1. … 3 more files in changeset.
drools-scorecards: New Test for reading the ScorecardConfiguration via the properties file (cherry picked from commit 39e93ccb2fcd63c566b5396d8c22e389d203556c)

drools-scorecards: modifications to add the package name in kmodule.xml

(cherry picked from commit c289f909318bd9c61a7b8643ee8aa54f309287ed)

  1. … 3 more files in changeset.
drools-scorecards: addition of a test for scorecard resource referenced by kmodule.xml (cherry picked from commit 64e4e3d377fb941469918002a8fbb0755c15931b)

    • -0
    • +44
    ./ScorecardsKModuleTest.java
  1. … 2 more files in changeset.
drools-scorecards: addition of a test for scorecard resource referenced by kmodule.xml

    • -0
    • +44
    ./ScorecardsKModuleTest.java
  1. … 2 more files in changeset.
drools-scorecards: addition of functionality to accept PMML file as input for scorecards.

    • -0
    • +75
    ./ScorecardProviderPMMLTest.java
  1. … 4 more files in changeset.
addition of new ScoreCardConfiguration option functionality and associated tests.

  1. … 3 more files in changeset.
addition of tests for ScorecardProvider

    • -0
    • +88
    ./ScorecardProviderTest.java
fix failing tests caused by new junit version

  1. … 1 more file in changeset.
Resolve split-packages: move everything from kie-api under org.kie.api: move classes directly under org.kie.io

  1. … 206 more files in changeset.