{"action":"created","comment":{"url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/pulls/comments/92681282","pull_request_review_id":13166241,"id":92681282,"diff_hunk":"@@ -0,0 +1,48 @@\n+/**\n+ * The MIT License (MIT)\n+ * Copyright (c) 2016 Bezirk http://bezirk.com\n+ *\n+ * Permission is hereby granted, free of charge, to any person obtaining a copy\n+ * of this software and associated documentation files (the \"Software\"), to deal\n+ * in the Software without restriction, including without limitation the rights\n+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+ * copies of the Software, and to permit persons to whom the Software is\n+ * furnished to do so, subject to the following conditions:\n+ *\n+ * The above copyright notice and this permission notice shall be included in\n+ * all copies or substantial portions of the Software.\n+ *\n+ * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n+ * THE SOFTWARE.\n+ */\n+package com.bezirk.middleware.core.streaming;\n+\n+import com.bezirk.middleware.messages.Event;\n+\n+import java.util.Random;\n+\n+\n+/**\n+ *\n+ * @author pik6kor\n+ */\n+public class StreamPublishEvent extends Event {\n+\n+    //set the subscriberID\n+    private String subscriberId;\n+\n+    public StreamPublishEvent(String subscriberId){\n+        Random rand = new Random();","path":"core/testapp-core/src/main/java/com/bezirk/middleware/core/streaming/StreamPublishEvent.java","position":40,"original_position":40,"commit_id":"41696c8da6812253f44ba9a5a8742631216cd9db","original_commit_id":"41696c8da6812253f44ba9a5a8742631216cd9db","user":{"login":"maass-bezirk","id":18356156,"avatar_url":"https://avatars.githubusercontent.com/u/18356156?v=3","gravatar_id":"","url":"https://api.github.com/users/maass-bezirk","html_url":"https://github.com/maass-bezirk","followers_url":"https://api.github.com/users/maass-bezirk/followers","following_url":"https://api.github.com/users/maass-bezirk/following{/other_user}","gists_url":"https://api.github.com/users/maass-bezirk/gists{/gist_id}","starred_url":"https://api.github.com/users/maass-bezirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maass-bezirk/subscriptions","organizations_url":"https://api.github.com/users/maass-bezirk/orgs","repos_url":"https://api.github.com/users/maass-bezirk/repos","events_url":"https://api.github.com/users/maass-bezirk/events{/privacy}","received_events_url":"https://api.github.com/users/maass-bezirk/received_events","type":"User","site_admin":false},"body":"final","created_at":"2016-12-15T19:25:03Z","updated_at":"2016-12-15T19:27:16Z","html_url":"https://github.com/Bezirk-Bosch/Middleware/pull/168#discussion_r92681282","pull_request_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/pulls/168","_links":{"self":{"href":"https://api.github.com/repos/Bezirk-Bosch/Middleware/pulls/comments/92681282"},"html":{"href":"https://github.com/Bezirk-Bosch/Middleware/pull/168#discussion_r92681282"},"pull_request":{"href":"https://api.github.com/repos/Bezirk-Bosch/Middleware/pulls/168"}}},"pull_request":{"url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/pulls/168","id":98181653,"html_url":"https://github.com/Bezirk-Bosch/Middleware/pull/168","diff_url":"https://github.com/Bezirk-Bosch/Middleware/pull/168.diff","patch_url":"https://github.com/Bezirk-Bosch/Middleware/pull/168.patch","issue_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/issues/168","number":168,"state":"open","locked":false,"title":"Streaming Feature","user":{"login":"punithmailme","id":4214431,"avatar_url":"https://avatars.githubusercontent.com/u/4214431?v=3","gravatar_id":"","url":"https://api.github.com/users/punithmailme","html_url":"https://github.com/punithmailme","followers_url":"https://api.github.com/users/punithmailme/followers","following_url":"https://api.github.com/users/punithmailme/following{/other_user}","gists_url":"https://api.github.com/users/punithmailme/gists{/gist_id}","starred_url":"https://api.github.com/users/punithmailme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/punithmailme/subscriptions","organizations_url":"https://api.github.com/users/punithmailme/orgs","repos_url":"https://api.github.com/users/punithmailme/repos","events_url":"https://api.github.com/users/punithmailme/events{/privacy}","received_events_url":"https://api.github.com/users/punithmailme/received_events","type":"User","site_admin":false},"body":"Changes related to FileStreaming module","created_at":"2016-12-15T16:17:37Z","updated_at":"2016-12-15T19:27:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84ef88c08f16cdfc8c271f93bc448cf61e360884","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/pulls/168/commits","review_comments_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/pulls/168/comments","review_comment_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/issues/168/comments","statuses_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/statuses/41696c8da6812253f44ba9a5a8742631216cd9db","head":{"label":"Bezirk-Bosch:feature/clean-stream","ref":"feature/clean-stream","sha":"41696c8da6812253f44ba9a5a8742631216cd9db","user":{"login":"Bezirk-Bosch","id":18355799,"avatar_url":"https://avatars.githubusercontent.com/u/18355799?v=3","gravatar_id":"","url":"https://api.github.com/users/Bezirk-Bosch","html_url":"https://github.com/Bezirk-Bosch","followers_url":"https://api.github.com/users/Bezirk-Bosch/followers","following_url":"https://api.github.com/users/Bezirk-Bosch/following{/other_user}","gists_url":"https://api.github.com/users/Bezirk-Bosch/gists{/gist_id}","starred_url":"https://api.github.com/users/Bezirk-Bosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bezirk-Bosch/subscriptions","organizations_url":"https://api.github.com/users/Bezirk-Bosch/orgs","repos_url":"https://api.github.com/users/Bezirk-Bosch/repos","events_url":"https://api.github.com/users/Bezirk-Bosch/events{/privacy}","received_events_url":"https://api.github.com/users/Bezirk-Bosch/received_events","type":"Organization","site_admin":false},"repo":{"id":55810513,"name":"Middleware","full_name":"Bezirk-Bosch/Middleware","owner":{"login":"Bezirk-Bosch","id":18355799,"avatar_url":"https://avatars.githubusercontent.com/u/18355799?v=3","gravatar_id":"","url":"https://api.github.com/users/Bezirk-Bosch","html_url":"https://github.com/Bezirk-Bosch","followers_url":"https://api.github.com/users/Bezirk-Bosch/followers","following_url":"https://api.github.com/users/Bezirk-Bosch/following{/other_user}","gists_url":"https://api.github.com/users/Bezirk-Bosch/gists{/gist_id}","starred_url":"https://api.github.com/users/Bezirk-Bosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bezirk-Bosch/subscriptions","organizations_url":"https://api.github.com/users/Bezirk-Bosch/orgs","repos_url":"https://api.github.com/users/Bezirk-Bosch/repos","events_url":"https://api.github.com/users/Bezirk-Bosch/events{/privacy}","received_events_url":"https://api.github.com/users/Bezirk-Bosch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Bezirk-Bosch/Middleware","description":"developer-friendly, user-centric, and privacy-respecting glue for the Internet of Things","fork":false,"url":"https://api.github.com/repos/Bezirk-Bosch/Middleware","forks_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/forks","keys_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/teams","hooks_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/hooks","issue_events_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/issues/events{/number}","events_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/events","assignees_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/assignees{/user}","branches_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/branches{/branch}","tags_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/tags","blobs_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/statuses/{sha}","languages_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/languages","stargazers_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/stargazers","contributors_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/contributors","subscribers_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/subscribers","subscription_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/subscription","commits_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/contents/{+path}","compare_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/merges","archive_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/downloads","issues_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/issues{/number}","pulls_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/pulls{/number}","milestones_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/milestones{/number}","notifications_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/labels{/name}","releases_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/releases{/id}","deployments_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/deployments","created_at":"2016-04-08T21:24:05Z","updated_at":"2016-10-24T18:44:17Z","pushed_at":"2016-12-15T16:17:37Z","git_url":"git://github.com/Bezirk-Bosch/Middleware.git","ssh_url":"git@github.com:Bezirk-Bosch/Middleware.git","clone_url":"https://github.com/Bezirk-Bosch/Middleware.git","svn_url":"https://github.com/Bezirk-Bosch/Middleware","homepage":"http://www.bezirk.com/","size":14380,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":15,"forks":0,"open_issues":15,"watchers":1,"default_branch":"master"}},"base":{"label":"Bezirk-Bosch:master","ref":"master","sha":"74c1cd71d726d9d3c5762d92b73768948e5a305b","user":{"login":"Bezirk-Bosch","id":18355799,"avatar_url":"https://avatars.githubusercontent.com/u/18355799?v=3","gravatar_id":"","url":"https://api.github.com/users/Bezirk-Bosch","html_url":"https://github.com/Bezirk-Bosch","followers_url":"https://api.github.com/users/Bezirk-Bosch/followers","following_url":"https://api.github.com/users/Bezirk-Bosch/following{/other_user}","gists_url":"https://api.github.com/users/Bezirk-Bosch/gists{/gist_id}","starred_url":"https://api.github.com/users/Bezirk-Bosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bezirk-Bosch/subscriptions","organizations_url":"https://api.github.com/users/Bezirk-Bosch/orgs","repos_url":"https://api.github.com/users/Bezirk-Bosch/repos","events_url":"https://api.github.com/users/Bezirk-Bosch/events{/privacy}","received_events_url":"https://api.github.com/users/Bezirk-Bosch/received_events","type":"Organization","site_admin":false},"repo":{"id":55810513,"name":"Middleware","full_name":"Bezirk-Bosch/Middleware","owner":{"login":"Bezirk-Bosch","id":18355799,"avatar_url":"https://avatars.githubusercontent.com/u/18355799?v=3","gravatar_id":"","url":"https://api.github.com/users/Bezirk-Bosch","html_url":"https://github.com/Bezirk-Bosch","followers_url":"https://api.github.com/users/Bezirk-Bosch/followers","following_url":"https://api.github.com/users/Bezirk-Bosch/following{/other_user}","gists_url":"https://api.github.com/users/Bezirk-Bosch/gists{/gist_id}","starred_url":"https://api.github.com/users/Bezirk-Bosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bezirk-Bosch/subscriptions","organizations_url":"https://api.github.com/users/Bezirk-Bosch/orgs","repos_url":"https://api.github.com/users/Bezirk-Bosch/repos","events_url":"https://api.github.com/users/Bezirk-Bosch/events{/privacy}","received_events_url":"https://api.github.com/users/Bezirk-Bosch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Bezirk-Bosch/Middleware","description":"developer-friendly, user-centric, and privacy-respecting glue for the Internet of Things","fork":false,"url":"https://api.github.com/repos/Bezirk-Bosch/Middleware","forks_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/forks","keys_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/teams","hooks_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/hooks","issue_events_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/issues/events{/number}","events_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/events","assignees_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/assignees{/user}","branches_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/branches{/branch}","tags_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/tags","blobs_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/statuses/{sha}","languages_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/languages","stargazers_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/stargazers","contributors_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/contributors","subscribers_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/subscribers","subscription_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/subscription","commits_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/contents/{+path}","compare_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/merges","archive_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/downloads","issues_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/issues{/number}","pulls_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/pulls{/number}","milestones_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/milestones{/number}","notifications_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/labels{/name}","releases_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/releases{/id}","deployments_url":"https://api.github.com/repos/Bezirk-Bosch/Middleware/deployments","created_at":"2016-04-08T21:24:05Z","updated_at":"2016-10-24T18:44:17Z","pushed_at":"2016-12-15T16:17:37Z","git_url":"git://github.com/Bezirk-Bosch/Middleware.git","ssh_url":"git@github.com:Bezirk-Bosch/Middleware.git","clone_url":"https://github.com/Bezirk-Bosch/Middleware.git","svn_url":"https://github.com/Bezirk-Bosch/Middleware","homepage":"http://www.bezirk.com/","size":14380,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":15,"forks":0,"open_issues":15,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Bezirk-Bosch/Middleware/pulls/168"},"html":{"href":"https://github.com/Bezirk-Bosch/Middleware/pull/168"},"issue":{"href":"https://api.github.com/repos/Bezirk-Bosch/Middleware/issues/168"},"comments":{"href":"https://api.github.com/repos/Bezirk-Bosch/Middleware/issues/168/comments"},"review_comments":{"href":"https://api.github.com/repos/Bezirk-Bosch/Middleware/pulls/168/comments"},"review_comment":{"href":"https://api.github.com/repos/Bezirk-Bosch/Middleware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Bezirk-Bosch/Middleware/pulls/168/commits"},"statuses":{"href":"https://api.github.com/repos/Bezirk-Bosch/Middleware/statuses/41696c8da6812253f44ba9a5a8742631216cd9db"}}}}
{"actor":{"display_login":"maass-bezirk"}}