{"action":"created","comment":{"url":"https://api.github.com/repos/zeebe-io/zeebe/pulls/comments/225425135","pull_request_review_id":165009707,"id":225425135,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTQyNTEzNQ==","diff_hunk":"@@ -0,0 +1,263 @@\n+/*\n+ * Zeebe Broker Core\n+ * Copyright © 2017 camunda services GmbH (info@camunda.com)\n+ *\n+ * This program is free software: you can redistribute it and/or modify\n+ * it under the terms of the GNU Affero General Public License as published by\n+ * the Free Software Foundation, either version 3 of the License, or\n+ * (at your option) any later version.\n+ *\n+ * This program is distributed in the hope that it will be useful,\n+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\n+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+ * GNU Affero General Public License for more details.\n+ *\n+ * You should have received a copy of the GNU Affero General Public License\n+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.\n+ */\n+package io.zeebe.broker.job;\n+\n+import static io.zeebe.util.buffer.BufferUtil.wrapString;\n+import static org.assertj.core.api.Assertions.assertThat;\n+\n+import io.zeebe.broker.job.JobStateController.State;\n+import io.zeebe.protocol.impl.record.value.job.JobRecord;\n+import io.zeebe.util.buffer.BufferUtil;\n+import java.util.ArrayList;\n+import java.util.Arrays;\n+import java.util.List;\n+import java.util.stream.Collectors;\n+import org.agrona.DirectBuffer;\n+import org.junit.After;\n+import org.junit.Before;\n+import org.junit.Rule;\n+import org.junit.Test;\n+import org.junit.rules.TemporaryFolder;\n+\n+public class JobStateControllerTest {\n+  @Rule public TemporaryFolder folder = new TemporaryFolder();\n+\n+  private JobStateController stateController;\n+\n+  @Before\n+  public void setUp() throws Exception {\n+    stateController = new JobStateController();\n+    stateController.open(folder.newFolder(\"db\"), false);\n+  }\n+\n+  @After\n+  public void tearDown() throws Exception {\n+    stateController.close();\n+  }\n+\n+  @Test\n+  public void shouldCreateJobEntry() {\n+    // given\n+    final long key = 1L;\n+    final JobRecord jobRecord = createJobRecord();\n+\n+    // when\n+    stateController.create(key, jobRecord);\n+\n+    // then\n+    assertThat(stateController.exists(key)).isTrue();\n+    assertJobState(key, State.ACTIVATABLE);\n+    assertJobRecordIsEqualTo(stateController.getJob(key), jobRecord);\n+  }\n+\n+  @Test\n+  public void shouldActivateJob() {\n+    // given\n+    final long key = 1L;\n+    final JobRecord jobRecord = createJobRecord();\n+\n+    // when\n+    stateController.activate(key, jobRecord);\n+\n+    // then\n+    assertThat(stateController.exists(key)).isTrue();\n+    assertJobState(key, State.ACTIVATED);\n+    assertJobRecordIsEqualTo(stateController.getJob(key), jobRecord);\n+  }\n+\n+  @Test\n+  public void shouldTimeoutJob() {\n+    // given\n+    final long key = 1L;\n+    final JobRecord jobRecord = createJobRecord();\n+\n+    // when\n+    stateController.timeout(key, jobRecord);\n+\n+    // then\n+    assertThat(stateController.exists(key)).isTrue();\n+    assertJobState(key, State.ACTIVATABLE);\n+    assertJobRecordIsEqualTo(stateController.getJob(key), jobRecord);\n+  }\n+\n+  @Test\n+  public void shouldDeleteJob() {\n+    // given\n+    final long key = 1L;\n+    final JobRecord jobRecord = createJobRecord();\n+\n+    // when\n+    stateController.create(key, jobRecord);\n+\n+    // then\n+    assertThat(stateController.exists(key)).isTrue();\n+\n+    // when\n+    stateController.delete(key, jobRecord);\n+\n+    // then\n+    assertThat(stateController.exists(key)).isFalse();\n+    assertThat(State.values()).noneMatch(state -> stateController.isInState(key, state));\n+    assertThat(stateController.getJob(key)).isNull();\n+  }\n+\n+  @Test\n+  public void shouldFailJobWithRetriesLeft() {\n+    // given\n+    final long key = 1L;\n+    final JobRecord jobRecord = createJobRecord().setRetries(1);\n+\n+    // when\n+    stateController.fail(key, jobRecord);\n+\n+    // then\n+    assertThat(stateController.exists(key)).isTrue();\n+    assertJobState(key, State.ACTIVATABLE);\n+    assertJobRecordIsEqualTo(stateController.getJob(key), jobRecord);\n+  }\n+\n+  @Test\n+  public void shouldFailJobWithNoRetriesLeft() {\n+    // given\n+    final long key = 1L;\n+    final JobRecord jobRecord = createJobRecord().setRetries(0);\n+\n+    // when\n+    stateController.fail(key, jobRecord);\n+\n+    // then\n+    assertThat(stateController.exists(key)).isTrue();\n+    assertJobState(key, State.FAILED);\n+    assertJobRecordIsEqualTo(stateController.getJob(key), jobRecord);\n+  }\n+\n+  @Test\n+  public void shouldResolveJob() {\n+    // given\n+    final long key = 1L;\n+    final JobRecord jobRecord = createJobRecord();\n+\n+    // when\n+    stateController.fail(key, jobRecord);\n+\n+    // then\n+    assertThat(stateController.exists(key)).isTrue();\n+    assertJobState(key, State.ACTIVATABLE);\n+    assertJobRecordIsEqualTo(stateController.getJob(key), jobRecord);\n+  }\n+\n+  @Test\n+  public void shouldListTimedOutEntriesInOrder() {\n+    // given","path":"broker-core/src/test/java/io/zeebe/broker/job/JobStateControllerTest.java","position":166,"original_position":166,"commit_id":"f1c2f5300398b7d09f907052654a0c41c0ef57da","original_commit_id":"c280199966412714710ca7247caea3281e8a2b5f","user":{"login":"Zelldon","id":2758593,"node_id":"MDQ6VXNlcjI3NTg1OTM=","avatar_url":"https://avatars2.githubusercontent.com/u/2758593?v=4","gravatar_id":"","url":"https://api.github.com/users/Zelldon","html_url":"https://github.com/Zelldon","followers_url":"https://api.github.com/users/Zelldon/followers","following_url":"https://api.github.com/users/Zelldon/following{/other_user}","gists_url":"https://api.github.com/users/Zelldon/gists{/gist_id}","starred_url":"https://api.github.com/users/Zelldon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zelldon/subscriptions","organizations_url":"https://api.github.com/users/Zelldon/orgs","repos_url":"https://api.github.com/users/Zelldon/repos","events_url":"https://api.github.com/users/Zelldon/events{/privacy}","received_events_url":"https://api.github.com/users/Zelldon/received_events","type":"User","site_admin":false},"body":"What if no job is due?","created_at":"2018-10-16T07:29:26Z","updated_at":"2018-10-16T07:40:33Z","html_url":"https://github.com/zeebe-io/zeebe/pull/1513#discussion_r225425135","pull_request_url":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1513","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/zeebe-io/zeebe/pulls/comments/225425135"},"html":{"href":"https://github.com/zeebe-io/zeebe/pull/1513#discussion_r225425135"},"pull_request":{"href":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1513"}}},"pull_request":{"url":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1513","id":222911331,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyOTExMzMx","html_url":"https://github.com/zeebe-io/zeebe/pull/1513","diff_url":"https://github.com/zeebe-io/zeebe/pull/1513.diff","patch_url":"https://github.com/zeebe-io/zeebe/pull/1513.patch","issue_url":"https://api.github.com/repos/zeebe-io/zeebe/issues/1513","number":1513,"state":"open","locked":false,"title":"Adds unit tests for JobStateController","user":{"login":"npepinpe","id":43373,"node_id":"MDQ6VXNlcjQzMzcz","avatar_url":"https://avatars0.githubusercontent.com/u/43373?v=4","gravatar_id":"","url":"https://api.github.com/users/npepinpe","html_url":"https://github.com/npepinpe","followers_url":"https://api.github.com/users/npepinpe/followers","following_url":"https://api.github.com/users/npepinpe/following{/other_user}","gists_url":"https://api.github.com/users/npepinpe/gists{/gist_id}","starred_url":"https://api.github.com/users/npepinpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npepinpe/subscriptions","organizations_url":"https://api.github.com/users/npepinpe/orgs","repos_url":"https://api.github.com/users/npepinpe/repos","events_url":"https://api.github.com/users/npepinpe/events{/privacy}","received_events_url":"https://api.github.com/users/npepinpe/received_events","type":"User","site_admin":false},"body":"Adds unit tests to JobStateController and some very minor refactoring there.\r\n\r\nOne thing I realised while writing them is I'm not sure it was a good idea initially to have the pre-conditions to switch between states for a job in the stream processor and not in the controller. My original idea was that the stream processor would check all pre-conditions to see if it was valid to change the create/activate/etc. a job, and the state controller would just do whatever it was asked of; if you were to call `state.create` twice though, it would overwrite the previous job. As it is now it's fine I guess, but it means the state is tightly coupled to the stream processor. That's probably OK...\r\n\r\nNote: also includes minor fixes to ZbRocksDb as well. I had understood from the docs that `keyMayExist` would fill the `StringBuilder` out param with the cached value, but it doesn't necessarily fill it with a complete value, so it's not especially useful in most cases I imagine. At the moment I removed it since I'm not 100% on how to use it.\r\n\r\nP.S.: I wouldn't consider this a blocker to the release, so if there's no time to review before the release it's fine I think.\r\n\r\ncloses #1499\r\n","created_at":"2018-10-15T13:44:21Z","updated_at":"2018-10-16T07:40:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b8475ef96cdaa7d03f3d6820835b6802b69f9137","assignee":{"login":"npepinpe","id":43373,"node_id":"MDQ6VXNlcjQzMzcz","avatar_url":"https://avatars0.githubusercontent.com/u/43373?v=4","gravatar_id":"","url":"https://api.github.com/users/npepinpe","html_url":"https://github.com/npepinpe","followers_url":"https://api.github.com/users/npepinpe/followers","following_url":"https://api.github.com/users/npepinpe/following{/other_user}","gists_url":"https://api.github.com/users/npepinpe/gists{/gist_id}","starred_url":"https://api.github.com/users/npepinpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npepinpe/subscriptions","organizations_url":"https://api.github.com/users/npepinpe/orgs","repos_url":"https://api.github.com/users/npepinpe/repos","events_url":"https://api.github.com/users/npepinpe/events{/privacy}","received_events_url":"https://api.github.com/users/npepinpe/received_events","type":"User","site_admin":false},"assignees":[{"login":"npepinpe","id":43373,"node_id":"MDQ6VXNlcjQzMzcz","avatar_url":"https://avatars0.githubusercontent.com/u/43373?v=4","gravatar_id":"","url":"https://api.github.com/users/npepinpe","html_url":"https://github.com/npepinpe","followers_url":"https://api.github.com/users/npepinpe/followers","following_url":"https://api.github.com/users/npepinpe/following{/other_user}","gists_url":"https://api.github.com/users/npepinpe/gists{/gist_id}","starred_url":"https://api.github.com/users/npepinpe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npepinpe/subscriptions","organizations_url":"https://api.github.com/users/npepinpe/orgs","repos_url":"https://api.github.com/users/npepinpe/repos","events_url":"https://api.github.com/users/npepinpe/events{/privacy}","received_events_url":"https://api.github.com/users/npepinpe/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/1513/commits","review_comments_url":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1513/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/1513/comments","statuses_url":"https://api.github.com/repos/zeebe-io/zeebe/statuses/f1c2f5300398b7d09f907052654a0c41c0ef57da","head":{"label":"zeebe-io:1499-jobstate-tests","ref":"1499-jobstate-tests","sha":"f1c2f5300398b7d09f907052654a0c41c0ef57da","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","private":false,"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},"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-10-16T05:30:11Z","pushed_at":"2018-10-16T07:22:04Z","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":24857,"stargazers_count":314,"watchers_count":314,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"archived":false,"open_issues_count":259,"license":null,"forks":48,"open_issues":259,"watchers":314,"default_branch":"develop"}},"base":{"label":"zeebe-io:develop","ref":"develop","sha":"77152eb85166b7cc0aba69fc0f066a007033a1f9","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","private":false,"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},"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-10-16T05:30:11Z","pushed_at":"2018-10-16T07:22:04Z","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":24857,"stargazers_count":314,"watchers_count":314,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"archived":false,"open_issues_count":259,"license":null,"forks":48,"open_issues":259,"watchers":314,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1513"},"html":{"href":"https://github.com/zeebe-io/zeebe/pull/1513"},"issue":{"href":"https://api.github.com/repos/zeebe-io/zeebe/issues/1513"},"comments":{"href":"https://api.github.com/repos/zeebe-io/zeebe/issues/1513/comments"},"review_comments":{"href":"https://api.github.com/repos/zeebe-io/zeebe/pulls/1513/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/1513/commits"},"statuses":{"href":"https://api.github.com/repos/zeebe-io/zeebe/statuses/f1c2f5300398b7d09f907052654a0c41c0ef57da"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Zelldon"}}