payload: {"action":"closed","number":2270,"pull_request":{"url":"https://api.github.com/repos/esl/MongooseIM/pulls/2270","id":270999836,"node_id":"MDExOlB1bGxSZXF1ZXN0MjcwOTk5ODM2","html_url":"https://github.com/esl/MongooseIM/pull/2270","diff_url":"https://github.com/esl/MongooseIM/pull/2270.diff","patch_url":"https://github.com/esl/MongooseIM/pull/2270.patch","issue_url":"https://api.github.com/repos/esl/MongooseIM/issues/2270","number":2270,"state":"closed","locked":false,"title":"Gdpr retrieve mod pubsub","user":{"login":"ludwikbukowski","id":6969609,"node_id":"MDQ6VXNlcjY5Njk2MDk=","avatar_url":"https://avatars0.githubusercontent.com/u/6969609?v=4","gravatar_id":"","url":"https://api.github.com/users/ludwikbukowski","html_url":"https://github.com/ludwikbukowski","followers_url":"https://api.github.com/users/ludwikbukowski/followers","following_url":"https://api.github.com/users/ludwikbukowski/following{/other_user}","gists_url":"https://api.github.com/users/ludwikbukowski/gists{/gist_id}","starred_url":"https://api.github.com/users/ludwikbukowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludwikbukowski/subscriptions","organizations_url":"https://api.github.com/users/ludwikbukowski/orgs","repos_url":"https://api.github.com/users/ludwikbukowski/repos","events_url":"https://api.github.com/users/ludwikbukowski/events{/privacy}","received_events_url":"https://api.github.com/users/ludwikbukowski/received_events","type":"User","site_admin":false},"body":"This PR addresses https://erlangsolutions.atlassian.net/browse/MIM-326\r\n\r\nProposed changes include:\r\n* [x]  Retrieve user's pubsub nodes with payloads\r\n* [x]  Retrieve user's subscriptions\r\n* [x] Support RDBMS\r\n\r\nNote: Locally, for some reason, I need to start `mod_pubsub` in `init_per_testcase` instead of `init_per_group`. Otherwise, module is not loaded. Didnt figure out why yet \r\n","created_at":"2019-04-16T17:10:31Z","updated_at":"2019-04-23T14:59:08Z","closed_at":"2019-04-23T14:59:08Z","merged_at":null,"merge_commit_sha":"cbcc76bfae556c8e93335ee1be819ce553a0d125","assignee":null,"assignees":[],"requested_reviewers":[{"login":"fenek","id":548816,"node_id":"MDQ6VXNlcjU0ODgxNg==","avatar_url":"https://avatars0.githubusercontent.com/u/548816?v=4","gravatar_id":"","url":"https://api.github.com/users/fenek","html_url":"https://github.com/fenek","followers_url":"https://api.github.com/users/fenek/followers","following_url":"https://api.github.com/users/fenek/following{/other_user}","gists_url":"https://api.github.com/users/fenek/gists{/gist_id}","starred_url":"https://api.github.com/users/fenek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fenek/subscriptions","organizations_url":"https://api.github.com/users/fenek/orgs","repos_url":"https://api.github.com/users/fenek/repos","events_url":"https://api.github.com/users/fenek/events{/privacy}","received_events_url":"https://api.github.com/users/fenek/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1303848414,"node_id":"MDU6TGFiZWwxMzAzODQ4NDE0","url":"https://api.github.com/repos/esl/MongooseIM/labels/GDPR","name":"GDPR","color":"bfdd6c","default":false},{"id":275953800,"node_id":"MDU6TGFiZWwyNzU5NTM4MDA=","url":"https://api.github.com/repos/esl/MongooseIM/labels/waiting-for-review","name":"waiting-for-review","color":"edd96d","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/esl/MongooseIM/pulls/2270/commits","review_comments_url":"https://api.github.com/repos/esl/MongooseIM/pulls/2270/comments","review_comment_url":"https://api.github.com/repos/esl/MongooseIM/pulls/comments{/number}","comments_url":"https://api.github.com/repos/esl/MongooseIM/issues/2270/comments","statuses_url":"https://api.github.com/repos/esl/MongooseIM/statuses/e251f16393139a2bb6346075f7175f36ac50d7a9","head":{"label":"esl:gdpr-retrieve-mod_pubsub","ref":"gdpr-retrieve-mod_pubsub","sha":"e251f16393139a2bb6346075f7175f36ac50d7a9","user":{"login":"esl","id":283412,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MzQxMg==","avatar_url":"https://avatars3.githubusercontent.com/u/283412?v=4","gravatar_id":"","url":"https://api.github.com/users/esl","html_url":"https://github.com/esl","followers_url":"https://api.github.com/users/esl/followers","following_url":"https://api.github.com/users/esl/following{/other_user}","gists_url":"https://api.github.com/users/esl/gists{/gist_id}","starred_url":"https://api.github.com/users/esl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esl/subscriptions","organizations_url":"https://api.github.com/users/esl/orgs","repos_url":"https://api.github.com/users/esl/repos","events_url":"https://api.github.com/users/esl/events{/privacy}","received_events_url":"https://api.github.com/users/esl/received_events","type":"Organization","site_admin":false},"repo":{"id":2354240,"node_id":"MDEwOlJlcG9zaXRvcnkyMzU0MjQw","name":"MongooseIM","full_name":"esl/MongooseIM","private":false,"owner":{"login":"esl","id":283412,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MzQxMg==","avatar_url":"https://avatars3.githubusercontent.com/u/283412?v=4","gravatar_id":"","url":"https://api.github.com/users/esl","html_url":"https://github.com/esl","followers_url":"https://api.github.com/users/esl/followers","following_url":"https://api.github.com/users/esl/following{/other_user}","gists_url":"https://api.github.com/users/esl/gists{/gist_id}","starred_url":"https://api.github.com/users/esl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esl/subscriptions","organizations_url":"https://api.github.com/users/esl/orgs","repos_url":"https://api.github.com/users/esl/repos","events_url":"https://api.github.com/users/esl/events{/privacy}","received_events_url":"https://api.github.com/users/esl/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/esl/MongooseIM","description":"MongooseIM is a mobile messaging platform with focus on performance and scalability","fork":false,"url":"https://api.github.com/repos/esl/MongooseIM","forks_url":"https://api.github.com/repos/esl/MongooseIM/forks","keys_url":"https://api.github.com/repos/esl/MongooseIM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esl/MongooseIM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esl/MongooseIM/teams","hooks_url":"https://api.github.com/repos/esl/MongooseIM/hooks","issue_events_url":"https://api.github.com/repos/esl/MongooseIM/issues/events{/number}","events_url":"https://api.github.com/repos/esl/MongooseIM/events","assignees_url":"https://api.github.com/repos/esl/MongooseIM/assignees{/user}","branches_url":"https://api.github.com/repos/esl/MongooseIM/branches{/branch}","tags_url":"https://api.github.com/repos/esl/MongooseIM/tags","blobs_url":"https://api.github.com/repos/esl/MongooseIM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esl/MongooseIM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esl/MongooseIM/git/refs{/sha}","trees_url":"https://api.github.com/repos/esl/MongooseIM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esl/MongooseIM/statuses/{sha}","languages_url":"https://api.github.com/repos/esl/MongooseIM/languages","stargazers_url":"https://api.github.com/repos/esl/MongooseIM/stargazers","contributors_url":"https://api.github.com/repos/esl/MongooseIM/contributors","subscribers_url":"https://api.github.com/repos/esl/MongooseIM/subscribers","subscription_url":"https://api.github.com/repos/esl/MongooseIM/subscription","commits_url":"https://api.github.com/repos/esl/MongooseIM/commits{/sha}","git_commits_url":"https://api.github.com/repos/esl/MongooseIM/git/commits{/sha}","comments_url":"https://api.github.com/repos/esl/MongooseIM/comments{/number}","issue_comment_url":"https://api.github.com/repos/esl/MongooseIM/issues/comments{/number}","contents_url":"https://api.github.com/repos/esl/MongooseIM/contents/{+path}","compare_url":"https://api.github.com/repos/esl/MongooseIM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esl/MongooseIM/merges","archive_url":"https://api.github.com/repos/esl/MongooseIM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esl/MongooseIM/downloads","issues_url":"https://api.github.com/repos/esl/MongooseIM/issues{/number}","pulls_url":"https://api.github.com/repos/esl/MongooseIM/pulls{/number}","milestones_url":"https://api.github.com/repos/esl/MongooseIM/milestones{/number}","notifications_url":"https://api.github.com/repos/esl/MongooseIM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esl/MongooseIM/labels{/name}","releases_url":"https://api.github.com/repos/esl/MongooseIM/releases{/id}","deployments_url":"https://api.github.com/repos/esl/MongooseIM/deployments","created_at":"2011-09-09T08:19:18Z","updated_at":"2019-04-23T13:43:19Z","pushed_at":"2019-04-23T14:12:05Z","git_url":"git://github.com/esl/MongooseIM.git","ssh_url":"git@github.com:esl/MongooseIM.git","clone_url":"https://github.com/esl/MongooseIM.git","svn_url":"https://github.com/esl/MongooseIM","homepage":"","size":34637,"stargazers_count":1129,"watchers_count":1129,"language":"Erlang","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":346,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":114,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":346,"open_issues":114,"watchers":1129,"default_branch":"master"}},"base":{"label":"esl:gdpr-retrieve","ref":"gdpr-retrieve","sha":"da2a04653a59ec864e99634fdaa544f26fdba633","user":{"login":"esl","id":283412,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MzQxMg==","avatar_url":"https://avatars3.githubusercontent.com/u/283412?v=4","gravatar_id":"","url":"https://api.github.com/users/esl","html_url":"https://github.com/esl","followers_url":"https://api.github.com/users/esl/followers","following_url":"https://api.github.com/users/esl/following{/other_user}","gists_url":"https://api.github.com/users/esl/gists{/gist_id}","starred_url":"https://api.github.com/users/esl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esl/subscriptions","organizations_url":"https://api.github.com/users/esl/orgs","repos_url":"https://api.github.com/users/esl/repos","events_url":"https://api.github.com/users/esl/events{/privacy}","received_events_url":"https://api.github.com/users/esl/received_events","type":"Organization","site_admin":false},"repo":{"id":2354240,"node_id":"MDEwOlJlcG9zaXRvcnkyMzU0MjQw","name":"MongooseIM","full_name":"esl/MongooseIM","private":false,"owner":{"login":"esl","id":283412,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MzQxMg==","avatar_url":"https://avatars3.githubusercontent.com/u/283412?v=4","gravatar_id":"","url":"https://api.github.com/users/esl","html_url":"https://github.com/esl","followers_url":"https://api.github.com/users/esl/followers","following_url":"https://api.github.com/users/esl/following{/other_user}","gists_url":"https://api.github.com/users/esl/gists{/gist_id}","starred_url":"https://api.github.com/users/esl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esl/subscriptions","organizations_url":"https://api.github.com/users/esl/orgs","repos_url":"https://api.github.com/users/esl/repos","events_url":"https://api.github.com/users/esl/events{/privacy}","received_events_url":"https://api.github.com/users/esl/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/esl/MongooseIM","description":"MongooseIM is a mobile messaging platform with focus on performance and scalability","fork":false,"url":"https://api.github.com/repos/esl/MongooseIM","forks_url":"https://api.github.com/repos/esl/MongooseIM/forks","keys_url":"https://api.github.com/repos/esl/MongooseIM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esl/MongooseIM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esl/MongooseIM/teams","hooks_url":"https://api.github.com/repos/esl/MongooseIM/hooks","issue_events_url":"https://api.github.com/repos/esl/MongooseIM/issues/events{/number}","events_url":"https://api.github.com/repos/esl/MongooseIM/events","assignees_url":"https://api.github.com/repos/esl/MongooseIM/assignees{/user}","branches_url":"https://api.github.com/repos/esl/MongooseIM/branches{/branch}","tags_url":"https://api.github.com/repos/esl/MongooseIM/tags","blobs_url":"https://api.github.com/repos/esl/MongooseIM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esl/MongooseIM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esl/MongooseIM/git/refs{/sha}","trees_url":"https://api.github.com/repos/esl/MongooseIM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esl/MongooseIM/statuses/{sha}","languages_url":"https://api.github.com/repos/esl/MongooseIM/languages","stargazers_url":"https://api.github.com/repos/esl/MongooseIM/stargazers","contributors_url":"https://api.github.com/repos/esl/MongooseIM/contributors","subscribers_url":"https://api.github.com/repos/esl/MongooseIM/subscribers","subscription_url":"https://api.github.com/repos/esl/MongooseIM/subscription","commits_url":"https://api.github.com/repos/esl/MongooseIM/commits{/sha}","git_commits_url":"https://api.github.com/repos/esl/MongooseIM/git/commits{/sha}","comments_url":"https://api.github.com/repos/esl/MongooseIM/comments{/number}","issue_comment_url":"https://api.github.com/repos/esl/MongooseIM/issues/comments{/number}","contents_url":"https://api.github.com/repos/esl/MongooseIM/contents/{+path}","compare_url":"https://api.github.com/repos/esl/MongooseIM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esl/MongooseIM/merges","archive_url":"https://api.github.com/repos/esl/MongooseIM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esl/MongooseIM/downloads","issues_url":"https://api.github.com/repos/esl/MongooseIM/issues{/number}","pulls_url":"https://api.github.com/repos/esl/MongooseIM/pulls{/number}","milestones_url":"https://api.github.com/repos/esl/MongooseIM/milestones{/number}","notifications_url":"https://api.github.com/repos/esl/MongooseIM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esl/MongooseIM/labels{/name}","releases_url":"https://api.github.com/repos/esl/MongooseIM/releases{/id}","deployments_url":"https://api.github.com/repos/esl/MongooseIM/deployments","created_at":"2011-09-09T08:19:18Z","updated_at":"2019-04-23T13:43:19Z","pushed_at":"2019-04-23T14:12:05Z","git_url":"git://github.com/esl/MongooseIM.git","ssh_url":"git@github.com:esl/MongooseIM.git","clone_url":"https://github.com/esl/MongooseIM.git","svn_url":"https://github.com/esl/MongooseIM","homepage":"","size":34637,"stargazers_count":1129,"watchers_count":1129,"language":"Erlang","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":346,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":114,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":346,"open_issues":114,"watchers":1129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/esl/MongooseIM/pulls/2270"},"html":{"href":"https://github.com/esl/MongooseIM/pull/2270"},"issue":{"href":"https://api.github.com/repos/esl/MongooseIM/issues/2270"},"comments":{"href":"https://api.github.com/repos/esl/MongooseIM/issues/2270/comments"},"review_comments":{"href":"https://api.github.com/repos/esl/MongooseIM/pulls/2270/comments"},"review_comment":{"href":"https://api.github.com/repos/esl/MongooseIM/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/esl/MongooseIM/pulls/2270/commits"},"statuses":{"href":"https://api.github.com/repos/esl/MongooseIM/statuses/e251f16393139a2bb6346075f7175f36ac50d7a9"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":false,"mergeable_state":"unstable","merged_by":null,"comments":2,"review_comments":4,"maintainer_can_modify":false,"commits":18,"additions":341,"deletions":28,"changed_files":7}}
other: {"actor":{"display_login":"fenek"}}