{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/test-infra/pulls/comments/145343755","pull_request_review_id":70127760,"id":145343755,"diff_hunk":"@@ -131,14 +131,32 @@ type PluginAgent struct {\n // target for plugin Configuration\n type Configuration struct {\n \t// Repo (eg \"k/k\") -> list of handler names.\n-\tPlugins         map[string][]string `json:\"plugins,omitempty\"`\n-\tTriggers        []Trigger           `json:\"triggers,omitempty\"`\n-\tHeart           Heart               `json:\"heart,omitempty\"`\n-\tMilestoneStatus MilestoneStatus     `json:\"milestonestatus,omitempty\"`\n-\tSlack           Slack               `json:\"slack,omitempty\"`\n-\t// ConfigUpdater holds config for the config-updater plugin.\n-\tConfigUpdater ConfigUpdater `json:\"config_updater,omitempty\"`\n-\tBlockades     []Blockade    `json:\"blockades,omitempty\"`\n+\tPlugins map[string][]string `json:\"plugins,omitempty\"`\n+\n+\t// ExternalPlugins is a list of external plugin names mapped\n+\t// to Kubernetes Service names.\n+\tExternalPlugins []ExternalPlugin `json:\"external_plugins\"`","path":"prow/plugins/plugins.go","position":16,"original_position":16,"commit_id":"d0519fb9a6bf40c78518fe9429cfd38da74409af","original_commit_id":"d0519fb9a6bf40c78518fe9429cfd38da74409af","user":{"login":"kargakis","id":3900799,"avatar_url":"https://avatars3.githubusercontent.com/u/3900799?v=4","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},"body":"Sounds good. Solves my concern about mapping these plugins to repos. ","created_at":"2017-10-18T08:16:35Z","updated_at":"2017-10-18T08:16:35Z","html_url":"https://github.com/kubernetes/test-infra/pull/5034#discussion_r145343755","pull_request_url":"https://api.github.com/repos/kubernetes/test-infra/pulls/5034","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/comments/145343755"},"html":{"href":"https://github.com/kubernetes/test-infra/pull/5034#discussion_r145343755"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/5034"}},"in_reply_to_id":145272821},"pull_request":{"url":"https://api.github.com/repos/kubernetes/test-infra/pulls/5034","id":147022348,"html_url":"https://github.com/kubernetes/test-infra/pull/5034","diff_url":"https://github.com/kubernetes/test-infra/pull/5034.diff","patch_url":"https://github.com/kubernetes/test-infra/pull/5034.patch","issue_url":"https://api.github.com/repos/kubernetes/test-infra/issues/5034","number":5034,"state":"open","locked":false,"title":"Add external plugin API in hook","user":{"login":"kargakis","id":3900799,"avatar_url":"https://avatars3.githubusercontent.com/u/3900799?v=4","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},"body":"Fixes https://github.com/kubernetes/test-infra/issues/3339","created_at":"2017-10-17T12:19:34Z","updated_at":"2017-10-18T08:16:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fe68090126442deb473d145d03072977830d4a1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/test-infra/pulls/5034/commits","review_comments_url":"https://api.github.com/repos/kubernetes/test-infra/pulls/5034/comments","review_comment_url":"https://api.github.com/repos/kubernetes/test-infra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/test-infra/issues/5034/comments","statuses_url":"https://api.github.com/repos/kubernetes/test-infra/statuses/d0519fb9a6bf40c78518fe9429cfd38da74409af","head":{"label":"kargakis:extensible-hook","ref":"extensible-hook","sha":"d0519fb9a6bf40c78518fe9429cfd38da74409af","user":{"login":"kargakis","id":3900799,"avatar_url":"https://avatars3.githubusercontent.com/u/3900799?v=4","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},"repo":{"id":82910563,"name":"test-infra","full_name":"kargakis/test-infra","owner":{"login":"kargakis","id":3900799,"avatar_url":"https://avatars3.githubusercontent.com/u/3900799?v=4","gravatar_id":"","url":"https://api.github.com/users/kargakis","html_url":"https://github.com/kargakis","followers_url":"https://api.github.com/users/kargakis/followers","following_url":"https://api.github.com/users/kargakis/following{/other_user}","gists_url":"https://api.github.com/users/kargakis/gists{/gist_id}","starred_url":"https://api.github.com/users/kargakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kargakis/subscriptions","organizations_url":"https://api.github.com/users/kargakis/orgs","repos_url":"https://api.github.com/users/kargakis/repos","events_url":"https://api.github.com/users/kargakis/events{/privacy}","received_events_url":"https://api.github.com/users/kargakis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kargakis/test-infra","description":"Test infrastructure for the Kubernetes project.","fork":true,"url":"https://api.github.com/repos/kargakis/test-infra","forks_url":"https://api.github.com/repos/kargakis/test-infra/forks","keys_url":"https://api.github.com/repos/kargakis/test-infra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kargakis/test-infra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kargakis/test-infra/teams","hooks_url":"https://api.github.com/repos/kargakis/test-infra/hooks","issue_events_url":"https://api.github.com/repos/kargakis/test-infra/issues/events{/number}","events_url":"https://api.github.com/repos/kargakis/test-infra/events","assignees_url":"https://api.github.com/repos/kargakis/test-infra/assignees{/user}","branches_url":"https://api.github.com/repos/kargakis/test-infra/branches{/branch}","tags_url":"https://api.github.com/repos/kargakis/test-infra/tags","blobs_url":"https://api.github.com/repos/kargakis/test-infra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kargakis/test-infra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kargakis/test-infra/git/refs{/sha}","trees_url":"https://api.github.com/repos/kargakis/test-infra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kargakis/test-infra/statuses/{sha}","languages_url":"https://api.github.com/repos/kargakis/test-infra/languages","stargazers_url":"https://api.github.com/repos/kargakis/test-infra/stargazers","contributors_url":"https://api.github.com/repos/kargakis/test-infra/contributors","subscribers_url":"https://api.github.com/repos/kargakis/test-infra/subscribers","subscription_url":"https://api.github.com/repos/kargakis/test-infra/subscription","commits_url":"https://api.github.com/repos/kargakis/test-infra/commits{/sha}","git_commits_url":"https://api.github.com/repos/kargakis/test-infra/git/commits{/sha}","comments_url":"https://api.github.com/repos/kargakis/test-infra/comments{/number}","issue_comment_url":"https://api.github.com/repos/kargakis/test-infra/issues/comments{/number}","contents_url":"https://api.github.com/repos/kargakis/test-infra/contents/{+path}","compare_url":"https://api.github.com/repos/kargakis/test-infra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kargakis/test-infra/merges","archive_url":"https://api.github.com/repos/kargakis/test-infra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kargakis/test-infra/downloads","issues_url":"https://api.github.com/repos/kargakis/test-infra/issues{/number}","pulls_url":"https://api.github.com/repos/kargakis/test-infra/pulls{/number}","milestones_url":"https://api.github.com/repos/kargakis/test-infra/milestones{/number}","notifications_url":"https://api.github.com/repos/kargakis/test-infra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kargakis/test-infra/labels{/name}","releases_url":"https://api.github.com/repos/kargakis/test-infra/releases{/id}","deployments_url":"https://api.github.com/repos/kargakis/test-infra/deployments","created_at":"2017-02-23T09:32:50Z","updated_at":"2017-02-23T09:32:53Z","pushed_at":"2017-10-17T16:47:12Z","git_url":"git://github.com/kargakis/test-infra.git","ssh_url":"git@github.com:kargakis/test-infra.git","clone_url":"https://github.com/kargakis/test-infra.git","svn_url":"https://github.com/kargakis/test-infra","homepage":null,"size":27877,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"kubernetes:master","ref":"master","sha":"923c0b0f47b6cf261080c90368a1ba5355033a9e","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":57333709,"name":"test-infra","full_name":"kubernetes/test-infra","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars2.githubusercontent.com/u/13629408?v=4","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/test-infra","description":"Test infrastructure for the Kubernetes project.","fork":false,"url":"https://api.github.com/repos/kubernetes/test-infra","forks_url":"https://api.github.com/repos/kubernetes/test-infra/forks","keys_url":"https://api.github.com/repos/kubernetes/test-infra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/test-infra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/test-infra/teams","hooks_url":"https://api.github.com/repos/kubernetes/test-infra/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/test-infra/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/test-infra/events","assignees_url":"https://api.github.com/repos/kubernetes/test-infra/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/test-infra/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/test-infra/tags","blobs_url":"https://api.github.com/repos/kubernetes/test-infra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/test-infra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/test-infra/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/test-infra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/test-infra/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/test-infra/languages","stargazers_url":"https://api.github.com/repos/kubernetes/test-infra/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/test-infra/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/test-infra/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/test-infra/subscription","commits_url":"https://api.github.com/repos/kubernetes/test-infra/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/test-infra/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/test-infra/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/test-infra/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/test-infra/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/test-infra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/test-infra/merges","archive_url":"https://api.github.com/repos/kubernetes/test-infra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/test-infra/downloads","issues_url":"https://api.github.com/repos/kubernetes/test-infra/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/test-infra/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/test-infra/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/test-infra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/test-infra/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/test-infra/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/test-infra/deployments","created_at":"2016-04-28T21:05:35Z","updated_at":"2017-10-11T06:13:36Z","pushed_at":"2017-10-18T04:03:04Z","git_url":"git://github.com/kubernetes/test-infra.git","ssh_url":"git@github.com:kubernetes/test-infra.git","clone_url":"https://github.com/kubernetes/test-infra.git","svn_url":"https://github.com/kubernetes/test-infra","homepage":null,"size":28642,"stargazers_count":150,"watchers_count":150,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":236,"mirror_url":null,"open_issues_count":301,"forks":236,"open_issues":301,"watchers":150,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/5034"},"html":{"href":"https://github.com/kubernetes/test-infra/pull/5034"},"issue":{"href":"https://api.github.com/repos/kubernetes/test-infra/issues/5034"},"comments":{"href":"https://api.github.com/repos/kubernetes/test-infra/issues/5034/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/5034/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/5034/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/test-infra/statuses/d0519fb9a6bf40c78518fe9429cfd38da74409af"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"kargakis"}}