{"action":"created","comment":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/comments/59339201","id":59339201,"diff_hunk":"@@ -0,0 +1,96 @@\n+\n+#   (c) Copyright 2016 Hewlett-Packard Development Company, L.P.\n+#   All rights reserved. This program and the accompanying materials\n+#   are made available under the terms of the Apache License v2.0 which accompany this distribution.\n+#\n+#   The Apache License is available at\n+#   http://www.apache.org/licenses/LICENSE-2.0\n+#\n+####################################################\n+#!!\n+#! @description: Sends to email results of Speech Recognision, with was made by HPE Haven OnDemand API.\n+#! @input apikey: user's API Keys\n+#! @input video: path to video, witch recognising\n+#! @input url: URL to Speech Recognision API\n+#! @input urlForResult: URL for getting response from Haven OnDemand\n+#! @input hostname: email host\n+#! @input port: email port\n+#! @input from: email sender\n+#! @input to: email recipient\n+#!!#\n+####################################################\n+\n+namespace: io.cloudslang.haven_onDemand.voice_recognision\n+\n+imports:\n+  rest: io.cloudslang.base.network.rest\n+  json: io.cloudslang.base.json\n+  file: io.cloudslang.base.files\n+  mail: io.cloudslang.base.mail\n+  base: io.cloudslang.base.print\n+\n+flow:\n+  name: sendVoiceRecToMail\n+\n+  inputs:\n+    - apikey: ${get_sp('io.cloudslang.haven_onDemand.apikey')}\n+    - url: ${get_sp('io.cloudslang.haven_onDemand.url')}\n+    - video: ${get_sp('io.cloudslang.haven_onDemand.video')}\n+    - urlForResult: ${get_sp('io.cloudslang.haven_onDemand.urlForResult')}\n+    - hostname: \"smtp3.hpe.com\"\n+    - port: \"25\"\n+    - from: ${get_sp('io.cloudslang.haven_onDemand.from')}\n+    - to: ${get_sp('io.cloudslang.haven_onDemand.to')}\n+\n+  workflow:\n+\n+    - startingConnection:\n+          do:\n+            speechRecognision:\n+               - url\n+               - video\n+               - apikey\n+\n+          publish:\n+             - jobID\n+             - error_message\n+          navigate:\n+            SUCCESS: getResultRecognision\n+            FAILURE: print\n+\n+    - getResultRecognision:\n+           do:\n+             checkStatus:\n+               - url: ${urlForResult}\n+               - jobID: ${jobID}\n+               - apikey: ${apikey}\n+\n+           publish:\n+             - error_message\n+             - result: ${resultOfRecogn}\n+           navigate:","path":"content/io/cloudslang/haven_onDemand/voice_recognision/sendVoiceRecToMail.sl","position":71,"original_position":71,"commit_id":"705c9d8b32704292e729d4f30d50678bceac470b","original_commit_id":"705c9d8b32704292e729d4f30d50678bceac470b","user":{"login":"mihaitusa","id":10741864,"avatar_url":"https://avatars.githubusercontent.com/u/10741864?v=3","gravatar_id":"","url":"https://api.github.com/users/mihaitusa","html_url":"https://github.com/mihaitusa","followers_url":"https://api.github.com/users/mihaitusa/followers","following_url":"https://api.github.com/users/mihaitusa/following{/other_user}","gists_url":"https://api.github.com/users/mihaitusa/gists{/gist_id}","starred_url":"https://api.github.com/users/mihaitusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihaitusa/subscriptions","organizations_url":"https://api.github.com/users/mihaitusa/orgs","repos_url":"https://api.github.com/users/mihaitusa/repos","events_url":"https://api.github.com/users/mihaitusa/events{/privacy}","received_events_url":"https://api.github.com/users/mihaitusa/received_events","type":"User","site_admin":false},"body":"@dashapaster  ... same here as first observation","created_at":"2016-04-12T08:31:25Z","updated_at":"2016-04-12T08:31:25Z","html_url":"https://github.com/CloudSlang/cloud-slang-content/pull/576#discussion_r59339201","pull_request_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/576","_links":{"self":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/comments/59339201"},"html":{"href":"https://github.com/CloudSlang/cloud-slang-content/pull/576#discussion_r59339201"},"pull_request":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/576"}}},"pull_request":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/576","id":66116059,"html_url":"https://github.com/CloudSlang/cloud-slang-content/pull/576","diff_url":"https://github.com/CloudSlang/cloud-slang-content/pull/576.diff","patch_url":"https://github.com/CloudSlang/cloud-slang-content/pull/576.patch","issue_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/576","number":576,"state":"open","locked":false,"title":"content_haven_on_demand","user":{"login":"dashapaster","id":15969150,"avatar_url":"https://avatars.githubusercontent.com/u/15969150?v=3","gravatar_id":"","url":"https://api.github.com/users/dashapaster","html_url":"https://github.com/dashapaster","followers_url":"https://api.github.com/users/dashapaster/followers","following_url":"https://api.github.com/users/dashapaster/following{/other_user}","gists_url":"https://api.github.com/users/dashapaster/gists{/gist_id}","starred_url":"https://api.github.com/users/dashapaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dashapaster/subscriptions","organizations_url":"https://api.github.com/users/dashapaster/orgs","repos_url":"https://api.github.com/users/dashapaster/repos","events_url":"https://api.github.com/users/dashapaster/events{/privacy}","received_events_url":"https://api.github.com/users/dashapaster/received_events","type":"User","site_admin":false},"body":"Created flow witch use HPE Haven onDemand APi","created_at":"2016-04-12T08:08:13Z","updated_at":"2016-04-12T08:31:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"083d7cb981c9abdcee342656026d76d0db8ad5b0","assignee":{"login":"mihaitusa","id":10741864,"avatar_url":"https://avatars.githubusercontent.com/u/10741864?v=3","gravatar_id":"","url":"https://api.github.com/users/mihaitusa","html_url":"https://github.com/mihaitusa","followers_url":"https://api.github.com/users/mihaitusa/followers","following_url":"https://api.github.com/users/mihaitusa/following{/other_user}","gists_url":"https://api.github.com/users/mihaitusa/gists{/gist_id}","starred_url":"https://api.github.com/users/mihaitusa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihaitusa/subscriptions","organizations_url":"https://api.github.com/users/mihaitusa/orgs","repos_url":"https://api.github.com/users/mihaitusa/repos","events_url":"https://api.github.com/users/mihaitusa/events{/privacy}","received_events_url":"https://api.github.com/users/mihaitusa/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/milestones/28","html_url":"https://github.com/CloudSlang/cloud-slang-content/milestones/0.9.60%20-%20sprint%202","labels_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/milestones/28/labels","id":1680021,"number":28,"title":"0.9.60 - sprint 2","description":"","creator":{"login":"meshipeer","id":6988387,"avatar_url":"https://avatars.githubusercontent.com/u/6988387?v=3","gravatar_id":"","url":"https://api.github.com/users/meshipeer","html_url":"https://github.com/meshipeer","followers_url":"https://api.github.com/users/meshipeer/followers","following_url":"https://api.github.com/users/meshipeer/following{/other_user}","gists_url":"https://api.github.com/users/meshipeer/gists{/gist_id}","starred_url":"https://api.github.com/users/meshipeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meshipeer/subscriptions","organizations_url":"https://api.github.com/users/meshipeer/orgs","repos_url":"https://api.github.com/users/meshipeer/repos","events_url":"https://api.github.com/users/meshipeer/events{/privacy}","received_events_url":"https://api.github.com/users/meshipeer/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":11,"state":"open","created_at":"2016-04-03T05:48:42Z","updated_at":"2016-04-12T08:09:13Z","due_on":"2016-04-15T21:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/576/commits","review_comments_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/576/comments","review_comment_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/576/comments","statuses_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/statuses/705c9d8b32704292e729d4f30d50678bceac470b","head":{"label":"CloudSlang:content_haven_on_demand","ref":"content_haven_on_demand","sha":"705c9d8b32704292e729d4f30d50678bceac470b","user":{"login":"CloudSlang","id":10261505,"avatar_url":"https://avatars.githubusercontent.com/u/10261505?v=3","gravatar_id":"","url":"https://api.github.com/users/CloudSlang","html_url":"https://github.com/CloudSlang","followers_url":"https://api.github.com/users/CloudSlang/followers","following_url":"https://api.github.com/users/CloudSlang/following{/other_user}","gists_url":"https://api.github.com/users/CloudSlang/gists{/gist_id}","starred_url":"https://api.github.com/users/CloudSlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CloudSlang/subscriptions","organizations_url":"https://api.github.com/users/CloudSlang/orgs","repos_url":"https://api.github.com/users/CloudSlang/repos","events_url":"https://api.github.com/users/CloudSlang/events{/privacy}","received_events_url":"https://api.github.com/users/CloudSlang/received_events","type":"Organization","site_admin":false},"repo":{"id":28634263,"name":"cloud-slang-content","full_name":"CloudSlang/cloud-slang-content","owner":{"login":"CloudSlang","id":10261505,"avatar_url":"https://avatars.githubusercontent.com/u/10261505?v=3","gravatar_id":"","url":"https://api.github.com/users/CloudSlang","html_url":"https://github.com/CloudSlang","followers_url":"https://api.github.com/users/CloudSlang/followers","following_url":"https://api.github.com/users/CloudSlang/following{/other_user}","gists_url":"https://api.github.com/users/CloudSlang/gists{/gist_id}","starred_url":"https://api.github.com/users/CloudSlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CloudSlang/subscriptions","organizations_url":"https://api.github.com/users/CloudSlang/orgs","repos_url":"https://api.github.com/users/CloudSlang/repos","events_url":"https://api.github.com/users/CloudSlang/events{/privacy}","received_events_url":"https://api.github.com/users/CloudSlang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CloudSlang/cloud-slang-content","description":"Ready-Made CloudSlang Flows and Operations","fork":false,"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content","forks_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/forks","keys_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/teams","hooks_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/hooks","issue_events_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/events{/number}","events_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/events","assignees_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/assignees{/user}","branches_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/branches{/branch}","tags_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/tags","blobs_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/refs{/sha}","trees_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/statuses/{sha}","languages_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/languages","stargazers_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/stargazers","contributors_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/contributors","subscribers_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/subscribers","subscription_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/subscription","commits_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/commits{/sha}","git_commits_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/commits{/sha}","comments_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/comments{/number}","issue_comment_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/comments{/number}","contents_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/contents/{+path}","compare_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/merges","archive_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/downloads","issues_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues{/number}","pulls_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls{/number}","milestones_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/milestones{/number}","notifications_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/labels{/name}","releases_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/releases{/id}","deployments_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/deployments","created_at":"2014-12-30T14:47:38Z","updated_at":"2016-04-08T13:39:51Z","pushed_at":"2016-04-12T08:08:13Z","git_url":"git://github.com/CloudSlang/cloud-slang-content.git","ssh_url":"git@github.com:CloudSlang/cloud-slang-content.git","clone_url":"https://github.com/CloudSlang/cloud-slang-content.git","svn_url":"https://github.com/CloudSlang/cloud-slang-content","homepage":"http://www.cloudslang.io/","size":3887,"stargazers_count":30,"watchers_count":30,"language":"Slash","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":46,"forks":30,"open_issues":46,"watchers":30,"default_branch":"master"}},"base":{"label":"CloudSlang:master","ref":"master","sha":"960cfa1d7196abc822bf065448300c9a350104ba","user":{"login":"CloudSlang","id":10261505,"avatar_url":"https://avatars.githubusercontent.com/u/10261505?v=3","gravatar_id":"","url":"https://api.github.com/users/CloudSlang","html_url":"https://github.com/CloudSlang","followers_url":"https://api.github.com/users/CloudSlang/followers","following_url":"https://api.github.com/users/CloudSlang/following{/other_user}","gists_url":"https://api.github.com/users/CloudSlang/gists{/gist_id}","starred_url":"https://api.github.com/users/CloudSlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CloudSlang/subscriptions","organizations_url":"https://api.github.com/users/CloudSlang/orgs","repos_url":"https://api.github.com/users/CloudSlang/repos","events_url":"https://api.github.com/users/CloudSlang/events{/privacy}","received_events_url":"https://api.github.com/users/CloudSlang/received_events","type":"Organization","site_admin":false},"repo":{"id":28634263,"name":"cloud-slang-content","full_name":"CloudSlang/cloud-slang-content","owner":{"login":"CloudSlang","id":10261505,"avatar_url":"https://avatars.githubusercontent.com/u/10261505?v=3","gravatar_id":"","url":"https://api.github.com/users/CloudSlang","html_url":"https://github.com/CloudSlang","followers_url":"https://api.github.com/users/CloudSlang/followers","following_url":"https://api.github.com/users/CloudSlang/following{/other_user}","gists_url":"https://api.github.com/users/CloudSlang/gists{/gist_id}","starred_url":"https://api.github.com/users/CloudSlang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CloudSlang/subscriptions","organizations_url":"https://api.github.com/users/CloudSlang/orgs","repos_url":"https://api.github.com/users/CloudSlang/repos","events_url":"https://api.github.com/users/CloudSlang/events{/privacy}","received_events_url":"https://api.github.com/users/CloudSlang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CloudSlang/cloud-slang-content","description":"Ready-Made CloudSlang Flows and Operations","fork":false,"url":"https://api.github.com/repos/CloudSlang/cloud-slang-content","forks_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/forks","keys_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/teams","hooks_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/hooks","issue_events_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/events{/number}","events_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/events","assignees_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/assignees{/user}","branches_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/branches{/branch}","tags_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/tags","blobs_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/refs{/sha}","trees_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/statuses/{sha}","languages_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/languages","stargazers_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/stargazers","contributors_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/contributors","subscribers_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/subscribers","subscription_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/subscription","commits_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/commits{/sha}","git_commits_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/git/commits{/sha}","comments_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/comments{/number}","issue_comment_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/comments{/number}","contents_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/contents/{+path}","compare_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/merges","archive_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/downloads","issues_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues{/number}","pulls_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls{/number}","milestones_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/milestones{/number}","notifications_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/labels{/name}","releases_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/releases{/id}","deployments_url":"https://api.github.com/repos/CloudSlang/cloud-slang-content/deployments","created_at":"2014-12-30T14:47:38Z","updated_at":"2016-04-08T13:39:51Z","pushed_at":"2016-04-12T08:08:13Z","git_url":"git://github.com/CloudSlang/cloud-slang-content.git","ssh_url":"git@github.com:CloudSlang/cloud-slang-content.git","clone_url":"https://github.com/CloudSlang/cloud-slang-content.git","svn_url":"https://github.com/CloudSlang/cloud-slang-content","homepage":"http://www.cloudslang.io/","size":3887,"stargazers_count":30,"watchers_count":30,"language":"Slash","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":46,"forks":30,"open_issues":46,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/576"},"html":{"href":"https://github.com/CloudSlang/cloud-slang-content/pull/576"},"issue":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/576"},"comments":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/issues/576/comments"},"review_comments":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/576/comments"},"review_comment":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/pulls/576/commits"},"statuses":{"href":"https://api.github.com/repos/CloudSlang/cloud-slang-content/statuses/705c9d8b32704292e729d4f30d50678bceac470b"}}}}