{"action":"created","issue":{"url":"https://api.github.com/repos/skippbox/kubeless/issues/49","repository_url":"https://api.github.com/repos/skippbox/kubeless","labels_url":"https://api.github.com/repos/skippbox/kubeless/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/skippbox/kubeless/issues/49/comments","events_url":"https://api.github.com/repos/skippbox/kubeless/issues/49/events","html_url":"https://github.com/skippbox/kubeless/pull/49","id":211449439,"number":49,"title":"Add nodejs runtime","user":{"login":"rosskukulinski","id":2746479,"avatar_url":"https://avatars1.githubusercontent.com/u/2746479?v=3","gravatar_id":"","url":"https://api.github.com/users/rosskukulinski","html_url":"https://github.com/rosskukulinski","followers_url":"https://api.github.com/users/rosskukulinski/followers","following_url":"https://api.github.com/users/rosskukulinski/following{/other_user}","gists_url":"https://api.github.com/users/rosskukulinski/gists{/gist_id}","starred_url":"https://api.github.com/users/rosskukulinski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosskukulinski/subscriptions","organizations_url":"https://api.github.com/users/rosskukulinski/orgs","repos_url":"https://api.github.com/users/rosskukulinski/repos","events_url":"https://api.github.com/users/rosskukulinski/events{/privacy}","received_events_url":"https://api.github.com/users/rosskukulinski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-02T16:47:20Z","updated_at":"2017-03-07T16:03:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/skippbox/kubeless/pulls/49","html_url":"https://github.com/skippbox/kubeless/pull/49","diff_url":"https://github.com/skippbox/kubeless/pull/49.diff","patch_url":"https://github.com/skippbox/kubeless/pull/49.patch"},"body":"Refs #6 "},"comment":{"url":"https://api.github.com/repos/skippbox/kubeless/issues/comments/284765394","html_url":"https://github.com/skippbox/kubeless/pull/49#issuecomment-284765394","issue_url":"https://api.github.com/repos/skippbox/kubeless/issues/49","id":284765394,"user":{"login":"ngtuna","id":1963463,"avatar_url":"https://avatars1.githubusercontent.com/u/1963463?v=3","gravatar_id":"","url":"https://api.github.com/users/ngtuna","html_url":"https://github.com/ngtuna","followers_url":"https://api.github.com/users/ngtuna/followers","following_url":"https://api.github.com/users/ngtuna/following{/other_user}","gists_url":"https://api.github.com/users/ngtuna/gists{/gist_id}","starred_url":"https://api.github.com/users/ngtuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngtuna/subscriptions","organizations_url":"https://api.github.com/users/ngtuna/orgs","repos_url":"https://api.github.com/users/ngtuna/repos","events_url":"https://api.github.com/users/ngtuna/events{/privacy}","received_events_url":"https://api.github.com/users/ngtuna/received_events","type":"User","site_admin":false},"created_at":"2017-03-07T16:03:15Z","updated_at":"2017-03-07T16:03:15Z","body":"@rosskukulinski Thanks for the PR. I am investigating it. Meanwhile could you run the test again with the case of post-nodejs. I tested it and the response was not correct. See below what I did:\r\n\r\n```console\r\n$ kubeless function create post-nodejs --trigger-http --runtime nodejs6.10 --handler hellowithdata.handler --from-file examples/nodejs/hellowithdata.js\r\n\r\n$ kubeless function ls\r\nNAME        \tHANDLER              \tRUNTIME   \tTYPE\tTOPIC\tNAMESPACE\r\nget-nodejs  \thelloget.foo         \tnodejs6.10\tHTTP\t     \tdefault  \r\nhttpwithdata\thellowithdata.handler\tpython27  \tHTTP\t     \tdefault  \r\npost-nodejs \thellowithdata.handler\tnodejs6.10\tHTTP\t     \tdefault\r\n\r\n$ kubeless function call post-nodejs --data '{\"foo\":\"bar\"}'\r\nConnecting to function...\r\nForwarding from 127.0.0.1:30000 -> 8080\r\nForwarding from [::1]:30000 -> 8080\r\nHandling connection for 30000\r\nhello world\r\n```\r\n\r\nThe response should be \"foo bar\". If you wish to run from the `kubeless install`, please replace this line with image name`tuna/kubeless-controller:0.0.1` which I packaged based on your PR.\r\n\r\nhttps://github.com/skippbox/kubeless/blob/master/pkg/utils/k8sutil.go#L375\r\n\r\n\r\n"}}
{"actor":{"display_login":"ngtuna"}}