{"action":"opened","number":98,"pull_request":{"url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/pulls/98","id":274944340,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc0OTQ0MzQw","html_url":"https://github.com/JiejayLan/CSC322_group_project/pull/98","diff_url":"https://github.com/JiejayLan/CSC322_group_project/pull/98.diff","patch_url":"https://github.com/JiejayLan/CSC322_group_project/pull/98.patch","issue_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/issues/98","number":98,"state":"open","locked":false,"title":"Added controller for processing pending orders","user":{"login":"shiBinH","id":16170334,"node_id":"MDQ6VXNlcjE2MTcwMzM0","avatar_url":"https://avatars0.githubusercontent.com/u/16170334?v=4","gravatar_id":"","url":"https://api.github.com/users/shiBinH","html_url":"https://github.com/shiBinH","followers_url":"https://api.github.com/users/shiBinH/followers","following_url":"https://api.github.com/users/shiBinH/following{/other_user}","gists_url":"https://api.github.com/users/shiBinH/gists{/gist_id}","starred_url":"https://api.github.com/users/shiBinH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiBinH/subscriptions","organizations_url":"https://api.github.com/users/shiBinH/orgs","repos_url":"https://api.github.com/users/shiBinH/repos","events_url":"https://api.github.com/users/shiBinH/events{/privacy}","received_events_url":"https://api.github.com/users/shiBinH/received_events","type":"User","site_admin":false},"body":"Major code changes:\r\n1. Added path for approving orders at `/process-pending-orders/:decision/:orderId` where `decision` = `\"approve\"` | `\"reject\"` and `orderId` = ID of the pending order.\r\n2. Implemented `OrderManager.createApprovedOrder()` for converting pending orders to approved orders\r\n3. Removed `OrderManager.Pending.create()` and reimplemented as `OrderManager.createPendingOrder()`.\r\n\r\nMajor database changes:\r\n1. If the call to `OrderManager.createApprovedOrder()` is successful, then the `status` of `/orders` will change from `pending` to `approved`","created_at":"2019-05-01T02:36:21Z","updated_at":"2019-05-01T02:36:21Z","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/JiejayLan/CSC322_group_project/pulls/98/commits","review_comments_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/pulls/98/comments","review_comment_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/issues/98/comments","statuses_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/statuses/385a9ab1f367d33592cb41081423dbe18799e471","head":{"label":"shiBinH:master","ref":"master","sha":"385a9ab1f367d33592cb41081423dbe18799e471","user":{"login":"shiBinH","id":16170334,"node_id":"MDQ6VXNlcjE2MTcwMzM0","avatar_url":"https://avatars0.githubusercontent.com/u/16170334?v=4","gravatar_id":"","url":"https://api.github.com/users/shiBinH","html_url":"https://github.com/shiBinH","followers_url":"https://api.github.com/users/shiBinH/followers","following_url":"https://api.github.com/users/shiBinH/following{/other_user}","gists_url":"https://api.github.com/users/shiBinH/gists{/gist_id}","starred_url":"https://api.github.com/users/shiBinH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiBinH/subscriptions","organizations_url":"https://api.github.com/users/shiBinH/orgs","repos_url":"https://api.github.com/users/shiBinH/repos","events_url":"https://api.github.com/users/shiBinH/events{/privacy}","received_events_url":"https://api.github.com/users/shiBinH/received_events","type":"User","site_admin":false},"repo":{"id":178754889,"node_id":"MDEwOlJlcG9zaXRvcnkxNzg3NTQ4ODk=","name":"CSC322_group_project","full_name":"shiBinH/CSC322_group_project","private":false,"owner":{"login":"shiBinH","id":16170334,"node_id":"MDQ6VXNlcjE2MTcwMzM0","avatar_url":"https://avatars0.githubusercontent.com/u/16170334?v=4","gravatar_id":"","url":"https://api.github.com/users/shiBinH","html_url":"https://github.com/shiBinH","followers_url":"https://api.github.com/users/shiBinH/followers","following_url":"https://api.github.com/users/shiBinH/following{/other_user}","gists_url":"https://api.github.com/users/shiBinH/gists{/gist_id}","starred_url":"https://api.github.com/users/shiBinH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiBinH/subscriptions","organizations_url":"https://api.github.com/users/shiBinH/orgs","repos_url":"https://api.github.com/users/shiBinH/repos","events_url":"https://api.github.com/users/shiBinH/events{/privacy}","received_events_url":"https://api.github.com/users/shiBinH/received_events","type":"User","site_admin":false},"html_url":"https://github.com/shiBinH/CSC322_group_project","description":null,"fork":true,"url":"https://api.github.com/repos/shiBinH/CSC322_group_project","forks_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/forks","keys_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/teams","hooks_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/hooks","issue_events_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/issues/events{/number}","events_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/events","assignees_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/assignees{/user}","branches_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/branches{/branch}","tags_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/tags","blobs_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/git/refs{/sha}","trees_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/statuses/{sha}","languages_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/languages","stargazers_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/stargazers","contributors_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/contributors","subscribers_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/subscribers","subscription_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/subscription","commits_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/commits{/sha}","git_commits_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/git/commits{/sha}","comments_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/comments{/number}","issue_comment_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/issues/comments{/number}","contents_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/contents/{+path}","compare_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/merges","archive_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/downloads","issues_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/issues{/number}","pulls_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/pulls{/number}","milestones_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/milestones{/number}","notifications_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/labels{/name}","releases_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/releases{/id}","deployments_url":"https://api.github.com/repos/shiBinH/CSC322_group_project/deployments","created_at":"2019-03-31T23:48:32Z","updated_at":"2019-05-01T02:28:15Z","pushed_at":"2019-05-01T02:28:13Z","git_url":"git://github.com/shiBinH/CSC322_group_project.git","ssh_url":"git@github.com:shiBinH/CSC322_group_project.git","clone_url":"https://github.com/shiBinH/CSC322_group_project.git","svn_url":"https://github.com/shiBinH/CSC322_group_project","homepage":null,"size":4244,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JiejayLan:master","ref":"master","sha":"916be960a71fdb363eb3bb8fa05a3aa8e1096005","user":{"login":"JiejayLan","id":37095411,"node_id":"MDQ6VXNlcjM3MDk1NDEx","avatar_url":"https://avatars2.githubusercontent.com/u/37095411?v=4","gravatar_id":"","url":"https://api.github.com/users/JiejayLan","html_url":"https://github.com/JiejayLan","followers_url":"https://api.github.com/users/JiejayLan/followers","following_url":"https://api.github.com/users/JiejayLan/following{/other_user}","gists_url":"https://api.github.com/users/JiejayLan/gists{/gist_id}","starred_url":"https://api.github.com/users/JiejayLan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiejayLan/subscriptions","organizations_url":"https://api.github.com/users/JiejayLan/orgs","repos_url":"https://api.github.com/users/JiejayLan/repos","events_url":"https://api.github.com/users/JiejayLan/events{/privacy}","received_events_url":"https://api.github.com/users/JiejayLan/received_events","type":"User","site_admin":false},"repo":{"id":173388189,"node_id":"MDEwOlJlcG9zaXRvcnkxNzMzODgxODk=","name":"CSC322_group_project","full_name":"JiejayLan/CSC322_group_project","private":false,"owner":{"login":"JiejayLan","id":37095411,"node_id":"MDQ6VXNlcjM3MDk1NDEx","avatar_url":"https://avatars2.githubusercontent.com/u/37095411?v=4","gravatar_id":"","url":"https://api.github.com/users/JiejayLan","html_url":"https://github.com/JiejayLan","followers_url":"https://api.github.com/users/JiejayLan/followers","following_url":"https://api.github.com/users/JiejayLan/following{/other_user}","gists_url":"https://api.github.com/users/JiejayLan/gists{/gist_id}","starred_url":"https://api.github.com/users/JiejayLan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JiejayLan/subscriptions","organizations_url":"https://api.github.com/users/JiejayLan/orgs","repos_url":"https://api.github.com/users/JiejayLan/repos","events_url":"https://api.github.com/users/JiejayLan/events{/privacy}","received_events_url":"https://api.github.com/users/JiejayLan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/JiejayLan/CSC322_group_project","description":null,"fork":false,"url":"https://api.github.com/repos/JiejayLan/CSC322_group_project","forks_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/forks","keys_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/teams","hooks_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/hooks","issue_events_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/issues/events{/number}","events_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/events","assignees_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/assignees{/user}","branches_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/branches{/branch}","tags_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/tags","blobs_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/git/refs{/sha}","trees_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/statuses/{sha}","languages_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/languages","stargazers_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/stargazers","contributors_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/contributors","subscribers_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/subscribers","subscription_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/subscription","commits_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/commits{/sha}","git_commits_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/git/commits{/sha}","comments_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/comments{/number}","issue_comment_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/issues/comments{/number}","contents_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/contents/{+path}","compare_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/merges","archive_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/downloads","issues_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/issues{/number}","pulls_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/pulls{/number}","milestones_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/milestones{/number}","notifications_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/labels{/name}","releases_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/releases{/id}","deployments_url":"https://api.github.com/repos/JiejayLan/CSC322_group_project/deployments","created_at":"2019-03-02T01:11:16Z","updated_at":"2019-05-01T02:04:57Z","pushed_at":"2019-05-01T02:04:56Z","git_url":"git://github.com/JiejayLan/CSC322_group_project.git","ssh_url":"git@github.com:JiejayLan/CSC322_group_project.git","clone_url":"https://github.com/JiejayLan/CSC322_group_project.git","svn_url":"https://github.com/JiejayLan/CSC322_group_project","homepage":null,"size":4248,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":10,"license":null,"forks":3,"open_issues":10,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JiejayLan/CSC322_group_project/pulls/98"},"html":{"href":"https://github.com/JiejayLan/CSC322_group_project/pull/98"},"issue":{"href":"https://api.github.com/repos/JiejayLan/CSC322_group_project/issues/98"},"comments":{"href":"https://api.github.com/repos/JiejayLan/CSC322_group_project/issues/98/comments"},"review_comments":{"href":"https://api.github.com/repos/JiejayLan/CSC322_group_project/pulls/98/comments"},"review_comment":{"href":"https://api.github.com/repos/JiejayLan/CSC322_group_project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JiejayLan/CSC322_group_project/pulls/98/commits"},"statuses":{"href":"https://api.github.com/repos/JiejayLan/CSC322_group_project/statuses/385a9ab1f367d33592cb41081423dbe18799e471"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":4,"additions":127,"deletions":24,"changed_files":5}}
{"actor":{"display_login":"shiBinH"}}