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
d454e42a
Commit
d454e42a
authored
Jul 11, 2014
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add enabled flag
parent
800acce4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
2 deletions
+27
-2
pom.xml
pom.xml
+25
-2
EurekaClientConfigBean.java
...ework/platform/netflix/eureka/EurekaClientConfigBean.java
+2
-0
No files found.
pom.xml
View file @
d454e42a
...
...
@@ -16,6 +16,26 @@
<version>
1.1.5.BUILD-SNAPSHOT
</version>
<relativePath
/>
<!-- lookup parent from repository -->
</parent>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>
com.netflix.eureka
</groupId>
<artifactId>
eureka-client
</artifactId>
<version>
1.1.135
</version>
</dependency>
<dependency>
<groupId>
com.netflix.eureka
</groupId>
<artifactId>
eureka-client
</artifactId>
<version>
1.1.135
</version>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<version>
1.12.6
</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
...
...
@@ -29,12 +49,15 @@
<dependency>
<groupId>
com.netflix.eureka
</groupId>
<artifactId>
eureka-client
</artifactId>
<version>
1.1.135
</version>
</dependency>
<dependency>
<groupId>
com.netflix.eureka
</groupId>
<artifactId>
eureka-client
</artifactId>
<optional>
true
</optional>
</dependency>
<dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<version>
1.12.6
</version>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
...
...
src/main/java/org/springframework/platform/netflix/eureka/EurekaClientConfigBean.java
View file @
d454e42a
...
...
@@ -38,6 +38,8 @@ public class EurekaClientConfigBean implements EurekaClientConfig {
public
static
final
String
DEFAULT_ZONE
=
"defaultZone"
;
private
static
final
int
MINUTES
=
60
;
private
boolean
enabled
=
true
;
private
int
registryFetchIntervalSeconds
=
30
;
...
...
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