---
# The name of your project
title: Spring Cloud Commons

badges:

  # Customize your project's badges. Delete any entries that do not apply.
  custom:
    - name: Source (GitHub)
      url:  https://github.com/spring-cloud/spring-cloud-commons
      icon: github

    - name: StackOverflow
      url:  http://stackoverflow.com/questions/tagged/spring-cloud
      icon: stackoverflow

---
<!DOCTYPE HTML>
<html lang="en-US">

<!-- Specify the parent of this project (or delete if none) to influence the rendering of the breadcrumb -->
{% capture parent_link %}
[Spring Cloud]({{ site.projects_site_url }}/spring-cloud)
{% endcapture %}


{% capture billboard_description %}

Spring Cloud Commons delivers features as two libraries: Spring Cloud Context and Spring Cloud Commons. Spring Cloud Context provides utilities and special services for the ApplicationContext of a Spring Cloud application (bootstrap context, encryption, refresh scope and environment endpoints). Spring Cloud Commons is a set of abstractions and common classes used in different Spring Cloud implementations (eg. Spring Cloud Netflix vs. Spring Cloud Consul).

{% endcapture %}

{% capture main_content %}

## Features

Spring Cloud Context features:

* Bootstrap Context
* `TextEncryptor` beans
* Refresh Scope
* Spring Boot Actuator endpoints for manipulating the `Environment`

Spring Cloud Commons features:

* `DiscoveryClient` interface
* `ServiceRegistry` interface
* Instrumentation for `RestTemplate` to resolve hostnames using `DiscoveryClient`

<span id="quick-start"></span>

## Quick Start

<script type="text/javascript">{% include custom.js %}</script>
{% include download_widget.md %}

{% endcapture %}

{% capture related_resources %}

{% endcapture %}


{% include project_page.html %}
</html>
