fission / fission-workflows

Workflows for Fission: Fast, reliable and lightweight function composition for serverless functions
Apache License 2.0
371 stars 42 forks source link

Add full transformer and selector support #22

Closed erwinvaneyk closed 7 years ago

erwinvaneyk commented 7 years ago

This PR adds support for expressions, which can consist of selectors (e.g. $.Invocation.Inputs.default), transformers (e.g. $.Invocation.Inputs.default.toUpperCase()) and literals (e.g. "hello world").

The current implementation relies on using JavaScript using the Otto JavaScript Interpreter.

Additionally, a structured approach to parsing and formatting TypedValues is implemented.