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
Provide S3 AWS credentials from application.conf #140
Conversation
Hi @neowulf33, Thank you for your contribution! We really value the time you've taken to put this together. Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement: |
7394e0a
to
362938c
Compare
LGTM |
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.
looking good apart from the logging
response <- Http().singleRequest(signedReq) | ||
_ <- Future(system.log.info("Response: {}", response)) |
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.
why spawn a future for doing the logging?
what is the toString
representation of the request and response? can it be big, and therefore inappropriate for logging?
val response = for { | ||
signedReq <- Signer.signedRequest(req, signingKey) | ||
_ <- Future(system.log.info("Request: {}", signedReq)) |
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.
instead of using system.log
you should use a more specific `LoggingAdapter via
val log = Logging(system, getClass)
Oops, those log statements were part of my debugging process. I have removed them. |
/** | ||
* | ||
* @author siva | ||
*/ |
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.
Please don't use author tags, we encourage collective code ownership: https://github.com/akka/alpakka/blob/master/CONTRIBUTING.md#pull-request-requirements
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.
Ah my bad. I have removed them in the next commit.
LGTM, would like the @author javadoc be removed though as our guidelines require :) |
LGTM, thanks a lot! Very nice improvement. |
Fixes #137