Spring Cloud Commons

2.1.2

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

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

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.1.2 SNAPSHOT CURRENT Reference Doc. API Doc.
2.1.1 CURRENT GA Reference Doc. API Doc.
2.0.4 SNAPSHOT CURRENT Reference Doc. API Doc.
2.0.3 CURRENT GA Reference Doc. API Doc.
1.3.6 SNAPSHOT CURRENT Reference Doc. API Doc.
1.3.5 GA Reference Doc. API Doc.
1.2.5 GA Reference Doc. API Doc.
1.1.8 GA Reference Doc. API Doc.
1.0.4 GA Reference Doc. API Doc.