{"action":"opened","number":7,"pull_request":{"url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/pulls/7","id":29120905,"html_url":"https://github.com/prashantchhabra89/ToyFramework/pull/7","diff_url":"https://github.com/prashantchhabra89/ToyFramework/pull/7.diff","patch_url":"https://github.com/prashantchhabra89/ToyFramework/pull/7.patch","issue_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/issues/7","number":7,"state":"open","locked":false,"title":"Key value store","user":{"login":"prashantchhabra89","id":6378124,"avatar_url":"https://avatars.githubusercontent.com/u/6378124?v=3","gravatar_id":"","url":"https://api.github.com/users/prashantchhabra89","html_url":"https://github.com/prashantchhabra89","followers_url":"https://api.github.com/users/prashantchhabra89/followers","following_url":"https://api.github.com/users/prashantchhabra89/following{/other_user}","gists_url":"https://api.github.com/users/prashantchhabra89/gists{/gist_id}","starred_url":"https://api.github.com/users/prashantchhabra89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prashantchhabra89/subscriptions","organizations_url":"https://api.github.com/users/prashantchhabra89/orgs","repos_url":"https://api.github.com/users/prashantchhabra89/repos","events_url":"https://api.github.com/users/prashantchhabra89/events{/privacy}","received_events_url":"https://api.github.com/users/prashantchhabra89/received_events","type":"User","site_admin":false},"body":"Summary - Implement Key Value Store\r\n1. dictionary.py uses dictionary of python to store key value to store key and value\r\n2. I have 3 static methods(get, put and delete) which can be called directly using class-name.method name\r\n3. I have made sure that only one instance of class is created\r\n4. dictionary object is converted into json string and written to file\r\n5. used dictionaryTest.py to test dictionary file\r\n6. Made changes in api to have consistent methods names","created_at":"2015-02-11T19:33:07Z","updated_at":"2015-02-11T19:33:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/pulls/7/commits","review_comments_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/pulls/7/comments","review_comment_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/pulls/comments/{number}","comments_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/issues/7/comments","statuses_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/statuses/5241547fa80b6416d30b944a28f887684ee49f81","head":{"label":"prashantchhabra89:KeyValueStore","ref":"KeyValueStore","sha":"5241547fa80b6416d30b944a28f887684ee49f81","user":{"login":"prashantchhabra89","id":6378124,"avatar_url":"https://avatars.githubusercontent.com/u/6378124?v=3","gravatar_id":"","url":"https://api.github.com/users/prashantchhabra89","html_url":"https://github.com/prashantchhabra89","followers_url":"https://api.github.com/users/prashantchhabra89/followers","following_url":"https://api.github.com/users/prashantchhabra89/following{/other_user}","gists_url":"https://api.github.com/users/prashantchhabra89/gists{/gist_id}","starred_url":"https://api.github.com/users/prashantchhabra89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prashantchhabra89/subscriptions","organizations_url":"https://api.github.com/users/prashantchhabra89/orgs","repos_url":"https://api.github.com/users/prashantchhabra89/repos","events_url":"https://api.github.com/users/prashantchhabra89/events{/privacy}","received_events_url":"https://api.github.com/users/prashantchhabra89/received_events","type":"User","site_admin":false},"repo":{"id":30265287,"name":"ToyFramework","full_name":"prashantchhabra89/ToyFramework","owner":{"login":"prashantchhabra89","id":6378124,"avatar_url":"https://avatars.githubusercontent.com/u/6378124?v=3","gravatar_id":"","url":"https://api.github.com/users/prashantchhabra89","html_url":"https://github.com/prashantchhabra89","followers_url":"https://api.github.com/users/prashantchhabra89/followers","following_url":"https://api.github.com/users/prashantchhabra89/following{/other_user}","gists_url":"https://api.github.com/users/prashantchhabra89/gists{/gist_id}","starred_url":"https://api.github.com/users/prashantchhabra89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prashantchhabra89/subscriptions","organizations_url":"https://api.github.com/users/prashantchhabra89/orgs","repos_url":"https://api.github.com/users/prashantchhabra89/repos","events_url":"https://api.github.com/users/prashantchhabra89/events{/privacy}","received_events_url":"https://api.github.com/users/prashantchhabra89/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/prashantchhabra89/ToyFramework","description":"A distributed framework for testing consensus of distributed algorithms","fork":false,"url":"https://api.github.com/repos/prashantchhabra89/ToyFramework","forks_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/forks","keys_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/teams","hooks_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/hooks","issue_events_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/issues/events{/number}","events_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/events","assignees_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/assignees{/user}","branches_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/branches{/branch}","tags_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/tags","blobs_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/git/refs{/sha}","trees_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/statuses/{sha}","languages_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/languages","stargazers_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/stargazers","contributors_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/contributors","subscribers_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/subscribers","subscription_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/subscription","commits_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/commits{/sha}","git_commits_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/git/commits{/sha}","comments_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/comments{/number}","issue_comment_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/issues/comments/{number}","contents_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/contents/{+path}","compare_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/merges","archive_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/downloads","issues_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/issues{/number}","pulls_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/pulls{/number}","milestones_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/milestones{/number}","notifications_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/labels{/name}","releases_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/releases{/id}","created_at":"2015-02-03T21:23:59Z","updated_at":"2015-02-03T21:39:20Z","pushed_at":"2015-02-11T19:27:45Z","git_url":"git://github.com/prashantchhabra89/ToyFramework.git","ssh_url":"git@github.com:prashantchhabra89/ToyFramework.git","clone_url":"https://github.com/prashantchhabra89/ToyFramework.git","svn_url":"https://github.com/prashantchhabra89/ToyFramework","homepage":null,"size":216,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"prashantchhabra89:master","ref":"master","sha":"253ca2db27384bd9fcfafcbc2272ea241064dd58","user":{"login":"prashantchhabra89","id":6378124,"avatar_url":"https://avatars.githubusercontent.com/u/6378124?v=3","gravatar_id":"","url":"https://api.github.com/users/prashantchhabra89","html_url":"https://github.com/prashantchhabra89","followers_url":"https://api.github.com/users/prashantchhabra89/followers","following_url":"https://api.github.com/users/prashantchhabra89/following{/other_user}","gists_url":"https://api.github.com/users/prashantchhabra89/gists{/gist_id}","starred_url":"https://api.github.com/users/prashantchhabra89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prashantchhabra89/subscriptions","organizations_url":"https://api.github.com/users/prashantchhabra89/orgs","repos_url":"https://api.github.com/users/prashantchhabra89/repos","events_url":"https://api.github.com/users/prashantchhabra89/events{/privacy}","received_events_url":"https://api.github.com/users/prashantchhabra89/received_events","type":"User","site_admin":false},"repo":{"id":30265287,"name":"ToyFramework","full_name":"prashantchhabra89/ToyFramework","owner":{"login":"prashantchhabra89","id":6378124,"avatar_url":"https://avatars.githubusercontent.com/u/6378124?v=3","gravatar_id":"","url":"https://api.github.com/users/prashantchhabra89","html_url":"https://github.com/prashantchhabra89","followers_url":"https://api.github.com/users/prashantchhabra89/followers","following_url":"https://api.github.com/users/prashantchhabra89/following{/other_user}","gists_url":"https://api.github.com/users/prashantchhabra89/gists{/gist_id}","starred_url":"https://api.github.com/users/prashantchhabra89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prashantchhabra89/subscriptions","organizations_url":"https://api.github.com/users/prashantchhabra89/orgs","repos_url":"https://api.github.com/users/prashantchhabra89/repos","events_url":"https://api.github.com/users/prashantchhabra89/events{/privacy}","received_events_url":"https://api.github.com/users/prashantchhabra89/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/prashantchhabra89/ToyFramework","description":"A distributed framework for testing consensus of distributed algorithms","fork":false,"url":"https://api.github.com/repos/prashantchhabra89/ToyFramework","forks_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/forks","keys_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/teams","hooks_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/hooks","issue_events_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/issues/events{/number}","events_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/events","assignees_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/assignees{/user}","branches_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/branches{/branch}","tags_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/tags","blobs_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/git/refs{/sha}","trees_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/statuses/{sha}","languages_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/languages","stargazers_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/stargazers","contributors_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/contributors","subscribers_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/subscribers","subscription_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/subscription","commits_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/commits{/sha}","git_commits_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/git/commits{/sha}","comments_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/comments{/number}","issue_comment_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/issues/comments/{number}","contents_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/contents/{+path}","compare_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/merges","archive_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/downloads","issues_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/issues{/number}","pulls_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/pulls{/number}","milestones_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/milestones{/number}","notifications_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/labels{/name}","releases_url":"https://api.github.com/repos/prashantchhabra89/ToyFramework/releases{/id}","created_at":"2015-02-03T21:23:59Z","updated_at":"2015-02-03T21:39:20Z","pushed_at":"2015-02-11T19:27:45Z","git_url":"git://github.com/prashantchhabra89/ToyFramework.git","ssh_url":"git@github.com:prashantchhabra89/ToyFramework.git","clone_url":"https://github.com/prashantchhabra89/ToyFramework.git","svn_url":"https://github.com/prashantchhabra89/ToyFramework","homepage":null,"size":216,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prashantchhabra89/ToyFramework/pulls/7"},"html":{"href":"https://github.com/prashantchhabra89/ToyFramework/pull/7"},"issue":{"href":"https://api.github.com/repos/prashantchhabra89/ToyFramework/issues/7"},"comments":{"href":"https://api.github.com/repos/prashantchhabra89/ToyFramework/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/prashantchhabra89/ToyFramework/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/prashantchhabra89/ToyFramework/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/prashantchhabra89/ToyFramework/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/prashantchhabra89/ToyFramework/statuses/5241547fa80b6416d30b944a28f887684ee49f81"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":94,"deletions":3,"changed_files":3}}