{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/kelvinrandu/store-manager-api/pulls/2","id":223622285,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNjIyMjg1","html_url":"https://github.com/kelvinrandu/store-manager-api/pull/2","diff_url":"https://github.com/kelvinrandu/store-manager-api/pull/2.diff","patch_url":"https://github.com/kelvinrandu/store-manager-api/pull/2.patch","issue_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/issues/2","number":2,"state":"closed","locked":false,"title":"#161198395 get all products ","user":{"login":"kelvinrandu","id":22809944,"node_id":"MDQ6VXNlcjIyODA5OTQ0","avatar_url":"https://avatars0.githubusercontent.com/u/22809944?v=4","gravatar_id":"","url":"https://api.github.com/users/kelvinrandu","html_url":"https://github.com/kelvinrandu","followers_url":"https://api.github.com/users/kelvinrandu/followers","following_url":"https://api.github.com/users/kelvinrandu/following{/other_user}","gists_url":"https://api.github.com/users/kelvinrandu/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvinrandu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvinrandu/subscriptions","organizations_url":"https://api.github.com/users/kelvinrandu/orgs","repos_url":"https://api.github.com/users/kelvinrandu/repos","events_url":"https://api.github.com/users/kelvinrandu/events{/privacy}","received_events_url":"https://api.github.com/users/kelvinrandu/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nThis PR enables an admin to fetch all products\r\n#### Description of Task to be completed?\r\nHave the following endpoint\r\n``` GET /api/v1/products ```\r\n\r\n#### How should this be manually tested?\r\n- clone [this](https://github.com/kelvinrandu/store-manager-api.git) repository\r\n- navigate to the project directory\r\n- install virtual environment\r\n```virtualenv -p python3 venv ```\r\n- activate the virtual environment\r\n```$ source venv/bin/activate```\r\n- install dependencies needed for the project to run\r\n``` $ pip install -r requirements.txt ```\r\n- install flask\r\n``` $ pip install flask```\r\n- run the application\r\n```$ FLASK_APP=run.py flask run```\r\n- test the endpoint using postman\r\n#### What are the relevant pivotal tracker stories?\r\n#161198395\r\n#### Screenshots \r\n![getproducts](https://user-images.githubusercontent.com/22809944/47092722-4b656700-d230-11e8-8353-151fae0d1cd5.png)\r\n#### Questions:\r\nEnquiries or questions should be directed to randukelvin@gmail\r\n","created_at":"2018-10-17T14:16:24Z","updated_at":"2018-10-19T21:34:18Z","closed_at":"2018-10-19T21:34:18Z","merged_at":"2018-10-19T21:34:18Z","merge_commit_sha":"898143ae9aba0a3102ec096eed579b0b3958fb10","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/pulls/2/commits","review_comments_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/pulls/2/comments","review_comment_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/issues/2/comments","statuses_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/statuses/fb1fd1b9ff667e46fa1faadd412b65e71fce2151","head":{"label":"kelvinrandu:ft-get-all-products-161198395","ref":"ft-get-all-products-161198395","sha":"fb1fd1b9ff667e46fa1faadd412b65e71fce2151","user":{"login":"kelvinrandu","id":22809944,"node_id":"MDQ6VXNlcjIyODA5OTQ0","avatar_url":"https://avatars0.githubusercontent.com/u/22809944?v=4","gravatar_id":"","url":"https://api.github.com/users/kelvinrandu","html_url":"https://github.com/kelvinrandu","followers_url":"https://api.github.com/users/kelvinrandu/followers","following_url":"https://api.github.com/users/kelvinrandu/following{/other_user}","gists_url":"https://api.github.com/users/kelvinrandu/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvinrandu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvinrandu/subscriptions","organizations_url":"https://api.github.com/users/kelvinrandu/orgs","repos_url":"https://api.github.com/users/kelvinrandu/repos","events_url":"https://api.github.com/users/kelvinrandu/events{/privacy}","received_events_url":"https://api.github.com/users/kelvinrandu/received_events","type":"User","site_admin":false},"repo":{"id":152864587,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI4NjQ1ODc=","name":"store-manager-api","full_name":"kelvinrandu/store-manager-api","private":false,"owner":{"login":"kelvinrandu","id":22809944,"node_id":"MDQ6VXNlcjIyODA5OTQ0","avatar_url":"https://avatars0.githubusercontent.com/u/22809944?v=4","gravatar_id":"","url":"https://api.github.com/users/kelvinrandu","html_url":"https://github.com/kelvinrandu","followers_url":"https://api.github.com/users/kelvinrandu/followers","following_url":"https://api.github.com/users/kelvinrandu/following{/other_user}","gists_url":"https://api.github.com/users/kelvinrandu/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvinrandu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvinrandu/subscriptions","organizations_url":"https://api.github.com/users/kelvinrandu/orgs","repos_url":"https://api.github.com/users/kelvinrandu/repos","events_url":"https://api.github.com/users/kelvinrandu/events{/privacy}","received_events_url":"https://api.github.com/users/kelvinrandu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kelvinrandu/store-manager-api","description":"A restful  flask app intended to communicate using api endpoints","fork":false,"url":"https://api.github.com/repos/kelvinrandu/store-manager-api","forks_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/forks","keys_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/teams","hooks_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/hooks","issue_events_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/issues/events{/number}","events_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/events","assignees_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/assignees{/user}","branches_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/branches{/branch}","tags_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/tags","blobs_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/statuses/{sha}","languages_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/languages","stargazers_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/stargazers","contributors_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/contributors","subscribers_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/subscribers","subscription_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/subscription","commits_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/contents/{+path}","compare_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/merges","archive_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/downloads","issues_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/issues{/number}","pulls_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/pulls{/number}","milestones_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/milestones{/number}","notifications_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/labels{/name}","releases_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/releases{/id}","deployments_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/deployments","created_at":"2018-10-13T11:17:48Z","updated_at":"2018-10-19T21:33:50Z","pushed_at":"2018-10-19T21:34:18Z","git_url":"git://github.com/kelvinrandu/store-manager-api.git","ssh_url":"git@github.com:kelvinrandu/store-manager-api.git","clone_url":"https://github.com/kelvinrandu/store-manager-api.git","svn_url":"https://github.com/kelvinrandu/store-manager-api","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"Python","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":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":6,"watchers":0,"default_branch":"develop"}},"base":{"label":"kelvinrandu:develop","ref":"develop","sha":"dfbeef3dadc914433ec4e87cddaebb4bfc1f68df","user":{"login":"kelvinrandu","id":22809944,"node_id":"MDQ6VXNlcjIyODA5OTQ0","avatar_url":"https://avatars0.githubusercontent.com/u/22809944?v=4","gravatar_id":"","url":"https://api.github.com/users/kelvinrandu","html_url":"https://github.com/kelvinrandu","followers_url":"https://api.github.com/users/kelvinrandu/followers","following_url":"https://api.github.com/users/kelvinrandu/following{/other_user}","gists_url":"https://api.github.com/users/kelvinrandu/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvinrandu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvinrandu/subscriptions","organizations_url":"https://api.github.com/users/kelvinrandu/orgs","repos_url":"https://api.github.com/users/kelvinrandu/repos","events_url":"https://api.github.com/users/kelvinrandu/events{/privacy}","received_events_url":"https://api.github.com/users/kelvinrandu/received_events","type":"User","site_admin":false},"repo":{"id":152864587,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI4NjQ1ODc=","name":"store-manager-api","full_name":"kelvinrandu/store-manager-api","private":false,"owner":{"login":"kelvinrandu","id":22809944,"node_id":"MDQ6VXNlcjIyODA5OTQ0","avatar_url":"https://avatars0.githubusercontent.com/u/22809944?v=4","gravatar_id":"","url":"https://api.github.com/users/kelvinrandu","html_url":"https://github.com/kelvinrandu","followers_url":"https://api.github.com/users/kelvinrandu/followers","following_url":"https://api.github.com/users/kelvinrandu/following{/other_user}","gists_url":"https://api.github.com/users/kelvinrandu/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvinrandu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvinrandu/subscriptions","organizations_url":"https://api.github.com/users/kelvinrandu/orgs","repos_url":"https://api.github.com/users/kelvinrandu/repos","events_url":"https://api.github.com/users/kelvinrandu/events{/privacy}","received_events_url":"https://api.github.com/users/kelvinrandu/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kelvinrandu/store-manager-api","description":"A restful  flask app intended to communicate using api endpoints","fork":false,"url":"https://api.github.com/repos/kelvinrandu/store-manager-api","forks_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/forks","keys_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/teams","hooks_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/hooks","issue_events_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/issues/events{/number}","events_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/events","assignees_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/assignees{/user}","branches_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/branches{/branch}","tags_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/tags","blobs_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/statuses/{sha}","languages_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/languages","stargazers_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/stargazers","contributors_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/contributors","subscribers_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/subscribers","subscription_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/subscription","commits_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/contents/{+path}","compare_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/merges","archive_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/downloads","issues_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/issues{/number}","pulls_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/pulls{/number}","milestones_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/milestones{/number}","notifications_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/labels{/name}","releases_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/releases{/id}","deployments_url":"https://api.github.com/repos/kelvinrandu/store-manager-api/deployments","created_at":"2018-10-13T11:17:48Z","updated_at":"2018-10-19T21:33:50Z","pushed_at":"2018-10-19T21:34:18Z","git_url":"git://github.com/kelvinrandu/store-manager-api.git","ssh_url":"git@github.com:kelvinrandu/store-manager-api.git","clone_url":"https://github.com/kelvinrandu/store-manager-api.git","svn_url":"https://github.com/kelvinrandu/store-manager-api","homepage":null,"size":18,"stargazers_count":0,"watchers_count":0,"language":"Python","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":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":6,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/kelvinrandu/store-manager-api/pulls/2"},"html":{"href":"https://github.com/kelvinrandu/store-manager-api/pull/2"},"issue":{"href":"https://api.github.com/repos/kelvinrandu/store-manager-api/issues/2"},"comments":{"href":"https://api.github.com/repos/kelvinrandu/store-manager-api/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/kelvinrandu/store-manager-api/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/kelvinrandu/store-manager-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kelvinrandu/store-manager-api/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/kelvinrandu/store-manager-api/statuses/fb1fd1b9ff667e46fa1faadd412b65e71fce2151"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"kelvinrandu","id":22809944,"node_id":"MDQ6VXNlcjIyODA5OTQ0","avatar_url":"https://avatars0.githubusercontent.com/u/22809944?v=4","gravatar_id":"","url":"https://api.github.com/users/kelvinrandu","html_url":"https://github.com/kelvinrandu","followers_url":"https://api.github.com/users/kelvinrandu/followers","following_url":"https://api.github.com/users/kelvinrandu/following{/other_user}","gists_url":"https://api.github.com/users/kelvinrandu/gists{/gist_id}","starred_url":"https://api.github.com/users/kelvinrandu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelvinrandu/subscriptions","organizations_url":"https://api.github.com/users/kelvinrandu/orgs","repos_url":"https://api.github.com/users/kelvinrandu/repos","events_url":"https://api.github.com/users/kelvinrandu/events{/privacy}","received_events_url":"https://api.github.com/users/kelvinrandu/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":118,"deletions":0,"changed_files":10}}
{"actor":{"display_login":"kelvinrandu"}}