Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
[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

    • -8
    • +14
    ./ExecModelDMNClassLoaderCompiler.java
    • -6
    • +18
    ./ExecModelDMNEvaluatorCompiler.java
    • -4
    • +14
    ./ExecModelDMNMavenSourceCompiler.java
    • -0
    • +75
    ./ExecModelDTableModel.java
    • -0
    • +120
    ./FeelExpressionSourceGenerator.java
    • -0
    • +113
    ./JavaParserSourceGenerator.java
  1. … 4 more files in changeset.
DROOLS-3343 Refactor Message/MessageImpl to avoid rely on impl (#2163)

* DROOLS-3343 Refactor Message/MessageImpl to avoid rely on impl

* Realign imports in other modules

* .

* .

  1. … 30 more files in changeset.
[DROOLS-3112] FEEL Compiler: modularize FEELImpl compiler/interpreter vs. DMNFEELHelper (#2112)

* [DROOLS-3112] FEEL Compiler: modularize FEELImpl compiler/interpreter vs. DMNFEELHelper

* add dep to JavaParser

  1. … 17 more files in changeset.
DROOLS-3229 DMN compilation of DT with empty inputValues, outputValues, (#2132)

* DROOLS-3229 DMN compilation of DT with empty inputValues, outputValues,

defaultOutputEntry NPEs

* .

* .

  1. … 2 more files in changeset.
DROOLS-3230 DMN - Fix generating paths on Windows for executable model (#2133)

* DROOLS-3230 DMN - Fix generating paths on Windows for executable model

* DROOLS-3230 DMN - Fix generating paths on Windows for executable model

DROOLS-3217 DMN compilation via kie-maven-plugin wrong lookup at runtime (#2125)

    • -2
    • +3
    ./ExecModelDMNClassLoaderCompiler.java
    • -3
    • +13
    ./ExecModelDMNEvaluatorCompiler.java
  1. … 1 more file in changeset.
[DROOLS-3072] kie-maven-plugin to persist DMN Compilation results in KJAR like for DRL exec model rules (#2117)

* Listener in configuration

* Move new instance of DMNCompilerConfigurationImpl outside the method

* Register listeners from configuration

* Listener gets filename and file contents

* Typesafe file path

* Avoid compile and define invoker based on listener

* Optimized import

* Deferred compiler

* Try read the evaluator from the class loader

* Removed boolean from event

* Events only in deferred

* Fix option of deferred

* Find the compiled class at runtime

* Find classes

* Instantiate evaluator

* Printout of invokator

* Avoid regenerate the classes if there's the META-INF file

* init parameters

* It workds

* Move generated class name to DTableModel.java

* DMNRuleClassFile

* Refactor

* Renamed ExecModelDMNMavenSourceCompiler.java to MavenSourceCompiler

* OOP

* Extracted method

* Inverted if condition

* Removed println

* Factory to createDMNEvaluator

* Factory to createDMNEvaluator

* Public Rule class flie

* Added debug

* Reverted useless changes

* Avoid caching configuration

* Cache CompilerConfigurationImpl

* Removed ExecModelCompilerDeferredOption.java

* Minor fixes

* minor fixes 2

    • -0
    • +50
    ./DMNRuleClassFile.java
    • -0
    • +62
    ./ExecModelDMNClassLoaderCompiler.java
    • -23
    • +59
    ./ExecModelDMNEvaluatorCompiler.java
    • -0
    • +69
    ./ExecModelDMNMavenSourceCompiler.java
  1. … 10 more files in changeset.
DROOLS-2823 FEEL Parser: refactor `not` unary negation and `not` function call; fix support to wildcard `?` (#2059) (#2074)

* wip

* all tests pass

* wip

* fix input var type

* fields order, notExitst builtin f

* most compile-time tests pass

* fix all compiler tests

* fix all tests

* grammar fix

* cleanup

* move method back into its original position

* fix short-circuiting on null (notExists)

* test support to listeners

* fix error logging

* remove decision table in feel expresion tests -- no longer in 1.2

* replace commented out tests with error-checking tests

* move NOT to lexing section;

* fix erroneous reference to non-existing symbol "Not_Key"

(cherry picked from commit 23b87d2e62a1f550ed7afd47dba27b34c9b9a01c)

  1. … 26 more files in changeset.
DROOLS-2823 FEEL Parser: refactor `not` unary negation and `not` function call; fix support to wildcard `?` (#2059)

* wip

* all tests pass

* wip

* fix input var type

* fields order, notExitst builtin f

* most compile-time tests pass

* fix all compiler tests

* fix all tests

* grammar fix

* cleanup

* move method back into its original position

* fix short-circuiting on null (notExists)

* test support to listeners

* fix error logging

* remove decision table in feel expresion tests -- no longer in 1.2

* replace commented out tests with error-checking tests

* move NOT to lexing section;

* fix erroneous reference to non-existing symbol "Not_Key"

  1. … 26 more files in changeset.
DROOLS-2832 DMN support for DMN v1.2 serialization (#2018)

* (kie-dmn-model)

* (kie-dmn-backend)

* BROKEN (kie-dmn-core) align imports and minor alignments

* (kie-dmn-core) realign new infra to run -core with DMN v1.1

* BROKEN (kie-dmn-core) alignments

* (kie-dmn-core) align for missing synonims of feel:Any

* API CHANGE: realign Marshaller to proper package name

* WIP -- working on DMNDI to externalize the interface and v1.2 marshaller

* Unmarshal DMN v1.2 files

* Move FEELHelper as part of DMNCompilerCtx and manage FEEL v1.2 flags

* Marshaller factory generalized, execution test w/ DMN v1.2 ch11 example

* (kie-dmn-validation)

* (kie-dmn-signavio)

* Realign Validation to support DMN v1.2

* minor/comment changes.

* Minor header/comment changes.

* Minor import .* changes

* Minor alignments and implement logic instead of hardcode QMap logic

* .

* Remove XSD(s) where not necessary.

* DROOLS-2893 DMN v1.2 Serialization degraded mode without XSD

* Fix OSGi maven plugin export/import filters.

* Implementing the correct specialised interface for b/c

* Package refactor

kie-dmn-model:

from org.kie.dmn.model.v1x

to org.kie.dmn.model.api

kie-dmn-api:

from org.kie.dmn.api.marshalling.v1x

to org.kie.dmn.api.marshalling

* Implement code review feedback.

* Implement code review feedback

* .

  1. … 396 more files in changeset.
[DROOLS-2766] support for null values in compiled DMN dtables + minor refactor (#2013)

    • -0
    • +62
    ./CompiledDTTest.java
    • -15
    • +8
    ./ExecModelDMNEvaluatorCompiler.java
  1. … 1 more file in changeset.
[DROOLS-2766] support for question mark variable in evaluation context of compiled DMN decision table (#2010)

  1. … 1 more file in changeset.
[DROOLS-2766] add conf option for exec model based DMN dtable compiler + minor refactor (#2009)

  1. … 4 more files in changeset.
[DROOLS-2766] fix error management + other minor improvements in compiled DMN decision tables (#2006)

  1. … 5 more files in changeset.
[DROOLS-2766] support default values + allow to access evaluation con… (#2002)

[DROOLS-2766] support default values + allow to access evaluation context in constraint evaluation + better error management in compiled DMN decision tables

  1. … 9 more files in changeset.
[DROOLS-2766] allow symbols in output of compiled DMN decision tables (#1999)

[DROOLS-2766] allow symbols in output of compiled DMN decision tables

    • -0
    • +62
    ./DecisionTableEvaluator.java
    • -17
    • +20
    ./ExecModelDMNEvaluatorCompiler.java
  1. … 10 more files in changeset.
[DROOLS-2766] compilation of DMN decision tables (#1996)

    • -0
    • +162
    ./AbstractModelEvaluator.java
    • -0
    • +272
    ./DTableModel.java
    • -0
    • +350
    ./ExecModelDMNEvaluatorCompiler.java
  1. … 21 more files in changeset.