{"action":"created","comment":{"url":"https://api.github.com/repos/apetkau/blend4j/pulls/comments/26783974","id":26783974,"diff_hunk":"@@ -22,4 +22,11 @@\n   ClientResponse runWorkflowResponse(WorkflowInputs workflowInputs);\n \n   WorkflowOutputs runWorkflow(WorkflowInputs workflowInputs);\n+  \n+  /**\n+   * Deletes the workflow with the given id.  This action is irreversible.\n+   * @param id The id of the workflow to delete.\n+   * @return A {@link ClientResponse} for this request.\n+   */\n+  ClientResponse deleteWorkflowResponse(String id);","path":"src/main/java/com/github/jmchilton/blend4j/galaxy/WorkflowsClient.java","position":10,"original_position":10,"commit_id":"999f378f3667f9b1fd2ca2f9b7666092b38bb258","original_commit_id":"999f378f3667f9b1fd2ca2f9b7666092b38bb258","user":{"login":"fbristow","id":6180248,"avatar_url":"https://avatars.githubusercontent.com/u/6180248?v=3","gravatar_id":"","url":"https://api.github.com/users/fbristow","html_url":"https://github.com/fbristow","followers_url":"https://api.github.com/users/fbristow/followers","following_url":"https://api.github.com/users/fbristow/following{/other_user}","gists_url":"https://api.github.com/users/fbristow/gists{/gist_id}","starred_url":"https://api.github.com/users/fbristow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbristow/subscriptions","organizations_url":"https://api.github.com/users/fbristow/orgs","repos_url":"https://api.github.com/users/fbristow/repos","events_url":"https://api.github.com/users/fbristow/events{/privacy}","received_events_url":"https://api.github.com/users/fbristow/received_events","type":"User","site_admin":false},"body":"Further to `ClientResponse` and `DeleteHistoryResponse`, why does deleting a workflow *only* have `ClientResponse` as a return type?","created_at":"2015-03-19T18:30:11Z","updated_at":"2015-03-19T18:30:11Z","html_url":"https://github.com/apetkau/blend4j/pull/4#discussion_r26783974","pull_request_url":"https://api.github.com/repos/apetkau/blend4j/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/apetkau/blend4j/pulls/comments/26783974"},"html":{"href":"https://github.com/apetkau/blend4j/pull/4#discussion_r26783974"},"pull_request":{"href":"https://api.github.com/repos/apetkau/blend4j/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/apetkau/blend4j/pulls/4","id":31551430,"html_url":"https://github.com/apetkau/blend4j/pull/4","diff_url":"https://github.com/apetkau/blend4j/pull/4.diff","patch_url":"https://github.com/apetkau/blend4j/pull/4.patch","issue_url":"https://api.github.com/repos/apetkau/blend4j/issues/4","number":4,"state":"open","locked":false,"title":"Feature/delete galaxy objects","user":{"login":"apetkau","id":200517,"avatar_url":"https://avatars.githubusercontent.com/u/200517?v=3","gravatar_id":"","url":"https://api.github.com/users/apetkau","html_url":"https://github.com/apetkau","followers_url":"https://api.github.com/users/apetkau/followers","following_url":"https://api.github.com/users/apetkau/following{/other_user}","gists_url":"https://api.github.com/users/apetkau/gists{/gist_id}","starred_url":"https://api.github.com/users/apetkau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apetkau/subscriptions","organizations_url":"https://api.github.com/users/apetkau/orgs","repos_url":"https://api.github.com/users/apetkau/repos","events_url":"https://api.github.com/users/apetkau/events{/privacy}","received_events_url":"https://api.github.com/users/apetkau/received_events","type":"User","site_admin":false},"body":"This adds the methods to delete Histories, Data Libraries, and Workflows.  This can be accomplished by running the methods:\r\n\r\n```java\r\nHistoriesClient.deleteHistory(String historyId);\r\nLibrariesClient.deleteLibraryResponse(String libraryId);\r\nWorkflowsClient.deleteWorkflowResponse(String workflowId);\r\n```\r\n\r\nThe `HistoriesClient.deleteHistory` will return a `HistoryDeleteResponse` representing the information returned from a DELETE operation.  Deleting libraries or workflows will just return a `ClientResponse` (specific response objects for each could be added though).\r\n\r\nAlso, `HistoriesClient.deleteHistory` does not allow for purging of histories.  This is due to a bug in Java 6 and 7 which disallows sending a body along with a DELETE request (see http://bugs.java.com/view_bug.do?bug_id=7157360 and http://stackoverflow.com/questions/12670169/not-able-to-invoke-an-delete-web-service-in-rest-jersey/20075713#20075713).\r\n\r\nThis can be tested if you have Galaxy by running `mvn test -Dtest.galaxy.key=key -Dtest.galaxy.instance=http://localhost:8080`","created_at":"2015-03-19T18:23:15Z","updated_at":"2015-03-19T18:30:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b6ae67a96613e238b20c6e46c81ba69722d941c","assignee":{"login":"fbristow","id":6180248,"avatar_url":"https://avatars.githubusercontent.com/u/6180248?v=3","gravatar_id":"","url":"https://api.github.com/users/fbristow","html_url":"https://github.com/fbristow","followers_url":"https://api.github.com/users/fbristow/followers","following_url":"https://api.github.com/users/fbristow/following{/other_user}","gists_url":"https://api.github.com/users/fbristow/gists{/gist_id}","starred_url":"https://api.github.com/users/fbristow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fbristow/subscriptions","organizations_url":"https://api.github.com/users/fbristow/orgs","repos_url":"https://api.github.com/users/fbristow/repos","events_url":"https://api.github.com/users/fbristow/events{/privacy}","received_events_url":"https://api.github.com/users/fbristow/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/apetkau/blend4j/pulls/4/commits","review_comments_url":"https://api.github.com/repos/apetkau/blend4j/pulls/4/comments","review_comment_url":"https://api.github.com/repos/apetkau/blend4j/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apetkau/blend4j/issues/4/comments","statuses_url":"https://api.github.com/repos/apetkau/blend4j/statuses/999f378f3667f9b1fd2ca2f9b7666092b38bb258","head":{"label":"apetkau:feature/delete-galaxy-objects","ref":"feature/delete-galaxy-objects","sha":"999f378f3667f9b1fd2ca2f9b7666092b38bb258","user":{"login":"apetkau","id":200517,"avatar_url":"https://avatars.githubusercontent.com/u/200517?v=3","gravatar_id":"","url":"https://api.github.com/users/apetkau","html_url":"https://github.com/apetkau","followers_url":"https://api.github.com/users/apetkau/followers","following_url":"https://api.github.com/users/apetkau/following{/other_user}","gists_url":"https://api.github.com/users/apetkau/gists{/gist_id}","starred_url":"https://api.github.com/users/apetkau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apetkau/subscriptions","organizations_url":"https://api.github.com/users/apetkau/orgs","repos_url":"https://api.github.com/users/apetkau/repos","events_url":"https://api.github.com/users/apetkau/events{/privacy}","received_events_url":"https://api.github.com/users/apetkau/received_events","type":"User","site_admin":false},"repo":{"id":15229926,"name":"blend4j","full_name":"apetkau/blend4j","owner":{"login":"apetkau","id":200517,"avatar_url":"https://avatars.githubusercontent.com/u/200517?v=3","gravatar_id":"","url":"https://api.github.com/users/apetkau","html_url":"https://github.com/apetkau","followers_url":"https://api.github.com/users/apetkau/followers","following_url":"https://api.github.com/users/apetkau/following{/other_user}","gists_url":"https://api.github.com/users/apetkau/gists{/gist_id}","starred_url":"https://api.github.com/users/apetkau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apetkau/subscriptions","organizations_url":"https://api.github.com/users/apetkau/orgs","repos_url":"https://api.github.com/users/apetkau/repos","events_url":"https://api.github.com/users/apetkau/events{/privacy}","received_events_url":"https://api.github.com/users/apetkau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/apetkau/blend4j","description":"blend4j is a JVM partial reimplemenation of the Python library bioblend for interacting with Galaxy, CloudMan, and BioCloudCentral.","fork":true,"url":"https://api.github.com/repos/apetkau/blend4j","forks_url":"https://api.github.com/repos/apetkau/blend4j/forks","keys_url":"https://api.github.com/repos/apetkau/blend4j/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apetkau/blend4j/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apetkau/blend4j/teams","hooks_url":"https://api.github.com/repos/apetkau/blend4j/hooks","issue_events_url":"https://api.github.com/repos/apetkau/blend4j/issues/events{/number}","events_url":"https://api.github.com/repos/apetkau/blend4j/events","assignees_url":"https://api.github.com/repos/apetkau/blend4j/assignees{/user}","branches_url":"https://api.github.com/repos/apetkau/blend4j/branches{/branch}","tags_url":"https://api.github.com/repos/apetkau/blend4j/tags","blobs_url":"https://api.github.com/repos/apetkau/blend4j/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apetkau/blend4j/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apetkau/blend4j/git/refs{/sha}","trees_url":"https://api.github.com/repos/apetkau/blend4j/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apetkau/blend4j/statuses/{sha}","languages_url":"https://api.github.com/repos/apetkau/blend4j/languages","stargazers_url":"https://api.github.com/repos/apetkau/blend4j/stargazers","contributors_url":"https://api.github.com/repos/apetkau/blend4j/contributors","subscribers_url":"https://api.github.com/repos/apetkau/blend4j/subscribers","subscription_url":"https://api.github.com/repos/apetkau/blend4j/subscription","commits_url":"https://api.github.com/repos/apetkau/blend4j/commits{/sha}","git_commits_url":"https://api.github.com/repos/apetkau/blend4j/git/commits{/sha}","comments_url":"https://api.github.com/repos/apetkau/blend4j/comments{/number}","issue_comment_url":"https://api.github.com/repos/apetkau/blend4j/issues/comments{/number}","contents_url":"https://api.github.com/repos/apetkau/blend4j/contents/{+path}","compare_url":"https://api.github.com/repos/apetkau/blend4j/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apetkau/blend4j/merges","archive_url":"https://api.github.com/repos/apetkau/blend4j/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apetkau/blend4j/downloads","issues_url":"https://api.github.com/repos/apetkau/blend4j/issues{/number}","pulls_url":"https://api.github.com/repos/apetkau/blend4j/pulls{/number}","milestones_url":"https://api.github.com/repos/apetkau/blend4j/milestones{/number}","notifications_url":"https://api.github.com/repos/apetkau/blend4j/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apetkau/blend4j/labels{/name}","releases_url":"https://api.github.com/repos/apetkau/blend4j/releases{/id}","created_at":"2013-12-16T15:49:30Z","updated_at":"2015-03-18T17:37:45Z","pushed_at":"2015-03-19T18:17:09Z","git_url":"git://github.com/apetkau/blend4j.git","ssh_url":"git@github.com:apetkau/blend4j.git","clone_url":"https://github.com/apetkau/blend4j.git","svn_url":"https://github.com/apetkau/blend4j","homepage":"","size":683,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"apetkau:development","ref":"development","sha":"97d111108a1f3b1ece208960a38356949867d537","user":{"login":"apetkau","id":200517,"avatar_url":"https://avatars.githubusercontent.com/u/200517?v=3","gravatar_id":"","url":"https://api.github.com/users/apetkau","html_url":"https://github.com/apetkau","followers_url":"https://api.github.com/users/apetkau/followers","following_url":"https://api.github.com/users/apetkau/following{/other_user}","gists_url":"https://api.github.com/users/apetkau/gists{/gist_id}","starred_url":"https://api.github.com/users/apetkau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apetkau/subscriptions","organizations_url":"https://api.github.com/users/apetkau/orgs","repos_url":"https://api.github.com/users/apetkau/repos","events_url":"https://api.github.com/users/apetkau/events{/privacy}","received_events_url":"https://api.github.com/users/apetkau/received_events","type":"User","site_admin":false},"repo":{"id":15229926,"name":"blend4j","full_name":"apetkau/blend4j","owner":{"login":"apetkau","id":200517,"avatar_url":"https://avatars.githubusercontent.com/u/200517?v=3","gravatar_id":"","url":"https://api.github.com/users/apetkau","html_url":"https://github.com/apetkau","followers_url":"https://api.github.com/users/apetkau/followers","following_url":"https://api.github.com/users/apetkau/following{/other_user}","gists_url":"https://api.github.com/users/apetkau/gists{/gist_id}","starred_url":"https://api.github.com/users/apetkau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apetkau/subscriptions","organizations_url":"https://api.github.com/users/apetkau/orgs","repos_url":"https://api.github.com/users/apetkau/repos","events_url":"https://api.github.com/users/apetkau/events{/privacy}","received_events_url":"https://api.github.com/users/apetkau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/apetkau/blend4j","description":"blend4j is a JVM partial reimplemenation of the Python library bioblend for interacting with Galaxy, CloudMan, and BioCloudCentral.","fork":true,"url":"https://api.github.com/repos/apetkau/blend4j","forks_url":"https://api.github.com/repos/apetkau/blend4j/forks","keys_url":"https://api.github.com/repos/apetkau/blend4j/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apetkau/blend4j/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apetkau/blend4j/teams","hooks_url":"https://api.github.com/repos/apetkau/blend4j/hooks","issue_events_url":"https://api.github.com/repos/apetkau/blend4j/issues/events{/number}","events_url":"https://api.github.com/repos/apetkau/blend4j/events","assignees_url":"https://api.github.com/repos/apetkau/blend4j/assignees{/user}","branches_url":"https://api.github.com/repos/apetkau/blend4j/branches{/branch}","tags_url":"https://api.github.com/repos/apetkau/blend4j/tags","blobs_url":"https://api.github.com/repos/apetkau/blend4j/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apetkau/blend4j/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apetkau/blend4j/git/refs{/sha}","trees_url":"https://api.github.com/repos/apetkau/blend4j/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apetkau/blend4j/statuses/{sha}","languages_url":"https://api.github.com/repos/apetkau/blend4j/languages","stargazers_url":"https://api.github.com/repos/apetkau/blend4j/stargazers","contributors_url":"https://api.github.com/repos/apetkau/blend4j/contributors","subscribers_url":"https://api.github.com/repos/apetkau/blend4j/subscribers","subscription_url":"https://api.github.com/repos/apetkau/blend4j/subscription","commits_url":"https://api.github.com/repos/apetkau/blend4j/commits{/sha}","git_commits_url":"https://api.github.com/repos/apetkau/blend4j/git/commits{/sha}","comments_url":"https://api.github.com/repos/apetkau/blend4j/comments{/number}","issue_comment_url":"https://api.github.com/repos/apetkau/blend4j/issues/comments{/number}","contents_url":"https://api.github.com/repos/apetkau/blend4j/contents/{+path}","compare_url":"https://api.github.com/repos/apetkau/blend4j/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apetkau/blend4j/merges","archive_url":"https://api.github.com/repos/apetkau/blend4j/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apetkau/blend4j/downloads","issues_url":"https://api.github.com/repos/apetkau/blend4j/issues{/number}","pulls_url":"https://api.github.com/repos/apetkau/blend4j/pulls{/number}","milestones_url":"https://api.github.com/repos/apetkau/blend4j/milestones{/number}","notifications_url":"https://api.github.com/repos/apetkau/blend4j/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apetkau/blend4j/labels{/name}","releases_url":"https://api.github.com/repos/apetkau/blend4j/releases{/id}","created_at":"2013-12-16T15:49:30Z","updated_at":"2015-03-18T17:37:45Z","pushed_at":"2015-03-19T18:17:09Z","git_url":"git://github.com/apetkau/blend4j.git","ssh_url":"git@github.com:apetkau/blend4j.git","clone_url":"https://github.com/apetkau/blend4j.git","svn_url":"https://github.com/apetkau/blend4j","homepage":"","size":683,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apetkau/blend4j/pulls/4"},"html":{"href":"https://github.com/apetkau/blend4j/pull/4"},"issue":{"href":"https://api.github.com/repos/apetkau/blend4j/issues/4"},"comments":{"href":"https://api.github.com/repos/apetkau/blend4j/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/apetkau/blend4j/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/apetkau/blend4j/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apetkau/blend4j/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/apetkau/blend4j/statuses/999f378f3667f9b1fd2ca2f9b7666092b38bb258"}}}}