{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/kibana/pulls/comments/240621297","pull_request_review_id":183690481,"id":240621297,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDYyMTI5Nw==","diff_hunk":"@@ -87,7 +89,16 @@ export const registerAutoFollowPatternRoutes = (server) => {\n \n       try {\n         const response = await callWithRequest('ccr.autoFollowPattern', { id });\n-        return deserializeAutoFollowPattern(id, response[id]);\n+\n+        /**\n+         * There is currently a bug in the ES API, instead of returning the auto-follow pattern, it returns\n+         * an array with a single element. Until it is fixed, we take care of it here.\n+         */","path":"x-pack/plugins/cross_cluster_replication/server/routes/api/auto_follow_pattern.js","position":29,"original_position":29,"commit_id":"9a3890e7e97a75ce2ada33d9fea0a2c6b9cbc070","original_commit_id":"0fc36dc5b26898c7dc1b45cb0b8f74f335be5f2b","user":{"login":"sebelga","id":2854616,"node_id":"MDQ6VXNlcjI4NTQ2MTY=","avatar_url":"https://avatars0.githubusercontent.com/u/2854616?v=4","gravatar_id":"","url":"https://api.github.com/users/sebelga","html_url":"https://github.com/sebelga","followers_url":"https://api.github.com/users/sebelga/followers","following_url":"https://api.github.com/users/sebelga/following{/other_user}","gists_url":"https://api.github.com/users/sebelga/gists{/gist_id}","starred_url":"https://api.github.com/users/sebelga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebelga/subscriptions","organizations_url":"https://api.github.com/users/sebelga/orgs","repos_url":"https://api.github.com/users/sebelga/repos","events_url":"https://api.github.com/users/sebelga/events{/privacy}","received_events_url":"https://api.github.com/users/sebelga/received_events","type":"User","site_admin":false},"body":"I will remove it from what we discussed with the ES team. It's by design indeed :) ","created_at":"2018-12-11T14:03:26Z","updated_at":"2018-12-11T14:03:27Z","html_url":"https://github.com/elastic/kibana/pull/26885#discussion_r240621297","pull_request_url":"https://api.github.com/repos/elastic/kibana/pulls/26885","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments/240621297"},"html":{"href":"https://github.com/elastic/kibana/pull/26885#discussion_r240621297"},"pull_request":{"href":"https://api.github.com/repos/elastic/kibana/pulls/26885"}},"in_reply_to_id":240415964},"pull_request":{"url":"https://api.github.com/repos/elastic/kibana/pulls/26885","id":237304613,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MzA0NjEz","html_url":"https://github.com/elastic/kibana/pull/26885","diff_url":"https://github.com/elastic/kibana/pull/26885.diff","patch_url":"https://github.com/elastic/kibana/pull/26885.patch","issue_url":"https://api.github.com/repos/elastic/kibana/issues/26885","number":26885,"state":"open","locked":false,"title":"[CCR] Update auto-follow pattern serialization","user":{"login":"sebelga","id":2854616,"node_id":"MDQ6VXNlcjI4NTQ2MTY=","avatar_url":"https://avatars0.githubusercontent.com/u/2854616?v=4","gravatar_id":"","url":"https://api.github.com/users/sebelga","html_url":"https://github.com/sebelga","followers_url":"https://api.github.com/users/sebelga/followers","following_url":"https://api.github.com/users/sebelga/following{/other_user}","gists_url":"https://api.github.com/users/sebelga/gists{/gist_id}","starred_url":"https://api.github.com/users/sebelga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebelga/subscriptions","organizations_url":"https://api.github.com/users/sebelga/orgs","repos_url":"https://api.github.com/users/sebelga/repos","events_url":"https://api.github.com/users/sebelga/events{/privacy}","received_events_url":"https://api.github.com/users/sebelga/received_events","type":"User","site_admin":false},"body":"ES has made a breaking change in the auto-follow pattern API: https://github.com/elastic/elasticsearch/pull/36203\r\n\r\nThis PR update the server serialization and Redux state to support it.\r\n\r\n**Note:** The API integration tests have been disabled as _something_ has changed and an auto-follow pattern cannot be created anymore if the cluster has a BASIC license.","created_at":"2018-12-10T12:35:33Z","updated_at":"2018-12-11T14:03:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e192ca7da29dc663114ea04eb05fc536332ffe4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1140747531,"node_id":"MDU6TGFiZWwxMTQwNzQ3NTMx","url":"https://api.github.com/repos/elastic/kibana/labels/:Elasticsearch%20UI","name":":Elasticsearch UI","color":"fef2c0","default":false},{"id":1029862359,"node_id":"MDU6TGFiZWwxMDI5ODYyMzU5","url":"https://api.github.com/repos/elastic/kibana/labels/CCR","name":"CCR","color":"f94fa4","default":false},{"id":1108936463,"node_id":"MDU6TGFiZWwxMTA4OTM2NDYz","url":"https://api.github.com/repos/elastic/kibana/labels/es-management","name":"es-management","color":"26bac1","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/kibana/pulls/26885/commits","review_comments_url":"https://api.github.com/repos/elastic/kibana/pulls/26885/comments","review_comment_url":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/kibana/issues/26885/comments","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/9a3890e7e97a75ce2ada33d9fea0a2c6b9cbc070","head":{"label":"sebelga:feature/ccr_update_es_api","ref":"feature/ccr_update_es_api","sha":"9a3890e7e97a75ce2ada33d9fea0a2c6b9cbc070","user":{"login":"sebelga","id":2854616,"node_id":"MDQ6VXNlcjI4NTQ2MTY=","avatar_url":"https://avatars0.githubusercontent.com/u/2854616?v=4","gravatar_id":"","url":"https://api.github.com/users/sebelga","html_url":"https://github.com/sebelga","followers_url":"https://api.github.com/users/sebelga/followers","following_url":"https://api.github.com/users/sebelga/following{/other_user}","gists_url":"https://api.github.com/users/sebelga/gists{/gist_id}","starred_url":"https://api.github.com/users/sebelga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebelga/subscriptions","organizations_url":"https://api.github.com/users/sebelga/orgs","repos_url":"https://api.github.com/users/sebelga/repos","events_url":"https://api.github.com/users/sebelga/events{/privacy}","received_events_url":"https://api.github.com/users/sebelga/received_events","type":"User","site_admin":false},"repo":{"id":151076819,"node_id":"MDEwOlJlcG9zaXRvcnkxNTEwNzY4MTk=","name":"kibana","full_name":"sebelga/kibana","private":false,"owner":{"login":"sebelga","id":2854616,"node_id":"MDQ6VXNlcjI4NTQ2MTY=","avatar_url":"https://avatars0.githubusercontent.com/u/2854616?v=4","gravatar_id":"","url":"https://api.github.com/users/sebelga","html_url":"https://github.com/sebelga","followers_url":"https://api.github.com/users/sebelga/followers","following_url":"https://api.github.com/users/sebelga/following{/other_user}","gists_url":"https://api.github.com/users/sebelga/gists{/gist_id}","starred_url":"https://api.github.com/users/sebelga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebelga/subscriptions","organizations_url":"https://api.github.com/users/sebelga/orgs","repos_url":"https://api.github.com/users/sebelga/repos","events_url":"https://api.github.com/users/sebelga/events{/privacy}","received_events_url":"https://api.github.com/users/sebelga/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sebelga/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":true,"url":"https://api.github.com/repos/sebelga/kibana","forks_url":"https://api.github.com/repos/sebelga/kibana/forks","keys_url":"https://api.github.com/repos/sebelga/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sebelga/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sebelga/kibana/teams","hooks_url":"https://api.github.com/repos/sebelga/kibana/hooks","issue_events_url":"https://api.github.com/repos/sebelga/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/sebelga/kibana/events","assignees_url":"https://api.github.com/repos/sebelga/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/sebelga/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/sebelga/kibana/tags","blobs_url":"https://api.github.com/repos/sebelga/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sebelga/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sebelga/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/sebelga/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sebelga/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/sebelga/kibana/languages","stargazers_url":"https://api.github.com/repos/sebelga/kibana/stargazers","contributors_url":"https://api.github.com/repos/sebelga/kibana/contributors","subscribers_url":"https://api.github.com/repos/sebelga/kibana/subscribers","subscription_url":"https://api.github.com/repos/sebelga/kibana/subscription","commits_url":"https://api.github.com/repos/sebelga/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/sebelga/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/sebelga/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/sebelga/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/sebelga/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/sebelga/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sebelga/kibana/merges","archive_url":"https://api.github.com/repos/sebelga/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sebelga/kibana/downloads","issues_url":"https://api.github.com/repos/sebelga/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/sebelga/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/sebelga/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/sebelga/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sebelga/kibana/labels{/name}","releases_url":"https://api.github.com/repos/sebelga/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/sebelga/kibana/deployments","created_at":"2018-10-01T11:21:08Z","updated_at":"2018-10-01T11:21:31Z","pushed_at":"2018-12-11T08:57:26Z","git_url":"git://github.com/sebelga/kibana.git","ssh_url":"git@github.com:sebelga/kibana.git","clone_url":"https://github.com/sebelga/kibana.git","svn_url":"https://github.com/sebelga/kibana","homepage":"https://www.elastic.co/products/kibana","size":513342,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":1,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:feature/ccr","ref":"feature/ccr","sha":"533a3f0e7c5baf6958e7fc53c633aeb8082d602d","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":7833168,"node_id":"MDEwOlJlcG9zaXRvcnk3ODMzMTY4","name":"kibana","full_name":"elastic/kibana","private":false,"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},"html_url":"https://github.com/elastic/kibana","description":":bar_chart: Kibana analytics and search dashboard for Elasticsearch","fork":false,"url":"https://api.github.com/repos/elastic/kibana","forks_url":"https://api.github.com/repos/elastic/kibana/forks","keys_url":"https://api.github.com/repos/elastic/kibana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/kibana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/kibana/teams","hooks_url":"https://api.github.com/repos/elastic/kibana/hooks","issue_events_url":"https://api.github.com/repos/elastic/kibana/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/kibana/events","assignees_url":"https://api.github.com/repos/elastic/kibana/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/kibana/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/kibana/tags","blobs_url":"https://api.github.com/repos/elastic/kibana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/kibana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/kibana/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/kibana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/kibana/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/kibana/languages","stargazers_url":"https://api.github.com/repos/elastic/kibana/stargazers","contributors_url":"https://api.github.com/repos/elastic/kibana/contributors","subscribers_url":"https://api.github.com/repos/elastic/kibana/subscribers","subscription_url":"https://api.github.com/repos/elastic/kibana/subscription","commits_url":"https://api.github.com/repos/elastic/kibana/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/kibana/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/kibana/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/kibana/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/kibana/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/kibana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/kibana/merges","archive_url":"https://api.github.com/repos/elastic/kibana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/kibana/downloads","issues_url":"https://api.github.com/repos/elastic/kibana/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/kibana/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/kibana/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/kibana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/kibana/labels{/name}","releases_url":"https://api.github.com/repos/elastic/kibana/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/kibana/deployments","created_at":"2013-01-26T04:00:59Z","updated_at":"2018-12-11T13:50:59Z","pushed_at":"2018-12-11T13:53:25Z","git_url":"git://github.com/elastic/kibana.git","ssh_url":"git@github.com:elastic/kibana.git","clone_url":"https://github.com/elastic/kibana.git","svn_url":"https://github.com/elastic/kibana","homepage":"https://www.elastic.co/products/kibana","size":528720,"stargazers_count":10636,"watchers_count":10636,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4147,"mirror_url":null,"archived":false,"open_issues_count":3839,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":4147,"open_issues":3839,"watchers":10636,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/kibana/pulls/26885"},"html":{"href":"https://github.com/elastic/kibana/pull/26885"},"issue":{"href":"https://api.github.com/repos/elastic/kibana/issues/26885"},"comments":{"href":"https://api.github.com/repos/elastic/kibana/issues/26885/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/kibana/pulls/26885/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/kibana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/kibana/pulls/26885/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/kibana/statuses/9a3890e7e97a75ce2ada33d9fea0a2c6b9cbc070"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sebelga"}}