{"action":"created","issue":{"url":"https://api.github.com/repos/juttle/juttle/issues/362","repository_url":"https://api.github.com/repos/juttle/juttle","labels_url":"https://api.github.com/repos/juttle/juttle/issues/362/labels{/name}","comments_url":"https://api.github.com/repos/juttle/juttle/issues/362/comments","events_url":"https://api.github.com/repos/juttle/juttle/issues/362/events","html_url":"https://github.com/juttle/juttle/pull/362","id":132275347,"number":362,"title":"http server adapter port to the new adapter api","user":{"login":"demmer","id":3308504,"avatar_url":"https://avatars.githubusercontent.com/u/3308504?v=3","gravatar_id":"","url":"https://api.github.com/users/demmer","html_url":"https://github.com/demmer","followers_url":"https://api.github.com/users/demmer/followers","following_url":"https://api.github.com/users/demmer/following{/other_user}","gists_url":"https://api.github.com/users/demmer/gists{/gist_id}","starred_url":"https://api.github.com/users/demmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demmer/subscriptions","organizations_url":"https://api.github.com/users/demmer/orgs","repos_url":"https://api.github.com/users/demmer/repos","events_url":"https://api.github.com/users/demmer/events{/privacy}","received_events_url":"https://api.github.com/users/demmer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/juttle/juttle/labels/in%20progress","name":"in progress","color":"ffa500"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-08T22:30:43Z","updated_at":"2016-02-08T22:31:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/juttle/juttle/pulls/362","html_url":"https://github.com/juttle/juttle/pull/362","diff_url":"https://github.com/juttle/juttle/pull/362.diff","patch_url":"https://github.com/juttle/juttle/pull/362.patch"},"body":"Port the http_server adapter to the new adapter API.\r\n\r\nIn addition to changes to the adapter itself, this also exposed some issues and limitations in the base class:\r\n- Add wrappers for compileError and runtimeError to the adapter read/write base classes. This is not strictly required for the port, but rather than change the adapter to explicitly call errors.compileError, I figured we would need these for per-adapter error codes as described in #59.\r\n- Add a teardown hook for read so the adapter can clean up properly.\r\n- Add simple eof tracking to read. This avoids sending multiple eof's downstream and also as a workaround for the limitation that we can't currently cancel pending scheduler callbacks.\r\n"},"comment":{"url":"https://api.github.com/repos/juttle/juttle/issues/comments/181600453","html_url":"https://github.com/juttle/juttle/pull/362#issuecomment-181600453","issue_url":"https://api.github.com/repos/juttle/juttle/issues/362","id":181600453,"user":{"login":"demmer","id":3308504,"avatar_url":"https://avatars.githubusercontent.com/u/3308504?v=3","gravatar_id":"","url":"https://api.github.com/users/demmer","html_url":"https://github.com/demmer","followers_url":"https://api.github.com/users/demmer/followers","following_url":"https://api.github.com/users/demmer/following{/other_user}","gists_url":"https://api.github.com/users/demmer/gists{/gist_id}","starred_url":"https://api.github.com/users/demmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/demmer/subscriptions","organizations_url":"https://api.github.com/users/demmer/orgs","repos_url":"https://api.github.com/users/demmer/repos","events_url":"https://api.github.com/users/demmer/events{/privacy}","received_events_url":"https://api.github.com/users/demmer/received_events","type":"User","site_admin":false},"created_at":"2016-02-08T22:31:01Z","updated_at":"2016-02-08T22:31:01Z","body":"@mnibecker @davidvgalbraith @rlgomes "}}