Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-11288

Support FEEL Scala Engine as integrated Script Engine

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • None
    • None
    • None
    • None

      • this is a hidden feature when using the Scala FEEL Engine
      • before we add the FEEL support to the documentation, we should add integration tests

      AT

      • add tests (unit and integration)
      • add documentation

      Hints:
      Until this is part of the codebase, this can be made to work by adding the below in a text file called org.camunda.feel.valuemapper.CustomValueMapper under META-INF/services/:

      org.camunda.feel.impl.JavaValueMapper
      org.camunda.spin.plugin.impl.feel.integration.SpinValueMapper
      

      This adds two additional SPIs:

      • the JavaValueMapper, which allows transforming FEEL types into Java objects
      • the SpinValueMapper, which allows transforming Spin objects into FEEL types

      For example:

      • for a Spring Boot application, the META-INF folder sits under resources
      • for a Tomcat distribution, a small maven project such as the attached feel-value-mapper.zip can be built to generate a JAR file, which should be dropped into the Tomcat folder $TOMCAT_HOME/lib. If using our docker image, this can be accomplished using a bind mount (docker volume).

        This is the controller panel for Smart Panels app

              thorben.lindhauer Thorben Lindhauer
              tassilo.weidner Tassilo Weidner
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: