{"action":"created","comment":{"url":"https://api.github.com/repos/cBioPortal/cbioportal/pulls/comments/64917095","id":64917095,"diff_hunk":"@@ -147,6 +154,18 @@ public static void deleteAllRecords() throws DaoException {\n             JdbcUtil.closeAll(DaoTypeOfCancer.class, con, pstmt, rs);\n         }\n     }\n+    \n+    /**\n+     * Deletes all records from DB using DELETE statement.\n+     * \n+     * @param typeOfCancerId\n+     * @throws DaoException\n+     */\n+    public static void deleteAllTypesOfCancer() throws DaoException {","path":"core/src/main/java/org/mskcc/cbio/portal/dao/DaoTypeOfCancer.java","position":25,"original_position":25,"commit_id":"5823155b2032a12f79339f24a0c1b93caab32f8e","original_commit_id":"5823155b2032a12f79339f24a0c1b93caab32f8e","user":{"login":"jjgao","id":840895,"avatar_url":"https://avatars.githubusercontent.com/u/840895?v=3","gravatar_id":"","url":"https://api.github.com/users/jjgao","html_url":"https://github.com/jjgao","followers_url":"https://api.github.com/users/jjgao/followers","following_url":"https://api.github.com/users/jjgao/following{/other_user}","gists_url":"https://api.github.com/users/jjgao/gists{/gist_id}","starred_url":"https://api.github.com/users/jjgao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjgao/subscriptions","organizations_url":"https://api.github.com/users/jjgao/orgs","repos_url":"https://api.github.com/users/jjgao/repos","events_url":"https://api.github.com/users/jjgao/events{/privacy}","received_events_url":"https://api.github.com/users/jjgao/received_events","type":"User","site_admin":false},"body":"why?","created_at":"2016-05-27T14:54:10Z","updated_at":"2016-05-27T14:54:10Z","html_url":"https://github.com/cBioPortal/cbioportal/pull/1297#discussion_r64917095","pull_request_url":"https://api.github.com/repos/cBioPortal/cbioportal/pulls/1297","_links":{"self":{"href":"https://api.github.com/repos/cBioPortal/cbioportal/pulls/comments/64917095"},"html":{"href":"https://github.com/cBioPortal/cbioportal/pull/1297#discussion_r64917095"},"pull_request":{"href":"https://api.github.com/repos/cBioPortal/cbioportal/pulls/1297"}}},"pull_request":{"url":"https://api.github.com/repos/cBioPortal/cbioportal/pulls/1297","id":71719048,"html_url":"https://github.com/cBioPortal/cbioportal/pull/1297","diff_url":"https://github.com/cBioPortal/cbioportal/pull/1297.diff","patch_url":"https://github.com/cBioPortal/cbioportal/pull/1297.patch","issue_url":"https://api.github.com/repos/cBioPortal/cbioportal/issues/1297","number":1297,"state":"open","locked":false,"title":"Fix more unit tests","user":{"login":"pieterlukasse","id":2900303,"avatar_url":"https://avatars.githubusercontent.com/u/2900303?v=3","gravatar_id":"","url":"https://api.github.com/users/pieterlukasse","html_url":"https://github.com/pieterlukasse","followers_url":"https://api.github.com/users/pieterlukasse/followers","following_url":"https://api.github.com/users/pieterlukasse/following{/other_user}","gists_url":"https://api.github.com/users/pieterlukasse/gists{/gist_id}","starred_url":"https://api.github.com/users/pieterlukasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pieterlukasse/subscriptions","organizations_url":"https://api.github.com/users/pieterlukasse/orgs","repos_url":"https://api.github.com/users/pieterlukasse/repos","events_url":"https://api.github.com/users/pieterlukasse/events{/privacy}","received_events_url":"https://api.github.com/users/pieterlukasse/received_events","type":"User","site_admin":false},"body":"Fixed a couple of tests, making sure cache is cleared correctly before and after test execution. One of the tests was also calling a TRUNCATE table SQL execution, which cannot be rolled back and affects other tests depending on the order of execution of the tests. \r\n\r\n","created_at":"2016-05-27T14:10:59Z","updated_at":"2016-05-27T14:54:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a891f69ed056dcb1ee65836a957441e675534b96","assignee":{"login":"jjgao","id":840895,"avatar_url":"https://avatars.githubusercontent.com/u/840895?v=3","gravatar_id":"","url":"https://api.github.com/users/jjgao","html_url":"https://github.com/jjgao","followers_url":"https://api.github.com/users/jjgao/followers","following_url":"https://api.github.com/users/jjgao/following{/other_user}","gists_url":"https://api.github.com/users/jjgao/gists{/gist_id}","starred_url":"https://api.github.com/users/jjgao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjgao/subscriptions","organizations_url":"https://api.github.com/users/jjgao/orgs","repos_url":"https://api.github.com/users/jjgao/repos","events_url":"https://api.github.com/users/jjgao/events{/privacy}","received_events_url":"https://api.github.com/users/jjgao/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/cBioPortal/cbioportal/pulls/1297/commits","review_comments_url":"https://api.github.com/repos/cBioPortal/cbioportal/pulls/1297/comments","review_comment_url":"https://api.github.com/repos/cBioPortal/cbioportal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cBioPortal/cbioportal/issues/1297/comments","statuses_url":"https://api.github.com/repos/cBioPortal/cbioportal/statuses/5823155b2032a12f79339f24a0c1b93caab32f8e","head":{"label":"thehyve:fix_more_unit_tests","ref":"fix_more_unit_tests","sha":"5823155b2032a12f79339f24a0c1b93caab32f8e","user":{"login":"thehyve","id":1502440,"avatar_url":"https://avatars.githubusercontent.com/u/1502440?v=3","gravatar_id":"","url":"https://api.github.com/users/thehyve","html_url":"https://github.com/thehyve","followers_url":"https://api.github.com/users/thehyve/followers","following_url":"https://api.github.com/users/thehyve/following{/other_user}","gists_url":"https://api.github.com/users/thehyve/gists{/gist_id}","starred_url":"https://api.github.com/users/thehyve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehyve/subscriptions","organizations_url":"https://api.github.com/users/thehyve/orgs","repos_url":"https://api.github.com/users/thehyve/repos","events_url":"https://api.github.com/users/thehyve/events{/privacy}","received_events_url":"https://api.github.com/users/thehyve/received_events","type":"Organization","site_admin":false},"repo":{"id":37332427,"name":"cbioportal","full_name":"thehyve/cbioportal","owner":{"login":"thehyve","id":1502440,"avatar_url":"https://avatars.githubusercontent.com/u/1502440?v=3","gravatar_id":"","url":"https://api.github.com/users/thehyve","html_url":"https://github.com/thehyve","followers_url":"https://api.github.com/users/thehyve/followers","following_url":"https://api.github.com/users/thehyve/following{/other_user}","gists_url":"https://api.github.com/users/thehyve/gists{/gist_id}","starred_url":"https://api.github.com/users/thehyve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thehyve/subscriptions","organizations_url":"https://api.github.com/users/thehyve/orgs","repos_url":"https://api.github.com/users/thehyve/repos","events_url":"https://api.github.com/users/thehyve/events{/privacy}","received_events_url":"https://api.github.com/users/thehyve/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thehyve/cbioportal","description":"cBioPortal feature branches at The Hyve","fork":true,"url":"https://api.github.com/repos/thehyve/cbioportal","forks_url":"https://api.github.com/repos/thehyve/cbioportal/forks","keys_url":"https://api.github.com/repos/thehyve/cbioportal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thehyve/cbioportal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thehyve/cbioportal/teams","hooks_url":"https://api.github.com/repos/thehyve/cbioportal/hooks","issue_events_url":"https://api.github.com/repos/thehyve/cbioportal/issues/events{/number}","events_url":"https://api.github.com/repos/thehyve/cbioportal/events","assignees_url":"https://api.github.com/repos/thehyve/cbioportal/assignees{/user}","branches_url":"https://api.github.com/repos/thehyve/cbioportal/branches{/branch}","tags_url":"https://api.github.com/repos/thehyve/cbioportal/tags","blobs_url":"https://api.github.com/repos/thehyve/cbioportal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thehyve/cbioportal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thehyve/cbioportal/git/refs{/sha}","trees_url":"https://api.github.com/repos/thehyve/cbioportal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thehyve/cbioportal/statuses/{sha}","languages_url":"https://api.github.com/repos/thehyve/cbioportal/languages","stargazers_url":"https://api.github.com/repos/thehyve/cbioportal/stargazers","contributors_url":"https://api.github.com/repos/thehyve/cbioportal/contributors","subscribers_url":"https://api.github.com/repos/thehyve/cbioportal/subscribers","subscription_url":"https://api.github.com/repos/thehyve/cbioportal/subscription","commits_url":"https://api.github.com/repos/thehyve/cbioportal/commits{/sha}","git_commits_url":"https://api.github.com/repos/thehyve/cbioportal/git/commits{/sha}","comments_url":"https://api.github.com/repos/thehyve/cbioportal/comments{/number}","issue_comment_url":"https://api.github.com/repos/thehyve/cbioportal/issues/comments{/number}","contents_url":"https://api.github.com/repos/thehyve/cbioportal/contents/{+path}","compare_url":"https://api.github.com/repos/thehyve/cbioportal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thehyve/cbioportal/merges","archive_url":"https://api.github.com/repos/thehyve/cbioportal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thehyve/cbioportal/downloads","issues_url":"https://api.github.com/repos/thehyve/cbioportal/issues{/number}","pulls_url":"https://api.github.com/repos/thehyve/cbioportal/pulls{/number}","milestones_url":"https://api.github.com/repos/thehyve/cbioportal/milestones{/number}","notifications_url":"https://api.github.com/repos/thehyve/cbioportal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thehyve/cbioportal/labels{/name}","releases_url":"https://api.github.com/repos/thehyve/cbioportal/releases{/id}","deployments_url":"https://api.github.com/repos/thehyve/cbioportal/deployments","created_at":"2015-06-12T16:27:05Z","updated_at":"2016-04-25T10:11:35Z","pushed_at":"2016-05-27T14:38:26Z","git_url":"git://github.com/thehyve/cbioportal.git","ssh_url":"git@github.com:thehyve/cbioportal.git","clone_url":"https://github.com/thehyve/cbioportal.git","svn_url":"https://github.com/thehyve/cbioportal","homepage":"","size":166742,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"cBioPortal:rc","ref":"rc","sha":"2682f0b2cd17f0da2afecfab14df9d691cd4d908","user":{"login":"cBioPortal","id":9876251,"avatar_url":"https://avatars.githubusercontent.com/u/9876251?v=3","gravatar_id":"","url":"https://api.github.com/users/cBioPortal","html_url":"https://github.com/cBioPortal","followers_url":"https://api.github.com/users/cBioPortal/followers","following_url":"https://api.github.com/users/cBioPortal/following{/other_user}","gists_url":"https://api.github.com/users/cBioPortal/gists{/gist_id}","starred_url":"https://api.github.com/users/cBioPortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cBioPortal/subscriptions","organizations_url":"https://api.github.com/users/cBioPortal/orgs","repos_url":"https://api.github.com/users/cBioPortal/repos","events_url":"https://api.github.com/users/cBioPortal/events{/privacy}","received_events_url":"https://api.github.com/users/cBioPortal/received_events","type":"Organization","site_admin":false},"repo":{"id":32481543,"name":"cbioportal","full_name":"cBioPortal/cbioportal","owner":{"login":"cBioPortal","id":9876251,"avatar_url":"https://avatars.githubusercontent.com/u/9876251?v=3","gravatar_id":"","url":"https://api.github.com/users/cBioPortal","html_url":"https://github.com/cBioPortal","followers_url":"https://api.github.com/users/cBioPortal/followers","following_url":"https://api.github.com/users/cBioPortal/following{/other_user}","gists_url":"https://api.github.com/users/cBioPortal/gists{/gist_id}","starred_url":"https://api.github.com/users/cBioPortal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cBioPortal/subscriptions","organizations_url":"https://api.github.com/users/cBioPortal/orgs","repos_url":"https://api.github.com/users/cBioPortal/repos","events_url":"https://api.github.com/users/cBioPortal/events{/privacy}","received_events_url":"https://api.github.com/users/cBioPortal/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cBioPortal/cbioportal","description":"","fork":false,"url":"https://api.github.com/repos/cBioPortal/cbioportal","forks_url":"https://api.github.com/repos/cBioPortal/cbioportal/forks","keys_url":"https://api.github.com/repos/cBioPortal/cbioportal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cBioPortal/cbioportal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cBioPortal/cbioportal/teams","hooks_url":"https://api.github.com/repos/cBioPortal/cbioportal/hooks","issue_events_url":"https://api.github.com/repos/cBioPortal/cbioportal/issues/events{/number}","events_url":"https://api.github.com/repos/cBioPortal/cbioportal/events","assignees_url":"https://api.github.com/repos/cBioPortal/cbioportal/assignees{/user}","branches_url":"https://api.github.com/repos/cBioPortal/cbioportal/branches{/branch}","tags_url":"https://api.github.com/repos/cBioPortal/cbioportal/tags","blobs_url":"https://api.github.com/repos/cBioPortal/cbioportal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cBioPortal/cbioportal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cBioPortal/cbioportal/git/refs{/sha}","trees_url":"https://api.github.com/repos/cBioPortal/cbioportal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cBioPortal/cbioportal/statuses/{sha}","languages_url":"https://api.github.com/repos/cBioPortal/cbioportal/languages","stargazers_url":"https://api.github.com/repos/cBioPortal/cbioportal/stargazers","contributors_url":"https://api.github.com/repos/cBioPortal/cbioportal/contributors","subscribers_url":"https://api.github.com/repos/cBioPortal/cbioportal/subscribers","subscription_url":"https://api.github.com/repos/cBioPortal/cbioportal/subscription","commits_url":"https://api.github.com/repos/cBioPortal/cbioportal/commits{/sha}","git_commits_url":"https://api.github.com/repos/cBioPortal/cbioportal/git/commits{/sha}","comments_url":"https://api.github.com/repos/cBioPortal/cbioportal/comments{/number}","issue_comment_url":"https://api.github.com/repos/cBioPortal/cbioportal/issues/comments{/number}","contents_url":"https://api.github.com/repos/cBioPortal/cbioportal/contents/{+path}","compare_url":"https://api.github.com/repos/cBioPortal/cbioportal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cBioPortal/cbioportal/merges","archive_url":"https://api.github.com/repos/cBioPortal/cbioportal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cBioPortal/cbioportal/downloads","issues_url":"https://api.github.com/repos/cBioPortal/cbioportal/issues{/number}","pulls_url":"https://api.github.com/repos/cBioPortal/cbioportal/pulls{/number}","milestones_url":"https://api.github.com/repos/cBioPortal/cbioportal/milestones{/number}","notifications_url":"https://api.github.com/repos/cBioPortal/cbioportal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cBioPortal/cbioportal/labels{/name}","releases_url":"https://api.github.com/repos/cBioPortal/cbioportal/releases{/id}","deployments_url":"https://api.github.com/repos/cBioPortal/cbioportal/deployments","created_at":"2015-03-18T20:09:09Z","updated_at":"2016-05-12T07:48:41Z","pushed_at":"2016-05-27T14:15:59Z","git_url":"git://github.com/cBioPortal/cbioportal.git","ssh_url":"git@github.com:cBioPortal/cbioportal.git","clone_url":"https://github.com/cBioPortal/cbioportal.git","svn_url":"https://github.com/cBioPortal/cbioportal","homepage":null,"size":192842,"stargazers_count":55,"watchers_count":55,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":78,"mirror_url":null,"open_issues_count":281,"forks":78,"open_issues":281,"watchers":55,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cBioPortal/cbioportal/pulls/1297"},"html":{"href":"https://github.com/cBioPortal/cbioportal/pull/1297"},"issue":{"href":"https://api.github.com/repos/cBioPortal/cbioportal/issues/1297"},"comments":{"href":"https://api.github.com/repos/cBioPortal/cbioportal/issues/1297/comments"},"review_comments":{"href":"https://api.github.com/repos/cBioPortal/cbioportal/pulls/1297/comments"},"review_comment":{"href":"https://api.github.com/repos/cBioPortal/cbioportal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cBioPortal/cbioportal/pulls/1297/commits"},"statuses":{"href":"https://api.github.com/repos/cBioPortal/cbioportal/statuses/5823155b2032a12f79339f24a0c1b93caab32f8e"}}}}
{"actor":{"display_login":"jjgao"}}