{"action":"created","comment":{"url":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/comments/43787514","id":43787514,"diff_hunk":"@@ -100,6 +101,20 @@\n     void addData(Collection<Data> data);\n \n     /**\n+     * Add to the accumulated <code>Event</code> to be processed the next time {@link #fire()} is called. After the\n+     * rules are fired on the accumulated <code>Event</code> it will be cleared.\n+     * @param event the event\n+     */\n+    void addEvent(Event event);\n+\n+    /**\n+     * Add to the accumulated <code>Event</code> to be processed the next time {@link #fire()} is called. After the\n+     * rules are fired on the accumulated <code>Event</code> it will be cleared.\n+     * @param events the events\n+     */\n+    void addEvent(Collection<Event> events);","path":"hawkular-alerts-engine/src/main/java/org/hawkular/alerts/engine/rules/RulesEngine.java","position":23,"original_position":23,"commit_id":"90e033bd5a4cb8b602adf058a161943012364e94","original_commit_id":"90e033bd5a4cb8b602adf058a161943012364e94","user":{"login":"jshaughn","id":2104052,"avatar_url":"https://avatars.githubusercontent.com/u/2104052?v=3","gravatar_id":"","url":"https://api.github.com/users/jshaughn","html_url":"https://github.com/jshaughn","followers_url":"https://api.github.com/users/jshaughn/followers","following_url":"https://api.github.com/users/jshaughn/following{/other_user}","gists_url":"https://api.github.com/users/jshaughn/gists{/gist_id}","starred_url":"https://api.github.com/users/jshaughn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshaughn/subscriptions","organizations_url":"https://api.github.com/users/jshaughn/orgs","repos_url":"https://api.github.com/users/jshaughn/repos","events_url":"https://api.github.com/users/jshaughn/events{/privacy}","received_events_url":"https://api.github.com/users/jshaughn/received_events","type":"User","site_admin":false},"body":"plural","created_at":"2015-11-03T18:38:03Z","updated_at":"2015-11-03T18:38:03Z","html_url":"https://github.com/hawkular/hawkular-alerts/pull/118#discussion_r43787514","pull_request_url":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/118","_links":{"self":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/comments/43787514"},"html":{"href":"https://github.com/hawkular/hawkular-alerts/pull/118#discussion_r43787514"},"pull_request":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/118"}}},"pull_request":{"url":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/118","id":49563848,"html_url":"https://github.com/hawkular/hawkular-alerts/pull/118","diff_url":"https://github.com/hawkular/hawkular-alerts/pull/118.diff","patch_url":"https://github.com/hawkular/hawkular-alerts/pull/118.patch","issue_url":"https://api.github.com/repos/hawkular/hawkular-alerts/issues/118","number":118,"state":"open","locked":false,"title":"EventsConditions","user":{"login":"lucasponce","id":1662329,"avatar_url":"https://avatars.githubusercontent.com/u/1662329?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasponce","html_url":"https://github.com/lucasponce","followers_url":"https://api.github.com/users/lucasponce/followers","following_url":"https://api.github.com/users/lucasponce/following{/other_user}","gists_url":"https://api.github.com/users/lucasponce/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasponce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasponce/subscriptions","organizations_url":"https://api.github.com/users/lucasponce/orgs","repos_url":"https://api.github.com/users/lucasponce/repos","events_url":"https://api.github.com/users/lucasponce/events{/privacy}","received_events_url":"https://api.github.com/users/lucasponce/received_events","type":"User","site_admin":false},"body":"Main goals for this PR:\r\n- EventConditions working at engine level.\r\n- Events re-feed on the engine to define EventConditions on Events generated on other conditions.\r\n- Filtering of events. Send only events with dataId active.\r\n- Some minor fixes to make the rest profile working on linux with hawkular Alpha6 (as development tool).","created_at":"2015-11-03T14:48:32Z","updated_at":"2015-11-03T18:38:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"505da9149f2c29da52f0deb7fb4f2e677a58ed71","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/118/commits","review_comments_url":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/118/comments","review_comment_url":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hawkular/hawkular-alerts/issues/118/comments","statuses_url":"https://api.github.com/repos/hawkular/hawkular-alerts/statuses/90e033bd5a4cb8b602adf058a161943012364e94","head":{"label":"lucasponce:Events-HWKALERTS-99","ref":"Events-HWKALERTS-99","sha":"90e033bd5a4cb8b602adf058a161943012364e94","user":{"login":"lucasponce","id":1662329,"avatar_url":"https://avatars.githubusercontent.com/u/1662329?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasponce","html_url":"https://github.com/lucasponce","followers_url":"https://api.github.com/users/lucasponce/followers","following_url":"https://api.github.com/users/lucasponce/following{/other_user}","gists_url":"https://api.github.com/users/lucasponce/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasponce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasponce/subscriptions","organizations_url":"https://api.github.com/users/lucasponce/orgs","repos_url":"https://api.github.com/users/lucasponce/repos","events_url":"https://api.github.com/users/lucasponce/events{/privacy}","received_events_url":"https://api.github.com/users/lucasponce/received_events","type":"User","site_admin":false},"repo":{"id":29670224,"name":"hawkular-alerts","full_name":"lucasponce/hawkular-alerts","owner":{"login":"lucasponce","id":1662329,"avatar_url":"https://avatars.githubusercontent.com/u/1662329?v=3","gravatar_id":"","url":"https://api.github.com/users/lucasponce","html_url":"https://github.com/lucasponce","followers_url":"https://api.github.com/users/lucasponce/followers","following_url":"https://api.github.com/users/lucasponce/following{/other_user}","gists_url":"https://api.github.com/users/lucasponce/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasponce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasponce/subscriptions","organizations_url":"https://api.github.com/users/lucasponce/orgs","repos_url":"https://api.github.com/users/lucasponce/repos","events_url":"https://api.github.com/users/lucasponce/events{/privacy}","received_events_url":"https://api.github.com/users/lucasponce/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucasponce/hawkular-alerts","description":"Alerting subsystem for Hawkular","fork":true,"url":"https://api.github.com/repos/lucasponce/hawkular-alerts","forks_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/forks","keys_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/teams","hooks_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/hooks","issue_events_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/issues/events{/number}","events_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/events","assignees_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/assignees{/user}","branches_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/branches{/branch}","tags_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/tags","blobs_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/statuses/{sha}","languages_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/languages","stargazers_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/stargazers","contributors_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/contributors","subscribers_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/subscribers","subscription_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/subscription","commits_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/contents/{+path}","compare_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/merges","archive_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/downloads","issues_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/issues{/number}","pulls_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/pulls{/number}","milestones_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/milestones{/number}","notifications_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/labels{/name}","releases_url":"https://api.github.com/repos/lucasponce/hawkular-alerts/releases{/id}","created_at":"2015-01-22T09:03:07Z","updated_at":"2015-05-08T10:16:36Z","pushed_at":"2015-11-03T14:42:25Z","git_url":"git://github.com/lucasponce/hawkular-alerts.git","ssh_url":"git@github.com:lucasponce/hawkular-alerts.git","clone_url":"https://github.com/lucasponce/hawkular-alerts.git","svn_url":"https://github.com/lucasponce/hawkular-alerts","homepage":null,"size":2745,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hawkular:Events","ref":"Events","sha":"ef1a90677f42c66458fa59ab94bd40a5f66df666","user":{"login":"hawkular","id":10179627,"avatar_url":"https://avatars.githubusercontent.com/u/10179627?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkular","html_url":"https://github.com/hawkular","followers_url":"https://api.github.com/users/hawkular/followers","following_url":"https://api.github.com/users/hawkular/following{/other_user}","gists_url":"https://api.github.com/users/hawkular/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkular/subscriptions","organizations_url":"https://api.github.com/users/hawkular/orgs","repos_url":"https://api.github.com/users/hawkular/repos","events_url":"https://api.github.com/users/hawkular/events{/privacy}","received_events_url":"https://api.github.com/users/hawkular/received_events","type":"Organization","site_admin":false},"repo":{"id":29608496,"name":"hawkular-alerts","full_name":"hawkular/hawkular-alerts","owner":{"login":"hawkular","id":10179627,"avatar_url":"https://avatars.githubusercontent.com/u/10179627?v=3","gravatar_id":"","url":"https://api.github.com/users/hawkular","html_url":"https://github.com/hawkular","followers_url":"https://api.github.com/users/hawkular/followers","following_url":"https://api.github.com/users/hawkular/following{/other_user}","gists_url":"https://api.github.com/users/hawkular/gists{/gist_id}","starred_url":"https://api.github.com/users/hawkular/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hawkular/subscriptions","organizations_url":"https://api.github.com/users/hawkular/orgs","repos_url":"https://api.github.com/users/hawkular/repos","events_url":"https://api.github.com/users/hawkular/events{/privacy}","received_events_url":"https://api.github.com/users/hawkular/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hawkular/hawkular-alerts","description":"Alerting subsystem for Hawkular","fork":false,"url":"https://api.github.com/repos/hawkular/hawkular-alerts","forks_url":"https://api.github.com/repos/hawkular/hawkular-alerts/forks","keys_url":"https://api.github.com/repos/hawkular/hawkular-alerts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hawkular/hawkular-alerts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hawkular/hawkular-alerts/teams","hooks_url":"https://api.github.com/repos/hawkular/hawkular-alerts/hooks","issue_events_url":"https://api.github.com/repos/hawkular/hawkular-alerts/issues/events{/number}","events_url":"https://api.github.com/repos/hawkular/hawkular-alerts/events","assignees_url":"https://api.github.com/repos/hawkular/hawkular-alerts/assignees{/user}","branches_url":"https://api.github.com/repos/hawkular/hawkular-alerts/branches{/branch}","tags_url":"https://api.github.com/repos/hawkular/hawkular-alerts/tags","blobs_url":"https://api.github.com/repos/hawkular/hawkular-alerts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hawkular/hawkular-alerts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hawkular/hawkular-alerts/git/refs{/sha}","trees_url":"https://api.github.com/repos/hawkular/hawkular-alerts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hawkular/hawkular-alerts/statuses/{sha}","languages_url":"https://api.github.com/repos/hawkular/hawkular-alerts/languages","stargazers_url":"https://api.github.com/repos/hawkular/hawkular-alerts/stargazers","contributors_url":"https://api.github.com/repos/hawkular/hawkular-alerts/contributors","subscribers_url":"https://api.github.com/repos/hawkular/hawkular-alerts/subscribers","subscription_url":"https://api.github.com/repos/hawkular/hawkular-alerts/subscription","commits_url":"https://api.github.com/repos/hawkular/hawkular-alerts/commits{/sha}","git_commits_url":"https://api.github.com/repos/hawkular/hawkular-alerts/git/commits{/sha}","comments_url":"https://api.github.com/repos/hawkular/hawkular-alerts/comments{/number}","issue_comment_url":"https://api.github.com/repos/hawkular/hawkular-alerts/issues/comments{/number}","contents_url":"https://api.github.com/repos/hawkular/hawkular-alerts/contents/{+path}","compare_url":"https://api.github.com/repos/hawkular/hawkular-alerts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hawkular/hawkular-alerts/merges","archive_url":"https://api.github.com/repos/hawkular/hawkular-alerts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hawkular/hawkular-alerts/downloads","issues_url":"https://api.github.com/repos/hawkular/hawkular-alerts/issues{/number}","pulls_url":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls{/number}","milestones_url":"https://api.github.com/repos/hawkular/hawkular-alerts/milestones{/number}","notifications_url":"https://api.github.com/repos/hawkular/hawkular-alerts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hawkular/hawkular-alerts/labels{/name}","releases_url":"https://api.github.com/repos/hawkular/hawkular-alerts/releases{/id}","created_at":"2015-01-21T19:59:08Z","updated_at":"2015-10-29T21:28:34Z","pushed_at":"2015-11-03T14:48:33Z","git_url":"git://github.com/hawkular/hawkular-alerts.git","ssh_url":"git@github.com:hawkular/hawkular-alerts.git","clone_url":"https://github.com/hawkular/hawkular-alerts.git","svn_url":"https://github.com/hawkular/hawkular-alerts","homepage":null,"size":3234,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":2,"forks":11,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/118"},"html":{"href":"https://github.com/hawkular/hawkular-alerts/pull/118"},"issue":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/issues/118"},"comments":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/issues/118/comments"},"review_comments":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/118/comments"},"review_comment":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/pulls/118/commits"},"statuses":{"href":"https://api.github.com/repos/hawkular/hawkular-alerts/statuses/90e033bd5a4cb8b602adf058a161943012364e94"}}}}