{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/edx/edx-salesforce/pulls/3","id":107546603,"html_url":"https://github.com/edx/edx-salesforce/pull/3","diff_url":"https://github.com/edx/edx-salesforce/pull/3.diff","patch_url":"https://github.com/edx/edx-salesforce/pull/3.patch","issue_url":"https://api.github.com/repos/edx/edx-salesforce/issues/3","number":3,"state":"closed","locked":false,"title":"(WIP) WL-976 | Adding Django command for sending user account data to Salesforce","user":{"login":"douglashall","id":224634,"avatar_url":"https://avatars1.githubusercontent.com/u/224634?v=3","gravatar_id":"","url":"https://api.github.com/users/douglashall","html_url":"https://github.com/douglashall","followers_url":"https://api.github.com/users/douglashall/followers","following_url":"https://api.github.com/users/douglashall/following{/other_user}","gists_url":"https://api.github.com/users/douglashall/gists{/gist_id}","starred_url":"https://api.github.com/users/douglashall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglashall/subscriptions","organizations_url":"https://api.github.com/users/douglashall/orgs","repos_url":"https://api.github.com/users/douglashall/repos","events_url":"https://api.github.com/users/douglashall/events{/privacy}","received_events_url":"https://api.github.com/users/douglashall/received_events","type":"User","site_admin":false},"body":"Steps to execute the command:\r\n\r\nvagrant up\r\nvagrant ssh\r\n(skip the sudo su edxapp)\r\nclone edx-salesforce into /edx/src folder (this folder is shared) \r\ngit clone https://github.com/edx/edx-salesforce.git\r\n\r\ncd edx-salesforce\r\nvirtualenv salesforce_env\r\nsource salesforce_env/bin/activate\r\n\r\nInstall the dependencies:\r\nmake requirements\r\n\r\ncreate a private.py in edx-salesforce/settings with the content:\r\n```python\r\nDATABASES = {\r\n    'default': {\r\n        'ENGINE': 'django.db.backends.mysql',\r\n        'NAME': 'edxapp',\r\n        'USER': 'root',\r\n        'PASSWORD': '',\r\n        'HOST': '127.0.0.1',\r\n        'PORT': '3306',\r\n        'ATOMIC_REQUESTS': True,\r\n    },\r\n    'ecommerce': {\r\n        'ENGINE': 'django.db.backends.mysql',\r\n        'NAME': 'ecommerce',\r\n        'USER': 'root',\r\n        'PASSWORD': '',\r\n        'HOST': '127.0.0.1',\r\n        'PORT': '3306',\r\n        'ATOMIC_REQUESTS': True,\r\n    }\r\n}\r\n```\r\n\r\nexecute the management command by this command:\r\npython manage.py sync_salesforce -s example.com -o ExampleOrg --settings=settings.devstack","created_at":"2017-02-23T03:05:46Z","updated_at":"2017-04-28T16:43:05Z","closed_at":"2017-04-28T16:43:05Z","merged_at":"2017-04-28T16:43:05Z","merge_commit_sha":"7581e6b1c14939c658043ebb714e9b6a178aa8dc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-salesforce/pulls/3/commits","review_comments_url":"https://api.github.com/repos/edx/edx-salesforce/pulls/3/comments","review_comment_url":"https://api.github.com/repos/edx/edx-salesforce/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-salesforce/issues/3/comments","statuses_url":"https://api.github.com/repos/edx/edx-salesforce/statuses/f7e56912aacfcfd829d7888c68f38dff6e21a5ec","head":{"label":"edx:douglashall/sync_salesforce_command","ref":"douglashall/sync_salesforce_command","sha":"f7e56912aacfcfd829d7888c68f38dff6e21a5ec","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars0.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":82703183,"name":"edx-salesforce","full_name":"edx/edx-salesforce","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars0.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-salesforce","description":null,"fork":false,"url":"https://api.github.com/repos/edx/edx-salesforce","forks_url":"https://api.github.com/repos/edx/edx-salesforce/forks","keys_url":"https://api.github.com/repos/edx/edx-salesforce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-salesforce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-salesforce/teams","hooks_url":"https://api.github.com/repos/edx/edx-salesforce/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-salesforce/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-salesforce/events","assignees_url":"https://api.github.com/repos/edx/edx-salesforce/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-salesforce/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-salesforce/tags","blobs_url":"https://api.github.com/repos/edx/edx-salesforce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-salesforce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-salesforce/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-salesforce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-salesforce/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-salesforce/languages","stargazers_url":"https://api.github.com/repos/edx/edx-salesforce/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-salesforce/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-salesforce/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-salesforce/subscription","commits_url":"https://api.github.com/repos/edx/edx-salesforce/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-salesforce/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-salesforce/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-salesforce/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-salesforce/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-salesforce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-salesforce/merges","archive_url":"https://api.github.com/repos/edx/edx-salesforce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-salesforce/downloads","issues_url":"https://api.github.com/repos/edx/edx-salesforce/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-salesforce/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-salesforce/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-salesforce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-salesforce/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-salesforce/releases{/id}","deployments_url":"https://api.github.com/repos/edx/edx-salesforce/deployments","created_at":"2017-02-21T16:40:13Z","updated_at":"2017-03-07T17:48:56Z","pushed_at":"2017-04-28T16:43:05Z","git_url":"git://github.com/edx/edx-salesforce.git","ssh_url":"git@github.com:edx/edx-salesforce.git","clone_url":"https://github.com/edx/edx-salesforce.git","svn_url":"https://github.com/edx/edx-salesforce","homepage":null,"size":72,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"34b31583ac74b1848d560228822667757771da53","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars0.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":82703183,"name":"edx-salesforce","full_name":"edx/edx-salesforce","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars0.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-salesforce","description":null,"fork":false,"url":"https://api.github.com/repos/edx/edx-salesforce","forks_url":"https://api.github.com/repos/edx/edx-salesforce/forks","keys_url":"https://api.github.com/repos/edx/edx-salesforce/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-salesforce/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-salesforce/teams","hooks_url":"https://api.github.com/repos/edx/edx-salesforce/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-salesforce/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-salesforce/events","assignees_url":"https://api.github.com/repos/edx/edx-salesforce/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-salesforce/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-salesforce/tags","blobs_url":"https://api.github.com/repos/edx/edx-salesforce/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-salesforce/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-salesforce/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-salesforce/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-salesforce/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-salesforce/languages","stargazers_url":"https://api.github.com/repos/edx/edx-salesforce/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-salesforce/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-salesforce/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-salesforce/subscription","commits_url":"https://api.github.com/repos/edx/edx-salesforce/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-salesforce/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-salesforce/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-salesforce/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-salesforce/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-salesforce/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-salesforce/merges","archive_url":"https://api.github.com/repos/edx/edx-salesforce/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-salesforce/downloads","issues_url":"https://api.github.com/repos/edx/edx-salesforce/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-salesforce/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-salesforce/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-salesforce/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-salesforce/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-salesforce/releases{/id}","deployments_url":"https://api.github.com/repos/edx/edx-salesforce/deployments","created_at":"2017-02-21T16:40:13Z","updated_at":"2017-03-07T17:48:56Z","pushed_at":"2017-04-28T16:43:05Z","git_url":"git://github.com/edx/edx-salesforce.git","ssh_url":"git@github.com:edx/edx-salesforce.git","clone_url":"https://github.com/edx/edx-salesforce.git","svn_url":"https://github.com/edx/edx-salesforce","homepage":null,"size":72,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-salesforce/pulls/3"},"html":{"href":"https://github.com/edx/edx-salesforce/pull/3"},"issue":{"href":"https://api.github.com/repos/edx/edx-salesforce/issues/3"},"comments":{"href":"https://api.github.com/repos/edx/edx-salesforce/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-salesforce/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-salesforce/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-salesforce/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-salesforce/statuses/f7e56912aacfcfd829d7888c68f38dff6e21a5ec"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"douglashall","id":224634,"avatar_url":"https://avatars1.githubusercontent.com/u/224634?v=3","gravatar_id":"","url":"https://api.github.com/users/douglashall","html_url":"https://github.com/douglashall","followers_url":"https://api.github.com/users/douglashall/followers","following_url":"https://api.github.com/users/douglashall/following{/other_user}","gists_url":"https://api.github.com/users/douglashall/gists{/gist_id}","starred_url":"https://api.github.com/users/douglashall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglashall/subscriptions","organizations_url":"https://api.github.com/users/douglashall/orgs","repos_url":"https://api.github.com/users/douglashall/repos","events_url":"https://api.github.com/users/douglashall/events{/privacy}","received_events_url":"https://api.github.com/users/douglashall/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3071,"deletions":557,"changed_files":60}}
{"actor":{"display_login":"douglashall"}}