{"action":"created","comment":{"url":"https://api.github.com/repos/zeebe-io/zeebe/pulls/comments/207190197","pull_request_review_id":142711063,"id":207190197,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNzE5MDE5Nw==","diff_hunk":"@@ -0,0 +1,70 @@\n+/*\n+ * Copyright © 2017 camunda services GmbH (info@camunda.com)\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may 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, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+package io.zeebe.mocks;\n+\n+import io.zeebe.broker.client.api.ZeebeFuture;\n+import io.zeebe.broker.client.api.commands.Topology;\n+import io.zeebe.broker.client.api.commands.TopologyRequestStep1;\n+import java.util.concurrent.ExecutionException;\n+import java.util.concurrent.TimeUnit;\n+import java.util.concurrent.TimeoutException;\n+\n+public class RequestFutureMock<E> implements ZeebeFuture<E>, TopologyRequestStep1 {","path":"gateway/src/test/java/io/zeebe/mocks/RequestFutureMock.java","position":25,"original_position":25,"commit_id":"2951d316604e680aaf9cc3b261164d90a6a7ee95","original_commit_id":"a646347ff49ceb5bea3857080b29cfcbfde5a2a9","user":{"login":"menski","id":516296,"node_id":"MDQ6VXNlcjUxNjI5Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/516296?v=4","gravatar_id":"","url":"https://api.github.com/users/menski","html_url":"https://github.com/menski","followers_url":"https://api.github.com/users/menski/followers","following_url":"https://api.github.com/users/menski/following{/other_user}","gists_url":"https://api.github.com/users/menski/gists{/gist_id}","starred_url":"https://api.github.com/users/menski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/menski/subscriptions","organizations_url":"https://api.github.com/users/menski/orgs","repos_url":"https://api.github.com/users/menski/repos","events_url":"https://api.github.com/users/menski/events{/privacy}","received_events_url":"https://api.github.com/users/menski/received_events","type":"User","site_admin":false},"body":"Again instead of `TopologyRequestStep1` implement `FinalCommandStep<E>`.","created_at":"2018-08-02T11:22:25Z","updated_at":"2018-08-02T11:27:55Z","html_url":"https://github.com/zeebe-io/zeebe/pull/1112#discussion_r207190197","pull_request_url":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1112","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/zeebe-io/zeebe/pulls/comments/207190197"},"html":{"href":"https://github.com/zeebe-io/zeebe/pull/1112#discussion_r207190197"},"pull_request":{"href":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1112"}}},"pull_request":{"url":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1112","id":205195674,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA1MTk1Njc0","html_url":"https://github.com/zeebe-io/zeebe/pull/1112","diff_url":"https://github.com/zeebe-io/zeebe/pull/1112.diff","patch_url":"https://github.com/zeebe-io/zeebe/pull/1112.patch","issue_url":"https://api.github.com/repos/zeebe-io/zeebe/issues/1112","number":1112,"state":"open","locked":false,"title":"feat(gateway): Added gateway with HealthCheck endpoint","user":{"login":"jsam","id":1253355,"node_id":"MDQ6VXNlcjEyNTMzNTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1253355?v=4","gravatar_id":"","url":"https://api.github.com/users/jsam","html_url":"https://github.com/jsam","followers_url":"https://api.github.com/users/jsam/followers","following_url":"https://api.github.com/users/jsam/following{/other_user}","gists_url":"https://api.github.com/users/jsam/gists{/gist_id}","starred_url":"https://api.github.com/users/jsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsam/subscriptions","organizations_url":"https://api.github.com/users/jsam/orgs","repos_url":"https://api.github.com/users/jsam/repos","events_url":"https://api.github.com/users/jsam/events{/privacy}","received_events_url":"https://api.github.com/users/jsam/received_events","type":"User","site_admin":false},"body":"* Added gateway with HealthCheck endpoint\r\n* Setup all needed infrastructure code to run and configure a gateway on broker startup\r\n* Added Java client which uses Gateway through the gRPC calls\r\n\r\n\r\ncloses #1081 \r\n","created_at":"2018-07-31T18:02:40Z","updated_at":"2018-08-02T11:27:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d1d5adf257d3d9699c18097e04d6880ad955858","assignee":{"login":"jsam","id":1253355,"node_id":"MDQ6VXNlcjEyNTMzNTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1253355?v=4","gravatar_id":"","url":"https://api.github.com/users/jsam","html_url":"https://github.com/jsam","followers_url":"https://api.github.com/users/jsam/followers","following_url":"https://api.github.com/users/jsam/following{/other_user}","gists_url":"https://api.github.com/users/jsam/gists{/gist_id}","starred_url":"https://api.github.com/users/jsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsam/subscriptions","organizations_url":"https://api.github.com/users/jsam/orgs","repos_url":"https://api.github.com/users/jsam/repos","events_url":"https://api.github.com/users/jsam/events{/privacy}","received_events_url":"https://api.github.com/users/jsam/received_events","type":"User","site_admin":false},"assignees":[{"login":"jsam","id":1253355,"node_id":"MDQ6VXNlcjEyNTMzNTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1253355?v=4","gravatar_id":"","url":"https://api.github.com/users/jsam","html_url":"https://github.com/jsam","followers_url":"https://api.github.com/users/jsam/followers","following_url":"https://api.github.com/users/jsam/following{/other_user}","gists_url":"https://api.github.com/users/jsam/gists{/gist_id}","starred_url":"https://api.github.com/users/jsam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsam/subscriptions","organizations_url":"https://api.github.com/users/jsam/orgs","repos_url":"https://api.github.com/users/jsam/repos","events_url":"https://api.github.com/users/jsam/events{/privacy}","received_events_url":"https://api.github.com/users/jsam/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":389377389,"node_id":"MDU6TGFiZWwzODkzNzczODk=","url":"https://api.github.com/repos/zeebe-io/zeebe/labels/needs%20review","name":"needs review","color":"e6e6e6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1112/commits","review_comments_url":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1112/comments","review_comment_url":"https://api.github.com/repos/zeebe-io/zeebe/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zeebe-io/zeebe/issues/1112/comments","statuses_url":"https://api.github.com/repos/zeebe-io/zeebe/statuses/2951d316604e680aaf9cc3b261164d90a6a7ee95","head":{"label":"zeebe-io:1081-gateway","ref":"1081-gateway","sha":"2951d316604e680aaf9cc3b261164d90a6a7ee95","user":{"login":"zeebe-io","id":17767077,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzY3MDc3","avatar_url":"https://avatars2.githubusercontent.com/u/17767077?v=4","gravatar_id":"","url":"https://api.github.com/users/zeebe-io","html_url":"https://github.com/zeebe-io","followers_url":"https://api.github.com/users/zeebe-io/followers","following_url":"https://api.github.com/users/zeebe-io/following{/other_user}","gists_url":"https://api.github.com/users/zeebe-io/gists{/gist_id}","starred_url":"https://api.github.com/users/zeebe-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeebe-io/subscriptions","organizations_url":"https://api.github.com/users/zeebe-io/orgs","repos_url":"https://api.github.com/users/zeebe-io/repos","events_url":"https://api.github.com/users/zeebe-io/events{/privacy}","received_events_url":"https://api.github.com/users/zeebe-io/received_events","type":"Organization","site_admin":false},"repo":{"id":54298946,"node_id":"MDEwOlJlcG9zaXRvcnk1NDI5ODk0Ng==","name":"zeebe","full_name":"zeebe-io/zeebe","owner":{"login":"zeebe-io","id":17767077,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzY3MDc3","avatar_url":"https://avatars2.githubusercontent.com/u/17767077?v=4","gravatar_id":"","url":"https://api.github.com/users/zeebe-io","html_url":"https://github.com/zeebe-io","followers_url":"https://api.github.com/users/zeebe-io/followers","following_url":"https://api.github.com/users/zeebe-io/following{/other_user}","gists_url":"https://api.github.com/users/zeebe-io/gists{/gist_id}","starred_url":"https://api.github.com/users/zeebe-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeebe-io/subscriptions","organizations_url":"https://api.github.com/users/zeebe-io/orgs","repos_url":"https://api.github.com/users/zeebe-io/repos","events_url":"https://api.github.com/users/zeebe-io/events{/privacy}","received_events_url":"https://api.github.com/users/zeebe-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zeebe-io/zeebe","description":"Distributed Workflow Engine for Microservices Orchestration","fork":false,"url":"https://api.github.com/repos/zeebe-io/zeebe","forks_url":"https://api.github.com/repos/zeebe-io/zeebe/forks","keys_url":"https://api.github.com/repos/zeebe-io/zeebe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeebe-io/zeebe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeebe-io/zeebe/teams","hooks_url":"https://api.github.com/repos/zeebe-io/zeebe/hooks","issue_events_url":"https://api.github.com/repos/zeebe-io/zeebe/issues/events{/number}","events_url":"https://api.github.com/repos/zeebe-io/zeebe/events","assignees_url":"https://api.github.com/repos/zeebe-io/zeebe/assignees{/user}","branches_url":"https://api.github.com/repos/zeebe-io/zeebe/branches{/branch}","tags_url":"https://api.github.com/repos/zeebe-io/zeebe/tags","blobs_url":"https://api.github.com/repos/zeebe-io/zeebe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeebe-io/zeebe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeebe-io/zeebe/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeebe-io/zeebe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeebe-io/zeebe/statuses/{sha}","languages_url":"https://api.github.com/repos/zeebe-io/zeebe/languages","stargazers_url":"https://api.github.com/repos/zeebe-io/zeebe/stargazers","contributors_url":"https://api.github.com/repos/zeebe-io/zeebe/contributors","subscribers_url":"https://api.github.com/repos/zeebe-io/zeebe/subscribers","subscription_url":"https://api.github.com/repos/zeebe-io/zeebe/subscription","commits_url":"https://api.github.com/repos/zeebe-io/zeebe/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeebe-io/zeebe/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeebe-io/zeebe/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeebe-io/zeebe/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeebe-io/zeebe/contents/{+path}","compare_url":"https://api.github.com/repos/zeebe-io/zeebe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeebe-io/zeebe/merges","archive_url":"https://api.github.com/repos/zeebe-io/zeebe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeebe-io/zeebe/downloads","issues_url":"https://api.github.com/repos/zeebe-io/zeebe/issues{/number}","pulls_url":"https://api.github.com/repos/zeebe-io/zeebe/pulls{/number}","milestones_url":"https://api.github.com/repos/zeebe-io/zeebe/milestones{/number}","notifications_url":"https://api.github.com/repos/zeebe-io/zeebe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeebe-io/zeebe/labels{/name}","releases_url":"https://api.github.com/repos/zeebe-io/zeebe/releases{/id}","deployments_url":"https://api.github.com/repos/zeebe-io/zeebe/deployments","created_at":"2016-03-20T03:38:04Z","updated_at":"2018-08-02T08:14:39Z","pushed_at":"2018-08-02T10:09:53Z","git_url":"git://github.com/zeebe-io/zeebe.git","ssh_url":"git@github.com:zeebe-io/zeebe.git","clone_url":"https://github.com/zeebe-io/zeebe.git","svn_url":"https://github.com/zeebe-io/zeebe","homepage":"https://zeebe.io","size":18261,"stargazers_count":245,"watchers_count":245,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"archived":false,"open_issues_count":249,"license":null,"forks":45,"open_issues":249,"watchers":245,"default_branch":"develop"}},"base":{"label":"zeebe-io:develop","ref":"develop","sha":"d484fa035f0a9d0ce784144d26279c6261259c71","user":{"login":"zeebe-io","id":17767077,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzY3MDc3","avatar_url":"https://avatars2.githubusercontent.com/u/17767077?v=4","gravatar_id":"","url":"https://api.github.com/users/zeebe-io","html_url":"https://github.com/zeebe-io","followers_url":"https://api.github.com/users/zeebe-io/followers","following_url":"https://api.github.com/users/zeebe-io/following{/other_user}","gists_url":"https://api.github.com/users/zeebe-io/gists{/gist_id}","starred_url":"https://api.github.com/users/zeebe-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeebe-io/subscriptions","organizations_url":"https://api.github.com/users/zeebe-io/orgs","repos_url":"https://api.github.com/users/zeebe-io/repos","events_url":"https://api.github.com/users/zeebe-io/events{/privacy}","received_events_url":"https://api.github.com/users/zeebe-io/received_events","type":"Organization","site_admin":false},"repo":{"id":54298946,"node_id":"MDEwOlJlcG9zaXRvcnk1NDI5ODk0Ng==","name":"zeebe","full_name":"zeebe-io/zeebe","owner":{"login":"zeebe-io","id":17767077,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzY3MDc3","avatar_url":"https://avatars2.githubusercontent.com/u/17767077?v=4","gravatar_id":"","url":"https://api.github.com/users/zeebe-io","html_url":"https://github.com/zeebe-io","followers_url":"https://api.github.com/users/zeebe-io/followers","following_url":"https://api.github.com/users/zeebe-io/following{/other_user}","gists_url":"https://api.github.com/users/zeebe-io/gists{/gist_id}","starred_url":"https://api.github.com/users/zeebe-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeebe-io/subscriptions","organizations_url":"https://api.github.com/users/zeebe-io/orgs","repos_url":"https://api.github.com/users/zeebe-io/repos","events_url":"https://api.github.com/users/zeebe-io/events{/privacy}","received_events_url":"https://api.github.com/users/zeebe-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zeebe-io/zeebe","description":"Distributed Workflow Engine for Microservices Orchestration","fork":false,"url":"https://api.github.com/repos/zeebe-io/zeebe","forks_url":"https://api.github.com/repos/zeebe-io/zeebe/forks","keys_url":"https://api.github.com/repos/zeebe-io/zeebe/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeebe-io/zeebe/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeebe-io/zeebe/teams","hooks_url":"https://api.github.com/repos/zeebe-io/zeebe/hooks","issue_events_url":"https://api.github.com/repos/zeebe-io/zeebe/issues/events{/number}","events_url":"https://api.github.com/repos/zeebe-io/zeebe/events","assignees_url":"https://api.github.com/repos/zeebe-io/zeebe/assignees{/user}","branches_url":"https://api.github.com/repos/zeebe-io/zeebe/branches{/branch}","tags_url":"https://api.github.com/repos/zeebe-io/zeebe/tags","blobs_url":"https://api.github.com/repos/zeebe-io/zeebe/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeebe-io/zeebe/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeebe-io/zeebe/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeebe-io/zeebe/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeebe-io/zeebe/statuses/{sha}","languages_url":"https://api.github.com/repos/zeebe-io/zeebe/languages","stargazers_url":"https://api.github.com/repos/zeebe-io/zeebe/stargazers","contributors_url":"https://api.github.com/repos/zeebe-io/zeebe/contributors","subscribers_url":"https://api.github.com/repos/zeebe-io/zeebe/subscribers","subscription_url":"https://api.github.com/repos/zeebe-io/zeebe/subscription","commits_url":"https://api.github.com/repos/zeebe-io/zeebe/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeebe-io/zeebe/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeebe-io/zeebe/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeebe-io/zeebe/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeebe-io/zeebe/contents/{+path}","compare_url":"https://api.github.com/repos/zeebe-io/zeebe/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeebe-io/zeebe/merges","archive_url":"https://api.github.com/repos/zeebe-io/zeebe/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeebe-io/zeebe/downloads","issues_url":"https://api.github.com/repos/zeebe-io/zeebe/issues{/number}","pulls_url":"https://api.github.com/repos/zeebe-io/zeebe/pulls{/number}","milestones_url":"https://api.github.com/repos/zeebe-io/zeebe/milestones{/number}","notifications_url":"https://api.github.com/repos/zeebe-io/zeebe/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeebe-io/zeebe/labels{/name}","releases_url":"https://api.github.com/repos/zeebe-io/zeebe/releases{/id}","deployments_url":"https://api.github.com/repos/zeebe-io/zeebe/deployments","created_at":"2016-03-20T03:38:04Z","updated_at":"2018-08-02T08:14:39Z","pushed_at":"2018-08-02T10:09:53Z","git_url":"git://github.com/zeebe-io/zeebe.git","ssh_url":"git@github.com:zeebe-io/zeebe.git","clone_url":"https://github.com/zeebe-io/zeebe.git","svn_url":"https://github.com/zeebe-io/zeebe","homepage":"https://zeebe.io","size":18261,"stargazers_count":245,"watchers_count":245,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":45,"mirror_url":null,"archived":false,"open_issues_count":249,"license":null,"forks":45,"open_issues":249,"watchers":245,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1112"},"html":{"href":"https://github.com/zeebe-io/zeebe/pull/1112"},"issue":{"href":"https://api.github.com/repos/zeebe-io/zeebe/issues/1112"},"comments":{"href":"https://api.github.com/repos/zeebe-io/zeebe/issues/1112/comments"},"review_comments":{"href":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1112/comments"},"review_comment":{"href":"https://api.github.com/repos/zeebe-io/zeebe/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1112/commits"},"statuses":{"href":"https://api.github.com/repos/zeebe-io/zeebe/statuses/2951d316604e680aaf9cc3b261164d90a6a7ee95"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"menski"}}