Updates to remove hystrix and boot 2.3 compatibility.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-cli-parent</artifactId>
|
||||
<version>2.2.2.BUILD-SNAPSHOT</version>
|
||||
<version>3.0.0.BUILD-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<dependencies>
|
||||
@@ -26,6 +26,11 @@
|
||||
<artifactId>spring-cloud-stream</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>net.sf.jopt-simple</groupId>
|
||||
<artifactId>jopt-simple</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.security</groupId>
|
||||
<artifactId>spring-security-rsa</artifactId>
|
||||
@@ -46,6 +51,11 @@
|
||||
<version>${spring-boot.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.groovy</groupId>
|
||||
<artifactId>groovy</artifactId>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
|
||||
@@ -28,7 +28,7 @@ import org.springframework.boot.cli.compiler.GenericBomAstTransformation;
|
||||
@GroovyASTTransformation(phase = CompilePhase.CONVERSION)
|
||||
public class SpringCloudBomAstTransformation extends GenericBomAstTransformation {
|
||||
|
||||
private static final String SPRING_CLOUD_VERSION = "Hoxton.BUILD-SNAPSHOT";
|
||||
private static final String SPRING_CLOUD_VERSION = "Ilford.BUILD-SNAPSHOT";
|
||||
|
||||
@Override
|
||||
protected String getBomModule() {
|
||||
|
||||
@@ -17,11 +17,12 @@ package org.springframework.cloud.cli.command.url;
|
||||
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.springframework.boot.cli.command.Command;
|
||||
import org.springframework.boot.cli.command.status.ExitStatus;
|
||||
import org.springframework.boot.test.rule.OutputCapture;
|
||||
import org.springframework.boot.test.system.OutputCaptureRule;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
/**
|
||||
* @author William Witt
|
||||
@@ -30,7 +31,7 @@ public class UrlDecodeCommandTest {
|
||||
Command command = new UrlDecodeCommand();
|
||||
|
||||
@Rule
|
||||
public OutputCapture capture = new OutputCapture();
|
||||
public OutputCaptureRule capture = new OutputCaptureRule();
|
||||
|
||||
@Test
|
||||
public void urlDecodeNoSpecialChars() throws Exception {
|
||||
|
||||
@@ -17,11 +17,12 @@ package org.springframework.cloud.cli.command.url;
|
||||
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
|
||||
import org.springframework.boot.cli.command.Command;
|
||||
import org.springframework.boot.cli.command.status.ExitStatus;
|
||||
import org.springframework.boot.test.rule.OutputCapture;
|
||||
import org.springframework.boot.test.system.OutputCaptureRule;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
/**
|
||||
* @author William Witt
|
||||
@@ -30,7 +31,7 @@ public class UrlEncodeCommandTest {
|
||||
Command command = new UrlEncodeCommand();
|
||||
|
||||
@Rule
|
||||
public OutputCapture capture = new OutputCapture();
|
||||
public OutputCaptureRule capture = new OutputCaptureRule();
|
||||
|
||||
@Test
|
||||
public void urlEncodeNoSpecialChars() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user