Current version is 2.14.0, click here for the index

Spring Cloud for Azure context client library for Java

This package helps developers to finish the auto-configuration of Azure Context.

Source code | Package (Maven) | API reference documentation

Getting started

Prerequisites

Include the package

<dependency>
    <groupId>com.azure.spring</groupId>
    <artifactId>azure-spring-cloud-context</artifactId>
    <version>2.14.0</version>
</dependency>

Key concepts

Azure contexts represent your active subscription to run commands against, and the authentication information needed to connect to an Azure cloud. With Azure contexts, Spring Cloud for Azure services doesn't need to reauthenticate your account each time you switch subscriptions.

Examples

Troubleshooting

Logging setting

Please refer to [spring logging document] to get more information about logging.

Logging setting examples

  • Example: Setting logging level of hibernate
logging.level.root=WARN
logging.level.org.springframework.web=DEBUG
logging.level.org.hibernate=ERROR

Next steps

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.

Please follow instructions here to build from source or contribute.

Packages 
Package Description
com.azure.spring.cloud.autoconfigure.context
Package com.azure.spring.cloud.autoconfigure.context;
com.azure.spring.cloud.context.core.api
Package com.azure.spring.cloud.context.core.api;
com.azure.spring.cloud.context.core.config
Package com.azure.spring.cloud.context.core.config;
com.azure.spring.cloud.context.core.enums
Package com.azure.spring.cloud.context.core.enums;
com.azure.spring.cloud.context.core.impl
Package com.azure.spring.cloud.context.core.impl;
com.azure.spring.cloud.context.core.storage
Package com.azure.spring.cloud.context.core.storage;
com.azure.spring.cloud.context.core.util
Package com.azure.spring.cloud.context.core.util;