{"action":"created","comment":{"url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/pulls/comments/200310141","pull_request_review_id":134591553,"id":200310141,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDMxMDE0MQ==","diff_hunk":"@@ -0,0 +1,326 @@\n+/**\n+ * Copyright (C) 2016-2018 Expedia Inc.\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 com.hotels.shunting.yard.replicator.exec.receiver;\n+\n+import static org.apache.hadoop.hive.common.StatsSetupConst.CASCADE;\n+import static org.assertj.core.api.Assertions.assertThat;\n+import static org.mockito.ArgumentMatchers.any;\n+import static org.mockito.ArgumentMatchers.anyBoolean;\n+import static org.mockito.ArgumentMatchers.anyString;\n+import static org.mockito.ArgumentMatchers.eq;\n+import static org.mockito.ArgumentMatchers.same;\n+import static org.mockito.Mockito.doThrow;\n+import static org.mockito.Mockito.mock;\n+import static org.mockito.Mockito.never;\n+import static org.mockito.Mockito.reset;\n+import static org.mockito.Mockito.verify;\n+import static org.mockito.Mockito.verifyZeroInteractions;\n+import static org.mockito.Mockito.when;\n+import static org.powermock.api.mockito.PowerMockito.mockStatic;\n+\n+import static com.hotels.bdp.circustrain.api.CircusTrainTableParameter.REPLICATION_EVENT;\n+import static com.hotels.shunting.yard.common.event.EventType.ON_ADD_PARTITION;\n+import static com.hotels.shunting.yard.common.event.EventType.ON_ALTER_PARTITION;\n+import static com.hotels.shunting.yard.common.event.EventType.ON_ALTER_TABLE;\n+import static com.hotels.shunting.yard.common.event.EventType.ON_CREATE_TABLE;\n+import static com.hotels.shunting.yard.common.event.EventType.ON_DROP_PARTITION;\n+import static com.hotels.shunting.yard.common.event.EventType.ON_DROP_TABLE;\n+import static com.hotels.shunting.yard.common.event.EventType.ON_INSERT;\n+import static com.hotels.shunting.yard.replicator.exec.event.MetaStoreEvent.DELETE_DATA_PARAMETER;\n+\n+import java.util.Arrays;\n+import java.util.HashMap;\n+import java.util.List;\n+import java.util.Map;\n+\n+import org.apache.hadoop.hive.metastore.api.EnvironmentContext;\n+import org.apache.hadoop.hive.metastore.api.NoSuchObjectException;\n+import org.apache.hadoop.hive.metastore.api.Partition;\n+import org.apache.hadoop.hive.metastore.api.Table;\n+import org.apache.thrift.TException;\n+import org.junit.Before;\n+import org.junit.Rule;\n+import org.junit.Test;\n+import org.junit.runner.RunWith;\n+import org.mockito.ArgumentCaptor;\n+import org.mockito.Captor;\n+import org.mockito.Mock;\n+import org.mockito.junit.MockitoJUnit;\n+import org.powermock.core.classloader.annotations.PrepareForTest;\n+import org.powermock.modules.junit4.PowerMockRunner;\n+\n+import com.google.common.collect.ImmutableMap;\n+\n+import com.hotels.hcommon.hive.metastore.client.api.CloseableMetaStoreClient;\n+import com.hotels.shunting.yard.common.ShuntingYardException;\n+import com.hotels.shunting.yard.common.event.EventType;\n+import com.hotels.shunting.yard.common.receiver.thrift.ThriftListenerUtils;\n+import com.hotels.shunting.yard.replicator.exec.event.MetaStoreEvent;\n+import com.hotels.shunting.yard.replicator.exec.launcher.CircusTrainRunner;\n+\n+@RunWith(PowerMockRunner.class)\n+@PrepareForTest(ThriftListenerUtils.class)\n+public class CircusTrainReplicationMetaStoreEventListenerTest {\n+\n+  private static final String DATABASE = \"db\";\n+  private static final String TABLE = \"tbl\";\n+\n+  public static @Rule MockitoJUnit mockito = new MockitoJUnit();\n+\n+  private @Mock CloseableMetaStoreClient metaStoreClient;\n+  private @Mock ContextFactory contextFactory;\n+  private @Mock CircusTrainRunner circusTrainRunner;\n+  private @Mock Context context;\n+  private @Mock Table table;\n+  private @Mock Partition partition;\n+\n+  private @Captor ArgumentCaptor<EnvironmentContext> environmentContextCaptor;\n+\n+  private final Map<String, String> tableParameters = new HashMap<>();\n+  private CircusTrainReplicationMetaStoreEventListener listener;\n+\n+  @Before\n+  public void init() throws Exception {\n+    mockStatic(ThriftListenerUtils.class);\n+    tableParameters.put(REPLICATION_EVENT.parameterName(), \"cte-123\");\n+    when(table.getDbName()).thenReturn(DATABASE);\n+    when(table.getTableName()).thenReturn(TABLE);\n+    when(table.getParameters()).thenReturn(tableParameters);\n+    when(metaStoreClient.getTable(DATABASE, TABLE)).thenReturn(table);\n+    when(partition.getDbName()).thenReturn(DATABASE);\n+    when(partition.getTableName()).thenReturn(TABLE);\n+    listener = new CircusTrainReplicationMetaStoreEventListener(metaStoreClient, contextFactory, circusTrainRunner);\n+  }\n+\n+  @Test\n+  public void canReplicateTable() {\n+    assertThat(listener.canReplicate(DATABASE, TABLE)).isTrue();\n+  }\n+\n+  @Test\n+  public void canReplicateTableIfTableDoesNotExists() throws Exception {\n+    reset(metaStoreClient);\n+    when(metaStoreClient.getTable(DATABASE, TABLE)).thenThrow(NoSuchObjectException.class);\n+    assertThat(listener.canReplicate(DATABASE, TABLE)).isTrue();\n+  }\n+\n+  @Test\n+  public void cannotReplicateTable() {\n+    tableParameters.clear();\n+    listener.canReplicate(DATABASE, TABLE);\n+  }\n+\n+  @Test(expected = ShuntingYardException.class)\n+  public void cannotReplicateTableIfExceptionIsThrown() throws Exception {\n+    reset(metaStoreClient);\n+    when(metaStoreClient.getTable(DATABASE, TABLE)).thenThrow(TException.class);\n+    listener.canReplicate(DATABASE, TABLE);\n+  }\n+\n+  @Test\n+  public void onCreateTableReplicates() {\n+    MetaStoreEvent event = mockEvent(ON_CREATE_TABLE);\n+    // when(event.getTable()).thenReturn(table);","path":"shunting-yard-replicator/src/test/java/com/hotels/shunting/yard/replicator/exec/receiver/CircusTrainReplicationMetaStoreEventListenerTest.java","position":136,"original_position":136,"commit_id":"e94dcc27b4dbbe21bb224cf4319166451bb77efe","original_commit_id":"e94dcc27b4dbbe21bb224cf4319166451bb77efe","user":{"login":"massdosage","id":29457,"node_id":"MDQ6VXNlcjI5NDU3","avatar_url":"https://avatars3.githubusercontent.com/u/29457?v=4","gravatar_id":"","url":"https://api.github.com/users/massdosage","html_url":"https://github.com/massdosage","followers_url":"https://api.github.com/users/massdosage/followers","following_url":"https://api.github.com/users/massdosage/following{/other_user}","gists_url":"https://api.github.com/users/massdosage/gists{/gist_id}","starred_url":"https://api.github.com/users/massdosage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/massdosage/subscriptions","organizations_url":"https://api.github.com/users/massdosage/orgs","repos_url":"https://api.github.com/users/massdosage/repos","events_url":"https://api.github.com/users/massdosage/events{/privacy}","received_events_url":"https://api.github.com/users/massdosage/received_events","type":"User","site_admin":false},"body":"remove?","created_at":"2018-07-05T10:49:45Z","updated_at":"2018-07-05T10:50:21Z","html_url":"https://github.com/HotelsDotCom/shunting-yard/pull/16#discussion_r200310141","pull_request_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/pulls/16","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/HotelsDotCom/shunting-yard/pulls/comments/200310141"},"html":{"href":"https://github.com/HotelsDotCom/shunting-yard/pull/16#discussion_r200310141"},"pull_request":{"href":"https://api.github.com/repos/HotelsDotCom/shunting-yard/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/pulls/16","id":198038753,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MDM4NzUz","html_url":"https://github.com/HotelsDotCom/shunting-yard/pull/16","diff_url":"https://github.com/HotelsDotCom/shunting-yard/pull/16.diff","patch_url":"https://github.com/HotelsDotCom/shunting-yard/pull/16.patch","issue_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/issues/16","number":16,"state":"open","locked":false,"title":"Aggregate MetaStore events","user":{"login":"ddcprg","id":7541790,"node_id":"MDQ6VXNlcjc1NDE3OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/7541790?v=4","gravatar_id":"","url":"https://api.github.com/users/ddcprg","html_url":"https://github.com/ddcprg","followers_url":"https://api.github.com/users/ddcprg/followers","following_url":"https://api.github.com/users/ddcprg/following{/other_user}","gists_url":"https://api.github.com/users/ddcprg/gists{/gist_id}","starred_url":"https://api.github.com/users/ddcprg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddcprg/subscriptions","organizations_url":"https://api.github.com/users/ddcprg/orgs","repos_url":"https://api.github.com/users/ddcprg/repos","events_url":"https://api.github.com/users/ddcprg/events{/privacy}","received_events_url":"https://api.github.com/users/ddcprg/received_events","type":"User","site_admin":false},"body":"Fixes #4 ","created_at":"2018-06-28T13:56:18Z","updated_at":"2018-07-05T10:50:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"960eb133e255609a23d0f1709885059e57be2230","assignee":{"login":"ddcprg","id":7541790,"node_id":"MDQ6VXNlcjc1NDE3OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/7541790?v=4","gravatar_id":"","url":"https://api.github.com/users/ddcprg","html_url":"https://github.com/ddcprg","followers_url":"https://api.github.com/users/ddcprg/followers","following_url":"https://api.github.com/users/ddcprg/following{/other_user}","gists_url":"https://api.github.com/users/ddcprg/gists{/gist_id}","starred_url":"https://api.github.com/users/ddcprg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddcprg/subscriptions","organizations_url":"https://api.github.com/users/ddcprg/orgs","repos_url":"https://api.github.com/users/ddcprg/repos","events_url":"https://api.github.com/users/ddcprg/events{/privacy}","received_events_url":"https://api.github.com/users/ddcprg/received_events","type":"User","site_admin":false},"assignees":[{"login":"ddcprg","id":7541790,"node_id":"MDQ6VXNlcjc1NDE3OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/7541790?v=4","gravatar_id":"","url":"https://api.github.com/users/ddcprg","html_url":"https://github.com/ddcprg","followers_url":"https://api.github.com/users/ddcprg/followers","following_url":"https://api.github.com/users/ddcprg/following{/other_user}","gists_url":"https://api.github.com/users/ddcprg/gists{/gist_id}","starred_url":"https://api.github.com/users/ddcprg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddcprg/subscriptions","organizations_url":"https://api.github.com/users/ddcprg/orgs","repos_url":"https://api.github.com/users/ddcprg/repos","events_url":"https://api.github.com/users/ddcprg/events{/privacy}","received_events_url":"https://api.github.com/users/ddcprg/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/pulls/16/commits","review_comments_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/pulls/16/comments","review_comment_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/issues/16/comments","statuses_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/statuses/e94dcc27b4dbbe21bb224cf4319166451bb77efe","head":{"label":"HotelsDotCom:issue-4","ref":"issue-4","sha":"e94dcc27b4dbbe21bb224cf4319166451bb77efe","user":{"login":"HotelsDotCom","id":8900689,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5MDA2ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/8900689?v=4","gravatar_id":"","url":"https://api.github.com/users/HotelsDotCom","html_url":"https://github.com/HotelsDotCom","followers_url":"https://api.github.com/users/HotelsDotCom/followers","following_url":"https://api.github.com/users/HotelsDotCom/following{/other_user}","gists_url":"https://api.github.com/users/HotelsDotCom/gists{/gist_id}","starred_url":"https://api.github.com/users/HotelsDotCom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HotelsDotCom/subscriptions","organizations_url":"https://api.github.com/users/HotelsDotCom/orgs","repos_url":"https://api.github.com/users/HotelsDotCom/repos","events_url":"https://api.github.com/users/HotelsDotCom/events{/privacy}","received_events_url":"https://api.github.com/users/HotelsDotCom/received_events","type":"Organization","site_admin":false},"repo":{"id":132620967,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI2MjA5Njc=","name":"shunting-yard","full_name":"HotelsDotCom/shunting-yard","owner":{"login":"HotelsDotCom","id":8900689,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5MDA2ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/8900689?v=4","gravatar_id":"","url":"https://api.github.com/users/HotelsDotCom","html_url":"https://github.com/HotelsDotCom","followers_url":"https://api.github.com/users/HotelsDotCom/followers","following_url":"https://api.github.com/users/HotelsDotCom/following{/other_user}","gists_url":"https://api.github.com/users/HotelsDotCom/gists{/gist_id}","starred_url":"https://api.github.com/users/HotelsDotCom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HotelsDotCom/subscriptions","organizations_url":"https://api.github.com/users/HotelsDotCom/orgs","repos_url":"https://api.github.com/users/HotelsDotCom/repos","events_url":"https://api.github.com/users/HotelsDotCom/events{/privacy}","received_events_url":"https://api.github.com/users/HotelsDotCom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HotelsDotCom/shunting-yard","description":null,"fork":false,"url":"https://api.github.com/repos/HotelsDotCom/shunting-yard","forks_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/forks","keys_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/teams","hooks_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/hooks","issue_events_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/issues/events{/number}","events_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/events","assignees_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/assignees{/user}","branches_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/branches{/branch}","tags_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/tags","blobs_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/git/refs{/sha}","trees_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/statuses/{sha}","languages_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/languages","stargazers_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/stargazers","contributors_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/contributors","subscribers_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/subscribers","subscription_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/subscription","commits_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/commits{/sha}","git_commits_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/git/commits{/sha}","comments_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/comments{/number}","issue_comment_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/issues/comments{/number}","contents_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/contents/{+path}","compare_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/merges","archive_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/downloads","issues_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/issues{/number}","pulls_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/pulls{/number}","milestones_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/milestones{/number}","notifications_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/labels{/name}","releases_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/releases{/id}","deployments_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/deployments","created_at":"2018-05-08T14:27:36Z","updated_at":"2018-06-19T16:10:09Z","pushed_at":"2018-07-04T08:57:25Z","git_url":"git://github.com/HotelsDotCom/shunting-yard.git","ssh_url":"git@github.com:HotelsDotCom/shunting-yard.git","clone_url":"https://github.com/HotelsDotCom/shunting-yard.git","svn_url":"https://github.com/HotelsDotCom/shunting-yard","homepage":null,"size":177,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":11,"watchers":1,"default_branch":"master"}},"base":{"label":"HotelsDotCom:master","ref":"master","sha":"7373938c9eac9acfe8f1996e1adb3e70f95d91ed","user":{"login":"HotelsDotCom","id":8900689,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5MDA2ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/8900689?v=4","gravatar_id":"","url":"https://api.github.com/users/HotelsDotCom","html_url":"https://github.com/HotelsDotCom","followers_url":"https://api.github.com/users/HotelsDotCom/followers","following_url":"https://api.github.com/users/HotelsDotCom/following{/other_user}","gists_url":"https://api.github.com/users/HotelsDotCom/gists{/gist_id}","starred_url":"https://api.github.com/users/HotelsDotCom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HotelsDotCom/subscriptions","organizations_url":"https://api.github.com/users/HotelsDotCom/orgs","repos_url":"https://api.github.com/users/HotelsDotCom/repos","events_url":"https://api.github.com/users/HotelsDotCom/events{/privacy}","received_events_url":"https://api.github.com/users/HotelsDotCom/received_events","type":"Organization","site_admin":false},"repo":{"id":132620967,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI2MjA5Njc=","name":"shunting-yard","full_name":"HotelsDotCom/shunting-yard","owner":{"login":"HotelsDotCom","id":8900689,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg5MDA2ODk=","avatar_url":"https://avatars2.githubusercontent.com/u/8900689?v=4","gravatar_id":"","url":"https://api.github.com/users/HotelsDotCom","html_url":"https://github.com/HotelsDotCom","followers_url":"https://api.github.com/users/HotelsDotCom/followers","following_url":"https://api.github.com/users/HotelsDotCom/following{/other_user}","gists_url":"https://api.github.com/users/HotelsDotCom/gists{/gist_id}","starred_url":"https://api.github.com/users/HotelsDotCom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HotelsDotCom/subscriptions","organizations_url":"https://api.github.com/users/HotelsDotCom/orgs","repos_url":"https://api.github.com/users/HotelsDotCom/repos","events_url":"https://api.github.com/users/HotelsDotCom/events{/privacy}","received_events_url":"https://api.github.com/users/HotelsDotCom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HotelsDotCom/shunting-yard","description":null,"fork":false,"url":"https://api.github.com/repos/HotelsDotCom/shunting-yard","forks_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/forks","keys_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/teams","hooks_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/hooks","issue_events_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/issues/events{/number}","events_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/events","assignees_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/assignees{/user}","branches_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/branches{/branch}","tags_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/tags","blobs_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/git/refs{/sha}","trees_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/statuses/{sha}","languages_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/languages","stargazers_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/stargazers","contributors_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/contributors","subscribers_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/subscribers","subscription_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/subscription","commits_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/commits{/sha}","git_commits_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/git/commits{/sha}","comments_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/comments{/number}","issue_comment_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/issues/comments{/number}","contents_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/contents/{+path}","compare_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/merges","archive_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/downloads","issues_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/issues{/number}","pulls_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/pulls{/number}","milestones_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/milestones{/number}","notifications_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/labels{/name}","releases_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/releases{/id}","deployments_url":"https://api.github.com/repos/HotelsDotCom/shunting-yard/deployments","created_at":"2018-05-08T14:27:36Z","updated_at":"2018-06-19T16:10:09Z","pushed_at":"2018-07-04T08:57:25Z","git_url":"git://github.com/HotelsDotCom/shunting-yard.git","ssh_url":"git@github.com:HotelsDotCom/shunting-yard.git","clone_url":"https://github.com/HotelsDotCom/shunting-yard.git","svn_url":"https://github.com/HotelsDotCom/shunting-yard","homepage":null,"size":177,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":11,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HotelsDotCom/shunting-yard/pulls/16"},"html":{"href":"https://github.com/HotelsDotCom/shunting-yard/pull/16"},"issue":{"href":"https://api.github.com/repos/HotelsDotCom/shunting-yard/issues/16"},"comments":{"href":"https://api.github.com/repos/HotelsDotCom/shunting-yard/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/HotelsDotCom/shunting-yard/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/HotelsDotCom/shunting-yard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HotelsDotCom/shunting-yard/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/HotelsDotCom/shunting-yard/statuses/e94dcc27b4dbbe21bb224cf4319166451bb77efe"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"massdosage"}}