Skip to content

Commit

Permalink
Remove Spring Boot alpha tag (#2115)
Browse files Browse the repository at this point in the history
Remove Spring Boot alpha tag
  • Loading branch information
Quinn-With-Two-Ns authored Jun 25, 2024
1 parent 8872e33 commit 43a4aa0
Show file tree
Hide file tree
Showing 63 changed files with 14 additions and 10 deletions.
4 changes: 2 additions & 2 deletions gradle/jacoco.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ dependencies {
jacocoAggregation project(':temporal-remote-data-encoder')
jacocoAggregation project(':temporal-sdk')
jacocoAggregation project(':temporal-serviceclient')
jacocoAggregation project(':temporal-spring-boot-autoconfigure-alpha')
jacocoAggregation project(':temporal-spring-boot-starter-alpha')
jacocoAggregation project(':temporal-spring-boot-autoconfigure')
jacocoAggregation project(':temporal-spring-boot-starter')
jacocoAggregation project(':temporal-test-server')
jacocoAggregation project(':temporal-testing')
}
Expand Down
4 changes: 2 additions & 2 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include 'temporal-testing'
include 'temporal-test-server'
include 'temporal-opentracing'
include 'temporal-kotlin'
include 'temporal-spring-boot-autoconfigure-alpha'
include 'temporal-spring-boot-starter-alpha'
include 'temporal-spring-boot-autoconfigure'
include 'temporal-spring-boot-starter'
include 'temporal-remote-data-encoder'
include 'temporal-shaded'
4 changes: 2 additions & 2 deletions temporal-bom/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ dependencies {
api project(':temporal-sdk')
api project(':temporal-serviceclient')
api project(':temporal-shaded')
api project(':temporal-spring-boot-autoconfigure-alpha')
api project(':temporal-spring-boot-starter-alpha')
api project(':temporal-spring-boot-autoconfigure')
api project(':temporal-spring-boot-starter')
api project(':temporal-test-server')
api project(':temporal-testing')
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,20 @@
The following Readme assumes that you use Spring Boot yml configuration files (`application.yml`).
It should be trivial to adjust if your application uses .properties configuration.
Your application should be a `@SpringBootApplication`
and have `io.temporal:temporal-spring-boot-starter-alpha:${temporalVersion}` added as a dependency.
and have `io.temporal:temporal-spring-boot-starter:${temporalVersion}` added as a dependency.

# Samples

The [Java SDK samples repo](https://github.com/temporalio/samples-java) contains a number of [Spring Boot samples](https://github.com/temporalio/samples-java/tree/main/springboot) that use this module.

# Support

Temporal Spring Boot integration is currently in Public Preview. Users should expect a mostly stable API, but there may be some documentation or features missing.

# Connection setup

The following configuration connects to a locally started Temporal Server
(see [Temporal Docker Compose](https://github.com/temporalio/docker-compose) or [Temporalite](https://github.com/temporalio/temporalite))
(see [Temporal Docker Compose](https://github.com/temporalio/docker-compose) or [Temporal CLI](https://docs.temporal.io/cli))

```yml
spring.temporal:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
description = '''Spring Boot Starter for Temporal Java SDK'''

dependencies {
// This platform is the same defined in temporal-spring-boot-autoconfigure-alpha and it doesn't need to be here
// This platform is the same defined in temporal-spring-boot-autoconfigure and it doesn't need to be here
// for gradle, but it is needed for maven and maven pom. Looks like Maven doesn't transitively propagate BOMs.
// https://github.com/temporalio/sdk-java/issues/1479
api(platform("org.springframework.boot:spring-boot-dependencies:$springBootVersion"))
implementation "org.springframework.boot:spring-boot-starter"

api project(':temporal-spring-boot-autoconfigure-alpha')
api project(':temporal-spring-boot-autoconfigure')
api project(':temporal-sdk')
api project(':temporal-testing')
}

0 comments on commit 43a4aa0

Please sign in to comment.