commit | 6cb64b35dd0b6563d70e67b7fa22fa212a392689 | [log] [tgz] |
---|---|---|
author | Philippe Suter <psuter@us.ibm.com> | Fri Sep 30 16:33:51 2016 -0400 |
committer | Rodric Rabbah <rabbah@us.ibm.com> | Mon Oct 17 13:19:27 2016 -0400 |
tree | bce3c8823b2aab545883f7a6ad05b0f34b1508f3 | |
parent | 74e4bdee19519e520a970a4a222d5946fb3db7e0 [diff] |
Container support for zipped node modules as actions This commit gives the nodejsAction and nodejs6Action containers the ability to accept an action represented as a base64-encoded zip file of a node module. The module needs to export a function matching the expected signature of a whisk action (dict->dict). NodeJS `Exec` entities detect whether the action is a script file or a base64-encoded zip file and communicate this to the container.