{"action":"created","comment":{"url":"https://api.github.com/repos/nus-ncl/service-web/pulls/comments/90614316","pull_request_review_id":11132607,"id":90614316,"diff_hunk":"@@ -0,0 +1,51 @@\n+package sg.ncl.testbed_interface;\n+\n+/**\n+ * Created by dcsjnh on 11/29/2016.\n+ *\n+ * References:\n+ * [1] https://github.com/23/resumable.js/blob/master/samples/java/src/main/java/resumable/js/upload/HttpUtils.java\n+ */\n+public class HttpUtils {","path":"src/main/java/sg/ncl/testbed_interface/HttpUtils.java","position":9,"original_position":9,"commit_id":"9fd77ac9d1e34191abece0e3002cbab2f12755c5","original_commit_id":"9fd77ac9d1e34191abece0e3002cbab2f12755c5","user":{"login":"ChrisZhong","id":1946052,"avatar_url":"https://avatars.githubusercontent.com/u/1946052?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisZhong","html_url":"https://github.com/ChrisZhong","followers_url":"https://api.github.com/users/ChrisZhong/followers","following_url":"https://api.github.com/users/ChrisZhong/following{/other_user}","gists_url":"https://api.github.com/users/ChrisZhong/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisZhong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisZhong/subscriptions","organizations_url":"https://api.github.com/users/ChrisZhong/orgs","repos_url":"https://api.github.com/users/ChrisZhong/repos","events_url":"https://api.github.com/users/ChrisZhong/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisZhong/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) Add a private constructor to hide the implicit public one. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonarqube.com/coding_rules#rule_key=squid%3AS1118)\n","created_at":"2016-12-02T09:57:59Z","updated_at":"2016-12-02T09:57:59Z","html_url":"https://github.com/nus-ncl/service-web/pull/142#discussion_r90614316","pull_request_url":"https://api.github.com/repos/nus-ncl/service-web/pulls/142","_links":{"self":{"href":"https://api.github.com/repos/nus-ncl/service-web/pulls/comments/90614316"},"html":{"href":"https://github.com/nus-ncl/service-web/pull/142#discussion_r90614316"},"pull_request":{"href":"https://api.github.com/repos/nus-ncl/service-web/pulls/142"}}},"pull_request":{"url":"https://api.github.com/repos/nus-ncl/service-web/pulls/142","id":96250225,"html_url":"https://github.com/nus-ncl/service-web/pull/142","diff_url":"https://github.com/nus-ncl/service-web/pull/142.diff","patch_url":"https://github.com/nus-ncl/service-web/pull/142.patch","issue_url":"https://api.github.com/repos/nus-ncl/service-web/issues/142","number":142,"state":"open","locked":false,"title":"Dev-721 Added upload/download of data resources","user":{"login":"nghianja","id":1296470,"avatar_url":"https://avatars.githubusercontent.com/u/1296470?v=3","gravatar_id":"","url":"https://api.github.com/users/nghianja","html_url":"https://github.com/nghianja","followers_url":"https://api.github.com/users/nghianja/followers","following_url":"https://api.github.com/users/nghianja/following{/other_user}","gists_url":"https://api.github.com/users/nghianja/gists{/gist_id}","starred_url":"https://api.github.com/users/nghianja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nghianja/subscriptions","organizations_url":"https://api.github.com/users/nghianja/orgs","repos_url":"https://api.github.com/users/nghianja/repos","events_url":"https://api.github.com/users/nghianja/events{/privacy}","received_events_url":"https://api.github.com/users/nghianja/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-12-02T09:54:53Z","updated_at":"2016-12-02T09:58:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07b7b1d81909ef28650ccb517baabe5163d68a77","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nus-ncl/service-web/pulls/142/commits","review_comments_url":"https://api.github.com/repos/nus-ncl/service-web/pulls/142/comments","review_comment_url":"https://api.github.com/repos/nus-ncl/service-web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nus-ncl/service-web/issues/142/comments","statuses_url":"https://api.github.com/repos/nus-ncl/service-web/statuses/9fd77ac9d1e34191abece0e3002cbab2f12755c5","head":{"label":"nus-ncl:DEV-721","ref":"DEV-721","sha":"9fd77ac9d1e34191abece0e3002cbab2f12755c5","user":{"login":"nus-ncl","id":15359055,"avatar_url":"https://avatars.githubusercontent.com/u/15359055?v=3","gravatar_id":"","url":"https://api.github.com/users/nus-ncl","html_url":"https://github.com/nus-ncl","followers_url":"https://api.github.com/users/nus-ncl/followers","following_url":"https://api.github.com/users/nus-ncl/following{/other_user}","gists_url":"https://api.github.com/users/nus-ncl/gists{/gist_id}","starred_url":"https://api.github.com/users/nus-ncl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nus-ncl/subscriptions","organizations_url":"https://api.github.com/users/nus-ncl/orgs","repos_url":"https://api.github.com/users/nus-ncl/repos","events_url":"https://api.github.com/users/nus-ncl/events{/privacy}","received_events_url":"https://api.github.com/users/nus-ncl/received_events","type":"Organization","site_admin":false},"repo":{"id":54450246,"name":"service-web","full_name":"nus-ncl/service-web","owner":{"login":"nus-ncl","id":15359055,"avatar_url":"https://avatars.githubusercontent.com/u/15359055?v=3","gravatar_id":"","url":"https://api.github.com/users/nus-ncl","html_url":"https://github.com/nus-ncl","followers_url":"https://api.github.com/users/nus-ncl/followers","following_url":"https://api.github.com/users/nus-ncl/following{/other_user}","gists_url":"https://api.github.com/users/nus-ncl/gists{/gist_id}","starred_url":"https://api.github.com/users/nus-ncl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nus-ncl/subscriptions","organizations_url":"https://api.github.com/users/nus-ncl/orgs","repos_url":"https://api.github.com/users/nus-ncl/repos","events_url":"https://api.github.com/users/nus-ncl/events{/privacy}","received_events_url":"https://api.github.com/users/nus-ncl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nus-ncl/service-web","description":"Development of official NCL UI","fork":false,"url":"https://api.github.com/repos/nus-ncl/service-web","forks_url":"https://api.github.com/repos/nus-ncl/service-web/forks","keys_url":"https://api.github.com/repos/nus-ncl/service-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nus-ncl/service-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nus-ncl/service-web/teams","hooks_url":"https://api.github.com/repos/nus-ncl/service-web/hooks","issue_events_url":"https://api.github.com/repos/nus-ncl/service-web/issues/events{/number}","events_url":"https://api.github.com/repos/nus-ncl/service-web/events","assignees_url":"https://api.github.com/repos/nus-ncl/service-web/assignees{/user}","branches_url":"https://api.github.com/repos/nus-ncl/service-web/branches{/branch}","tags_url":"https://api.github.com/repos/nus-ncl/service-web/tags","blobs_url":"https://api.github.com/repos/nus-ncl/service-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nus-ncl/service-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nus-ncl/service-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/nus-ncl/service-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nus-ncl/service-web/statuses/{sha}","languages_url":"https://api.github.com/repos/nus-ncl/service-web/languages","stargazers_url":"https://api.github.com/repos/nus-ncl/service-web/stargazers","contributors_url":"https://api.github.com/repos/nus-ncl/service-web/contributors","subscribers_url":"https://api.github.com/repos/nus-ncl/service-web/subscribers","subscription_url":"https://api.github.com/repos/nus-ncl/service-web/subscription","commits_url":"https://api.github.com/repos/nus-ncl/service-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/nus-ncl/service-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/nus-ncl/service-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/nus-ncl/service-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/nus-ncl/service-web/contents/{+path}","compare_url":"https://api.github.com/repos/nus-ncl/service-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nus-ncl/service-web/merges","archive_url":"https://api.github.com/repos/nus-ncl/service-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nus-ncl/service-web/downloads","issues_url":"https://api.github.com/repos/nus-ncl/service-web/issues{/number}","pulls_url":"https://api.github.com/repos/nus-ncl/service-web/pulls{/number}","milestones_url":"https://api.github.com/repos/nus-ncl/service-web/milestones{/number}","notifications_url":"https://api.github.com/repos/nus-ncl/service-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nus-ncl/service-web/labels{/name}","releases_url":"https://api.github.com/repos/nus-ncl/service-web/releases{/id}","deployments_url":"https://api.github.com/repos/nus-ncl/service-web/deployments","created_at":"2016-03-22T06:15:58Z","updated_at":"2016-10-24T07:12:44Z","pushed_at":"2016-12-02T09:54:53Z","git_url":"git://github.com/nus-ncl/service-web.git","ssh_url":"git@github.com:nus-ncl/service-web.git","clone_url":"https://github.com/nus-ncl/service-web.git","svn_url":"https://github.com/nus-ncl/service-web","homepage":null,"size":30907,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"nus-ncl:master","ref":"master","sha":"1ad7cfcb04cddc254e715e83d7bb2a1d2786a701","user":{"login":"nus-ncl","id":15359055,"avatar_url":"https://avatars.githubusercontent.com/u/15359055?v=3","gravatar_id":"","url":"https://api.github.com/users/nus-ncl","html_url":"https://github.com/nus-ncl","followers_url":"https://api.github.com/users/nus-ncl/followers","following_url":"https://api.github.com/users/nus-ncl/following{/other_user}","gists_url":"https://api.github.com/users/nus-ncl/gists{/gist_id}","starred_url":"https://api.github.com/users/nus-ncl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nus-ncl/subscriptions","organizations_url":"https://api.github.com/users/nus-ncl/orgs","repos_url":"https://api.github.com/users/nus-ncl/repos","events_url":"https://api.github.com/users/nus-ncl/events{/privacy}","received_events_url":"https://api.github.com/users/nus-ncl/received_events","type":"Organization","site_admin":false},"repo":{"id":54450246,"name":"service-web","full_name":"nus-ncl/service-web","owner":{"login":"nus-ncl","id":15359055,"avatar_url":"https://avatars.githubusercontent.com/u/15359055?v=3","gravatar_id":"","url":"https://api.github.com/users/nus-ncl","html_url":"https://github.com/nus-ncl","followers_url":"https://api.github.com/users/nus-ncl/followers","following_url":"https://api.github.com/users/nus-ncl/following{/other_user}","gists_url":"https://api.github.com/users/nus-ncl/gists{/gist_id}","starred_url":"https://api.github.com/users/nus-ncl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nus-ncl/subscriptions","organizations_url":"https://api.github.com/users/nus-ncl/orgs","repos_url":"https://api.github.com/users/nus-ncl/repos","events_url":"https://api.github.com/users/nus-ncl/events{/privacy}","received_events_url":"https://api.github.com/users/nus-ncl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nus-ncl/service-web","description":"Development of official NCL UI","fork":false,"url":"https://api.github.com/repos/nus-ncl/service-web","forks_url":"https://api.github.com/repos/nus-ncl/service-web/forks","keys_url":"https://api.github.com/repos/nus-ncl/service-web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nus-ncl/service-web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nus-ncl/service-web/teams","hooks_url":"https://api.github.com/repos/nus-ncl/service-web/hooks","issue_events_url":"https://api.github.com/repos/nus-ncl/service-web/issues/events{/number}","events_url":"https://api.github.com/repos/nus-ncl/service-web/events","assignees_url":"https://api.github.com/repos/nus-ncl/service-web/assignees{/user}","branches_url":"https://api.github.com/repos/nus-ncl/service-web/branches{/branch}","tags_url":"https://api.github.com/repos/nus-ncl/service-web/tags","blobs_url":"https://api.github.com/repos/nus-ncl/service-web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nus-ncl/service-web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nus-ncl/service-web/git/refs{/sha}","trees_url":"https://api.github.com/repos/nus-ncl/service-web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nus-ncl/service-web/statuses/{sha}","languages_url":"https://api.github.com/repos/nus-ncl/service-web/languages","stargazers_url":"https://api.github.com/repos/nus-ncl/service-web/stargazers","contributors_url":"https://api.github.com/repos/nus-ncl/service-web/contributors","subscribers_url":"https://api.github.com/repos/nus-ncl/service-web/subscribers","subscription_url":"https://api.github.com/repos/nus-ncl/service-web/subscription","commits_url":"https://api.github.com/repos/nus-ncl/service-web/commits{/sha}","git_commits_url":"https://api.github.com/repos/nus-ncl/service-web/git/commits{/sha}","comments_url":"https://api.github.com/repos/nus-ncl/service-web/comments{/number}","issue_comment_url":"https://api.github.com/repos/nus-ncl/service-web/issues/comments{/number}","contents_url":"https://api.github.com/repos/nus-ncl/service-web/contents/{+path}","compare_url":"https://api.github.com/repos/nus-ncl/service-web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nus-ncl/service-web/merges","archive_url":"https://api.github.com/repos/nus-ncl/service-web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nus-ncl/service-web/downloads","issues_url":"https://api.github.com/repos/nus-ncl/service-web/issues{/number}","pulls_url":"https://api.github.com/repos/nus-ncl/service-web/pulls{/number}","milestones_url":"https://api.github.com/repos/nus-ncl/service-web/milestones{/number}","notifications_url":"https://api.github.com/repos/nus-ncl/service-web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nus-ncl/service-web/labels{/name}","releases_url":"https://api.github.com/repos/nus-ncl/service-web/releases{/id}","deployments_url":"https://api.github.com/repos/nus-ncl/service-web/deployments","created_at":"2016-03-22T06:15:58Z","updated_at":"2016-10-24T07:12:44Z","pushed_at":"2016-12-02T09:54:53Z","git_url":"git://github.com/nus-ncl/service-web.git","ssh_url":"git@github.com:nus-ncl/service-web.git","clone_url":"https://github.com/nus-ncl/service-web.git","svn_url":"https://github.com/nus-ncl/service-web","homepage":null,"size":30907,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":5,"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nus-ncl/service-web/pulls/142"},"html":{"href":"https://github.com/nus-ncl/service-web/pull/142"},"issue":{"href":"https://api.github.com/repos/nus-ncl/service-web/issues/142"},"comments":{"href":"https://api.github.com/repos/nus-ncl/service-web/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/nus-ncl/service-web/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/nus-ncl/service-web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nus-ncl/service-web/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/nus-ncl/service-web/statuses/9fd77ac9d1e34191abece0e3002cbab2f12755c5"}}}}
{"actor":{"display_login":"ChrisZhong"}}