Code Monkey home page Code Monkey logo

azure-spring-boot-samples's Introduction

CodeQL CI Markdown Links Check

Spring Cloud Azure Samples

  • 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.

Branch Policy

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

Current Branch Supported Versions

All Active Branches

Spring Boot Version Spring Cloud version Spring Cloud Azure Version
2.6.3 2021.0.1 4.0.0

All Samples in This Repo

Azure Service Spring Cloud Azure Starter Dependency Sample Project
AAD spring-cloud-azure-starter-active-directory-b2c:4.0.0 aad-b2c-resource-server
AAD spring-cloud-azure-starter-active-directory-b2c:4.0.0 aad-b2c-web-application
AAD spring-cloud-azure-starter-active-directory:4.0.0 aad-resource-server-by-filter-stateless
AAD spring-cloud-azure-starter-active-directory:4.0.0 aad-resource-server-by-filter
AAD spring-cloud-azure-starter-active-directory:4.0.0 web-client-access-resource-server
AAD spring-cloud-azure-starter-active-directory:4.0.0 aad-webapp-resource-server
App Configuration spring-cloud-azure-starter-data-cosmos:4.0.0 azure-appconfiguration-conversion-sample-initial
App Configuration spring-cloud-azure-starter-data-cosmos:4.0.0 azure-appconfiguration-conversion-sample-initial
App Configuration azure-spring-cloud-appconfiguration-config:2.3.0 azure-appconfiguration-sample
App Configuration azure-spring-cloud-feature-management:2.2.0 feature-management-sample
App Configuration azure-spring-cloud-feature-management:2.2.0 feature-management-web-sample
App Configuration azure-spring-cloud-appconfiguration-config:2.3.0 azure-appconfiguration-conversion-sample-complete
Cache N/A azure-spring-cloud-sample-cache
Cloud Foundry N/A azure-cloud-foundry-service-sample
Cosmos DB azure-spring-data-cosmos:3.19.0 cosmos-multi-database-multi-account
Cosmos DB azure-spring-data-cosmos:3.19.0 cosmos-multi-database-single-account
Cosmos DB spring-cloud-azure-starter-data-cosmos:4.0.0 spring-cloud-azure-data-cosmos-sample
Cosmos DB spring-cloud-azure-starter-cosmos:4.0.0 spring-cloud-azure-cosmos-sample
Event Hubs N/A spring-cloud-azure-sample-eventhubs-kafka
Event Hubs spring-cloud-azure-starter-integration-eventhubs:4.0.0 eventhubs-integration
Event Hubs spring-cloud-azure-stream-binder-eventhubs:4.0.0 eventhubs-binder
Event Hubs spring-cloud-azure-stream-binder-eventhubs:4.0.0 eventhubs-multibinders
Key Vault azure-spring-boot-starter-keyvault-certificates:3.14.0 keyvault-certificates-client-side
Key Vault azure-spring-boot-starter-keyvault-certificates:3.14.0 keyvault-certificates-server-side
Key Vault run-with-command-line-server-side
Key Vault run-with-command-line-client-side
Key Vault spring-cloud-azure-starter-keyvault-secrets:4.0.0 property-source
Key Vault spring-cloud-azure-starter-keyvault-secrets:4.0.0 secret-client
Service Bus spring-cloud-azure-starter-servicebus-jms:4.0.0 servicebus-jms-queue
Service Bus spring-cloud-azure-starter-servicebus-jms:4.0.0 servicebus-jms-topic
Service Bus spring-cloud-azure-starter-integration-servicebus:4.0.0 single-namespace
Service Bus spring-cloud-azure-starter-integration-servicebus:4.0.0 multiple-namespaces
Service Bus spring-cloud-azure-stream-binder-servicebus:4.0.0 servicebus-queue-binder
Service Bus spring-cloud-azure-stream-binder-servicebus:4.0.0 servicebus-queue-multibinders
Service Bus spring-cloud-azure-stream-binder-servicebus:4.0.0 servicebus-topic-binder
Service Bus spring-cloud-azure-stream-binder-servicebus:4.0.0 servicebus-queue-binder-arm
Storage spring-cloud-azure-starter-storage-blob:4.0.0 storage-blob-sample
Storage spring-cloud-azure-starter-storage-file-share:4.0.0 storage-file-sample
Storage spring-cloud-azure-starter-integration-storage-queue:4.0.0 storage-queue-integration
Storage spring-cloud-azure-starter-integration-storage-queue:4.0.0 storage-queue-operation

Running Samples With Terraform

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.

azure-spring-boot-samples's People

Contributors

backwind1233 avatar chenrujun avatar jialigit avatar michaelqi793 avatar microsoft-github-operations[bot] avatar microsoftopensource avatar mrm9084 avatar saragluna avatar stliu avatar yiliuto avatar zhichengliu12581 avatar zhuxiaobing-cn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.