From 0a519bd97bc9f3743de35000ff3a7e5426bc6b45 Mon Sep 17 00:00:00 2001 From: Oussema Toujani Date: Sun, 14 Jul 2024 16:06:16 +0200 Subject: [PATCH] added the autoconfiguration module as a dependency in the starter module. Removed redundant dependencies from sample project Signed-off-by: Oussema Toujani --- README.md | 6 +++--- .../zalando-cloud-aws-kms-sample/README.md | 2 +- .../zalando-cloud-aws-kms-sample/pom.xml | 9 ++------- .../zalando-cloud-aws-starter-kms/pom.xml | 6 +++++- 4 files changed, 11 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 0d90114..6136d92 100644 --- a/README.md +++ b/README.md @@ -12,14 +12,14 @@ Zalando Cloud AWS is an addition to [Spring Cloud AWS](https://github.com/awspri This project has dependency and transitive dependency on Spring Projects. The table below outlines the version of Spring Cloud AWS, Spring Cloud, Spring Boot and Spring Framework versions that are compatible with certain Zalando Cloud AWS versions. | Zalando Cloud AWS | Spring Cloud AWS | Spring Boot | Spring Framework | AWS Java SDK | -| ----------------- | ---------------- | ----------- | ---------------- | ------------ | +|-------------------|------------------|-------------|------------------|--------------| | 3.1.x | 3.1.x | 3.2.x | 6.1.x | 2.x | ## Supported AWS integrations | AWS Service | Zalando Cloud AWS 3.x | -| ----------- | --------------------- | -| KMS | ✅ | +|-------------|-----------------------| +| KMS | ✅ | Note that Spring Cloud AWS and Spring Cloud provide support for other AWS services in their projects. diff --git a/zalando-cloud-aws-samples/zalando-cloud-aws-kms-sample/README.md b/zalando-cloud-aws-samples/zalando-cloud-aws-kms-sample/README.md index 673931b..9995642 100644 --- a/zalando-cloud-aws-samples/zalando-cloud-aws-kms-sample/README.md +++ b/zalando-cloud-aws-samples/zalando-cloud-aws-kms-sample/README.md @@ -6,7 +6,7 @@ Startup localstack with KMS docker run -d --name localstack -p 4566:4566 -p 4510-4559:4510-4559 localstack/localstack ``` -Create customer-managed key and note down KeyId from the AWS CLI output +Create customer-managed key and **note down the KeyId** from the AWS CLI output ```bash aws --endpoint-url http://localhost:4566 kms create-key diff --git a/zalando-cloud-aws-samples/zalando-cloud-aws-kms-sample/pom.xml b/zalando-cloud-aws-samples/zalando-cloud-aws-kms-sample/pom.xml index 172ea0a..0280da1 100644 --- a/zalando-cloud-aws-samples/zalando-cloud-aws-kms-sample/pom.xml +++ b/zalando-cloud-aws-samples/zalando-cloud-aws-kms-sample/pom.xml @@ -51,15 +51,10 @@ spring-cloud-aws-starter ${awsspring.version} - - - org.zalando.awspring.cloud - zalando-cloud-aws-kms - ${project.version} - + org.zalando.awspring.cloud - zalando-cloud-aws-autoconfigure + zalando-cloud-aws-starter-kms ${project.version} diff --git a/zalando-cloud-aws-starters/zalando-cloud-aws-starter-kms/pom.xml b/zalando-cloud-aws-starters/zalando-cloud-aws-starter-kms/pom.xml index fb7b49a..b8bf99e 100644 --- a/zalando-cloud-aws-starters/zalando-cloud-aws-starter-kms/pom.xml +++ b/zalando-cloud-aws-starters/zalando-cloud-aws-starter-kms/pom.xml @@ -13,7 +13,6 @@ 4.0.0 - org.zalando.awspring.cloud zalando-cloud-aws-starter-kms Zalando Cloud AWS KMS Starter Zalando Cloud AWS Key Management Service Starter @@ -23,6 +22,11 @@ io.awspring.cloud spring-cloud-aws-starter + + org.zalando.awspring.cloud + zalando-cloud-aws-autoconfigure + ${project.version} + org.zalando.awspring.cloud zalando-cloud-aws-kms