{"action":"created","comment":{"url":"https://api.github.com/repos/ucsd-ets/edx-platform/pulls/comments/229290179","pull_request_review_id":169752056,"id":229290179,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyOTI5MDE3OQ==","diff_hunk":"@@ -0,0 +1,15 @@\n+\"\"\"\n+Transformers for all course related events.\n+\"\"\"\n+\n+\n+def edx_course_enrollment_activated(current_event, caliper_event):\n+    caliper_event['ip'] = current_event['ip']\n+    if 'ip' in caliper_event['actor']:\n+        del caliper_event['actor']['ip']","path":"openedx/features/caliper_tracking/transformers/course_transformers.py","position":null,"original_position":9,"commit_id":"466a4e3efe2e4903f05f4c9da9ee11c5a93dc2c3","original_commit_id":"7ef2d52609e8b00104ef94a31faff8838339d896","user":{"login":"mumarkhan999","id":42294172,"node_id":"MDQ6VXNlcjQyMjk0MTcy","avatar_url":"https://avatars2.githubusercontent.com/u/42294172?v=4","gravatar_id":"","url":"https://api.github.com/users/mumarkhan999","html_url":"https://github.com/mumarkhan999","followers_url":"https://api.github.com/users/mumarkhan999/followers","following_url":"https://api.github.com/users/mumarkhan999/following{/other_user}","gists_url":"https://api.github.com/users/mumarkhan999/gists{/gist_id}","starred_url":"https://api.github.com/users/mumarkhan999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mumarkhan999/subscriptions","organizations_url":"https://api.github.com/users/mumarkhan999/orgs","repos_url":"https://api.github.com/users/mumarkhan999/repos","events_url":"https://api.github.com/users/mumarkhan999/events{/privacy}","received_events_url":"https://api.github.com/users/mumarkhan999/received_events","type":"User","site_admin":false},"body":"It has been removed\r\nAs in the early version of master\r\nbase_transformer ip has been sent in actor's \r\ndict but now it's not","created_at":"2018-10-30T12:45:20Z","updated_at":"2018-10-30T12:45:20Z","html_url":"https://github.com/ucsd-ets/edx-platform/pull/9#discussion_r229290179","pull_request_url":"https://api.github.com/repos/ucsd-ets/edx-platform/pulls/9","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ucsd-ets/edx-platform/pulls/comments/229290179"},"html":{"href":"https://github.com/ucsd-ets/edx-platform/pull/9#discussion_r229290179"},"pull_request":{"href":"https://api.github.com/repos/ucsd-ets/edx-platform/pulls/9"}},"in_reply_to_id":229282997},"pull_request":{"url":"https://api.github.com/repos/ucsd-ets/edx-platform/pulls/9","id":226892157,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2ODkyMTU3","html_url":"https://github.com/ucsd-ets/edx-platform/pull/9","diff_url":"https://github.com/ucsd-ets/edx-platform/pull/9.diff","patch_url":"https://github.com/ucsd-ets/edx-platform/pull/9.patch","issue_url":"https://api.github.com/repos/ucsd-ets/edx-platform/issues/9","number":9,"state":"open","locked":false,"title":"Add transformer for edx.course.enrollment.activated event","user":{"login":"mumarkhan999","id":42294172,"node_id":"MDQ6VXNlcjQyMjk0MTcy","avatar_url":"https://avatars2.githubusercontent.com/u/42294172?v=4","gravatar_id":"","url":"https://api.github.com/users/mumarkhan999","html_url":"https://github.com/mumarkhan999","followers_url":"https://api.github.com/users/mumarkhan999/followers","following_url":"https://api.github.com/users/mumarkhan999/following{/other_user}","gists_url":"https://api.github.com/users/mumarkhan999/gists{/gist_id}","starred_url":"https://api.github.com/users/mumarkhan999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mumarkhan999/subscriptions","organizations_url":"https://api.github.com/users/mumarkhan999/orgs","repos_url":"https://api.github.com/users/mumarkhan999/repos","events_url":"https://api.github.com/users/mumarkhan999/events{/privacy}","received_events_url":"https://api.github.com/users/mumarkhan999/received_events","type":"User","site_admin":false},"body":"**Trello Link:** [https://trello.com/c/zHVxuG6e/21-enrollment-events-edxcourseenrollmentactivated]()\r\n\r\n**Description:** \r\nIncludes a transformer for edx_course_enrollment_activated event.\r\n\r\n**Checks before merge:**\r\n\r\n- [ ] Reviewed\r\n- [ ] Commits squashed\r\n","created_at":"2018-10-30T11:55:16Z","updated_at":"2018-10-30T12:45:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"50e47f6d90bc05c274e0a17e84542e2aea35a872","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ucsd-ets/edx-platform/pulls/9/commits","review_comments_url":"https://api.github.com/repos/ucsd-ets/edx-platform/pulls/9/comments","review_comment_url":"https://api.github.com/repos/ucsd-ets/edx-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ucsd-ets/edx-platform/issues/9/comments","statuses_url":"https://api.github.com/repos/ucsd-ets/edx-platform/statuses/466a4e3efe2e4903f05f4c9da9ee11c5a93dc2c3","head":{"label":"ucsd-ets:umarkhan/21/edx.course.enrollment.activated","ref":"umarkhan/21/edx.course.enrollment.activated","sha":"466a4e3efe2e4903f05f4c9da9ee11c5a93dc2c3","user":{"login":"ucsd-ets","id":20175618,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMTc1NjE4","avatar_url":"https://avatars2.githubusercontent.com/u/20175618?v=4","gravatar_id":"","url":"https://api.github.com/users/ucsd-ets","html_url":"https://github.com/ucsd-ets","followers_url":"https://api.github.com/users/ucsd-ets/followers","following_url":"https://api.github.com/users/ucsd-ets/following{/other_user}","gists_url":"https://api.github.com/users/ucsd-ets/gists{/gist_id}","starred_url":"https://api.github.com/users/ucsd-ets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucsd-ets/subscriptions","organizations_url":"https://api.github.com/users/ucsd-ets/orgs","repos_url":"https://api.github.com/users/ucsd-ets/repos","events_url":"https://api.github.com/users/ucsd-ets/events{/privacy}","received_events_url":"https://api.github.com/users/ucsd-ets/received_events","type":"Organization","site_admin":false},"repo":{"id":152280818,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIyODA4MTg=","name":"edx-platform","full_name":"ucsd-ets/edx-platform","private":false,"owner":{"login":"ucsd-ets","id":20175618,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMTc1NjE4","avatar_url":"https://avatars2.githubusercontent.com/u/20175618?v=4","gravatar_id":"","url":"https://api.github.com/users/ucsd-ets","html_url":"https://github.com/ucsd-ets","followers_url":"https://api.github.com/users/ucsd-ets/followers","following_url":"https://api.github.com/users/ucsd-ets/following{/other_user}","gists_url":"https://api.github.com/users/ucsd-ets/gists{/gist_id}","starred_url":"https://api.github.com/users/ucsd-ets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucsd-ets/subscriptions","organizations_url":"https://api.github.com/users/ucsd-ets/orgs","repos_url":"https://api.github.com/users/ucsd-ets/repos","events_url":"https://api.github.com/users/ucsd-ets/events{/privacy}","received_events_url":"https://api.github.com/users/ucsd-ets/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ucsd-ets/edx-platform","description":"The Open edX platform, the software that powers edX!","fork":true,"url":"https://api.github.com/repos/ucsd-ets/edx-platform","forks_url":"https://api.github.com/repos/ucsd-ets/edx-platform/forks","keys_url":"https://api.github.com/repos/ucsd-ets/edx-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ucsd-ets/edx-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ucsd-ets/edx-platform/teams","hooks_url":"https://api.github.com/repos/ucsd-ets/edx-platform/hooks","issue_events_url":"https://api.github.com/repos/ucsd-ets/edx-platform/issues/events{/number}","events_url":"https://api.github.com/repos/ucsd-ets/edx-platform/events","assignees_url":"https://api.github.com/repos/ucsd-ets/edx-platform/assignees{/user}","branches_url":"https://api.github.com/repos/ucsd-ets/edx-platform/branches{/branch}","tags_url":"https://api.github.com/repos/ucsd-ets/edx-platform/tags","blobs_url":"https://api.github.com/repos/ucsd-ets/edx-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ucsd-ets/edx-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ucsd-ets/edx-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/ucsd-ets/edx-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ucsd-ets/edx-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/ucsd-ets/edx-platform/languages","stargazers_url":"https://api.github.com/repos/ucsd-ets/edx-platform/stargazers","contributors_url":"https://api.github.com/repos/ucsd-ets/edx-platform/contributors","subscribers_url":"https://api.github.com/repos/ucsd-ets/edx-platform/subscribers","subscription_url":"https://api.github.com/repos/ucsd-ets/edx-platform/subscription","commits_url":"https://api.github.com/repos/ucsd-ets/edx-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/ucsd-ets/edx-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/ucsd-ets/edx-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/ucsd-ets/edx-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/ucsd-ets/edx-platform/contents/{+path}","compare_url":"https://api.github.com/repos/ucsd-ets/edx-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ucsd-ets/edx-platform/merges","archive_url":"https://api.github.com/repos/ucsd-ets/edx-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ucsd-ets/edx-platform/downloads","issues_url":"https://api.github.com/repos/ucsd-ets/edx-platform/issues{/number}","pulls_url":"https://api.github.com/repos/ucsd-ets/edx-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/ucsd-ets/edx-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/ucsd-ets/edx-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ucsd-ets/edx-platform/labels{/name}","releases_url":"https://api.github.com/repos/ucsd-ets/edx-platform/releases{/id}","deployments_url":"https://api.github.com/repos/ucsd-ets/edx-platform/deployments","created_at":"2018-10-09T16:02:45Z","updated_at":"2018-10-30T12:31:31Z","pushed_at":"2018-10-30T12:41:34Z","git_url":"git://github.com/ucsd-ets/edx-platform.git","ssh_url":"git@github.com:ucsd-ets/edx-platform.git","clone_url":"https://github.com/ucsd-ets/edx-platform.git","svn_url":"https://github.com/ucsd-ets/edx-platform","homepage":"http://open.edx.org/","size":968699,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"ucsd-ets:master","ref":"master","sha":"bbfd45027ea1af492c4ab3866266037755fb4c78","user":{"login":"ucsd-ets","id":20175618,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMTc1NjE4","avatar_url":"https://avatars2.githubusercontent.com/u/20175618?v=4","gravatar_id":"","url":"https://api.github.com/users/ucsd-ets","html_url":"https://github.com/ucsd-ets","followers_url":"https://api.github.com/users/ucsd-ets/followers","following_url":"https://api.github.com/users/ucsd-ets/following{/other_user}","gists_url":"https://api.github.com/users/ucsd-ets/gists{/gist_id}","starred_url":"https://api.github.com/users/ucsd-ets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucsd-ets/subscriptions","organizations_url":"https://api.github.com/users/ucsd-ets/orgs","repos_url":"https://api.github.com/users/ucsd-ets/repos","events_url":"https://api.github.com/users/ucsd-ets/events{/privacy}","received_events_url":"https://api.github.com/users/ucsd-ets/received_events","type":"Organization","site_admin":false},"repo":{"id":152280818,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIyODA4MTg=","name":"edx-platform","full_name":"ucsd-ets/edx-platform","private":false,"owner":{"login":"ucsd-ets","id":20175618,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMTc1NjE4","avatar_url":"https://avatars2.githubusercontent.com/u/20175618?v=4","gravatar_id":"","url":"https://api.github.com/users/ucsd-ets","html_url":"https://github.com/ucsd-ets","followers_url":"https://api.github.com/users/ucsd-ets/followers","following_url":"https://api.github.com/users/ucsd-ets/following{/other_user}","gists_url":"https://api.github.com/users/ucsd-ets/gists{/gist_id}","starred_url":"https://api.github.com/users/ucsd-ets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucsd-ets/subscriptions","organizations_url":"https://api.github.com/users/ucsd-ets/orgs","repos_url":"https://api.github.com/users/ucsd-ets/repos","events_url":"https://api.github.com/users/ucsd-ets/events{/privacy}","received_events_url":"https://api.github.com/users/ucsd-ets/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ucsd-ets/edx-platform","description":"The Open edX platform, the software that powers edX!","fork":true,"url":"https://api.github.com/repos/ucsd-ets/edx-platform","forks_url":"https://api.github.com/repos/ucsd-ets/edx-platform/forks","keys_url":"https://api.github.com/repos/ucsd-ets/edx-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ucsd-ets/edx-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ucsd-ets/edx-platform/teams","hooks_url":"https://api.github.com/repos/ucsd-ets/edx-platform/hooks","issue_events_url":"https://api.github.com/repos/ucsd-ets/edx-platform/issues/events{/number}","events_url":"https://api.github.com/repos/ucsd-ets/edx-platform/events","assignees_url":"https://api.github.com/repos/ucsd-ets/edx-platform/assignees{/user}","branches_url":"https://api.github.com/repos/ucsd-ets/edx-platform/branches{/branch}","tags_url":"https://api.github.com/repos/ucsd-ets/edx-platform/tags","blobs_url":"https://api.github.com/repos/ucsd-ets/edx-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ucsd-ets/edx-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ucsd-ets/edx-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/ucsd-ets/edx-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ucsd-ets/edx-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/ucsd-ets/edx-platform/languages","stargazers_url":"https://api.github.com/repos/ucsd-ets/edx-platform/stargazers","contributors_url":"https://api.github.com/repos/ucsd-ets/edx-platform/contributors","subscribers_url":"https://api.github.com/repos/ucsd-ets/edx-platform/subscribers","subscription_url":"https://api.github.com/repos/ucsd-ets/edx-platform/subscription","commits_url":"https://api.github.com/repos/ucsd-ets/edx-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/ucsd-ets/edx-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/ucsd-ets/edx-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/ucsd-ets/edx-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/ucsd-ets/edx-platform/contents/{+path}","compare_url":"https://api.github.com/repos/ucsd-ets/edx-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ucsd-ets/edx-platform/merges","archive_url":"https://api.github.com/repos/ucsd-ets/edx-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ucsd-ets/edx-platform/downloads","issues_url":"https://api.github.com/repos/ucsd-ets/edx-platform/issues{/number}","pulls_url":"https://api.github.com/repos/ucsd-ets/edx-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/ucsd-ets/edx-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/ucsd-ets/edx-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ucsd-ets/edx-platform/labels{/name}","releases_url":"https://api.github.com/repos/ucsd-ets/edx-platform/releases{/id}","deployments_url":"https://api.github.com/repos/ucsd-ets/edx-platform/deployments","created_at":"2018-10-09T16:02:45Z","updated_at":"2018-10-30T12:31:31Z","pushed_at":"2018-10-30T12:41:34Z","git_url":"git://github.com/ucsd-ets/edx-platform.git","ssh_url":"git@github.com:ucsd-ets/edx-platform.git","clone_url":"https://github.com/ucsd-ets/edx-platform.git","svn_url":"https://github.com/ucsd-ets/edx-platform","homepage":"http://open.edx.org/","size":968699,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ucsd-ets/edx-platform/pulls/9"},"html":{"href":"https://github.com/ucsd-ets/edx-platform/pull/9"},"issue":{"href":"https://api.github.com/repos/ucsd-ets/edx-platform/issues/9"},"comments":{"href":"https://api.github.com/repos/ucsd-ets/edx-platform/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/ucsd-ets/edx-platform/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/ucsd-ets/edx-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ucsd-ets/edx-platform/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/ucsd-ets/edx-platform/statuses/466a4e3efe2e4903f05f4c9da9ee11c5a93dc2c3"}},"author_association":"NONE"}}
{"actor":{"display_login":"mumarkhan999"}}