From 3e2e641cb5ba35ac1312aa087562b8d047da4b6c Mon Sep 17 00:00:00 2001 From: salaboy Date: Thu, 15 May 2025 08:41:34 +0100 Subject: [PATCH 1/3] updating docs to have spring boot 3.x banner and not hardcoded deps Signed-off-by: salaboy --- .../content/en/java-sdk-docs/spring-boot/_index.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/daprdocs/content/en/java-sdk-docs/spring-boot/_index.md b/daprdocs/content/en/java-sdk-docs/spring-boot/_index.md index 3d5e945e34..8a057858e4 100644 --- a/daprdocs/content/en/java-sdk-docs/spring-boot/_index.md +++ b/daprdocs/content/en/java-sdk-docs/spring-boot/_index.md @@ -11,30 +11,29 @@ By combining Dapr and Spring Boot, we can create infrastructure independent Java First, we will start with a simple integration covering the `DaprClient` and the [Testcontainers](https://testcontainers.com/) integration, to then use Spring and Spring Boot mechanisms and programming model to leverage the Dapr APIs under the hood. This help teams to remove dependencies such as clients and drivers required to connect to environment specific infrastructure (databases, key-value stores, message brokers, configuration/secret stores, etc.) {{% alert title="Note" color="primary" %}} -The Spring Boot integration explained in this page is still alpha, hence most artifacts are labeled with 0.13.0. - +The Spring Boot integration requires Spring Boot 3.x+ to work. This will not work with Spring Boot 2.x. +The Spring Boot integration still remains in alpha. We need your help and feedback to graduate it. {{% /alert %}} ## Adding the Dapr and Spring Boot integration to your project -If you already have a Spring Boot application (Spring Boot 3.x+), you can directly add the following dependencies to your project: - +If you already have a Spring Boot application, you can directly add the following dependencies to your project: ``` io.dapr.spring dapr-spring-boot-starter - 0.14.1 io.dapr.spring dapr-spring-boot-starter-test - 0.14.1 test ``` +You can find the [latest released version here](https://central.sonatype.com/artifact/io.dapr.spring/dapr-spring-boot-starter). + By adding these dependencies you can: - Autowire a `DaprClient` to use inside your applications - Use the Spring Data and Messaging abstractions and programming model that uses the Dapr APIs under the hood From 6cb1f3b7a95327c81a46490b059ed408baccf4a1 Mon Sep 17 00:00:00 2001 From: salaboy Date: Sat, 17 May 2025 11:15:06 +0100 Subject: [PATCH 2/3] Update _index.md Signed-off-by: salaboy --- daprdocs/content/en/java-sdk-docs/spring-boot/_index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/daprdocs/content/en/java-sdk-docs/spring-boot/_index.md b/daprdocs/content/en/java-sdk-docs/spring-boot/_index.md index 8a057858e4..df42dc4ea8 100644 --- a/daprdocs/content/en/java-sdk-docs/spring-boot/_index.md +++ b/daprdocs/content/en/java-sdk-docs/spring-boot/_index.md @@ -24,17 +24,19 @@ If you already have a Spring Boot application, you can directly add the followin io.dapr.spring dapr-spring-boot-starter + 0.x.x // see below for the latest versions io.dapr.spring dapr-spring-boot-starter-test + 0.x.x // see below for the latest versions test ``` You can find the [latest released version here](https://central.sonatype.com/artifact/io.dapr.spring/dapr-spring-boot-starter). -By adding these dependencies you can: +By adding these dependencies, you can: - Autowire a `DaprClient` to use inside your applications - Use the Spring Data and Messaging abstractions and programming model that uses the Dapr APIs under the hood - Improve your inner-development loop by relying on [Testcontainers](https://testcontainers.com/) to bootstrap Dapr Control plane services and default components From 888a9cd89852a9d0833dcdf6cd53672e5b6d7b35 Mon Sep 17 00:00:00 2001 From: salaboy Date: Thu, 22 May 2025 16:12:35 +0100 Subject: [PATCH 3/3] Update _index.md Adding links to discord and github issues Signed-off-by: salaboy --- daprdocs/content/en/java-sdk-docs/spring-boot/_index.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/daprdocs/content/en/java-sdk-docs/spring-boot/_index.md b/daprdocs/content/en/java-sdk-docs/spring-boot/_index.md index df42dc4ea8..b1aad76111 100644 --- a/daprdocs/content/en/java-sdk-docs/spring-boot/_index.md +++ b/daprdocs/content/en/java-sdk-docs/spring-boot/_index.md @@ -8,11 +8,13 @@ description: How to get started with Dapr and Spring Boot By combining Dapr and Spring Boot, we can create infrastructure independent Java applications that can be deployed across different environments, supporting a wide range of on-premises and cloud provider services. -First, we will start with a simple integration covering the `DaprClient` and the [Testcontainers](https://testcontainers.com/) integration, to then use Spring and Spring Boot mechanisms and programming model to leverage the Dapr APIs under the hood. This help teams to remove dependencies such as clients and drivers required to connect to environment specific infrastructure (databases, key-value stores, message brokers, configuration/secret stores, etc.) +First, we will start with a simple integration covering the `DaprClient` and the [Testcontainers](https://testcontainers.com/) integration, to then use Spring and Spring Boot mechanisms and programming model to leverage the Dapr APIs under the hood. This helps teams to remove dependencies such as clients and drivers required to connect to environment-specific infrastructure (databases, key-value stores, message brokers, configuration/secret stores, etc) {{% alert title="Note" color="primary" %}} The Spring Boot integration requires Spring Boot 3.x+ to work. This will not work with Spring Boot 2.x. -The Spring Boot integration still remains in alpha. We need your help and feedback to graduate it. +The Spring Boot integration remains in alpha. We need your help and feedback to graduate it. +Please join the [#java-sdk discord channel](https://discord.com/channels/778680217417809931/778749797242765342) discussion or open issues in the [dapr/java-sdk](https://github.com/dapr/java-sdk/issues). + {{% /alert %}}