{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments/213800183","pull_request_review_id":150712392,"id":213800183,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzgwMDE4Mw==","diff_hunk":"@@ -0,0 +1,150 @@\n+/*\n+ * Licensed to Elasticsearch under one or more contributor\n+ * license agreements. See the NOTICE file distributed with\n+ * this work for additional information regarding copyright\n+ * ownership. Elasticsearch licenses this file to you under\n+ * the Apache License, Version 2.0 (the \"License\"); you may\n+ * not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *    http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing,\n+ * software distributed under the License is distributed on an\n+ * \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n+ * KIND, either express or implied.  See the License for the\n+ * specific language governing permissions and limitations\n+ * under the License.\n+ */\n+package org.elasticsearch.client.ml;\n+\n+import org.elasticsearch.common.ParseField;\n+import org.elasticsearch.common.xcontent.ConstructingObjectParser;\n+import org.elasticsearch.common.xcontent.ObjectParser;\n+import org.elasticsearch.common.xcontent.ToXContentObject;\n+import org.elasticsearch.common.xcontent.XContentBuilder;\n+\n+import java.io.IOException;\n+import java.util.Collections;\n+import java.util.Map;\n+import java.util.Objects;\n+\n+/**\n+ * A Pojo class containing an Elastic Node's attributes\n+ */\n+public class NodeAttributes implements ToXContentObject {","path":"client/rest-high-level/src/main/java/org/elasticsearch/client/ml/NodeAttributes.java","position":35,"original_position":35,"commit_id":"79dd816ef0a69a82e32c558a11786033d7f9e2e0","original_commit_id":"79dd816ef0a69a82e32c558a11786033d7f9e2e0","user":{"login":"benwtrent","id":4357155,"node_id":"MDQ6VXNlcjQzNTcxNTU=","avatar_url":"https://avatars3.githubusercontent.com/u/4357155?v=4","gravatar_id":"","url":"https://api.github.com/users/benwtrent","html_url":"https://github.com/benwtrent","followers_url":"https://api.github.com/users/benwtrent/followers","following_url":"https://api.github.com/users/benwtrent/following{/other_user}","gists_url":"https://api.github.com/users/benwtrent/gists{/gist_id}","starred_url":"https://api.github.com/users/benwtrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benwtrent/subscriptions","organizations_url":"https://api.github.com/users/benwtrent/orgs","repos_url":"https://api.github.com/users/benwtrent/repos","events_url":"https://api.github.com/users/benwtrent/events{/privacy}","received_events_url":"https://api.github.com/users/benwtrent/received_events","type":"User","site_admin":false},"body":"`DatafeedStats` when we build it out will require this same object. ","created_at":"2018-08-29T19:10:02Z","updated_at":"2018-08-29T19:10:02Z","html_url":"https://github.com/elastic/elasticsearch/pull/33183#discussion_r213800183","pull_request_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/33183","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments/213800183"},"html":{"href":"https://github.com/elastic/elasticsearch/pull/33183#discussion_r213800183"},"pull_request":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/33183"}},"in_reply_to_id":213738541},"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/33183","id":211186587,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExMTg2NTg3","html_url":"https://github.com/elastic/elasticsearch/pull/33183","diff_url":"https://github.com/elastic/elasticsearch/pull/33183.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/33183.patch","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/33183","number":33183,"state":"open","locked":false,"title":"HLRC: Adding ML Job stats","user":{"login":"benwtrent","id":4357155,"node_id":"MDQ6VXNlcjQzNTcxNTU=","avatar_url":"https://avatars3.githubusercontent.com/u/4357155?v=4","gravatar_id":"","url":"https://api.github.com/users/benwtrent","html_url":"https://github.com/benwtrent","followers_url":"https://api.github.com/users/benwtrent/followers","following_url":"https://api.github.com/users/benwtrent/following{/other_user}","gists_url":"https://api.github.com/users/benwtrent/gists{/gist_id}","starred_url":"https://api.github.com/users/benwtrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benwtrent/subscriptions","organizations_url":"https://api.github.com/users/benwtrent/orgs","repos_url":"https://api.github.com/users/benwtrent/repos","events_url":"https://api.github.com/users/benwtrent/events{/privacy}","received_events_url":"https://api.github.com/users/benwtrent/received_events","type":"User","site_admin":false},"body":"Sorry for the size of this PR. There were a handful of Pojos that needed to be added before the GET jobs stats action could be completed. \r\n\r\nI wanted to put them in separate PRs, but with how much refactoring is being done on the HLRC, coupled with my commits getting all out of order, I just opted to open it as is. \r\n\r\nI am still putting things in the Protocol package for now. We can move all the Pojos at once when the new client ML package is ready (don't want to cause unnecessary merge conflicts).\r\n\r\nThis relates to (#29827)","created_at":"2018-08-27T18:12:27Z","updated_at":"2018-08-29T19:10:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8b9bc46a30b52e04b50c5509606ff76254307f9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":493198109,"node_id":"MDU6TGFiZWw0OTMxOTgxMDk=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Core/Java%20High%20Level%20REST%20Client","name":":Core/Java High Level REST Client","color":"0e8a16","default":false},{"id":912833043,"node_id":"MDU6TGFiZWw5MTI4MzMwNDM=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/:ml","name":":ml","color":"0e8a16","default":false},{"id":23174,"node_id":"MDU6TGFiZWwyMzE3NA==","url":"https://api.github.com/repos/elastic/elasticsearch/labels/%3Eenhancement","name":">enhancement","color":"4a4ea8","default":false},{"id":94283388,"node_id":"MDU6TGFiZWw5NDI4MzM4OA==","url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc","default":false},{"id":962378555,"node_id":"MDU6TGFiZWw5NjIzNzg1NTU=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/v6.5.0","name":"v6.5.0","color":"Dddddd","default":false},{"id":484855464,"node_id":"MDU6TGFiZWw0ODQ4NTU0NjQ=","url":"https://api.github.com/repos/elastic/elasticsearch/labels/v7.0.0","name":"v7.0.0","color":"dddddd","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/33183/commits","review_comments_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/33183/comments","review_comment_url":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/33183/comments","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/79dd816ef0a69a82e32c558a11786033d7f9e2e0","head":{"label":"benwtrent:feature/ml-hlrc-job-stats","ref":"feature/ml-hlrc-job-stats","sha":"79dd816ef0a69a82e32c558a11786033d7f9e2e0","user":{"login":"benwtrent","id":4357155,"node_id":"MDQ6VXNlcjQzNTcxNTU=","avatar_url":"https://avatars3.githubusercontent.com/u/4357155?v=4","gravatar_id":"","url":"https://api.github.com/users/benwtrent","html_url":"https://github.com/benwtrent","followers_url":"https://api.github.com/users/benwtrent/followers","following_url":"https://api.github.com/users/benwtrent/following{/other_user}","gists_url":"https://api.github.com/users/benwtrent/gists{/gist_id}","starred_url":"https://api.github.com/users/benwtrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benwtrent/subscriptions","organizations_url":"https://api.github.com/users/benwtrent/orgs","repos_url":"https://api.github.com/users/benwtrent/repos","events_url":"https://api.github.com/users/benwtrent/events{/privacy}","received_events_url":"https://api.github.com/users/benwtrent/received_events","type":"User","site_admin":false},"repo":{"id":141341311,"node_id":"MDEwOlJlcG9zaXRvcnkxNDEzNDEzMTE=","name":"elasticsearch","full_name":"benwtrent/elasticsearch","owner":{"login":"benwtrent","id":4357155,"node_id":"MDQ6VXNlcjQzNTcxNTU=","avatar_url":"https://avatars3.githubusercontent.com/u/4357155?v=4","gravatar_id":"","url":"https://api.github.com/users/benwtrent","html_url":"https://github.com/benwtrent","followers_url":"https://api.github.com/users/benwtrent/followers","following_url":"https://api.github.com/users/benwtrent/following{/other_user}","gists_url":"https://api.github.com/users/benwtrent/gists{/gist_id}","starred_url":"https://api.github.com/users/benwtrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benwtrent/subscriptions","organizations_url":"https://api.github.com/users/benwtrent/orgs","repos_url":"https://api.github.com/users/benwtrent/repos","events_url":"https://api.github.com/users/benwtrent/events{/privacy}","received_events_url":"https://api.github.com/users/benwtrent/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benwtrent/elasticsearch","description":"Open Source, Distributed, RESTful Search Engine","fork":true,"url":"https://api.github.com/repos/benwtrent/elasticsearch","forks_url":"https://api.github.com/repos/benwtrent/elasticsearch/forks","keys_url":"https://api.github.com/repos/benwtrent/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benwtrent/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benwtrent/elasticsearch/teams","hooks_url":"https://api.github.com/repos/benwtrent/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/benwtrent/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/benwtrent/elasticsearch/events","assignees_url":"https://api.github.com/repos/benwtrent/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/benwtrent/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/benwtrent/elasticsearch/tags","blobs_url":"https://api.github.com/repos/benwtrent/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benwtrent/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benwtrent/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/benwtrent/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benwtrent/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/benwtrent/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/benwtrent/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/benwtrent/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/benwtrent/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/benwtrent/elasticsearch/subscription","commits_url":"https://api.github.com/repos/benwtrent/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/benwtrent/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/benwtrent/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/benwtrent/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/benwtrent/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/benwtrent/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benwtrent/elasticsearch/merges","archive_url":"https://api.github.com/repos/benwtrent/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benwtrent/elasticsearch/downloads","issues_url":"https://api.github.com/repos/benwtrent/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/benwtrent/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/benwtrent/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/benwtrent/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benwtrent/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/benwtrent/elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/benwtrent/elasticsearch/deployments","created_at":"2018-07-17T20:41:07Z","updated_at":"2018-08-29T18:54:26Z","pushed_at":"2018-08-29T18:54:24Z","git_url":"git://github.com/benwtrent/elasticsearch.git","ssh_url":"git@github.com:benwtrent/elasticsearch.git","clone_url":"https://github.com/benwtrent/elasticsearch.git","svn_url":"https://github.com/benwtrent/elasticsearch","homepage":"https://www.elastic.co/products/elasticsearch","size":503245,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"49109187e2adb514d90b017e3ace2753f93be3db","user":{"login":"elastic","id":6764390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NjQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":507775,"node_id":"MDEwOlJlcG9zaXRvcnk1MDc3NzU=","name":"elasticsearch","full_name":"elastic/elasticsearch","owner":{"login":"elastic","id":6764390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3NjQzOTA=","avatar_url":"https://avatars0.githubusercontent.com/u/6764390?v=4","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/elasticsearch","description":"Open Source, Distributed, RESTful Search Engine","fork":false,"url":"https://api.github.com/repos/elastic/elasticsearch","forks_url":"https://api.github.com/repos/elastic/elasticsearch/forks","keys_url":"https://api.github.com/repos/elastic/elasticsearch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/elasticsearch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/elasticsearch/teams","hooks_url":"https://api.github.com/repos/elastic/elasticsearch/hooks","issue_events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/elasticsearch/events","assignees_url":"https://api.github.com/repos/elastic/elasticsearch/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/elasticsearch/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/elasticsearch/tags","blobs_url":"https://api.github.com/repos/elastic/elasticsearch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/elasticsearch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/elasticsearch/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/elasticsearch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/elasticsearch/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/elasticsearch/languages","stargazers_url":"https://api.github.com/repos/elastic/elasticsearch/stargazers","contributors_url":"https://api.github.com/repos/elastic/elasticsearch/contributors","subscribers_url":"https://api.github.com/repos/elastic/elasticsearch/subscribers","subscription_url":"https://api.github.com/repos/elastic/elasticsearch/subscription","commits_url":"https://api.github.com/repos/elastic/elasticsearch/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/elasticsearch/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/elasticsearch/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/elasticsearch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/elasticsearch/merges","archive_url":"https://api.github.com/repos/elastic/elasticsearch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/elasticsearch/downloads","issues_url":"https://api.github.com/repos/elastic/elasticsearch/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/elasticsearch/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/elasticsearch/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/elasticsearch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/elasticsearch/labels{/name}","releases_url":"https://api.github.com/repos/elastic/elasticsearch/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/elasticsearch/deployments","created_at":"2010-02-08T13:20:56Z","updated_at":"2018-08-29T18:29:11Z","pushed_at":"2018-08-29T18:45:57Z","git_url":"git://github.com/elastic/elasticsearch.git","ssh_url":"git@github.com:elastic/elasticsearch.git","clone_url":"https://github.com/elastic/elasticsearch.git","svn_url":"https://github.com/elastic/elasticsearch","homepage":"https://www.elastic.co/products/elasticsearch","size":507605,"stargazers_count":33881,"watchers_count":33881,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11515,"mirror_url":null,"archived":false,"open_issues_count":1603,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":11515,"open_issues":1603,"watchers":33881,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/33183"},"html":{"href":"https://github.com/elastic/elasticsearch/pull/33183"},"issue":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/33183"},"comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/issues/33183/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/33183/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/elasticsearch/pulls/33183/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/elasticsearch/statuses/79dd816ef0a69a82e32c558a11786033d7f9e2e0"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"benwtrent"}}