{"action":"created","comment":{"url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/pulls/comments/171445049","pull_request_review_id":100297024,"id":171445049,"diff_hunk":"@@ -0,0 +1,277 @@\n+import * as rheaPromise from \"./rhea-promise\";\n+import * as rhea from \"rhea\";\n+import * as uuid from \"uuid\";\n+import { EventHubReceiver, EventHubSender, ConnectionConfig } from \".\";\n+\n+interface ReceiveOptions {\n+  startAfterTime?: Date | number;\n+  startAfterOffset?: string;\n+  customFilter?: string\n+}\n+\n+interface EventHubRuntimeInformation {\n+  /**\n+   * @property {string} path - The name of the event hub.\n+   */\n+  path: string;\n+  /**\n+   * @property {Date} createdAt - The date and time the hub was created in UTC.\n+   */\n+  createdAt: Date;\n+  /**\n+   * @property {number} partitionCount - The number of partitions in the event hub.\n+   */\n+  partitionCount: number;\n+  /**\n+   * @property {string[]} partitionIds - The slice of string partition identifiers.\n+   */\n+  partitionIds: string[];\n+  /**\n+   * @property {string} type - The type of entity.\n+   */\n+  type: \"com.microsoft:eventhub\"\n+}\n+\n+interface EventHubPartitionRuntimeInformation {\n+  /**\n+   * @property {string} hubPath - The name of the eventhub.\n+   */\n+  hubPath: string;\n+  /**\n+   * @property {string} partitionId - Identifier of the partition within the eventhub.\n+   */\n+  partitionId: string;\n+  /**\n+   * @property {number} beginningSequenceNumber - The starting sequence number of the partition's message log.\n+   */\n+  beginningSequenceNumber: number;\n+  /**\n+   * @property {number} lastSequenceNumber - The last sequence number of the partition's message log.\n+   */\n+  lastSequenceNumber: number;\n+  /**\n+   * @property {number} lastEnqueuedOffset - The offset of the last enqueued message in the partition's message log.\n+   */\n+  lastEnqueuedOffset: number;\n+  /**\n+   * @property {Date} lastEnqueuedTimeUtc - The time of the last enqueued message in the partition's message log in UTC.\n+   */\n+  lastEnqueuedTimeUtc: Date;\n+  /**\n+   * @property {string} type - The type of entity.\n+   */\n+  type: \"com.microsoft:partition\"\n+}\n+\n+/**\n+ * Instantiate a client pointing to the Event Hub given by this configuration.\n+ *\n+ * @param {ConnectionConfig} config\n+ * @constructor\n+ */\n+class EventHubClient {\n+  private _config: ConnectionConfig;\n+  connection: any;\n+  constructor(config: ConnectionConfig) {\n+    this._config = config;\n+  }\n+\n+  /**\n+   * Creates an EventHub Client from connection string.\n+   * @method fromConnectionString\n+   * @param {string} connectionString - Connection string of the form 'Endpoint=sb://my-servicebus-namespace.servicebus.windows.net/;SharedAccessKeyName=my-SA-name;SharedAccessKey=my-SA-key'\n+   * @param {string} [path] - Event Hub path of the form 'my-event-hub-name'\n+   */\n+  static fromConnectionString(connectionString: string, path?: string) {\n+    const config = new ConnectionConfig(connectionString, path);\n+\n+    if (!config.entityPath) {\n+      throw new Error(`Either the connectionString must have \"EntityPath=<path-to-entity>\" or you must provide \"path\", while creating the client`);\n+    }\n+    return new EventHubClient(config);\n+  }\n+\n+  /**\n+   * Opens the AMQP connection to the Event Hub for this client, returning a promise that will be resolved when the connection is completed.\n+   * @method open\n+   * @returns {Promise}\n+   */\n+  async open(useSaslAnonymous = false): Promise<any> {\n+    if (!this.connection) {\n+      const connectOptions: rheaPromise.ConnectionOptions = {\n+        transport: 'tls',\n+        host: this._config.host,\n+        hostname: this._config.host,\n+        username: this._config.sharedAccessKeyName,\n+        port: 5671,\n+        reconnect_limit: 100\n+      }\n+      if (!useSaslAnonymous) {\n+        connectOptions.password = this._config.sharedAccessKey;\n+      }\n+      this.connection = rheaPromise.connect(connectOptions);\n+    }\n+    return Promise.resolve(this.connection);\n+  }\n+\n+  /**\n+   * Closes the AMQP connection to the Event Hub for this client, returning a promise that will be resolved when disconnection is completed.\n+   * @method close\n+   * @returns {Promise}\n+   */\n+  close(): Promise<any> {\n+    return this.connection.close();\n+  }\n+\n+  /**\n+   * @private\n+   * Helper method to make the management request\n+   * @param {string} type - The type of entity requested for. Valid values are \"eventhub\", \"partition\"\n+   * @param {string} [partitionId] - The partitionId. Required only when type is \"partition\".\n+   */\n+  private async makeManagementRequest(type: \"eventhub\" | \"partition\", partitionId?: string): Promise<any> {\n+    const self = this;\n+    return new Promise(async function (resolve: any, reject: any) {\n+      const endpoint = '$management';\n+      const replyTo = uuid.v4();\n+      const request: any = {\n+        body: Buffer.from(JSON.stringify([])),\n+        properties: {\n+          message_id: uuid.v4(),\n+          reply_to: replyTo\n+        },\n+        application_properties: {\n+          operation: \"READ\",\n+          name: self._config.entityPath as string,\n+          type: `com.microsoft:${type}`\n+        }\n+      };\n+      if (partitionId && type === \"partition\") {\n+        request.application_properties.partition = partitionId\n+      }\n+\n+      const rxopt: any = { name: replyTo, target: { address: replyTo } };\n+      const connection = self.open();\n+      const session = await rheaPromise.createSession(connection);\n+      const [sender, receiver] = await Promise.all([\n+        rheaPromise.createSender(session, endpoint, {}),\n+        rheaPromise.createReceiver(session, endpoint, rxopt)\n+      ]);\n+      receiver.on('message', ({ message, delivery }: any) => {\n+        const code = message.application_properties['status-code'];\n+        const desc = message.application_properties['status-description'];\n+        if (code === 200) {\n+          return resolve(message.body);\n+        }\n+        else if (code === 404) {\n+          return reject(desc);\n+        }\n+      });\n+\n+      return sender.send(request);","path":"send_receive/lib/eventHubClient.ts","position":171,"original_position":171,"commit_id":"c81294e5541f5efe23ca6064b99414c14e3183ea","original_commit_id":"c81294e5541f5efe23ca6064b99414c14e3183ea","user":{"login":"amarzavery","id":4521223,"avatar_url":"https://avatars3.githubusercontent.com/u/4521223?v=4","gravatar_id":"","url":"https://api.github.com/users/amarzavery","html_url":"https://github.com/amarzavery","followers_url":"https://api.github.com/users/amarzavery/followers","following_url":"https://api.github.com/users/amarzavery/following{/other_user}","gists_url":"https://api.github.com/users/amarzavery/gists{/gist_id}","starred_url":"https://api.github.com/users/amarzavery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarzavery/subscriptions","organizations_url":"https://api.github.com/users/amarzavery/orgs","repos_url":"https://api.github.com/users/amarzavery/repos","events_url":"https://api.github.com/users/amarzavery/events{/privacy}","received_events_url":"https://api.github.com/users/amarzavery/received_events","type":"User","site_admin":false},"body":"yup removed this.","created_at":"2018-03-01T02:00:51Z","updated_at":"2018-03-01T02:00:51Z","html_url":"https://github.com/amarzavery/azure-event-hubs-node/pull/1#discussion_r171445049","pull_request_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/pulls/comments/171445049"},"html":{"href":"https://github.com/amarzavery/azure-event-hubs-node/pull/1#discussion_r171445049"},"pull_request":{"href":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/pulls/1"}},"in_reply_to_id":171331734},"pull_request":{"url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/pulls/1","id":171769288,"html_url":"https://github.com/amarzavery/azure-event-hubs-node/pull/1","diff_url":"https://github.com/amarzavery/azure-event-hubs-node/pull/1.diff","patch_url":"https://github.com/amarzavery/azure-event-hubs-node/pull/1.patch","issue_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/issues/1","number":1,"state":"open","locked":false,"title":"Building the EH library on top of rhea.","user":{"login":"amarzavery","id":4521223,"avatar_url":"https://avatars3.githubusercontent.com/u/4521223?v=4","gravatar_id":"","url":"https://api.github.com/users/amarzavery","html_url":"https://github.com/amarzavery","followers_url":"https://api.github.com/users/amarzavery/followers","following_url":"https://api.github.com/users/amarzavery/following{/other_user}","gists_url":"https://api.github.com/users/amarzavery/gists{/gist_id}","starred_url":"https://api.github.com/users/amarzavery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarzavery/subscriptions","organizations_url":"https://api.github.com/users/amarzavery/orgs","repos_url":"https://api.github.com/users/amarzavery/repos","events_url":"https://api.github.com/users/amarzavery/events{/privacy}","received_events_url":"https://api.github.com/users/amarzavery/received_events","type":"User","site_admin":false},"body":"- I have not included the `dist` folder that contains the generated `.js` files for now. It should be simple to get that by executing `npm run tsc` from `send_receive` folder.","created_at":"2018-02-27T20:01:35Z","updated_at":"2018-03-01T02:00:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"461b4b2c95dab72b4871038e375232721f1781eb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/pulls/1/commits","review_comments_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/pulls/1/comments","review_comment_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/issues/1/comments","statuses_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/statuses/c81294e5541f5efe23ca6064b99414c14e3183ea","head":{"label":"amarzavery:rhea","ref":"rhea","sha":"c81294e5541f5efe23ca6064b99414c14e3183ea","user":{"login":"amarzavery","id":4521223,"avatar_url":"https://avatars3.githubusercontent.com/u/4521223?v=4","gravatar_id":"","url":"https://api.github.com/users/amarzavery","html_url":"https://github.com/amarzavery","followers_url":"https://api.github.com/users/amarzavery/followers","following_url":"https://api.github.com/users/amarzavery/following{/other_user}","gists_url":"https://api.github.com/users/amarzavery/gists{/gist_id}","starred_url":"https://api.github.com/users/amarzavery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarzavery/subscriptions","organizations_url":"https://api.github.com/users/amarzavery/orgs","repos_url":"https://api.github.com/users/amarzavery/repos","events_url":"https://api.github.com/users/amarzavery/events{/privacy}","received_events_url":"https://api.github.com/users/amarzavery/received_events","type":"User","site_admin":false},"repo":{"id":121546814,"name":"azure-event-hubs-node","full_name":"amarzavery/azure-event-hubs-node","owner":{"login":"amarzavery","id":4521223,"avatar_url":"https://avatars3.githubusercontent.com/u/4521223?v=4","gravatar_id":"","url":"https://api.github.com/users/amarzavery","html_url":"https://github.com/amarzavery","followers_url":"https://api.github.com/users/amarzavery/followers","following_url":"https://api.github.com/users/amarzavery/following{/other_user}","gists_url":"https://api.github.com/users/amarzavery/gists{/gist_id}","starred_url":"https://api.github.com/users/amarzavery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarzavery/subscriptions","organizations_url":"https://api.github.com/users/amarzavery/orgs","repos_url":"https://api.github.com/users/amarzavery/repos","events_url":"https://api.github.com/users/amarzavery/events{/privacy}","received_events_url":"https://api.github.com/users/amarzavery/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amarzavery/azure-event-hubs-node","description":"Node client library for Azure Event Hubs https://azure.microsoft.com/services/event-hubs","fork":true,"url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node","forks_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/forks","keys_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/teams","hooks_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/hooks","issue_events_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/issues/events{/number}","events_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/events","assignees_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/assignees{/user}","branches_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/branches{/branch}","tags_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/tags","blobs_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/statuses/{sha}","languages_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/languages","stargazers_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/stargazers","contributors_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/contributors","subscribers_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/subscribers","subscription_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/subscription","commits_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/contents/{+path}","compare_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/merges","archive_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/downloads","issues_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/issues{/number}","pulls_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/pulls{/number}","milestones_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/milestones{/number}","notifications_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/labels{/name}","releases_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/releases{/id}","deployments_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/deployments","created_at":"2018-02-14T18:38:10Z","updated_at":"2018-02-14T18:38:12Z","pushed_at":"2018-02-27T20:01:35Z","git_url":"git://github.com/amarzavery/azure-event-hubs-node.git","ssh_url":"git@github.com:amarzavery/azure-event-hubs-node.git","clone_url":"https://github.com/amarzavery/azure-event-hubs-node.git","svn_url":"https://github.com/amarzavery/azure-event-hubs-node","homepage":null,"size":6215,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"amarzavery:staging","ref":"staging","sha":"1084724891a92ef6d1a5f1732a52d24ce871dee9","user":{"login":"amarzavery","id":4521223,"avatar_url":"https://avatars3.githubusercontent.com/u/4521223?v=4","gravatar_id":"","url":"https://api.github.com/users/amarzavery","html_url":"https://github.com/amarzavery","followers_url":"https://api.github.com/users/amarzavery/followers","following_url":"https://api.github.com/users/amarzavery/following{/other_user}","gists_url":"https://api.github.com/users/amarzavery/gists{/gist_id}","starred_url":"https://api.github.com/users/amarzavery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarzavery/subscriptions","organizations_url":"https://api.github.com/users/amarzavery/orgs","repos_url":"https://api.github.com/users/amarzavery/repos","events_url":"https://api.github.com/users/amarzavery/events{/privacy}","received_events_url":"https://api.github.com/users/amarzavery/received_events","type":"User","site_admin":false},"repo":{"id":121546814,"name":"azure-event-hubs-node","full_name":"amarzavery/azure-event-hubs-node","owner":{"login":"amarzavery","id":4521223,"avatar_url":"https://avatars3.githubusercontent.com/u/4521223?v=4","gravatar_id":"","url":"https://api.github.com/users/amarzavery","html_url":"https://github.com/amarzavery","followers_url":"https://api.github.com/users/amarzavery/followers","following_url":"https://api.github.com/users/amarzavery/following{/other_user}","gists_url":"https://api.github.com/users/amarzavery/gists{/gist_id}","starred_url":"https://api.github.com/users/amarzavery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amarzavery/subscriptions","organizations_url":"https://api.github.com/users/amarzavery/orgs","repos_url":"https://api.github.com/users/amarzavery/repos","events_url":"https://api.github.com/users/amarzavery/events{/privacy}","received_events_url":"https://api.github.com/users/amarzavery/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amarzavery/azure-event-hubs-node","description":"Node client library for Azure Event Hubs https://azure.microsoft.com/services/event-hubs","fork":true,"url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node","forks_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/forks","keys_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/teams","hooks_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/hooks","issue_events_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/issues/events{/number}","events_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/events","assignees_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/assignees{/user}","branches_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/branches{/branch}","tags_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/tags","blobs_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/statuses/{sha}","languages_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/languages","stargazers_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/stargazers","contributors_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/contributors","subscribers_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/subscribers","subscription_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/subscription","commits_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/contents/{+path}","compare_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/merges","archive_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/downloads","issues_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/issues{/number}","pulls_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/pulls{/number}","milestones_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/milestones{/number}","notifications_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/labels{/name}","releases_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/releases{/id}","deployments_url":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/deployments","created_at":"2018-02-14T18:38:10Z","updated_at":"2018-02-14T18:38:12Z","pushed_at":"2018-02-27T20:01:35Z","git_url":"git://github.com/amarzavery/azure-event-hubs-node.git","ssh_url":"git@github.com:amarzavery/azure-event-hubs-node.git","clone_url":"https://github.com/amarzavery/azure-event-hubs-node.git","svn_url":"https://github.com/amarzavery/azure-event-hubs-node","homepage":null,"size":6215,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/pulls/1"},"html":{"href":"https://github.com/amarzavery/azure-event-hubs-node/pull/1"},"issue":{"href":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/issues/1"},"comments":{"href":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/amarzavery/azure-event-hubs-node/statuses/c81294e5541f5efe23ca6064b99414c14e3183ea"}},"author_association":"OWNER"}}
{"actor":{"display_login":"amarzavery"}}