{"action":"created","comment":{"url":"https://api.github.com/repos/slipstream/SlipStreamServer/pulls/comments/144773571","pull_request_review_id":69475264,"id":144773571,"diff_hunk":"@@ -1,11 +1,9 @@\n (ns com.sixsq.slipstream.ssclj.resources.job.utils\n   (:require\n-    [com.sixsq.slipstream.db.impl :as db]\n-    [com.sixsq.slipstream.ssclj.middleware.cimi-params.utils :as cimi-params-utils]\n-    [com.sixsq.slipstream.ssclj.filter.parser :as parser]\n+    [clj-time.core :as time]\n     [clojure.tools.logging :as log]\n     [com.sixsq.slipstream.ssclj.resources.common.utils :as u]\n-    [clj-time.core :as time]))\n+    [com.sixsq.slipstream.ssclj.util.zookeeper :as uzk]))\n \n (defn stop [{state :state id :id :as job}]\n   (if (= state \"RUNNING\")","path":"ssclj/jar/src/com/sixsq/slipstream/ssclj/resources/job/utils.clj","position":13,"original_position":13,"commit_id":"0e3df8297f8c7ec97247fb2e885f5cf2b675a614","original_commit_id":"0e3df8297f8c7ec97247fb2e885f5cf2b675a614","user":{"login":"loomis","id":490506,"avatar_url":"https://avatars1.githubusercontent.com/u/490506?v=4","gravatar_id":"","url":"https://api.github.com/users/loomis","html_url":"https://github.com/loomis","followers_url":"https://api.github.com/users/loomis/followers","following_url":"https://api.github.com/users/loomis/following{/other_user}","gists_url":"https://api.github.com/users/loomis/gists{/gist_id}","starred_url":"https://api.github.com/users/loomis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loomis/subscriptions","organizations_url":"https://api.github.com/users/loomis/orgs","repos_url":"https://api.github.com/users/loomis/repos","events_url":"https://api.github.com/users/loomis/events{/privacy}","received_events_url":"https://api.github.com/users/loomis/received_events","type":"User","site_admin":false},"body":" - Is the logging useful here?  The state changes for the other states are not logged.","created_at":"2017-10-16T07:43:45Z","updated_at":"2017-10-16T07:43:57Z","html_url":"https://github.com/slipstream/SlipStreamServer/pull/1248#discussion_r144773571","pull_request_url":"https://api.github.com/repos/slipstream/SlipStreamServer/pulls/1248","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/slipstream/SlipStreamServer/pulls/comments/144773571"},"html":{"href":"https://github.com/slipstream/SlipStreamServer/pull/1248#discussion_r144773571"},"pull_request":{"href":"https://api.github.com/repos/slipstream/SlipStreamServer/pulls/1248"}}},"pull_request":{"url":"https://api.github.com/repos/slipstream/SlipStreamServer/pulls/1248","id":146505556,"html_url":"https://github.com/slipstream/SlipStreamServer/pull/1248","diff_url":"https://github.com/slipstream/SlipStreamServer/pull/1248.diff","patch_url":"https://github.com/slipstream/SlipStreamServer/pull/1248.patch","issue_url":"https://api.github.com/repos/slipstream/SlipStreamServer/issues/1248","number":1248,"state":"open","locked":false,"title":"Issue #1247 job resource can put job id in zk at creation","user":{"login":"0xbase12","id":5518233,"avatar_url":"https://avatars0.githubusercontent.com/u/5518233?v=4","gravatar_id":"","url":"https://api.github.com/users/0xbase12","html_url":"https://github.com/0xbase12","followers_url":"https://api.github.com/users/0xbase12/followers","following_url":"https://api.github.com/users/0xbase12/following{/other_user}","gists_url":"https://api.github.com/users/0xbase12/gists{/gist_id}","starred_url":"https://api.github.com/users/0xbase12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xbase12/subscriptions","organizations_url":"https://api.github.com/users/0xbase12/orgs","repos_url":"https://api.github.com/users/0xbase12/repos","events_url":"https://api.github.com/users/0xbase12/events{/privacy}","received_events_url":"https://api.github.com/users/0xbase12/received_events","type":"User","site_admin":false},"body":"Connected to #1247","created_at":"2017-10-13T16:56:23Z","updated_at":"2017-10-16T07:43:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8661c86e5c48d736c52b51e82f5ca44c7ac4fa9e","assignee":{"login":"loomis","id":490506,"avatar_url":"https://avatars1.githubusercontent.com/u/490506?v=4","gravatar_id":"","url":"https://api.github.com/users/loomis","html_url":"https://github.com/loomis","followers_url":"https://api.github.com/users/loomis/followers","following_url":"https://api.github.com/users/loomis/following{/other_user}","gists_url":"https://api.github.com/users/loomis/gists{/gist_id}","starred_url":"https://api.github.com/users/loomis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loomis/subscriptions","organizations_url":"https://api.github.com/users/loomis/orgs","repos_url":"https://api.github.com/users/loomis/repos","events_url":"https://api.github.com/users/loomis/events{/privacy}","received_events_url":"https://api.github.com/users/loomis/received_events","type":"User","site_admin":false},"assignees":[{"login":"loomis","id":490506,"avatar_url":"https://avatars1.githubusercontent.com/u/490506?v=4","gravatar_id":"","url":"https://api.github.com/users/loomis","html_url":"https://github.com/loomis","followers_url":"https://api.github.com/users/loomis/followers","following_url":"https://api.github.com/users/loomis/following{/other_user}","gists_url":"https://api.github.com/users/loomis/gists{/gist_id}","starred_url":"https://api.github.com/users/loomis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loomis/subscriptions","organizations_url":"https://api.github.com/users/loomis/orgs","repos_url":"https://api.github.com/users/loomis/repos","events_url":"https://api.github.com/users/loomis/events{/privacy}","received_events_url":"https://api.github.com/users/loomis/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/slipstream/SlipStreamServer/pulls/1248/commits","review_comments_url":"https://api.github.com/repos/slipstream/SlipStreamServer/pulls/1248/comments","review_comment_url":"https://api.github.com/repos/slipstream/SlipStreamServer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/slipstream/SlipStreamServer/issues/1248/comments","statuses_url":"https://api.github.com/repos/slipstream/SlipStreamServer/statuses/0e3df8297f8c7ec97247fb2e885f5cf2b675a614","head":{"label":"slipstream:issue_#1247_Job-resource-can-put-job-id-in-zk-at-creation","ref":"issue_#1247_Job-resource-can-put-job-id-in-zk-at-creation","sha":"0e3df8297f8c7ec97247fb2e885f5cf2b675a614","user":{"login":"slipstream","id":3378685,"avatar_url":"https://avatars2.githubusercontent.com/u/3378685?v=4","gravatar_id":"","url":"https://api.github.com/users/slipstream","html_url":"https://github.com/slipstream","followers_url":"https://api.github.com/users/slipstream/followers","following_url":"https://api.github.com/users/slipstream/following{/other_user}","gists_url":"https://api.github.com/users/slipstream/gists{/gist_id}","starred_url":"https://api.github.com/users/slipstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slipstream/subscriptions","organizations_url":"https://api.github.com/users/slipstream/orgs","repos_url":"https://api.github.com/users/slipstream/repos","events_url":"https://api.github.com/users/slipstream/events{/privacy}","received_events_url":"https://api.github.com/users/slipstream/received_events","type":"Organization","site_admin":false},"repo":{"id":8266573,"name":"SlipStreamServer","full_name":"slipstream/SlipStreamServer","owner":{"login":"slipstream","id":3378685,"avatar_url":"https://avatars2.githubusercontent.com/u/3378685?v=4","gravatar_id":"","url":"https://api.github.com/users/slipstream","html_url":"https://github.com/slipstream","followers_url":"https://api.github.com/users/slipstream/followers","following_url":"https://api.github.com/users/slipstream/following{/other_user}","gists_url":"https://api.github.com/users/slipstream/gists{/gist_id}","starred_url":"https://api.github.com/users/slipstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slipstream/subscriptions","organizations_url":"https://api.github.com/users/slipstream/orgs","repos_url":"https://api.github.com/users/slipstream/repos","events_url":"https://api.github.com/users/slipstream/events{/privacy}","received_events_url":"https://api.github.com/users/slipstream/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/slipstream/SlipStreamServer","description":"SlipStream RESTful web service","fork":false,"url":"https://api.github.com/repos/slipstream/SlipStreamServer","forks_url":"https://api.github.com/repos/slipstream/SlipStreamServer/forks","keys_url":"https://api.github.com/repos/slipstream/SlipStreamServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slipstream/SlipStreamServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slipstream/SlipStreamServer/teams","hooks_url":"https://api.github.com/repos/slipstream/SlipStreamServer/hooks","issue_events_url":"https://api.github.com/repos/slipstream/SlipStreamServer/issues/events{/number}","events_url":"https://api.github.com/repos/slipstream/SlipStreamServer/events","assignees_url":"https://api.github.com/repos/slipstream/SlipStreamServer/assignees{/user}","branches_url":"https://api.github.com/repos/slipstream/SlipStreamServer/branches{/branch}","tags_url":"https://api.github.com/repos/slipstream/SlipStreamServer/tags","blobs_url":"https://api.github.com/repos/slipstream/SlipStreamServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slipstream/SlipStreamServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slipstream/SlipStreamServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/slipstream/SlipStreamServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slipstream/SlipStreamServer/statuses/{sha}","languages_url":"https://api.github.com/repos/slipstream/SlipStreamServer/languages","stargazers_url":"https://api.github.com/repos/slipstream/SlipStreamServer/stargazers","contributors_url":"https://api.github.com/repos/slipstream/SlipStreamServer/contributors","subscribers_url":"https://api.github.com/repos/slipstream/SlipStreamServer/subscribers","subscription_url":"https://api.github.com/repos/slipstream/SlipStreamServer/subscription","commits_url":"https://api.github.com/repos/slipstream/SlipStreamServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/slipstream/SlipStreamServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/slipstream/SlipStreamServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/slipstream/SlipStreamServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/slipstream/SlipStreamServer/contents/{+path}","compare_url":"https://api.github.com/repos/slipstream/SlipStreamServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slipstream/SlipStreamServer/merges","archive_url":"https://api.github.com/repos/slipstream/SlipStreamServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slipstream/SlipStreamServer/downloads","issues_url":"https://api.github.com/repos/slipstream/SlipStreamServer/issues{/number}","pulls_url":"https://api.github.com/repos/slipstream/SlipStreamServer/pulls{/number}","milestones_url":"https://api.github.com/repos/slipstream/SlipStreamServer/milestones{/number}","notifications_url":"https://api.github.com/repos/slipstream/SlipStreamServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slipstream/SlipStreamServer/labels{/name}","releases_url":"https://api.github.com/repos/slipstream/SlipStreamServer/releases{/id}","deployments_url":"https://api.github.com/repos/slipstream/SlipStreamServer/deployments","created_at":"2013-02-18T10:48:52Z","updated_at":"2017-05-17T06:26:49Z","pushed_at":"2017-10-16T07:41:32Z","git_url":"git://github.com/slipstream/SlipStreamServer.git","ssh_url":"git@github.com:slipstream/SlipStreamServer.git","clone_url":"https://github.com/slipstream/SlipStreamServer.git","svn_url":"https://github.com/slipstream/SlipStreamServer","homepage":null,"size":10646,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":257,"forks":4,"open_issues":257,"watchers":2,"default_branch":"master"}},"base":{"label":"slipstream:master","ref":"master","sha":"9a5f3b656251eb12dc0ec2d131210137b18d7c08","user":{"login":"slipstream","id":3378685,"avatar_url":"https://avatars2.githubusercontent.com/u/3378685?v=4","gravatar_id":"","url":"https://api.github.com/users/slipstream","html_url":"https://github.com/slipstream","followers_url":"https://api.github.com/users/slipstream/followers","following_url":"https://api.github.com/users/slipstream/following{/other_user}","gists_url":"https://api.github.com/users/slipstream/gists{/gist_id}","starred_url":"https://api.github.com/users/slipstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slipstream/subscriptions","organizations_url":"https://api.github.com/users/slipstream/orgs","repos_url":"https://api.github.com/users/slipstream/repos","events_url":"https://api.github.com/users/slipstream/events{/privacy}","received_events_url":"https://api.github.com/users/slipstream/received_events","type":"Organization","site_admin":false},"repo":{"id":8266573,"name":"SlipStreamServer","full_name":"slipstream/SlipStreamServer","owner":{"login":"slipstream","id":3378685,"avatar_url":"https://avatars2.githubusercontent.com/u/3378685?v=4","gravatar_id":"","url":"https://api.github.com/users/slipstream","html_url":"https://github.com/slipstream","followers_url":"https://api.github.com/users/slipstream/followers","following_url":"https://api.github.com/users/slipstream/following{/other_user}","gists_url":"https://api.github.com/users/slipstream/gists{/gist_id}","starred_url":"https://api.github.com/users/slipstream/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slipstream/subscriptions","organizations_url":"https://api.github.com/users/slipstream/orgs","repos_url":"https://api.github.com/users/slipstream/repos","events_url":"https://api.github.com/users/slipstream/events{/privacy}","received_events_url":"https://api.github.com/users/slipstream/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/slipstream/SlipStreamServer","description":"SlipStream RESTful web service","fork":false,"url":"https://api.github.com/repos/slipstream/SlipStreamServer","forks_url":"https://api.github.com/repos/slipstream/SlipStreamServer/forks","keys_url":"https://api.github.com/repos/slipstream/SlipStreamServer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slipstream/SlipStreamServer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slipstream/SlipStreamServer/teams","hooks_url":"https://api.github.com/repos/slipstream/SlipStreamServer/hooks","issue_events_url":"https://api.github.com/repos/slipstream/SlipStreamServer/issues/events{/number}","events_url":"https://api.github.com/repos/slipstream/SlipStreamServer/events","assignees_url":"https://api.github.com/repos/slipstream/SlipStreamServer/assignees{/user}","branches_url":"https://api.github.com/repos/slipstream/SlipStreamServer/branches{/branch}","tags_url":"https://api.github.com/repos/slipstream/SlipStreamServer/tags","blobs_url":"https://api.github.com/repos/slipstream/SlipStreamServer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slipstream/SlipStreamServer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slipstream/SlipStreamServer/git/refs{/sha}","trees_url":"https://api.github.com/repos/slipstream/SlipStreamServer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slipstream/SlipStreamServer/statuses/{sha}","languages_url":"https://api.github.com/repos/slipstream/SlipStreamServer/languages","stargazers_url":"https://api.github.com/repos/slipstream/SlipStreamServer/stargazers","contributors_url":"https://api.github.com/repos/slipstream/SlipStreamServer/contributors","subscribers_url":"https://api.github.com/repos/slipstream/SlipStreamServer/subscribers","subscription_url":"https://api.github.com/repos/slipstream/SlipStreamServer/subscription","commits_url":"https://api.github.com/repos/slipstream/SlipStreamServer/commits{/sha}","git_commits_url":"https://api.github.com/repos/slipstream/SlipStreamServer/git/commits{/sha}","comments_url":"https://api.github.com/repos/slipstream/SlipStreamServer/comments{/number}","issue_comment_url":"https://api.github.com/repos/slipstream/SlipStreamServer/issues/comments{/number}","contents_url":"https://api.github.com/repos/slipstream/SlipStreamServer/contents/{+path}","compare_url":"https://api.github.com/repos/slipstream/SlipStreamServer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slipstream/SlipStreamServer/merges","archive_url":"https://api.github.com/repos/slipstream/SlipStreamServer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slipstream/SlipStreamServer/downloads","issues_url":"https://api.github.com/repos/slipstream/SlipStreamServer/issues{/number}","pulls_url":"https://api.github.com/repos/slipstream/SlipStreamServer/pulls{/number}","milestones_url":"https://api.github.com/repos/slipstream/SlipStreamServer/milestones{/number}","notifications_url":"https://api.github.com/repos/slipstream/SlipStreamServer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slipstream/SlipStreamServer/labels{/name}","releases_url":"https://api.github.com/repos/slipstream/SlipStreamServer/releases{/id}","deployments_url":"https://api.github.com/repos/slipstream/SlipStreamServer/deployments","created_at":"2013-02-18T10:48:52Z","updated_at":"2017-05-17T06:26:49Z","pushed_at":"2017-10-16T07:41:32Z","git_url":"git://github.com/slipstream/SlipStreamServer.git","ssh_url":"git@github.com:slipstream/SlipStreamServer.git","clone_url":"https://github.com/slipstream/SlipStreamServer.git","svn_url":"https://github.com/slipstream/SlipStreamServer","homepage":null,"size":10646,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":257,"forks":4,"open_issues":257,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/slipstream/SlipStreamServer/pulls/1248"},"html":{"href":"https://github.com/slipstream/SlipStreamServer/pull/1248"},"issue":{"href":"https://api.github.com/repos/slipstream/SlipStreamServer/issues/1248"},"comments":{"href":"https://api.github.com/repos/slipstream/SlipStreamServer/issues/1248/comments"},"review_comments":{"href":"https://api.github.com/repos/slipstream/SlipStreamServer/pulls/1248/comments"},"review_comment":{"href":"https://api.github.com/repos/slipstream/SlipStreamServer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/slipstream/SlipStreamServer/pulls/1248/commits"},"statuses":{"href":"https://api.github.com/repos/slipstream/SlipStreamServer/statuses/0e3df8297f8c7ec97247fb2e885f5cf2b675a614"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"loomis"}}