MCPcopy Index your code
hub / github.com/Azure-Samples/azure-spring-apps-samples

github.com/Azure-Samples/azure-spring-apps-samples @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
342 symbols 596 edges 88 files 53 documented · 15%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

page_type: sample languages: - java products: - azure-spring-apps description: "Sample projects for Azure Spring Apps" urlFragment: "azure-spring-apps-samples"


Azure Spring Apps Samples

Build Check Markdown Links

Overview

Azure Spring Apps is a PaaS to help you easily deploy Spring Boot applications to Azure without any code changes. The goal of Azure Spring Apps is to let you focus on your code and let us take care of the operation work. Rich features are provided and some of the highlighted ones are: - Managed native Spring Cloud Service Registry - Managed native Spring Cloud Config Server - Managed native Spring Cloud Distributed Tracing with Azure AppInsights - Built-in metrics aggregation and monitoring - Built-in logs aggregation and search - Zero code change is required to run your Spring Boot apps in Azure Spring Apps

You can find more details about Azure Spring Apps in the official documentation.

This repository contains samples projects for Azure Spring Apps. These sample projects show how to use various features in Azure Spring Apps. The table below shows the list of samples available in this repository.

Folder Description
custom-config-server-client Sample showing how to access Azure Spring Apps managed Config Server through Azure RBAC when your applications are running outside Azure Spring Apps
custom-eureka-client Sample showing how to access Azure Spring Apps managed Spring Cloud Service Registry through Azure RBAC when your applications are running outside Azure Spring Apps
managed-identity-keyvault Sample project using system-assigned managed identity to access Key Vault
managed-identity-storage-blob Sample project using system-assigned managed identity to access Storage blob
service-binding-cosmosdb-mongo Service binding sample with Azure CosmosDB Mongo API
service-binding-cosmosdb-sql Service binding sample with Azure CosmosDB SQL API
service-binding-mysql Service binding sample with Azure Database for MySQL
service-binding-redis Service binding sample with Azure Cache for Redis
storage-sample Sample showing how to use temporary and persistent storage in Azure Spring Apps
java-11-sample Java 11 sample project to run in Azure Spring Apps
java-8-sample Java 8 sample project to run in Azure Spring Apps

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Extension points exported contracts — how you extend this code

HelloClient (Interface)
(no doc) [7 implementers]
k8s-service-registry/greeting-client/src/main/java/com/microsoft/azure/sample/HelloClient.java
PlayerDao (Interface)
Interface for writing Player objects to arbitrary output. [2 implementers]
job-samples/football/src/main/java/org/springframework/batch/samples/football/PlayerDao.java
TodoRepository (Interface)
(no doc)
managed-identity-mysql/src/main/java/com/microsoft/azure/TodoRepository.java
UserRepository (Interface)
(no doc)
service-binding-mysql/src/main/java/com/microsoft/azure/UserRepository.java
UserRepository (Interface)
(no doc)
service-binding-cosmosdb-sql/src/main/java/com/microsoft/azure/UserRepository.java
UserRepository (Interface)
(no doc)
service-binding-cosmosdb-mongo/src/main/java/com/microsoft/azure/UserRepository.java

Core symbols most depended-on inside this repo

run
called by 19
job-samples/football/src/main/java/com/microsoft/sample/FootballJobApplication.java
toString
called by 13
job-samples/football/src/main/java/org/springframework/batch/samples/football/Game.java
getMessage
called by 6
java-8-sample/src/main/java/com/microsoft/sample/java8ASCdemo/Java8AscDemoApplication.java
getName
called by 5
service-binding-mysql/src/main/java/com/microsoft/azure/User.java
dataSource
called by 5
job-samples/football/src/main/java/org/springframework/batch/samples/football/FootballJobConfiguration.java
run
called by 4
service-binding-cosmosdb-sql/src/main/java/com/microsoft/azure/ServiceBindingCosmosDbApplication.java
getToken
called by 2
custom-eureka-client/src/main/java/com/microsoft/sample/customEurekaClient/AccessTokenManager.java
setId
called by 2
job-samples/football/src/main/java/org/springframework/batch/samples/football/PlayerSummary.java

Shape

Method 251
Class 85
Interface 6

Languages

Java94%
C#6%

Modules by API surface

job-samples/football/src/main/java/org/springframework/batch/samples/football/Game.java34 symbols
job-samples/football/src/main/java/org/springframework/batch/samples/football/PlayerSummary.java28 symbols
job-samples/football/src/main/java/org/springframework/batch/samples/football/Player.java14 symbols
job-samples/football/src/main/java/org/springframework/batch/samples/football/FootballJobConfiguration.java13 symbols
managed-identity-mysql/src/main/java/com/microsoft/azure/Todo.java10 symbols
hystrix-turbine-sample/user-service/src/main/java/com/mynotes/spring/cloud/hystrix/Product.java8 symbols
hystrix-turbine-sample/recommendation-service/src/main/java/com/mynotes/spring/cloud/service/Product.java8 symbols
service-binding-mysql/src/main/java/com/microsoft/azure/User.java7 symbols
storage-sample/src/main/java/com/microsoft/sample/StorageController.java5 symbols
job-samples/football/src/main/java/com/microsoft/sample/ResultReport.java5 symbols
job-samples/football-billboard/src/main/java/com/microsoft/sample/football/ResultReport.java5 symbols
java-21-sample/src/main/java/com/azure/asa/sample/HelloController.java5 symbols

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add azure-spring-apps-samples \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact