Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DROOLS-4075 DMN merge upstream PMML evaluators (#2370)

* MEGASQUASH

* x

* .

* Implement license missing detection feedback

* Fix when Resource is absolute URL kieServices#getKieClasspathContainer()

* Implement code review feedback

* implement code review feedback

* omitting local test to check for EJC dead code detection thanks for upd

* Implement code review feedback

* Introduce kie-dmn-core-osgi

* Implement code review feedback

* Temporary inspection code removed

* Implement code review feedback

* Either#consume and alignment for API

* Implement code review feedback: refactor for single URL builder

* Implement code review feedback: split #compileFunctionDefinition

* .

* meanwhile, master moved to 7.24.0-SNAPSHOT

* Implement code review feedback

* Number coercion to BigDecimal to respect DMN spec

* Implement code review feedback

    • -2
    • +3
    ./core/ast/DMNFunctionDefinitionEvaluator.java
    • -9
    • +91
    ./core/compiler/DMNCompilerImpl.java
    • -99
    • +163
    ./core/compiler/DMNEvaluatorCompiler.java
    • -3
    • +12
    ./core/compiler/ImportDMNResolverUtil.java
    • -0
    • +151
    ./core/pmml/AbstractPMMLInvocationEvaluator.java
    • -0
    • +57
    ./core/pmml/DMNImportPMMLInfo.java
    • -0
    • +115
    ./core/pmml/DMNKiePMMLInvocationEvaluator.java
    • -0
    • +48
    ./core/pmml/DMNPMMLModelInfo.java
    • -0
    • +95
    ./core/pmml/PMMLInfo.java
    • -0
    • +47
    ./core/pmml/PMMLModelInfo.java
  1. … 12 more files in changeset.
[RHDM-969] avoid serializing a DMNPackage when serialization is done for cloning purpose (#2368)

  1. … 6 more files in changeset.
[DROOLS-3806] Improve error reporting messages + minor bug (#2355)

* [DROOLS-3806] Improved error message, performance improvement on DMNRuntime initialization command

* [DROOLS-3806] Added event listener to extract DMN errors, skip expression steps if result is null in DMN

* [DROOLS-3806] Fix error propagation in case of syntax error on rule test scenario, improved FEEL error handling

* [DROOLS-3806] Improved operator error message

* [DROOLS-3806] Included PR comments

* [DROOLS-3806] Skip KieSession creation when not needed

* [DROOLS-3806] Minor changes

    • -1
    • +2
    ./core/fluent/NewDMNRuntimeCommand.java
  1. … 9 more files in changeset.
Update Java Parser from 3.10.2 to 3.13.10 (#2353)

* Drools compile after upgrade of JP from 3.10.2 to 3.13.10

* DrlNameExpr is a NameExpr

* support toString in DroolsConstraintParser nodes

  1. … 27 more files in changeset.
DROOLS-4062 DMN KieContainer upgrade DMN Import resolution strategy (#2357)

    • -0
    • +11
    ./core/assembler/DMNAssemblerService.java
  1. … 5 more files in changeset.
DROOLS-4048 DMN decision service invocation as literal expression typecheck (#2351)

* WIP

* Implement type check for decision service invoked as literal expressions

* Augmenting with error reporting

* Apply code review feedback

    • -2
    • +39
    ./core/ast/DMNDecisionServiceFunctionDefinitionEvaluator.java
    • -7
    • +15
    ./core/compiler/DMNCompilerImpl.java
  1. … 2 more files in changeset.
[DROOLS-3999] perf improvement for dmn (#2341)

  1. … 3 more files in changeset.
DROOLS-3977 DMN DT Analysis check 2nd NF Violations (#2328)

  1. … 11 more files in changeset.
DROOLS-3970 DMN DT Analysis check 1st NF Violations (#2323)

  1. … 6 more files in changeset.
DROOLS-3779 DMN DT Analysis Subsumption&Contraction for DMN Decision Table (#2319)

* DROOLS-3779 DMN DT Analysis Subsumption for DMN Decision Table

* Small refactor

* Contraction.

* .

* .

  1. … 12 more files in changeset.
DROOLS-3927 DMN compile error in codegen when maven plugin and expr in (#2314)

* DROOLS-3927 DMN compile error in codegen when maven plugin and expr in

input clause

* .

DROOLS-3841: [DMN Designer] Included Models - An error is raised when a DMN file with imports is saved (#2310)

    • -12
    • +20
    ./core/assembler/DMNAssemblerService.java
  1. … 2 more files in changeset.
DROOLS-3886 DMN externalize kie server model execution logic (#2308)

    • -0
    • +127
    ./core/internal/utils/DMNEvaluationUtils.java
    • -0
    • +122
    ./core/internal/utils/MapBackedDMNContext.java
    • -0
    • +59
    ./core/internal/utils/MarshallingStubUtils.java
    • -0
    • +16
    ./core/util/DefaultDMNMessagesManager.java
DROOLS-3785 DMN DT Analysis "Misleading rules" in P tables check (#2307)

* DROOLS-3785 DMN DT Analysis "Misleading rules" in P tables check

* .

  1. … 7 more files in changeset.
DROOLS-3772 DMN DT Analysis Rule masking (#2285)

* DROOLS-3772 DMN DT Analysis Rule masking

* Implement code review feedback

  1. … 16 more files in changeset.
DROOLS-3780 DMN DT Analysis report warn for HitPolicy First (#2286)

  1. … 4 more files in changeset.
DROOLS-3737 DMN DT Analysis Table Consistency in relation with HitPolicy (#2284)

  1. … 13 more files in changeset.
DROOLS-3136 DROOLS-2609 DMN Validation Decision Table Analysis end-to-end API (#2275)

* WIP

* Gaps analysis draft

* Metamodel to assert Gaps values.

* Refactoring to use DMNProfile as FEELProfile(s)

* WIP

* Bound ordering, Infix EQ

* Implement String discrete domain GAP analysis.

* .

* Minors.

* .

* Drafting OVERLAP analysis

* extend test

* extend tests.

* refactor

* Test refactor.

* Test infrastructure refactor to accomodate for multiple DMNMessages

* Refactor Overlap as DMNMessage too, and refactor tests

* Rename flag

* Lookup typeRef heuristics, refactor for empty DTAnalysis messages

* Minor refactorings

* Test Refactorings

* DTANALYSIS_ERROR_RULE_OUTSIDE_DOMAIN

* compile output entry rule value

* .

* license header fixes

* License header fixes (test classes)

* terminology fixes

* Unlink drools-verifier module until next re-sync

* Rebase and imports alignments after rebase

* Implement code review feedback

* implement code review feedback

* .

    • -7
    • +15
    ./core/util/DefaultDMNMessagesManager.java
  1. … 45 more files in changeset.
Drools Constraint Parser (#2266)

* Namespace changes

* Fix print util

* Compile

* Lots of test passing

* Other test passing

* 5 tests failing

* 4 tests filing

* 43 + 122

* 43+110

* 45+96

* 45+82

* 47+52

* 47+48

* NullSafeFieldAccess and NullSafeMethodCall

* 47 + 32

* 47 + 27

* 47+17

* 51+1

* 4 test failed! omg

* 2 test left

* Two tests left

* Fix cep tests

* 1 test left

* Fixed all tests in drools-model-compiler

* Sanitize scope during eval of constand fields

* Drools-constraint-parser

* FromVisitor support from DrlNameExpr

* Removed enforcer skip, explicit version

* Removed useless plugings

* Removed templating-maven-plugin and license tag

* Added brace statements

* Space after if

  1. … 121 more files in changeset.
[Drools-3444] Support monitoring (#2236)

* Pass reference of before event in after

* Use timestamp instead of object

* Use shared event for n listeners

* After Activation has a reference to BeforeActivation

BeforeActivation has a timestamp

* Getter for before event

    • -1
    • +9
    ./core/impl/AfterEvaluateDecisionEventImpl.java
    • -0
    • +9
    ./core/impl/BeforeEvaluateDecisionEventImpl.java
    • -3
    • +5
    ./core/impl/DMNRuntimeEventManagerUtils.java
  1. … 5 more files in changeset.
Fix for drlx-parser rebase (#2216)

* Added file

* Updated to drlx-parser after rebasing to 3.10.2

  1. … 12 more files in changeset.
DROOLS-3544 DMN typeref support for v1.2 FEEL lattice (#2226)

* DROOLS-3544 DMN typeref support for v1.2 FEEL lattice

* fix

    • -2
    • +5
    ./core/compiler/DMNTypeRegistryV12.java
  1. … 3 more files in changeset.
DROOLS-3355: Improve Assembler/Weaver API (#2181)

* cleanup

* fix compile

* rename AssemblerContext to DroolsAssemblerContext

* whitespace

* docs

* simpler ProcessPackage API

* use less specific result type in processbuilder interface

* revert process changes

* fix package serialization

* require non-null namespace on BaseDescr

as a side-effect: raises an expected exception in a jbpm test

    • -10
    • +6
    ./core/assembler/DMNAssemblerService.java
  1. … 29 more files in changeset.
DROOLS-3450 Error during DMNModelImpl serialization (#2201)

  1. … 1 more file in changeset.
[DROOLS-3368] Extend scenario runner to support DMN runtime (#2194)

* [DROOLS-3368] Small change

* [DROOLS-3368] Added getModel API

* [DROOLS-3368] Minor improvements

    • -0
    • +67
    ./core/fluent/AbstractDMNModelCommand.java
    • -3
    • +14
    ./core/fluent/DMNRuntimeFluentImpl.java
    • -0
    • +36
    ./core/fluent/GetDMNModelCommand.java
  1. … 9 more files in changeset.
[DROOLS-3367] Created DMNRuntimeFluent and related APIs (#2179)

* [DROOLS-3401] Moved Fluent API to kie-internal

* [DROOLS-3367] Implemented DMNRuntimeFluent APIs

* [DROOLS-3367] Implemented DMNRuntimeFluent APIs

* [DROOLS-3367] Fixed bug

* [DROOLS-3367] Added copyright

* [DROOLS-3367] Use DMNRuntime.newContext() instead of DMNFactory.newContext()

    • -0
    • +32
    ./core/fluent/AbstractDMNResultCommand.java
    • -0
    • +81
    ./core/fluent/DMNRuntimeFluentImpl.java
    • -0
    • +53
    ./core/fluent/ExecuteDMNCommand.java
    • -0
    • +38
    ./core/fluent/GetAllDMNContextCommand.java
    • -0
    • +32
    ./core/fluent/GetDMNDecisionResultsCommand.java
    • -0
    • +32
    ./core/fluent/GetDMNMessagesCommand.java
    • -0
    • +39
    ./core/fluent/NewDMNRuntimeCommand.java
    • -0
    • +71
    ./core/fluent/SetDMNActiveModelCommand.java
    • -0
    • +48
    ./core/fluent/SetDMNInputCommand.java
  1. … 12 more files in changeset.
[DROOLS-3348] Support Compiled Feel Expression in the kie-maven-plugin (#2173)

* reproducer

* USe maven plugin to generate classes

* Added partner dmn file

* Generate Feel Expression Source

* Generated Feel Expression source

* Read class from source

* Use correct class name

* Refactor

* Also generate input clauses

* First draft of input clause

* INput clause

* Read input clauses

* Refactor

* Refactor

* Refactor

* Moved methods

* Generate rows

* Generate input rowsi

* Input rows

* Fix typo

* Removed class

* Reenabled test

* Fix compilation

* Fix generation

* Update version

* InitRows using JavaParser

* each two there should it be an array

* Fix test

* Input clause with JavaParser

* Removed output clauses

* Fix package

* Moved to separated class

* Removed StringBuilder

* Use JavaParserSourceGenerator

* Removed lambda from FeelEpxressionSourceGenerator

* Some more methods

* Removed yet another part of javaparser

* Source generator (almost) never use Javaparser

* Added license

* Fix regression

* Extracted field

* Generate Feel Expression class only when using it with the Maven Plugin

* Removed useless logger

* Read output clauses

* Avoid checking for exception

* Fix class reading

* Removed duplication

* Iterate over input clauses

* Removed context and interfaces

* Iterate over rows

* Reverted whitespace changes

* Removed method

* Listener to check the number of class generated

* Fix generation of FeelExpression class

* New test for DMN

* Removed test project

* Removed useless code

* Fix after review

* Space after if

    • -0
    • +75
    ./core/compiler/execmodelbased/ExecModelDTableModel.java
    • -0
    • +113
    ./core/compiler/execmodelbased/JavaParserSourceGenerator.java
  1. … 3 more files in changeset.
DROOLS-3379: RuntimeService API should not require a KSession to create an instance (#2170)

  1. … 3 more files in changeset.
DROOLS-3394 DMN for 1.2 assumes default prefix is DMN model namespace (#2175)

* DROOLS-3394 DMN DMNCompiler#getNamespaceAndName for DMNv1.2 assumes

...default prefix is DMN model namespace

Test case.

* Fix.

* Align kie-dmn-validation to -core fix.

    • -3
    • +3
    ./core/compiler/DMNEvaluatorCompiler.java
  1. … 3 more files in changeset.
DROOLS-3335 Broken DMN resource to inhibit KJAR and report error (#2165)

* WIP

* WIP

* Correct DMN model typos

* addendum to DROOLS-2075 Allow empty output cell on DTs

* Align kie-dmn-core

* Align kie-dmn-validation

* cleanup test

* Kie API usage snippet for custom build for documentation

* added license header

* implement code review feedback

    • -0
    • +5
    ./core/assembler/DMNAssemblerService.java
    • -2
    • +5
    ./core/compiler/DMNEvaluatorCompiler.java
    • -0
    • +56
    ./core/impl/DMNKnowledgeBuilderError.java
    • -10
    • +107
    ./core/impl/DMNMessageImpl.java
  1. … 10 more files in changeset.