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.

    • -0
    • +8
    ./scorecard/backend/test2/GuidedScoreCardIntegrationJavaClassesAddedToKieFileSystemTest.java
  1. … 10 more files in changeset.
DROOLS-2992 : Can't compile the kie module which has guided scorecard (#2366)

    • -0
    • +43
    ./scorecard/backend/ImportsToFQCNTest.java
  1. … 3 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.

    • -0
    • +1
    ./scorecard/backend/test1/GuidedScoreCardIntegrationJavaClassesOnClassPathTest.java
    • -1
    • +3
    ./scorecard/backend/test2/GuidedScoreCardIntegrationJavaClassesAddedToKieFileSystemTest.java
  1. … 43 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

    • -5
    • +2
    ./scorecard/backend/test2/GuidedScoreCardIntegrationJavaClassesAddedToKieFileSystemTest.java
  1. … 25 more files in changeset.
DROOLS-2884 Guided Score Card build fails (#2034)

* Fixed issue that prevented build/compile when the guided scorecard referenced a type without a fully qualified name

* Updated tests to include testing for external types referenced without fully qualified names

    • -2
    • +49
    ./scorecard/backend/base/Helper.java
    • -2
    • +2
    ./scorecard/backend/test1/GuidedScoreCardIntegrationJavaClassesOnClassPathTest.java
    • -3
    • +62
    ./scorecard/backend/test2/GuidedScoreCardIntegrationJavaClassesAddedToKieFileSystemTest.java
  1. … 3 more files in changeset.
RHDM-594 Cleanup of PMML code (#1929)

    • -80
    • +79
    ./scorecard/backend/test2/GuidedScoreCardIntegrationJavaClassesAddedToKieFileSystemTest.java
  1. … 22 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

    • -14
    • +14
    ./scorecard/backend/base/GuidedScoreCardDRLPersistenceTest.java
    • -5
    • +5
    ./scorecard/backend/test1/Applicant.java
    • -22
    • +93
    ./scorecard/backend/test2/GuidedScoreCardIntegrationJavaClassesAddedToKieFileSystemTest.java
  1. … 75 more files in changeset.
AF-593: Decouple DMO from Drools (#1444)

    • -104
    • +103
    ./scorecard/backend/base/GuidedScoreCardDRLPersistenceTest.java
  1. … 169 more files in changeset.
AF-540: moved to appformer generic java data model definitions (#1397)

* AF-540: moved to appformer generic java data model definitions

* AF-540: incorporated manstis suggestions

* AF-540: update models and restored old type (Import) deprecating it

(just for compat)

  1. … 134 more files in changeset.
[DROOLS-1023] Change kmodule.xsd targetNamespace to become versionless (to avoid hardcoding "6.0.0" in it)

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

    • -1
    • +1
    ./scorecard/backend/test1/Applicant.java
    • -1
    • +1
    ./scorecard/backend/test1/GuidedScoreCardIntegrationJavaClassesOnClassPathTest.java
    • -1
    • +1
    ./scorecard/backend/test2/GuidedScoreCardIntegrationJavaClassesAddedToKieFileSystemTest.java
  1. … 5166 more files in changeset.
[BZ-1267510] treat .gdst and .scgd as standard KIE resources

* .gdst (guided dtables) and .scgd (guided score cards) were

treated in a special way using FormatConverters which caused

issues during compilation as the resulting DRLs were copied

in the compiled kjar. The behavior was changed to be in line

with other resources like .xls dtables where the DRL representation

is create at runtime, on the fly.

* RuleTemplateConverter was refactored to RuleTemplateProvider to

have the name in sync with the others

* the FormatConverter abstraction was removed completely. All supported

resources should be treated equaly to avoid different behavior

for different resources (very much like the related BZ reported)

* integration tests for .gdst with and without DSL sentectes

added

  1. … 22 more files in changeset.
[BZ-1267510] treat .gdst and .scgd as standard KIE resources

* .gdst (guided dtables) and .scgd (guided score cards) were

treated in a special way using FormatConverters which caused

issues during compilation as the resulting DRLs were copied

in the compiled kjar. The behavior was changed to be in line

with other resources like .xls dtables where the DRL representation

is create at runtime, on the fly.

* RuleTemplateConverter was refactored to RuleTemplateProvider to

have the name in sync with the others

* the FormatConverter abstraction was removed completely. All supported

resources should be treated equaly to avoid different behavior

for different resources (very much like the related BZ reported)

* integration tests for .gdst with and without DSL sentectes

added

(cherry picked from commit eda1a8b54bf1f4c39d13a1c543227595036663a0)

  1. … 22 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
    ./scorecard/backend/test1/GuidedScoreCardIntegrationJavaClassesOnClassPathTest.java
    • -0
    • +15
    ./scorecard/backend/test2/GuidedScoreCardIntegrationJavaClassesAddedToKieFileSystemTest.java
  1. … 2515 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. … 418 more files in changeset.
Remove hard-coded version number (build section not needed at all for tests) (cherry picked from commit 0d53587386d19cee8857da18362e0f000358ffdd)

    • -10
    • +0
    ./scorecard/backend/base/Helper.java
Remove hard-coded version number (build section not needed at all for tests)

    • -10
    • +0
    ./scorecard/backend/base/Helper.java
major cleanup

    • -145
    • +0
    ./scorecard/backend/GuidedScoreCardIntegrationTest.java
  1. … 15 more files in changeset.
Share utility methods. Write pom.xml and kmodule.xml

    • -0
    • +139
    ./scorecard/backend/base/Helper.java
    • -77
    • +31
    ./scorecard/backend/test1/GuidedScoreCardIntegrationJavaClassesOnClassPathTest.java
    • -103
    • +28
    ./scorecard/backend/test2/GuidedScoreCardIntegrationJavaClassesAddedToKieFileSystemTest.java
More tests for Score Card DRL generation

    • -17
    • +0
    ./scorecard/backend/GuidedScoreCardConverterTest.java
    • -194
    • +0
    ./scorecard/backend/GuidedScoreCardDRLPersistenceTest.java
    • -1
    • +1
    ./scorecard/backend/test1/Applicant.java
    • -9
    • +6
    ./scorecard/backend/test1/GuidedScoreCardIntegrationJavaClassesOnClassPathTest.java
    • -0
    • +183
    ./scorecard/backend/test2/GuidedScoreCardIntegrationJavaClassesAddedToKieFileSystemTest.java
Fix deprecated jUnit imports and methods

    • -1
    • +1
    ./scorecard/backend/GuidedScoreCardDRLPersistenceTest.java
  1. … 44 more files in changeset.
[DROOLS-432] Types declared in a foreign package are processed one at a time

    • -6
    • +6
    ./scorecard/backend/GuidedScoreCardDRLPersistenceTest.java
    • -3
    • +1
    ./scorecard/backend/GuidedScoreCardIntegrationTest.java
  1. … 7 more files in changeset.
DROOLS-431: Score Cards: Duplicate Rule and Declarative Types when generating DRL

    • -0
    • +30
    ./scorecard/backend/Applicant.java
    • -0
    • +30
    ./scorecard/backend/ApplicantAttribute.java
    • -1
    • +49
    ./scorecard/backend/GuidedScoreCardDRLPersistenceTest.java
    • -0
    • +147
    ./scorecard/backend/GuidedScoreCardIntegrationTest.java
[DROOLS-116] Import PMML files as resources - fix tests after merge with scorecards

    • -6
    • +6
    ./scorecard/backend/GuidedScoreCardDRLPersistenceTest.java
[drools-scorecard, drools-pmml] Merge Scorecards and PMML

    • -12
    • +13
    ./scorecard/backend/GuidedScoreCardDRLPersistenceTest.java
  1. … 53 more files in changeset.
BZ1017368 - Rule Templates stopped working

    • -0
    • +17
    ./scorecard/backend/GuidedScoreCardConverterTest.java
  1. … 25 more files in changeset.
BZ1017368 - Rule Templates stopped working (cherry picked from commit 2a740ad9d9724f6f367d802eb4190923fe6db30c)

    • -0
    • +17
    ./scorecard/backend/GuidedScoreCardConverterTest.java
  1. … 25 more files in changeset.
BZ1014071 - DataModelOracle: Performance issues when model is large

    • -1
    • +1
    ./scorecard/backend/GuidedScoreCardDRLPersistenceTest.java
  1. … 256 more files in changeset.
BZ1014071 - DataModelOracle: Performance issues when model is large (cherry picked from commit 799a55f173b6cc5e371b6d9ccc154e06b22e95fe)

    • -1
    • +1
    ./scorecard/backend/GuidedScoreCardDRLPersistenceTest.java
  1. … 256 more files in changeset.