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
6379e15c
Commit
6379e15c
authored
Jul 13, 2017
by
Gregor Zurowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Lombok logging from spring-cloud-netflix-eureka-client module
Signed-off-by:
Gregor Zurowski
<
gregor@zurowski.org
>
parent
46cbaa05
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
EurekaDiscoveryClientConfiguration.java
...ud/netflix/eureka/EurekaDiscoveryClientConfiguration.java
+0
-3
InstanceInfoFactory.java
...ngframework/cloud/netflix/eureka/InstanceInfoFactory.java
+4
-3
EurekaRibbonClientConfiguration.java
...etflix/ribbon/eureka/EurekaRibbonClientConfiguration.java
+4
-3
No files found.
spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/EurekaDiscoveryClientConfiguration.java
View file @
6379e15c
...
...
@@ -34,8 +34,6 @@ import com.netflix.appinfo.HealthCheckHandler;
import
com.netflix.discovery.EurekaClient
;
import
com.netflix.discovery.EurekaClientConfig
;
import
lombok.extern.apachecommons.CommonsLog
;
/**
* @author Dave Syer
* @author Spencer Gibb
...
...
@@ -46,7 +44,6 @@ import lombok.extern.apachecommons.CommonsLog;
@EnableConfigurationProperties
@ConditionalOnClass
(
EurekaClientConfig
.
class
)
@ConditionalOnProperty
(
value
=
"eureka.client.enabled"
,
matchIfMissing
=
true
)
@CommonsLog
public
class
EurekaDiscoveryClientConfiguration
{
class
Marker
{}
...
...
spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/eureka/InstanceInfoFactory.java
View file @
6379e15c
...
...
@@ -21,16 +21,17 @@ import java.util.Map;
import
com.netflix.appinfo.EurekaInstanceConfig
;
import
com.netflix.appinfo.InstanceInfo
;
import
com.netflix.appinfo.LeaseInfo
;
import
lombok.extern.apachecommons.CommonsLog
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
/**
* See com.netflix.appinfo.providers.EurekaConfigBasedInstanceInfoProvider
* @author Spencer Gibb
*/
@CommonsLog
public
class
InstanceInfoFactory
{
private
static
final
Log
log
=
LogFactory
.
getLog
(
InstanceInfoFactory
.
class
);
public
InstanceInfo
create
(
EurekaInstanceConfig
config
)
{
LeaseInfo
.
Builder
leaseInfoBuilder
=
LeaseInfo
.
Builder
.
newBuilder
()
.
setRenewalIntervalInSecs
(
config
.
getLeaseRenewalIntervalInSeconds
())
...
...
spring-cloud-netflix-eureka-client/src/main/java/org/springframework/cloud/netflix/ribbon/eureka/EurekaRibbonClientConfiguration.java
View file @
6379e15c
...
...
@@ -20,6 +20,8 @@ import javax.annotation.PostConstruct;
import
javax.inject.Provider
;
import
com.netflix.discovery.EurekaClient
;
import
org.apache.commons.logging.Log
;
import
org.apache.commons.logging.LogFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean
;
...
...
@@ -43,8 +45,6 @@ import static com.netflix.client.config.CommonClientConfigKey.DeploymentContextB
import
static
com
.
netflix
.
client
.
config
.
CommonClientConfigKey
.
EnableZoneAffinity
;
import
static
org
.
springframework
.
cloud
.
netflix
.
ribbon
.
RibbonUtils
.
setRibbonProperty
;
import
lombok.extern.apachecommons.CommonsLog
;
/**
* Preprocessor that configures defaults for eureka-discovered ribbon clients. Such as:
* <code>@zone</code>, NIWSServerListClassName, DeploymentContextBasedVipAddresses,
...
...
@@ -55,9 +55,10 @@ import lombok.extern.apachecommons.CommonsLog;
* @author Ryan Baxter
*/
@Configuration
@CommonsLog
public
class
EurekaRibbonClientConfiguration
{
private
static
final
Log
log
=
LogFactory
.
getLog
(
EurekaRibbonClientConfiguration
.
class
);
@Value
(
"${ribbon.eureka.approximateZoneFromHostname:false}"
)
private
boolean
approximateZoneFromHostname
=
false
;
...
...
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