Spring Cloud Commons

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

Quick Start
Fork me on GitHub

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

Download

The recommended way to get started using spring-cloud-commons in your project is with a dependency management system – the snippet below can be copied and pasted into your build. Need help? See our getting started guides on building with Maven and Gradle.