{"action":"created","comment":{"url":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments/65309447","id":65309447,"diff_hunk":"@@ -0,0 +1,386 @@\n+// Copyright 2016, EMC, Inc.\n+\n+'use strict';\n+\n+var di = require('di');\n+\n+module.exports = secureEraseJobFactory;\n+di.annotate(secureEraseJobFactory, new di.Provide('Job.Drive.SecureErase'));\n+    di.annotate(secureEraseJobFactory,\n+    new di.Inject(\n+        'Job.Base',\n+        'Logger',\n+        'Promise',\n+        'Assert',\n+        'Util',\n+        '_',\n+        'JobUtils.Commands',\n+        'JobUtils.CatalogSearchHelpers',\n+        'Constants'\n+    )\n+);\n+\n+function secureEraseJobFactory(\n+    BaseJob,\n+    Logger,\n+    Promise,\n+    assert,\n+    util,\n+    _,\n+    CommandUtil,\n+    catalogSearch,\n+    Constants\n+) {\n+    var logger = Logger.initialize(secureEraseJobFactory);\n+    /**\n+     * @param {Object} options\n+     * @param {Object} context\n+     * @param {String} taskId\n+     * @constructor\n+     */\n+    function SecureEraseJob(options, context, taskId) {\n+        SecureEraseJob.super_.call(this, logger, options, context, taskId);\n+        assert.string(this.context.target);\n+        assert.arrayOfObject(this.options.eraseSettings, 'eraseSettings');\n+\n+        this.commandUtil = new CommandUtil(this.context.target);\n+        this.nodeId = this.context.target;\n+\n+        this.eraseSettings = {};\n+        this.commands = [];\n+        this.hasSentCommands = false;\n+    }\n+\n+    util.inherits(SecureEraseJob, BaseJob);\n+\n+    /**\n+     * @memberOf SecureEraseJob\n+     * @function\n+     */\n+    SecureEraseJob.prototype._run = function() {\n+        var self = this;\n+\n+        self.eraseSettings = self._validateOptions();\n+\n+        return Promise.resolve()\n+        .then(self._collectDisks())\n+        .then(function(disks){\n+            return catalogSearch.getDriveIdCatalogExt(self.nodeId, disks);\n+        })\n+        .then(self._marshalParams)\n+        .then(self._formatCommands)\n+        .then(function() {\n+            self._subscribeRequestCommands(function() {\n+                return self.handleRequest();\n+            });\n+\n+            self._subscribeRespondCommands(function(data) {\n+                self.commandUtil.handleRemoteFailure(data.tasks)\n+                .spread(function() {\n+                    self._done();\n+                })\n+                .catch(function(err) {\n+                    self._done(err);\n+                });\n+            });\n+        });\n+    };\n+\n+    /**\n+     * @memberOf SecureEraseJob\n+     * @function\n+     */\n+    SecureEraseJob.prototype._validateOptions = function() {\n+        var self = this;\n+\n+        return _.transform(self.options.eraseSettings, function(result, entry) {\n+\n+            assert.array(entry.disks, 'disks');\n+            if (entry.disks.length === 0) {\n+                throw new Error('disks should not be empty');\n+            }\n+\n+            if (entry.hasOwnProperty('operation')) {\n+\n+                assert.string(entry.operation, 'operation');\n+\n+                // Make sure \"tool\" is assigned when \"operation\" is specified\n+                assert.string(entry.tool, 'tool');\n+\n+                // Verify the operation are supported in the specified tool\n+                if (!_.includes(Constants.SecureErase[entry.tool].operation, entry.operation)) {\n+                    throw new Error(entry.tool + \" doesn't support operation \" + entry.operation);\n+                }\n+            }\n+\n+            // Turn the drive ID number into string\n+            _.forEach(entry.disks, function(disk, index) {\n+                if (_.isNumber(disk)) {\n+                    entry.disks[index] = disk.toString();\n+                }\n+            });\n+\n+            result.push(entry);\n+\n+        }, []);\n+    };\n+\n+    /**\n+     * @memberOf SecureEraseJob\n+     * @function\n+     */\n+    SecureEraseJob.prototype._collectDisks = function() {\n+        var self = this;\n+\n+        return _.transform(self.eraseSettings, function(result, entry) {\n+\n+            _.forEach(entry.disks, function(disk) {\n+                result[disk] = 1;\n+            });\n+        }, {});\n+    };\n+\n+    /**\n+     * @memberOf SecureEraseJob\n+     * @function\n+     */\n+    /* diskInfo example:\n+     [\n+        {\n+            \"devName\": \"sdg\",\n+            \"esxiWwid\": \"t10.ATA_____SATADOM2DSV_3SE______201505292050074\",\n+            \"identifier\": 0,\n+            \"linuxWwid\": \"/dev/disk/by-id/ata-SATADOM-SV_3SE_20150574\",\n+            \"scsiId\": \"10:0:0:0\",\n+            \"virtualDisk\": \"\"\n+        },\n+        {\n+            \"devName\": \"sda\",\n+            \"deviceIds\": [\n+                23\n+            ],\n+            \"disks\": [\n+                {\n+                    \"deviceId\": 23,\n+                    \"model\": \"ST3600057SS \",\n+                    \"protocol\": \"SAS\",\n+                    \"size\": \"558.406 GB\",\n+                    \"slot\": \"36:0\",\n+                    \"type\": \"HDD\"\n+                }\n+            ],\n+            \"esxiWwid\": \"naa.6001636001940a481ddebecb45264d4a\",\n+            \"identifier\": 1,\n+            \"linuxWwid\": \"/dev/disk/by-id/scsi-3600163b45264d4a\",\n+            \"scsiId\": \"0:2:0:0\",\n+            \"size\": \"558.406 GB\",\n+            \"slotIds\": [\n+                \"/c0/e36/s0\"\n+            ],\n+            \"type\": \"RAID0\",\n+            \"virtualDisk\": \"/c0/v0\"\n+        }\n+    ]\n+    eraseSettings example:\n+    [\n+        {\n+            'disks': ['sda', 'sdb'],\n+            'tool': 'hdparm',\n+            'operation': 'secure-erase'\n+        },\n+        {\n+            'disks': ['1'],\n+            'tool': 'sg_format'\n+        },\n+        {\n+            'disks': ['sdc']\n+        }\n+    ]\n+\n+    The output parameter will be:\n+    [\n+        {\n+            \"disks\": [\n+                {\n+                    \"diskName\": \"/dev/sda\",\n+                    \"vd\": \"/c0/v0\",\n+                    \"scsiId\": \"0:2:0:0\",\n+                    \"did\": [23],\n+                    \"sid\": [\"/c0/e36/s0\"]\n+                },\n+                ...\n+            ],\n+            \"tool\": \"hdparm\",\n+            \"operation\": \"secure-erase\",\n+            \"vendor\": \"lsi\"\n+        }\n+        ...\n+    ]\n+    */\n+    SecureEraseJob.prototype._marshalParams = function(diskInfo) {\n+        var self = this;\n+\n+        return _.transform(self.eraseSettings, function(result, entry) {\n+            /* entry ex:\n+            {\n+                'disks': ['sda', 'sdb'],\n+                'tool': 'hdparm',\n+                'operation': 'secure-erase'\n+            }\n+            */\n+\n+            _.forEach(entry.disks, function(disk, idx) {\n+            // disk ex: 'sda'\n+\n+                var match = false;\n+\n+                _.forEach(diskInfo, function(info) {\n+\n+\n+                    // Find out the matched entry from catalogSearch\n+                    if ((info.devName === disk) ||\n+                        (info.identifier.toString() === disk)) {\n+\n+                        match = true;\n+\n+                        // Verify the specified tool supports the disk's protocol\n+                        if (entry.hasOwnProperty('tool')) {\n+\n+                            // Get the disk protocol\n+                            var protocol = null;\n+                            if (info.esxiWwid.indexOf('SATADOM') > 0) {\n+                                protocol = 'SATADOM';\n+                            }\n+                            else if (info.hasOwnProperty('disks')) {","path":"lib/jobs/secure-erase-drive.js","position":254,"original_position":254,"commit_id":"167c87d78d932bf695a5e825f9e0758a867dec84","original_commit_id":"167c87d78d932bf695a5e825f9e0758a867dec84","user":{"login":"WangWinson","id":14069485,"avatar_url":"https://avatars.githubusercontent.com/u/14069485?v=3","gravatar_id":"","url":"https://api.github.com/users/WangWinson","html_url":"https://github.com/WangWinson","followers_url":"https://api.github.com/users/WangWinson/followers","following_url":"https://api.github.com/users/WangWinson/following{/other_user}","gists_url":"https://api.github.com/users/WangWinson/gists{/gist_id}","starred_url":"https://api.github.com/users/WangWinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WangWinson/subscriptions","organizations_url":"https://api.github.com/users/WangWinson/orgs","repos_url":"https://api.github.com/users/WangWinson/repos","events_url":"https://api.github.com/users/WangWinson/events{/privacy}","received_events_url":"https://api.github.com/users/WangWinson/received_events","type":"User","site_admin":false},"body":"latest : `disks` is `physicalDisks`","created_at":"2016-06-01T06:47:40Z","updated_at":"2016-06-01T06:47:40Z","html_url":"https://github.com/RackHD/on-tasks/pull/225#discussion_r65309447","pull_request_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/225","_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments/65309447"},"html":{"href":"https://github.com/RackHD/on-tasks/pull/225#discussion_r65309447"},"pull_request":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/225"}}},"pull_request":{"url":"https://api.github.com/repos/RackHD/on-tasks/pulls/225","id":72014077,"html_url":"https://github.com/RackHD/on-tasks/pull/225","diff_url":"https://github.com/RackHD/on-tasks/pull/225.diff","patch_url":"https://github.com/RackHD/on-tasks/pull/225.patch","issue_url":"https://api.github.com/repos/RackHD/on-tasks/issues/225","number":225,"state":"open","locked":false,"title":"WIP: add drive secure erase job and tasks","user":{"login":"iceiilin","id":10793130,"avatar_url":"https://avatars.githubusercontent.com/u/10793130?v=3","gravatar_id":"","url":"https://api.github.com/users/iceiilin","html_url":"https://github.com/iceiilin","followers_url":"https://api.github.com/users/iceiilin/followers","following_url":"https://api.github.com/users/iceiilin/following{/other_user}","gists_url":"https://api.github.com/users/iceiilin/gists{/gist_id}","starred_url":"https://api.github.com/users/iceiilin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iceiilin/subscriptions","organizations_url":"https://api.github.com/users/iceiilin/orgs","repos_url":"https://api.github.com/users/iceiilin/repos","events_url":"https://api.github.com/users/iceiilin/events{/privacy}","received_events_url":"https://api.github.com/users/iceiilin/received_events","type":"User","site_admin":false},"body":"add tasks and job for [drive secure erase feature](https://github.com/RackHD/RackHD/wiki/proposal-secure-erase-workflow-task). The job verifies user's options, collects drive info from catalogSearch (https://github.com/RackHD/on-tasks/pull/224), process it to the right format, and prepare parameters for the python script (https://github.com/RackHD/on-http/pull/306).\r\n\r\nOngoing:\r\nUnit test for job's _run() function\r\nfunction's jsdoc info in job\r\nintegration test with PRs mentioned above\r\n\r\nDependent on PR:\r\nhttps://github.com/RackHD/on-core/pull/149\r\n\r\nRelated PR:\r\nhttps://github.com/RackHD/on-taskgraph/pull/111\r\n\r\n@RackHD/corecommitters @pengz1 @WangWinson ","created_at":"2016-05-31T13:20:29Z","updated_at":"2016-06-01T06:47:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8aa0d872e527478f5793f04e3787375177074052","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/225/commits","review_comments_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/225/comments","review_comment_url":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RackHD/on-tasks/issues/225/comments","statuses_url":"https://api.github.com/repos/RackHD/on-tasks/statuses/167c87d78d932bf695a5e825f9e0758a867dec84","head":{"label":"iceiilin:secure-erase-job","ref":"secure-erase-job","sha":"167c87d78d932bf695a5e825f9e0758a867dec84","user":{"login":"iceiilin","id":10793130,"avatar_url":"https://avatars.githubusercontent.com/u/10793130?v=3","gravatar_id":"","url":"https://api.github.com/users/iceiilin","html_url":"https://github.com/iceiilin","followers_url":"https://api.github.com/users/iceiilin/followers","following_url":"https://api.github.com/users/iceiilin/following{/other_user}","gists_url":"https://api.github.com/users/iceiilin/gists{/gist_id}","starred_url":"https://api.github.com/users/iceiilin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iceiilin/subscriptions","organizations_url":"https://api.github.com/users/iceiilin/orgs","repos_url":"https://api.github.com/users/iceiilin/repos","events_url":"https://api.github.com/users/iceiilin/events{/privacy}","received_events_url":"https://api.github.com/users/iceiilin/received_events","type":"User","site_admin":false},"repo":{"id":45585883,"name":"on-tasks","full_name":"iceiilin/on-tasks","owner":{"login":"iceiilin","id":10793130,"avatar_url":"https://avatars.githubusercontent.com/u/10793130?v=3","gravatar_id":"","url":"https://api.github.com/users/iceiilin","html_url":"https://github.com/iceiilin","followers_url":"https://api.github.com/users/iceiilin/followers","following_url":"https://api.github.com/users/iceiilin/following{/other_user}","gists_url":"https://api.github.com/users/iceiilin/gists{/gist_id}","starred_url":"https://api.github.com/users/iceiilin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iceiilin/subscriptions","organizations_url":"https://api.github.com/users/iceiilin/orgs","repos_url":"https://api.github.com/users/iceiilin/repos","events_url":"https://api.github.com/users/iceiilin/events{/privacy}","received_events_url":"https://api.github.com/users/iceiilin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iceiilin/on-tasks","description":"","fork":true,"url":"https://api.github.com/repos/iceiilin/on-tasks","forks_url":"https://api.github.com/repos/iceiilin/on-tasks/forks","keys_url":"https://api.github.com/repos/iceiilin/on-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iceiilin/on-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iceiilin/on-tasks/teams","hooks_url":"https://api.github.com/repos/iceiilin/on-tasks/hooks","issue_events_url":"https://api.github.com/repos/iceiilin/on-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/iceiilin/on-tasks/events","assignees_url":"https://api.github.com/repos/iceiilin/on-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/iceiilin/on-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/iceiilin/on-tasks/tags","blobs_url":"https://api.github.com/repos/iceiilin/on-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iceiilin/on-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iceiilin/on-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/iceiilin/on-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iceiilin/on-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/iceiilin/on-tasks/languages","stargazers_url":"https://api.github.com/repos/iceiilin/on-tasks/stargazers","contributors_url":"https://api.github.com/repos/iceiilin/on-tasks/contributors","subscribers_url":"https://api.github.com/repos/iceiilin/on-tasks/subscribers","subscription_url":"https://api.github.com/repos/iceiilin/on-tasks/subscription","commits_url":"https://api.github.com/repos/iceiilin/on-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/iceiilin/on-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/iceiilin/on-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/iceiilin/on-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/iceiilin/on-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/iceiilin/on-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iceiilin/on-tasks/merges","archive_url":"https://api.github.com/repos/iceiilin/on-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iceiilin/on-tasks/downloads","issues_url":"https://api.github.com/repos/iceiilin/on-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/iceiilin/on-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/iceiilin/on-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/iceiilin/on-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iceiilin/on-tasks/labels{/name}","releases_url":"https://api.github.com/repos/iceiilin/on-tasks/releases{/id}","deployments_url":"https://api.github.com/repos/iceiilin/on-tasks/deployments","created_at":"2015-11-05T03:47:11Z","updated_at":"2015-11-05T03:47:13Z","pushed_at":"2016-05-31T13:12:49Z","git_url":"git://github.com/iceiilin/on-tasks.git","ssh_url":"git@github.com:iceiilin/on-tasks.git","clone_url":"https://github.com/iceiilin/on-tasks.git","svn_url":"https://github.com/iceiilin/on-tasks","homepage":null,"size":1360,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RackHD:master","ref":"master","sha":"daea9d129ed7999c9c2d5d985c5a7c646333df14","user":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"repo":{"id":41690099,"name":"on-tasks","full_name":"RackHD/on-tasks","owner":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RackHD/on-tasks","description":"","fork":false,"url":"https://api.github.com/repos/RackHD/on-tasks","forks_url":"https://api.github.com/repos/RackHD/on-tasks/forks","keys_url":"https://api.github.com/repos/RackHD/on-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RackHD/on-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RackHD/on-tasks/teams","hooks_url":"https://api.github.com/repos/RackHD/on-tasks/hooks","issue_events_url":"https://api.github.com/repos/RackHD/on-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/RackHD/on-tasks/events","assignees_url":"https://api.github.com/repos/RackHD/on-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/RackHD/on-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/RackHD/on-tasks/tags","blobs_url":"https://api.github.com/repos/RackHD/on-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RackHD/on-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RackHD/on-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/RackHD/on-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RackHD/on-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/RackHD/on-tasks/languages","stargazers_url":"https://api.github.com/repos/RackHD/on-tasks/stargazers","contributors_url":"https://api.github.com/repos/RackHD/on-tasks/contributors","subscribers_url":"https://api.github.com/repos/RackHD/on-tasks/subscribers","subscription_url":"https://api.github.com/repos/RackHD/on-tasks/subscription","commits_url":"https://api.github.com/repos/RackHD/on-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/RackHD/on-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/RackHD/on-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/RackHD/on-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/RackHD/on-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/RackHD/on-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RackHD/on-tasks/merges","archive_url":"https://api.github.com/repos/RackHD/on-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RackHD/on-tasks/downloads","issues_url":"https://api.github.com/repos/RackHD/on-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/RackHD/on-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/RackHD/on-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/RackHD/on-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RackHD/on-tasks/labels{/name}","releases_url":"https://api.github.com/repos/RackHD/on-tasks/releases{/id}","deployments_url":"https://api.github.com/repos/RackHD/on-tasks/deployments","created_at":"2015-08-31T17:29:32Z","updated_at":"2016-05-17T08:18:08Z","pushed_at":"2016-05-31T22:58:24Z","git_url":"git://github.com/RackHD/on-tasks.git","ssh_url":"git@github.com:RackHD/on-tasks.git","clone_url":"https://github.com/RackHD/on-tasks.git","svn_url":"https://github.com/RackHD/on-tasks","homepage":null,"size":1538,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":8,"forks":41,"open_issues":8,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/225"},"html":{"href":"https://github.com/RackHD/on-tasks/pull/225"},"issue":{"href":"https://api.github.com/repos/RackHD/on-tasks/issues/225"},"comments":{"href":"https://api.github.com/repos/RackHD/on-tasks/issues/225/comments"},"review_comments":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/225/comments"},"review_comment":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RackHD/on-tasks/pulls/225/commits"},"statuses":{"href":"https://api.github.com/repos/RackHD/on-tasks/statuses/167c87d78d932bf695a5e825f9e0758a867dec84"}}}}
{"actor":{"display_login":"WangWinson"}}