{"action":"opened","number":2732,"pull_request":{"url":"https://api.github.com/repos/apache/nifi/pulls/2732","id":189664016,"html_url":"https://github.com/apache/nifi/pull/2732","diff_url":"https://github.com/apache/nifi/pull/2732.diff","patch_url":"https://github.com/apache/nifi/pull/2732.patch","issue_url":"https://api.github.com/repos/apache/nifi/issues/2732","number":2732,"state":"open","locked":false,"title":"NIFI-5225: Purge event data from event repository when Connectable is removed","user":{"login":"FrederikP","id":483596,"avatar_url":"https://avatars1.githubusercontent.com/u/483596?v=4","gravatar_id":"","url":"https://api.github.com/users/FrederikP","html_url":"https://github.com/FrederikP","followers_url":"https://api.github.com/users/FrederikP/followers","following_url":"https://api.github.com/users/FrederikP/following{/other_user}","gists_url":"https://api.github.com/users/FrederikP/gists{/gist_id}","starred_url":"https://api.github.com/users/FrederikP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrederikP/subscriptions","organizations_url":"https://api.github.com/users/FrederikP/orgs","repos_url":"https://api.github.com/users/FrederikP/repos","events_url":"https://api.github.com/users/FrederikP/events{/privacy}","received_events_url":"https://api.github.com/users/FrederikP/received_events","type":"User","site_admin":false},"body":"### For all changes:\r\n- [x] Is there a JIRA ticket associated with this PR? Is it referenced \r\n     in the commit message?\r\n\r\n- [x] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen \"-\" character.\r\n\r\n- [x] Has your PR been rebased against the latest commit within the target branch (typically master)?\r\n\r\n- [x] Is your initial contribution a single, squashed commit?\r\n\r\n### For code changes:\r\n- [ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?\r\n_Clean install ran through just fine, but contrib-check complained about an unrelated package_\r\n- [x] Have you written or updated unit tests to verify your changes?\r\n- [ ] ~~If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?~~ \r\n- [ ] ~~If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?~~\r\n- [ ] ~~If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?~~\r\n- [ ] ~~If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?~~\r\n\r\n### For documentation related changes:\r\n- ~~[ ] Have you ensured that format looks appropriate for the output in which it is rendered?~~\r\n\r\nI introduced the option to purge data from the FlowFileEventRepository (the 5 min ring buffer) to fix this:\r\nhttps://issues.apache.org/jira/browse/NIFI-5225\r\n\r\nAnd it works for our setup.\r\n","created_at":"2018-05-22T13:31:58Z","updated_at":"2018-05-22T13:31:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/nifi/pulls/2732/commits","review_comments_url":"https://api.github.com/repos/apache/nifi/pulls/2732/comments","review_comment_url":"https://api.github.com/repos/apache/nifi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/nifi/issues/2732/comments","statuses_url":"https://api.github.com/repos/apache/nifi/statuses/4e5a118305c9513cca239c136c48239c501e9907","head":{"label":"FrederikP:master","ref":"master","sha":"4e5a118305c9513cca239c136c48239c501e9907","user":{"login":"FrederikP","id":483596,"avatar_url":"https://avatars1.githubusercontent.com/u/483596?v=4","gravatar_id":"","url":"https://api.github.com/users/FrederikP","html_url":"https://github.com/FrederikP","followers_url":"https://api.github.com/users/FrederikP/followers","following_url":"https://api.github.com/users/FrederikP/following{/other_user}","gists_url":"https://api.github.com/users/FrederikP/gists{/gist_id}","starred_url":"https://api.github.com/users/FrederikP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrederikP/subscriptions","organizations_url":"https://api.github.com/users/FrederikP/orgs","repos_url":"https://api.github.com/users/FrederikP/repos","events_url":"https://api.github.com/users/FrederikP/events{/privacy}","received_events_url":"https://api.github.com/users/FrederikP/received_events","type":"User","site_admin":false},"repo":{"id":134394800,"name":"nifi","full_name":"FrederikP/nifi","owner":{"login":"FrederikP","id":483596,"avatar_url":"https://avatars1.githubusercontent.com/u/483596?v=4","gravatar_id":"","url":"https://api.github.com/users/FrederikP","html_url":"https://github.com/FrederikP","followers_url":"https://api.github.com/users/FrederikP/followers","following_url":"https://api.github.com/users/FrederikP/following{/other_user}","gists_url":"https://api.github.com/users/FrederikP/gists{/gist_id}","starred_url":"https://api.github.com/users/FrederikP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrederikP/subscriptions","organizations_url":"https://api.github.com/users/FrederikP/orgs","repos_url":"https://api.github.com/users/FrederikP/repos","events_url":"https://api.github.com/users/FrederikP/events{/privacy}","received_events_url":"https://api.github.com/users/FrederikP/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FrederikP/nifi","description":"Fix for https://issues.apache.org/jira/browse/NIFI-5225","fork":true,"url":"https://api.github.com/repos/FrederikP/nifi","forks_url":"https://api.github.com/repos/FrederikP/nifi/forks","keys_url":"https://api.github.com/repos/FrederikP/nifi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FrederikP/nifi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FrederikP/nifi/teams","hooks_url":"https://api.github.com/repos/FrederikP/nifi/hooks","issue_events_url":"https://api.github.com/repos/FrederikP/nifi/issues/events{/number}","events_url":"https://api.github.com/repos/FrederikP/nifi/events","assignees_url":"https://api.github.com/repos/FrederikP/nifi/assignees{/user}","branches_url":"https://api.github.com/repos/FrederikP/nifi/branches{/branch}","tags_url":"https://api.github.com/repos/FrederikP/nifi/tags","blobs_url":"https://api.github.com/repos/FrederikP/nifi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FrederikP/nifi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FrederikP/nifi/git/refs{/sha}","trees_url":"https://api.github.com/repos/FrederikP/nifi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FrederikP/nifi/statuses/{sha}","languages_url":"https://api.github.com/repos/FrederikP/nifi/languages","stargazers_url":"https://api.github.com/repos/FrederikP/nifi/stargazers","contributors_url":"https://api.github.com/repos/FrederikP/nifi/contributors","subscribers_url":"https://api.github.com/repos/FrederikP/nifi/subscribers","subscription_url":"https://api.github.com/repos/FrederikP/nifi/subscription","commits_url":"https://api.github.com/repos/FrederikP/nifi/commits{/sha}","git_commits_url":"https://api.github.com/repos/FrederikP/nifi/git/commits{/sha}","comments_url":"https://api.github.com/repos/FrederikP/nifi/comments{/number}","issue_comment_url":"https://api.github.com/repos/FrederikP/nifi/issues/comments{/number}","contents_url":"https://api.github.com/repos/FrederikP/nifi/contents/{+path}","compare_url":"https://api.github.com/repos/FrederikP/nifi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FrederikP/nifi/merges","archive_url":"https://api.github.com/repos/FrederikP/nifi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FrederikP/nifi/downloads","issues_url":"https://api.github.com/repos/FrederikP/nifi/issues{/number}","pulls_url":"https://api.github.com/repos/FrederikP/nifi/pulls{/number}","milestones_url":"https://api.github.com/repos/FrederikP/nifi/milestones{/number}","notifications_url":"https://api.github.com/repos/FrederikP/nifi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FrederikP/nifi/labels{/name}","releases_url":"https://api.github.com/repos/FrederikP/nifi/releases{/id}","deployments_url":"https://api.github.com/repos/FrederikP/nifi/deployments","created_at":"2018-05-22T09:50:29Z","updated_at":"2018-05-22T12:32:46Z","pushed_at":"2018-05-22T12:32:44Z","git_url":"git://github.com/FrederikP/nifi.git","ssh_url":"git@github.com:FrederikP/nifi.git","clone_url":"https://github.com/FrederikP/nifi.git","svn_url":"https://github.com/FrederikP/nifi","homepage":"","size":122153,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"6bf6a92abd1f90ea61154dc84fb18a600e4cebfa","user":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":27911088,"name":"nifi","full_name":"apache/nifi","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars0.githubusercontent.com/u/47359?v=4","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/nifi","description":"Mirror of Apache NiFi","fork":false,"url":"https://api.github.com/repos/apache/nifi","forks_url":"https://api.github.com/repos/apache/nifi/forks","keys_url":"https://api.github.com/repos/apache/nifi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/nifi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/nifi/teams","hooks_url":"https://api.github.com/repos/apache/nifi/hooks","issue_events_url":"https://api.github.com/repos/apache/nifi/issues/events{/number}","events_url":"https://api.github.com/repos/apache/nifi/events","assignees_url":"https://api.github.com/repos/apache/nifi/assignees{/user}","branches_url":"https://api.github.com/repos/apache/nifi/branches{/branch}","tags_url":"https://api.github.com/repos/apache/nifi/tags","blobs_url":"https://api.github.com/repos/apache/nifi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/nifi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/nifi/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/nifi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/nifi/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/nifi/languages","stargazers_url":"https://api.github.com/repos/apache/nifi/stargazers","contributors_url":"https://api.github.com/repos/apache/nifi/contributors","subscribers_url":"https://api.github.com/repos/apache/nifi/subscribers","subscription_url":"https://api.github.com/repos/apache/nifi/subscription","commits_url":"https://api.github.com/repos/apache/nifi/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/nifi/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/nifi/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/nifi/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/nifi/contents/{+path}","compare_url":"https://api.github.com/repos/apache/nifi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/nifi/merges","archive_url":"https://api.github.com/repos/apache/nifi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/nifi/downloads","issues_url":"https://api.github.com/repos/apache/nifi/issues{/number}","pulls_url":"https://api.github.com/repos/apache/nifi/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/nifi/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/nifi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/nifi/labels{/name}","releases_url":"https://api.github.com/repos/apache/nifi/releases{/id}","deployments_url":"https://api.github.com/repos/apache/nifi/deployments","created_at":"2014-12-12T08:00:05Z","updated_at":"2018-05-22T03:47:04Z","pushed_at":"2018-05-22T12:42:09Z","git_url":"git://github.com/apache/nifi.git","ssh_url":"git@github.com:apache/nifi.git","clone_url":"https://github.com/apache/nifi.git","svn_url":"https://github.com/apache/nifi","homepage":"","size":122091,"stargazers_count":944,"watchers_count":944,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":905,"mirror_url":null,"archived":false,"open_issues_count":130,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":905,"open_issues":130,"watchers":944,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/nifi/pulls/2732"},"html":{"href":"https://github.com/apache/nifi/pull/2732"},"issue":{"href":"https://api.github.com/repos/apache/nifi/issues/2732"},"comments":{"href":"https://api.github.com/repos/apache/nifi/issues/2732/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/nifi/pulls/2732/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/nifi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/nifi/pulls/2732/commits"},"statuses":{"href":"https://api.github.com/repos/apache/nifi/statuses/4e5a118305c9513cca239c136c48239c501e9907"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":60,"deletions":8,"changed_files":4}}
{"actor":{"display_login":"FrederikP"}}