{"action":"opened","number":20,"pull_request":{"url":"https://api.github.com/repos/scionrep/scioncc/pulls/20","id":64152105,"html_url":"https://github.com/scionrep/scioncc/pull/20","diff_url":"https://github.com/scionrep/scioncc/pull/20.diff","patch_url":"https://github.com/scionrep/scioncc/pull/20.patch","issue_url":"https://api.github.com/repos/scionrep/scioncc/issues/20","number":20,"state":"open","locked":false,"title":"AX-9: fix the \"refresh token\" method","user":{"login":"pavelmatveevitransition","id":13099547,"avatar_url":"https://avatars.githubusercontent.com/u/13099547?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelmatveevitransition","html_url":"https://github.com/pavelmatveevitransition","followers_url":"https://api.github.com/users/pavelmatveevitransition/followers","following_url":"https://api.github.com/users/pavelmatveevitransition/following{/other_user}","gists_url":"https://api.github.com/users/pavelmatveevitransition/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelmatveevitransition/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelmatveevitransition/subscriptions","organizations_url":"https://api.github.com/users/pavelmatveevitransition/orgs","repos_url":"https://api.github.com/users/pavelmatveevitransition/repos","events_url":"https://api.github.com/users/pavelmatveevitransition/events{/privacy}","received_events_url":"https://api.github.com/users/pavelmatveevitransition/received_events","type":"User","site_admin":false},"body":"Changes:\r\n1) Used \"request.client.client_id\" instead of the \"agprox_ui\" constant in the \"save_token\" method for storing the \"client_id\" property of the \"SecurityToken\" entity to the DB.\r\n2) Added the \"test_ui_oauth2_refresh_token\" test.\r\n\r\nHow it can be tested:\r\n1.1) `curl -X POST http://localhost:4000/oauth/token -H \"Content-Type:application/x-www-form-urlencoded; charset=UTF-8\" -d \"client_id=***&grant_type=password&username=***&password=***\"`\r\n1.2) `curl -X POST http://localhost:4000/oauth/token -H \"Content-Type:application/x-www-form-urlencoded; charset=UTF-8\" -d \"client_id=***&grant_type=refresh_token&refresh_token=***\"`\r\n2) `bin/nosetests ion.process.ui.test.test_ui_server`","created_at":"2016-03-25T10:52:18Z","updated_at":"2016-03-25T10:52:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scionrep/scioncc/pulls/20/commits","review_comments_url":"https://api.github.com/repos/scionrep/scioncc/pulls/20/comments","review_comment_url":"https://api.github.com/repos/scionrep/scioncc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scionrep/scioncc/issues/20/comments","statuses_url":"https://api.github.com/repos/scionrep/scioncc/statuses/59a5021c0962d508105124a6b808c3536c4f509a","head":{"label":"pavelmatveevitransition:AX-9_refresh_token_flow","ref":"AX-9_refresh_token_flow","sha":"59a5021c0962d508105124a6b808c3536c4f509a","user":{"login":"pavelmatveevitransition","id":13099547,"avatar_url":"https://avatars.githubusercontent.com/u/13099547?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelmatveevitransition","html_url":"https://github.com/pavelmatveevitransition","followers_url":"https://api.github.com/users/pavelmatveevitransition/followers","following_url":"https://api.github.com/users/pavelmatveevitransition/following{/other_user}","gists_url":"https://api.github.com/users/pavelmatveevitransition/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelmatveevitransition/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelmatveevitransition/subscriptions","organizations_url":"https://api.github.com/users/pavelmatveevitransition/orgs","repos_url":"https://api.github.com/users/pavelmatveevitransition/repos","events_url":"https://api.github.com/users/pavelmatveevitransition/events{/privacy}","received_events_url":"https://api.github.com/users/pavelmatveevitransition/received_events","type":"User","site_admin":false},"repo":{"id":54642437,"name":"scioncc","full_name":"pavelmatveevitransition/scioncc","owner":{"login":"pavelmatveevitransition","id":13099547,"avatar_url":"https://avatars.githubusercontent.com/u/13099547?v=3","gravatar_id":"","url":"https://api.github.com/users/pavelmatveevitransition","html_url":"https://github.com/pavelmatveevitransition","followers_url":"https://api.github.com/users/pavelmatveevitransition/followers","following_url":"https://api.github.com/users/pavelmatveevitransition/following{/other_user}","gists_url":"https://api.github.com/users/pavelmatveevitransition/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelmatveevitransition/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelmatveevitransition/subscriptions","organizations_url":"https://api.github.com/users/pavelmatveevitransition/orgs","repos_url":"https://api.github.com/users/pavelmatveevitransition/repos","events_url":"https://api.github.com/users/pavelmatveevitransition/events{/privacy}","received_events_url":"https://api.github.com/users/pavelmatveevitransition/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pavelmatveevitransition/scioncc","description":"SciON Capability Container (Python)","fork":true,"url":"https://api.github.com/repos/pavelmatveevitransition/scioncc","forks_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/forks","keys_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/teams","hooks_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/hooks","issue_events_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/issues/events{/number}","events_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/events","assignees_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/assignees{/user}","branches_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/branches{/branch}","tags_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/tags","blobs_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/git/refs{/sha}","trees_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/statuses/{sha}","languages_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/languages","stargazers_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/stargazers","contributors_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/contributors","subscribers_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/subscribers","subscription_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/subscription","commits_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/commits{/sha}","git_commits_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/git/commits{/sha}","comments_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/comments{/number}","issue_comment_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/issues/comments{/number}","contents_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/contents/{+path}","compare_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/merges","archive_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/downloads","issues_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/issues{/number}","pulls_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/pulls{/number}","milestones_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/milestones{/number}","notifications_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/labels{/name}","releases_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/releases{/id}","deployments_url":"https://api.github.com/repos/pavelmatveevitransition/scioncc/deployments","created_at":"2016-03-24T13:05:27Z","updated_at":"2016-03-24T13:05:28Z","pushed_at":"2016-03-25T10:27:21Z","git_url":"git://github.com/pavelmatveevitransition/scioncc.git","ssh_url":"git@github.com:pavelmatveevitransition/scioncc.git","clone_url":"https://github.com/pavelmatveevitransition/scioncc.git","svn_url":"https://github.com/pavelmatveevitransition/scioncc","homepage":"","size":10009,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scionrep:master","ref":"master","sha":"ad848ba3498917ece05535980840c664ca465fe6","user":{"login":"scionrep","id":8657954,"avatar_url":"https://avatars.githubusercontent.com/u/8657954?v=3","gravatar_id":"","url":"https://api.github.com/users/scionrep","html_url":"https://github.com/scionrep","followers_url":"https://api.github.com/users/scionrep/followers","following_url":"https://api.github.com/users/scionrep/following{/other_user}","gists_url":"https://api.github.com/users/scionrep/gists{/gist_id}","starred_url":"https://api.github.com/users/scionrep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scionrep/subscriptions","organizations_url":"https://api.github.com/users/scionrep/orgs","repos_url":"https://api.github.com/users/scionrep/repos","events_url":"https://api.github.com/users/scionrep/events{/privacy}","received_events_url":"https://api.github.com/users/scionrep/received_events","type":"Organization","site_admin":false},"repo":{"id":38322962,"name":"scioncc","full_name":"scionrep/scioncc","owner":{"login":"scionrep","id":8657954,"avatar_url":"https://avatars.githubusercontent.com/u/8657954?v=3","gravatar_id":"","url":"https://api.github.com/users/scionrep","html_url":"https://github.com/scionrep","followers_url":"https://api.github.com/users/scionrep/followers","following_url":"https://api.github.com/users/scionrep/following{/other_user}","gists_url":"https://api.github.com/users/scionrep/gists{/gist_id}","starred_url":"https://api.github.com/users/scionrep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scionrep/subscriptions","organizations_url":"https://api.github.com/users/scionrep/orgs","repos_url":"https://api.github.com/users/scionrep/repos","events_url":"https://api.github.com/users/scionrep/events{/privacy}","received_events_url":"https://api.github.com/users/scionrep/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scionrep/scioncc","description":"SciON Capability Container (Python)","fork":false,"url":"https://api.github.com/repos/scionrep/scioncc","forks_url":"https://api.github.com/repos/scionrep/scioncc/forks","keys_url":"https://api.github.com/repos/scionrep/scioncc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scionrep/scioncc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scionrep/scioncc/teams","hooks_url":"https://api.github.com/repos/scionrep/scioncc/hooks","issue_events_url":"https://api.github.com/repos/scionrep/scioncc/issues/events{/number}","events_url":"https://api.github.com/repos/scionrep/scioncc/events","assignees_url":"https://api.github.com/repos/scionrep/scioncc/assignees{/user}","branches_url":"https://api.github.com/repos/scionrep/scioncc/branches{/branch}","tags_url":"https://api.github.com/repos/scionrep/scioncc/tags","blobs_url":"https://api.github.com/repos/scionrep/scioncc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scionrep/scioncc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scionrep/scioncc/git/refs{/sha}","trees_url":"https://api.github.com/repos/scionrep/scioncc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scionrep/scioncc/statuses/{sha}","languages_url":"https://api.github.com/repos/scionrep/scioncc/languages","stargazers_url":"https://api.github.com/repos/scionrep/scioncc/stargazers","contributors_url":"https://api.github.com/repos/scionrep/scioncc/contributors","subscribers_url":"https://api.github.com/repos/scionrep/scioncc/subscribers","subscription_url":"https://api.github.com/repos/scionrep/scioncc/subscription","commits_url":"https://api.github.com/repos/scionrep/scioncc/commits{/sha}","git_commits_url":"https://api.github.com/repos/scionrep/scioncc/git/commits{/sha}","comments_url":"https://api.github.com/repos/scionrep/scioncc/comments{/number}","issue_comment_url":"https://api.github.com/repos/scionrep/scioncc/issues/comments{/number}","contents_url":"https://api.github.com/repos/scionrep/scioncc/contents/{+path}","compare_url":"https://api.github.com/repos/scionrep/scioncc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scionrep/scioncc/merges","archive_url":"https://api.github.com/repos/scionrep/scioncc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scionrep/scioncc/downloads","issues_url":"https://api.github.com/repos/scionrep/scioncc/issues{/number}","pulls_url":"https://api.github.com/repos/scionrep/scioncc/pulls{/number}","milestones_url":"https://api.github.com/repos/scionrep/scioncc/milestones{/number}","notifications_url":"https://api.github.com/repos/scionrep/scioncc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scionrep/scioncc/labels{/name}","releases_url":"https://api.github.com/repos/scionrep/scioncc/releases{/id}","deployments_url":"https://api.github.com/repos/scionrep/scioncc/deployments","created_at":"2015-06-30T17:24:51Z","updated_at":"2016-02-03T20:32:46Z","pushed_at":"2016-03-22T18:14:55Z","git_url":"git://github.com/scionrep/scioncc.git","ssh_url":"git@github.com:scionrep/scioncc.git","clone_url":"https://github.com/scionrep/scioncc.git","svn_url":"https://github.com/scionrep/scioncc","homepage":"","size":10014,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scionrep/scioncc/pulls/20"},"html":{"href":"https://github.com/scionrep/scioncc/pull/20"},"issue":{"href":"https://api.github.com/repos/scionrep/scioncc/issues/20"},"comments":{"href":"https://api.github.com/repos/scionrep/scioncc/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/scionrep/scioncc/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/scionrep/scioncc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scionrep/scioncc/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/scionrep/scioncc/statuses/59a5021c0962d508105124a6b808c3536c4f509a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":49,"deletions":3,"changed_files":2}}