{"action":"created","comment":{"url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/comments/170986343","pull_request_review_id":99759923,"id":170986343,"diff_hunk":"@@ -20,13 +18,14 @@\n     var: keycloak_auth_response\n     verbosity: 2\n \n--\n-  name: delete client {{ _apb_bind_creds.resource }} in realm {{ namespace }}\n+- set_fact: KEYCLOAK_REALM={{ _apb_bind_creds.bearer_installation.realm}}","path":"roles/unbind-keycloak-apb/tasks/main.yml","position":22,"original_position":22,"commit_id":"4dfcc83c3242dc623a622d8ca6806599a765dd38","original_commit_id":"4dfcc83c3242dc623a622d8ca6806599a765dd38","user":{"login":"JameelB","id":9078522,"avatar_url":"https://avatars2.githubusercontent.com/u/9078522?v=4","gravatar_id":"","url":"https://api.github.com/users/JameelB","html_url":"https://github.com/JameelB","followers_url":"https://api.github.com/users/JameelB/followers","following_url":"https://api.github.com/users/JameelB/following{/other_user}","gists_url":"https://api.github.com/users/JameelB/gists{/gist_id}","starred_url":"https://api.github.com/users/JameelB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JameelB/subscriptions","organizations_url":"https://api.github.com/users/JameelB/orgs","repos_url":"https://api.github.com/users/JameelB/repos","events_url":"https://api.github.com/users/JameelB/events{/privacy}","received_events_url":"https://api.github.com/users/JameelB/received_events","type":"User","site_admin":false},"body":"The `_apb_bind_creds` is the secret created when you do a bind. ","created_at":"2018-02-27T16:40:06Z","updated_at":"2018-02-27T16:40:07Z","html_url":"https://github.com/aerogearcatalog/keycloak-apb/pull/53#discussion_r170986343","pull_request_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/53","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/comments/170986343"},"html":{"href":"https://github.com/aerogearcatalog/keycloak-apb/pull/53#discussion_r170986343"},"pull_request":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/53"}},"in_reply_to_id":170959577},"pull_request":{"url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/53","id":171646026,"html_url":"https://github.com/aerogearcatalog/keycloak-apb/pull/53","diff_url":"https://github.com/aerogearcatalog/keycloak-apb/pull/53.diff","patch_url":"https://github.com/aerogearcatalog/keycloak-apb/pull/53.patch","issue_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/issues/53","number":53,"state":"open","locked":false,"title":"[WIP] [AEROGEAR-1996] Update unbind playbook to deconfigure when shared","user":{"login":"JameelB","id":9078522,"avatar_url":"https://avatars2.githubusercontent.com/u/9078522?v=4","gravatar_id":"","url":"https://api.github.com/users/JameelB","html_url":"https://github.com/JameelB","followers_url":"https://api.github.com/users/JameelB/followers","following_url":"https://api.github.com/users/JameelB/following{/other_user}","gists_url":"https://api.github.com/users/JameelB/gists{/gist_id}","starred_url":"https://api.github.com/users/JameelB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JameelB/subscriptions","organizations_url":"https://api.github.com/users/JameelB/orgs","repos_url":"https://api.github.com/users/JameelB/repos","events_url":"https://api.github.com/users/JameelB/events{/privacy}","received_events_url":"https://api.github.com/users/JameelB/received_events","type":"User","site_admin":false},"body":"## Description\r\nOn unbind, it should connect to the remote keycloak server. It should remove the client bearer from the realm and the resource should be deleted in the local namespace.\r\n\r\n## Related Notes\r\nThis PR is dependent on the changes from https://github.com/aerogearcatalog/keycloak-apb/pull/49\r\nRelated JIRA - https://issues.jboss.org/browse/AEROGEAR-1996\r\n\r\n## Test Cases\r\n- Ensure that the client bearer is deleted from the Keycloak realm it was created in.\r\n- Ensure that the resource from the local namespace is removed.\r\n- Ensure that you can create another client bearer with the same name within the same Keycloak realm once removed.","created_at":"2018-02-27T12:18:54Z","updated_at":"2018-02-27T16:40:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a470c77e6724bff085a18007ec53f599c1a6f1f7","assignee":null,"assignees":[],"requested_reviewers":[{"login":"maleck13","id":304628,"avatar_url":"https://avatars2.githubusercontent.com/u/304628?v=4","gravatar_id":"","url":"https://api.github.com/users/maleck13","html_url":"https://github.com/maleck13","followers_url":"https://api.github.com/users/maleck13/followers","following_url":"https://api.github.com/users/maleck13/following{/other_user}","gists_url":"https://api.github.com/users/maleck13/gists{/gist_id}","starred_url":"https://api.github.com/users/maleck13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maleck13/subscriptions","organizations_url":"https://api.github.com/users/maleck13/orgs","repos_url":"https://api.github.com/users/maleck13/repos","events_url":"https://api.github.com/users/maleck13/events{/privacy}","received_events_url":"https://api.github.com/users/maleck13/received_events","type":"User","site_admin":false},{"login":"philbrookes","id":1033452,"avatar_url":"https://avatars1.githubusercontent.com/u/1033452?v=4","gravatar_id":"","url":"https://api.github.com/users/philbrookes","html_url":"https://github.com/philbrookes","followers_url":"https://api.github.com/users/philbrookes/followers","following_url":"https://api.github.com/users/philbrookes/following{/other_user}","gists_url":"https://api.github.com/users/philbrookes/gists{/gist_id}","starred_url":"https://api.github.com/users/philbrookes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philbrookes/subscriptions","organizations_url":"https://api.github.com/users/philbrookes/orgs","repos_url":"https://api.github.com/users/philbrookes/repos","events_url":"https://api.github.com/users/philbrookes/events{/privacy}","received_events_url":"https://api.github.com/users/philbrookes/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/53/commits","review_comments_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/53/comments","review_comment_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/issues/53/comments","statuses_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/statuses/4dfcc83c3242dc623a622d8ca6806599a765dd38","head":{"label":"JameelB:AEROGEAR-1996","ref":"AEROGEAR-1996","sha":"4dfcc83c3242dc623a622d8ca6806599a765dd38","user":{"login":"JameelB","id":9078522,"avatar_url":"https://avatars2.githubusercontent.com/u/9078522?v=4","gravatar_id":"","url":"https://api.github.com/users/JameelB","html_url":"https://github.com/JameelB","followers_url":"https://api.github.com/users/JameelB/followers","following_url":"https://api.github.com/users/JameelB/following{/other_user}","gists_url":"https://api.github.com/users/JameelB/gists{/gist_id}","starred_url":"https://api.github.com/users/JameelB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JameelB/subscriptions","organizations_url":"https://api.github.com/users/JameelB/orgs","repos_url":"https://api.github.com/users/JameelB/repos","events_url":"https://api.github.com/users/JameelB/events{/privacy}","received_events_url":"https://api.github.com/users/JameelB/received_events","type":"User","site_admin":false},"repo":{"id":122084889,"name":"keycloak-apb","full_name":"JameelB/keycloak-apb","owner":{"login":"JameelB","id":9078522,"avatar_url":"https://avatars2.githubusercontent.com/u/9078522?v=4","gravatar_id":"","url":"https://api.github.com/users/JameelB","html_url":"https://github.com/JameelB","followers_url":"https://api.github.com/users/JameelB/followers","following_url":"https://api.github.com/users/JameelB/following{/other_user}","gists_url":"https://api.github.com/users/JameelB/gists{/gist_id}","starred_url":"https://api.github.com/users/JameelB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JameelB/subscriptions","organizations_url":"https://api.github.com/users/JameelB/orgs","repos_url":"https://api.github.com/users/JameelB/repos","events_url":"https://api.github.com/users/JameelB/events{/privacy}","received_events_url":"https://api.github.com/users/JameelB/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JameelB/keycloak-apb","description":null,"fork":true,"url":"https://api.github.com/repos/JameelB/keycloak-apb","forks_url":"https://api.github.com/repos/JameelB/keycloak-apb/forks","keys_url":"https://api.github.com/repos/JameelB/keycloak-apb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JameelB/keycloak-apb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JameelB/keycloak-apb/teams","hooks_url":"https://api.github.com/repos/JameelB/keycloak-apb/hooks","issue_events_url":"https://api.github.com/repos/JameelB/keycloak-apb/issues/events{/number}","events_url":"https://api.github.com/repos/JameelB/keycloak-apb/events","assignees_url":"https://api.github.com/repos/JameelB/keycloak-apb/assignees{/user}","branches_url":"https://api.github.com/repos/JameelB/keycloak-apb/branches{/branch}","tags_url":"https://api.github.com/repos/JameelB/keycloak-apb/tags","blobs_url":"https://api.github.com/repos/JameelB/keycloak-apb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JameelB/keycloak-apb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JameelB/keycloak-apb/git/refs{/sha}","trees_url":"https://api.github.com/repos/JameelB/keycloak-apb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JameelB/keycloak-apb/statuses/{sha}","languages_url":"https://api.github.com/repos/JameelB/keycloak-apb/languages","stargazers_url":"https://api.github.com/repos/JameelB/keycloak-apb/stargazers","contributors_url":"https://api.github.com/repos/JameelB/keycloak-apb/contributors","subscribers_url":"https://api.github.com/repos/JameelB/keycloak-apb/subscribers","subscription_url":"https://api.github.com/repos/JameelB/keycloak-apb/subscription","commits_url":"https://api.github.com/repos/JameelB/keycloak-apb/commits{/sha}","git_commits_url":"https://api.github.com/repos/JameelB/keycloak-apb/git/commits{/sha}","comments_url":"https://api.github.com/repos/JameelB/keycloak-apb/comments{/number}","issue_comment_url":"https://api.github.com/repos/JameelB/keycloak-apb/issues/comments{/number}","contents_url":"https://api.github.com/repos/JameelB/keycloak-apb/contents/{+path}","compare_url":"https://api.github.com/repos/JameelB/keycloak-apb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JameelB/keycloak-apb/merges","archive_url":"https://api.github.com/repos/JameelB/keycloak-apb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JameelB/keycloak-apb/downloads","issues_url":"https://api.github.com/repos/JameelB/keycloak-apb/issues{/number}","pulls_url":"https://api.github.com/repos/JameelB/keycloak-apb/pulls{/number}","milestones_url":"https://api.github.com/repos/JameelB/keycloak-apb/milestones{/number}","notifications_url":"https://api.github.com/repos/JameelB/keycloak-apb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JameelB/keycloak-apb/labels{/name}","releases_url":"https://api.github.com/repos/JameelB/keycloak-apb/releases{/id}","deployments_url":"https://api.github.com/repos/JameelB/keycloak-apb/deployments","created_at":"2018-02-19T15:52:36Z","updated_at":"2018-02-19T15:52:37Z","pushed_at":"2018-02-27T12:10:20Z","git_url":"git://github.com/JameelB/keycloak-apb.git","ssh_url":"git@github.com:JameelB/keycloak-apb.git","clone_url":"https://github.com/JameelB/keycloak-apb.git","svn_url":"https://github.com/JameelB/keycloak-apb","homepage":null,"size":251,"stargazers_count":0,"watchers_count":0,"language":"Makefile","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"aerogearcatalog:master","ref":"master","sha":"1628969fea4578e216825f1072c5665a4f6a4d85","user":{"login":"aerogearcatalog","id":34546838,"avatar_url":"https://avatars1.githubusercontent.com/u/34546838?v=4","gravatar_id":"","url":"https://api.github.com/users/aerogearcatalog","html_url":"https://github.com/aerogearcatalog","followers_url":"https://api.github.com/users/aerogearcatalog/followers","following_url":"https://api.github.com/users/aerogearcatalog/following{/other_user}","gists_url":"https://api.github.com/users/aerogearcatalog/gists{/gist_id}","starred_url":"https://api.github.com/users/aerogearcatalog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerogearcatalog/subscriptions","organizations_url":"https://api.github.com/users/aerogearcatalog/orgs","repos_url":"https://api.github.com/users/aerogearcatalog/repos","events_url":"https://api.github.com/users/aerogearcatalog/events{/privacy}","received_events_url":"https://api.github.com/users/aerogearcatalog/received_events","type":"Organization","site_admin":false},"repo":{"id":114350045,"name":"keycloak-apb","full_name":"aerogearcatalog/keycloak-apb","owner":{"login":"aerogearcatalog","id":34546838,"avatar_url":"https://avatars1.githubusercontent.com/u/34546838?v=4","gravatar_id":"","url":"https://api.github.com/users/aerogearcatalog","html_url":"https://github.com/aerogearcatalog","followers_url":"https://api.github.com/users/aerogearcatalog/followers","following_url":"https://api.github.com/users/aerogearcatalog/following{/other_user}","gists_url":"https://api.github.com/users/aerogearcatalog/gists{/gist_id}","starred_url":"https://api.github.com/users/aerogearcatalog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerogearcatalog/subscriptions","organizations_url":"https://api.github.com/users/aerogearcatalog/orgs","repos_url":"https://api.github.com/users/aerogearcatalog/repos","events_url":"https://api.github.com/users/aerogearcatalog/events{/privacy}","received_events_url":"https://api.github.com/users/aerogearcatalog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aerogearcatalog/keycloak-apb","description":null,"fork":false,"url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb","forks_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/forks","keys_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/teams","hooks_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/hooks","issue_events_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/issues/events{/number}","events_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/events","assignees_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/assignees{/user}","branches_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/branches{/branch}","tags_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/tags","blobs_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/git/refs{/sha}","trees_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/statuses/{sha}","languages_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/languages","stargazers_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/stargazers","contributors_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/contributors","subscribers_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/subscribers","subscription_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/subscription","commits_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/commits{/sha}","git_commits_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/git/commits{/sha}","comments_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/comments{/number}","issue_comment_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/issues/comments{/number}","contents_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/contents/{+path}","compare_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/merges","archive_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/downloads","issues_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/issues{/number}","pulls_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls{/number}","milestones_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/milestones{/number}","notifications_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/labels{/name}","releases_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/releases{/id}","deployments_url":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/deployments","created_at":"2017-12-15T09:04:08Z","updated_at":"2018-01-30T16:54:24Z","pushed_at":"2018-02-27T12:18:55Z","git_url":"git://github.com/aerogearcatalog/keycloak-apb.git","ssh_url":"git@github.com:aerogearcatalog/keycloak-apb.git","clone_url":"https://github.com/aerogearcatalog/keycloak-apb.git","svn_url":"https://github.com/aerogearcatalog/keycloak-apb","homepage":null,"size":244,"stargazers_count":1,"watchers_count":1,"language":"Makefile","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":10,"license":null,"forks":16,"open_issues":10,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/53"},"html":{"href":"https://github.com/aerogearcatalog/keycloak-apb/pull/53"},"issue":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/issues/53"},"comments":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/aerogearcatalog/keycloak-apb/statuses/4dfcc83c3242dc623a622d8ca6806599a765dd38"}},"author_association":"NONE"}}
{"actor":{"display_login":"JameelB"}}