apache / apache/openwhisk

Allow parameters to be designated as init time properties

Open
#4,558 0 comments 0 reactions 0 assignees View on GitHub
API controller enhancement
Dominant language
Scala
Stars
6.8k
Forks
1.2k
Avg merge
2d 14h
Merged PRs (30d)
2

Description

As discussed on the [dev list](https://lists.apache.org/thread.html/7e03e6fc965d972882f4c76e34b2e9aa28579a0c3004d63d546e2611@%3Cdev.openwhisk.apache.org%3E), allows parameters to be designated as init time parameters. The result of such a designation is that the corresponding parameters are communicated to the action at initialization time and should be exported to the action's environment accordingly. This change requires updates to the action runtimes for the latter details and will be done separately. Additonal changes are required to the documentation once all the details are in place.

1. [x] implement the core API change
2. [ ] extends all the runtimes
1. [x] nodejs
2. [ ] c#
3. [ ] all action loop related runtimes
3. [ ] update cli (Add `-e`)
4. [ ] update documentation (include examples of using this capability with `wsk` and functions)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.