Guillaume Nodet created CAMEL-23227:
---------------------------------------

             Summary: Enhance camel-datasonnet with utility functions and 
standard library
                 Key: CAMEL-23227
                 URL: https://issues.apache.org/jira/browse/CAMEL-23227
             Project: Camel
          Issue Type: Improvement
            Reporter: Guillaume Nodet


Improve the DataSonnet language integration to make it more ergonomic for Camel 
users:

* New CML functions: null handling (cml.defaultVal, cml.isEmpty), type coercion 
(cml.toInteger, cml.toDecimal, cml.toBoolean), date/time (cml.now, cml.nowFmt, 
cml.formatDate, cml.parseDate), and utilities (cml.uuid, cml.typeOf)
* camel.libsonnet standard library: auto-discovered helper functions for 
strings, collections, and objects
* Full documentation reference for all new functions

All new functions are implemented through DataSonnet's existing Library SPI — 
no parser or grammar changes required.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to