-
Feature Request
-
Resolution: Unresolved
-
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).