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 support for inputs specifying task metadata #91

Closed erwinvaneyk closed 6 years ago

erwinvaneyk commented 6 years ago

This PR adds support for users to specify headers (and queries) The main advantage of using headers is that those explicitly do not get recorded anywhere. They are specific to a task and do not get propagated through

It currently uses a quick experimental format detecting inputs with a key header_* as headers and query_* as query params. In the future it might be an option to change it to an object-based format:

headers:
  key: val

Or support both ways of defining headers.

As flybys: