-
This is a sample project for demonstration purposes.
-
The project demonstrates how to use Spring Cloud Azure to develop applications.
-
The sample project contains 42 samples, and it still grows.
-
These samples are grouped by Azure services and Spring Cloud Azure libraries.
For example: Use Spring Integration with single Azure Service Bus namespace, it located in the path
/servicebus/spring-cloud-azure-starter-integration-servicebus
.servicebus: The Azure service that the sample integrated with.
spring-cloud-azure-starter-integration-servicebus: The dependency that the sample depends on.
We use main
branch as the develop branch while setting the default branch as the latest released branch.
Branch Name | Default Branch | Branch type |
---|---|---|
main | false | develop branch |
spring-cloud-azure_v4.0.0 | true | release branch |
Spring Boot Version | Spring Cloud version | Spring Cloud Azure Version |
---|---|---|
2.6.3 | 2021.0.1 | 4.0.0 |
With terraform scripts and DefaultAzureCredential, most samples in the project can be run with the same 4 steps below:
# Step1 Initialize Terraform
terraform -chdir=./terraform init
# Step2 Apply your Terraform Configuration
terraform -chdir=./terraform apply -auto-approve
# Step3 Export Environment Valuables
source ./terraform/setup_env.sh
# Step4 Run With Maven
mvn clean spring-boot:run
It supports both Bash environment and PowerShell environment.
Please refer to README.md under each sample for detailed information.