Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
b4709f5d
Unverified
Commit
b4709f5d
authored
Oct 17, 2017
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to hystrix-contract.
Updates to 2.0.0
parent
b0dccc0f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
6 deletions
+11
-6
pom.xml
spring-cloud-netflix-dependencies/pom.xml
+5
-0
AbstractDocumentationTests.java
...netflix/eureka/server/doc/AbstractDocumentationTests.java
+2
-2
EurekaServerTests.java
...rk/cloud/netflix/eureka/server/doc/EurekaServerTests.java
+2
-2
pom.xml
spring-cloud-netflix-hystrix-contract/pom.xml
+2
-2
No files found.
spring-cloud-netflix-dependencies/pom.xml
View file @
b4709f5d
...
...
@@ -68,6 +68,11 @@
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-netflix-hystrix-contract
</artifactId>
<version>
${project.version}
</version>
</dependency>
<dependency>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-starter-netflix-hystrix-dashboard
</artifactId>
<version>
${project.version}
</version>
</dependency>
...
...
spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/doc/AbstractDocumentationTests.java
View file @
b4709f5d
/*
* Copyright 2013-201
5
the original author or authors.
* Copyright 2013-201
7
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -56,7 +56,7 @@ import static org.springframework.restdocs.restassured.operation.preprocess.Rest
@RunWith
(
SpringJUnit4ClassRunner
.
class
)
@SpringBootTest
(
classes
=
Application
.
class
,
webEnvironment
=
WebEnvironment
.
RANDOM_PORT
,
value
=
{
"spring.jmx.enabled=
tru
e"
,
"management.security.enabled=false"
})
"spring.jmx.enabled=
fals
e"
,
"management.security.enabled=false"
})
@DirtiesContext
public
abstract
class
AbstractDocumentationTests
{
...
...
spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/doc/EurekaServerTests.java
View file @
b4709f5d
/*
* Copyright 2013-201
5
the original author or authors.
* Copyright 2013-201
7
the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
...
...
@@ -30,7 +30,7 @@ import static org.hamcrest.Matchers.notNullValue;
@RunWith
(
SpringJUnit4ClassRunner
.
class
)
// TODO: maybe this should be the default (the test fails without it because the JSON is
// invalid)
@TestPropertySource
(
properties
=
"eureka.server.minAvailableInstancesForPeerReplication=0"
)
@TestPropertySource
(
properties
=
{
"eureka.server.minAvailableInstancesForPeerReplication=0"
,
"spring.jmx.enabled=false"
}
)
public
class
EurekaServerTests
extends
AbstractDocumentationTests
{
@Test
...
...
spring-cloud-netflix-hystrix-contract/pom.xml
View file @
b4709f5d
...
...
@@ -5,11 +5,11 @@
<parent>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-build
</artifactId>
<version>
1.3.3.RELEASE
</version>
<version>
2.0.0.BUILD-SNAPSHOT
</version>
<relativePath/>
<!-- lookup parent from repository -->
</parent>
<artifactId>
spring-cloud-netflix-hystrix-contract
</artifactId>
<version>
1.4
.0.BUILD-SNAPSHOT
</version>
<version>
2.0
.0.BUILD-SNAPSHOT
</version>
<packaging>
jar
</packaging>
<name>
spring-cloud-netflix-hystrix-contract
</name>
<description>
Spring Cloud Netflix Hystrix Contract
</description>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment