Skip to content
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

Kotlin AWS sdk #424

Merged
merged 7 commits into from
Nov 27, 2024
Merged

Kotlin AWS sdk #424

merged 7 commits into from
Nov 27, 2024

Conversation

samu-developments
Copy link
Contributor

@samu-developments samu-developments commented Jul 26, 2024

We had a use case similar to this aws/aws-sdk-java-v2#4501 (comment); testing with Localstack and overriding AWS sdk endpoints using env variables. This is for some reason not supported in Java sdks, but it is in Kotlin sdks.

This PR is a copy of the hoplite-aws module, with java aws sdk switched with kotlin sdk. Also updated kotlin version and updated some usage of version catalogs, gradle.

I will have this as draft until this has feedback

Kotlin version needed to be updated for the newest Kotlin aws sdk to be compatible > The binary version of its metadata is 1.9.0, expected version is 1.6.0.
Also fixed kotlin test tasks needing jdk 11 (required by testcontainers). > Inconsistent JVM-target compatibility detected for tasks 'compileTestJava' (11) and 'compileTestKotlin' (1.8).

@sarahzargari
Copy link

@sksamuel any updates on when this might move past draft status?

@samu-developments
Copy link
Contributor Author

I can take a look at it next week again

@samu-developments
Copy link
Contributor Author

Look at that, now the java sdk contains the env variable endpoint override. Anyway I rebased the branch and will make it ready for review.

@samu-developments samu-developments marked this pull request as ready for review October 16, 2024 20:31
@sksamuel sksamuel merged commit 2ff0d30 into sksamuel:master Nov 27, 2024
1 check passed
@sksamuel
Copy link
Owner

@sksamuel any updates on when this might move past draft status?

2.9.0 is now released !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants