{"action":"created","comment":{"url":"https://api.github.com/repos/lake-lerna/hydra/pulls/comments/76854463","id":76854463,"diff_hunk":"@@ -418,6 +418,19 @@ def create_app_instances_group(self, app_name, group_name, num_app_instances, an\n         app_grp.add_tasks_to_group(tasks_list)\n         return app_grp\n \n+    def delete_app_instances_group(self, group_name):\n+        \"\"\"\n+        Delete a particular tasks group.\n+        @args:\n+        group_name:          Name of the app instances' group\n+        :return:             return 0 in case of 0. 1 otherwise.\n+        \"\"\"\n+        if group_name not in self.app_group:\n+            l.error(\"Group with this name does NOT exist\")\n+            return 1","path":"src/main/python/hydra/lib/hydrabase.py","position":13,"original_position":13,"commit_id":"aa33c083998534914e7dd62d832467121630a5da","original_commit_id":"aa33c083998534914e7dd62d832467121630a5da","user":{"login":"kratos7","id":16633018,"avatar_url":"https://avatars.githubusercontent.com/u/16633018?v=3","gravatar_id":"","url":"https://api.github.com/users/kratos7","html_url":"https://github.com/kratos7","followers_url":"https://api.github.com/users/kratos7/followers","following_url":"https://api.github.com/users/kratos7/following{/other_user}","gists_url":"https://api.github.com/users/kratos7/gists{/gist_id}","starred_url":"https://api.github.com/users/kratos7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kratos7/subscriptions","organizations_url":"https://api.github.com/users/kratos7/orgs","repos_url":"https://api.github.com/users/kratos7/repos","events_url":"https://api.github.com/users/kratos7/events{/privacy}","received_events_url":"https://api.github.com/users/kratos7/received_events","type":"User","site_admin":false},"body":"Usually, pythonic is to return True and False, yes they get translated to 1 and 0 but still :)","created_at":"2016-08-30T18:39:32Z","updated_at":"2016-08-30T18:39:32Z","html_url":"https://github.com/lake-lerna/hydra/pull/83#discussion_r76854463","pull_request_url":"https://api.github.com/repos/lake-lerna/hydra/pulls/83","_links":{"self":{"href":"https://api.github.com/repos/lake-lerna/hydra/pulls/comments/76854463"},"html":{"href":"https://github.com/lake-lerna/hydra/pull/83#discussion_r76854463"},"pull_request":{"href":"https://api.github.com/repos/lake-lerna/hydra/pulls/83"}}},"pull_request":{"url":"https://api.github.com/repos/lake-lerna/hydra/pulls/83","id":83203672,"html_url":"https://github.com/lake-lerna/hydra/pull/83","diff_url":"https://github.com/lake-lerna/hydra/pull/83.diff","patch_url":"https://github.com/lake-lerna/hydra/pull/83.patch","issue_url":"https://api.github.com/repos/lake-lerna/hydra/issues/83","number":83,"state":"open","locked":false,"title":"Delete tasks group from hydra","user":{"login":"tahir24434","id":3808659,"avatar_url":"https://avatars.githubusercontent.com/u/3808659?v=3","gravatar_id":"","url":"https://api.github.com/users/tahir24434","html_url":"https://github.com/tahir24434","followers_url":"https://api.github.com/users/tahir24434/followers","following_url":"https://api.github.com/users/tahir24434/following{/other_user}","gists_url":"https://api.github.com/users/tahir24434/gists{/gist_id}","starred_url":"https://api.github.com/users/tahir24434/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tahir24434/subscriptions","organizations_url":"https://api.github.com/users/tahir24434/orgs","repos_url":"https://api.github.com/users/tahir24434/repos","events_url":"https://api.github.com/users/tahir24434/events{/privacy}","received_events_url":"https://api.github.com/users/tahir24434/received_events","type":"User","site_admin":false},"body":"Expose functions to delete particular/all groups from hydra.\r\n\r\nSigned-off-by: trauf <tahir@plumgrid.com>","created_at":"2016-08-30T03:38:04Z","updated_at":"2016-08-30T18:39:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"622a65aed31635b3fdb01c9679b167ff86e9d26f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lake-lerna/hydra/pulls/83/commits","review_comments_url":"https://api.github.com/repos/lake-lerna/hydra/pulls/83/comments","review_comment_url":"https://api.github.com/repos/lake-lerna/hydra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lake-lerna/hydra/issues/83/comments","statuses_url":"https://api.github.com/repos/lake-lerna/hydra/statuses/aa33c083998534914e7dd62d832467121630a5da","head":{"label":"tahir24434:master","ref":"master","sha":"aa33c083998534914e7dd62d832467121630a5da","user":{"login":"tahir24434","id":3808659,"avatar_url":"https://avatars.githubusercontent.com/u/3808659?v=3","gravatar_id":"","url":"https://api.github.com/users/tahir24434","html_url":"https://github.com/tahir24434","followers_url":"https://api.github.com/users/tahir24434/followers","following_url":"https://api.github.com/users/tahir24434/following{/other_user}","gists_url":"https://api.github.com/users/tahir24434/gists{/gist_id}","starred_url":"https://api.github.com/users/tahir24434/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tahir24434/subscriptions","organizations_url":"https://api.github.com/users/tahir24434/orgs","repos_url":"https://api.github.com/users/tahir24434/repos","events_url":"https://api.github.com/users/tahir24434/events{/privacy}","received_events_url":"https://api.github.com/users/tahir24434/received_events","type":"User","site_admin":false},"repo":{"id":59374110,"name":"hydra","full_name":"tahir24434/hydra","owner":{"login":"tahir24434","id":3808659,"avatar_url":"https://avatars.githubusercontent.com/u/3808659?v=3","gravatar_id":"","url":"https://api.github.com/users/tahir24434","html_url":"https://github.com/tahir24434","followers_url":"https://api.github.com/users/tahir24434/followers","following_url":"https://api.github.com/users/tahir24434/following{/other_user}","gists_url":"https://api.github.com/users/tahir24434/gists{/gist_id}","starred_url":"https://api.github.com/users/tahir24434/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tahir24434/subscriptions","organizations_url":"https://api.github.com/users/tahir24434/orgs","repos_url":"https://api.github.com/users/tahir24434/repos","events_url":"https://api.github.com/users/tahir24434/events{/privacy}","received_events_url":"https://api.github.com/users/tahir24434/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tahir24434/hydra","description":"A Scale Testing infra using Mesos and marathon","fork":true,"url":"https://api.github.com/repos/tahir24434/hydra","forks_url":"https://api.github.com/repos/tahir24434/hydra/forks","keys_url":"https://api.github.com/repos/tahir24434/hydra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tahir24434/hydra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tahir24434/hydra/teams","hooks_url":"https://api.github.com/repos/tahir24434/hydra/hooks","issue_events_url":"https://api.github.com/repos/tahir24434/hydra/issues/events{/number}","events_url":"https://api.github.com/repos/tahir24434/hydra/events","assignees_url":"https://api.github.com/repos/tahir24434/hydra/assignees{/user}","branches_url":"https://api.github.com/repos/tahir24434/hydra/branches{/branch}","tags_url":"https://api.github.com/repos/tahir24434/hydra/tags","blobs_url":"https://api.github.com/repos/tahir24434/hydra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tahir24434/hydra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tahir24434/hydra/git/refs{/sha}","trees_url":"https://api.github.com/repos/tahir24434/hydra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tahir24434/hydra/statuses/{sha}","languages_url":"https://api.github.com/repos/tahir24434/hydra/languages","stargazers_url":"https://api.github.com/repos/tahir24434/hydra/stargazers","contributors_url":"https://api.github.com/repos/tahir24434/hydra/contributors","subscribers_url":"https://api.github.com/repos/tahir24434/hydra/subscribers","subscription_url":"https://api.github.com/repos/tahir24434/hydra/subscription","commits_url":"https://api.github.com/repos/tahir24434/hydra/commits{/sha}","git_commits_url":"https://api.github.com/repos/tahir24434/hydra/git/commits{/sha}","comments_url":"https://api.github.com/repos/tahir24434/hydra/comments{/number}","issue_comment_url":"https://api.github.com/repos/tahir24434/hydra/issues/comments{/number}","contents_url":"https://api.github.com/repos/tahir24434/hydra/contents/{+path}","compare_url":"https://api.github.com/repos/tahir24434/hydra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tahir24434/hydra/merges","archive_url":"https://api.github.com/repos/tahir24434/hydra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tahir24434/hydra/downloads","issues_url":"https://api.github.com/repos/tahir24434/hydra/issues{/number}","pulls_url":"https://api.github.com/repos/tahir24434/hydra/pulls{/number}","milestones_url":"https://api.github.com/repos/tahir24434/hydra/milestones{/number}","notifications_url":"https://api.github.com/repos/tahir24434/hydra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tahir24434/hydra/labels{/name}","releases_url":"https://api.github.com/repos/tahir24434/hydra/releases{/id}","deployments_url":"https://api.github.com/repos/tahir24434/hydra/deployments","created_at":"2016-05-21T17:54:56Z","updated_at":"2016-05-21T17:54:58Z","pushed_at":"2016-08-30T05:06:40Z","git_url":"git://github.com/tahir24434/hydra.git","ssh_url":"git@github.com:tahir24434/hydra.git","clone_url":"https://github.com/tahir24434/hydra.git","svn_url":"https://github.com/tahir24434/hydra","homepage":null,"size":573,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"lake-lerna:master","ref":"master","sha":"d03616c252bfd8e54e190a9f6d38de0853f4c9d8","user":{"login":"lake-lerna","id":19496573,"avatar_url":"https://avatars.githubusercontent.com/u/19496573?v=3","gravatar_id":"","url":"https://api.github.com/users/lake-lerna","html_url":"https://github.com/lake-lerna","followers_url":"https://api.github.com/users/lake-lerna/followers","following_url":"https://api.github.com/users/lake-lerna/following{/other_user}","gists_url":"https://api.github.com/users/lake-lerna/gists{/gist_id}","starred_url":"https://api.github.com/users/lake-lerna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lake-lerna/subscriptions","organizations_url":"https://api.github.com/users/lake-lerna/orgs","repos_url":"https://api.github.com/users/lake-lerna/repos","events_url":"https://api.github.com/users/lake-lerna/events{/privacy}","received_events_url":"https://api.github.com/users/lake-lerna/received_events","type":"User","site_admin":false},"repo":{"id":52956862,"name":"hydra","full_name":"lake-lerna/hydra","owner":{"login":"lake-lerna","id":19496573,"avatar_url":"https://avatars.githubusercontent.com/u/19496573?v=3","gravatar_id":"","url":"https://api.github.com/users/lake-lerna","html_url":"https://github.com/lake-lerna","followers_url":"https://api.github.com/users/lake-lerna/followers","following_url":"https://api.github.com/users/lake-lerna/following{/other_user}","gists_url":"https://api.github.com/users/lake-lerna/gists{/gist_id}","starred_url":"https://api.github.com/users/lake-lerna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lake-lerna/subscriptions","organizations_url":"https://api.github.com/users/lake-lerna/orgs","repos_url":"https://api.github.com/users/lake-lerna/repos","events_url":"https://api.github.com/users/lake-lerna/events{/privacy}","received_events_url":"https://api.github.com/users/lake-lerna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lake-lerna/hydra","description":"A Scale Testing infra using Mesos and marathon","fork":false,"url":"https://api.github.com/repos/lake-lerna/hydra","forks_url":"https://api.github.com/repos/lake-lerna/hydra/forks","keys_url":"https://api.github.com/repos/lake-lerna/hydra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lake-lerna/hydra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lake-lerna/hydra/teams","hooks_url":"https://api.github.com/repos/lake-lerna/hydra/hooks","issue_events_url":"https://api.github.com/repos/lake-lerna/hydra/issues/events{/number}","events_url":"https://api.github.com/repos/lake-lerna/hydra/events","assignees_url":"https://api.github.com/repos/lake-lerna/hydra/assignees{/user}","branches_url":"https://api.github.com/repos/lake-lerna/hydra/branches{/branch}","tags_url":"https://api.github.com/repos/lake-lerna/hydra/tags","blobs_url":"https://api.github.com/repos/lake-lerna/hydra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lake-lerna/hydra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lake-lerna/hydra/git/refs{/sha}","trees_url":"https://api.github.com/repos/lake-lerna/hydra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lake-lerna/hydra/statuses/{sha}","languages_url":"https://api.github.com/repos/lake-lerna/hydra/languages","stargazers_url":"https://api.github.com/repos/lake-lerna/hydra/stargazers","contributors_url":"https://api.github.com/repos/lake-lerna/hydra/contributors","subscribers_url":"https://api.github.com/repos/lake-lerna/hydra/subscribers","subscription_url":"https://api.github.com/repos/lake-lerna/hydra/subscription","commits_url":"https://api.github.com/repos/lake-lerna/hydra/commits{/sha}","git_commits_url":"https://api.github.com/repos/lake-lerna/hydra/git/commits{/sha}","comments_url":"https://api.github.com/repos/lake-lerna/hydra/comments{/number}","issue_comment_url":"https://api.github.com/repos/lake-lerna/hydra/issues/comments{/number}","contents_url":"https://api.github.com/repos/lake-lerna/hydra/contents/{+path}","compare_url":"https://api.github.com/repos/lake-lerna/hydra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lake-lerna/hydra/merges","archive_url":"https://api.github.com/repos/lake-lerna/hydra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lake-lerna/hydra/downloads","issues_url":"https://api.github.com/repos/lake-lerna/hydra/issues{/number}","pulls_url":"https://api.github.com/repos/lake-lerna/hydra/pulls{/number}","milestones_url":"https://api.github.com/repos/lake-lerna/hydra/milestones{/number}","notifications_url":"https://api.github.com/repos/lake-lerna/hydra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lake-lerna/hydra/labels{/name}","releases_url":"https://api.github.com/repos/lake-lerna/hydra/releases{/id}","deployments_url":"https://api.github.com/repos/lake-lerna/hydra/deployments","created_at":"2016-03-02T11:12:25Z","updated_at":"2016-07-19T06:36:00Z","pushed_at":"2016-08-30T05:06:40Z","git_url":"git://github.com/lake-lerna/hydra.git","ssh_url":"git@github.com:lake-lerna/hydra.git","clone_url":"https://github.com/lake-lerna/hydra.git","svn_url":"https://github.com/lake-lerna/hydra","homepage":null,"size":576,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":12,"forks":7,"open_issues":12,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lake-lerna/hydra/pulls/83"},"html":{"href":"https://github.com/lake-lerna/hydra/pull/83"},"issue":{"href":"https://api.github.com/repos/lake-lerna/hydra/issues/83"},"comments":{"href":"https://api.github.com/repos/lake-lerna/hydra/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/lake-lerna/hydra/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/lake-lerna/hydra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lake-lerna/hydra/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/lake-lerna/hydra/statuses/aa33c083998534914e7dd62d832467121630a5da"}}}}
{"actor":{"display_login":"kratos7"}}