Spring Cloud Azure

2.2 0

The Spring on Azure project is designed to provide seamless Spring integration with Azure managed services. Developers can adopt a Spring-idiomatic way to take advantage of managed services on Azure, with only few lines of configuration and minimal code changes.

Features

Project features include:

Spring Cloud

Spring Boot

Spring Data

Getting Started

The Azure Support entry contains auto-configuration support for Azure managed services. It also provides the capability to automatically inject credentials from Cloud Foundry into your applications using Azure managed services. Let us take Spring Boot Starter for Azure Service Bus as an example. All Spring Cloud for Azure artifacts are made available through Maven Central. You can bootstrap your application with Spring Initializr and add the Azure Support dependency. Then you can add the usual azure-servicebus dependency to your project and the Spring Boot auto-configuration will automatically configure your Spring application with Azure Service Bus.

<dependency>
  <groupId>com.microsoft.azure</groupId>
  <artifactId>azure-spring-boot-starter</artifactId>
</dependency>
<dependency>
  <groupId>com.microsoft.azure</groupId>
  <artifactId>azure-servicebus</artifactId>
</dependency>

Alternatively, you can add the full name of the Spring Boot Starter for Azure Service Bus.

<dependency>
  <groupId>com.microsoft.azure</groupId>
  <artifactId>azure-servicebus-spring-boot-starter</artifactId>
</dependency>

Run your Spring Boot applications

The best way to run Spring Boot apps on Azure is to use Azure Spring Cloud, a fully managed Spring Cloud service, jointly built and operated by Microsoft and Pivotal (VMware). It enables Java developers to easily build and run Spring-boot based microservices on Azure with no code changes. Follow this tutorial to prepare a Java Spring application for deployment in Azure Spring Cloud.

Additionally, you can deploy a Spring Boot application on

Quick start

Bootstrap your application with Spring Initializr.

Documentation

Each Spring project has its own; it explains in great details how you can use project features and what you can achieve with them.
2.2 0 CURRENT GA Reference Doc. API Doc.
2.2 0 M1 CURRENT GA Reference Doc. API Doc.
2.2.0 M1 (Spring Data and Spring Data Gremlin with Azure Cosmos DB) CURRENT GA Reference Doc. API Doc.
2.2 0 (Spring Data and Spring Data Gremlin with Azure Cosmos DB) CURRENT GA Reference Doc. API Doc.
2.1 7 CURRENT GA Reference Doc. API Doc.
2.1 7 (Spring Data and Spring Data Gremlin with Azure Cosmos DB) CURRENT GA Reference Doc. API Doc.
2.1 4 CURRENT GA Reference Doc. API Doc.
2.0 7 (Spring Data with Azure Cosmos DB) CURRENT GA Reference Doc. API Doc.
2.0 2 (Spring Data Gremlin with Azure Cosmos DB) CURRENT GA Reference Doc. API Doc.
1.0 0 (Spring Cloud) CURRENT GA Reference Doc. API Doc.