Comments (4)
That would be great indeed, anyone up for jumping on this task?
from alpakka.
Hi, I've started to implement a new test suite using Amazon provided test suite. First problem that I have found with the current implementation is the missing hash of the payload (hash of empty string) in building Canonical Request. In Canonical Request object:
val hashedBody = req.headers.find(_.name == "x-amz-content-sha256") .map(_.value).getOrElse("")
See: Task 1: Create a Canonical Request for Signature Version 4
I'll come with PR tomorrow.
from alpakka.
@joearasin @ktoso implementation is completed. There is only one test that is skipped (you'll see in the code). This is because I did not found a way to build a HttpRequest with body, without having it adding the charset part to content type. If you know a way to do this, then I will update the code in a second.
from alpakka.
As commented in #120 it is not possible to use the AWS signing test suite verbatim because akka-http cannot be made to render exactly the same requests. This comment gives a few hints how better test coverage could be achieved anyways.
from alpakka.
Related Issues (20)
- FTP: Server encoding detection HOT 1
- Replaced base uri path when using ElasticsearchSink HOT 1
- Release 7.0.0-M1, M2
- AMQP cached connection provider does not reconnect HOT 2
- Release 7.0.0
- Make google credentials debugable HOT 1
- Alpaka S3 - is it possible to pass custom s3 client ? HOT 1
- Alpakka JMS Consumer memory leak HOT 4
- Release 7.0.1
- Google OAuth authentication does not deduplicate scopes
- Provide convenient access to getting a Google access token
- GCS resumeable upload chunker bug
- Alpakka MQTT Streaming not receiving message
- GCS support offers no way to set Content-Encoding header
- Release 7.0.2
- Version 7.0.2 collides with AWS SQS SDK 2.25.14 HOT 1
- Show useful information when failing on redirect
- Release 8.0.0 HOT 2
- SqsPublishFlow.batch never sets delay seconds to SendMessageBatchRequestEntry HOT 3
- Implement .getExecutionInfo() and executionInfo.getQueryTrace();
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alpakka.