{"action":"created","comment":{"url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/pulls/comments/75937260","id":75937260,"diff_hunk":"@@ -23,62 +25,55 @@\n from mixmatch import model\n from mixmatch import services\n \n-GLANCE_APIS = ['images', 'schemas', 'metadefs', 'tasks']\n-\n \n def stream_response(response):\n     yield response.raw.read()\n \n \n+def is_valid_uuid(value):\n+    try:\n+        _ = uuid.UUID(value, version=4)  # noqa","path":"mixmatch/proxy.py","position":22,"original_position":22,"commit_id":"11d1e7d57f5bcd725c57f079673e1465f2937854","original_commit_id":"11d1e7d57f5bcd725c57f079673e1465f2937854","user":{"login":"gsilvis","id":597557,"avatar_url":"https://avatars.githubusercontent.com/u/597557?v=3","gravatar_id":"","url":"https://api.github.com/users/gsilvis","html_url":"https://github.com/gsilvis","followers_url":"https://api.github.com/users/gsilvis/followers","following_url":"https://api.github.com/users/gsilvis/following{/other_user}","gists_url":"https://api.github.com/users/gsilvis/gists{/gist_id}","starred_url":"https://api.github.com/users/gsilvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsilvis/subscriptions","organizations_url":"https://api.github.com/users/gsilvis/orgs","repos_url":"https://api.github.com/users/gsilvis/repos","events_url":"https://api.github.com/users/gsilvis/events{/privacy}","received_events_url":"https://api.github.com/users/gsilvis/received_events","type":"User","site_admin":false},"body":"Why not just ``uuid.UUID(value, version=4)`` as the whole line?  would that fix the pep8 issue?","created_at":"2016-08-23T19:47:05Z","updated_at":"2016-08-23T19:47:05Z","html_url":"https://github.com/CCI-MOC/k2k-proxy/pull/20#discussion_r75937260","pull_request_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/CCI-MOC/k2k-proxy/pulls/comments/75937260"},"html":{"href":"https://github.com/CCI-MOC/k2k-proxy/pull/20#discussion_r75937260"},"pull_request":{"href":"https://api.github.com/repos/CCI-MOC/k2k-proxy/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/pulls/20","id":82424085,"html_url":"https://github.com/CCI-MOC/k2k-proxy/pull/20","diff_url":"https://github.com/CCI-MOC/k2k-proxy/pull/20.diff","patch_url":"https://github.com/CCI-MOC/k2k-proxy/pull/20.patch","issue_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/issues/20","number":20,"state":"open","locked":false,"title":"Various fixes","user":{"login":"knikolla","id":4123322,"avatar_url":"https://avatars.githubusercontent.com/u/4123322?v=3","gravatar_id":"","url":"https://api.github.com/users/knikolla","html_url":"https://github.com/knikolla","followers_url":"https://api.github.com/users/knikolla/followers","following_url":"https://api.github.com/users/knikolla/following{/other_user}","gists_url":"https://api.github.com/users/knikolla/gists{/gist_id}","starred_url":"https://api.github.com/users/knikolla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knikolla/subscriptions","organizations_url":"https://api.github.com/users/knikolla/orgs","repos_url":"https://api.github.com/users/knikolla/repos","events_url":"https://api.github.com/users/knikolla/events{/privacy}","received_events_url":"https://api.github.com/users/knikolla/received_events","type":"User","site_admin":false},"body":"* Calls to glance now should be done in /image and calls to\r\n  cinder should be done in /volume. So the endpoint should be\r\n  registered like that.\r\n* Fixed the aggregator breaking streaming.\r\n* Always stream on GET and PUT.","created_at":"2016-08-23T19:16:26Z","updated_at":"2016-08-23T19:47:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"34395eeca272e2542518578bfc4e6047c9c0eecf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/pulls/20/commits","review_comments_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/pulls/20/comments","review_comment_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/issues/20/comments","statuses_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/statuses/11d1e7d57f5bcd725c57f079673e1465f2937854","head":{"label":"CCI-MOC:fixes1","ref":"fixes1","sha":"11d1e7d57f5bcd725c57f079673e1465f2937854","user":{"login":"CCI-MOC","id":3578683,"avatar_url":"https://avatars.githubusercontent.com/u/3578683?v=3","gravatar_id":"","url":"https://api.github.com/users/CCI-MOC","html_url":"https://github.com/CCI-MOC","followers_url":"https://api.github.com/users/CCI-MOC/followers","following_url":"https://api.github.com/users/CCI-MOC/following{/other_user}","gists_url":"https://api.github.com/users/CCI-MOC/gists{/gist_id}","starred_url":"https://api.github.com/users/CCI-MOC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CCI-MOC/subscriptions","organizations_url":"https://api.github.com/users/CCI-MOC/orgs","repos_url":"https://api.github.com/users/CCI-MOC/repos","events_url":"https://api.github.com/users/CCI-MOC/events{/privacy}","received_events_url":"https://api.github.com/users/CCI-MOC/received_events","type":"Organization","site_admin":false},"repo":{"id":61068598,"name":"k2k-proxy","full_name":"CCI-MOC/k2k-proxy","owner":{"login":"CCI-MOC","id":3578683,"avatar_url":"https://avatars.githubusercontent.com/u/3578683?v=3","gravatar_id":"","url":"https://api.github.com/users/CCI-MOC","html_url":"https://github.com/CCI-MOC","followers_url":"https://api.github.com/users/CCI-MOC/followers","following_url":"https://api.github.com/users/CCI-MOC/following{/other_user}","gists_url":"https://api.github.com/users/CCI-MOC/gists{/gist_id}","starred_url":"https://api.github.com/users/CCI-MOC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CCI-MOC/subscriptions","organizations_url":"https://api.github.com/users/CCI-MOC/orgs","repos_url":"https://api.github.com/users/CCI-MOC/repos","events_url":"https://api.github.com/users/CCI-MOC/events{/privacy}","received_events_url":"https://api.github.com/users/CCI-MOC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CCI-MOC/k2k-proxy","description":"K2K-Aware Proxy for OpenStack","fork":false,"url":"https://api.github.com/repos/CCI-MOC/k2k-proxy","forks_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/forks","keys_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/teams","hooks_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/hooks","issue_events_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/issues/events{/number}","events_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/events","assignees_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/assignees{/user}","branches_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/branches{/branch}","tags_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/tags","blobs_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/languages","stargazers_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/stargazers","contributors_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/contributors","subscribers_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/subscribers","subscription_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/subscription","commits_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/contents/{+path}","compare_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/merges","archive_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/downloads","issues_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/issues{/number}","pulls_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/labels{/name}","releases_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/releases{/id}","deployments_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/deployments","created_at":"2016-06-13T20:48:06Z","updated_at":"2016-08-17T15:48:12Z","pushed_at":"2016-08-23T19:39:25Z","git_url":"git://github.com/CCI-MOC/k2k-proxy.git","ssh_url":"git@github.com:CCI-MOC/k2k-proxy.git","clone_url":"https://github.com/CCI-MOC/k2k-proxy.git","svn_url":"https://github.com/CCI-MOC/k2k-proxy","homepage":"http://k2k-proxy.readthedocs.io","size":256,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"CCI-MOC:master","ref":"master","sha":"4a616ec0af956f6143bdb9ba7d35faab8c06ed0c","user":{"login":"CCI-MOC","id":3578683,"avatar_url":"https://avatars.githubusercontent.com/u/3578683?v=3","gravatar_id":"","url":"https://api.github.com/users/CCI-MOC","html_url":"https://github.com/CCI-MOC","followers_url":"https://api.github.com/users/CCI-MOC/followers","following_url":"https://api.github.com/users/CCI-MOC/following{/other_user}","gists_url":"https://api.github.com/users/CCI-MOC/gists{/gist_id}","starred_url":"https://api.github.com/users/CCI-MOC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CCI-MOC/subscriptions","organizations_url":"https://api.github.com/users/CCI-MOC/orgs","repos_url":"https://api.github.com/users/CCI-MOC/repos","events_url":"https://api.github.com/users/CCI-MOC/events{/privacy}","received_events_url":"https://api.github.com/users/CCI-MOC/received_events","type":"Organization","site_admin":false},"repo":{"id":61068598,"name":"k2k-proxy","full_name":"CCI-MOC/k2k-proxy","owner":{"login":"CCI-MOC","id":3578683,"avatar_url":"https://avatars.githubusercontent.com/u/3578683?v=3","gravatar_id":"","url":"https://api.github.com/users/CCI-MOC","html_url":"https://github.com/CCI-MOC","followers_url":"https://api.github.com/users/CCI-MOC/followers","following_url":"https://api.github.com/users/CCI-MOC/following{/other_user}","gists_url":"https://api.github.com/users/CCI-MOC/gists{/gist_id}","starred_url":"https://api.github.com/users/CCI-MOC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CCI-MOC/subscriptions","organizations_url":"https://api.github.com/users/CCI-MOC/orgs","repos_url":"https://api.github.com/users/CCI-MOC/repos","events_url":"https://api.github.com/users/CCI-MOC/events{/privacy}","received_events_url":"https://api.github.com/users/CCI-MOC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CCI-MOC/k2k-proxy","description":"K2K-Aware Proxy for OpenStack","fork":false,"url":"https://api.github.com/repos/CCI-MOC/k2k-proxy","forks_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/forks","keys_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/teams","hooks_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/hooks","issue_events_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/issues/events{/number}","events_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/events","assignees_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/assignees{/user}","branches_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/branches{/branch}","tags_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/tags","blobs_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/git/refs{/sha}","trees_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/statuses/{sha}","languages_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/languages","stargazers_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/stargazers","contributors_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/contributors","subscribers_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/subscribers","subscription_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/subscription","commits_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/commits{/sha}","git_commits_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/git/commits{/sha}","comments_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/comments{/number}","issue_comment_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/issues/comments{/number}","contents_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/contents/{+path}","compare_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/merges","archive_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/downloads","issues_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/issues{/number}","pulls_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/pulls{/number}","milestones_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/milestones{/number}","notifications_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/labels{/name}","releases_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/releases{/id}","deployments_url":"https://api.github.com/repos/CCI-MOC/k2k-proxy/deployments","created_at":"2016-06-13T20:48:06Z","updated_at":"2016-08-17T15:48:12Z","pushed_at":"2016-08-23T19:39:25Z","git_url":"git://github.com/CCI-MOC/k2k-proxy.git","ssh_url":"git@github.com:CCI-MOC/k2k-proxy.git","clone_url":"https://github.com/CCI-MOC/k2k-proxy.git","svn_url":"https://github.com/CCI-MOC/k2k-proxy","homepage":"http://k2k-proxy.readthedocs.io","size":256,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CCI-MOC/k2k-proxy/pulls/20"},"html":{"href":"https://github.com/CCI-MOC/k2k-proxy/pull/20"},"issue":{"href":"https://api.github.com/repos/CCI-MOC/k2k-proxy/issues/20"},"comments":{"href":"https://api.github.com/repos/CCI-MOC/k2k-proxy/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/CCI-MOC/k2k-proxy/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/CCI-MOC/k2k-proxy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CCI-MOC/k2k-proxy/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/CCI-MOC/k2k-proxy/statuses/11d1e7d57f5bcd725c57f079673e1465f2937854"}}}}
{"actor":{"display_login":"gsilvis"}}