{"action":"closed","number":22,"pull_request":{"url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/pulls/22","id":219232144,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5MjMyMTQ0","html_url":"https://github.com/kevinene91/Fast-Food-Fast-API/pull/22","diff_url":"https://github.com/kevinene91/Fast-Food-Fast-API/pull/22.diff","patch_url":"https://github.com/kevinene91/Fast-Food-Fast-API/pull/22.patch","issue_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/issues/22","number":22,"state":"closed","locked":false,"title":"#160782831 specific orders ","user":{"login":"kevinene91","id":11676467,"node_id":"MDQ6VXNlcjExNjc2NDY3","avatar_url":"https://avatars0.githubusercontent.com/u/11676467?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinene91","html_url":"https://github.com/kevinene91","followers_url":"https://api.github.com/users/kevinene91/followers","following_url":"https://api.github.com/users/kevinene91/following{/other_user}","gists_url":"https://api.github.com/users/kevinene91/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinene91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinene91/subscriptions","organizations_url":"https://api.github.com/users/kevinene91/orgs","repos_url":"https://api.github.com/users/kevinene91/repos","events_url":"https://api.github.com/users/kevinene91/events{/privacy}","received_events_url":"https://api.github.com/users/kevinene91/received_events","type":"User","site_admin":false},"body":"### What does this PR do \r\n`GET api/v2/orders/1`\r\n\r\n### Description of Task\r\nEndpoint to get a spefic order\r\n\r\n### How to test this manually \r\n\r\nCone the repo\r\n`git clone  https://github.com/kevinene91/Fast-Food-Fast-API.git`\r\nNavigate to the folder \r\n`cd Fast-Food-Fast-Api`\r\nswitch to  this branch \r\n`git checkout  ft-get-specific-orders-160782831`\r\nCreate virtualenv \r\n`virtualenv venv`\r\nActivate the enviroment \r\n`source venv/bin/activate`\r\ninstall requirements \r\n`pip install -r requirements.txt`\r\ncreate databse with postgres\r\nexport enviroment variables for database\r\n`export SECRET_KEY=\"your secret key\"\r\nexport DB_URL=\"dbname=fastfoodfast user=user password= host=localhost\"\r\nexport TEST_DB_URL=\"dbname=yourtestb user=user password= host=localhost\"`\r\n\r\nnavigate to tests/v2 folder\r\nrun `python pytest test_orders.py`\r\non the root folder run `python run.py`test the end point \r\nTest using Postman \r\n\r\n### Relevant Pivotal Tracker Story\r\n[160782831](https://www.pivotaltracker.com/n/projects/2193832/stories/160782831)\r\n\r\n### Screenshots\r\n![specific_order](https://user-images.githubusercontent.com/11676467/46263627-427b5280-c51a-11e8-8a86-b057d186ac62.png)\r\n","created_at":"2018-09-30T22:35:48Z","updated_at":"2018-09-30T22:36:48Z","closed_at":"2018-09-30T22:36:48Z","merged_at":"2018-09-30T22:36:48Z","merge_commit_sha":"4ebca0e3c074160f6726e397898c3011d9b78142","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/pulls/22/commits","review_comments_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/pulls/22/comments","review_comment_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/issues/22/comments","statuses_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/statuses/11d7f042897ece3037942c0c3cc3428675aa0fc7","head":{"label":"kevinene91:ft-get-specific-orders-160782831","ref":"ft-get-specific-orders-160782831","sha":"11d7f042897ece3037942c0c3cc3428675aa0fc7","user":{"login":"kevinene91","id":11676467,"node_id":"MDQ6VXNlcjExNjc2NDY3","avatar_url":"https://avatars0.githubusercontent.com/u/11676467?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinene91","html_url":"https://github.com/kevinene91","followers_url":"https://api.github.com/users/kevinene91/followers","following_url":"https://api.github.com/users/kevinene91/following{/other_user}","gists_url":"https://api.github.com/users/kevinene91/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinene91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinene91/subscriptions","organizations_url":"https://api.github.com/users/kevinene91/orgs","repos_url":"https://api.github.com/users/kevinene91/repos","events_url":"https://api.github.com/users/kevinene91/events{/privacy}","received_events_url":"https://api.github.com/users/kevinene91/received_events","type":"User","site_admin":false},"repo":{"id":147234414,"node_id":"MDEwOlJlcG9zaXRvcnkxNDcyMzQ0MTQ=","name":"Fast-Food-Fast-API","full_name":"kevinene91/Fast-Food-Fast-API","private":false,"owner":{"login":"kevinene91","id":11676467,"node_id":"MDQ6VXNlcjExNjc2NDY3","avatar_url":"https://avatars0.githubusercontent.com/u/11676467?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinene91","html_url":"https://github.com/kevinene91","followers_url":"https://api.github.com/users/kevinene91/followers","following_url":"https://api.github.com/users/kevinene91/following{/other_user}","gists_url":"https://api.github.com/users/kevinene91/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinene91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinene91/subscriptions","organizations_url":"https://api.github.com/users/kevinene91/orgs","repos_url":"https://api.github.com/users/kevinene91/repos","events_url":"https://api.github.com/users/kevinene91/events{/privacy}","received_events_url":"https://api.github.com/users/kevinene91/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kevinene91/Fast-Food-Fast-API","description":"Heroku Link","fork":false,"url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API","forks_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/forks","keys_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/teams","hooks_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/hooks","issue_events_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/issues/events{/number}","events_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/events","assignees_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/assignees{/user}","branches_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/branches{/branch}","tags_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/tags","blobs_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/languages","stargazers_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/stargazers","contributors_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/contributors","subscribers_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/subscribers","subscription_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/subscription","commits_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/contents/{+path}","compare_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/merges","archive_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/downloads","issues_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/issues{/number}","pulls_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/labels{/name}","releases_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/releases{/id}","deployments_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/deployments","created_at":"2018-09-03T17:23:52Z","updated_at":"2018-09-25T06:02:21Z","pushed_at":"2018-09-30T22:36:48Z","git_url":"git://github.com/kevinene91/Fast-Food-Fast-API.git","ssh_url":"git@github.com:kevinene91/Fast-Food-Fast-API.git","clone_url":"https://github.com/kevinene91/Fast-Food-Fast-API.git","svn_url":"https://github.com/kevinene91/Fast-Food-Fast-API","homepage":"https://fast-food-place-api-heroku.herokuapp.com/","size":156,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kevinene91:develop","ref":"develop","sha":"1e61dbeefddd6cb8627d4b4daa4c61ef2974fc6c","user":{"login":"kevinene91","id":11676467,"node_id":"MDQ6VXNlcjExNjc2NDY3","avatar_url":"https://avatars0.githubusercontent.com/u/11676467?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinene91","html_url":"https://github.com/kevinene91","followers_url":"https://api.github.com/users/kevinene91/followers","following_url":"https://api.github.com/users/kevinene91/following{/other_user}","gists_url":"https://api.github.com/users/kevinene91/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinene91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinene91/subscriptions","organizations_url":"https://api.github.com/users/kevinene91/orgs","repos_url":"https://api.github.com/users/kevinene91/repos","events_url":"https://api.github.com/users/kevinene91/events{/privacy}","received_events_url":"https://api.github.com/users/kevinene91/received_events","type":"User","site_admin":false},"repo":{"id":147234414,"node_id":"MDEwOlJlcG9zaXRvcnkxNDcyMzQ0MTQ=","name":"Fast-Food-Fast-API","full_name":"kevinene91/Fast-Food-Fast-API","private":false,"owner":{"login":"kevinene91","id":11676467,"node_id":"MDQ6VXNlcjExNjc2NDY3","avatar_url":"https://avatars0.githubusercontent.com/u/11676467?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinene91","html_url":"https://github.com/kevinene91","followers_url":"https://api.github.com/users/kevinene91/followers","following_url":"https://api.github.com/users/kevinene91/following{/other_user}","gists_url":"https://api.github.com/users/kevinene91/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinene91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinene91/subscriptions","organizations_url":"https://api.github.com/users/kevinene91/orgs","repos_url":"https://api.github.com/users/kevinene91/repos","events_url":"https://api.github.com/users/kevinene91/events{/privacy}","received_events_url":"https://api.github.com/users/kevinene91/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kevinene91/Fast-Food-Fast-API","description":"Heroku Link","fork":false,"url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API","forks_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/forks","keys_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/teams","hooks_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/hooks","issue_events_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/issues/events{/number}","events_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/events","assignees_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/assignees{/user}","branches_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/branches{/branch}","tags_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/tags","blobs_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/git/refs{/sha}","trees_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/statuses/{sha}","languages_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/languages","stargazers_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/stargazers","contributors_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/contributors","subscribers_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/subscribers","subscription_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/subscription","commits_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/commits{/sha}","git_commits_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/git/commits{/sha}","comments_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/comments{/number}","issue_comment_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/issues/comments{/number}","contents_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/contents/{+path}","compare_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/merges","archive_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/downloads","issues_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/issues{/number}","pulls_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/pulls{/number}","milestones_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/milestones{/number}","notifications_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/labels{/name}","releases_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/releases{/id}","deployments_url":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/deployments","created_at":"2018-09-03T17:23:52Z","updated_at":"2018-09-25T06:02:21Z","pushed_at":"2018-09-30T22:36:48Z","git_url":"git://github.com/kevinene91/Fast-Food-Fast-API.git","ssh_url":"git@github.com:kevinene91/Fast-Food-Fast-API.git","clone_url":"https://github.com/kevinene91/Fast-Food-Fast-API.git","svn_url":"https://github.com/kevinene91/Fast-Food-Fast-API","homepage":"https://fast-food-place-api-heroku.herokuapp.com/","size":156,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/pulls/22"},"html":{"href":"https://github.com/kevinene91/Fast-Food-Fast-API/pull/22"},"issue":{"href":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/issues/22"},"comments":{"href":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/kevinene91/Fast-Food-Fast-API/statuses/11d7f042897ece3037942c0c3cc3428675aa0fc7"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"kevinene91","id":11676467,"node_id":"MDQ6VXNlcjExNjc2NDY3","avatar_url":"https://avatars0.githubusercontent.com/u/11676467?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinene91","html_url":"https://github.com/kevinene91","followers_url":"https://api.github.com/users/kevinene91/followers","following_url":"https://api.github.com/users/kevinene91/following{/other_user}","gists_url":"https://api.github.com/users/kevinene91/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinene91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinene91/subscriptions","organizations_url":"https://api.github.com/users/kevinene91/orgs","repos_url":"https://api.github.com/users/kevinene91/repos","events_url":"https://api.github.com/users/kevinene91/events{/privacy}","received_events_url":"https://api.github.com/users/kevinene91/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":11,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"kevinene91"}}