{"action":"created","comment":{"url":"https://api.github.com/repos/caskdata/hydrator-plugins/pulls/comments/76852730","id":76852730,"diff_hunk":"@@ -0,0 +1,150 @@\n+/*\n+ * Copyright © 2016 Cask Data, Inc.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n+ * use this file except in compliance with the License. You may obtain a copy of\n+ * 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, WITHOUT\n+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n+ * License for the specific language governing permissions and limitations under\n+ * the License.\n+ */\n+\n+package co.cask.hydrator.plugin.common;\n+\n+import com.amazonaws.AmazonServiceException;\n+import com.amazonaws.services.kinesis.AmazonKinesisClient;\n+import com.amazonaws.services.kinesis.model.CreateStreamRequest;\n+import com.amazonaws.services.kinesis.model.DescribeStreamRequest;\n+import com.amazonaws.services.kinesis.model.ResourceNotFoundException;\n+import com.amazonaws.services.kinesis.model.StreamStatus;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+import java.util.concurrent.TimeUnit;\n+\n+/**\n+ * Utility methods to help create and manage Kinesis Streams\n+ */\n+public final class KinesisUtil {\n+\n+  private static final Logger LOG = LoggerFactory.getLogger(KinesisUtil.class);\n+  private static final long TIMEOUT = 3 * 60 * 1000;\n+  private static final long SLEEP_INTERVAL = 1000 * 10;\n+  private KinesisUtil() {\n+  }\n+\n+  /**\n+   * Creates an Amazon Kinesis stream if it does not exist and waits for it to become available\n+   *\n+   * @param kinesisClient The {@link AmazonKinesisClient} with Amazon Kinesis read and write privileges\n+   * @param streamName The Amazon Kinesis stream name to create\n+   * @param shardCount The shard count to create the stream with\n+   * @throws IllegalStateException Invalid Amazon Kinesis stream state\n+   * @throws IllegalStateException Stream does not become active before the timeout\n+   */\n+  public static void createAndWaitForStream(AmazonKinesisClient kinesisClient, String streamName, int shardCount) {\n+    if (streamExists(kinesisClient, streamName)) {\n+      StreamStatus streamStatus = getStreamState(kinesisClient, streamName);\n+      switch (streamStatus) {\n+        case DELETING:\n+          long waitTimeDelete = System.currentTimeMillis() + TIMEOUT;\n+          while (System.currentTimeMillis() < waitTimeDelete && streamExists(kinesisClient, streamName)) {\n+            try {\n+              LOG.debug(\"Deleting Stream {} \", streamName);\n+              TimeUnit.MILLISECONDS.sleep(SLEEP_INTERVAL);\n+            } catch (InterruptedException e) {\n+              Thread.currentThread().interrupt();\n+            }\n+          }\n+          if (streamExists(kinesisClient, streamName)) {\n+            throw new IllegalStateException(String.format(\"Timed out waiting for stream {} to delete\", streamName));\n+          }\n+          createStream(streamName, shardCount, kinesisClient);\n+          break;\n+        case ACTIVE:\n+          LOG.info(\"Stream {} already exists\", streamName);\n+          return;\n+        case CREATING:\n+          LOG.info(\"Stream {} is being created\", streamName);\n+          break;\n+        case UPDATING:\n+          LOG.info(\"Stream {} is being updated\", streamName);\n+          return;\n+        default:\n+          throw new IllegalStateException(String.format(\"Illegal stream state: {}\", streamStatus));\n+      }\n+    } else {\n+      createStream(streamName, shardCount, kinesisClient);\n+    }\n+    long waitTimeCreate = System.currentTimeMillis() + TIMEOUT;\n+    while (System.currentTimeMillis() < waitTimeCreate) {\n+      try {\n+        TimeUnit.MILLISECONDS.sleep(SLEEP_INTERVAL);\n+      } catch (InterruptedException e) {\n+        Thread.currentThread().interrupt();\n+      }\n+      try {\n+        StreamStatus streamStatus = getStreamState(kinesisClient, streamName);\n+        if (StreamStatus.ACTIVE == streamStatus) {\n+          LOG.info(\"Stream {} became active\", streamName);\n+          return;\n+        }\n+      } catch (ResourceNotFoundException e) {\n+        throw new IllegalStateException(String.format(\"Stream %s did not become active in %d\",\n+                                                      streamName, TIMEOUT), e);\n+      }\n+    }\n+    if (!(getStreamState(kinesisClient, streamName) == StreamStatus.ACTIVE)) {\n+      throw new IllegalStateException(String.format(\"Stream %s did not become active in %d\",\n+                                                    streamName, TIMEOUT));\n+    }\n+  }\n+\n+  private static void createStream(String streamName, int shardCount, AmazonKinesisClient kinesisClient) {\n+    CreateStreamRequest createStreamRequest = new CreateStreamRequest();\n+    createStreamRequest.setStreamName(streamName);\n+    createStreamRequest.setShardCount(shardCount);\n+    kinesisClient.createStream(createStreamRequest);\n+    LOG.info(\"Stream {} is being created\", streamName);","path":"core-plugins/src/main/java/co/cask/hydrator/plugin/common/KinesisUtil.java","position":110,"original_position":113,"commit_id":"f8d7b67fc1af01fab487c644def2d7c4d231e12c","original_commit_id":"bcdd6648e01350a1b7caeb134ec1747259ec346a","user":{"login":"abhinavbansal246","id":6788622,"avatar_url":"https://avatars.githubusercontent.com/u/6788622?v=3","gravatar_id":"","url":"https://api.github.com/users/abhinavbansal246","html_url":"https://github.com/abhinavbansal246","followers_url":"https://api.github.com/users/abhinavbansal246/followers","following_url":"https://api.github.com/users/abhinavbansal246/following{/other_user}","gists_url":"https://api.github.com/users/abhinavbansal246/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinavbansal246/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinavbansal246/subscriptions","organizations_url":"https://api.github.com/users/abhinavbansal246/orgs","repos_url":"https://api.github.com/users/abhinavbansal246/repos","events_url":"https://api.github.com/users/abhinavbansal246/events{/privacy}","received_events_url":"https://api.github.com/users/abhinavbansal246/received_events","type":"User","site_admin":false},"body":"createStream method just initializes the creation. Actual creation happens after a while","created_at":"2016-08-30T18:30:51Z","updated_at":"2016-08-30T18:30:51Z","html_url":"https://github.com/caskdata/hydrator-plugins/pull/428#discussion_r76852730","pull_request_url":"https://api.github.com/repos/caskdata/hydrator-plugins/pulls/428","_links":{"self":{"href":"https://api.github.com/repos/caskdata/hydrator-plugins/pulls/comments/76852730"},"html":{"href":"https://github.com/caskdata/hydrator-plugins/pull/428#discussion_r76852730"},"pull_request":{"href":"https://api.github.com/repos/caskdata/hydrator-plugins/pulls/428"}}},"pull_request":{"url":"https://api.github.com/repos/caskdata/hydrator-plugins/pulls/428","id":82278918,"html_url":"https://github.com/caskdata/hydrator-plugins/pull/428","diff_url":"https://github.com/caskdata/hydrator-plugins/pull/428.diff","patch_url":"https://github.com/caskdata/hydrator-plugins/pull/428.patch","issue_url":"https://api.github.com/repos/caskdata/hydrator-plugins/issues/428","number":428,"state":"open","locked":false,"title":"Feature/kinesis sink","user":{"login":"abhinavbansal246","id":6788622,"avatar_url":"https://avatars.githubusercontent.com/u/6788622?v=3","gravatar_id":"","url":"https://api.github.com/users/abhinavbansal246","html_url":"https://github.com/abhinavbansal246","followers_url":"https://api.github.com/users/abhinavbansal246/followers","following_url":"https://api.github.com/users/abhinavbansal246/following{/other_user}","gists_url":"https://api.github.com/users/abhinavbansal246/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinavbansal246/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinavbansal246/subscriptions","organizations_url":"https://api.github.com/users/abhinavbansal246/orgs","repos_url":"https://api.github.com/users/abhinavbansal246/repos","events_url":"https://api.github.com/users/abhinavbansal246/events{/privacy}","received_events_url":"https://api.github.com/users/abhinavbansal246/received_events","type":"User","site_admin":false},"body":"Adding functionality to connect Hydrator realtime pipelines to Amazon Kinesis sink","created_at":"2016-08-22T23:10:15Z","updated_at":"2016-08-30T18:30:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"054bad180a0968d5c7a3a0164712ac00f91f6a3a","assignee":{"login":"bdmogal","id":3895099,"avatar_url":"https://avatars.githubusercontent.com/u/3895099?v=3","gravatar_id":"","url":"https://api.github.com/users/bdmogal","html_url":"https://github.com/bdmogal","followers_url":"https://api.github.com/users/bdmogal/followers","following_url":"https://api.github.com/users/bdmogal/following{/other_user}","gists_url":"https://api.github.com/users/bdmogal/gists{/gist_id}","starred_url":"https://api.github.com/users/bdmogal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdmogal/subscriptions","organizations_url":"https://api.github.com/users/bdmogal/orgs","repos_url":"https://api.github.com/users/bdmogal/repos","events_url":"https://api.github.com/users/bdmogal/events{/privacy}","received_events_url":"https://api.github.com/users/bdmogal/received_events","type":"User","site_admin":false},"assignees":[{"login":"bdmogal","id":3895099,"avatar_url":"https://avatars.githubusercontent.com/u/3895099?v=3","gravatar_id":"","url":"https://api.github.com/users/bdmogal","html_url":"https://github.com/bdmogal","followers_url":"https://api.github.com/users/bdmogal/followers","following_url":"https://api.github.com/users/bdmogal/following{/other_user}","gists_url":"https://api.github.com/users/bdmogal/gists{/gist_id}","starred_url":"https://api.github.com/users/bdmogal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdmogal/subscriptions","organizations_url":"https://api.github.com/users/bdmogal/orgs","repos_url":"https://api.github.com/users/bdmogal/repos","events_url":"https://api.github.com/users/bdmogal/events{/privacy}","received_events_url":"https://api.github.com/users/bdmogal/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/caskdata/hydrator-plugins/pulls/428/commits","review_comments_url":"https://api.github.com/repos/caskdata/hydrator-plugins/pulls/428/comments","review_comment_url":"https://api.github.com/repos/caskdata/hydrator-plugins/pulls/comments{/number}","comments_url":"https://api.github.com/repos/caskdata/hydrator-plugins/issues/428/comments","statuses_url":"https://api.github.com/repos/caskdata/hydrator-plugins/statuses/f8d7b67fc1af01fab487c644def2d7c4d231e12c","head":{"label":"caskdata:feature/KinesisSink","ref":"feature/KinesisSink","sha":"f8d7b67fc1af01fab487c644def2d7c4d231e12c","user":{"login":"caskdata","id":8123023,"avatar_url":"https://avatars.githubusercontent.com/u/8123023?v=3","gravatar_id":"","url":"https://api.github.com/users/caskdata","html_url":"https://github.com/caskdata","followers_url":"https://api.github.com/users/caskdata/followers","following_url":"https://api.github.com/users/caskdata/following{/other_user}","gists_url":"https://api.github.com/users/caskdata/gists{/gist_id}","starred_url":"https://api.github.com/users/caskdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskdata/subscriptions","organizations_url":"https://api.github.com/users/caskdata/orgs","repos_url":"https://api.github.com/users/caskdata/repos","events_url":"https://api.github.com/users/caskdata/events{/privacy}","received_events_url":"https://api.github.com/users/caskdata/received_events","type":"Organization","site_admin":false},"repo":{"id":39922362,"name":"hydrator-plugins","full_name":"caskdata/hydrator-plugins","owner":{"login":"caskdata","id":8123023,"avatar_url":"https://avatars.githubusercontent.com/u/8123023?v=3","gravatar_id":"","url":"https://api.github.com/users/caskdata","html_url":"https://github.com/caskdata","followers_url":"https://api.github.com/users/caskdata/followers","following_url":"https://api.github.com/users/caskdata/following{/other_user}","gists_url":"https://api.github.com/users/caskdata/gists{/gist_id}","starred_url":"https://api.github.com/users/caskdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskdata/subscriptions","organizations_url":"https://api.github.com/users/caskdata/orgs","repos_url":"https://api.github.com/users/caskdata/repos","events_url":"https://api.github.com/users/caskdata/events{/privacy}","received_events_url":"https://api.github.com/users/caskdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caskdata/hydrator-plugins","description":"Cask Hydrator Plugins Repository","fork":false,"url":"https://api.github.com/repos/caskdata/hydrator-plugins","forks_url":"https://api.github.com/repos/caskdata/hydrator-plugins/forks","keys_url":"https://api.github.com/repos/caskdata/hydrator-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caskdata/hydrator-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caskdata/hydrator-plugins/teams","hooks_url":"https://api.github.com/repos/caskdata/hydrator-plugins/hooks","issue_events_url":"https://api.github.com/repos/caskdata/hydrator-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/caskdata/hydrator-plugins/events","assignees_url":"https://api.github.com/repos/caskdata/hydrator-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/caskdata/hydrator-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/caskdata/hydrator-plugins/tags","blobs_url":"https://api.github.com/repos/caskdata/hydrator-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caskdata/hydrator-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caskdata/hydrator-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/caskdata/hydrator-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caskdata/hydrator-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/caskdata/hydrator-plugins/languages","stargazers_url":"https://api.github.com/repos/caskdata/hydrator-plugins/stargazers","contributors_url":"https://api.github.com/repos/caskdata/hydrator-plugins/contributors","subscribers_url":"https://api.github.com/repos/caskdata/hydrator-plugins/subscribers","subscription_url":"https://api.github.com/repos/caskdata/hydrator-plugins/subscription","commits_url":"https://api.github.com/repos/caskdata/hydrator-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/caskdata/hydrator-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/caskdata/hydrator-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/caskdata/hydrator-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/caskdata/hydrator-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/caskdata/hydrator-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caskdata/hydrator-plugins/merges","archive_url":"https://api.github.com/repos/caskdata/hydrator-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caskdata/hydrator-plugins/downloads","issues_url":"https://api.github.com/repos/caskdata/hydrator-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/caskdata/hydrator-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/caskdata/hydrator-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/caskdata/hydrator-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caskdata/hydrator-plugins/labels{/name}","releases_url":"https://api.github.com/repos/caskdata/hydrator-plugins/releases{/id}","deployments_url":"https://api.github.com/repos/caskdata/hydrator-plugins/deployments","created_at":"2015-07-30T00:14:48Z","updated_at":"2016-08-16T01:09:01Z","pushed_at":"2016-08-30T18:26:26Z","git_url":"git://github.com/caskdata/hydrator-plugins.git","ssh_url":"git@github.com:caskdata/hydrator-plugins.git","clone_url":"https://github.com/caskdata/hydrator-plugins.git","svn_url":"https://github.com/caskdata/hydrator-plugins","homepage":"","size":3977,"stargazers_count":21,"watchers_count":21,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":13,"forks":17,"open_issues":13,"watchers":21,"default_branch":"develop"}},"base":{"label":"caskdata:develop","ref":"develop","sha":"256fef1aa18ac3c67a89f3e49b31b5b6a5c985cb","user":{"login":"caskdata","id":8123023,"avatar_url":"https://avatars.githubusercontent.com/u/8123023?v=3","gravatar_id":"","url":"https://api.github.com/users/caskdata","html_url":"https://github.com/caskdata","followers_url":"https://api.github.com/users/caskdata/followers","following_url":"https://api.github.com/users/caskdata/following{/other_user}","gists_url":"https://api.github.com/users/caskdata/gists{/gist_id}","starred_url":"https://api.github.com/users/caskdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskdata/subscriptions","organizations_url":"https://api.github.com/users/caskdata/orgs","repos_url":"https://api.github.com/users/caskdata/repos","events_url":"https://api.github.com/users/caskdata/events{/privacy}","received_events_url":"https://api.github.com/users/caskdata/received_events","type":"Organization","site_admin":false},"repo":{"id":39922362,"name":"hydrator-plugins","full_name":"caskdata/hydrator-plugins","owner":{"login":"caskdata","id":8123023,"avatar_url":"https://avatars.githubusercontent.com/u/8123023?v=3","gravatar_id":"","url":"https://api.github.com/users/caskdata","html_url":"https://github.com/caskdata","followers_url":"https://api.github.com/users/caskdata/followers","following_url":"https://api.github.com/users/caskdata/following{/other_user}","gists_url":"https://api.github.com/users/caskdata/gists{/gist_id}","starred_url":"https://api.github.com/users/caskdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskdata/subscriptions","organizations_url":"https://api.github.com/users/caskdata/orgs","repos_url":"https://api.github.com/users/caskdata/repos","events_url":"https://api.github.com/users/caskdata/events{/privacy}","received_events_url":"https://api.github.com/users/caskdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caskdata/hydrator-plugins","description":"Cask Hydrator Plugins Repository","fork":false,"url":"https://api.github.com/repos/caskdata/hydrator-plugins","forks_url":"https://api.github.com/repos/caskdata/hydrator-plugins/forks","keys_url":"https://api.github.com/repos/caskdata/hydrator-plugins/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caskdata/hydrator-plugins/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caskdata/hydrator-plugins/teams","hooks_url":"https://api.github.com/repos/caskdata/hydrator-plugins/hooks","issue_events_url":"https://api.github.com/repos/caskdata/hydrator-plugins/issues/events{/number}","events_url":"https://api.github.com/repos/caskdata/hydrator-plugins/events","assignees_url":"https://api.github.com/repos/caskdata/hydrator-plugins/assignees{/user}","branches_url":"https://api.github.com/repos/caskdata/hydrator-plugins/branches{/branch}","tags_url":"https://api.github.com/repos/caskdata/hydrator-plugins/tags","blobs_url":"https://api.github.com/repos/caskdata/hydrator-plugins/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caskdata/hydrator-plugins/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caskdata/hydrator-plugins/git/refs{/sha}","trees_url":"https://api.github.com/repos/caskdata/hydrator-plugins/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caskdata/hydrator-plugins/statuses/{sha}","languages_url":"https://api.github.com/repos/caskdata/hydrator-plugins/languages","stargazers_url":"https://api.github.com/repos/caskdata/hydrator-plugins/stargazers","contributors_url":"https://api.github.com/repos/caskdata/hydrator-plugins/contributors","subscribers_url":"https://api.github.com/repos/caskdata/hydrator-plugins/subscribers","subscription_url":"https://api.github.com/repos/caskdata/hydrator-plugins/subscription","commits_url":"https://api.github.com/repos/caskdata/hydrator-plugins/commits{/sha}","git_commits_url":"https://api.github.com/repos/caskdata/hydrator-plugins/git/commits{/sha}","comments_url":"https://api.github.com/repos/caskdata/hydrator-plugins/comments{/number}","issue_comment_url":"https://api.github.com/repos/caskdata/hydrator-plugins/issues/comments{/number}","contents_url":"https://api.github.com/repos/caskdata/hydrator-plugins/contents/{+path}","compare_url":"https://api.github.com/repos/caskdata/hydrator-plugins/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caskdata/hydrator-plugins/merges","archive_url":"https://api.github.com/repos/caskdata/hydrator-plugins/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caskdata/hydrator-plugins/downloads","issues_url":"https://api.github.com/repos/caskdata/hydrator-plugins/issues{/number}","pulls_url":"https://api.github.com/repos/caskdata/hydrator-plugins/pulls{/number}","milestones_url":"https://api.github.com/repos/caskdata/hydrator-plugins/milestones{/number}","notifications_url":"https://api.github.com/repos/caskdata/hydrator-plugins/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caskdata/hydrator-plugins/labels{/name}","releases_url":"https://api.github.com/repos/caskdata/hydrator-plugins/releases{/id}","deployments_url":"https://api.github.com/repos/caskdata/hydrator-plugins/deployments","created_at":"2015-07-30T00:14:48Z","updated_at":"2016-08-16T01:09:01Z","pushed_at":"2016-08-30T18:26:26Z","git_url":"git://github.com/caskdata/hydrator-plugins.git","ssh_url":"git@github.com:caskdata/hydrator-plugins.git","clone_url":"https://github.com/caskdata/hydrator-plugins.git","svn_url":"https://github.com/caskdata/hydrator-plugins","homepage":"","size":3977,"stargazers_count":21,"watchers_count":21,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":13,"forks":17,"open_issues":13,"watchers":21,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/caskdata/hydrator-plugins/pulls/428"},"html":{"href":"https://github.com/caskdata/hydrator-plugins/pull/428"},"issue":{"href":"https://api.github.com/repos/caskdata/hydrator-plugins/issues/428"},"comments":{"href":"https://api.github.com/repos/caskdata/hydrator-plugins/issues/428/comments"},"review_comments":{"href":"https://api.github.com/repos/caskdata/hydrator-plugins/pulls/428/comments"},"review_comment":{"href":"https://api.github.com/repos/caskdata/hydrator-plugins/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/caskdata/hydrator-plugins/pulls/428/commits"},"statuses":{"href":"https://api.github.com/repos/caskdata/hydrator-plugins/statuses/f8d7b67fc1af01fab487c644def2d7c4d231e12c"}}}}
{"actor":{"display_login":"abhinavbansal246"}}