{"action":"created","comment":{"url":"https://api.github.com/repos/suryaharshan1/sharsha/pulls/comments/71064254","id":71064254,"diff_hunk":"@@ -0,0 +1,59 @@\n+import boto3\n+import mysql.connector\n+import ConfigParser\n+import ast\n+import time\n+\n+sqs = boto3.resource('sqs')\n+\n+queue = sqs.get_queue_by_name(QueueName = 'cnu2016_sharsha_springcommerce_log')\n+\n+config = config = ConfigParser.RawConfigParser()\n+config.read('dbsettingscloud.ini')\n+\n+dbconfig = {\n+    'user': config.get('DatabaseSection', 'user'),\n+    'password': config.get('DatabaseSection', 'password'),\n+    'host': config.get('DatabaseSection', 'host'),\n+    'database': config.get('DatabaseSection', 'database'),\n+}\n+\n+con = mysql.connector.connect(**dbconfig)\n+\n+print (queue.url)","path":"assignment05b/sqsreader.py","position":23,"original_position":23,"commit_id":"7e6c6e60ea6ae2983f58a14b445c8347cdf69c01","original_commit_id":"7e6c6e60ea6ae2983f58a14b445c8347cdf69c01","user":{"login":"swapnilsm","id":912433,"avatar_url":"https://avatars.githubusercontent.com/u/912433?v=3","gravatar_id":"","url":"https://api.github.com/users/swapnilsm","html_url":"https://github.com/swapnilsm","followers_url":"https://api.github.com/users/swapnilsm/followers","following_url":"https://api.github.com/users/swapnilsm/following{/other_user}","gists_url":"https://api.github.com/users/swapnilsm/gists{/gist_id}","starred_url":"https://api.github.com/users/swapnilsm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapnilsm/subscriptions","organizations_url":"https://api.github.com/users/swapnilsm/orgs","repos_url":"https://api.github.com/users/swapnilsm/repos","events_url":"https://api.github.com/users/swapnilsm/events{/privacy}","received_events_url":"https://api.github.com/users/swapnilsm/received_events","type":"User","site_admin":false},"body":"Use logging","created_at":"2016-07-16T10:21:42Z","updated_at":"2016-07-16T10:21:42Z","html_url":"https://github.com/suryaharshan1/sharsha/pull/10#discussion_r71064254","pull_request_url":"https://api.github.com/repos/suryaharshan1/sharsha/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/suryaharshan1/sharsha/pulls/comments/71064254"},"html":{"href":"https://github.com/suryaharshan1/sharsha/pull/10#discussion_r71064254"},"pull_request":{"href":"https://api.github.com/repos/suryaharshan1/sharsha/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/suryaharshan1/sharsha/pulls/10","id":77024212,"html_url":"https://github.com/suryaharshan1/sharsha/pull/10","diff_url":"https://github.com/suryaharshan1/sharsha/pull/10.diff","patch_url":"https://github.com/suryaharshan1/sharsha/pull/10.patch","issue_url":"https://api.github.com/repos/suryaharshan1/sharsha/issues/10","number":10,"state":"open","locked":false,"title":"Assignment05b","user":{"login":"suryaharshan1","id":5567632,"avatar_url":"https://avatars.githubusercontent.com/u/5567632?v=3","gravatar_id":"","url":"https://api.github.com/users/suryaharshan1","html_url":"https://github.com/suryaharshan1","followers_url":"https://api.github.com/users/suryaharshan1/followers","following_url":"https://api.github.com/users/suryaharshan1/following{/other_user}","gists_url":"https://api.github.com/users/suryaharshan1/gists{/gist_id}","starred_url":"https://api.github.com/users/suryaharshan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suryaharshan1/subscriptions","organizations_url":"https://api.github.com/users/suryaharshan1/orgs","repos_url":"https://api.github.com/users/suryaharshan1/repos","events_url":"https://api.github.com/users/suryaharshan1/events{/privacy}","received_events_url":"https://api.github.com/users/suryaharshan1/received_events","type":"User","site_admin":false},"body":"milestone 2 assignment 5","created_at":"2016-07-11T21:12:44Z","updated_at":"2016-07-16T10:21:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8df9c29aabe7f42784f3937126b56fa48d773b68","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/suryaharshan1/sharsha/pulls/10/commits","review_comments_url":"https://api.github.com/repos/suryaharshan1/sharsha/pulls/10/comments","review_comment_url":"https://api.github.com/repos/suryaharshan1/sharsha/pulls/comments{/number}","comments_url":"https://api.github.com/repos/suryaharshan1/sharsha/issues/10/comments","statuses_url":"https://api.github.com/repos/suryaharshan1/sharsha/statuses/7e6c6e60ea6ae2983f58a14b445c8347cdf69c01","head":{"label":"suryaharshan1:assignment05b","ref":"assignment05b","sha":"7e6c6e60ea6ae2983f58a14b445c8347cdf69c01","user":{"login":"suryaharshan1","id":5567632,"avatar_url":"https://avatars.githubusercontent.com/u/5567632?v=3","gravatar_id":"","url":"https://api.github.com/users/suryaharshan1","html_url":"https://github.com/suryaharshan1","followers_url":"https://api.github.com/users/suryaharshan1/followers","following_url":"https://api.github.com/users/suryaharshan1/following{/other_user}","gists_url":"https://api.github.com/users/suryaharshan1/gists{/gist_id}","starred_url":"https://api.github.com/users/suryaharshan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suryaharshan1/subscriptions","organizations_url":"https://api.github.com/users/suryaharshan1/orgs","repos_url":"https://api.github.com/users/suryaharshan1/repos","events_url":"https://api.github.com/users/suryaharshan1/events{/privacy}","received_events_url":"https://api.github.com/users/suryaharshan1/received_events","type":"User","site_admin":false},"repo":{"id":62565410,"name":"sharsha","full_name":"suryaharshan1/sharsha","owner":{"login":"suryaharshan1","id":5567632,"avatar_url":"https://avatars.githubusercontent.com/u/5567632?v=3","gravatar_id":"","url":"https://api.github.com/users/suryaharshan1","html_url":"https://github.com/suryaharshan1","followers_url":"https://api.github.com/users/suryaharshan1/followers","following_url":"https://api.github.com/users/suryaharshan1/following{/other_user}","gists_url":"https://api.github.com/users/suryaharshan1/gists{/gist_id}","starred_url":"https://api.github.com/users/suryaharshan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suryaharshan1/subscriptions","organizations_url":"https://api.github.com/users/suryaharshan1/orgs","repos_url":"https://api.github.com/users/suryaharshan1/repos","events_url":"https://api.github.com/users/suryaharshan1/events{/privacy}","received_events_url":"https://api.github.com/users/suryaharshan1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/suryaharshan1/sharsha","description":null,"fork":false,"url":"https://api.github.com/repos/suryaharshan1/sharsha","forks_url":"https://api.github.com/repos/suryaharshan1/sharsha/forks","keys_url":"https://api.github.com/repos/suryaharshan1/sharsha/keys{/key_id}","collaborators_url":"https://api.github.com/repos/suryaharshan1/sharsha/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/suryaharshan1/sharsha/teams","hooks_url":"https://api.github.com/repos/suryaharshan1/sharsha/hooks","issue_events_url":"https://api.github.com/repos/suryaharshan1/sharsha/issues/events{/number}","events_url":"https://api.github.com/repos/suryaharshan1/sharsha/events","assignees_url":"https://api.github.com/repos/suryaharshan1/sharsha/assignees{/user}","branches_url":"https://api.github.com/repos/suryaharshan1/sharsha/branches{/branch}","tags_url":"https://api.github.com/repos/suryaharshan1/sharsha/tags","blobs_url":"https://api.github.com/repos/suryaharshan1/sharsha/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/suryaharshan1/sharsha/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/suryaharshan1/sharsha/git/refs{/sha}","trees_url":"https://api.github.com/repos/suryaharshan1/sharsha/git/trees{/sha}","statuses_url":"https://api.github.com/repos/suryaharshan1/sharsha/statuses/{sha}","languages_url":"https://api.github.com/repos/suryaharshan1/sharsha/languages","stargazers_url":"https://api.github.com/repos/suryaharshan1/sharsha/stargazers","contributors_url":"https://api.github.com/repos/suryaharshan1/sharsha/contributors","subscribers_url":"https://api.github.com/repos/suryaharshan1/sharsha/subscribers","subscription_url":"https://api.github.com/repos/suryaharshan1/sharsha/subscription","commits_url":"https://api.github.com/repos/suryaharshan1/sharsha/commits{/sha}","git_commits_url":"https://api.github.com/repos/suryaharshan1/sharsha/git/commits{/sha}","comments_url":"https://api.github.com/repos/suryaharshan1/sharsha/comments{/number}","issue_comment_url":"https://api.github.com/repos/suryaharshan1/sharsha/issues/comments{/number}","contents_url":"https://api.github.com/repos/suryaharshan1/sharsha/contents/{+path}","compare_url":"https://api.github.com/repos/suryaharshan1/sharsha/compare/{base}...{head}","merges_url":"https://api.github.com/repos/suryaharshan1/sharsha/merges","archive_url":"https://api.github.com/repos/suryaharshan1/sharsha/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/suryaharshan1/sharsha/downloads","issues_url":"https://api.github.com/repos/suryaharshan1/sharsha/issues{/number}","pulls_url":"https://api.github.com/repos/suryaharshan1/sharsha/pulls{/number}","milestones_url":"https://api.github.com/repos/suryaharshan1/sharsha/milestones{/number}","notifications_url":"https://api.github.com/repos/suryaharshan1/sharsha/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/suryaharshan1/sharsha/labels{/name}","releases_url":"https://api.github.com/repos/suryaharshan1/sharsha/releases{/id}","deployments_url":"https://api.github.com/repos/suryaharshan1/sharsha/deployments","created_at":"2016-07-04T13:44:56Z","updated_at":"2016-07-05T10:04:36Z","pushed_at":"2016-07-15T21:47:08Z","git_url":"git://github.com/suryaharshan1/sharsha.git","ssh_url":"git@github.com:suryaharshan1/sharsha.git","clone_url":"https://github.com/suryaharshan1/sharsha.git","svn_url":"https://github.com/suryaharshan1/sharsha","homepage":null,"size":543,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"base":{"label":"suryaharshan1:master","ref":"master","sha":"a816b1eef2c2e44e8cdabfb6e86ee0d11d94376b","user":{"login":"suryaharshan1","id":5567632,"avatar_url":"https://avatars.githubusercontent.com/u/5567632?v=3","gravatar_id":"","url":"https://api.github.com/users/suryaharshan1","html_url":"https://github.com/suryaharshan1","followers_url":"https://api.github.com/users/suryaharshan1/followers","following_url":"https://api.github.com/users/suryaharshan1/following{/other_user}","gists_url":"https://api.github.com/users/suryaharshan1/gists{/gist_id}","starred_url":"https://api.github.com/users/suryaharshan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suryaharshan1/subscriptions","organizations_url":"https://api.github.com/users/suryaharshan1/orgs","repos_url":"https://api.github.com/users/suryaharshan1/repos","events_url":"https://api.github.com/users/suryaharshan1/events{/privacy}","received_events_url":"https://api.github.com/users/suryaharshan1/received_events","type":"User","site_admin":false},"repo":{"id":62565410,"name":"sharsha","full_name":"suryaharshan1/sharsha","owner":{"login":"suryaharshan1","id":5567632,"avatar_url":"https://avatars.githubusercontent.com/u/5567632?v=3","gravatar_id":"","url":"https://api.github.com/users/suryaharshan1","html_url":"https://github.com/suryaharshan1","followers_url":"https://api.github.com/users/suryaharshan1/followers","following_url":"https://api.github.com/users/suryaharshan1/following{/other_user}","gists_url":"https://api.github.com/users/suryaharshan1/gists{/gist_id}","starred_url":"https://api.github.com/users/suryaharshan1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suryaharshan1/subscriptions","organizations_url":"https://api.github.com/users/suryaharshan1/orgs","repos_url":"https://api.github.com/users/suryaharshan1/repos","events_url":"https://api.github.com/users/suryaharshan1/events{/privacy}","received_events_url":"https://api.github.com/users/suryaharshan1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/suryaharshan1/sharsha","description":null,"fork":false,"url":"https://api.github.com/repos/suryaharshan1/sharsha","forks_url":"https://api.github.com/repos/suryaharshan1/sharsha/forks","keys_url":"https://api.github.com/repos/suryaharshan1/sharsha/keys{/key_id}","collaborators_url":"https://api.github.com/repos/suryaharshan1/sharsha/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/suryaharshan1/sharsha/teams","hooks_url":"https://api.github.com/repos/suryaharshan1/sharsha/hooks","issue_events_url":"https://api.github.com/repos/suryaharshan1/sharsha/issues/events{/number}","events_url":"https://api.github.com/repos/suryaharshan1/sharsha/events","assignees_url":"https://api.github.com/repos/suryaharshan1/sharsha/assignees{/user}","branches_url":"https://api.github.com/repos/suryaharshan1/sharsha/branches{/branch}","tags_url":"https://api.github.com/repos/suryaharshan1/sharsha/tags","blobs_url":"https://api.github.com/repos/suryaharshan1/sharsha/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/suryaharshan1/sharsha/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/suryaharshan1/sharsha/git/refs{/sha}","trees_url":"https://api.github.com/repos/suryaharshan1/sharsha/git/trees{/sha}","statuses_url":"https://api.github.com/repos/suryaharshan1/sharsha/statuses/{sha}","languages_url":"https://api.github.com/repos/suryaharshan1/sharsha/languages","stargazers_url":"https://api.github.com/repos/suryaharshan1/sharsha/stargazers","contributors_url":"https://api.github.com/repos/suryaharshan1/sharsha/contributors","subscribers_url":"https://api.github.com/repos/suryaharshan1/sharsha/subscribers","subscription_url":"https://api.github.com/repos/suryaharshan1/sharsha/subscription","commits_url":"https://api.github.com/repos/suryaharshan1/sharsha/commits{/sha}","git_commits_url":"https://api.github.com/repos/suryaharshan1/sharsha/git/commits{/sha}","comments_url":"https://api.github.com/repos/suryaharshan1/sharsha/comments{/number}","issue_comment_url":"https://api.github.com/repos/suryaharshan1/sharsha/issues/comments{/number}","contents_url":"https://api.github.com/repos/suryaharshan1/sharsha/contents/{+path}","compare_url":"https://api.github.com/repos/suryaharshan1/sharsha/compare/{base}...{head}","merges_url":"https://api.github.com/repos/suryaharshan1/sharsha/merges","archive_url":"https://api.github.com/repos/suryaharshan1/sharsha/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/suryaharshan1/sharsha/downloads","issues_url":"https://api.github.com/repos/suryaharshan1/sharsha/issues{/number}","pulls_url":"https://api.github.com/repos/suryaharshan1/sharsha/pulls{/number}","milestones_url":"https://api.github.com/repos/suryaharshan1/sharsha/milestones{/number}","notifications_url":"https://api.github.com/repos/suryaharshan1/sharsha/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/suryaharshan1/sharsha/labels{/name}","releases_url":"https://api.github.com/repos/suryaharshan1/sharsha/releases{/id}","deployments_url":"https://api.github.com/repos/suryaharshan1/sharsha/deployments","created_at":"2016-07-04T13:44:56Z","updated_at":"2016-07-05T10:04:36Z","pushed_at":"2016-07-15T21:47:08Z","git_url":"git://github.com/suryaharshan1/sharsha.git","ssh_url":"git@github.com:suryaharshan1/sharsha.git","clone_url":"https://github.com/suryaharshan1/sharsha.git","svn_url":"https://github.com/suryaharshan1/sharsha","homepage":null,"size":543,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":12,"forks":0,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/suryaharshan1/sharsha/pulls/10"},"html":{"href":"https://github.com/suryaharshan1/sharsha/pull/10"},"issue":{"href":"https://api.github.com/repos/suryaharshan1/sharsha/issues/10"},"comments":{"href":"https://api.github.com/repos/suryaharshan1/sharsha/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/suryaharshan1/sharsha/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/suryaharshan1/sharsha/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/suryaharshan1/sharsha/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/suryaharshan1/sharsha/statuses/7e6c6e60ea6ae2983f58a14b445c8347cdf69c01"}}}}
{"actor":{"display_login":"swapnilsm"}}