spring-cloud-services-starter-circuit-breaker

Spring Cloud Services Starter

License

License

GroupId

GroupId

io.pivotal.spring.cloud
ArtifactId

ArtifactId

spring-cloud-services-starter-circuit-breaker
Last Version

Last Version

2.4.1
Release Date

Release Date

Type

Type

jar
Description

Description

spring-cloud-services-starter-circuit-breaker
Spring Cloud Services Starter
Project URL

Project URL

https://projects.spring.io/spring-cloud
Project Organization

Project Organization

Pivotal Software, Inc.

Download spring-cloud-services-starter-circuit-breaker

How to add to project

<!-- https://jarcasting.com/artifacts/io.pivotal.spring.cloud/spring-cloud-services-starter-circuit-breaker/ -->
<dependency>
    <groupId>io.pivotal.spring.cloud</groupId>
    <artifactId>spring-cloud-services-starter-circuit-breaker</artifactId>
    <version>2.4.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.pivotal.spring.cloud/spring-cloud-services-starter-circuit-breaker/
implementation 'io.pivotal.spring.cloud:spring-cloud-services-starter-circuit-breaker:2.4.1'
// https://jarcasting.com/artifacts/io.pivotal.spring.cloud/spring-cloud-services-starter-circuit-breaker/
implementation ("io.pivotal.spring.cloud:spring-cloud-services-starter-circuit-breaker:2.4.1")
'io.pivotal.spring.cloud:spring-cloud-services-starter-circuit-breaker:jar:2.4.1'
<dependency org="io.pivotal.spring.cloud" name="spring-cloud-services-starter-circuit-breaker" rev="2.4.1">
  <artifact name="spring-cloud-services-starter-circuit-breaker" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.pivotal.spring.cloud', module='spring-cloud-services-starter-circuit-breaker', version='2.4.1')
)
libraryDependencies += "io.pivotal.spring.cloud" % "spring-cloud-services-starter-circuit-breaker" % "2.4.1"
[io.pivotal.spring.cloud/spring-cloud-services-starter-circuit-breaker "2.4.1"]

Dependencies

compile (6)

Group / Artifact Type Version
org.springframework.cloud : spring-cloud-starter-netflix-hystrix jar 2.2.7.RELEASE
org.springframework.cloud : spring-cloud-netflix-hystrix-stream jar 2.2.7.RELEASE
org.springframework.cloud : spring-cloud-starter-stream-rabbit jar 3.1.1
io.pivotal.spring.cloud : spring-cloud-services-cloudfoundry-connector jar 2.4.1
io.pivotal.spring.cloud : spring-cloud-services-spring-connector jar 2.4.1
io.pivotal.spring.cloud : cloudfoundry-certificate-truster jar 1.0.1.RELEASE

Project Modules

There are no modules declared in this project.

CircleCI

Spring Cloud Services Starters

Spring Cloud Services Starters are a curated set of dependencies for use with Spring Cloud Services in a Pivotal Cloud Foundry environment.

Features

Easily take advantage of the various services by including the BOM and corresponding starter. See the example Maven POM and Gradle build files below.

  • spring-cloud-services-starter-config-client

  • spring-cloud-services-starter-service-registry

Build and Deploy

The release artifacts are available from Maven Central. You may also build and install the starter POMs to your local Maven repository:

mvn clean install -s .settings.xml

Usage

Include the BOM and starter dependencies in your project using Maven or Gradle.

Maven BOM

pom.xml

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>org.demo</groupId>
    <artifactId>spring-cloud-services-demo</artifactId>
    <version>0.1.0</version>
    <packaging>jar</packaging>

    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>${spring-boot.version}</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>

    <properties>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
        <java.version>1.8</java.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>io.pivotal.spring.cloud</groupId>
            <artifactId>spring-cloud-services-starter-config-client</artifactId>
        </dependency>
        <dependency>
            <groupId>io.pivotal.spring.cloud</groupId>
            <artifactId>spring-cloud-services-starter-service-registry</artifactId>
        </dependency>
    </dependencies>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>io.pivotal.spring.cloud</groupId>
                <artifactId>spring-cloud-services-dependencies</artifactId>
                <version>${spring-cloud-services.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-dependencies</artifactId>
                <version>${spring-cloud.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

    <repositories>
        <repository>
            <id>spring-repository</id>
            <url>https://repo.spring.io/libs-release</url>
        </repository>
    </repositories>

    <pluginRepositories>
        <pluginRepository>
            <id>spring-plugins</id>
            <url>https://repo.spring.io/plugins-release</url>
        </pluginRepository>
        <pluginRepository>
            <id>spring-repository</id>
            <url>https://repo.spring.io/libs-release</url>
        </pluginRepository>
    </pluginRepositories>

</project>

Gradle

build.gradle

buildscript {
    repositories {
        mavenCentral()
        maven { url "https://repo.spring.io/plugins-release/" }
        maven { url "https://repo.spring.io/libs-release/" }
    }
    dependencies {
        classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
        classpath("io.spring.gradle:dependency-management-plugin:0.6.0.RELEASE")
    }
}

apply plugin: "java"
apply plugin: "eclipse"
apply plugin: "idea"
apply plugin: "spring-boot"
apply plugin: "io.spring.dependency-management"

jar {
    baseName = "spring-cloud-services-demo"
    version =  "0.1.0"
}

dependencyManagement {
    imports {
        mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
        mavenBom "io.pivotal.spring.cloud:spring-cloud-services-dependencies:${springCloudServicesVersion}"
    }
}

dependencies {
    compile("io.pivotal.spring.cloud:spring-cloud-services-starter-config-client")
    compile("io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry")
}

repositories {
    mavenCentral()
    maven { url "https://repo.spring.io/libs-release/" }
}

License

Spring Cloud Services Starters is Open Source software released under the Apache 2.0 license.

io.pivotal.spring.cloud

Pivotal Cloud Foundry

Versions

Version
2.4.1
2.3.1.RELEASE
2.3.0.RELEASE
2.2.6.RELEASE
2.2.5.RELEASE
2.2.4.RELEASE
2.2.3.RELEASE
2.2.1.RELEASE
2.2.0.RELEASE
2.1.8.RELEASE
2.1.7.RELEASE
2.1.6.RELEASE
2.1.5.RELEASE
2.1.4.RELEASE
2.1.3.RELEASE
2.1.2.RELEASE
2.1.1.RELEASE
2.1.0.RELEASE
2.0.3.RELEASE
2.0.2.RELEASE
2.0.1.RELEASE
2.0.0.RELEASE
1.6.6.RELEASE
1.6.4.RELEASE
1.6.3.RELEASE
1.6.2.RELEASE
1.6.1.RELEASE
1.6.0.RELEASE
1.5.0.RELEASE
1.4.1.RELEASE
1.4.0.RELEASE
1.3.1.RELEASE
1.3.0.RELEASE
1.2.1.RELEASE
1.2.0.RELEASE
1.1.2.RELEASE
1.1.1.RELEASE
1.1.0.RELEASE
1.0.2.RELEASE
1.0.1.RELEASE