Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom JEXL functions #504

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Aug 18, 2023

  1. new constructor on HL7MessageData to support suppling custom classes …

    …for JEXL engine
    
    Signed-off-by: David Murch <david.murch@integration.works>
    murchd authored and davidmurch committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    090309b View commit details
    Browse the repository at this point in the history
  2. fix JexlEngineUtil(Map<String, Object> functions) now adds map to the…

    … instance var
    
    Signed-off-by: David Murch <david.murch@integration.works>
    murchd authored and davidmurch committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    074a8a1 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Picked up David's magic for extra JEXL functions

    It's not just GeneralUtils functions that can be put into variables in JEXL expressions
    Added CustomFunctionsTest - to make sure we can add customFunctions into variables in JEXL expressions
    Renamed test/java/.../hl7/expression/varable directory to variable
    Added License SPDX header and Copyright to Te Whatu Ora
    
    Signed-off-by: Stuart McGrigor <stuart.mcgrigor@midcentraldhb.govt.nz>
    
    # Conflicts:
    #	src/main/java/io/github/linuxforhealth/hl7/message/HL7MessageData.java
    
    Signed-off-by: David Murch <david.murch@integration.works>
    davidmurch committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    f51bdda View commit details
    Browse the repository at this point in the history