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
f27defbd
Unverified
Commit
f27defbd
authored
Jan 25, 2017
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure service-registry actuator is activated.
parent
41bf8ead
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
EurekaClientAutoConfiguration.java
...k/cloud/netflix/eureka/EurekaClientAutoConfiguration.java
+2
-1
No files found.
spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaClientAutoConfiguration.java
View file @
f27defbd
...
...
@@ -41,6 +41,7 @@ import org.springframework.cloud.client.actuator.HasFeatures;
import
org.springframework.cloud.client.discovery.DiscoveryClient
;
import
org.springframework.cloud.client.discovery.noop.NoopDiscoveryClientAutoConfiguration
;
import
org.springframework.cloud.client.serviceregistry.AutoServiceRegistrationProperties
;
import
org.springframework.cloud.client.serviceregistry.ServiceRegistryAutoConfiguration
;
import
org.springframework.cloud.commons.util.InetUtils
;
import
org.springframework.cloud.context.scope.refresh.RefreshScope
;
import
org.springframework.cloud.netflix.eureka.serviceregistry.EurekaAutoServiceRegistration
;
...
...
@@ -77,7 +78,7 @@ import static org.springframework.cloud.commons.util.IdUtils.getDefaultInstanceI
@ConditionalOnBean
(
EurekaDiscoveryClientConfiguration
.
Marker
.
class
)
@ConditionalOnProperty
(
value
=
"eureka.client.enabled"
,
matchIfMissing
=
true
)
@AutoConfigureBefore
({
NoopDiscoveryClientAutoConfiguration
.
class
,
CommonsClientAutoConfiguration
.
class
})
CommonsClientAutoConfiguration
.
class
,
ServiceRegistryAutoConfiguration
.
class
})
@AutoConfigureAfter
(
name
=
"org.springframework.cloud.autoconfigure.RefreshAutoConfiguration"
)
public
class
EurekaClientAutoConfiguration
{
...
...
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