{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/pulls/24","id":194941886,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0OTQxODg2","html_url":"https://github.com/intel/intel-device-plugins-for-kubernetes/pull/24","diff_url":"https://github.com/intel/intel-device-plugins-for-kubernetes/pull/24.diff","patch_url":"https://github.com/intel/intel-device-plugins-for-kubernetes/pull/24.patch","issue_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/issues/24","number":24,"state":"open","locked":false,"title":"fpga_plugin: refactor FPGA scans","user":{"login":"rojkov","id":33377,"node_id":"MDQ6VXNlcjMzMzc3","avatar_url":"https://avatars1.githubusercontent.com/u/33377?v=4","gravatar_id":"","url":"https://api.github.com/users/rojkov","html_url":"https://github.com/rojkov","followers_url":"https://api.github.com/users/rojkov/followers","following_url":"https://api.github.com/users/rojkov/following{/other_user}","gists_url":"https://api.github.com/users/rojkov/gists{/gist_id}","starred_url":"https://api.github.com/users/rojkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rojkov/subscriptions","organizations_url":"https://api.github.com/users/rojkov/orgs","repos_url":"https://api.github.com/users/rojkov/repos","events_url":"https://api.github.com/users/rojkov/events{/privacy}","received_events_url":"https://api.github.com/users/rojkov/received_events","type":"User","site_admin":false},"body":"This refactoring brings in device Cache running in its own\r\nthread and scanning FPGA devices once every 5 secs. Then no timers\r\nare used inside ListAndWatch() method of device managers and\r\nno need to run scanning periodically in every device manager's\r\nthread.\r\n\r\nCache generates update events and the plugin creates, updates or\r\ndeletes device managers on the fly upon receiving the events.\r\n\r\nIntroducing new modes of operations is a matter of adding a single\r\nfunction converting and filtering the content of Cache.","created_at":"2018-06-14T15:58:51Z","updated_at":"2018-06-14T15:58:51Z","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/intel/intel-device-plugins-for-kubernetes/pulls/24/commits","review_comments_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/pulls/24/comments","review_comment_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/issues/24/comments","statuses_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/statuses/98422a6b0b5897b620f367879a0c0b4e51b7955c","head":{"label":"rojkov:devicecache","ref":"devicecache","sha":"98422a6b0b5897b620f367879a0c0b4e51b7955c","user":{"login":"rojkov","id":33377,"node_id":"MDQ6VXNlcjMzMzc3","avatar_url":"https://avatars1.githubusercontent.com/u/33377?v=4","gravatar_id":"","url":"https://api.github.com/users/rojkov","html_url":"https://github.com/rojkov","followers_url":"https://api.github.com/users/rojkov/followers","following_url":"https://api.github.com/users/rojkov/following{/other_user}","gists_url":"https://api.github.com/users/rojkov/gists{/gist_id}","starred_url":"https://api.github.com/users/rojkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rojkov/subscriptions","organizations_url":"https://api.github.com/users/rojkov/orgs","repos_url":"https://api.github.com/users/rojkov/repos","events_url":"https://api.github.com/users/rojkov/events{/privacy}","received_events_url":"https://api.github.com/users/rojkov/received_events","type":"User","site_admin":false},"repo":{"id":134237248,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQyMzcyNDg=","name":"intel-device-plugins-for-kubernetes","full_name":"rojkov/intel-device-plugins-for-kubernetes","owner":{"login":"rojkov","id":33377,"node_id":"MDQ6VXNlcjMzMzc3","avatar_url":"https://avatars1.githubusercontent.com/u/33377?v=4","gravatar_id":"","url":"https://api.github.com/users/rojkov","html_url":"https://github.com/rojkov","followers_url":"https://api.github.com/users/rojkov/followers","following_url":"https://api.github.com/users/rojkov/following{/other_user}","gists_url":"https://api.github.com/users/rojkov/gists{/gist_id}","starred_url":"https://api.github.com/users/rojkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rojkov/subscriptions","organizations_url":"https://api.github.com/users/rojkov/orgs","repos_url":"https://api.github.com/users/rojkov/repos","events_url":"https://api.github.com/users/rojkov/events{/privacy}","received_events_url":"https://api.github.com/users/rojkov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rojkov/intel-device-plugins-for-kubernetes","description":"Collection of Intel device plugins for Kubernetes","fork":true,"url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes","forks_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/forks","keys_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/teams","hooks_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/hooks","issue_events_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/events","assignees_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/tags","blobs_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/languages","stargazers_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/stargazers","contributors_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/contributors","subscribers_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/subscribers","subscription_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/subscription","commits_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/merges","archive_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/downloads","issues_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/rojkov/intel-device-plugins-for-kubernetes/deployments","created_at":"2018-05-21T07:57:50Z","updated_at":"2018-05-21T07:57:52Z","pushed_at":"2018-06-14T15:56:53Z","git_url":"git://github.com/rojkov/intel-device-plugins-for-kubernetes.git","ssh_url":"git@github.com:rojkov/intel-device-plugins-for-kubernetes.git","clone_url":"https://github.com/rojkov/intel-device-plugins-for-kubernetes.git","svn_url":"https://github.com/rojkov/intel-device-plugins-for-kubernetes","homepage":"","size":5350,"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","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"intel:master","ref":"master","sha":"bbcacd8f49ac8e901e5095877df5d74ba5899b43","user":{"login":"intel","id":17888862,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3ODg4ODYy","avatar_url":"https://avatars3.githubusercontent.com/u/17888862?v=4","gravatar_id":"","url":"https://api.github.com/users/intel","html_url":"https://github.com/intel","followers_url":"https://api.github.com/users/intel/followers","following_url":"https://api.github.com/users/intel/following{/other_user}","gists_url":"https://api.github.com/users/intel/gists{/gist_id}","starred_url":"https://api.github.com/users/intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel/subscriptions","organizations_url":"https://api.github.com/users/intel/orgs","repos_url":"https://api.github.com/users/intel/repos","events_url":"https://api.github.com/users/intel/events{/privacy}","received_events_url":"https://api.github.com/users/intel/received_events","type":"Organization","site_admin":false},"repo":{"id":133428589,"node_id":"MDEwOlJlcG9zaXRvcnkxMzM0Mjg1ODk=","name":"intel-device-plugins-for-kubernetes","full_name":"intel/intel-device-plugins-for-kubernetes","owner":{"login":"intel","id":17888862,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3ODg4ODYy","avatar_url":"https://avatars3.githubusercontent.com/u/17888862?v=4","gravatar_id":"","url":"https://api.github.com/users/intel","html_url":"https://github.com/intel","followers_url":"https://api.github.com/users/intel/followers","following_url":"https://api.github.com/users/intel/following{/other_user}","gists_url":"https://api.github.com/users/intel/gists{/gist_id}","starred_url":"https://api.github.com/users/intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intel/subscriptions","organizations_url":"https://api.github.com/users/intel/orgs","repos_url":"https://api.github.com/users/intel/repos","events_url":"https://api.github.com/users/intel/events{/privacy}","received_events_url":"https://api.github.com/users/intel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/intel/intel-device-plugins-for-kubernetes","description":"Collection of Intel device plugins for Kubernetes","fork":false,"url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes","forks_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/forks","keys_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/teams","hooks_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/hooks","issue_events_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/issues/events{/number}","events_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/events","assignees_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/assignees{/user}","branches_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/branches{/branch}","tags_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/tags","blobs_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/git/refs{/sha}","trees_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/statuses/{sha}","languages_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/languages","stargazers_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/stargazers","contributors_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/contributors","subscribers_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/subscribers","subscription_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/subscription","commits_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/commits{/sha}","git_commits_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/git/commits{/sha}","comments_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/comments{/number}","issue_comment_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/issues/comments{/number}","contents_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/contents/{+path}","compare_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/merges","archive_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/downloads","issues_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/issues{/number}","pulls_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/pulls{/number}","milestones_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/milestones{/number}","notifications_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/labels{/name}","releases_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/releases{/id}","deployments_url":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/deployments","created_at":"2018-05-14T22:30:06Z","updated_at":"2018-06-11T14:42:26Z","pushed_at":"2018-06-13T15:07:50Z","git_url":"git://github.com/intel/intel-device-plugins-for-kubernetes.git","ssh_url":"git@github.com:intel/intel-device-plugins-for-kubernetes.git","clone_url":"https://github.com/intel/intel-device-plugins-for-kubernetes.git","svn_url":"https://github.com/intel/intel-device-plugins-for-kubernetes","homepage":"","size":2766,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":5,"open_issues":5,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/pulls/24"},"html":{"href":"https://github.com/intel/intel-device-plugins-for-kubernetes/pull/24"},"issue":{"href":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/issues/24"},"comments":{"href":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/intel/intel-device-plugins-for-kubernetes/statuses/98422a6b0b5897b620f367879a0c0b4e51b7955c"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":895,"deletions":490,"changed_files":4}}
{"actor":{"display_login":"rojkov"}}