{"action":"opened","number":351,"pull_request":{"url":"https://api.github.com/repos/fabric8-services/fabric8-auth/pulls/351","id":171563506,"html_url":"https://github.com/fabric8-services/fabric8-auth/pull/351","diff_url":"https://github.com/fabric8-services/fabric8-auth/pull/351.diff","patch_url":"https://github.com/fabric8-services/fabric8-auth/pull/351.patch","issue_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/issues/351","number":351,"state":"open","locked":false,"title":"Support force_pull for /api/token when retrieving cluster tokens","user":{"login":"alexeykazakov","id":620087,"avatar_url":"https://avatars3.githubusercontent.com/u/620087?v=4","gravatar_id":"","url":"https://api.github.com/users/alexeykazakov","html_url":"https://github.com/alexeykazakov","followers_url":"https://api.github.com/users/alexeykazakov/followers","following_url":"https://api.github.com/users/alexeykazakov/following{/other_user}","gists_url":"https://api.github.com/users/alexeykazakov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeykazakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeykazakov/subscriptions","organizations_url":"https://api.github.com/users/alexeykazakov/orgs","repos_url":"https://api.github.com/users/alexeykazakov/repos","events_url":"https://api.github.com/users/alexeykazakov/events{/privacy}","received_events_url":"https://api.github.com/users/alexeykazakov/received_events","type":"User","site_admin":false},"body":"Currently we support force_pull param in /api/token?for=<oso_resource> endpoint when retrieving user OSO tokens.\r\nThis PR also adds support of the same force_pull param for cluster tokens too. Not only for user tokens.\r\nWhen force_pull=true the auth service will load the user profile using the stored dsaas user token. It will return 401 if the token is not valid and rejected by OSO.\r\n\r\nRequired for https://github.com/openshiftio/openshift.io/issues/2304\r\n","created_at":"2018-02-27T04:53:26Z","updated_at":"2018-02-27T04:53:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/pulls/351/commits","review_comments_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/pulls/351/comments","review_comment_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/issues/351/comments","statuses_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/statuses/68155d3351a929bc5f13c8d97dacf21712ebd45e","head":{"label":"alexeykazakov:forcePull","ref":"forcePull","sha":"68155d3351a929bc5f13c8d97dacf21712ebd45e","user":{"login":"alexeykazakov","id":620087,"avatar_url":"https://avatars3.githubusercontent.com/u/620087?v=4","gravatar_id":"","url":"https://api.github.com/users/alexeykazakov","html_url":"https://github.com/alexeykazakov","followers_url":"https://api.github.com/users/alexeykazakov/followers","following_url":"https://api.github.com/users/alexeykazakov/following{/other_user}","gists_url":"https://api.github.com/users/alexeykazakov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeykazakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeykazakov/subscriptions","organizations_url":"https://api.github.com/users/alexeykazakov/orgs","repos_url":"https://api.github.com/users/alexeykazakov/repos","events_url":"https://api.github.com/users/alexeykazakov/events{/privacy}","received_events_url":"https://api.github.com/users/alexeykazakov/received_events","type":"User","site_admin":false},"repo":{"id":96838469,"name":"fabric8-auth","full_name":"alexeykazakov/fabric8-auth","owner":{"login":"alexeykazakov","id":620087,"avatar_url":"https://avatars3.githubusercontent.com/u/620087?v=4","gravatar_id":"","url":"https://api.github.com/users/alexeykazakov","html_url":"https://github.com/alexeykazakov","followers_url":"https://api.github.com/users/alexeykazakov/followers","following_url":"https://api.github.com/users/alexeykazakov/following{/other_user}","gists_url":"https://api.github.com/users/alexeykazakov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexeykazakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexeykazakov/subscriptions","organizations_url":"https://api.github.com/users/alexeykazakov/orgs","repos_url":"https://api.github.com/users/alexeykazakov/repos","events_url":"https://api.github.com/users/alexeykazakov/events{/privacy}","received_events_url":"https://api.github.com/users/alexeykazakov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexeykazakov/fabric8-auth","description":null,"fork":true,"url":"https://api.github.com/repos/alexeykazakov/fabric8-auth","forks_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/forks","keys_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/teams","hooks_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/hooks","issue_events_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/issues/events{/number}","events_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/events","assignees_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/assignees{/user}","branches_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/branches{/branch}","tags_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/tags","blobs_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/statuses/{sha}","languages_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/languages","stargazers_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/stargazers","contributors_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/contributors","subscribers_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/subscribers","subscription_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/subscription","commits_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/contents/{+path}","compare_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/merges","archive_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/downloads","issues_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/issues{/number}","pulls_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/pulls{/number}","milestones_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/milestones{/number}","notifications_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/labels{/name}","releases_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/releases{/id}","deployments_url":"https://api.github.com/repos/alexeykazakov/fabric8-auth/deployments","created_at":"2017-07-11T01:48:26Z","updated_at":"2017-07-11T01:49:24Z","pushed_at":"2018-02-27T04:46:21Z","git_url":"git://github.com/alexeykazakov/fabric8-auth.git","ssh_url":"git@github.com:alexeykazakov/fabric8-auth.git","clone_url":"https://github.com/alexeykazakov/fabric8-auth.git","svn_url":"https://github.com/alexeykazakov/fabric8-auth","homepage":null,"size":5308,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fabric8-services:master","ref":"master","sha":"01b01ca63beb06b917e7a3870fb5610c1b86071d","user":{"login":"fabric8-services","id":29751612,"avatar_url":"https://avatars1.githubusercontent.com/u/29751612?v=4","gravatar_id":"","url":"https://api.github.com/users/fabric8-services","html_url":"https://github.com/fabric8-services","followers_url":"https://api.github.com/users/fabric8-services/followers","following_url":"https://api.github.com/users/fabric8-services/following{/other_user}","gists_url":"https://api.github.com/users/fabric8-services/gists{/gist_id}","starred_url":"https://api.github.com/users/fabric8-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabric8-services/subscriptions","organizations_url":"https://api.github.com/users/fabric8-services/orgs","repos_url":"https://api.github.com/users/fabric8-services/repos","events_url":"https://api.github.com/users/fabric8-services/events{/privacy}","received_events_url":"https://api.github.com/users/fabric8-services/received_events","type":"Organization","site_admin":false},"repo":{"id":96831576,"name":"fabric8-auth","full_name":"fabric8-services/fabric8-auth","owner":{"login":"fabric8-services","id":29751612,"avatar_url":"https://avatars1.githubusercontent.com/u/29751612?v=4","gravatar_id":"","url":"https://api.github.com/users/fabric8-services","html_url":"https://github.com/fabric8-services","followers_url":"https://api.github.com/users/fabric8-services/followers","following_url":"https://api.github.com/users/fabric8-services/following{/other_user}","gists_url":"https://api.github.com/users/fabric8-services/gists{/gist_id}","starred_url":"https://api.github.com/users/fabric8-services/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabric8-services/subscriptions","organizations_url":"https://api.github.com/users/fabric8-services/orgs","repos_url":"https://api.github.com/users/fabric8-services/repos","events_url":"https://api.github.com/users/fabric8-services/events{/privacy}","received_events_url":"https://api.github.com/users/fabric8-services/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fabric8-services/fabric8-auth","description":"Identity and Access Management for fabric8 services","fork":false,"url":"https://api.github.com/repos/fabric8-services/fabric8-auth","forks_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/forks","keys_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/teams","hooks_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/hooks","issue_events_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/issues/events{/number}","events_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/events","assignees_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/assignees{/user}","branches_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/branches{/branch}","tags_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/tags","blobs_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/statuses/{sha}","languages_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/languages","stargazers_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/stargazers","contributors_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/contributors","subscribers_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/subscribers","subscription_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/subscription","commits_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/contents/{+path}","compare_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/merges","archive_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/downloads","issues_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/issues{/number}","pulls_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/pulls{/number}","milestones_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/milestones{/number}","notifications_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/labels{/name}","releases_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/releases{/id}","deployments_url":"https://api.github.com/repos/fabric8-services/fabric8-auth/deployments","created_at":"2017-07-10T23:57:55Z","updated_at":"2018-01-24T07:41:43Z","pushed_at":"2018-02-26T15:06:22Z","git_url":"git://github.com/fabric8-services/fabric8-auth.git","ssh_url":"git@github.com:fabric8-services/fabric8-auth.git","clone_url":"https://github.com/fabric8-services/fabric8-auth.git","svn_url":"https://github.com/fabric8-services/fabric8-auth","homepage":"","size":5235,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":46,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":16,"open_issues":46,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fabric8-services/fabric8-auth/pulls/351"},"html":{"href":"https://github.com/fabric8-services/fabric8-auth/pull/351"},"issue":{"href":"https://api.github.com/repos/fabric8-services/fabric8-auth/issues/351"},"comments":{"href":"https://api.github.com/repos/fabric8-services/fabric8-auth/issues/351/comments"},"review_comments":{"href":"https://api.github.com/repos/fabric8-services/fabric8-auth/pulls/351/comments"},"review_comment":{"href":"https://api.github.com/repos/fabric8-services/fabric8-auth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fabric8-services/fabric8-auth/pulls/351/commits"},"statuses":{"href":"https://api.github.com/repos/fabric8-services/fabric8-auth/statuses/68155d3351a929bc5f13c8d97dacf21712ebd45e"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":117,"deletions":17,"changed_files":5}}
{"actor":{"display_login":"alexeykazakov"}}