{"action":"created","comment":{"url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/pulls/comments/61561520","id":61561520,"diff_hunk":"@@ -35,31 +60,57 @@\n \n (defn pull-data\n   \"Get Metoffice data as a string\"\n-  ([querydate querytime siteid]\n-   (->> (client/post \"http://datagovuk.cloudapp.net/query\"\n-                     {:form-params {:Type \"Observation\"\n-                                    :PredictionSiteID siteid\n-                                    :ObservationSiteID siteid\n-                                    :Date querydate ;; dd/mm/yyyy\n-                                    :PredictionTime querytime ;; 0000\n-                                    }\n-                      :follow-redirects true})\n-        :body\n-        (re-find #\"https://datagovuk.blob.core.windows.net/csv/[a-z0-9]+.csv\")\n-        slurp\n-        )))\n+  [querydate querytime siteid]\n+  (->> (client/post \"http://datagovuk.cloudapp.net/query\"\n+                    {:form-params {:Type \"Observation\"\n+                                   :PredictionSiteID siteid\n+                                   :ObservationSiteID siteid\n+                                   :Date querydate ;; dd/mm/yyyy\n+                                   :PredictionTime querytime ;; 0000\n+                                   }\n+                     :follow-redirects true})\n+       :body\n+       (re-find #\"https://datagovuk.blob.core.windows.net/csv/[a-z0-9]+.csv\")\n+       (client/get)\n+       :body\n+       ))","path":"src/kixi/hecuba/onyx/jobs/weather_fetcher.clj","position":71,"original_position":71,"commit_id":"ef4bb5eb23ab28ced2484831eb286364dbf6f554","original_commit_id":"ef4bb5eb23ab28ced2484831eb286364dbf6f554","user":{"login":"jasebell","id":155504,"avatar_url":"https://avatars.githubusercontent.com/u/155504?v=3","gravatar_id":"","url":"https://api.github.com/users/jasebell","html_url":"https://github.com/jasebell","followers_url":"https://api.github.com/users/jasebell/followers","following_url":"https://api.github.com/users/jasebell/following{/other_user}","gists_url":"https://api.github.com/users/jasebell/gists{/gist_id}","starred_url":"https://api.github.com/users/jasebell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasebell/subscriptions","organizations_url":"https://api.github.com/users/jasebell/orgs","repos_url":"https://api.github.com/users/jasebell/repos","events_url":"https://api.github.com/users/jasebell/events{/privacy}","received_events_url":"https://api.github.com/users/jasebell/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2016-04-29T11:00:46Z","updated_at":"2016-04-29T11:00:46Z","html_url":"https://github.com/MastodonC/kixi.hecuba.onyx.weather/pull/3#discussion_r61561520","pull_request_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/pulls/comments/61561520"},"html":{"href":"https://github.com/MastodonC/kixi.hecuba.onyx.weather/pull/3#discussion_r61561520"},"pull_request":{"href":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/pulls/3","id":68014579,"html_url":"https://github.com/MastodonC/kixi.hecuba.onyx.weather/pull/3","diff_url":"https://github.com/MastodonC/kixi.hecuba.onyx.weather/pull/3.diff","patch_url":"https://github.com/MastodonC/kixi.hecuba.onyx.weather/pull/3.patch","issue_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/issues/3","number":3,"state":"open","locked":false,"title":"Create measurement payload","user":{"login":"jasebell","id":155504,"avatar_url":"https://avatars.githubusercontent.com/u/155504?v=3","gravatar_id":"","url":"https://api.github.com/users/jasebell","html_url":"https://github.com/jasebell","followers_url":"https://api.github.com/users/jasebell/followers","following_url":"https://api.github.com/users/jasebell/following{/other_user}","gists_url":"https://api.github.com/users/jasebell/gists{/gist_id}","starred_url":"https://api.github.com/users/jasebell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasebell/subscriptions","organizations_url":"https://api.github.com/users/jasebell/orgs","repos_url":"https://api.github.com/users/jasebell/repos","events_url":"https://api.github.com/users/jasebell/events{/privacy}","received_events_url":"https://api.github.com/users/jasebell/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-27T08:26:44Z","updated_at":"2016-04-29T11:00:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"145485aa399928e65678e5e20c0ce305619b6916","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/pulls/3/commits","review_comments_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/pulls/3/comments","review_comment_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/issues/3/comments","statuses_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/statuses/ef4bb5eb23ab28ced2484831eb286364dbf6f554","head":{"label":"MastodonC:feature/create-measurement-payload","ref":"feature/create-measurement-payload","sha":"ef4bb5eb23ab28ced2484831eb286364dbf6f554","user":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"repo":{"id":56593003,"name":"kixi.hecuba.onyx.weather","full_name":"MastodonC/kixi.hecuba.onyx.weather","owner":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MastodonC/kixi.hecuba.onyx.weather","description":"Onyx Framework for processing Weather entity events.","fork":false,"url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather","forks_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/forks","keys_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/teams","hooks_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/hooks","issue_events_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/issues/events{/number}","events_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/events","assignees_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/assignees{/user}","branches_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/branches{/branch}","tags_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/tags","blobs_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/git/refs{/sha}","trees_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/statuses/{sha}","languages_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/languages","stargazers_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/stargazers","contributors_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/contributors","subscribers_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/subscribers","subscription_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/subscription","commits_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/commits{/sha}","git_commits_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/git/commits{/sha}","comments_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/comments{/number}","issue_comment_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/issues/comments{/number}","contents_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/contents/{+path}","compare_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/merges","archive_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/downloads","issues_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/issues{/number}","pulls_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/pulls{/number}","milestones_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/milestones{/number}","notifications_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/labels{/name}","releases_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/releases{/id}","deployments_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/deployments","created_at":"2016-04-19T12:01:07Z","updated_at":"2016-04-19T13:08:02Z","pushed_at":"2016-04-27T15:48:02Z","git_url":"git://github.com/MastodonC/kixi.hecuba.onyx.weather.git","ssh_url":"git@github.com:MastodonC/kixi.hecuba.onyx.weather.git","clone_url":"https://github.com/MastodonC/kixi.hecuba.onyx.weather.git","svn_url":"https://github.com/MastodonC/kixi.hecuba.onyx.weather","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":true,"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":"MastodonC:master","ref":"master","sha":"3f999ec163aefaa1c9b48a8e589acec7a5b28420","user":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"repo":{"id":56593003,"name":"kixi.hecuba.onyx.weather","full_name":"MastodonC/kixi.hecuba.onyx.weather","owner":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MastodonC/kixi.hecuba.onyx.weather","description":"Onyx Framework for processing Weather entity events.","fork":false,"url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather","forks_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/forks","keys_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/teams","hooks_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/hooks","issue_events_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/issues/events{/number}","events_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/events","assignees_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/assignees{/user}","branches_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/branches{/branch}","tags_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/tags","blobs_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/git/refs{/sha}","trees_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/statuses/{sha}","languages_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/languages","stargazers_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/stargazers","contributors_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/contributors","subscribers_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/subscribers","subscription_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/subscription","commits_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/commits{/sha}","git_commits_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/git/commits{/sha}","comments_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/comments{/number}","issue_comment_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/issues/comments{/number}","contents_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/contents/{+path}","compare_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/merges","archive_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/downloads","issues_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/issues{/number}","pulls_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/pulls{/number}","milestones_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/milestones{/number}","notifications_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/labels{/name}","releases_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/releases{/id}","deployments_url":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/deployments","created_at":"2016-04-19T12:01:07Z","updated_at":"2016-04-19T13:08:02Z","pushed_at":"2016-04-27T15:48:02Z","git_url":"git://github.com/MastodonC/kixi.hecuba.onyx.weather.git","ssh_url":"git@github.com:MastodonC/kixi.hecuba.onyx.weather.git","clone_url":"https://github.com/MastodonC/kixi.hecuba.onyx.weather.git","svn_url":"https://github.com/MastodonC/kixi.hecuba.onyx.weather","homepage":null,"size":23,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":true,"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/MastodonC/kixi.hecuba.onyx.weather/pulls/3"},"html":{"href":"https://github.com/MastodonC/kixi.hecuba.onyx.weather/pull/3"},"issue":{"href":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/issues/3"},"comments":{"href":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/MastodonC/kixi.hecuba.onyx.weather/statuses/ef4bb5eb23ab28ced2484831eb286364dbf6f554"}}}}