You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In one of the unit tests, attempt to inject DynamoDBClient into the class and execute the unit test
Expected Behaviour
The unit test should complete successfully with no errors and the class should contain an instance of DynamoDBClient initialised with the synchronous client (URLConnection)
Actual Behaviour
The unit test fails with an error complaining that No bean of type [software.amazon.awssdk.http.async.SdkAsyncHttpClient] exists
Fix
It appears the async factory methods in DynamoDBClientFactory are missing the @Requires(beans = SdkAsyncHttpClient.class) annotation which appears in the other AWS factory classes (S3, SNS, etc.). PR to follow.
Environment Information
Operating System: Linux desktop-i3 5.8.11-1-MANJARO #1 SMP PREEMPT Wed Sep 23 14:35:40 UTC 2020 x86_64 GNU/Linux
Steps to Reproduce
DynamoDBClient
into the class and execute the unit testExpected Behaviour
The unit test should complete successfully with no errors and the class should contain an instance of DynamoDBClient initialised with the synchronous client (URLConnection)
Actual Behaviour
The unit test fails with an error complaining that
No bean of type [software.amazon.awssdk.http.async.SdkAsyncHttpClient] exists
Fix
It appears the async factory methods in DynamoDBClientFactory are missing the
@Requires(beans = SdkAsyncHttpClient.class)
annotation which appears in the other AWS factory classes (S3, SNS, etc.). PR to follow.Environment Information
Linux desktop-i3 5.8.11-1-MANJARO #1 SMP PREEMPT Wed Sep 23 14:35:40 UTC 2020 x86_64 GNU/Linux
2.1.1
openjdk 11.0.8 2020-07-14
Example Application
The text was updated successfully, but these errors were encountered: