-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implementation of store that uses http protocol #241
implementation of store that uses http protocol #241
Conversation
def apply(dest: String): HttpStringStore = new HttpStringStore(Http.newService(dest)) | ||
} | ||
|
||
class HttpStringStore(val client: Service[HttpRequest, HttpResponse]) extends Store[String, String] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like this one can be implemented as a ConvertedStore?
if you have an Injection[String, ChannelBuffer]
class HttpStringStore(store: HttpStore)
extends ConvertedStore[String, String, ChannelBuffer, String](store)(identity)(inj)
@koertkuipers Thanks for the PR! One comment on using ConvertedStore. LGTM otherwise. |
failure seems unrelated to pullreq. want to to try get travis going again? |
Restarted .. |
@koertkuipers Looks like the http store tests never ran. Want to add an entry here? |
ah my bad. i will add it |
implementation of store that uses http protocol
Tests look good, merged |
No description provided.