{"action":"opened","number":115,"pull_request":{"url":"https://api.github.com/repos/WDR/WDR/pulls/115","id":38562509,"html_url":"https://github.com/WDR/WDR/pull/115","diff_url":"https://github.com/WDR/WDR/pull/115.diff","patch_url":"https://github.com/WDR/WDR/pull/115.patch","issue_url":"https://api.github.com/repos/WDR/WDR/issues/115","number":115,"state":"open","locked":false,"title":"Function to retrieve the first matching MBean","user":{"login":"philowest","id":6313470,"avatar_url":"https://avatars.githubusercontent.com/u/6313470?v=3","gravatar_id":"","url":"https://api.github.com/users/philowest","html_url":"https://github.com/philowest","followers_url":"https://api.github.com/users/philowest/followers","following_url":"https://api.github.com/users/philowest/following{/other_user}","gists_url":"https://api.github.com/users/philowest/gists{/gist_id}","starred_url":"https://api.github.com/users/philowest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philowest/subscriptions","organizations_url":"https://api.github.com/users/philowest/orgs","repos_url":"https://api.github.com/users/philowest/repos","events_url":"https://api.github.com/users/philowest/events{/privacy}","received_events_url":"https://api.github.com/users/philowest/received_events","type":"User","site_admin":false},"body":"I've implemented a function that wraps a call to completeObjectName. I'm really not sure about my choice of function name - currently getFirstMatchingMBean - and so I'm very open to any suggestions.  \r\n\r\nAs mentioned in issue #114, it's possible that using completeObjectName might provide a performance gain in certain circumstances. The function can be used in the same way that getMBean is used in the example given by @mplonka in that discussion. ","created_at":"2015-06-25T15:49:41Z","updated_at":"2015-06-25T15:49:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/WDR/WDR/pulls/115/commits","review_comments_url":"https://api.github.com/repos/WDR/WDR/pulls/115/comments","review_comment_url":"https://api.github.com/repos/WDR/WDR/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WDR/WDR/issues/115/comments","statuses_url":"https://api.github.com/repos/WDR/WDR/statuses/6ae60a402c9ecd9e8879a3b23b1694be5ae592e3","head":{"label":"philowest:complete-object-name","ref":"complete-object-name","sha":"6ae60a402c9ecd9e8879a3b23b1694be5ae592e3","user":{"login":"philowest","id":6313470,"avatar_url":"https://avatars.githubusercontent.com/u/6313470?v=3","gravatar_id":"","url":"https://api.github.com/users/philowest","html_url":"https://github.com/philowest","followers_url":"https://api.github.com/users/philowest/followers","following_url":"https://api.github.com/users/philowest/following{/other_user}","gists_url":"https://api.github.com/users/philowest/gists{/gist_id}","starred_url":"https://api.github.com/users/philowest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philowest/subscriptions","organizations_url":"https://api.github.com/users/philowest/orgs","repos_url":"https://api.github.com/users/philowest/repos","events_url":"https://api.github.com/users/philowest/events{/privacy}","received_events_url":"https://api.github.com/users/philowest/received_events","type":"User","site_admin":false},"repo":{"id":31505155,"name":"WDR","full_name":"philowest/WDR","owner":{"login":"philowest","id":6313470,"avatar_url":"https://avatars.githubusercontent.com/u/6313470?v=3","gravatar_id":"","url":"https://api.github.com/users/philowest","html_url":"https://github.com/philowest","followers_url":"https://api.github.com/users/philowest/followers","following_url":"https://api.github.com/users/philowest/following{/other_user}","gists_url":"https://api.github.com/users/philowest/gists{/gist_id}","starred_url":"https://api.github.com/users/philowest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philowest/subscriptions","organizations_url":"https://api.github.com/users/philowest/orgs","repos_url":"https://api.github.com/users/philowest/repos","events_url":"https://api.github.com/users/philowest/events{/privacy}","received_events_url":"https://api.github.com/users/philowest/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/philowest/WDR","description":"Jython framework aiming for simplified WebSphere Application Server scripting","fork":true,"url":"https://api.github.com/repos/philowest/WDR","forks_url":"https://api.github.com/repos/philowest/WDR/forks","keys_url":"https://api.github.com/repos/philowest/WDR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/philowest/WDR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/philowest/WDR/teams","hooks_url":"https://api.github.com/repos/philowest/WDR/hooks","issue_events_url":"https://api.github.com/repos/philowest/WDR/issues/events{/number}","events_url":"https://api.github.com/repos/philowest/WDR/events","assignees_url":"https://api.github.com/repos/philowest/WDR/assignees{/user}","branches_url":"https://api.github.com/repos/philowest/WDR/branches{/branch}","tags_url":"https://api.github.com/repos/philowest/WDR/tags","blobs_url":"https://api.github.com/repos/philowest/WDR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/philowest/WDR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/philowest/WDR/git/refs{/sha}","trees_url":"https://api.github.com/repos/philowest/WDR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/philowest/WDR/statuses/{sha}","languages_url":"https://api.github.com/repos/philowest/WDR/languages","stargazers_url":"https://api.github.com/repos/philowest/WDR/stargazers","contributors_url":"https://api.github.com/repos/philowest/WDR/contributors","subscribers_url":"https://api.github.com/repos/philowest/WDR/subscribers","subscription_url":"https://api.github.com/repos/philowest/WDR/subscription","commits_url":"https://api.github.com/repos/philowest/WDR/commits{/sha}","git_commits_url":"https://api.github.com/repos/philowest/WDR/git/commits{/sha}","comments_url":"https://api.github.com/repos/philowest/WDR/comments{/number}","issue_comment_url":"https://api.github.com/repos/philowest/WDR/issues/comments{/number}","contents_url":"https://api.github.com/repos/philowest/WDR/contents/{+path}","compare_url":"https://api.github.com/repos/philowest/WDR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/philowest/WDR/merges","archive_url":"https://api.github.com/repos/philowest/WDR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/philowest/WDR/downloads","issues_url":"https://api.github.com/repos/philowest/WDR/issues{/number}","pulls_url":"https://api.github.com/repos/philowest/WDR/pulls{/number}","milestones_url":"https://api.github.com/repos/philowest/WDR/milestones{/number}","notifications_url":"https://api.github.com/repos/philowest/WDR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/philowest/WDR/labels{/name}","releases_url":"https://api.github.com/repos/philowest/WDR/releases{/id}","created_at":"2015-03-01T18:03:12Z","updated_at":"2015-04-12T08:17:34Z","pushed_at":"2015-06-25T15:37:19Z","git_url":"git://github.com/philowest/WDR.git","ssh_url":"git@github.com:philowest/WDR.git","clone_url":"https://github.com/philowest/WDR.git","svn_url":"https://github.com/philowest/WDR","homepage":"http://wdr.github.io/WDR/","size":767,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"WDR:master","ref":"master","sha":"3af0205364dc7a8b02365e7a1563bfbbd4bbd33d","user":{"login":"WDR","id":5376985,"avatar_url":"https://avatars.githubusercontent.com/u/5376985?v=3","gravatar_id":"","url":"https://api.github.com/users/WDR","html_url":"https://github.com/WDR","followers_url":"https://api.github.com/users/WDR/followers","following_url":"https://api.github.com/users/WDR/following{/other_user}","gists_url":"https://api.github.com/users/WDR/gists{/gist_id}","starred_url":"https://api.github.com/users/WDR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WDR/subscriptions","organizations_url":"https://api.github.com/users/WDR/orgs","repos_url":"https://api.github.com/users/WDR/repos","events_url":"https://api.github.com/users/WDR/events{/privacy}","received_events_url":"https://api.github.com/users/WDR/received_events","type":"Organization","site_admin":false},"repo":{"id":4683359,"name":"WDR","full_name":"WDR/WDR","owner":{"login":"WDR","id":5376985,"avatar_url":"https://avatars.githubusercontent.com/u/5376985?v=3","gravatar_id":"","url":"https://api.github.com/users/WDR","html_url":"https://github.com/WDR","followers_url":"https://api.github.com/users/WDR/followers","following_url":"https://api.github.com/users/WDR/following{/other_user}","gists_url":"https://api.github.com/users/WDR/gists{/gist_id}","starred_url":"https://api.github.com/users/WDR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WDR/subscriptions","organizations_url":"https://api.github.com/users/WDR/orgs","repos_url":"https://api.github.com/users/WDR/repos","events_url":"https://api.github.com/users/WDR/events{/privacy}","received_events_url":"https://api.github.com/users/WDR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WDR/WDR","description":"Jython framework aiming for simplified WebSphere Application Server scripting","fork":false,"url":"https://api.github.com/repos/WDR/WDR","forks_url":"https://api.github.com/repos/WDR/WDR/forks","keys_url":"https://api.github.com/repos/WDR/WDR/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WDR/WDR/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WDR/WDR/teams","hooks_url":"https://api.github.com/repos/WDR/WDR/hooks","issue_events_url":"https://api.github.com/repos/WDR/WDR/issues/events{/number}","events_url":"https://api.github.com/repos/WDR/WDR/events","assignees_url":"https://api.github.com/repos/WDR/WDR/assignees{/user}","branches_url":"https://api.github.com/repos/WDR/WDR/branches{/branch}","tags_url":"https://api.github.com/repos/WDR/WDR/tags","blobs_url":"https://api.github.com/repos/WDR/WDR/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WDR/WDR/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WDR/WDR/git/refs{/sha}","trees_url":"https://api.github.com/repos/WDR/WDR/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WDR/WDR/statuses/{sha}","languages_url":"https://api.github.com/repos/WDR/WDR/languages","stargazers_url":"https://api.github.com/repos/WDR/WDR/stargazers","contributors_url":"https://api.github.com/repos/WDR/WDR/contributors","subscribers_url":"https://api.github.com/repos/WDR/WDR/subscribers","subscription_url":"https://api.github.com/repos/WDR/WDR/subscription","commits_url":"https://api.github.com/repos/WDR/WDR/commits{/sha}","git_commits_url":"https://api.github.com/repos/WDR/WDR/git/commits{/sha}","comments_url":"https://api.github.com/repos/WDR/WDR/comments{/number}","issue_comment_url":"https://api.github.com/repos/WDR/WDR/issues/comments{/number}","contents_url":"https://api.github.com/repos/WDR/WDR/contents/{+path}","compare_url":"https://api.github.com/repos/WDR/WDR/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WDR/WDR/merges","archive_url":"https://api.github.com/repos/WDR/WDR/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WDR/WDR/downloads","issues_url":"https://api.github.com/repos/WDR/WDR/issues{/number}","pulls_url":"https://api.github.com/repos/WDR/WDR/pulls{/number}","milestones_url":"https://api.github.com/repos/WDR/WDR/milestones{/number}","notifications_url":"https://api.github.com/repos/WDR/WDR/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WDR/WDR/labels{/name}","releases_url":"https://api.github.com/repos/WDR/WDR/releases{/id}","created_at":"2012-06-16T08:46:16Z","updated_at":"2015-05-07T11:31:56Z","pushed_at":"2015-05-07T11:31:56Z","git_url":"git://github.com/WDR/WDR.git","ssh_url":"git@github.com:WDR/WDR.git","clone_url":"https://github.com/WDR/WDR.git","svn_url":"https://github.com/WDR/WDR","homepage":"http://wdr.github.io/WDR/","size":1796,"stargazers_count":16,"watchers_count":16,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WDR/WDR/pulls/115"},"html":{"href":"https://github.com/WDR/WDR/pull/115"},"issue":{"href":"https://api.github.com/repos/WDR/WDR/issues/115"},"comments":{"href":"https://api.github.com/repos/WDR/WDR/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/WDR/WDR/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/WDR/WDR/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WDR/WDR/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/WDR/WDR/statuses/6ae60a402c9ecd9e8879a3b23b1694be5ae592e3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":13,"deletions":0,"changed_files":1}}