Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DROOLS-4366 DMN align FEEL temporal functions with CQL (#2474)

* DROOLS-4366 DMN align FEEL temporal functions with CQL

* align previous temporal functions tests to CQL semantics

* Amend finishes/finished by

* Amend finishes/finished by (cont.)

* Align overlaps/overlapped by and *before *after variants

    • -1
    • +21
    ./extended/KieExtendedDMNFunctions.java
    • -0
    • +36
    ./interval/OverlappedAfterByFunction.java
    • -0
    • +62
    ./interval/OverlappedBeforeByFunction.java
    • -18
    • +1
    ./interval/OverlappedByFunction.java
    • -0
    • +36
    ./interval/OverlapsAfterFunction.java
    • -0
    • +63
    ./interval/OverlapsBeforeFunction.java
    • -12
    • +16
    ./interval/OverlapsFunction.java
  1. … 9 more files in changeset.
DROOLS-4379 DMN decision table input expr collection with allowedValues (#2481)

* DROOLS-4379 DMN decision table input expr collection with allowedValues

reproducer.

* fix.

* Fix alignment with DROOLS-2359 semantic

* Final alignments

  1. … 7 more files in changeset.
DROOLS-3594: adding meets() and met by() functions (#2465)

* DROOLS-3594: implementing meets() function

* DROOLS-3594: adding met by() function

* DROOLS-3594: adding met by() function

    • -11
    • +3
    ./extended/KieExtendedDMNFunctions.java
    • -0
    • +53
    ./interval/MeetsFunction.java
    • -0
    • +53
    ./interval/MetByFunction.java
  1. … 2 more files in changeset.
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
    • +4
    ./extended/KieExtendedDMNFunctions.java
  1. … 146 more files in changeset.
DROOLS-4099 DMN strict mode flag realignments (#2378)

* DROOLS-4099 DMN strict mode flag realignments

realign to DMN v1.2

* Implement code review feedback

  1. … 23 more files in changeset.
DROOLS-3542 DMN FEEL function parameter typecheck (#2372)

* DROOLS-3542 DMN FEEL function parameter typecheck

* .

* .

* Implement code review feedback

* Implement code review feedback

    • -0
    • +97
    ./AbstractCustomFEELFunction.java
  1. … 11 more files in changeset.
DROOLS-3965 DMN introduce constants for fn names in table 66 (#2322)

    • -0
    • +35
    ./FEELConversionFunctionNames.java
  1. … 11 more files in changeset.
DROOLS-3941 DMN Alignments to DMN13-125 Disambiguation for Modulo / ... (#2317)

... Remainder function

  1. … 2 more files in changeset.
DROOLS-3848 DMN Years and Months internals expect value is Comparable (#2315)

* DROOLS-3848 DMN Years and Months internals expect value is Comparable

* Move ComparablePeriod to standalone class

* formatting.

* Implement code review feedback and enforce type change for +- binary ops

* Handle user-provided Collection<Period> instead of <ComparablePeriod>

* .

  1. … 23 more files in changeset.
DROOLS-3594: adding support for interval-based algebra. (#2237)

* DROOLS-3594: adding support for interval-based algebra. Implementing after() function

* DROOLS-3594: Implementing before() function

* DROOLS-3594: Implementing coincides() function

* DROOLS-3594: Implementing starts() function

* DROOLS-3594: Implementing finishes() function

* DROOLS-3594: Implementing finishedBy() function

* DROOLS-3594: Implementing started by() and during() functions

* DROOLS-3594: Implementing includes() function

* DROOLS-3594: Implementing overlaps() and overlapped by() functions

* DROOLS-3594: removing invalid function signatures

    • -1
    • +16
    ./extended/KieExtendedDMNFunctions.java
    • -0
    • +107
    ./interval/AfterFunction.java
    • -0
    • +103
    ./interval/BeforeFunction.java
    • -0
    • +67
    ./interval/CoincidesFunction.java
    • -0
    • +69
    ./interval/DuringFunction.java
    • -0
    • +69
    ./interval/FinishedByFunction.java
    • -0
    • +69
    ./interval/FinishesFunction.java
    • -0
    • +69
    ./interval/IncludesFunction.java
    • -0
    • +53
    ./interval/OverlappedByFunction.java
    • -0
    • +53
    ./interval/OverlapsFunction.java
    • -0
    • +69
    ./interval/StartedByFunction.java
    • -0
    • +69
    ./interval/StartsFunction.java
  1. … 12 more files in changeset.
DROOLS-3540 DMN align FEEL built-in function parameters name (#2224)

* DROOLS-3540 DMN align FEEL built-in function parameters name

* fix

  1. … 2 more files in changeset.
DROOLS-3533 DMN fix FEEL heuristic for method dispatch (#2220)

* DROOLS-3533 DMN fix FEEL heuristic for method dispatch

test case.

* fix.

  1. … 1 more file in changeset.
DROOLS-3534 DMN built-in FEEL sample standard deviation for one sample (#2221)

  1. … 2 more files in changeset.
DROOLS-3532 DMN fix FEEL var args function invocation when no params (#2219)

  1. … 1 more file in changeset.
DROOLS-3463: adding support for two-valued logic aggregate functions (#2203)

* DROOLS-3463: adding support for 2vl all() and any() functions

* DROOLS-3463: adding support for 2vl sum() function

* DROOLS-3463: adding support for 2vl mean() function. Fixing mistake on sum() function.

* Cleaning up test code

* DROOLS-3463: adding support for 2vl count() function

* DROOLS-3463: adding support for 2vl min() and max() functions

* DROOLS-3463: adding support for 2vl median() function

* DROOLS-3463: adding support for 2vl mode() function

* DROOLS-3463: adding support for 2vl stddev() function

* DROOLS-3463: minor fixes

* Minor test fixes

* DROOLS-3463: renaming functions to avoid clash with built-in FEEL functions

* DROOLS-3463: renaming functions to avoid clash with built-in FEEL functions. Adding them to the extended functions profile.

    • -1
    • +14
    ./extended/KieExtendedDMNFunctions.java
    • -0
    • +71
    ./twovaluelogic/NNAllFunction.java
    • -0
    • +71
    ./twovaluelogic/NNAnyFunction.java
    • -0
    • +62
    ./twovaluelogic/NNCountFunction.java
    • -0
    • +68
    ./twovaluelogic/NNMaxFunction.java
    • -0
    • +88
    ./twovaluelogic/NNMeanFunction.java
    • -0
    • +86
    ./twovaluelogic/NNMedianFunction.java
    • -0
    • +68
    ./twovaluelogic/NNMinFunction.java
    • -0
    • +84
    ./twovaluelogic/NNModeFunction.java
    • -0
    • +95
    ./twovaluelogic/NNStddevFunction.java
    • -0
    • +87
    ./twovaluelogic/NNSumFunction.java
    • -0
    • +58
    ./twovaluelogic/TwoValueLogicFunctions.java
  1. … 16 more files in changeset.
DROOLS-3308 DMN implement missing functions only described in ... (#2150)

* DROOLS-3308 DMN implement missing functions only described in ...

...chapter "10.3.2.6 Context"

* Implement code-review feedback

    • -0
    • +50
    ./GetEntriesFunction.java
    • -0
    • +39
    ./GetValueFunction.java
  1. … 3 more files in changeset.
Integrated a BigDecimal Math Library to support the power FEEL function with non integer exponent. Also used that new library to change the sqrt() FEEL function to use that library. (#2148)

  1. … 6 more files in changeset.
DROOLS-2521 Implement FEEL functions in preparation for DMN 1.2 (#1893)

    • -0
    • +30
    ./extended/EvenFunction.java
    • -0
    • +26
    ./extended/ExpFunction.java
    • -2
    • +11
    ./extended/KieExtendedDMNFunctions.java
    • -0
    • +26
    ./extended/LogFunction.java
    • -0
    • +78
    ./extended/MedianFunction.java
    • -0
    • +71
    ./extended/ModeFunction.java
    • -0
    • +46
    ./extended/OddFunction.java
    • -0
    • +56
    ./extended/SqrtFunction.java
    • -0
    • +85
    ./extended/StddevFunction.java
  1. … 9 more files in changeset.
DROOLS-1480 Support timezones in date and type variables (#1870)

  1. … 5 more files in changeset.
DROOLS-2322 Move Kie extended FEEL function into appropriate profile (#1769)

* DROOLS-2322 Move Kie extended FEEL function into appropriate profile

* final changes for edge-cases

* Realign SignavioProfile to changes

* Missing header

* Reconciliate FEELProfile for kie extended FEEL functions

* fix test for Kie extended FEEL function in simple DMN model

* Align manually formatting code

* fix javadoc typo

* Minor optimization (memoize feelFunctions accordingly to feelProfiles)

* Correction and optimizations

* FEEL optimizations for CompilerContext

if the CompilerContext is created via the FEEL instance,

because the configuration is managed via the FEELProfile, the

CompilerContext contains already all the necessary functions and other

configurations as necessary.

    • -0
    • +51
    ./extended/KieExtendedDMNFunctions.java
  1. … 25 more files in changeset.
strict mode

    • -0
    • +87
    ./extended/DateFunction.java
    • -0
    • +51
    ./extended/DurationFunction.java
    • -0
    • +129
    ./extended/TimeFunction.java
  1. … 18 more files in changeset.
strict mode

    • -0
    • +87
    ./extended/DateFunction.java
    • -0
    • +51
    ./extended/DurationFunction.java
    • -0
    • +129
    ./extended/TimeFunction.java
  1. … 18 more files in changeset.
DROOLS-2143 Fix normalized duration tests (#1623)

  1. … 3 more files in changeset.
DROOLS-2143 improve cases for date, time, date and time functions (#1622)

* DROOLS-2143 improve cases for date, time, date and time functions.

* TimeFunction on a TemporalAccessor to maintain the zone as ZoneRegion

at the expense of unreversible result,

For instance:

time(date and time("2017-08-10T10:20:00@Europe/Paris"))

instead of normalizing eagerly thanks to the date as

10:20:00+02:00

now results in

10:20:00@Europe/Paris

the problem is that now the current result is unreversible (no way to

distinguish Paris as UTC+1 or UTC+2 as we don't know anymore the

original supplied date)

  1. … 9 more files in changeset.
Fix FEEL date and time() handling of the first parameter `date` (#1621)

* Fix FEEL date and time() handling of the first parameter `date`

FEEL Spec Table 58 "date is a date or date time [...]

creates a date time from the given date (ignoring any time component)"

[that means ignoring any TZ from `date` parameter, too]

* .

  1. … 2 more files in changeset.
DROOLS-2119: fixing append to support singleton element instead of list (#1595)

* DROOLS-2119: fixing append to support singleton element instead of list

* DROOLS-2119: improving code to remove duplication

  1. … 1 more file in changeset.
DROOLS-2144 Fix BaseFEELFunction.getCandidateMethod for non-custom funct (#1612)

.. with empty param, but implementation using EvaluationCotnext

  1. … 4 more files in changeset.
Improving error reporting

  1. … 1 more file in changeset.
DROOLS-2100: adding split() function (#1576)

    • -0
    • +77
    ./SplitFunction.java
  1. … 2 more files in changeset.
DROOLS-1598 Support additional Signavio FEEL functions (#1571)

* DROOLS-1598: implementing additional FEEL functions

* DROOLS-1598: Fixing function implementation

* DROOLS-1598: sorting function list

* Extend support for Signavio custom List operations functions.

(etirelli/drools#2)

* Extend support for Signavio custom Statistical operations, Text handling functions

(etirelli/drools#3)

* Extend support for Signavio custom Statistical operations functions

* Extend support for Signavio custom Text handling functions

* Refactor to isolate Signavio function in Signavio maven module

(etirelli/drools#4)

* Refactor introducing convenience method for Either

* Only prefix with "SignavioXXX" if conflicting function name in core

* Isolate Signavio functions test, minimal refactor to allow MANUAL wiring of Signavio functions

* Move test to signavio maven module

* Move Signavio custom function into Signavio maven module

* enable all Signavio custom function test

* Support FEEL custom profile for compilation and evaluation

(etirelli/drools#5)

* Align with changes from 29c75a8b for DROOLS-1760 Enhance test coverage

* Fix classname for Signavio `secondsDiff` function.

This was wrongly renamed during 3c8329f8

Can be seen here:

https://github.com/etirelli/drools/pull/4/commits/3c8329f8f16d72975f7047a2a08da30b623fcbda#diff-b66d1037a1a7da49997c6fe45abcf702R31

It was working anyway because the function "registry" rely on the

internal String-based name definition and not on the classname

containing the function.

    • -0
    • +121
    ./DateAndTimeFunction.java
    • -0
    • +41
    ./ModuloFunction.java
    • -0
    • +76
    ./ProductFunction.java
  1. … 76 more files in changeset.