2020-01-14 07:56:25 UTC - Michele Sciabarra: It is now possible to start the playground with a docker image the super easy way with ```bash <(curl -sL <https://s.apache.org/openwhisk.sh>) actionloop``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1578988585115500 ---- 2020-01-14 07:57:44 UTC - Michele Sciabarra: @Rodric Rabbah @chetanm @Dave Grove I need a bit of help to remove the “actionloop” from this command line because it defaults to openwhisk so I need to publish the standalone images to docker hub as openwhisk/standalone:latest but I have no idea how to do it https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1578988664117100 ---- 2020-01-14 13:30:57 UTC - Dave Grove: we need to have a release of the core repo before we tag an image as `latest` only docker images that come from apache releases get `latest` as a tag https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579008657118200 ---- 2020-01-14 13:56:13 UTC - Michele Sciabarra: hm https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579010173118400 ---- 2020-01-14 13:56:29 UTC - Michele Sciabarra: so we need to change the script to use the nightly tag… https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579010189118800 ---- 2020-01-14 14:06:37 UTC - Michele Sciabarra: @Dave Grove if you tell me how to publish the image in docker and how to tag it I will submit a PR to fix also the the launch script. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579010797119700?thread_ts=1579010797.119700&cid=C3TPCAQG1 ---- 2020-01-14 14:12:55 UTC - Dave Grove: the file openwhisk/tools/jenkins/apache/dockerhub.groovy defines the tasks for a Jenkins job that runs periodically and publishes images built from the core repo to dockerhub. You should just need to add `core:standalone:distDocker` to the lists of targets in the `PUSH_CMD` and the automation will do the rest https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579011175120600?thread_ts=1579010797.119700&cid=C3TPCAQG1 ---- 2020-01-14 17:34:20 UTC - Victor Lombardi: Hello maybe someone could help me, I'm stuck with Openwhisk... I would like to send a request to my function with a form-data, but I receive only `__ow _body` in base64... How can I parse my owbody?? Thank you in advance if you unstuck me ! :slightly_smiling_face:
PS: I'm using NodeJS https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579023260122700?thread_ts=1579023260.122700&cid=C3TPCAQG1 ---- 2020-01-14 17:38:54 UTC - Upkar Lidder: Hello, the docs say `You see above that for convenience, query parameters, form data, and JSON object body entities are all treated as dictionaries, and their values are directly accessible as action input properties.` Have you tried that? <https://github.com/apache/openwhisk/blob/master/docs/webactions.md> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579023534123000?thread_ts=1579023260.122700&cid=C3TPCAQG1 ---- 2020-01-14 17:40:58 UTC - Victor Lombardi: Like : 'async function main(args, test, file, user) {' https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579023658123200?thread_ts=1579023260.122700&cid=C3TPCAQG1 ---- 2020-01-14 17:41:06 UTC - Victor Lombardi: test, file and user are undefined https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579023666123400?thread_ts=1579023260.122700&cid=C3TPCAQG1 ---- 2020-01-14 17:41:46 UTC - Upkar Lidder: They should be added to the args itself. Try `args.test` perhaps? I am also doing a quick test. +1 : Rodric Rabbah https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579023706124300?thread_ts=1579023260.122700&cid=C3TPCAQG1 ---- 2020-01-14 17:41:54 UTC - Rodric Rabbah: Or try js restructuring ({ test, file, user }) https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579023714124600?thread_ts=1579023260.122700&cid=C3TPCAQG1 ---- 2020-01-14 17:42:47 UTC - Victor Lombardi: @Rodric Rabbah same, undef https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579023767125200?thread_ts=1579023260.122700&cid=C3TPCAQG1 ---- 2020-01-14 17:43:00 UTC - Victor Lombardi: @Upkar Lidder not working too https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579023780125600?thread_ts=1579023260.122700&cid=C3TPCAQG1 ---- 2020-01-14 17:43:15 UTC - Rodric Rabbah: Can you share the wsk command you used to create the function https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579023795126200?thread_ts=1579023260.122700&cid=C3TPCAQG1 ---- 2020-01-14 17:43:19 UTC - Victor Lombardi: I only have _ _ow _body in base64 https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579023799126400?thread_ts=1579023260.122700&cid=C3TPCAQG1 ---- 2020-01-14 17:45:07 UTC - Rodric Rabbah: <https://github.com/apache/openwhisk/blob/master/docs/webactions.md|https://github.com/apache/openwhisk/blob/master/docs/webactions.md> Has a section about decoding base64 https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579023907127300?thread_ts=1579023260.122700&cid=C3TPCAQG1 ---- 2020-01-14 17:45:20 UTC - Rodric Rabbah: function main(args) { decoded = new Buffer(args.__ow_body, 'base64').toString('utf-8') return {body: decoded} } +1::skin-tone-4 : Upkar Lidder https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579023920127600?thread_ts=1579023260.122700&cid=C3TPCAQG1 ---- 2020-01-14 17:47:02 UTC - Rodric Rabbah: Then you’ll have to parse it. Upkar is right in that the system generally decodes the form for you. Two reasons this might not happen: 1. You asked for it by using raw web actions 2. The input isn’t a form https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579024022129900?thread_ts=1579023260.122700&cid=C3TPCAQG1 ---- 2020-01-14 18:37:18 UTC - Bilal: Is there a way to terminate an action sequence? So far I've been able to stop an activation sequence by returning a dict with key `error` just making sure this is the correct way. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579027038131000?thread_ts=1579027038.131000&cid=C3TPCAQG1 ---- 2020-01-14 19:19:40 UTC - Rodric Rabbah: @Victor Lombardi how’d it go? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579029580131300?thread_ts=1579023260.122700&cid=C3TPCAQG1 ---- 2020-01-14 19:20:22 UTC - Rodric Rabbah: That’s the only way to do it with a sequence. For more advanced cases use conductor/composer. Cc @Olivier Tardieu +1 : Bilal https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1579029622132200?thread_ts=1579027038.131000&cid=C3TPCAQG1 ----