{"action":"closed","number":330,"pull_request":{"url":"https://api.github.com/repos/arista-eosplus/ztpserver/pulls/330","id":46808968,"html_url":"https://github.com/arista-eosplus/ztpserver/pull/330","diff_url":"https://github.com/arista-eosplus/ztpserver/pull/330.diff","patch_url":"https://github.com/arista-eosplus/ztpserver/pull/330.patch","issue_url":"https://api.github.com/repos/arista-eosplus/ztpserver/issues/330","number":330,"state":"closed","locked":false,"title":"Master","user":{"login":"senkrish","id":14894929,"avatar_url":"https://avatars.githubusercontent.com/u/14894929?v=3","gravatar_id":"","url":"https://api.github.com/users/senkrish","html_url":"https://github.com/senkrish","followers_url":"https://api.github.com/users/senkrish/followers","following_url":"https://api.github.com/users/senkrish/following{/other_user}","gists_url":"https://api.github.com/users/senkrish/gists{/gist_id}","starred_url":"https://api.github.com/users/senkrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senkrish/subscriptions","organizations_url":"https://api.github.com/users/senkrish/orgs","repos_url":"https://api.github.com/users/senkrish/repos","events_url":"https://api.github.com/users/senkrish/events{/privacy}","received_events_url":"https://api.github.com/users/senkrish/received_events","type":"User","site_admin":false},"body":"New pull request against 'develop'. This fix brings in the change to pass the Node object to the plugins so they can generate the resources based on the Node property. This allows for optimization, for instance in the new mysql plugin, where the plugin can generate ALL the node 'variables' with one sql query, based on Node.neighbors.\r\n\r\nTesting: I have verified the changes manually, by posting GET and POST request using the urllib2 module. I ran 'make test' to make sure there's no collateral damage. Please let me know if there's any other test I need to run.\r\n\r\nI included the mysql plugin in the pull request, I'm not sure if that needs to be merged as it is mostly very specific to my needs. Please remove that file if that is not necessary to be part of the master.","created_at":"2015-10-05T17:27:06Z","updated_at":"2015-10-15T21:13:50Z","closed_at":"2015-10-15T21:13:50Z","merged_at":"2015-10-15T21:13:50Z","merge_commit_sha":"050ab70df64560a89bd0aea6b3713da97d5db765","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arista-eosplus/ztpserver/pulls/330/commits","review_comments_url":"https://api.github.com/repos/arista-eosplus/ztpserver/pulls/330/comments","review_comment_url":"https://api.github.com/repos/arista-eosplus/ztpserver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arista-eosplus/ztpserver/issues/330/comments","statuses_url":"https://api.github.com/repos/arista-eosplus/ztpserver/statuses/a374e801db388aa5ee1deadcd3c65b9630d4e3a2","head":{"label":"senkrish:master","ref":"master","sha":"a374e801db388aa5ee1deadcd3c65b9630d4e3a2","user":{"login":"senkrish","id":14894929,"avatar_url":"https://avatars.githubusercontent.com/u/14894929?v=3","gravatar_id":"","url":"https://api.github.com/users/senkrish","html_url":"https://github.com/senkrish","followers_url":"https://api.github.com/users/senkrish/followers","following_url":"https://api.github.com/users/senkrish/following{/other_user}","gists_url":"https://api.github.com/users/senkrish/gists{/gist_id}","starred_url":"https://api.github.com/users/senkrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senkrish/subscriptions","organizations_url":"https://api.github.com/users/senkrish/orgs","repos_url":"https://api.github.com/users/senkrish/repos","events_url":"https://api.github.com/users/senkrish/events{/privacy}","received_events_url":"https://api.github.com/users/senkrish/received_events","type":"User","site_admin":false},"repo":{"id":43386693,"name":"ztpserver","full_name":"senkrish/ztpserver","owner":{"login":"senkrish","id":14894929,"avatar_url":"https://avatars.githubusercontent.com/u/14894929?v=3","gravatar_id":"","url":"https://api.github.com/users/senkrish","html_url":"https://github.com/senkrish","followers_url":"https://api.github.com/users/senkrish/followers","following_url":"https://api.github.com/users/senkrish/following{/other_user}","gists_url":"https://api.github.com/users/senkrish/gists{/gist_id}","starred_url":"https://api.github.com/users/senkrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/senkrish/subscriptions","organizations_url":"https://api.github.com/users/senkrish/orgs","repos_url":"https://api.github.com/users/senkrish/repos","events_url":"https://api.github.com/users/senkrish/events{/privacy}","received_events_url":"https://api.github.com/users/senkrish/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/senkrish/ztpserver","description":"Full service ZTP Server implementation for bootstrapping Arista EOS nodes","fork":true,"url":"https://api.github.com/repos/senkrish/ztpserver","forks_url":"https://api.github.com/repos/senkrish/ztpserver/forks","keys_url":"https://api.github.com/repos/senkrish/ztpserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/senkrish/ztpserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/senkrish/ztpserver/teams","hooks_url":"https://api.github.com/repos/senkrish/ztpserver/hooks","issue_events_url":"https://api.github.com/repos/senkrish/ztpserver/issues/events{/number}","events_url":"https://api.github.com/repos/senkrish/ztpserver/events","assignees_url":"https://api.github.com/repos/senkrish/ztpserver/assignees{/user}","branches_url":"https://api.github.com/repos/senkrish/ztpserver/branches{/branch}","tags_url":"https://api.github.com/repos/senkrish/ztpserver/tags","blobs_url":"https://api.github.com/repos/senkrish/ztpserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/senkrish/ztpserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/senkrish/ztpserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/senkrish/ztpserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/senkrish/ztpserver/statuses/{sha}","languages_url":"https://api.github.com/repos/senkrish/ztpserver/languages","stargazers_url":"https://api.github.com/repos/senkrish/ztpserver/stargazers","contributors_url":"https://api.github.com/repos/senkrish/ztpserver/contributors","subscribers_url":"https://api.github.com/repos/senkrish/ztpserver/subscribers","subscription_url":"https://api.github.com/repos/senkrish/ztpserver/subscription","commits_url":"https://api.github.com/repos/senkrish/ztpserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/senkrish/ztpserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/senkrish/ztpserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/senkrish/ztpserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/senkrish/ztpserver/contents/{+path}","compare_url":"https://api.github.com/repos/senkrish/ztpserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/senkrish/ztpserver/merges","archive_url":"https://api.github.com/repos/senkrish/ztpserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/senkrish/ztpserver/downloads","issues_url":"https://api.github.com/repos/senkrish/ztpserver/issues{/number}","pulls_url":"https://api.github.com/repos/senkrish/ztpserver/pulls{/number}","milestones_url":"https://api.github.com/repos/senkrish/ztpserver/milestones{/number}","notifications_url":"https://api.github.com/repos/senkrish/ztpserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/senkrish/ztpserver/labels{/name}","releases_url":"https://api.github.com/repos/senkrish/ztpserver/releases{/id}","created_at":"2015-09-29T18:36:48Z","updated_at":"2015-09-29T18:36:49Z","pushed_at":"2015-10-14T18:39:58Z","git_url":"git://github.com/senkrish/ztpserver.git","ssh_url":"git@github.com:senkrish/ztpserver.git","clone_url":"https://github.com/senkrish/ztpserver.git","svn_url":"https://github.com/senkrish/ztpserver","homepage":null,"size":4868,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"arista-eosplus:develop","ref":"develop","sha":"062ddeca54e55dfde20e8aace3e977b07dc3a353","user":{"login":"arista-eosplus","id":6643264,"avatar_url":"https://avatars.githubusercontent.com/u/6643264?v=3","gravatar_id":"","url":"https://api.github.com/users/arista-eosplus","html_url":"https://github.com/arista-eosplus","followers_url":"https://api.github.com/users/arista-eosplus/followers","following_url":"https://api.github.com/users/arista-eosplus/following{/other_user}","gists_url":"https://api.github.com/users/arista-eosplus/gists{/gist_id}","starred_url":"https://api.github.com/users/arista-eosplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arista-eosplus/subscriptions","organizations_url":"https://api.github.com/users/arista-eosplus/orgs","repos_url":"https://api.github.com/users/arista-eosplus/repos","events_url":"https://api.github.com/users/arista-eosplus/events{/privacy}","received_events_url":"https://api.github.com/users/arista-eosplus/received_events","type":"Organization","site_admin":false},"repo":{"id":16963305,"name":"ztpserver","full_name":"arista-eosplus/ztpserver","owner":{"login":"arista-eosplus","id":6643264,"avatar_url":"https://avatars.githubusercontent.com/u/6643264?v=3","gravatar_id":"","url":"https://api.github.com/users/arista-eosplus","html_url":"https://github.com/arista-eosplus","followers_url":"https://api.github.com/users/arista-eosplus/followers","following_url":"https://api.github.com/users/arista-eosplus/following{/other_user}","gists_url":"https://api.github.com/users/arista-eosplus/gists{/gist_id}","starred_url":"https://api.github.com/users/arista-eosplus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arista-eosplus/subscriptions","organizations_url":"https://api.github.com/users/arista-eosplus/orgs","repos_url":"https://api.github.com/users/arista-eosplus/repos","events_url":"https://api.github.com/users/arista-eosplus/events{/privacy}","received_events_url":"https://api.github.com/users/arista-eosplus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/arista-eosplus/ztpserver","description":"Full service ZTP Server implementation for bootstrapping Arista EOS nodes","fork":false,"url":"https://api.github.com/repos/arista-eosplus/ztpserver","forks_url":"https://api.github.com/repos/arista-eosplus/ztpserver/forks","keys_url":"https://api.github.com/repos/arista-eosplus/ztpserver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arista-eosplus/ztpserver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arista-eosplus/ztpserver/teams","hooks_url":"https://api.github.com/repos/arista-eosplus/ztpserver/hooks","issue_events_url":"https://api.github.com/repos/arista-eosplus/ztpserver/issues/events{/number}","events_url":"https://api.github.com/repos/arista-eosplus/ztpserver/events","assignees_url":"https://api.github.com/repos/arista-eosplus/ztpserver/assignees{/user}","branches_url":"https://api.github.com/repos/arista-eosplus/ztpserver/branches{/branch}","tags_url":"https://api.github.com/repos/arista-eosplus/ztpserver/tags","blobs_url":"https://api.github.com/repos/arista-eosplus/ztpserver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arista-eosplus/ztpserver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arista-eosplus/ztpserver/git/refs{/sha}","trees_url":"https://api.github.com/repos/arista-eosplus/ztpserver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arista-eosplus/ztpserver/statuses/{sha}","languages_url":"https://api.github.com/repos/arista-eosplus/ztpserver/languages","stargazers_url":"https://api.github.com/repos/arista-eosplus/ztpserver/stargazers","contributors_url":"https://api.github.com/repos/arista-eosplus/ztpserver/contributors","subscribers_url":"https://api.github.com/repos/arista-eosplus/ztpserver/subscribers","subscription_url":"https://api.github.com/repos/arista-eosplus/ztpserver/subscription","commits_url":"https://api.github.com/repos/arista-eosplus/ztpserver/commits{/sha}","git_commits_url":"https://api.github.com/repos/arista-eosplus/ztpserver/git/commits{/sha}","comments_url":"https://api.github.com/repos/arista-eosplus/ztpserver/comments{/number}","issue_comment_url":"https://api.github.com/repos/arista-eosplus/ztpserver/issues/comments{/number}","contents_url":"https://api.github.com/repos/arista-eosplus/ztpserver/contents/{+path}","compare_url":"https://api.github.com/repos/arista-eosplus/ztpserver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arista-eosplus/ztpserver/merges","archive_url":"https://api.github.com/repos/arista-eosplus/ztpserver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arista-eosplus/ztpserver/downloads","issues_url":"https://api.github.com/repos/arista-eosplus/ztpserver/issues{/number}","pulls_url":"https://api.github.com/repos/arista-eosplus/ztpserver/pulls{/number}","milestones_url":"https://api.github.com/repos/arista-eosplus/ztpserver/milestones{/number}","notifications_url":"https://api.github.com/repos/arista-eosplus/ztpserver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arista-eosplus/ztpserver/labels{/name}","releases_url":"https://api.github.com/repos/arista-eosplus/ztpserver/releases{/id}","created_at":"2014-02-18T20:51:54Z","updated_at":"2015-09-08T21:03:00Z","pushed_at":"2015-10-15T21:13:50Z","git_url":"git://github.com/arista-eosplus/ztpserver.git","ssh_url":"git@github.com:arista-eosplus/ztpserver.git","clone_url":"https://github.com/arista-eosplus/ztpserver.git","svn_url":"https://github.com/arista-eosplus/ztpserver","homepage":null,"size":7390,"stargazers_count":30,"watchers_count":30,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"open_issues_count":38,"forks":15,"open_issues":38,"watchers":30,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/arista-eosplus/ztpserver/pulls/330"},"html":{"href":"https://github.com/arista-eosplus/ztpserver/pull/330"},"issue":{"href":"https://api.github.com/repos/arista-eosplus/ztpserver/issues/330"},"comments":{"href":"https://api.github.com/repos/arista-eosplus/ztpserver/issues/330/comments"},"review_comments":{"href":"https://api.github.com/repos/arista-eosplus/ztpserver/pulls/330/comments"},"review_comment":{"href":"https://api.github.com/repos/arista-eosplus/ztpserver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arista-eosplus/ztpserver/pulls/330/commits"},"statuses":{"href":"https://api.github.com/repos/arista-eosplus/ztpserver/statuses/a374e801db388aa5ee1deadcd3c65b9630d4e3a2"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"phil-arista","id":7631359,"avatar_url":"https://avatars.githubusercontent.com/u/7631359?v=3","gravatar_id":"","url":"https://api.github.com/users/phil-arista","html_url":"https://github.com/phil-arista","followers_url":"https://api.github.com/users/phil-arista/followers","following_url":"https://api.github.com/users/phil-arista/following{/other_user}","gists_url":"https://api.github.com/users/phil-arista/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-arista/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-arista/subscriptions","organizations_url":"https://api.github.com/users/phil-arista/orgs","repos_url":"https://api.github.com/users/phil-arista/repos","events_url":"https://api.github.com/users/phil-arista/events{/privacy}","received_events_url":"https://api.github.com/users/phil-arista/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"commits":6,"additions":144,"deletions":7,"changed_files":6}}