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
7a7dffad
Commit
7a7dffad
authored
Oct 30, 2014
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make FeignAutoConfiguration conditional on class Feign.class
parent
ce5b1bbb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
FeignAutoConfiguration.java
...framework/cloud/netflix/feign/FeignAutoConfiguration.java
+3
-0
No files found.
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/FeignAutoConfiguration.java
View file @
7a7dffad
package
org
.
springframework
.
cloud
.
netflix
.
feign
;
package
org
.
springframework
.
cloud
.
netflix
.
feign
;
import
feign.Contract
;
import
feign.Contract
;
import
feign.Feign
;
import
feign.Logger
;
import
feign.Logger
;
import
org.springframework.boot.autoconfigure.AutoConfigureAfter
;
import
org.springframework.boot.autoconfigure.AutoConfigureAfter
;
import
org.springframework.boot.autoconfigure.condition.ConditionalOnClass
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.cloud.netflix.archaius.ArchaiusAutoConfiguration
;
import
org.springframework.cloud.netflix.archaius.ArchaiusAutoConfiguration
;
...
@@ -11,6 +13,7 @@ import org.springframework.cloud.netflix.archaius.ArchaiusAutoConfiguration;
...
@@ -11,6 +13,7 @@ import org.springframework.cloud.netflix.archaius.ArchaiusAutoConfiguration;
* @author Spencer Gibb
* @author Spencer Gibb
*/
*/
@Configuration
@Configuration
@ConditionalOnClass
(
Feign
.
class
)
@AutoConfigureAfter
(
ArchaiusAutoConfiguration
.
class
)
@AutoConfigureAfter
(
ArchaiusAutoConfiguration
.
class
)
public
class
FeignAutoConfiguration
{
public
class
FeignAutoConfiguration
{
@Bean
@Bean
...
...
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